nuxt-link-checker 3.1.0 → 3.1.2

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 (546) hide show
  1. package/dist/client/200.html +273 -265
  2. package/dist/client/404.html +273 -265
  3. package/dist/client/_nuxt/-30QC5Em.js +1 -0
  4. package/dist/client/_nuxt/-ALZ4IvE.js +1 -0
  5. package/dist/client/_nuxt/0e7srHXh.js +1 -0
  6. package/dist/client/_nuxt/2pWuV6-S.js +1 -0
  7. package/dist/client/_nuxt/35JD59R_.js +1 -0
  8. package/dist/client/_nuxt/3e1v2bzS.js +1 -0
  9. package/dist/client/_nuxt/4NJYcRSJ.js +1 -0
  10. package/dist/client/_nuxt/7A4Fjokl.js +1 -0
  11. package/dist/client/_nuxt/8Uu6eIa-.js +1 -0
  12. package/dist/client/_nuxt/9xzcv9xf.js +1 -0
  13. package/dist/client/_nuxt/A13Lx_ye.js +1 -0
  14. package/dist/client/_nuxt/B-GI89LT.js +1 -0
  15. package/dist/client/_nuxt/B0m2ddpp.js +1 -0
  16. package/dist/client/_nuxt/B0qRVHPH.js +1 -0
  17. package/dist/client/_nuxt/B2bjgU-v.js +1 -0
  18. package/dist/client/_nuxt/B3Z_eaxm.js +1 -0
  19. package/dist/client/_nuxt/B4_rEpOs.js +1 -0
  20. package/dist/client/_nuxt/B5L7zzq-.js +1 -0
  21. package/dist/client/_nuxt/B66eQrDP.js +1 -0
  22. package/dist/client/_nuxt/B6NdQBKR.js +1 -0
  23. package/dist/client/_nuxt/B7-uoU3n.js +1 -0
  24. package/dist/client/_nuxt/B74Y8nHz.js +1 -0
  25. package/dist/client/_nuxt/B8E-_56i.js +1 -0
  26. package/dist/client/_nuxt/B8E_5cfo.js +1 -0
  27. package/dist/client/_nuxt/B9Vj0mJK.js +1 -0
  28. package/dist/client/_nuxt/B9hcNGex.js +1 -0
  29. package/dist/client/_nuxt/BDjtpMT8.js +1 -0
  30. package/dist/client/_nuxt/BEBZ7ncR.js +1 -0
  31. package/dist/client/_nuxt/BFLt1xDp.js +1 -0
  32. package/dist/client/_nuxt/BGXXrhfN.js +40 -0
  33. package/dist/client/_nuxt/BGct0Hx7.js +1 -0
  34. package/dist/client/_nuxt/BGdveAQA.js +1 -0
  35. package/dist/client/_nuxt/BHpzmqOf.js +1 -0
  36. package/dist/client/_nuxt/BINKOAKH.js +1 -0
  37. package/dist/client/_nuxt/BJNXdUBN.js +1 -0
  38. package/dist/client/_nuxt/BKbjiiqg.js +1 -0
  39. package/dist/client/_nuxt/BMwgFBEQ.js +1 -0
  40. package/dist/client/_nuxt/BN40hmum.js +1 -0
  41. package/dist/client/_nuxt/BNxDCkIA.js +1 -0
  42. package/dist/client/_nuxt/BSHf-0eb.js +1 -0
  43. package/dist/client/_nuxt/BSPpinrx.js +1 -0
  44. package/dist/client/_nuxt/BStEqDGx.js +1 -0
  45. package/dist/client/_nuxt/BT8b6B_-.js +1 -0
  46. package/dist/client/_nuxt/BTbGKmhu.js +1 -0
  47. package/dist/client/_nuxt/BTo9ix6S.js +1 -0
  48. package/dist/client/_nuxt/BVLG6Y-w.js +1 -0
  49. package/dist/client/_nuxt/BWgb8Pxw.js +1 -0
  50. package/dist/client/_nuxt/BWkuYGGO.js +1 -0
  51. package/dist/client/_nuxt/BWslPs4p.js +1 -0
  52. package/dist/client/_nuxt/BXkSAIEj.js +1 -0
  53. package/dist/client/_nuxt/BZRbnyjI.js +1 -0
  54. package/dist/client/_nuxt/B_R80ZlN.js +1 -0
  55. package/dist/client/_nuxt/B_m7g4N7.js +1 -0
  56. package/dist/client/_nuxt/BaLI2h1d.js +1 -0
  57. package/dist/client/_nuxt/BbccZ3y2.js +1 -0
  58. package/dist/client/_nuxt/BbzkbZ9e.js +1 -0
  59. package/dist/client/_nuxt/Bdprqoiu.js +1 -0
  60. package/dist/client/_nuxt/BeSffZBD.js +1 -0
  61. package/dist/client/_nuxt/Begb3drz.js +1 -0
  62. package/dist/client/_nuxt/Bexp5DGn.js +1 -0
  63. package/dist/client/_nuxt/BfHTSMKl.js +1 -0
  64. package/dist/client/_nuxt/BgDCqdQA.js +1 -0
  65. package/dist/client/_nuxt/BgqZeg96.js +1 -0
  66. package/dist/client/_nuxt/BhLNiG9c.js +1 -0
  67. package/dist/client/_nuxt/BhsLqr-4.js +1 -0
  68. package/dist/client/_nuxt/BjABl1g7.js +1 -0
  69. package/dist/client/_nuxt/BjE2mIY4.js +1 -0
  70. package/dist/client/_nuxt/BjXeLqNd.js +1 -0
  71. package/dist/client/_nuxt/Bjs2cL5p.js +1 -0
  72. package/dist/client/_nuxt/BkG9CdHo.js +1 -0
  73. package/dist/client/_nuxt/Bkuqu6BP.js +1 -0
  74. package/dist/client/_nuxt/Bnbw1zOw.js +1 -0
  75. package/dist/client/_nuxt/Bp6g37R7.js +1 -0
  76. package/dist/client/_nuxt/Bpo8LMpD.js +1 -0
  77. package/dist/client/_nuxt/Bt50SWsh.js +1 -0
  78. package/dist/client/_nuxt/BthQWCQV.js +1 -0
  79. package/dist/client/_nuxt/Bv-mwDEg.js +1 -0
  80. package/dist/client/_nuxt/Bw305WKR.js +1 -0
  81. package/dist/client/_nuxt/BwojPDJW.js +1 -0
  82. package/dist/client/_nuxt/Bx0W9Nc2.js +1 -0
  83. package/dist/client/_nuxt/BxJadH_W.js +1 -0
  84. package/dist/client/_nuxt/ByY1Guvr.js +1 -0
  85. package/dist/client/_nuxt/BzAMEn9Z.js +1 -0
  86. package/dist/client/_nuxt/BzJJZx-M.js +1 -0
  87. package/dist/client/_nuxt/BzwtH5UL.js +1 -0
  88. package/dist/client/_nuxt/C0hdQUNN.js +1 -0
  89. package/dist/client/_nuxt/C30t_gpS.js +1 -0
  90. package/dist/client/_nuxt/C3khCPGq.js +1 -0
  91. package/dist/client/_nuxt/C3t61SNw.js +1 -0
  92. package/dist/client/_nuxt/C6J8XiCD.js +1 -0
  93. package/dist/client/_nuxt/C8M2exoo.js +1 -0
  94. package/dist/client/_nuxt/C8UtRc_0.js +1 -0
  95. package/dist/client/_nuxt/C8lEn-DE.js +1 -0
  96. package/dist/client/_nuxt/C8pgRvQH.js +1 -0
  97. package/dist/client/_nuxt/CE0v8NN9.js +1 -0
  98. package/dist/client/_nuxt/CE38B3OF.js +1 -0
  99. package/dist/client/_nuxt/CEjiMJLT.js +1 -0
  100. package/dist/client/_nuxt/{CsTmP73Z.js → CG6Dc4jp.js} +1 -1
  101. package/dist/client/_nuxt/CHZeBJpW.js +1 -0
  102. package/dist/client/_nuxt/CIiI48o2.js +1 -0
  103. package/dist/client/_nuxt/CIxipgmy.js +1 -0
  104. package/dist/client/_nuxt/CJrM-UL-.js +1 -0
  105. package/dist/client/_nuxt/CJxt7p29.js +1 -0
  106. package/dist/client/_nuxt/CK56Z9cH.js +1 -0
  107. package/dist/client/_nuxt/CLmbwNS9.js +1 -0
  108. package/dist/client/_nuxt/CMOi41r9.js +1 -0
  109. package/dist/client/_nuxt/CMz7PuSU.js +1 -0
  110. package/dist/client/_nuxt/CN6rGqjK.js +1 -0
  111. package/dist/client/_nuxt/CNRQ974Q.js +1 -0
  112. package/dist/client/_nuxt/CNXuF1yM.js +1 -0
  113. package/dist/client/_nuxt/COtMjVi7.js +1 -0
  114. package/dist/client/_nuxt/CQO4gZEw.js +1 -0
  115. package/dist/client/_nuxt/CQWsIgnU.js +1 -0
  116. package/dist/client/_nuxt/CQjiPCtT.js +1 -0
  117. package/dist/client/_nuxt/CQzXS8_C.js +1 -0
  118. package/dist/client/_nuxt/CRR3mLlZ.js +1 -0
  119. package/dist/client/_nuxt/CS3Unz2-.js +1 -0
  120. package/dist/client/_nuxt/CSoQzgif.js +1 -0
  121. package/dist/client/_nuxt/CTRr51gU.js +1 -0
  122. package/dist/client/_nuxt/CV1i-Amj.js +1 -0
  123. package/dist/client/_nuxt/CVO1_9PV.js +1 -0
  124. package/dist/client/_nuxt/CXmV_HiI.js +1 -0
  125. package/dist/client/_nuxt/CYyBA3kJ.js +1 -0
  126. package/dist/client/_nuxt/C_OO3DVV.js +1 -0
  127. package/dist/client/_nuxt/CafNBF8u.js +1 -0
  128. package/dist/client/_nuxt/CbUnruJU.js +1 -0
  129. package/dist/client/_nuxt/CbfX1IO0.js +1 -0
  130. package/dist/client/_nuxt/CcPoRNJz.js +1 -0
  131. package/dist/client/_nuxt/CcSEeikT.js +1 -0
  132. package/dist/client/_nuxt/ChDww4um.js +1 -0
  133. package/dist/client/_nuxt/ChEme8PX.js +1 -0
  134. package/dist/client/_nuxt/Ci-La1BS.js +1 -0
  135. package/dist/client/_nuxt/CiXlrwC7.js +1 -0
  136. package/dist/client/_nuxt/CkqQx3Va.js +1 -0
  137. package/dist/client/_nuxt/Ckz-YMxz.js +1 -0
  138. package/dist/client/_nuxt/CmWLV2bY.js +1 -0
  139. package/dist/client/_nuxt/CmY0Y6Yh.js +1 -0
  140. package/dist/client/_nuxt/CpRrwcwt.js +1 -0
  141. package/dist/client/_nuxt/CpWBKVjh.js +1 -0
  142. package/dist/client/_nuxt/Cqv5JV-q.js +1 -0
  143. package/dist/client/_nuxt/CrOfvjVs.js +1 -0
  144. package/dist/client/_nuxt/Csfq5Kiy.js +1 -0
  145. package/dist/client/_nuxt/Cv9koXgw.js +1 -0
  146. package/dist/client/_nuxt/CwIbMU3B.js +1 -0
  147. package/dist/client/_nuxt/CyktbL80.js +1 -0
  148. package/dist/client/_nuxt/Cztwc-HH.js +1 -0
  149. package/dist/client/_nuxt/D-2ljcwZ.js +1 -0
  150. package/dist/client/_nuxt/D-RymO5g.js +1 -0
  151. package/dist/client/_nuxt/D0r3Knsf.js +1 -0
  152. package/dist/client/_nuxt/D0ybgVpa.js +1 -0
  153. package/dist/client/_nuxt/D2TqM893.js +1 -0
  154. package/dist/client/_nuxt/D3CL8VSI.js +1 -0
  155. package/dist/client/_nuxt/D44NvAEk.js +1 -0
  156. package/dist/client/_nuxt/D4O64OTH.js +1 -0
  157. package/dist/client/_nuxt/D5KoaKCx.js +1 -0
  158. package/dist/client/_nuxt/D5gt1ch3.js +1 -0
  159. package/dist/client/_nuxt/D6HQHXJE.js +1 -0
  160. package/dist/client/_nuxt/D7v6OrNy.js +1 -0
  161. package/dist/client/_nuxt/D7z58M2W.js +1 -0
  162. package/dist/client/_nuxt/D8nBeWSR.js +1 -0
  163. package/dist/client/_nuxt/D9Bn7OQI.js +1 -0
  164. package/dist/client/_nuxt/D9W_gRNE.js +1 -0
  165. package/dist/client/_nuxt/DA0ESIWO.js +1 -0
  166. package/dist/client/_nuxt/DAi9KRSo.js +1 -0
  167. package/dist/client/_nuxt/DBQeEorK.js +1 -0
  168. package/dist/client/_nuxt/DBxrVw_D.js +1 -0
  169. package/dist/client/_nuxt/DCRAZVCM.js +1 -0
  170. package/dist/client/_nuxt/DCcCncrU.js +1 -0
  171. package/dist/client/_nuxt/DDUKAZWS.js +1 -0
  172. package/dist/client/_nuxt/DEIpsLCJ.js +1 -0
  173. package/dist/client/_nuxt/DES0gjzB.js +1 -0
  174. package/dist/client/_nuxt/DFIOpqzz.js +1 -0
  175. package/dist/client/_nuxt/DFW6HATB.js +1 -0
  176. package/dist/client/_nuxt/DH4N8IuU.js +1 -0
  177. package/dist/client/_nuxt/DHJKELXO.js +1 -0
  178. package/dist/client/_nuxt/DIt9OTko.js +1 -0
  179. package/dist/client/_nuxt/DIvA8ll9.js +1 -0
  180. package/dist/client/_nuxt/DJEtsjbi.js +1 -0
  181. package/dist/client/_nuxt/DLSxEyHP.js +1 -0
  182. package/dist/client/_nuxt/DLbgOhZU.js +1 -0
  183. package/dist/client/_nuxt/DNDvMORL.js +1 -0
  184. package/dist/client/_nuxt/DOAn35dn.js +1 -0
  185. package/dist/client/_nuxt/DPTZissz.js +1 -0
  186. package/dist/client/_nuxt/DQJjjPvk.js +1 -0
  187. package/dist/client/_nuxt/DQxx3LPD.js +1 -0
  188. package/dist/client/_nuxt/DTlJ9n0s.js +1 -0
  189. package/dist/client/_nuxt/DUszq2jm.js +1 -0
  190. package/dist/client/_nuxt/DVWcdiGS.js +1 -0
  191. package/dist/client/_nuxt/DWMP3yrW.js +1 -0
  192. package/dist/client/_nuxt/DWmkr0yC.js +1 -0
  193. package/dist/client/_nuxt/DWt6wkI-.js +1 -0
  194. package/dist/client/_nuxt/DZ4hUExO.js +1 -0
  195. package/dist/client/_nuxt/DZQMDcrx.js +1 -0
  196. package/dist/client/_nuxt/D_QQB6Yv.js +1 -0
  197. package/dist/client/_nuxt/Da_8ueAw.js +1 -0
  198. package/dist/client/_nuxt/DanlQboj.js +1 -0
  199. package/dist/client/_nuxt/DateCQAz.js +1 -0
  200. package/dist/client/_nuxt/DbXoA79R.js +1 -0
  201. package/dist/client/_nuxt/Ddv68eIx.js +1 -0
  202. package/dist/client/_nuxt/DfpIq38s.js +1 -0
  203. package/dist/client/_nuxt/DhMKtDLN.js +1 -0
  204. package/dist/client/_nuxt/Dk1rBueR.js +1 -0
  205. package/dist/client/_nuxt/DkpUthgY.js +1 -0
  206. package/dist/client/_nuxt/DlYXzDlu.js +1 -0
  207. package/dist/client/_nuxt/DmF4-xLG.js +1 -0
  208. package/dist/client/_nuxt/DmZ-uG0V.js +1 -0
  209. package/dist/client/_nuxt/Dn00JSTd.js +1 -0
  210. package/dist/client/_nuxt/DnULxvSX.js +1 -0
  211. package/dist/client/_nuxt/Dnfm4U7b.js +1 -0
  212. package/dist/client/_nuxt/DnyWjya5.js +1 -0
  213. package/dist/client/_nuxt/DoiKbUTj.js +1 -0
  214. package/dist/client/_nuxt/DpVQgTom.js +1 -0
  215. package/dist/client/_nuxt/DqwNpetd.js +1 -0
  216. package/dist/client/_nuxt/DsCg8CPl.js +1 -0
  217. package/dist/client/_nuxt/Dt1_zKdO.js +1 -0
  218. package/dist/client/_nuxt/Dtn98rcr.js +1 -0
  219. package/dist/client/_nuxt/DvQyZZSe.js +1 -0
  220. package/dist/client/_nuxt/DwFwdhDE.js +1 -0
  221. package/dist/client/_nuxt/DwU8c_yx.js +1 -0
  222. package/dist/client/_nuxt/Dwo6uFCY.js +1 -0
  223. package/dist/client/_nuxt/DymQr0nX.js +1 -0
  224. package/dist/client/_nuxt/DzaHHFTY.js +1 -0
  225. package/dist/client/_nuxt/Dzwn3p-3.js +1 -0
  226. package/dist/client/_nuxt/EZUUsui8.js +1 -0
  227. package/dist/client/_nuxt/F89DG-fP.js +1 -0
  228. package/dist/client/_nuxt/HNM5thJl.js +1 -0
  229. package/dist/client/_nuxt/I1uqSxRv.js +1 -0
  230. package/dist/client/_nuxt/IBB5Tl9j.js +1 -0
  231. package/dist/client/_nuxt/IqKf4WGj.js +1 -0
  232. package/dist/client/_nuxt/JbneklYT.js +1 -0
  233. package/dist/client/_nuxt/JqZropPD.js +1 -0
  234. package/dist/client/_nuxt/Jwd9j1ay.js +1 -0
  235. package/dist/client/_nuxt/Kxp7UmFj.js +1 -0
  236. package/dist/client/_nuxt/L9-HYnaW.js +1 -0
  237. package/dist/client/_nuxt/LKU2TuZ1.js +1 -0
  238. package/dist/client/_nuxt/NKd-Y1zG.js +1 -0
  239. package/dist/client/_nuxt/NUI3YrRW.js +1 -0
  240. package/dist/client/_nuxt/NfFGm2lL.js +1 -0
  241. package/dist/client/_nuxt/NgWrSVUg.js +1 -0
  242. package/dist/client/_nuxt/OiuHoWY5.js +1 -0
  243. package/dist/client/_nuxt/PoHY5YXO.js +1 -0
  244. package/dist/client/_nuxt/S_yhxdK1.js +1 -0
  245. package/dist/client/_nuxt/Xse1gjxk.js +1 -0
  246. package/dist/client/_nuxt/ZBuUynGX.js +1 -0
  247. package/dist/client/_nuxt/ZJvK9Z2N.js +1 -0
  248. package/dist/client/_nuxt/aPBkmDv4.js +1 -0
  249. package/dist/client/_nuxt/aeT0-ak7.js +1 -0
  250. package/dist/client/_nuxt/bGS5FTDY.js +1 -0
  251. package/dist/client/_nuxt/builds/latest.json +1 -1
  252. package/dist/client/_nuxt/builds/meta/cd536571-8901-45d4-b5c2-149b2eb2ef0c.json +1 -0
  253. package/dist/client/_nuxt/cVkK16_y.js +1 -0
  254. package/dist/client/_nuxt/dZn0vQkf.js +1 -0
  255. package/dist/client/_nuxt/eCoydtrh.js +1 -0
  256. package/dist/client/_nuxt/entry.BPVwhKGg.css +1 -0
  257. package/dist/client/_nuxt/error-404.CcgDkxt2.css +1 -0
  258. package/dist/client/_nuxt/error-500.CcBgumSp.css +1 -0
  259. package/dist/client/_nuxt/g_GSZ1hr.js +1 -0
  260. package/dist/client/_nuxt/hdsyEllQ.js +1 -0
  261. package/dist/client/_nuxt/i5HCB2tm.js +1 -0
  262. package/dist/client/_nuxt/j_FrBdja.js +1 -0
  263. package/dist/client/_nuxt/keK8bHwS.js +1 -0
  264. package/dist/client/_nuxt/mLcCfA0-.js +1 -0
  265. package/dist/client/_nuxt/nkNqggyT.js +1 -0
  266. package/dist/client/_nuxt/p-youoOz.js +1 -0
  267. package/dist/client/_nuxt/plSVBvJQ.js +1 -0
  268. package/dist/client/_nuxt/rAPcFIiw.js +1 -0
  269. package/dist/client/_nuxt/rf8nNrOk.js +1 -0
  270. package/dist/client/_nuxt/s1PdnzAn.js +1 -0
  271. package/dist/client/_nuxt/sH2JAGjN.js +1 -0
  272. package/dist/client/_nuxt/vFtNXPBc.js +1 -0
  273. package/dist/client/_nuxt/w1el_4yc.js +1 -0
  274. package/dist/client/_nuxt/yA8e6OR-.js +1 -0
  275. package/dist/client/_nuxt/yLioyJ2E.js +1 -0
  276. package/dist/client/index.html +273 -265
  277. package/dist/module.d.mts +2 -2
  278. package/dist/module.d.ts +2 -2
  279. package/dist/module.json +2 -2
  280. package/dist/module.mjs +1 -1
  281. package/dist/types.d.mts +0 -4
  282. package/dist/types.d.ts +0 -4
  283. package/package.json +24 -23
  284. package/dist/client/_nuxt/-0RnDExV.js +0 -1
  285. package/dist/client/_nuxt/-7WWnkdy.js +0 -517
  286. package/dist/client/_nuxt/1Je9_Reo.js +0 -136
  287. package/dist/client/_nuxt/37ic6j3l.js +0 -1
  288. package/dist/client/_nuxt/6Kuza3Wr.js +0 -1
  289. package/dist/client/_nuxt/6XBPEST2.js +0 -1
  290. package/dist/client/_nuxt/8t4jSAMm.js +0 -1
  291. package/dist/client/_nuxt/9ZOzOPqN.js +0 -1
  292. package/dist/client/_nuxt/AgnqFTPX.js +0 -13
  293. package/dist/client/_nuxt/B1nm99XP.js +0 -2
  294. package/dist/client/_nuxt/B2DkETJQ.js +0 -1
  295. package/dist/client/_nuxt/B34IPION.js +0 -1
  296. package/dist/client/_nuxt/B3g-KkBK.js +0 -1
  297. package/dist/client/_nuxt/B4yE-MfL.js +0 -38
  298. package/dist/client/_nuxt/B6bHXiXE.js +0 -25
  299. package/dist/client/_nuxt/B7rNE5kf.js +0 -1
  300. package/dist/client/_nuxt/B9CT-1u6.js +0 -7
  301. package/dist/client/_nuxt/B9S9BZZh.js +0 -1
  302. package/dist/client/_nuxt/BB42E8aY.js +0 -186
  303. package/dist/client/_nuxt/BBBqETUW.js +0 -1
  304. package/dist/client/_nuxt/BBDuFDsq.js +0 -1
  305. package/dist/client/_nuxt/BBJYjQ0k.js +0 -1
  306. package/dist/client/_nuxt/BEjL32p1.js +0 -5754
  307. package/dist/client/_nuxt/BF6G6X0H.js +0 -1
  308. package/dist/client/_nuxt/BH1M7C1g.js +0 -1
  309. package/dist/client/_nuxt/BH_RS3WO.js +0 -1
  310. package/dist/client/_nuxt/BICIrM8O.js +0 -1
  311. package/dist/client/_nuxt/BITGhEdf.js +0 -1
  312. package/dist/client/_nuxt/BItQYlyr.js +0 -39
  313. package/dist/client/_nuxt/BIxS-Weu.js +0 -1
  314. package/dist/client/_nuxt/BLluXI4E.js +0 -1
  315. package/dist/client/_nuxt/BMHPAh1U.js +0 -2
  316. package/dist/client/_nuxt/BMRpS3Xo.js +0 -1
  317. package/dist/client/_nuxt/BN4LRXf6.js +0 -4
  318. package/dist/client/_nuxt/BOpLLL-w.js +0 -1
  319. package/dist/client/_nuxt/BPiaQZfK.js +0 -1
  320. package/dist/client/_nuxt/BR6CMsBL.js +0 -1
  321. package/dist/client/_nuxt/BSB_bK09.js +0 -1
  322. package/dist/client/_nuxt/BT9ZzGyQ.js +0 -69
  323. package/dist/client/_nuxt/BTtaZsq5.js +0 -1
  324. package/dist/client/_nuxt/BU6jSTzS.js +0 -1
  325. package/dist/client/_nuxt/BUinYsBq.js +0 -666
  326. package/dist/client/_nuxt/BUpeXbsf.js +0 -25
  327. package/dist/client/_nuxt/BVGdgKAv.js +0 -1
  328. package/dist/client/_nuxt/BVLuctcA.js +0 -1
  329. package/dist/client/_nuxt/BWKJ1FCf.js +0 -239
  330. package/dist/client/_nuxt/BXF7Vm5l.js +0 -1
  331. package/dist/client/_nuxt/BXP-NDAE.js +0 -1
  332. package/dist/client/_nuxt/BXfENWL6.js +0 -1
  333. package/dist/client/_nuxt/BZfs-ost.js +0 -1
  334. package/dist/client/_nuxt/BZz1Hhek.js +0 -1
  335. package/dist/client/_nuxt/B_SUYfiV.js +0 -1
  336. package/dist/client/_nuxt/BaNxgKSR.js +0 -17
  337. package/dist/client/_nuxt/BaWyeHV_.js +0 -1
  338. package/dist/client/_nuxt/BacI6-DX.js +0 -40
  339. package/dist/client/_nuxt/BaedD2tq.js +0 -1
  340. package/dist/client/_nuxt/BbJj1K1w.js +0 -1
  341. package/dist/client/_nuxt/Bbv8ARUV.js +0 -13
  342. package/dist/client/_nuxt/Bdt_eLrj.js +0 -756
  343. package/dist/client/_nuxt/BeJnKnI_.js +0 -544
  344. package/dist/client/_nuxt/BeX7Iu5M.js +0 -90
  345. package/dist/client/_nuxt/BeocmOPF.js +0 -1
  346. package/dist/client/_nuxt/Bg0wAK5a.js +0 -100
  347. package/dist/client/_nuxt/Bgpqy2XC.js +0 -1
  348. package/dist/client/_nuxt/Bh8mriwU.js +0 -17
  349. package/dist/client/_nuxt/BiDE021q.js +0 -1
  350. package/dist/client/_nuxt/BiVAY1KT.js +0 -1
  351. package/dist/client/_nuxt/BigF1UXR.js +0 -1
  352. package/dist/client/_nuxt/Bj0fF4lQ.js +0 -1
  353. package/dist/client/_nuxt/BlxWTfDV.js +0 -699
  354. package/dist/client/_nuxt/BmCW-tYz.js +0 -86
  355. package/dist/client/_nuxt/Bn5gmY5k.js +0 -1
  356. package/dist/client/_nuxt/BpDWT_aG.js +0 -1
  357. package/dist/client/_nuxt/Bpum8voz.js +0 -129
  358. package/dist/client/_nuxt/Br6ll-O0.js +0 -1
  359. package/dist/client/_nuxt/Br9pa-sp.js +0 -1
  360. package/dist/client/_nuxt/BscxmKrE.js +0 -8
  361. package/dist/client/_nuxt/BsvsQ1iS.js +0 -1
  362. package/dist/client/_nuxt/Btshr8M_.js +0 -70
  363. package/dist/client/_nuxt/BvCdDh2R.js +0 -1
  364. package/dist/client/_nuxt/BwXNTs7T.js +0 -1
  365. package/dist/client/_nuxt/Bxkoe-BC.js +0 -1
  366. package/dist/client/_nuxt/BxwAa5i0.js +0 -1
  367. package/dist/client/_nuxt/ByMv4Xf1.js +0 -1
  368. package/dist/client/_nuxt/Bym0hRiG.js +0 -1
  369. package/dist/client/_nuxt/C15OxdQ5.js +0 -1
  370. package/dist/client/_nuxt/C1DVX8_8.js +0 -831
  371. package/dist/client/_nuxt/C2TBxDwV.js +0 -1
  372. package/dist/client/_nuxt/C3qJFuQy.js +0 -3
  373. package/dist/client/_nuxt/C3qUB5O8.js +0 -301
  374. package/dist/client/_nuxt/C6Aznpr-.js +0 -1
  375. package/dist/client/_nuxt/C6XIsc4F.js +0 -1
  376. package/dist/client/_nuxt/C7oZ9nno.js +0 -1
  377. package/dist/client/_nuxt/C86elO-m.js +0 -1
  378. package/dist/client/_nuxt/C9d3aiqh.js +0 -1
  379. package/dist/client/_nuxt/CA9nliXM.js +0 -1
  380. package/dist/client/_nuxt/CApMHEaB.js +0 -1
  381. package/dist/client/_nuxt/CBWrHyXe.js +0 -580
  382. package/dist/client/_nuxt/CBks_G0r.js +0 -16
  383. package/dist/client/_nuxt/CCqFro8U.js +0 -3
  384. package/dist/client/_nuxt/CEQQyXKu.js +0 -1
  385. package/dist/client/_nuxt/CG4fK2Nq.js +0 -21
  386. package/dist/client/_nuxt/CGmujMTu.js +0 -1
  387. package/dist/client/_nuxt/CJGKC1_q.js +0 -40
  388. package/dist/client/_nuxt/CJQrLysU.js +0 -1
  389. package/dist/client/_nuxt/CMDmr8et.js +0 -2
  390. package/dist/client/_nuxt/CO5hpdkB.js +0 -1
  391. package/dist/client/_nuxt/CO7HdiM_.js +0 -1
  392. package/dist/client/_nuxt/COBxEbHI.js +0 -1
  393. package/dist/client/_nuxt/CPw9RxLe.js +0 -1
  394. package/dist/client/_nuxt/CQUCfALx.js +0 -13
  395. package/dist/client/_nuxt/CRDKj6ck.js +0 -1
  396. package/dist/client/_nuxt/CRlnGVMD.js +0 -1
  397. package/dist/client/_nuxt/CThH5sBG.js +0 -1
  398. package/dist/client/_nuxt/CU2HFFmO.js +0 -32
  399. package/dist/client/_nuxt/CUHTTYqt.js +0 -6
  400. package/dist/client/_nuxt/CZZ6oYdA.js +0 -1
  401. package/dist/client/_nuxt/C_3e0TF9.js +0 -1
  402. package/dist/client/_nuxt/C_8Fx7bH.js +0 -1
  403. package/dist/client/_nuxt/C_ZPRiAj.js +0 -26
  404. package/dist/client/_nuxt/CarfVElc.js +0 -80
  405. package/dist/client/_nuxt/Cb-F_BZP.js +0 -1
  406. package/dist/client/_nuxt/CbViG2Xw.js +0 -74
  407. package/dist/client/_nuxt/CbYhyuC0.js +0 -505
  408. package/dist/client/_nuxt/Cda-MJFk.js +0 -1
  409. package/dist/client/_nuxt/CfPQhs6g.js +0 -7
  410. package/dist/client/_nuxt/Cgl53LJQ.js +0 -1
  411. package/dist/client/_nuxt/CgwOUXSn.js +0 -1
  412. package/dist/client/_nuxt/ChH25C4w.js +0 -1
  413. package/dist/client/_nuxt/ChMCFiS0.js +0 -1
  414. package/dist/client/_nuxt/CiRxTSAc.js +0 -1
  415. package/dist/client/_nuxt/Cicx_DS6.js +0 -1
  416. package/dist/client/_nuxt/ClXEvkw9.js +0 -68
  417. package/dist/client/_nuxt/CowR2XfX.js +0 -1
  418. package/dist/client/_nuxt/Cp2HGa90.js +0 -353
  419. package/dist/client/_nuxt/CpAANOdC.js +0 -1
  420. package/dist/client/_nuxt/CqYeW6XZ.js +0 -1
  421. package/dist/client/_nuxt/CrgTADc5.js +0 -1
  422. package/dist/client/_nuxt/CrhH3_Og.js +0 -1
  423. package/dist/client/_nuxt/CsYA0RN7.js +0 -1
  424. package/dist/client/_nuxt/CsyjKwr8.js +0 -1
  425. package/dist/client/_nuxt/CsyrCbsw.js +0 -699
  426. package/dist/client/_nuxt/Cthz8VOO.js +0 -771
  427. package/dist/client/_nuxt/CuJfdYLG.js +0 -1
  428. package/dist/client/_nuxt/CupVZNk8.js +0 -25
  429. package/dist/client/_nuxt/CxLlwT--.js +0 -76
  430. package/dist/client/_nuxt/CxrokwfH.js +0 -1
  431. package/dist/client/_nuxt/CzPA46E-.js +0 -1
  432. package/dist/client/_nuxt/D384ylkT.js +0 -1
  433. package/dist/client/_nuxt/D3VXSfF0.js +0 -1
  434. package/dist/client/_nuxt/D46m5Xd3.js +0 -1
  435. package/dist/client/_nuxt/D47volHK.js +0 -1
  436. package/dist/client/_nuxt/D4LaosRr.js +0 -1
  437. package/dist/client/_nuxt/D5OoM2Ul.js +0 -1
  438. package/dist/client/_nuxt/D6pmzCqS.js +0 -1
  439. package/dist/client/_nuxt/D71BffLY.js +0 -1
  440. package/dist/client/_nuxt/DAGYewaG.js +0 -559
  441. package/dist/client/_nuxt/DAVo6uMX.js +0 -1
  442. package/dist/client/_nuxt/DAfrLhwG.js +0 -1
  443. package/dist/client/_nuxt/DBeuZS66.js +0 -1
  444. package/dist/client/_nuxt/DBxHOdLe.js +0 -1
  445. package/dist/client/_nuxt/DC4hdoM9.js +0 -87
  446. package/dist/client/_nuxt/DC8MraHL.js +0 -666
  447. package/dist/client/_nuxt/DDK5Hw8n.js +0 -1
  448. package/dist/client/_nuxt/DGEe2Wb6.js +0 -1
  449. package/dist/client/_nuxt/DGEpfOTx.js +0 -1
  450. package/dist/client/_nuxt/DGxQkqYo.js +0 -1
  451. package/dist/client/_nuxt/DHmGyzbM.js +0 -109
  452. package/dist/client/_nuxt/DJZWsvj0.js +0 -1
  453. package/dist/client/_nuxt/DJubGRtk.js +0 -1
  454. package/dist/client/_nuxt/DK4oFTHQ.js +0 -200
  455. package/dist/client/_nuxt/DKb4lQY2.js +0 -1
  456. package/dist/client/_nuxt/DLP9ZvWb.js +0 -3
  457. package/dist/client/_nuxt/DM4HHECw.js +0 -1
  458. package/dist/client/_nuxt/DNR26wTC.js +0 -1
  459. package/dist/client/_nuxt/DOqtC9FP.js +0 -1
  460. package/dist/client/_nuxt/DOtRmeXT.js +0 -1
  461. package/dist/client/_nuxt/DQ-rpzxz.js +0 -1
  462. package/dist/client/_nuxt/DR5YgmI2.js +0 -1
  463. package/dist/client/_nuxt/DS9ZWoKD.js +0 -1
  464. package/dist/client/_nuxt/DSrLtGYv.js +0 -15
  465. package/dist/client/_nuxt/DSsji4Hu.js +0 -1
  466. package/dist/client/_nuxt/DV9JwLIa.js +0 -1
  467. package/dist/client/_nuxt/DV9_Ze0W.js +0 -1
  468. package/dist/client/_nuxt/DVC_qXWv.js +0 -1
  469. package/dist/client/_nuxt/DVfdqzEq.js +0 -1
  470. package/dist/client/_nuxt/DXFkqnOI.js +0 -816
  471. package/dist/client/_nuxt/DXT9h7v2.js +0 -1
  472. package/dist/client/_nuxt/DXZpi2gR.js +0 -1
  473. package/dist/client/_nuxt/DY7_9Ga-.js +0 -1
  474. package/dist/client/_nuxt/DYI1rfmx.js +0 -25
  475. package/dist/client/_nuxt/DZLoTQm4.js +0 -1
  476. package/dist/client/_nuxt/DZqG9GXz.js +0 -50
  477. package/dist/client/_nuxt/DbK06e1c.js +0 -21
  478. package/dist/client/_nuxt/Dble9ECP.js +0 -1
  479. package/dist/client/_nuxt/Dch3xQiY.js +0 -699
  480. package/dist/client/_nuxt/Dd6f7Z5P.js +0 -1
  481. package/dist/client/_nuxt/DdUjqjK-.js +0 -1
  482. package/dist/client/_nuxt/DdacRhvC.js +0 -1
  483. package/dist/client/_nuxt/DeVv6D4_.js +0 -1
  484. package/dist/client/_nuxt/DfeQjIbs.js +0 -5
  485. package/dist/client/_nuxt/Dg0DGYq4.js +0 -14
  486. package/dist/client/_nuxt/DhFF74a2.js +0 -1
  487. package/dist/client/_nuxt/Dit6kIrv.js +0 -11
  488. package/dist/client/_nuxt/DjTlIhuc.js +0 -1
  489. package/dist/client/_nuxt/DmDrTTlz.js +0 -1
  490. package/dist/client/_nuxt/DnLUQrgA.js +0 -1
  491. package/dist/client/_nuxt/DouzTJIq.js +0 -1
  492. package/dist/client/_nuxt/DsfXcHUZ.js +0 -29
  493. package/dist/client/_nuxt/DuzeNTn4.js +0 -1
  494. package/dist/client/_nuxt/DvyTQcux.js +0 -1
  495. package/dist/client/_nuxt/Dwo2i-71.js +0 -1
  496. package/dist/client/_nuxt/DwuVtWc2.js +0 -518
  497. package/dist/client/_nuxt/DzwdaLuO.js +0 -223
  498. package/dist/client/_nuxt/EPzMdTgI.js +0 -171
  499. package/dist/client/_nuxt/Eh5U-gDp.js +0 -52
  500. package/dist/client/_nuxt/FJDVp-XM.js +0 -1
  501. package/dist/client/_nuxt/HrnDn_2Q.js +0 -1
  502. package/dist/client/_nuxt/I286KXx1.js +0 -40
  503. package/dist/client/_nuxt/I4qd5QHW.js +0 -10
  504. package/dist/client/_nuxt/JgH_6NEN.js +0 -1
  505. package/dist/client/_nuxt/KEYLhlmT.js +0 -1
  506. package/dist/client/_nuxt/KPqz0Sb3.js +0 -1
  507. package/dist/client/_nuxt/Ksn5IXup.js +0 -1
  508. package/dist/client/_nuxt/MS3qTAOR.js +0 -1
  509. package/dist/client/_nuxt/NiuS3JWx.js +0 -1
  510. package/dist/client/_nuxt/PWN5J14X.js +0 -1
  511. package/dist/client/_nuxt/PifQWv0n.js +0 -1
  512. package/dist/client/_nuxt/QZ3jNtnE.js +0 -515
  513. package/dist/client/_nuxt/RCJZWN-0.js +0 -81
  514. package/dist/client/_nuxt/RE3ujT-k.js +0 -1
  515. package/dist/client/_nuxt/RqY_Nz63.js +0 -1
  516. package/dist/client/_nuxt/Sfo2eW0G.js +0 -274
  517. package/dist/client/_nuxt/T9ysyp6P.js +0 -62
  518. package/dist/client/_nuxt/UREJT2Bw.js +0 -1
  519. package/dist/client/_nuxt/Urb1RsFe.js +0 -1
  520. package/dist/client/_nuxt/VQMr7AbF.js +0 -1
  521. package/dist/client/_nuxt/YxQm0tCS.js +0 -1
  522. package/dist/client/_nuxt/alpzPJ78.js +0 -1
  523. package/dist/client/_nuxt/beD-FUib.js +0 -1
  524. package/dist/client/_nuxt/builds/meta/3af16b43-4f9f-439e-a21d-22a114ed006f.json +0 -1
  525. package/dist/client/_nuxt/cW9vKj3g.js +0 -1
  526. package/dist/client/_nuxt/cw46T5ID.js +0 -61
  527. package/dist/client/_nuxt/dIHJ9UdL.js +0 -1
  528. package/dist/client/_nuxt/entry.BNQn0MkB.css +0 -1
  529. package/dist/client/_nuxt/error-404.Boe7FJkw.css +0 -1
  530. package/dist/client/_nuxt/error-500.wMnM3ITh.css +0 -1
  531. package/dist/client/_nuxt/gnwMp1li.js +0 -8
  532. package/dist/client/_nuxt/hXH8Gyq8.js +0 -1
  533. package/dist/client/_nuxt/i0IPvypD.js +0 -1
  534. package/dist/client/_nuxt/iSbrOpM4.js +0 -1
  535. package/dist/client/_nuxt/jaXbsbtS.js +0 -1
  536. package/dist/client/_nuxt/kuh6G-Sk.js +0 -9
  537. package/dist/client/_nuxt/nclm9rTJ.js +0 -266
  538. package/dist/client/_nuxt/qxoleWdb.js +0 -1
  539. package/dist/client/_nuxt/rS0jd3Ly.js +0 -1
  540. package/dist/client/_nuxt/sMI-pExk.js +0 -1
  541. package/dist/client/_nuxt/sQpxpyUs.js +0 -1
  542. package/dist/client/_nuxt/vMsNTMhM.js +0 -5
  543. package/dist/client/_nuxt/wChcbJ1V.js +0 -37
  544. package/dist/client/_nuxt/xPNGhBYe.js +0 -1
  545. package/dist/client/_nuxt/xuIuMB9j.js +0 -1
  546. package/dist/client/_nuxt/yX2IItqj.js +0 -1
@@ -1,580 +0,0 @@
1
- const e=Object.freeze({displayName:"Vyper",name:"vyper",patterns:[{include:"#statement"},{include:"#expression"},{include:"#reserved-names-vyper"}],repository:{"annotated-parameter":{begin:`(?x)
2
- \\b
3
- ([[:alpha:]_]\\w*) \\s* (:)
4
- `,beginCaptures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.annotation.python"}},end:"(,)|(?=\\))",endCaptures:{1:{name:"punctuation.separator.parameters.python"}},patterns:[{include:"#expression"},{match:"=(?!=)",name:"keyword.operator.assignment.python"}]},"assignment-operator":{match:`(?x)
5
- <<= | >>= | //= | \\*\\*=
6
- | \\+= | -= | /= | @=
7
- | \\*= | %= | ~= | \\^= | &= | \\|=
8
- | =(?!=)
9
- `,name:"keyword.operator.assignment.python"},backticks:{begin:"\\`",end:"(?:\\`|(?<!\\\\)(\\n))",name:"invalid.deprecated.backtick.python",patterns:[{include:"#expression"}]},"builtin-callables":{patterns:[{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#builtin-exceptions"},{include:"#builtin-functions"},{include:"#builtin-types"}]},"builtin-exceptions":{match:`(?x) (?<!\\.) \\b(
10
- (
11
- Arithmetic | Assertion | Attribute | Buffer | BlockingIO
12
- | BrokenPipe | ChildProcess
13
- | (Connection (Aborted | Refused | Reset)?)
14
- | EOF | Environment | FileExists | FileNotFound
15
- | FloatingPoint | IO | Import | Indentation | Index | Interrupted
16
- | IsADirectory | NotADirectory | Permission | ProcessLookup
17
- | Timeout
18
- | Key | Lookup | Memory | Name | NotImplemented | OS | Overflow
19
- | Reference | Runtime | Recursion | Syntax | System
20
- | Tab | Type | UnboundLocal | Unicode(Encode|Decode|Translate)?
21
- | Value | Windows | ZeroDivision | ModuleNotFound
22
- ) Error
23
- |
24
- ((Pending)?Deprecation | Runtime | Syntax | User | Future | Import
25
- | Unicode | Bytes | Resource
26
- )? Warning
27
- |
28
- SystemExit | Stop(Async)?Iteration
29
- | KeyboardInterrupt
30
- | GeneratorExit | (Base)?Exception
31
- )\\b
32
- `,name:"support.type.exception.python"},"builtin-functions":{patterns:[{match:`(?x)
33
- (?<!\\.) \\b(
34
- __import__ | abs | aiter | all | any | anext | ascii | bin
35
- | breakpoint | callable | chr | compile | copyright | credits
36
- | delattr | dir | divmod | enumerate | eval | exec | exit
37
- | filter | format | getattr | globals | hasattr | hash | help
38
- | hex | id | input | isinstance | issubclass | iter | len
39
- | license | locals | map | max | memoryview | min | next
40
- | oct | open | ord | pow | print | quit | range | reload | repr
41
- | reversed | round | setattr | sorted | sum | vars | zip
42
- )\\b
43
- `,name:"support.function.builtin.python"},{match:`(?x)
44
- (?<!\\.) \\b(
45
- file | reduce | intern | raw_input | unicode | cmp | basestring
46
- | execfile | long | xrange
47
- )\\b
48
- `,name:"variable.legacy.builtin.python"},{match:`(?x)
49
- (?<!\\.) \\b(
50
- abi_encode | abi_decode | _abi_encode | _abi_decode | floor | ceil | convert | slice | len | concat | sha256 | method_id | keccak256 | ecrecover | ecadd | ecmul | extract32 | as_wei_value | raw_call | blockhash | blobhash | bitwise_and | bitwise_or | bitwise_xor | bitwise_not | uint256_addmod | uint256_mulmod | unsafe_add | unsafe_sub | unsafe_mul | unsafe_div | pow_mod256 | uint2str | isqrt | sqrt | shift | create_minimal_proxy_to | create_forwarder_to | create_copy_of | create_from_blueprint | min | max | empty | abs | min_value | max_value | epsilon)\\b
51
- `,name:"support.function.builtin.vyper"},{match:`(?x)
52
- (?<!\\.) \\b(
53
- send | print | breakpoint | selfdestruct | raw_call | raw_log | raw_revert | create_minimal_proxy_to | create_forwarder_to | create_copy_of | create_from_blueprint)\\b
54
- `,name:"support.function.builtin.lowlevel.vyper"},{match:`(?x)
55
- (?<!\\.) \\b(
56
- struct | enum | flag | event | interface | HashMap | DynArray | Bytes | String)\\b
57
- `,name:"support.type.reference.vyper"},{match:`(?x)
58
- (?<!\\.) \\b(
59
- nonreentrant | internal | view | pure | private | immutable | constant)\\b
60
- `,name:"support.function.builtin.modifiers.safe.vyper"},{match:`(?x)
61
- (?<!\\.) \\b(
62
- deploy | nonpayable | payable | external | modifying)\\b
63
- `,name:"support.function.builtin.modifiers.unsafe.vyper"}]},"builtin-possible-callables":{patterns:[{include:"#builtin-callables"},{include:"#magic-names"}]},"builtin-types":{patterns:[{match:`(?x)
64
- (?<!\\.) \\b(
65
- bool | bytearray | bytes | classmethod | complex | dict
66
- | float | frozenset | int | list | object | property
67
- | set | slice | staticmethod | str | tuple | type
68
-
69
- (?# Although 'super' is not a type, it's related to types,
70
- and is special enough to be highlighted differently from
71
- other built-ins)
72
- | super
73
- )\\b
74
- `,name:"support.type.python"},{match:`(?x)
75
- (?<!\\.) \\b(
76
- uint248 | HashMap | bytes22 | int88 | bytes24 | bytes11 | int24 | bytes28 | bytes19 | uint136 | decimal | uint40 | uint168 | uint120 | int112 | bytes4 | uint192 | String | int104 | bytes29 | int120 | uint232 | bytes8 | bool | bytes14 | int56 | uint32 | int232 | uint48 | bytes17 | bytes12 | uint24 | int160 | int72 | int256 | uint56 | uint80 | uint104 | uint144 | uint200 | bytes20 | uint160 | bytes18 | bytes16 | uint8 | int40 | Bytes | uint72 | bytes2 | bytes23 | int48 | bytes6 | bytes13 | int192 | bytes15 | uint96 | address | uint64 | uint88 | bytes7 | int64 | bytes32 | bytes30 | int176 | int248 | uint128 | int8 | int136 | int216 | bytes31 | int144 | bytes1 | int168 | bytes5 | uint216 | int200 | bytes25 | uint112 | int128 | bytes10 | uint16 | DynArray | int16 | int32 | int208 | int184 | bytes9 | int224 | bytes3 | int80 | uint152 | bytes21 | int96 | uint256 | uint176 | uint240 | bytes27 | bytes26 | int240 | uint224 | uint184 | uint208 | int152)\\b
77
- `,name:"support.type.basetype.vyper"},{match:`(?x)
78
- (?<!\\.) \\b(
79
- max_int128 | min_int128 | nonlocal | babbage | _default_ | ___init___ | await | indexed | ____init____ | true | constant | with | from | nonpayable | finally | enum | zero_wei | del | for | ____default____ | if | none | or | global | def | not | class | twei | struct | mwei | empty_bytes32 | nonreentrant | transient | false | assert | event | pass | finney | init | lovelace | min_decimal | shannon | public | external | internal | flagunreachable | _init_ | return | in | and | raise | try | gwei | break | zero_address | pwei | range | wei | while | ada | yield | as | immutable | continue | async | lambda | default | is | szabo | kwei | import | max_uint256 | elif | ___default___ | else | except | max_decimal | interface | payable | ether)\\b
80
- `,name:"support.type.keywords.vyper"},{match:`(?x)
81
- (?<!\\.) \\b(
82
- ZERO_ADDRESS | EMPTY_BYTES32 | MAX_INT128 | MIN_INT128 | MAX_DECIMAL | MIN_DECIMAL | MIN_UINT256 | MAX_UINT256
83
-
84
- (?# Although 'super' is not a type, it's related to types,
85
- and is special enough to be highlighted differently from
86
- other built-ins)
87
- | super
88
- )\\b
89
- `,name:"support.type.constant.vyper"},{match:`(?x)
90
- (?<!\\.) \\b(
91
- implements | uses | initializes | exports)\\b
92
- `,name:"entity.other.inherited-class.modules.vyper"}]},"call-wrapper-inheritance":{begin:`(?x)
93
- \\b(?=
94
- ([[:alpha:]_]\\w*) \\s* (\\()
95
- )
96
- `,comment:"same as a function call, but in inheritance context",end:"(\\))",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.function-call.python",patterns:[{include:"#inheritance-name"},{include:"#function-arguments"}]},"class-declaration":{patterns:[{begin:`(?x)
97
- \\s*(class)\\s+
98
- (?=
99
- [[:alpha:]_]\\w* \\s* (:|\\()
100
- )
101
- `,beginCaptures:{1:{name:"storage.type.class.python"}},end:"(:)",endCaptures:{1:{name:"punctuation.section.class.begin.python"}},name:"meta.class.python",patterns:[{include:"#class-name"},{include:"#class-inheritance"}]}]},"class-inheritance":{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.inheritance.begin.python"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.inheritance.end.python"}},name:"meta.class.inheritance.python",patterns:[{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.arguments.python"},{match:",",name:"punctuation.separator.inheritance.python"},{match:"=(?!=)",name:"keyword.operator.assignment.python"},{match:"\\bmetaclass\\b",name:"support.type.metaclass.python"},{include:"#illegal-names"},{include:"#class-kwarg"},{include:"#call-wrapper-inheritance"},{include:"#expression-base"},{include:"#member-access-class"},{include:"#inheritance-identifier"}]},"class-kwarg":{captures:{1:{name:"entity.other.inherited-class.python variable.parameter.class.python"},2:{name:"keyword.operator.assignment.python"}},match:`(?x)
102
- \\b ([[:alpha:]_]\\w*) \\s*(=)(?!=)
103
- `},"class-name":{patterns:[{include:"#illegal-object-name"},{include:"#builtin-possible-callables"},{match:`(?x)
104
- \\b ([[:alpha:]_]\\w*) \\b
105
- `,name:"entity.name.type.class.python"}]},codetags:{captures:{1:{name:"keyword.codetag.notation.python"}},match:"(?:\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\b)"},comments:{patterns:[{begin:`(?x)
106
- (?:
107
- \\# \\s* (type:)
108
- \\s*+ (?# we want \`\\s*+\` which is possessive quantifier since
109
- we do not actually want to backtrack when matching
110
- whitespace here)
111
- (?! $ | \\#)
112
- )
113
- `,beginCaptures:{0:{name:"meta.typehint.comment.python"},1:{name:"comment.typehint.directive.notation.python"}},contentName:"meta.typehint.comment.python",end:"(?:$|(?=\\#))",name:"comment.line.number-sign.python",patterns:[{match:`(?x)
114
- \\G ignore
115
- (?= \\s* (?: $ | \\#))
116
- `,name:"comment.typehint.ignore.notation.python"},{match:`(?x)
117
- (?<!\\.)\\b(
118
- bool | bytes | float | int | object | str
119
- | List | Dict | Iterable | Sequence | Set
120
- | FrozenSet | Callable | Union | Tuple
121
- | Any | None
122
- )\\b
123
- `,name:"comment.typehint.type.notation.python"},{match:"([\\[\\]\\(\\),\\.\\=\\*]|(->))",name:"comment.typehint.punctuation.notation.python"},{match:"([[:alpha:]_]\\w*)",name:"comment.typehint.variable.notation.python"}]},{include:"#comments-base"}]},"comments-base":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:"($)",name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"comments-string-double-three":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:'($|(?="""))',name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"comments-string-single-three":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:"($|(?='''))",name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"curly-braces":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.dict.begin.python"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.dict.end.python"}},patterns:[{match:":",name:"punctuation.separator.dict.python"},{include:"#expression"}]},decorator:{begin:`(?x)
124
- ^\\s*
125
- ((@)) \\s* (?=[[:alpha:]_]\\w*)
126
- `,beginCaptures:{1:{name:"entity.name.function.decorator.python"},2:{name:"punctuation.definition.decorator.python"}},end:`(?x)
127
- ( \\) )
128
-
129
- (?: (.*?) (?=\\s*(?:\\#|$)) )
130
- | (?=\\n|\\#)
131
- `,endCaptures:{1:{name:"punctuation.definition.arguments.end.python"},2:{name:"invalid.illegal.decorator.python"}},name:"meta.function.decorator.python",patterns:[{include:"#decorator-name"},{include:"#function-arguments"}]},"decorator-name":{patterns:[{include:"#builtin-callables"},{include:"#illegal-object-name"},{captures:{2:{name:"punctuation.separator.period.python"}},match:`(?x)
132
- ([[:alpha:]_]\\w*) | (\\.)
133
- `,name:"entity.name.function.decorator.python"},{include:"#line-continuation"},{captures:{1:{name:"invalid.illegal.decorator.python"}},match:`(?x)
134
- \\s* ([^([:alpha:]\\s_\\.#\\\\] .*?) (?=\\#|$)
135
- `,name:"invalid.illegal.decorator.python"}]},docstring:{patterns:[{begin:`(\\'\\'\\'|\\"\\"\\")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.python"}},end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.python"}},name:"string.quoted.docstring.multi.python",patterns:[{include:"#docstring-prompt"},{include:"#codetags"},{include:"#docstring-guts-unicode"}]},{begin:`([rR])(\\'\\'\\'|\\"\\"\\")`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"}},name:"string.quoted.docstring.raw.multi.python",patterns:[{include:"#string-consume-escape"},{include:"#docstring-prompt"},{include:"#codetags"}]},{begin:`(\\'|\\")`,beginCaptures:{1:{name:"punctuation.definition.string.begin.python"}},end:"(\\1)|(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.docstring.single.python",patterns:[{include:"#codetags"},{include:"#docstring-guts-unicode"}]},{begin:`([rR])(\\'|\\")`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.docstring.raw.single.python",patterns:[{include:"#string-consume-escape"},{include:"#codetags"}]}]},"docstring-guts-unicode":{patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"}]},"docstring-prompt":{captures:{1:{name:"keyword.control.flow.python"}},match:`(?x)
136
- (?:
137
- (?:^|\\G) \\s* (?# '\\G' is necessary for ST)
138
- ((?:>>>|\\.\\.\\.) \\s) (?=\\s*\\S)
139
- )
140
- `},"docstring-statement":{begin:`^(?=\\s*[rR]?(\\'\\'\\'|\\"\\"\\"|\\'|\\"))`,comment:"the string either terminates correctly or by the beginning of a new line (this is for single line docstrings that aren't terminated) AND it's not followed by another docstring",end:`((?<=\\1)|^)(?!\\s*[rR]?(\\'\\'\\'|\\"\\"\\"|\\'|\\"))`,patterns:[{include:"#docstring"}]},"double-one-regexp-character-set":{patterns:[{match:`(?x)
141
- \\[ \\^? \\] (?! .*?\\])
142
- `},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:'(\\]|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"double-one-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"double-one-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#double-one-regexp-character-set"},{include:"#double-one-regexp-comments"},{include:"#regexp-flags"},{include:"#double-one-regexp-named-group"},{include:"#regexp-backreference"},{include:"#double-one-regexp-lookahead"},{include:"#double-one-regexp-lookahead-negative"},{include:"#double-one-regexp-lookbehind"},{include:"#double-one-regexp-lookbehind-negative"},{include:"#double-one-regexp-conditional"},{include:"#double-one-regexp-parentheses-non-capturing"},{include:"#double-one-regexp-parentheses"}]},"double-one-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-named-group":{begin:`(?x)
143
- (\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)
144
- `,beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-three-regexp-character-set":{patterns:[{match:`(?x)
145
- \\[ \\^? \\] (?! .*?\\])
146
- `},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:'(\\]|(?="""))',endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"double-three-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"double-three-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#double-three-regexp-character-set"},{include:"#double-three-regexp-comments"},{include:"#regexp-flags"},{include:"#double-three-regexp-named-group"},{include:"#regexp-backreference"},{include:"#double-three-regexp-lookahead"},{include:"#double-three-regexp-lookahead-negative"},{include:"#double-three-regexp-lookbehind"},{include:"#double-three-regexp-lookbehind-negative"},{include:"#double-three-regexp-conditional"},{include:"#double-three-regexp-parentheses-non-capturing"},{include:"#double-three-regexp-parentheses"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-named-group":{begin:`(?x)
147
- (\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)
148
- `,beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},ellipsis:{match:"\\.\\.\\.",name:"constant.other.ellipsis.python"},"escape-sequence":{match:`(?x)
149
- \\\\ (
150
- x[0-9A-Fa-f]{2}
151
- | [0-7]{1,3}
152
- | [\\\\"'abfnrtv]
153
- )
154
- `,name:"constant.character.escape.python"},"escape-sequence-unicode":{patterns:[{match:`(?x)
155
- \\\\ (
156
- u[0-9A-Fa-f]{4}
157
- | U[0-9A-Fa-f]{8}
158
- | N\\{[\\w\\s]+?\\}
159
- )
160
- `,name:"constant.character.escape.python"}]},expression:{comment:"All valid Python expressions",patterns:[{include:"#expression-base"},{include:"#member-access"},{comment:"Tokenize identifiers to help linters",match:"(?x) \\b ([[:alpha:]_]\\w*) \\b"}]},"expression-bare":{comment:"valid Python expressions w/o comments and line continuation",patterns:[{include:"#backticks"},{include:"#illegal-anno"},{include:"#literal"},{include:"#regexp"},{include:"#string"},{include:"#lambda"},{include:"#generator"},{include:"#illegal-operator"},{include:"#operator"},{include:"#curly-braces"},{include:"#item-access"},{include:"#list"},{include:"#odd-function-call"},{include:"#round-braces"},{include:"#function-call"},{include:"#builtin-functions"},{include:"#builtin-types"},{include:"#builtin-exceptions"},{include:"#magic-names"},{include:"#special-names"},{include:"#illegal-names"},{include:"#special-variables"},{include:"#ellipsis"},{include:"#punctuation"},{include:"#line-continuation"},{include:"#special-variables-types"}]},"expression-base":{comment:"valid Python expressions with comments and line continuation",patterns:[{include:"#comments"},{include:"#expression-bare"},{include:"#line-continuation"}]},"f-expression":{comment:"All valid Python expressions, except comments and line continuation",patterns:[{include:"#expression-bare"},{include:"#member-access"},{comment:"Tokenize identifiers to help linters",match:"(?x) \\b ([[:alpha:]_]\\w*) \\b"}]},"fregexp-base-expression":{patterns:[{include:"#fregexp-quantifier"},{include:"#fstring-formatting-braces"},{match:"\\{.*?\\}"},{include:"#regexp-base-common"}]},"fregexp-quantifier":{match:`(?x)
161
- \\{\\{(
162
- \\d+ | \\d+,(\\d+)? | ,\\d+
163
- )\\}\\}
164
- `,name:"keyword.operator.quantifier.regexp"},"fstring-fnorm-quoted-multi-line":{begin:`(\\b[fF])([bBuU])?('''|""")`,beginCaptures:{1:{name:"string.interpolated.python string.quoted.multi.python storage.type.string.python"},2:{name:"invalid.illegal.prefix.python"},3:{name:"punctuation.definition.string.begin.python string.interpolated.python string.quoted.multi.python"}},end:"(\\3)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{include:"#fstring-multi-core"}]},"fstring-fnorm-quoted-single-line":{begin:`(\\b[fF])([bBuU])?((['"]))`,beginCaptures:{1:{name:"string.interpolated.python string.quoted.single.python storage.type.string.python"},2:{name:"invalid.illegal.prefix.python"},3:{name:"punctuation.definition.string.begin.python string.interpolated.python string.quoted.single.python"}},end:"(\\3)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{include:"#fstring-single-core"}]},"fstring-formatting":{patterns:[{include:"#fstring-formatting-braces"},{include:"#fstring-formatting-singe-brace"}]},"fstring-formatting-braces":{patterns:[{captures:{1:{name:"constant.character.format.placeholder.other.python"},2:{name:"invalid.illegal.brace.python"},3:{name:"constant.character.format.placeholder.other.python"}},comment:"empty braces are illegal",match:"({)(\\s*?)(})"},{match:"({{|}})",name:"constant.character.escape.python"}]},"fstring-formatting-singe-brace":{match:"(}(?!}))",name:"invalid.illegal.brace.python"},"fstring-guts":{patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"},{include:"#fstring-formatting"}]},"fstring-illegal-multi-brace":{patterns:[{include:"#impossible"}]},"fstring-illegal-single-brace":{begin:"(\\{)(?=[^\\n}]*$\\n?)",beginCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},comment:"it is illegal to have a multiline brace inside a single-line string",end:"(\\})|(?=\\n)",endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-single"},{include:"#f-expression"}]},"fstring-multi-brace":{begin:"(\\{)",beginCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},comment:"value interpolation using { ... }",end:`(?x)
165
- (\\})
166
- `,endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-multi"},{include:"#f-expression"}]},"fstring-multi-core":{match:`(?x)
167
- (.+?)
168
- (
169
- (?# .* and .*? in multi-line match need special handling of
170
- newlines otherwise SublimeText and Atom will match slightly
171
- differently.
172
-
173
- The guard for newlines has to be separate from the
174
- lookahead because of special $ matching rule.)
175
- ($\\n?)
176
- |
177
- (?=[\\\\\\}\\{]|'''|""")
178
- )
179
- (?# due to how multiline regexps are matched we need a special case
180
- for matching a newline character)
181
- | \\n
182
- `,name:"string.interpolated.python string.quoted.multi.python"},"fstring-normf-quoted-multi-line":{begin:`(\\b[bBuU])([fF])('''|""")`,beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"string.interpolated.python string.quoted.multi.python storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python string.quoted.multi.python"}},end:"(\\3)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{include:"#fstring-multi-core"}]},"fstring-normf-quoted-single-line":{begin:`(\\b[bBuU])([fF])((['"]))`,beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"string.interpolated.python string.quoted.single.python storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python string.quoted.single.python"}},end:"(\\3)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{include:"#fstring-single-core"}]},"fstring-raw-guts":{patterns:[{include:"#string-consume-escape"},{include:"#fstring-formatting"}]},"fstring-raw-multi-core":{match:`(?x)
183
- (.+?)
184
- (
185
- (?# .* and .*? in multi-line match need special handling of
186
- newlines otherwise SublimeText and Atom will match slightly
187
- differently.
188
-
189
- The guard for newlines has to be separate from the
190
- lookahead because of special $ matching rule.)
191
- ($\\n?)
192
- |
193
- (?=[\\\\\\}\\{]|'''|""")
194
- )
195
- (?# due to how multiline regexps are matched we need a special case
196
- for matching a newline character)
197
- | \\n
198
- `,name:"string.interpolated.python string.quoted.raw.multi.python"},"fstring-raw-quoted-multi-line":{begin:`(\\b(?:[rR][fF]|[fF][rR]))('''|""")`,beginCaptures:{1:{name:"string.interpolated.python string.quoted.raw.multi.python storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python string.quoted.raw.multi.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.multi.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-raw-guts"},{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{include:"#fstring-raw-multi-core"}]},"fstring-raw-quoted-single-line":{begin:`(\\b(?:[rR][fF]|[fF][rR]))((['"]))`,beginCaptures:{1:{name:"string.interpolated.python string.quoted.raw.single.python storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python string.quoted.raw.single.python"}},end:"(\\2)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.single.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-raw-guts"},{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{include:"#fstring-raw-single-core"}]},"fstring-raw-single-core":{match:`(?x)
199
- (.+?)
200
- (
201
- (?# .* and .*? in multi-line match need special handling of
202
- newlines otherwise SublimeText and Atom will match slightly
203
- differently.
204
-
205
- The guard for newlines has to be separate from the
206
- lookahead because of special $ matching rule.)
207
- ($\\n?)
208
- |
209
- (?=[\\\\\\}\\{]|(['"])|((?<!\\\\)\\n))
210
- )
211
- (?# due to how multiline regexps are matched we need a special case
212
- for matching a newline character)
213
- | \\n
214
- `,name:"string.interpolated.python string.quoted.raw.single.python"},"fstring-single-brace":{begin:"(\\{)",beginCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},comment:"value interpolation using { ... }",end:`(?x)
215
- (\\})|(?=\\n)
216
- `,endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-single"},{include:"#f-expression"}]},"fstring-single-core":{match:`(?x)
217
- (.+?)
218
- (
219
- (?# .* and .*? in multi-line match need special handling of
220
- newlines otherwise SublimeText and Atom will match slightly
221
- differently.
222
-
223
- The guard for newlines has to be separate from the
224
- lookahead because of special $ matching rule.)
225
- ($\\n?)
226
- |
227
- (?=[\\\\\\}\\{]|(['"])|((?<!\\\\)\\n))
228
- )
229
- (?# due to how multiline regexps are matched we need a special case
230
- for matching a newline character)
231
- | \\n
232
- `,name:"string.interpolated.python string.quoted.single.python"},"fstring-terminator-multi":{patterns:[{match:"(=(![rsa])?)(?=})",name:"storage.type.format.python"},{match:"(=?![rsa])(?=})",name:"storage.type.format.python"},{captures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},match:`(?x)
233
- ( (?: =?) (?: ![rsa])? )
234
- ( : \\w? [<>=^]? [-+ ]? \\#?
235
- \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )(?=})
236
- `},{include:"#fstring-terminator-multi-tail"}]},"fstring-terminator-multi-tail":{begin:"((?:=?)(?:![rsa])?)(:)(?=.*?{)",beginCaptures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},end:"(?=})",patterns:[{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{match:"([bcdeEfFgGnosxX%])(?=})",name:"storage.type.format.python"},{match:"(\\.\\d+)",name:"storage.type.format.python"},{match:"(,)",name:"storage.type.format.python"},{match:"(\\d+)",name:"storage.type.format.python"},{match:"(\\#)",name:"storage.type.format.python"},{match:"([-+ ])",name:"storage.type.format.python"},{match:"([<>=^])",name:"storage.type.format.python"},{match:"(\\w)",name:"storage.type.format.python"}]},"fstring-terminator-single":{patterns:[{match:"(=(![rsa])?)(?=})",name:"storage.type.format.python"},{match:"(=?![rsa])(?=})",name:"storage.type.format.python"},{captures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},match:`(?x)
237
- ( (?: =?) (?: ![rsa])? )
238
- ( : \\w? [<>=^]? [-+ ]? \\#?
239
- \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )(?=})
240
- `},{include:"#fstring-terminator-single-tail"}]},"fstring-terminator-single-tail":{begin:"((?:=?)(?:![rsa])?)(:)(?=.*?{)",beginCaptures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},end:"(?=})|(?=\\n)",patterns:[{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{match:"([bcdeEfFgGnosxX%])(?=})",name:"storage.type.format.python"},{match:"(\\.\\d+)",name:"storage.type.format.python"},{match:"(,)",name:"storage.type.format.python"},{match:"(\\d+)",name:"storage.type.format.python"},{match:"(\\#)",name:"storage.type.format.python"},{match:"([-+ ])",name:"storage.type.format.python"},{match:"([<>=^])",name:"storage.type.format.python"},{match:"(\\w)",name:"storage.type.format.python"}]},"function-arguments":{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.arguments.begin.python"}},contentName:"meta.function-call.arguments.python",end:"(?=\\))(?!\\)\\s*\\()",patterns:[{match:"(,)",name:"punctuation.separator.arguments.python"},{captures:{1:{name:"keyword.operator.unpacking.arguments.python"}},match:`(?x)
241
- (?:(?<=[,(])|^) \\s* (\\*{1,2})
242
- `},{include:"#lambda-incomplete"},{include:"#illegal-names"},{captures:{1:{name:"variable.parameter.function-call.python"},2:{name:"keyword.operator.assignment.python"}},match:"\\b([[:alpha:]_]\\w*)\\s*(=)(?!=)"},{match:"=(?!=)",name:"keyword.operator.assignment.python"},{include:"#expression"},{captures:{1:{name:"punctuation.definition.arguments.end.python"},2:{name:"punctuation.definition.arguments.begin.python"}},match:"\\s*(\\))\\s*(\\()"}]},"function-call":{begin:`(?x)
243
- \\b(?=
244
- ([[:alpha:]_]\\w*) \\s* (\\()
245
- )
246
- `,comment:'Regular function call of the type "name(args)"',end:"(\\))",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.function-call.python",patterns:[{include:"#special-variables"},{include:"#function-name"},{include:"#function-arguments"}]},"function-declaration":{begin:`(?x)
247
- \\s*
248
- (?:\\b(async) \\s+)? \\b(def)\\s+
249
- (?=
250
- [[:alpha:]_][[:word:]]* \\s* \\(
251
- )
252
- `,beginCaptures:{1:{name:"storage.type.function.async.python"},2:{name:"storage.type.function.python"}},end:`(:|(?=[#'"\\n]))`,endCaptures:{1:{name:"punctuation.section.function.begin.python"}},name:"meta.function.python",patterns:[{include:"#function-def-name"},{include:"#parameters"},{include:"#line-continuation"},{include:"#return-annotation"}]},"function-def-name":{patterns:[{match:`(?x)
253
- \\b (__default__) \\b
254
- `,name:"entity.name.function.fallback.vyper"},{match:`(?x)
255
- \\b (__init__) \\b
256
- `,name:"entity.name.function.constructor.vyper"},{include:"#illegal-object-name"},{include:"#builtin-possible-callables"},{match:`(?x)
257
- \\b ([[:alpha:]_]\\w*) \\b
258
- `,name:"entity.name.function.python"}]},"function-name":{patterns:[{include:"#builtin-possible-callables"},{comment:"Some color schemas support meta.function-call.generic scope",match:`(?x)
259
- \\b ([[:alpha:]_]\\w*) \\b
260
- `,name:"meta.function-call.generic.python"}]},generator:{begin:"\\bfor\\b",beginCaptures:{0:{name:"keyword.control.flow.python"}},comment:`Match "for ... in" construct used in generators and for loops to
261
- correctly identify the "in" as a control flow keyword.
262
- `,end:"\\bin\\b",endCaptures:{0:{name:"keyword.control.flow.python"}},patterns:[{include:"#expression"}]},"illegal-anno":{match:"->",name:"invalid.illegal.annotation.python"},"illegal-names":{captures:{1:{name:"keyword.control.flow.python"},2:{name:"keyword.control.import.python"}},match:`(?x)
263
- \\b(?:
264
- (
265
- and | assert | async | await | break | class | continue | def
266
- | del | elif | else | except | finally | for | from | global
267
- | if | in | is | (?<=\\.)lambda | lambda(?=\\s*[\\.=])
268
- | nonlocal | not | or | pass | raise | return | try | while | with
269
- | yield
270
- ) | (
271
- as | import
272
- )
273
- )\\b
274
- `},"illegal-object-name":{comment:`It's illegal to name class or function "True"`,match:"\\b(True|False|None)\\b",name:"keyword.illegal.name.python"},"illegal-operator":{patterns:[{match:"&&|\\|\\||--|\\+\\+",name:"invalid.illegal.operator.python"},{match:"[?$]",name:"invalid.illegal.operator.python"},{comment:"We don't want `!` to flash when we're typing `!=`",match:"!\\b",name:"invalid.illegal.operator.python"}]},import:{comment:"Import statements used to correctly mark `from`, `import`, and `as`\n",patterns:[{begin:"\\b(?<!\\.)(from)\\b(?=.+import)",beginCaptures:{1:{name:"keyword.control.import.python"}},end:"$|(?=import)",patterns:[{match:"\\.+",name:"punctuation.separator.period.python"},{include:"#expression"}]},{begin:"\\b(?<!\\.)(import)\\b",beginCaptures:{1:{name:"keyword.control.import.python"}},end:"$",patterns:[{match:"\\b(?<!\\.)as\\b",name:"keyword.control.import.python"},{include:"#expression"}]}]},impossible:{comment:"This is a special rule that should be used where no match is desired. It is not a good idea to match something like '1{0}' because in some cases that can result in infinite loops in token generation. So the rule instead matches and impossible expression to allow a match to fail and move to the next token.",match:"$.^"},"inheritance-identifier":{captures:{1:{name:"entity.other.inherited-class.python"}},match:`(?x)
275
- \\b ([[:alpha:]_]\\w*) \\b
276
- `},"inheritance-name":{patterns:[{include:"#lambda-incomplete"},{include:"#builtin-possible-callables"},{include:"#inheritance-identifier"}]},"item-access":{patterns:[{begin:`(?x)
277
- \\b(?=
278
- [[:alpha:]_]\\w* \\s* \\[
279
- )
280
- `,end:"(\\])",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.item-access.python",patterns:[{include:"#item-name"},{include:"#item-index"},{include:"#expression"}]}]},"item-index":{begin:"(\\[)",beginCaptures:{1:{name:"punctuation.definition.arguments.begin.python"}},contentName:"meta.item-access.arguments.python",end:"(?=\\])",patterns:[{match:":",name:"punctuation.separator.slice.python"},{include:"#expression"}]},"item-name":{patterns:[{include:"#special-variables"},{include:"#builtin-functions"},{include:"#special-names"},{match:`(?x)
281
- \\b ([[:alpha:]_]\\w*) \\b
282
- `,name:"meta.indexed-name.python"},{include:"#special-variables-types"}]},lambda:{patterns:[{captures:{1:{name:"keyword.control.flow.python"}},match:"((?<=\\.)lambda|lambda(?=\\s*[\\.=]))"},{captures:{1:{name:"storage.type.function.lambda.python"}},match:"\\b(lambda)\\s*?(?=[,\\n]|$)"},{begin:`(?x)
283
- \\b (lambda) \\b
284
- `,beginCaptures:{1:{name:"storage.type.function.lambda.python"}},contentName:"meta.function.lambda.parameters.python",end:"(:)|(\\n)",endCaptures:{1:{name:"punctuation.section.function.lambda.begin.python"}},name:"meta.lambda-function.python",patterns:[{match:"/",name:"keyword.operator.positional.parameter.python"},{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.parameter.python"},{include:"#lambda-nested-incomplete"},{include:"#illegal-names"},{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.parameters.python"}},match:"([[:alpha:]_]\\w*)\\s*(?:(,)|(?=:|$))"},{include:"#comments"},{include:"#backticks"},{include:"#illegal-anno"},{include:"#lambda-parameter-with-default"},{include:"#line-continuation"},{include:"#illegal-operator"}]}]},"lambda-incomplete":{match:"\\blambda(?=\\s*[,)])",name:"storage.type.function.lambda.python"},"lambda-nested-incomplete":{match:"\\blambda(?=\\s*[:,)])",name:"storage.type.function.lambda.python"},"lambda-parameter-with-default":{begin:`(?x)
285
- \\b
286
- ([[:alpha:]_]\\w*) \\s* (=)
287
- `,beginCaptures:{1:{name:"variable.parameter.function.language.python"},2:{name:"keyword.operator.python"}},end:"(,)|(?=:|$)",endCaptures:{1:{name:"punctuation.separator.parameters.python"}},patterns:[{include:"#expression"}]},"line-continuation":{patterns:[{captures:{1:{name:"punctuation.separator.continuation.line.python"},2:{name:"invalid.illegal.line.continuation.python"}},match:"(\\\\)\\s*(\\S.*$\\n?)"},{begin:"(\\\\)\\s*$\\n?",beginCaptures:{1:{name:"punctuation.separator.continuation.line.python"}},end:`(?x)
288
- (?=^\\s*$)
289
- |
290
- (?! (\\s* [rR]? (\\'\\'\\'|\\"\\"\\"|\\'|\\"))
291
- |
292
- (\\G $) (?# '\\G' is necessary for ST)
293
- )
294
- `,patterns:[{include:"#regexp"},{include:"#string"}]}]},list:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.list.begin.python"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.list.end.python"}},patterns:[{include:"#expression"}]},literal:{patterns:[{match:"\\b(True|False|None|NotImplemented|Ellipsis)\\b",name:"constant.language.python"},{include:"#number"}]},"loose-default":{begin:"(=)",beginCaptures:{1:{name:"keyword.operator.python"}},end:"(,)|(?=\\))",endCaptures:{1:{name:"punctuation.separator.parameters.python"}},patterns:[{include:"#expression"}]},"magic-function-names":{captures:{1:{name:"support.function.magic.python"}},comment:`these methods have magic interpretation by python and are generally called
295
- indirectly through syntactic constructs
296
- `,match:`(?x)
297
- \\b(
298
- __(?:
299
- abs | add | aenter | aexit | aiter | and | anext
300
- | await | bool | call | ceil | class_getitem
301
- | cmp | coerce | complex | contains | copy
302
- | deepcopy | del | delattr | delete | delitem
303
- | delslice | dir | div | divmod | enter | eq
304
- | exit | float | floor | floordiv | format | ge
305
- | get | getattr | getattribute | getinitargs
306
- | getitem | getnewargs | getslice | getstate | gt
307
- | hash | hex | iadd | iand | idiv | ifloordiv |
308
- | ilshift | imod | imul | index | init
309
- | instancecheck | int | invert | ior | ipow
310
- | irshift | isub | iter | itruediv | ixor | le
311
- | len | long | lshift | lt | missing | mod | mul
312
- | ne | neg | new | next | nonzero | oct | or | pos
313
- | pow | radd | rand | rdiv | rdivmod | reduce
314
- | reduce_ex | repr | reversed | rfloordiv |
315
- | rlshift | rmod | rmul | ror | round | rpow
316
- | rrshift | rshift | rsub | rtruediv | rxor | set
317
- | setattr | setitem | set_name | setslice
318
- | setstate | sizeof | str | sub | subclasscheck
319
- | truediv | trunc | unicode | xor | matmul
320
- | rmatmul | imatmul | init_subclass | set_name
321
- | fspath | bytes | prepare | length_hint
322
- )__
323
- )\\b
324
- `},"magic-names":{patterns:[{include:"#magic-function-names"},{include:"#magic-variable-names"}]},"magic-variable-names":{captures:{1:{name:"support.variable.magic.python"}},comment:"magic variables which a class/module may have.",match:`(?x)
325
- \\b(
326
- __(?:
327
- all | annotations | bases | builtins | class
328
- | closure | code | debug | defaults | dict | doc | file | func
329
- | globals | kwdefaults | match_args | members | metaclass | methods
330
- | module | mro | mro_entries | name | qualname | post_init | self
331
- | signature | slots | subclasses | version | weakref | wrapped
332
- | classcell | spec | path | package | future | traceback
333
- )__
334
- )\\b
335
- `},"member-access":{begin:"(\\.)\\s*(?!\\.)",beginCaptures:{1:{name:"punctuation.separator.period.python"}},end:`(?x)
336
-
337
-
338
- (?<=\\S)(?=\\W) |
339
-
340
-
341
- (^|(?<=\\s))(?=[^\\\\\\w\\s]) |
342
- $
343
- `,name:"meta.member.access.python",patterns:[{include:"#function-call"},{include:"#member-access-base"},{include:"#member-access-attribute"}]},"member-access-attribute":{comment:"Highlight attribute access in otherwise non-specialized cases.",match:`(?x)
344
- \\b ([[:alpha:]_]\\w*) \\b
345
- `,name:"meta.attribute.python"},"member-access-base":{patterns:[{include:"#magic-names"},{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#special-names"},{include:"#line-continuation"},{include:"#item-access"},{include:"#special-variables-types"}]},"member-access-class":{begin:"(\\.)\\s*(?!\\.)",beginCaptures:{1:{name:"punctuation.separator.period.python"}},end:"(?<=\\S)(?=\\W)|$",name:"meta.member.access.python",patterns:[{include:"#call-wrapper-inheritance"},{include:"#member-access-base"},{include:"#inheritance-identifier"}]},number:{name:"constant.numeric.python",patterns:[{include:"#number-float"},{include:"#number-dec"},{include:"#number-hex"},{include:"#number-oct"},{include:"#number-bin"},{include:"#number-long"},{match:"\\b[0-9]+\\w+",name:"invalid.illegal.name.python"}]},"number-bin":{captures:{1:{name:"storage.type.number.python"}},match:`(?x)
346
- (?<![\\w\\.])
347
- (0[bB]) (_?[01])+
348
- \\b
349
- `,name:"constant.numeric.bin.python"},"number-dec":{captures:{1:{name:"storage.type.imaginary.number.python"},2:{name:"invalid.illegal.dec.python"}},match:`(?x)
350
- (?<![\\w\\.])(?:
351
- [1-9](?: _?[0-9] )*
352
- |
353
- 0+
354
- |
355
- [0-9](?: _?[0-9] )* ([jJ])
356
- |
357
- 0 ([0-9]+)(?![eE\\.])
358
- )\\b
359
- `,name:"constant.numeric.dec.python"},"number-float":{captures:{1:{name:"storage.type.imaginary.number.python"}},match:`(?x)
360
- (?<! \\w)(?:
361
- (?:
362
- \\.[0-9](?: _?[0-9] )*
363
- |
364
- [0-9](?: _?[0-9] )* \\. [0-9](?: _?[0-9] )*
365
- |
366
- [0-9](?: _?[0-9] )* \\.
367
- ) (?: [eE][+-]?[0-9](?: _?[0-9] )* )?
368
- |
369
- [0-9](?: _?[0-9] )* (?: [eE][+-]?[0-9](?: _?[0-9] )* )
370
- )([jJ])?\\b
371
- `,name:"constant.numeric.float.python"},"number-hex":{captures:{1:{name:"storage.type.number.python"}},match:`(?x)
372
- (?<![\\w\\.])
373
- (0[xX]) (_?[0-9a-fA-F])+
374
- \\b
375
- `,name:"constant.numeric.hex.python"},"number-long":{captures:{2:{name:"storage.type.number.python"}},comment:"this is to support python2 syntax for long ints",match:`(?x)
376
- (?<![\\w\\.])
377
- ([1-9][0-9]* | 0) ([lL])
378
- \\b
379
- `,name:"constant.numeric.bin.python"},"number-oct":{captures:{1:{name:"storage.type.number.python"}},match:`(?x)
380
- (?<![\\w\\.])
381
- (0[oO]) (_?[0-7])+
382
- \\b
383
- `,name:"constant.numeric.oct.python"},"odd-function-call":{begin:`(?x)
384
- (?<= \\] | \\) ) \\s*
385
- (?=\\()
386
- `,comment:`A bit obscured function call where there may have been an
387
- arbitrary number of other operations to get the function.
388
- E.g. "arr[idx](args)"
389
- `,end:"(\\))",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},patterns:[{include:"#function-arguments"}]},operator:{captures:{1:{name:"keyword.operator.logical.python"},2:{name:"keyword.control.flow.python"},3:{name:"keyword.operator.bitwise.python"},4:{name:"keyword.operator.arithmetic.python"},5:{name:"keyword.operator.comparison.python"},6:{name:"keyword.operator.assignment.python"}},match:`(?x)
390
- \\b(?<!\\.)
391
- (?:
392
- (and | or | not | in | is) (?# 1)
393
- |
394
- (for | if | else | await | (?:yield(?:\\s+from)?)) (?# 2)
395
- )
396
- (?!\\s*:)\\b
397
-
398
- | (<< | >> | & | \\| | \\^ | ~) (?# 3)
399
-
400
- | (\\*\\* | \\* | \\+ | - | % | // | / | @) (?# 4)
401
-
402
- | (!= | == | >= | <= | < | >) (?# 5)
403
-
404
- | (:=) (?# 6)
405
- `},"parameter-special":{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"variable.parameter.function.language.special.self.python"},3:{name:"variable.parameter.function.language.special.cls.python"},4:{name:"punctuation.separator.parameters.python"}},match:`(?x)
406
- \\b ((self)|(cls)) \\b \\s*(?:(,)|(?=\\)))
407
- `},parameters:{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.parameters.begin.python"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.parameters.end.python"}},name:"meta.function.parameters.python",patterns:[{match:"/",name:"keyword.operator.positional.parameter.python"},{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.parameter.python"},{include:"#lambda-incomplete"},{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#parameter-special"},{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.parameters.python"}},match:`(?x)
408
- ([[:alpha:]_]\\w*)
409
- \\s* (?: (,) | (?=[)#\\n=]))
410
- `},{include:"#comments"},{include:"#loose-default"},{include:"#annotated-parameter"}]},punctuation:{patterns:[{match:":",name:"punctuation.separator.colon.python"},{match:",",name:"punctuation.separator.element.python"}]},regexp:{patterns:[{include:"#regexp-single-three-line"},{include:"#regexp-double-three-line"},{include:"#regexp-single-one-line"},{include:"#regexp-double-one-line"}]},"regexp-backreference":{captures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"},2:{name:"entity.name.tag.named.backreference.regexp"},3:{name:"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"}},match:`(?x)
411
- (\\() (\\?P= \\w+(?:\\s+[[:alnum:]]+)?) (\\))
412
- `,name:"meta.backreference.named.regexp"},"regexp-backreference-number":{captures:{1:{name:"entity.name.tag.backreference.regexp"}},match:"(\\\\[1-9]\\d?)",name:"meta.backreference.regexp"},"regexp-base-common":{patterns:[{match:"\\.",name:"support.other.match.any.regexp"},{match:"\\^",name:"support.other.match.begin.regexp"},{match:"\\$",name:"support.other.match.end.regexp"},{match:"[+*?]\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.disjunction.regexp"},{include:"#regexp-escape-sequence"}]},"regexp-base-expression":{patterns:[{include:"#regexp-quantifier"},{include:"#regexp-base-common"}]},"regexp-charecter-set-escapes":{patterns:[{match:"\\\\[abfnrtv\\\\]",name:"constant.character.escape.regexp"},{include:"#regexp-escape-special"},{match:"\\\\([0-7]{1,3})",name:"constant.character.escape.regexp"},{include:"#regexp-escape-character"},{include:"#regexp-escape-unicode"},{include:"#regexp-escape-catchall"}]},"regexp-double-one-line":{begin:'\\b(([uU]r)|([bB]r)|(r[bB]?))(")',beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:'(")|(?<!\\\\)(\\n)',endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.single.python",patterns:[{include:"#double-one-regexp-expression"}]},"regexp-double-three-line":{begin:'\\b(([uU]r)|([bB]r)|(r[bB]?))(""")',beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:'(""")',endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.multi.python",patterns:[{include:"#double-three-regexp-expression"}]},"regexp-escape-catchall":{match:"\\\\(.|\\n)",name:"constant.character.escape.regexp"},"regexp-escape-character":{match:`(?x)
413
- \\\\ (
414
- x[0-9A-Fa-f]{2}
415
- | 0[0-7]{1,2}
416
- | [0-7]{3}
417
- )
418
- `,name:"constant.character.escape.regexp"},"regexp-escape-sequence":{patterns:[{include:"#regexp-escape-special"},{include:"#regexp-escape-character"},{include:"#regexp-escape-unicode"},{include:"#regexp-backreference-number"},{include:"#regexp-escape-catchall"}]},"regexp-escape-special":{match:"\\\\([AbBdDsSwWZ])",name:"support.other.escape.special.regexp"},"regexp-escape-unicode":{match:`(?x)
419
- \\\\ (
420
- u[0-9A-Fa-f]{4}
421
- | U[0-9A-Fa-f]{8}
422
- )
423
- `,name:"constant.character.unicode.regexp"},"regexp-flags":{match:"\\(\\?[aiLmsux]+\\)",name:"storage.modifier.flag.regexp"},"regexp-quantifier":{match:`(?x)
424
- \\{(
425
- \\d+ | \\d+,(\\d+)? | ,\\d+
426
- )\\}
427
- `,name:"keyword.operator.quantifier.regexp"},"regexp-single-one-line":{begin:"\\b(([uU]r)|([bB]r)|(r[bB]?))(\\')",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:"(\\')|(?<!\\\\)(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.single.python",patterns:[{include:"#single-one-regexp-expression"}]},"regexp-single-three-line":{begin:"\\b(([uU]r)|([bB]r)|(r[bB]?))(\\'\\'\\')",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:"(\\'\\'\\')",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.multi.python",patterns:[{include:"#single-three-regexp-expression"}]},"reserved-names-vyper":{match:`(?x)
428
- \\b (max_int128 | min_int128 | nonlocal | babbage | _default_ | ___init___ | await | indexed | ____init____ | true | constant | with | from | nonpayable | finally | enum | zero_wei | del | for | ____default____ | if | none | or | global | def | not | class | twei | struct | mwei | empty_bytes32 | nonreentrant | transient | false | assert | event | pass | finney | init | lovelace | min_decimal | shannon | public | external | internal | flagunreachable | _init_ | return | in | and | raise | try | gwei | break | zero_address | pwei | range | wei | while | ada | yield | as | immutable | continue | async | lambda | default | is | szabo | kwei | import | max_uint256 | elif | ___default___ | else | except | max_decimal | interface | payable | ether) \\b
429
- `,name:"name.reserved.vyper"},"return-annotation":{begin:"(->)",beginCaptures:{1:{name:"punctuation.separator.annotation.result.python"}},end:"(?=:)",patterns:[{include:"#expression"}]},"round-braces":{begin:"\\(",beginCaptures:{0:{name:"punctuation.parenthesis.begin.python"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.end.python"}},patterns:[{include:"#expression"}]},semicolon:{patterns:[{match:"\\;$",name:"invalid.deprecated.semicolon.python"}]},"single-one-regexp-character-set":{patterns:[{match:`(?x)
430
- \\[ \\^? \\] (?! .*?\\])
431
- `},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:"(\\]|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"single-one-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"single-one-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#single-one-regexp-character-set"},{include:"#single-one-regexp-comments"},{include:"#regexp-flags"},{include:"#single-one-regexp-named-group"},{include:"#regexp-backreference"},{include:"#single-one-regexp-lookahead"},{include:"#single-one-regexp-lookahead-negative"},{include:"#single-one-regexp-lookbehind"},{include:"#single-one-regexp-lookbehind-negative"},{include:"#single-one-regexp-conditional"},{include:"#single-one-regexp-parentheses-non-capturing"},{include:"#single-one-regexp-parentheses"}]},"single-one-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-named-group":{begin:`(?x)
432
- (\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)
433
- `,beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-three-regexp-character-set":{patterns:[{match:`(?x)
434
- \\[ \\^? \\] (?! .*?\\])
435
- `},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:"(\\]|(?=\\'\\'\\'))",endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"single-three-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"single-three-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#single-three-regexp-character-set"},{include:"#single-three-regexp-comments"},{include:"#regexp-flags"},{include:"#single-three-regexp-named-group"},{include:"#regexp-backreference"},{include:"#single-three-regexp-lookahead"},{include:"#single-three-regexp-lookahead-negative"},{include:"#single-three-regexp-lookbehind"},{include:"#single-three-regexp-lookbehind-negative"},{include:"#single-three-regexp-conditional"},{include:"#single-three-regexp-parentheses-non-capturing"},{include:"#single-three-regexp-parentheses"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-named-group":{begin:`(?x)
436
- (\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)
437
- `,beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"special-names":{match:`(?x)
438
- \\b
439
-
440
-
441
-
442
-
443
-
444
- (
445
- _* [[:upper:]] [_\\d]* [[:upper:]]
446
- )
447
- [[:upper:]\\d]* (_\\w*)?
448
- \\b
449
- `,name:"constant.other.caps.python"},"special-variables":{captures:{1:{name:"variable.language.special.self.python"},2:{name:"variable.language.special.cls.python"}},match:`(?x)
450
- \\b (?<!\\.) (?:
451
- (self) | (cls)
452
- )\\b
453
- `},"special-variables-types":{patterns:[{match:`(?x)
454
- (?<!\\.) \\b(
455
- log)\\b
456
- `,name:"variable.language.special.log.vyper"},{match:`(?x)
457
- (?<!\\.) \\b(
458
- msg)\\b
459
- `,name:"variable.language.special.msg.vyper"},{match:`(?x)
460
- (?<!\\.) \\b(
461
- block)\\b
462
- `,name:"variable.language.special.block.vyper"},{match:`(?x)
463
- (?<!\\.) \\b(
464
- tx)\\b
465
- `,name:"variable.language.special.tx.vyper"},{match:`(?x)
466
- (?<!\\.) \\b(
467
- chain)\\b
468
- `,name:"variable.language.special.chain.vyper"},{match:`(?x)
469
- (?<!\\.) \\b(
470
- extcall)\\b
471
- `,name:"variable.language.special.extcall.vyper"},{match:`(?x)
472
- (?<!\\.) \\b(
473
- staticcall)\\b
474
- `,name:"variable.language.special.staticcall.vyper"},{match:`(?x)
475
- \\b (__interface__) \\b
476
- `,name:"variable.language.special.__interface__.vyper"}]},statement:{patterns:[{include:"#import"},{include:"#class-declaration"},{include:"#function-declaration"},{include:"#generator"},{include:"#statement-keyword"},{include:"#assignment-operator"},{include:"#decorator"},{include:"#docstring-statement"},{include:"#semicolon"}]},"statement-keyword":{patterns:[{match:"\\b((async\\s+)?\\s*def)\\b",name:"storage.type.function.python"},{comment:`if \`as\` is eventually followed by \`:\` or line continuation
477
- it's probably control flow like:
478
- with foo as bar, \\
479
- Foo as Bar:
480
- try:
481
- do_stuff()
482
- except Exception as e:
483
- pass
484
- `,match:"\\b(?<!\\.)as\\b(?=.*[:\\\\])",name:"keyword.control.flow.python"},{comment:"other legal use of `as` is in an import",match:"\\b(?<!\\.)as\\b",name:"keyword.control.import.python"},{match:`(?x)
485
- \\b(?<!\\.)(
486
- async | continue | del | assert | break | finally | for
487
- | from | elif | else | if | except | pass | raise
488
- | return | try | while | with
489
- )\\b
490
- `,name:"keyword.control.flow.python"},{match:`(?x)
491
- \\b(?<!\\.)(
492
- global | nonlocal
493
- )\\b
494
- `,name:"storage.modifier.declaration.python"},{match:"\\b(?<!\\.)(class)\\b",name:"storage.type.class.python"},{captures:{1:{name:"keyword.control.flow.python"}},match:`(?x)
495
- ^\\s*(
496
- case | match
497
- )(?=\\s*([-+\\w\\d(\\[{'":#]|$))\\b
498
- `}]},string:{patterns:[{include:"#string-quoted-multi-line"},{include:"#string-quoted-single-line"},{include:"#string-bin-quoted-multi-line"},{include:"#string-bin-quoted-single-line"},{include:"#string-raw-quoted-multi-line"},{include:"#string-raw-quoted-single-line"},{include:"#string-raw-bin-quoted-multi-line"},{include:"#string-raw-bin-quoted-single-line"},{include:"#fstring-fnorm-quoted-multi-line"},{include:"#fstring-fnorm-quoted-single-line"},{include:"#fstring-normf-quoted-multi-line"},{include:"#fstring-normf-quoted-single-line"},{include:"#fstring-raw-quoted-multi-line"},{include:"#fstring-raw-quoted-single-line"}]},"string-bin-quoted-multi-line":{begin:`(\\b[bB])('''|""")`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.binary.multi.python",patterns:[{include:"#string-entity"}]},"string-bin-quoted-single-line":{begin:`(\\b[bB])((['"]))`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.binary.single.python",patterns:[{include:"#string-entity"}]},"string-brace-formatting":{patterns:[{captures:{1:{name:"constant.character.format.placeholder.other.python"},3:{name:"storage.type.format.python"},4:{name:"storage.type.format.python"}},match:`(?x)
499
- (
500
- {{ | }}
501
- | (?:
502
- {
503
- \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'"]+\\])*
504
- (![rsa])?
505
- ( : \\w? [<>=^]? [-+ ]? \\#?
506
- \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?
507
- })
508
- )
509
- `,name:"meta.format.brace.python"},{captures:{1:{name:"constant.character.format.placeholder.other.python"},3:{name:"storage.type.format.python"},4:{name:"storage.type.format.python"}},match:`(?x)
510
- (
511
- {
512
- \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'"]+\\])*
513
- (![rsa])?
514
- (:)
515
- [^'"{}\\n]* (?:
516
- \\{ [^'"}\\n]*? \\} [^'"{}\\n]*
517
- )*
518
- }
519
- )
520
- `,name:"meta.format.brace.python"}]},"string-consume-escape":{match:`\\\\['"\\n\\\\]`},"string-entity":{patterns:[{include:"#escape-sequence"},{include:"#string-line-continuation"},{include:"#string-formatting"}]},"string-formatting":{captures:{1:{name:"constant.character.format.placeholder.other.python"}},match:`(?x)
521
- (
522
- % (\\([\\w\\s]*\\))?
523
- [-+#0 ]*
524
- (\\d+|\\*)? (\\.(\\d+|\\*))?
525
- ([hlL])?
526
- [diouxXeEfFgGcrsab%]
527
- )
528
- `,name:"meta.format.percent.python"},"string-line-continuation":{match:"\\\\$",name:"constant.language.python"},"string-multi-bad-brace1-formatting-raw":{begin:`(?x)
529
- (?= \\{%
530
- ( .*? (?!'''|""") )
531
- %\\}
532
- )
533
- `,comment:"template using {% ... %}",end:`(?='''|""")`,patterns:[{include:"#string-consume-escape"}]},"string-multi-bad-brace1-formatting-unicode":{begin:`(?x)
534
- (?= \\{%
535
- ( .*? (?!'''|""") )
536
- %\\}
537
- )
538
- `,comment:"template using {% ... %}",end:`(?='''|""")`,patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"}]},"string-multi-bad-brace2-formatting-raw":{begin:`(?x)
539
- (?!\\{\\{)
540
- (?= \\{ (
541
- \\w*? (?!'''|""") [^!:\\.\\[}\\w]
542
- )
543
- .*?(?!'''|""")
544
- \\}
545
- )
546
- `,comment:"odd format or format-like syntax",end:`(?='''|""")`,patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"}]},"string-multi-bad-brace2-formatting-unicode":{begin:`(?x)
547
- (?!\\{\\{)
548
- (?= \\{ (
549
- \\w*? (?!'''|""") [^!:\\.\\[}\\w]
550
- )
551
- .*?(?!'''|""")
552
- \\}
553
- )
554
- `,comment:"odd format or format-like syntax",end:`(?='''|""")`,patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"}]},"string-quoted-multi-line":{begin:`(?:\\b([rR])(?=[uU]))?([uU])?('''|""")`,beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python"}},end:"(\\3)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.multi.python",patterns:[{include:"#string-multi-bad-brace1-formatting-unicode"},{include:"#string-multi-bad-brace2-formatting-unicode"},{include:"#string-unicode-guts"}]},"string-quoted-single-line":{begin:`(?:\\b([rR])(?=[uU]))?([uU])?((['"]))`,beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python"}},end:"(\\3)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.single.python",patterns:[{include:"#string-single-bad-brace1-formatting-unicode"},{include:"#string-single-bad-brace2-formatting-unicode"},{include:"#string-unicode-guts"}]},"string-raw-bin-guts":{patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"}]},"string-raw-bin-quoted-multi-line":{begin:`(\\b(?:R[bB]|[bB]R))('''|""")`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.binary.multi.python",patterns:[{include:"#string-raw-bin-guts"}]},"string-raw-bin-quoted-single-line":{begin:`(\\b(?:R[bB]|[bB]R))((['"]))`,beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.binary.single.python",patterns:[{include:"#string-raw-bin-guts"}]},"string-raw-guts":{patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"},{include:"#string-brace-formatting"}]},"string-raw-quoted-multi-line":{begin:`\\b(([uU]R)|(R))('''|""")`,beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"punctuation.definition.string.begin.python"}},end:"(\\4)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.multi.python",patterns:[{include:"#string-multi-bad-brace1-formatting-raw"},{include:"#string-multi-bad-brace2-formatting-raw"},{include:"#string-raw-guts"}]},"string-raw-quoted-single-line":{begin:`\\b(([uU]R)|(R))((['"]))`,beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"punctuation.definition.string.begin.python"}},end:"(\\4)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.single.python",patterns:[{include:"#string-single-bad-brace1-formatting-raw"},{include:"#string-single-bad-brace2-formatting-raw"},{include:"#string-raw-guts"}]},"string-single-bad-brace1-formatting-raw":{begin:`(?x)
555
- (?= \\{%
556
- ( .*? (?!(['"])|((?<!\\\\)\\n)) )
557
- %\\}
558
- )
559
- `,comment:"template using {% ... %}",end:`(?=(['"])|((?<!\\\\)\\n))`,patterns:[{include:"#string-consume-escape"}]},"string-single-bad-brace1-formatting-unicode":{begin:`(?x)
560
- (?= \\{%
561
- ( .*? (?!(['"])|((?<!\\\\)\\n)) )
562
- %\\}
563
- )
564
- `,comment:"template using {% ... %}",end:`(?=(['"])|((?<!\\\\)\\n))`,patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"}]},"string-single-bad-brace2-formatting-raw":{begin:`(?x)
565
- (?!\\{\\{)
566
- (?= \\{ (
567
- \\w*? (?!(['"])|((?<!\\\\)\\n)) [^!:\\.\\[}\\w]
568
- )
569
- .*?(?!(['"])|((?<!\\\\)\\n))
570
- \\}
571
- )
572
- `,comment:"odd format or format-like syntax",end:`(?=(['"])|((?<!\\\\)\\n))`,patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"}]},"string-single-bad-brace2-formatting-unicode":{begin:`(?x)
573
- (?!\\{\\{)
574
- (?= \\{ (
575
- \\w*? (?!(['"])|((?<!\\\\)\\n)) [^!:\\.\\[}\\w]
576
- )
577
- .*?(?!(['"])|((?<!\\\\)\\n))
578
- \\}
579
- )
580
- `,comment:"odd format or format-like syntax",end:`(?=(['"])|((?<!\\\\)\\n))`,patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"}]},"string-unicode-guts":{patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"},{include:"#string-brace-formatting"}]}},scopeName:"source.vyper",aliases:["vy"]});var n=[e];export{n as default};