@nuxtjs/sitemap 6.0.0-beta.5 → 6.0.0
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.
- package/dist/client/200.html +187 -186
- package/dist/client/404.html +187 -186
- package/dist/client/_nuxt/16u1w-DC.js +1 -0
- package/dist/client/_nuxt/{DUsrs60I.js → 4JG6XROL.js} +1 -6
- package/dist/client/_nuxt/6bkCFmAg.js +1 -0
- package/dist/client/_nuxt/{DZqG9GXz.js → 8R90CSQj.js} +1 -31
- package/dist/client/_nuxt/{CsYA0RN7.js → A4Fa72hX.js} +1 -1
- package/dist/client/_nuxt/{CJQrLysU.js → AoxqhCl0.js} +1 -1
- package/dist/client/_nuxt/B2Zkg-Ae.js +5 -0
- package/dist/client/_nuxt/B3a86pAO.js +1 -0
- package/dist/client/_nuxt/B3yJX9Qu.js +1 -0
- package/dist/client/_nuxt/B4WdFlrw.js +31 -0
- package/dist/client/_nuxt/B5--Xptx.js +1 -0
- package/dist/client/_nuxt/B5La0Eyp.js +1 -0
- package/dist/client/_nuxt/{Bj0fF4lQ.js → B5USdwzW.js} +1 -1
- package/dist/client/_nuxt/{458cWEat.js → B5v32tNS.js} +1 -1
- package/dist/client/_nuxt/{BMHPAh1U.js → B7zm8LFH.js} +1 -1
- package/dist/client/_nuxt/{9ZOzOPqN.js → B8yeR86s.js} +1 -1
- package/dist/client/_nuxt/B9MAV_WH.js +1 -0
- package/dist/client/_nuxt/{C2TBxDwV.js → B9afuS00.js} +1 -1
- package/dist/client/_nuxt/BC7ivatP.js +1 -0
- package/dist/client/_nuxt/BD3t3nJY.js +1 -0
- package/dist/client/_nuxt/BDJ7po1j.js +1 -0
- package/dist/client/_nuxt/BDUkJJFZ.js +1 -0
- package/dist/client/_nuxt/BEIEqD7s.js +1 -0
- package/dist/client/_nuxt/{DKb4lQY2.js → BEPTDMGr.js} +1 -1
- package/dist/client/_nuxt/BESheOyt.js +1 -0
- package/dist/client/_nuxt/BFO9THtE.js +1 -0
- package/dist/client/_nuxt/{BpJyBuO9.js → BICcMyTi.js} +1 -1
- package/dist/client/_nuxt/{DR5YgmI2.js → BIboXAcp.js} +1 -1
- package/dist/client/_nuxt/BMkdSFOr.js +1 -0
- package/dist/client/_nuxt/BNuYtHxo.js +1 -0
- package/dist/client/_nuxt/{BaNxgKSR.js → BOCDpWc1.js} +1 -1
- package/dist/client/_nuxt/BOtZLFcM.js +3 -0
- package/dist/client/_nuxt/BPhJoBd6.js +1 -0
- package/dist/client/_nuxt/BQgbS7Yt.js +1 -0
- package/dist/client/_nuxt/BSSAUge4.js +1 -0
- package/dist/client/_nuxt/BTO_K1fm.js +1 -0
- package/dist/client/_nuxt/BUQ2FcJX.js +1 -0
- package/dist/client/_nuxt/BVsCzzYp.js +1 -0
- package/dist/client/_nuxt/BY8_eel9.js +1 -0
- package/dist/client/_nuxt/B_Sdu6N9.js +1 -0
- package/dist/client/_nuxt/BbPU79SD.js +165 -0
- package/dist/client/_nuxt/BccEf5hb.js +1 -0
- package/dist/client/_nuxt/{DsfXcHUZ.js → Bcn1f5Rp.js} +1 -27
- package/dist/client/_nuxt/{Gme1ZbSQ.js → BeqgMazi.js} +1 -1
- package/dist/client/_nuxt/{BM5XuWfj.js → BfBkfEDj.js} +1 -1
- package/dist/client/_nuxt/BiU8-mv6.js +1 -0
- package/dist/client/_nuxt/BltGI4TE.js +1 -0
- package/dist/client/_nuxt/BqpV9M7Y.js +16 -0
- package/dist/client/_nuxt/BrHEiNXv.js +1 -0
- package/dist/client/_nuxt/Bszlo9K_.js +1 -0
- package/dist/client/_nuxt/BuqjW-Uc.js +1 -0
- package/dist/client/_nuxt/ByGMIDPY.js +1 -0
- package/dist/client/_nuxt/{D5OoM2Ul.js → BzeF2RWN.js} +1 -1
- package/dist/client/_nuxt/{BeX7Iu5M.js → C17JnZbq.js} +1 -90
- package/dist/client/_nuxt/C31OBGbl.js +1 -0
- package/dist/client/_nuxt/C3NvtN4M.js +1 -0
- package/dist/client/_nuxt/{BXfENWL6.js → C46DigdT.js} +1 -1
- package/dist/client/_nuxt/C5QX-GgJ.js +1 -0
- package/dist/client/_nuxt/{DXT9h7v2.js → C6F4YvHi.js} +1 -1
- package/dist/client/_nuxt/C6pBAdyX.js +1 -0
- package/dist/client/_nuxt/C7O_L2NY.js +1 -0
- package/dist/client/_nuxt/C7n-thn-.js +1 -0
- package/dist/client/_nuxt/C8KGJGmD.js +1 -0
- package/dist/client/_nuxt/{DVC_qXWv.js → C9X_x5J1.js} +1 -1
- package/dist/client/_nuxt/{DhFF74a2.js → CAkjjYd_.js} +1 -1
- package/dist/client/_nuxt/CBoehFVA.js +29 -0
- package/dist/client/_nuxt/CD1ynQRS.js +1 -0
- package/dist/client/_nuxt/CDLXdqou.js +6 -0
- package/dist/client/_nuxt/CDNnVXJ3.js +1 -0
- package/dist/client/_nuxt/{CrhH3_Og.js → CDzo4tzE.js} +1 -1
- package/dist/client/_nuxt/{sQpxpyUs.js → CEuqc8ZQ.js} +1 -1
- package/dist/client/_nuxt/CIlkkgNU.js +4 -0
- package/dist/client/_nuxt/{6Kuza3Wr.js → CJ21IjBY.js} +1 -1
- package/dist/client/_nuxt/{DGEpfOTx.js → CJYoS41Z.js} +1 -1
- package/dist/client/_nuxt/CKpfY2P2.js +1 -0
- package/dist/client/_nuxt/{C_8Fx7bH.js → CMiaevpY.js} +1 -1
- package/dist/client/_nuxt/{BN4LRXf6.js → CT9A9Qiu.js} +1 -1
- package/dist/client/_nuxt/{BwXNTs7T.js → CTjLfFPV.js} +1 -1
- package/dist/client/_nuxt/CV8JdvfZ.js +1 -0
- package/dist/client/_nuxt/{B1nm99XP.js → CXYaz1c9.js} +1 -1
- package/dist/client/_nuxt/C_D4IvTY.js +1 -0
- package/dist/client/_nuxt/C_g069vW.js +1 -0
- package/dist/client/_nuxt/CbFpZgCV.js +1 -0
- package/dist/client/_nuxt/CbjS_D4a.js +1 -0
- package/dist/client/_nuxt/{Ksn5IXup.js → CeUooOMz.js} +1 -1
- package/dist/client/_nuxt/{CThH5sBG.js → ChVe37jp.js} +1 -1
- package/dist/client/_nuxt/{B9CT-1u6.js → CidHYXz9.js} +1 -7
- package/dist/client/_nuxt/CkoJTUbt.js +25 -0
- package/dist/client/_nuxt/Clnf9f06.js +1 -0
- package/dist/client/_nuxt/{DSsji4Hu.js → CmHkUvIV.js} +1 -1
- package/dist/client/_nuxt/{BEZjiGez.js → CmonagEV.js} +1 -1
- package/dist/client/_nuxt/{KPqz0Sb3.js → CsW3I34-.js} +1 -1
- package/dist/client/_nuxt/CsuMf1xJ.js +1 -0
- package/dist/client/_nuxt/{DM4HHECw.js → CwZIVF5c.js} +1 -1
- package/dist/client/_nuxt/Cwv93qcC.js +4 -0
- package/dist/client/_nuxt/CzrtbdtR.js +1 -0
- package/dist/client/_nuxt/D1i8Vxii.js +1 -0
- package/dist/client/_nuxt/D4LJwL2b.js +1 -0
- package/dist/client/_nuxt/{8t4jSAMm.js → D6SwP_ef.js} +1 -1
- package/dist/client/_nuxt/D7Nx8OLD.js +1 -0
- package/dist/client/_nuxt/D85lwgPO.js +1 -0
- package/dist/client/_nuxt/{BBJYjQ0k.js → D8YTaFMU.js} +1 -1
- package/dist/client/_nuxt/D8ecWW_g.js +1 -0
- package/dist/client/_nuxt/D9s3Eyz8.js +11 -0
- package/dist/client/_nuxt/DA288kE2.js +3 -0
- package/dist/client/_nuxt/DFQMbhFG.js +1 -0
- package/dist/client/_nuxt/DFRYOy8B.js +1 -0
- package/dist/client/_nuxt/DFaziNDp.js +1 -0
- package/dist/client/_nuxt/{ULUzDaxg.js → DGTPbQyx.js} +1 -54
- package/dist/client/_nuxt/{CaGCoJJM.js → DHCC4-m4.js} +1 -1
- package/dist/client/_nuxt/DIC-ECB_.js +1 -0
- package/dist/client/_nuxt/DKgh9jPU.js +20 -0
- package/dist/client/_nuxt/DKluMpTE.js +1 -0
- package/dist/client/_nuxt/{DOv5BRyJ.js → DKrjeWrU.js} +1 -1
- package/dist/client/_nuxt/{Bh8mriwU.js → DLpTrZod.js} +1 -17
- package/dist/client/_nuxt/DOt8O2FJ.js +1 -0
- package/dist/client/_nuxt/DOwv4Xrr.js +1 -0
- package/dist/client/_nuxt/DQdnirlo.js +1 -0
- package/dist/client/_nuxt/DRgydeCt.js +1 -0
- package/dist/client/_nuxt/DSPtUMMI.js +1 -0
- package/dist/client/_nuxt/{Ev-gWqHG.js → DSmiUmWA.js} +1 -1
- package/dist/client/_nuxt/{zIdFMUa4.js → DT2db06B.js} +1 -1
- package/dist/client/_nuxt/{vMuZBeRS.js → DWE3vCE5.js} +1 -1
- package/dist/client/_nuxt/DYQagCV4.js +1 -0
- package/dist/client/_nuxt/DZwJH60W.js +1 -0
- package/dist/client/_nuxt/D_nC6SfZ.js +1 -0
- package/dist/client/_nuxt/{V16qqttt.js → DaDGU6kf.js} +1 -8
- package/dist/client/_nuxt/{CMDmr8et.js → DanM9F4-.js} +1 -1
- package/dist/client/_nuxt/DfqM7apN.js +1 -0
- package/dist/client/_nuxt/{DouzTJIq.js → DgraCSOE.js} +1 -1
- package/dist/client/_nuxt/{BR6CMsBL.js → DhldU3XI.js} +1 -1
- package/dist/client/_nuxt/Dm9yFT8Y.js +2 -0
- package/dist/client/_nuxt/DmAvib0Y.js +1 -0
- package/dist/client/_nuxt/DoDCNZ2x.js +1 -0
- package/dist/client/_nuxt/{Bgpqy2XC.js → DoQu802G.js} +1 -1
- package/dist/client/_nuxt/DoY4Dbtn.js +1 -0
- package/dist/client/_nuxt/DqvgqZmm.js +16 -0
- package/dist/client/_nuxt/{BgSQePf4.js → Dtv2yyrc.js} +1 -1
- package/dist/client/_nuxt/DvBRk2iT.js +1 -0
- package/dist/client/_nuxt/{DJZWsvj0.js → DvreHBtf.js} +1 -1
- package/dist/client/_nuxt/DxX6t7GH.js +1 -0
- package/dist/client/_nuxt/E1IWMS2c.js +1 -0
- package/dist/client/_nuxt/H2A8RXvM.js +1 -0
- package/dist/client/_nuxt/{CiRxTSAc.js → I-_ljZ1M.js} +1 -1
- package/dist/client/_nuxt/KCgU82S2.js +1 -0
- package/dist/client/_nuxt/KN-DOLVO.js +1 -0
- package/dist/client/_nuxt/{CxBHuulF.js → LrshOcZ2.js} +1 -1
- package/dist/client/_nuxt/MJ0gDQnJ.js +9 -0
- package/dist/client/_nuxt/NboNzovp.js +1 -0
- package/dist/client/_nuxt/P3XzCKkX.js +1 -0
- package/dist/client/_nuxt/PBlC1IT3.js +1 -0
- package/dist/client/_nuxt/PSVKygaU.js +16 -0
- package/dist/client/_nuxt/PYrcYqZ1.js +1 -0
- package/dist/client/_nuxt/SXuYmi6B.js +1 -0
- package/dist/client/_nuxt/Sm_sVxcW.js +14 -0
- package/dist/client/_nuxt/TDVTyJvX.js +16 -0
- package/dist/client/_nuxt/VVtMly4c.js +3 -0
- package/dist/client/_nuxt/{BH1M7C1g.js → VntNkNt1.js} +1 -1
- package/dist/client/_nuxt/Wkyh6-uf.js +1 -0
- package/dist/client/_nuxt/{I4qd5QHW.js → XP2_9bVu.js} +4 -4
- package/dist/client/_nuxt/XrZDCB4K.js +1 -0
- package/dist/client/_nuxt/_fwBhpzY.js +1 -0
- package/dist/client/_nuxt/a0z0KVy-.js +5 -0
- package/dist/client/_nuxt/bEygH-WE.js +3 -0
- package/dist/client/_nuxt/bPMpiWut.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/cba555e1-40e9-4bf5-b289-2d70e1fff2a4.json +1 -0
- package/dist/client/_nuxt/{beD-FUib.js → coyhVBVA.js} +1 -1
- package/dist/client/_nuxt/{wChcbJ1V.js → d2PdAb0u.js} +1 -36
- package/dist/client/_nuxt/error-404.Ce3zs1W_.css +1 -0
- package/dist/client/_nuxt/error-500.DLxoKTOy.css +1 -0
- package/dist/client/_nuxt/g4vhSHS2.js +1 -0
- package/dist/client/_nuxt/gwSZkKbG.js +1 -0
- package/dist/client/_nuxt/iYrPSY0y.js +1 -0
- package/dist/client/_nuxt/{Dwo2i-71.js → kZiYIjIU.js} +1 -1
- package/dist/client/_nuxt/lOwNZ7_V.js +1 -0
- package/dist/client/_nuxt/{BmCW-tYz.js → nc-bU77P.js} +4 -78
- package/dist/client/_nuxt/nfCtBF4F.js +1 -0
- package/dist/client/_nuxt/pit2X7C0.js +1 -0
- package/dist/client/_nuxt/r5D-aIjp.js +1 -0
- package/dist/client/_nuxt/{BZ79J8qB.js → rU0AX43l.js} +1 -1
- package/dist/client/_nuxt/rh45RTDP.js +1 -0
- package/dist/client/_nuxt/tgs8ujlj.js +1 -0
- package/dist/client/_nuxt/v_4dTNAb.js +1 -0
- package/dist/client/_nuxt/vvK2q8Zt.js +1 -0
- package/dist/client/_nuxt/yOCz8xPT.js +1 -0
- package/dist/client/_nuxt/zt9m_cFA.js +8 -0
- package/dist/client/index.html +187 -186
- package/dist/module.json +1 -1
- package/dist/module.mjs +32 -29
- package/dist/runtime/nitro/sitemap/builder/sitemap-index.js +1 -1
- package/dist/runtime/nitro/sitemap/builder/sitemap.d.ts +1 -1
- package/dist/runtime/nitro/sitemap/builder/sitemap.js +5 -5
- package/dist/runtime/nitro/sitemap/nitro.js +14 -2
- package/dist/runtime/nitro/sitemap/urlset/normalise.d.ts +1 -1
- package/dist/runtime/nitro/sitemap/urlset/normalise.js +24 -6
- package/dist/runtime/types.d.ts +4 -0
- package/package.json +6 -6
- package/dist/client/_nuxt/-0RnDExV.js +0 -1
- package/dist/client/_nuxt/-4dSXLqG.js +0 -1
- package/dist/client/_nuxt/-7WWnkdy.js +0 -517
- package/dist/client/_nuxt/1Je9_Reo.js +0 -136
- package/dist/client/_nuxt/37ic6j3l.js +0 -1
- package/dist/client/_nuxt/AgnqFTPX.js +0 -13
- package/dist/client/_nuxt/B4DWL2mZ.js +0 -31
- package/dist/client/_nuxt/B4yE-MfL.js +0 -38
- package/dist/client/_nuxt/B7rNE5kf.js +0 -1
- package/dist/client/_nuxt/BB42E8aY.js +0 -186
- package/dist/client/_nuxt/BBBqETUW.js +0 -1
- package/dist/client/_nuxt/BEjL32p1.js +0 -5754
- package/dist/client/_nuxt/BF6G6X0H.js +0 -1
- package/dist/client/_nuxt/BH_RS3WO.js +0 -1
- package/dist/client/_nuxt/BICIrM8O.js +0 -1
- package/dist/client/_nuxt/BLluXI4E.js +0 -1
- package/dist/client/_nuxt/BOpLLL-w.js +0 -1
- package/dist/client/_nuxt/BSzd7kav.js +0 -1
- package/dist/client/_nuxt/BT9ZzGyQ.js +0 -69
- package/dist/client/_nuxt/BUinYsBq.js +0 -666
- package/dist/client/_nuxt/BUpeXbsf.js +0 -25
- package/dist/client/_nuxt/BVGdgKAv.js +0 -1
- package/dist/client/_nuxt/BWKJ1FCf.js +0 -239
- package/dist/client/_nuxt/BZ035FK2.js +0 -9
- package/dist/client/_nuxt/BZz1Hhek.js +0 -1
- package/dist/client/_nuxt/B_kA2_jD.js +0 -40
- package/dist/client/_nuxt/Bbv8ARUV.js +0 -13
- package/dist/client/_nuxt/Bdt_eLrj.js +0 -756
- package/dist/client/_nuxt/BeJnKnI_.js +0 -544
- package/dist/client/_nuxt/Bg0wAK5a.js +0 -100
- package/dist/client/_nuxt/BiDE021q.js +0 -1
- package/dist/client/_nuxt/BigF1UXR.js +0 -1
- package/dist/client/_nuxt/BlxWTfDV.js +0 -699
- package/dist/client/_nuxt/Bpum8voz.js +0 -129
- package/dist/client/_nuxt/Br9pa-sp.js +0 -1
- package/dist/client/_nuxt/BscxmKrE.js +0 -8
- package/dist/client/_nuxt/Btshr8M_.js +0 -70
- package/dist/client/_nuxt/Bx64mzUw.js +0 -1
- package/dist/client/_nuxt/Bym0hRiG.js +0 -1
- package/dist/client/_nuxt/C15OxdQ5.js +0 -1
- package/dist/client/_nuxt/C1DVX8_8.js +0 -831
- package/dist/client/_nuxt/C3qJFuQy.js +0 -3
- package/dist/client/_nuxt/C3qUB5O8.js +0 -301
- package/dist/client/_nuxt/C6Aznpr-.js +0 -1
- package/dist/client/_nuxt/CApMHEaB.js +0 -1
- package/dist/client/_nuxt/CBWrHyXe.js +0 -580
- package/dist/client/_nuxt/CBks_G0r.js +0 -16
- package/dist/client/_nuxt/CG4fK2Nq.js +0 -21
- package/dist/client/_nuxt/CJGKC1_q.js +0 -40
- package/dist/client/_nuxt/CO5hpdkB.js +0 -1
- package/dist/client/_nuxt/COBxEbHI.js +0 -1
- package/dist/client/_nuxt/CQUCfALx.js +0 -13
- package/dist/client/_nuxt/CRYtL1Hd.js +0 -1
- package/dist/client/_nuxt/CX3ZWouj.js +0 -229
- package/dist/client/_nuxt/C_ZPRiAj.js +0 -26
- package/dist/client/_nuxt/Cb-F_BZP.js +0 -1
- package/dist/client/_nuxt/CbViG2Xw.js +0 -74
- package/dist/client/_nuxt/CbYhyuC0.js +0 -505
- package/dist/client/_nuxt/CfPQhs6g.js +0 -7
- package/dist/client/_nuxt/Cgl53LJQ.js +0 -1
- package/dist/client/_nuxt/Cicx_DS6.js +0 -1
- package/dist/client/_nuxt/ClXEvkw9.js +0 -68
- package/dist/client/_nuxt/Cp2HGa90.js +0 -353
- package/dist/client/_nuxt/CpAANOdC.js +0 -1
- package/dist/client/_nuxt/CrgTADc5.js +0 -1
- package/dist/client/_nuxt/CsyrCbsw.js +0 -699
- package/dist/client/_nuxt/Cthz8VOO.js +0 -771
- package/dist/client/_nuxt/CuTZavWI.js +0 -1
- package/dist/client/_nuxt/CupVZNk8.js +0 -25
- package/dist/client/_nuxt/CxLlwT--.js +0 -76
- package/dist/client/_nuxt/CxrokwfH.js +0 -1
- package/dist/client/_nuxt/D3VHKxjW.js +0 -25
- package/dist/client/_nuxt/D4LaosRr.js +0 -1
- package/dist/client/_nuxt/D6pmzCqS.js +0 -1
- package/dist/client/_nuxt/DAGYewaG.js +0 -559
- package/dist/client/_nuxt/DAfrLhwG.js +0 -1
- package/dist/client/_nuxt/DBeuZS66.js +0 -1
- package/dist/client/_nuxt/DC4hdoM9.js +0 -87
- package/dist/client/_nuxt/DC8MraHL.js +0 -666
- package/dist/client/_nuxt/DGxQkqYo.js +0 -1
- package/dist/client/_nuxt/DHmGyzbM.js +0 -109
- package/dist/client/_nuxt/DIyf2Ztx.js +0 -1
- package/dist/client/_nuxt/DJubGRtk.js +0 -1
- package/dist/client/_nuxt/DK4oFTHQ.js +0 -200
- package/dist/client/_nuxt/DLP9ZvWb.js +0 -3
- package/dist/client/_nuxt/DSrLtGYv.js +0 -15
- package/dist/client/_nuxt/DV9JwLIa.js +0 -1
- package/dist/client/_nuxt/DVfdqzEq.js +0 -1
- package/dist/client/_nuxt/DXFkqnOI.js +0 -816
- package/dist/client/_nuxt/DY7_9Ga-.js +0 -1
- package/dist/client/_nuxt/DYI1rfmx.js +0 -25
- package/dist/client/_nuxt/DZLoTQm4.js +0 -1
- package/dist/client/_nuxt/DbK06e1c.js +0 -21
- package/dist/client/_nuxt/Dble9ECP.js +0 -1
- package/dist/client/_nuxt/Dch3xQiY.js +0 -699
- package/dist/client/_nuxt/DfeQjIbs.js +0 -5
- package/dist/client/_nuxt/Dg0DGYq4.js +0 -14
- package/dist/client/_nuxt/Dit6kIrv.js +0 -11
- package/dist/client/_nuxt/DmDrTTlz.js +0 -1
- package/dist/client/_nuxt/DwuVtWc2.js +0 -518
- package/dist/client/_nuxt/DzwdaLuO.js +0 -223
- package/dist/client/_nuxt/Eh5U-gDp.js +0 -52
- package/dist/client/_nuxt/FRbOFgZn.js +0 -40
- package/dist/client/_nuxt/PWN5J14X.js +0 -1
- package/dist/client/_nuxt/PifQWv0n.js +0 -1
- package/dist/client/_nuxt/QZ3jNtnE.js +0 -515
- package/dist/client/_nuxt/RCJZWN-0.js +0 -81
- package/dist/client/_nuxt/RE3ujT-k.js +0 -1
- package/dist/client/_nuxt/RqY_Nz63.js +0 -1
- package/dist/client/_nuxt/Sfo2eW0G.js +0 -274
- package/dist/client/_nuxt/T9ysyp6P.js +0 -62
- package/dist/client/_nuxt/Urb1RsFe.js +0 -1
- package/dist/client/_nuxt/VQMr7AbF.js +0 -1
- package/dist/client/_nuxt/builds/meta/aef3b819-54d1-4880-9596-b6a2a227db48.json +0 -1
- package/dist/client/_nuxt/cw46T5ID.js +0 -61
- package/dist/client/_nuxt/error-404.BAR-Dz9D.css +0 -1
- package/dist/client/_nuxt/error-500.CcP-UbTX.css +0 -1
- package/dist/client/_nuxt/ewRyznZJ.js +0 -32
- package/dist/client/_nuxt/i0IPvypD.js +0 -1
- package/dist/client/_nuxt/nclm9rTJ.js +0 -266
- package/dist/client/_nuxt/vMsNTMhM.js +0 -5
- package/dist/client/_nuxt/yX2IItqj.js +0 -1
- package/dist/client/_nuxt/zbShYgi7.js +0 -1
|
@@ -1,559 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Haskell",fileTypes:["hs","hs-boot","hsig"],name:"haskell",patterns:[{include:"#liquid_haskell"},{include:"#comment_like"},{include:"#numeric_literals"},{include:"#string_literal"},{include:"#char_literal"},{match:"(?<!@|#)-\\}",name:"invalid"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"punctuation.paren.haskell"}},match:"(\\()\\s*(\\))",name:"constant.language.unit.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"constant.language.unit.unboxed.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"punctuation.paren.haskell"}},match:"(\\()\\s*,[\\s,]*(\\))",name:"support.constant.tuple.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*,[\\s,]*(#)(\\))",name:"support.constant.tuple.unboxed.haskell"},{captures:{1:{name:"punctuation.bracket.haskell"},2:{name:"punctuation.bracket.haskell"}},match:"(\\[)\\s*(\\])",name:"constant.language.empty-list.haskell"},{begin:"(\\b(?<!')(module)|^(signature))(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.module.haskell"},3:{name:"keyword.other.signature.haskell"}},end:"(?=\\b(?<!')where\\b(?!'))",name:"meta.declaration.module.haskell",patterns:[{include:"#comment_like"},{include:"#module_name"},{include:"#module_exports"},{match:"[a-z]+",name:"invalid"}]},{include:"#ffi"},{begin:"^(\\s*)(class)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.class.haskell"}},end:`(?x)
|
|
2
|
-
|
|
3
|
-
(?=(?<!')\\bwhere\\b(?!'))
|
|
4
|
-
|
|
5
|
-
|(?=\\}|;)
|
|
6
|
-
|^(?!
|
|
7
|
-
\\1\\s+\\S
|
|
8
|
-
| \\s*
|
|
9
|
-
(?: $
|
|
10
|
-
|\\{-[^@]
|
|
11
|
-
|--+
|
|
12
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
)`,name:"meta.declaration.class.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:`(?x)
|
|
16
|
-
^(\\s*)(data|newtype)(?:\\s+(instance))?\\s+
|
|
17
|
-
|
|
18
|
-
((?:(?!
|
|
19
|
-
|
|
20
|
-
(?:
|
|
21
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
22
|
-
(?:=|--+)
|
|
23
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
| (?:\\b(?<!')(?:where|deriving)\\b(?!'))
|
|
27
|
-
|
|
28
|
-
| {-
|
|
29
|
-
|
|
30
|
-
).)*)
|
|
31
|
-
(?=\\b(?<!'')where\\b(?!''))`,beginCaptures:{2:{name:"keyword.other.$2.haskell"},3:{name:"keyword.other.instance.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
|
|
32
|
-
|
|
33
|
-
(?=(?<!')\\bderiving\\b(?!'))
|
|
34
|
-
|
|
35
|
-
|(?=\\}|;)
|
|
36
|
-
|^(?!
|
|
37
|
-
\\1\\s+\\S
|
|
38
|
-
| \\s*
|
|
39
|
-
(?: $
|
|
40
|
-
|\\{-[^@]
|
|
41
|
-
|--+
|
|
42
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
)
|
|
46
|
-
`,name:"meta.declaration.$2.generalized.haskell",patterns:[{include:"#comment_like"},{begin:`(?x)
|
|
47
|
-
(?<!')\\b(where)
|
|
48
|
-
\\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.where.haskell"},2:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"#comment_like"},{include:"#gadt_constructor"},{match:";",name:"punctuation.semicolon.haskell"}]},{match:"\\b(?<!')(where)\\b(?!')",name:"keyword.other.where.haskell"},{include:"#deriving"},{include:"#gadt_constructor"}]},{include:"#role_annotation"},{begin:"^(\\s*)(pattern)\\s+(.*?)\\s+(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])",beginCaptures:{2:{name:"keyword.other.pattern.haskell"},3:{patterns:[{include:"#comma"},{include:"#data_constructor"}]},4:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
|
|
49
|
-
(?=\\}|;)
|
|
50
|
-
|^(?!
|
|
51
|
-
\\1\\s+\\S
|
|
52
|
-
| \\s*
|
|
53
|
-
(?: $
|
|
54
|
-
|\\{-[^@]
|
|
55
|
-
|--+
|
|
56
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
)
|
|
60
|
-
`,name:"meta.declaration.pattern.type.haskell",patterns:[{include:"#type_signature"}]},{begin:"^\\s*(pattern)\\b(?!')",captures:{1:{name:"keyword.other.pattern.haskell"}},end:`(?x)
|
|
61
|
-
(?=\\}|;)
|
|
62
|
-
|^(?!
|
|
63
|
-
\\1\\s+\\S
|
|
64
|
-
| \\s*
|
|
65
|
-
(?: $
|
|
66
|
-
|\\{-[^@]
|
|
67
|
-
|--+
|
|
68
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
)
|
|
72
|
-
`,name:"meta.declaration.pattern.haskell",patterns:[{include:"$self"}]},{begin:`(?x)
|
|
73
|
-
|
|
74
|
-
^(\\s*)(data|newtype)(?:\\s+(family|instance))?\\s+
|
|
75
|
-
|
|
76
|
-
(((?!
|
|
77
|
-
|
|
78
|
-
(?:
|
|
79
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
80
|
-
(?:=|--+)
|
|
81
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
82
|
-
)
|
|
83
|
-
|
|
84
|
-
| (?:\\b(?<!')(?:where|deriving)\\b(?!'))
|
|
85
|
-
|
|
86
|
-
| {-
|
|
87
|
-
|
|
88
|
-
).)*)`,beginCaptures:{2:{name:"keyword.other.$2.haskell"},3:{name:"keyword.other.$3.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
|
|
89
|
-
|
|
90
|
-
(?=\\}|;)
|
|
91
|
-
|^(?!
|
|
92
|
-
\\1\\s+\\S
|
|
93
|
-
| \\s*
|
|
94
|
-
(?: $
|
|
95
|
-
|\\{-[^@]
|
|
96
|
-
|--+
|
|
97
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
)`,name:"meta.declaration.$2.algebraic.haskell",patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#forall"},{include:"#adt_constructor"},{include:"#context"},{include:"#record_decl"},{include:"#type_signature"}]},{begin:`(?x)
|
|
101
|
-
|
|
102
|
-
^(\\s*)(type)\\s+(family)\\b(?!')
|
|
103
|
-
|
|
104
|
-
(((?!
|
|
105
|
-
|
|
106
|
-
(?:
|
|
107
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
108
|
-
(?:=|--+)
|
|
109
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
110
|
-
)
|
|
111
|
-
|
|
112
|
-
| \\b(?<!')where\\b(?!')
|
|
113
|
-
|
|
114
|
-
| {-
|
|
115
|
-
|
|
116
|
-
).)*)`,beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.family.haskell"},4:{patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]}},end:`(?x)
|
|
117
|
-
(?=\\}|;)
|
|
118
|
-
|^(?!
|
|
119
|
-
\\1\\s+\\S
|
|
120
|
-
| \\s*
|
|
121
|
-
(?: $
|
|
122
|
-
|\\{-[^@]
|
|
123
|
-
|--+
|
|
124
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
)
|
|
128
|
-
`,name:"meta.declaration.type.family.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:`(?x)
|
|
129
|
-
|
|
130
|
-
^(\\s*)(type)(?:\\s+(instance))?\\s+
|
|
131
|
-
|
|
132
|
-
(((?!
|
|
133
|
-
|
|
134
|
-
(?:
|
|
135
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
136
|
-
(?:=|--+|::|∷)
|
|
137
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
138
|
-
)
|
|
139
|
-
|
|
140
|
-
| {-
|
|
141
|
-
|
|
142
|
-
).)*)`,beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.instance.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
|
|
143
|
-
(?=\\}|;)
|
|
144
|
-
|^(?!
|
|
145
|
-
\\1\\s+\\S
|
|
146
|
-
| \\s*
|
|
147
|
-
(?: $
|
|
148
|
-
|\\{-[^@]
|
|
149
|
-
|--+
|
|
150
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
)
|
|
154
|
-
`,name:"meta.declaration.type.haskell",patterns:[{include:"#type_signature"}]},{begin:"^(\\s*)(instance)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.instance.haskell"}},end:`(?x)
|
|
155
|
-
|
|
156
|
-
(?=\\b(?<!')(where)\\b(?!'))
|
|
157
|
-
|
|
158
|
-
|(?=\\}|;)
|
|
159
|
-
|^(?!
|
|
160
|
-
\\1\\s+\\S
|
|
161
|
-
| \\s*
|
|
162
|
-
(?: $
|
|
163
|
-
|\\{-[^@]
|
|
164
|
-
|--+
|
|
165
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
)
|
|
169
|
-
`,name:"meta.declaration.instance.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:"^(\\s*)(import)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.import.haskell"}},end:`(?x)
|
|
170
|
-
|
|
171
|
-
(?=\\b(?<!')(where)\\b(?!'))
|
|
172
|
-
|
|
173
|
-
|(?=\\}|;)
|
|
174
|
-
|^(?!
|
|
175
|
-
\\1\\s+\\S
|
|
176
|
-
| \\s*
|
|
177
|
-
(?: $
|
|
178
|
-
|\\{-[^@]
|
|
179
|
-
|--+
|
|
180
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
)
|
|
184
|
-
`,name:"meta.import.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{captures:{1:{name:"keyword.other.$1.haskell"}},match:"(qualified|as|hiding)"},{include:"#module_name"},{include:"#module_exports"}]},{include:"#deriving"},{include:"#layout_herald"},{include:"#keyword"},{captures:{1:{name:"keyword.other.$1.haskell"},2:{patterns:[{include:"#comment_like"},{include:"#integer_literals"},{include:"#infix_op"}]}},match:"^\\s*(infix[lr]?)\\s+(.*)",name:"meta.fixity-declaration.haskell"},{include:"#overloaded_label"},{include:"#type_application"},{include:"#reserved_symbol"},{include:"#fun_decl"},{include:"#qualifier"},{include:"#data_constructor"},{include:"#start_type_signature"},{include:"#prefix_op"},{include:"#infix_op"},{begin:"(\\()(#)\\s",beginCaptures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"}},end:"(#)(\\))",endCaptures:{1:{name:"keyword.operator.hash.haskell"},2:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{begin:"(\\()",beginCaptures:{1:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{include:"#quasi_quote"},{begin:"(\\[)",beginCaptures:{1:{name:"punctuation.bracket.haskell"}},end:"(\\])",endCaptures:{1:{name:"punctuation.bracket.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{include:"#record"}],repository:{adt_constructor:{patterns:[{include:"#comment_like"},{begin:`(?x)
|
|
185
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
186
|
-
(?:(=)|(\\|))
|
|
187
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])`,beginCaptures:{1:{name:"keyword.operator.eq.haskell"},2:{name:"keyword.operator.pipe.haskell"}},end:`(?x)
|
|
188
|
-
(?:\\G|^)\\s*
|
|
189
|
-
(?:
|
|
190
|
-
|
|
191
|
-
(?:
|
|
192
|
-
|
|
193
|
-
(?<!')\\b((?:[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'\\.])+)
|
|
194
|
-
|
|
195
|
-
| ('?
|
|
196
|
-
(?<paren>
|
|
197
|
-
\\(
|
|
198
|
-
(?:
|
|
199
|
-
[^\\(\\)]*
|
|
200
|
-
| \\g<paren>
|
|
201
|
-
)*
|
|
202
|
-
\\)
|
|
203
|
-
)
|
|
204
|
-
)
|
|
205
|
-
|
|
206
|
-
| ('?
|
|
207
|
-
(?<brac>
|
|
208
|
-
\\(
|
|
209
|
-
(?:
|
|
210
|
-
[^\\[\\]]*
|
|
211
|
-
| \\g<brac>
|
|
212
|
-
)*
|
|
213
|
-
\\]
|
|
214
|
-
)
|
|
215
|
-
)
|
|
216
|
-
)
|
|
217
|
-
|
|
218
|
-
\\s*
|
|
219
|
-
|
|
220
|
-
(?:(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)
|
|
221
|
-
|
|
222
|
-
| (\`)([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)(\`)
|
|
223
|
-
)
|
|
224
|
-
|
|
225
|
-
)
|
|
226
|
-
|
|
|
227
|
-
(?:(?<!')\\b([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*))
|
|
228
|
-
|
|
|
229
|
-
(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))`,endCaptures:{1:{patterns:[{include:"#type_signature"}]},2:{patterns:[{include:"#type_signature"}]},4:{patterns:[{include:"#type_signature"}]},6:{name:"constant.other.operator.haskell"},7:{name:"punctuation.backtick.haskell"},8:{name:"constant.other.haskell"},9:{name:"punctuation.backtick.haskell"},10:{name:"constant.other.haskell"},11:{name:"punctuation.paren.haskell"},12:{name:"constant.other.operator.haskell"},13:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#record_decl"},{include:"#forall"},{include:"#context"}]}]},block_comment:{applyEndPatternLast:1,begin:"\\{-",captures:{0:{name:"punctuation.definition.comment.haskell"}},end:"-\\}",name:"comment.block.haskell",patterns:[{include:"#block_comment"}]},char_literal:{captures:{1:{name:"punctuation.definition.string.begin.haskell"},2:{name:"constant.character.escape.haskell"},3:{name:"constant.character.escape.octal.haskell"},4:{name:"constant.character.escape.hexadecimal.haskell"},5:{name:"constant.character.escape.control.haskell"},6:{name:"punctuation.definition.string.end.haskell"}},match:`(?x)
|
|
230
|
-
(?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])
|
|
231
|
-
(')
|
|
232
|
-
(?:
|
|
233
|
-
[\\ -\\[\\]-~]
|
|
234
|
-
| (\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE
|
|
235
|
-
|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS
|
|
236
|
-
|US|SP|DEL|[abfnrtv\\\\\\"'\\\\&]))
|
|
237
|
-
| (\\\\o[0-7]+)
|
|
238
|
-
| (\\\\x[0-9A-Fa-f]+)
|
|
239
|
-
| (\\\\\\^[A-Z@\\[\\]\\\\\\^_])
|
|
240
|
-
)
|
|
241
|
-
(')
|
|
242
|
-
`,name:"string.quoted.single.haskell"},comma:{match:",",name:"punctuation.separator.comma.haskell"},comment_like:{patterns:[{include:"#cpp"},{include:"#pragma"},{include:"#comments"}]},comments:{patterns:[{begin:"^(\\s*)(--\\s[\\|\\$])",beginCaptures:{2:{name:"punctuation.whitespace.comment.leading.haskell"}},end:"(?=^(?!\\1--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])))",name:"comment.block.documentation.haskell"},{begin:"(^[ \\t]+)?(--\\s[\\^\\*])",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.haskell"}},end:"\\n",name:"comment.line.documentation.haskell"},{applyEndPatternLast:1,begin:"\\{-\\s?[\\|\\$\\*\\^]",captures:{0:{name:"punctuation.definition.comment.haskell"}},end:"-\\}",name:"comment.block.documentation.haskell",patterns:[{include:"#block_comment"}]},{begin:"(^[ \\t]+)?(?=--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]))",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.haskell"}},comment:"Operators may begin with '--' as long as they are not entirely composed of '-' characters. This means comments can't be immediately followed by an allowable operator character.",end:"(?!\\G)",patterns:[{begin:"--",beginCaptures:{0:{name:"punctuation.definition.comment.haskell"}},end:"\\n",name:"comment.line.double-dash.haskell"}]},{include:"#block_comment"}]},context:{captures:{1:{patterns:[{include:"#comment_like"},{include:"#type_signature"}]},2:{name:"keyword.operator.big-arrow.haskell"}},match:`(?x)
|
|
243
|
-
(.*)
|
|
244
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
245
|
-
(=>|⇒)
|
|
246
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
247
|
-
`},cpp:{captures:{1:{name:"punctuation.definition.preprocessor.c"}},comment:`In addition to Haskell's "native" syntax, GHC permits the C preprocessor to be run on a source file.`,match:"^(#).*$",name:"meta.preprocessor.c"},data_constructor:{match:"\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?![\\.'\\w])",name:"constant.other.haskell"},deriving:{patterns:[{begin:"^(\\s*)(deriving)\\s+(?:(via|stock|newtype|anyclass)\\s+)?",beginCaptures:{2:{name:"keyword.other.deriving.haskell"},3:{name:"keyword.other.deriving.strategy.$3.haskell"}},end:`(?x)
|
|
248
|
-
|
|
249
|
-
(?=\\}|;)
|
|
250
|
-
|^(?!
|
|
251
|
-
\\1\\s+\\S
|
|
252
|
-
| \\s*
|
|
253
|
-
(?: $
|
|
254
|
-
|\\{-[^@]
|
|
255
|
-
|--+
|
|
256
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
)`,name:"meta.deriving.haskell",patterns:[{include:"#comment_like"},{match:"(?<!')\\b(instance)\\b(?!')",name:"keyword.other.instance.haskell"},{captures:{1:{name:"keyword.other.deriving.strategy.$1.haskell"}},match:"(?<!')\\b(via|stock|newtype|anyclass)\\b(?!')"},{include:"#type_signature"}]},{begin:"(deriving)(?:\\s+(stock|newtype|anyclass))?\\s*(\\()",beginCaptures:{1:{name:"keyword.other.deriving.haskell"},2:{name:"keyword.other.deriving.strategy.$2.haskell"},3:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},name:"meta.deriving.haskell",patterns:[{include:"#type_signature"}]},{captures:{1:{name:"keyword.other.deriving.haskell"},2:{name:"keyword.other.deriving.strategy.$2.haskell"},3:{patterns:[{include:"#type_signature"}]},5:{name:"keyword.other.deriving.strategy.via.haskell"},6:{patterns:[{include:"#type_signature"}]}},match:`(?x)
|
|
260
|
-
(deriving)(?:\\s+(stock|newtype|anyclass))?\\s+
|
|
261
|
-
([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
262
|
-
(\\s+(via)\\s+(.*)$)?
|
|
263
|
-
`,name:"meta.deriving.haskell"},{match:"(?<!')\\b(via)\\b(?!')",name:"keyword.other.deriving.strategy.via.haskell"}]},double_colon:{captures:{1:{name:"keyword.operator.double-colon.haskell"}},match:"\\s*(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])\\s*"},export_constructs:{patterns:[{include:"#comment_like"},{begin:"\\b(?<!')(pattern)\\b(?!')",beginCaptures:{1:{name:"keyword.other.pattern.haskell"}},end:`(?x)
|
|
264
|
-
|
|
265
|
-
([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
266
|
-
|
|
267
|
-
| (\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))`,endCaptures:{1:{name:"constant.other.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"constant.other.operator.haskell"},4:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"}]},{begin:"\\b(?<!')(type)\\b(?!')",beginCaptures:{1:{name:"keyword.other.type.haskell"}},end:`(?x)
|
|
268
|
-
|
|
269
|
-
([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
270
|
-
|
|
271
|
-
| (\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))`,endCaptures:{1:{name:"storage.type.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"storage.type.operator.haskell"},4:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"}]},{match:"(?<!')\\b[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"entity.name.function.haskell"},{match:"(?<!')\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"storage.type.haskell"},{include:"#record_wildcard"},{include:"#reserved_symbol"},{include:"#prefix_op"}]},ffi:{begin:"^(\\s*)(foreign)\\s+(import|export)\\s+",beginCaptures:{2:{name:"keyword.other.foreign.haskell"},3:{name:"keyword.other.$3.haskell"}},end:`(?x)
|
|
272
|
-
(?=\\}|;)
|
|
273
|
-
|^(?!
|
|
274
|
-
\\1\\s+\\S
|
|
275
|
-
| \\s*
|
|
276
|
-
(?: $
|
|
277
|
-
|\\{-[^@]
|
|
278
|
-
|--+
|
|
279
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
)
|
|
283
|
-
`,name:"meta.$3.foreign.haskell",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.calling-convention.$1.haskell"}},match:"\\b(?<!')(ccall|cplusplus|dotnet|jvm|stdcall|prim|capi)\\s+"},{begin:`(?=")|(?=\\b(?<!')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))`,end:"(?=(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]))",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.safety.$1.haskell"},2:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]},3:{name:"entity.name.function.haskell"},4:{name:"entity.name.function.infix.haskell"}},match:`(?x)
|
|
284
|
-
\\b(?<!')(safe|unsafe|interruptible)\\b(?!')
|
|
285
|
-
\\s*
|
|
286
|
-
("(?:\\\\"|[^"])*")?
|
|
287
|
-
\\s*
|
|
288
|
-
(?:
|
|
289
|
-
(?:\\b(?<!'')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))
|
|
290
|
-
|(?:\\(\\s*(?!--+\\))([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*\\))
|
|
291
|
-
)
|
|
292
|
-
`},{captures:{1:{name:"keyword.other.safety.$1.haskell"},2:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]}},match:`(?x)
|
|
293
|
-
\\b(?<!')(safe|unsafe|interruptible)\\b(?!')
|
|
294
|
-
\\s*
|
|
295
|
-
("(?:\\\\"|[^"])*")?
|
|
296
|
-
\\s*$
|
|
297
|
-
`},{captures:{0:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]}},match:`(?x)
|
|
298
|
-
"(?:\\\\"|[^"])*"`},{captures:{1:{name:"entity.name.function.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"entity.name.function.infix.haskell"},4:{name:"punctuation.paren.haskell"}},match:`(?x)
|
|
299
|
-
(?:\\b(?<!'')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))
|
|
300
|
-
|(?:(\\()\\s*(?!--+\\))([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\)))
|
|
301
|
-
`}]},{include:"#double_colon"},{include:"#type_signature"}]},float_literals:{captures:{1:{name:"constant.numeric.floating.decimal.haskell"},2:{name:"constant.numeric.floating.hexadecimal.haskell"}},comment:"Floats are decimal or hexadecimal",match:`(?x)
|
|
302
|
-
\\b(?<!')
|
|
303
|
-
(?:
|
|
304
|
-
([0-9][_0-9]*\\.[0-9][_0-9]*(?:[eE][-+]?[0-9][_0-9]*)?
|
|
305
|
-
|[0-9][_0-9]*[eE][-+]?[0-9][_0-9]*
|
|
306
|
-
)
|
|
307
|
-
|
|
|
308
|
-
(0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*\\.[0-9a-fA-F][_0-9a-fA-F]*(?:[pP][-+]?[0-9][_0-9]*)?
|
|
309
|
-
|0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*[pP][-+]?[0-9][_0-9]*
|
|
310
|
-
)
|
|
311
|
-
)\\b(?!')`},forall:{begin:"\\b(?<!')(forall|∀)\\b(?!')",beginCaptures:{1:{name:"keyword.other.forall.haskell"}},end:"(\\.)|(->|→)",endCaptures:{1:{name:"keyword.operator.period.haskell"},2:{name:"keyword.operator.arrow.haskell"}},patterns:[{include:"#comment_like"},{include:"#type_variable"},{include:"#type_signature"}]},fun_decl:{begin:`(?x)^(\\s*)
|
|
312
|
-
(?<fn>
|
|
313
|
-
(?:
|
|
314
|
-
[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\#*
|
|
315
|
-
| \\(\\s*
|
|
316
|
-
(?!--+\\))
|
|
317
|
-
[\\p{S}\\p{P}&&[^(),:;\\[\\]\`{}_"']]
|
|
318
|
-
[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*
|
|
319
|
-
\\s*\\)
|
|
320
|
-
)
|
|
321
|
-
(?:\\s*,\\s*\\g<fn>)?
|
|
322
|
-
)
|
|
323
|
-
\\s*(?<![\\p{S}\\p{P}&&[^\\),;\\]\`}_"']])(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[\`{_"']])
|
|
324
|
-
`,beginCaptures:{2:{name:"entity.name.function.haskell",patterns:[{include:"#reserved_symbol"},{include:"#prefix_op"}]},3:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
(?=
|
|
328
|
-
|
|
329
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
330
|
-
|
|
331
|
-
((<-|←)|(=)|(-<|↢)|(-<<|⤛))
|
|
332
|
-
|
|
333
|
-
([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
|
|
334
|
-
)
|
|
335
|
-
|
|
336
|
-
|(?=\\}|;)
|
|
337
|
-
|^(?!
|
|
338
|
-
\\1\\s+\\S
|
|
339
|
-
| \\s*
|
|
340
|
-
(?: $
|
|
341
|
-
|\\{-[^@]
|
|
342
|
-
|--+
|
|
343
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
)
|
|
347
|
-
`,name:"meta.function.type-declaration.haskell",patterns:[{include:"#type_signature"}]},gadt_constructor:{patterns:[{begin:`(?x)
|
|
348
|
-
^(\\s*)
|
|
349
|
-
(?:
|
|
350
|
-
(\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
351
|
-
|(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))
|
|
352
|
-
)`,beginCaptures:{2:{name:"constant.other.haskell"},3:{name:"punctuation.paren.haskell"},4:{name:"constant.other.operator.haskell"},5:{name:"punctuation.paren.haskell"}},end:`(?x)
|
|
353
|
-
|
|
354
|
-
(?=\\b(?<!'')deriving\\b(?!'))
|
|
355
|
-
|
|
356
|
-
|(?=\\}|;)
|
|
357
|
-
|^(?!
|
|
358
|
-
\\1\\s+\\S
|
|
359
|
-
| \\s*
|
|
360
|
-
(?: $
|
|
361
|
-
|\\{-[^@]
|
|
362
|
-
|--+
|
|
363
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
)
|
|
367
|
-
`,patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#double_colon"},{include:"#record_decl"},{include:"#type_signature"}]},{begin:`(?x)
|
|
368
|
-
(\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}]*)
|
|
369
|
-
|(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))`,beginCaptures:{1:{name:"constant.other.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"constant.other.operator.haskell"},4:{name:"punctuation.paren.haskell"}},end:"$",patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#double_colon"},{include:"#record_decl"},{include:"#type_signature"}]}]},infix_op:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"keyword.operator.infix.haskell"}},comment:`In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*.
|
|
370
|
-
`,match:`(?x)
|
|
371
|
-
((?:(?<!'')('')?[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*\\.)*)
|
|
372
|
-
(\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))`},{captures:{1:{name:"punctuation.backtick.haskell"},2:{name:"entity.name.namespace.haskell"},3:{patterns:[{include:"#data_constructor"}]},4:{name:"punctuation.backtick.haskell"}},comment:`In case this regex seems unusual for an infix operator, note that Haskell
|
|
373
|
-
allows any ordinary function application (elem 4 [1..10]) to be rewritten
|
|
374
|
-
as an infix expression (4 \`elem\` [1..10]).
|
|
375
|
-
`,match:"(`)((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*\\.)*)([\\p{Ll}\\p{Lu}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*)(`)",name:"keyword.operator.function.infix.haskell"}]},inline_phase:{begin:"\\[",beginCaptures:{0:{name:"punctuation.bracket.haskell"}},end:"\\]",endCaptures:{0:{name:"punctuation.bracket.haskell"}},name:"meta.inlining-phase.haskell",patterns:[{match:"~",name:"punctuation.tilde.haskell"},{include:"#integer_literals"},{match:"\\w*",name:"invalid"}]},integer_literals:{captures:{1:{name:"constant.numeric.integral.decimal.haskell"},2:{name:"constant.numeric.integral.hexadecimal.haskell"},3:{name:"constant.numeric.integral.octal.haskell"},4:{name:"constant.numeric.integral.binary.haskell"}},match:`(?x)
|
|
376
|
-
\\b(?<!')
|
|
377
|
-
(?:
|
|
378
|
-
([0-9][_0-9]*)
|
|
379
|
-
| (0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*)
|
|
380
|
-
| (0[oO]_*[0-7][_0-7]*)
|
|
381
|
-
| (0[bB]_*[01][_01]*)
|
|
382
|
-
)
|
|
383
|
-
\\b(?!')`},keyword:{captures:{1:{name:"keyword.other.$1.haskell"},2:{name:"keyword.control.$2.haskell"}},match:"\\b(?<!')(?:(where|let|in|default)|(m?do|if|then|else|case|of|proc|rec))\\b(?!')"},layout_herald:{begin:`(?x)
|
|
384
|
-
(?<!')\\b(?:(where|let|m?do)|(of))
|
|
385
|
-
\\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.$1.haskell"},2:{name:"keyword.control.of.haskell"},3:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"$self"},{match:";",name:"punctuation.semicolon.haskell"}]},liquid_haskell:{begin:"\\{-@",end:"@-\\}",name:"block.liquidhaskell.haskell",patterns:[{include:"$self"}]},module_exports:{applyEndPatternLast:1,begin:"\\(",beginCaptures:{0:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},name:"meta.declaration.exports.haskell",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.module.haskell"}},match:"\\b(?<!')(module)\\b(?!')"},{include:"#comma"},{include:"#export_constructs"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"},{include:"#record_wildcard"},{include:"#export_constructs"},{include:"#comma"}]}]},module_name:{match:"(?<conid>[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(\\.\\g<conid>)?)",name:"entity.name.namespace.haskell"},numeric_literals:{patterns:[{include:"#float_literals"},{include:"#integer_literals"}]},overloaded_label:{patterns:[{captures:{1:{name:"keyword.operator.prefix.hash.haskell"},2:{patterns:[{include:"#string_literal"}]}},match:`(?x)
|
|
386
|
-
(?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^(,;\\[\`{]])
|
|
387
|
-
(\\#)
|
|
388
|
-
(?:
|
|
389
|
-
|
|
390
|
-
("(?:\\\\"|[^"])*")
|
|
391
|
-
|
|
392
|
-
|[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'\\.]+
|
|
393
|
-
)`,name:"entity.name.label.haskell"}]},pragma:{begin:"\\{-#",end:"#-\\}",name:"meta.preprocessor.haskell",patterns:[{begin:"(?xi) \\b(?<!')(LANGUAGE)\\b(?!')",beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"}},end:"(?=#-\\})",patterns:[{match:`(?x)
|
|
394
|
-
(?:No)?
|
|
395
|
-
(?:AutoDeriveTypeable|DatatypeContexts|DoRec|IncoherentInstances|MonadFailDesugaring|MonoPatBinds|NullaryTypeClasses|OverlappingInstances|PatternSignatures|RecordPuns|RelaxedPolyRec)`,name:"invalid.deprecated"},{captures:{1:{name:"keyword.other.preprocessor.extension.haskell"}},match:`(?x)
|
|
396
|
-
(
|
|
397
|
-
(?:No)?
|
|
398
|
-
(?:AllowAmbiguousTypes|AlternativeLayoutRule|AlternativeLayoutRuleTransitional|Arrows|BangPatterns|BinaryLiterals|CApiFFI|CPP|CUSKs|ConstrainedClassMethods|ConstraintKinds|DataKinds|DefaultSignatures|DeriveAnyClass|DeriveDataTypeable|DeriveFoldable|DeriveFunctor|DeriveGeneric|DeriveLift|DeriveTraversable|DerivingStrategies|DerivingVia|DisambiguateRecordFields|DoAndIfThenElse|BlockArguments|DuplicateRecordFields|EmptyCase|EmptyDataDecls|EmptyDataDeriving|ExistentialQuantification|ExplicitForAll|ExplicitNamespaces|ExtendedDefaultRules|FlexibleContexts|FlexibleInstances|ForeignFunctionInterface|FunctionalDependencies|GADTSyntax|GADTs|GHCForeignImportPrim|Generali(?:s|z)edNewtypeDeriving|ImplicitParams|ImplicitPrelude|ImportQualifiedPost|ImpredicativeTypes|TypeFamilyDependencies|InstanceSigs|ApplicativeDo|InterruptibleFFI|JavaScriptFFI|KindSignatures|LambdaCase|LiberalTypeSynonyms|MagicHash|MonadComprehensions|MonoLocalBinds|MonomorphismRestriction|MultiParamTypeClasses|MultiWayIf|NumericUnderscores|NPlusKPatterns|NamedFieldPuns|NamedWildCards|NegativeLiterals|HexFloatLiterals|NondecreasingIndentation|NumDecimals|OverloadedLabels|OverloadedLists|OverloadedStrings|PackageImports|ParallelArrays|ParallelListComp|PartialTypeSignatures|PatternGuards|PatternSynonyms|PolyKinds|PolymorphicComponents|QuantifiedConstraints|PostfixOperators|QuasiQuotes|Rank2Types|RankNTypes|RebindableSyntax|RecordWildCards|RecursiveDo|RelaxedLayout|RoleAnnotations|ScopedTypeVariables|StandaloneDeriving|StarIsType|StaticPointers|Strict|StrictData|TemplateHaskell|TemplateHaskellQuotes|StandaloneKindSignatures|TraditionalRecordSyntax|TransformListComp|TupleSections|TypeApplications|TypeInType|TypeFamilies|TypeOperators|TypeSynonymInstances|UnboxedTuples|UnboxedSums|UndecidableInstances|UndecidableSuperClasses|UnicodeSyntax|UnliftedFFITypes|UnliftedNewtypes|ViewPatterns)
|
|
399
|
-
)`},{include:"#comma"}]},{begin:`(?xi)
|
|
400
|
-
\\b(?<!')(SPECIALI(?:S|Z)E)
|
|
401
|
-
(?:
|
|
402
|
-
\\s*( \\[ [^\\[\\]]* \\])?\\s*
|
|
403
|
-
|\\s+
|
|
404
|
-
)
|
|
405
|
-
(instance)\\b(?!')`,beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"},2:{patterns:[{include:"#inline_phase"}]},3:{name:"keyword.other.instance.haskell"}},end:"(?=#-\\})",patterns:[{include:"#type_signature"}]},{begin:`(?xi)
|
|
406
|
-
\\b(?<!')(SPECIALI(?:S|Z)E)\\b(?!')
|
|
407
|
-
(?:\\s+(INLINE)\\b(?!'))?
|
|
408
|
-
(?:\\s*(\\[ [^\\[\\]]* \\])?)
|
|
409
|
-
\\s*`,beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"},2:{name:"keyword.other.preprocessor.pragma.haskell"},3:{patterns:[{include:"#inline_phase"}]}},end:"(?=#-\\})",patterns:[{include:"$self"}]},{match:`(?xi) \\b(?<!')
|
|
410
|
-
(LANGUAGE|OPTIONS_GHC|INCLUDE
|
|
411
|
-
|MINIMAL|UNPACK|OVERLAPS|INCOHERENT
|
|
412
|
-
|NOUNPACK|SOURCE|OVERLAPPING|OVERLAPPABLE|INLINE
|
|
413
|
-
|NOINLINE|INLINE?ABLE|CONLIKE|LINE|COLUMN|RULES
|
|
414
|
-
|COMPLETE)\\b(?!')`,name:"keyword.other.preprocessor.haskell"},{begin:"(?i)\\b(DEPRECATED|WARNING)\\b",beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"}},end:"(?=#-\\})",patterns:[{include:"#string_literal"}]}]},prefix_op:{patterns:[{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"entity.name.function.infix.haskell"},3:{name:"punctuation.paren.haskell"}},comment:`An operator cannot be composed entirely of '-' characters; instead, it should be matched as a comment.
|
|
415
|
-
`,match:`(?x)
|
|
416
|
-
(\\()\\s*(?!(?:--+|\\.\\.)\\))(\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))\\s*(\\))`}]},qualifier:{match:"\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.",name:"entity.name.namespace.haskell"},quasi_quote:{patterns:[{begin:`(?x)
|
|
417
|
-
(\\[)
|
|
418
|
-
(e|d|p)?
|
|
419
|
-
(\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"entity.name.quasi-quoter.haskell"},3:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\3\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell",patterns:[{include:"$self"}]},{begin:`(?x)
|
|
420
|
-
(\\[)
|
|
421
|
-
(t)
|
|
422
|
-
(\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"entity.name.quasi-quoter.haskell"},3:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\3\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell",patterns:[{include:"#type_signature"}]},{begin:`(?x)
|
|
423
|
-
(\\[)
|
|
424
|
-
(?:(\\$\\$)|(\\$))?
|
|
425
|
-
((?:[^\\s\\p{S}\\p{P}]|[\\.'_])*)
|
|
426
|
-
(\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"keyword.operator.prefix.double-dollar.haskell"},3:{name:"keyword.operator.prefix.dollar.haskell"},4:{name:"entity.name.quasi-quoter.haskell",patterns:[{include:"#qualifier"}]},5:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\5\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell"}]},record:{begin:"({)(?!-)",beginCaptures:{1:{name:"punctuation.brace.haskell"}},end:"(?<!-)(})",endCaptures:{1:{name:"punctuation.brace.haskell"}},name:"meta.record.haskell",patterns:[{include:"#comment_like"},{include:"#record_field"}]},record_decl:{begin:"({)(?!-)",beginCaptures:{1:{name:"punctuation.brace.haskell"}},end:"(?<!-)(})",endCaptures:{1:{name:"punctuation.brace.haskell"}},name:"meta.record.definition.haskell",patterns:[{include:"#comment_like"},{include:"#record_decl_field"}]},record_decl_field:{begin:`(?x)
|
|
427
|
-
(?:([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
428
|
-
|(\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))
|
|
429
|
-
)
|
|
430
|
-
`,beginCaptures:{1:{name:"variable.other.member.definition.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"variable.other.member.definition.haskell"},4:{name:"punctuation.paren.haskell"}},end:"(,)|(?=})",endCaptures:{1:{name:"punctuation.comma.haskell"}},patterns:[{include:"#comment_like"},{include:"#comma"},{include:"#double_colon"},{include:"#type_signature"},{include:"#record_decl_field"}]},record_field:{patterns:[{begin:`(?x)
|
|
431
|
-
(?:([\\p{Ll}\\p{Lu}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\.']*)
|
|
432
|
-
|(\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))
|
|
433
|
-
)
|
|
434
|
-
`,beginCaptures:{1:{name:"variable.other.member.haskell",patterns:[{include:"#qualifier"}]},2:{name:"punctuation.paren.haskell"},3:{name:"variable.other.member.haskell"},4:{name:"punctuation.paren.haskell"}},end:"(,)|(?=})",endCaptures:{1:{name:"punctuation.comma.haskell"}},patterns:[{include:"#comment_like"},{include:"#comma"},{include:"$self"}]},{include:"#record_wildcard"}]},record_wildcard:{captures:{1:{name:"variable.other.member.wildcard.haskell"}},match:`(?x)
|
|
435
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
436
|
-
(\\.\\.)
|
|
437
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])`},reserved_symbol:{patterns:[{captures:{1:{name:"keyword.operator.double-dot.haskell"},2:{name:"keyword.operator.colon.haskell"},3:{name:"keyword.operator.eq.haskell"},4:{name:"keyword.operator.lambda.haskell"},5:{name:"keyword.operator.pipe.haskell"},6:{name:"keyword.operator.arrow.left.haskell"},7:{name:"keyword.operator.arrow.haskell"},8:{name:"keyword.operator.arrow.left.tail.haskell"},9:{name:"keyword.operator.arrow.left.tail.double.haskell"},10:{name:"keyword.operator.arrow.tail.haskell"},11:{name:"keyword.operator.arrow.tail.double.haskell"},12:{name:"keyword.other.forall.haskell"}},match:`(?x)
|
|
438
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"'']])
|
|
439
|
-
(?:
|
|
440
|
-
(\\.\\.)
|
|
441
|
-
|(:)
|
|
442
|
-
|(=)
|
|
443
|
-
|(\\\\)
|
|
444
|
-
|(\\|)
|
|
445
|
-
|(<-|←)
|
|
446
|
-
|(->|→)
|
|
447
|
-
|(-<|↢)
|
|
448
|
-
|(-<<|⤛)
|
|
449
|
-
|(>-|⤚)
|
|
450
|
-
|(>>-|⤜)
|
|
451
|
-
|(∀)
|
|
452
|
-
)
|
|
453
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"'']])`},{captures:{1:{name:"keyword.operator.postfix.hash.haskell"}},match:`(?x)
|
|
454
|
-
(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^\\#,;\\[\`{]])
|
|
455
|
-
(\\#+)
|
|
456
|
-
(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^),;\\]\`}]])`},{captures:{1:{name:"keyword.operator.infix.tight.at.haskell"}},match:`(?x)
|
|
457
|
-
(?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\)\\}\\]])
|
|
458
|
-
(@)
|
|
459
|
-
(?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\[\\{])`},{captures:{1:{name:"keyword.operator.prefix.tilde.haskell"},2:{name:"keyword.operator.prefix.bang.haskell"},3:{name:"keyword.operator.prefix.minus.haskell"},4:{name:"keyword.operator.prefix.dollar.haskell"},5:{name:"keyword.operator.prefix.double-dollar.haskell"}},match:`(?x)
|
|
460
|
-
(?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^(,;\\[\`{]])
|
|
461
|
-
(?:(~)|(!)|(-)|(\\$)|(\\$\\$))
|
|
462
|
-
(?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\{\\[])`}]},role_annotation:{patterns:[{begin:"^(\\s*)(type)\\s+(role)\\b(?!')",beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.role.haskell"}},end:`(?x)
|
|
463
|
-
(?=\\}|;)
|
|
464
|
-
|^(?!
|
|
465
|
-
\\1\\s+\\S
|
|
466
|
-
| \\s*
|
|
467
|
-
(?: $
|
|
468
|
-
|\\{-[^@]
|
|
469
|
-
|--+
|
|
470
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
)`,name:"meta.role-annotation.haskell",patterns:[{include:"#comment_like"},{include:"#type_constructor"},{captures:{1:{name:"keyword.other.role.$1.haskell"}},match:"\\b(?<!')(nominal|representational|phantom)\\b(?!')"}]}]},start_type_signature:{patterns:[{begin:"^(\\s*)(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])\\s*",beginCaptures:{2:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
|
|
474
|
-
|
|
475
|
-
(?=
|
|
476
|
-
\\#?\\)
|
|
477
|
-
|\\]
|
|
478
|
-
|,
|
|
479
|
-
|(?<!')\\b(in|then|else|of)\\b(?!')
|
|
480
|
-
|
|
|
481
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
482
|
-
(?:
|
|
483
|
-
(\\\\|λ)
|
|
484
|
-
|(<-|←)
|
|
485
|
-
|(=)
|
|
486
|
-
|(-<|↢)
|
|
487
|
-
|(-<<|⤛)
|
|
488
|
-
)
|
|
489
|
-
([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
|
|
490
|
-
|(\\#|@)-\\}
|
|
491
|
-
|
|
492
|
-
| (?=\\}|;)
|
|
493
|
-
|^(?!
|
|
494
|
-
\\1\\s*\\S
|
|
495
|
-
| \\s*
|
|
496
|
-
(?: $
|
|
497
|
-
|\\{-[^@]
|
|
498
|
-
|--+
|
|
499
|
-
(?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
)
|
|
503
|
-
)`,name:"meta.type-declaration.haskell",patterns:[{include:"#type_signature"}]},{begin:"(?<![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])",beginCaptures:{1:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
|
|
504
|
-
|
|
505
|
-
(?=
|
|
506
|
-
\\#?\\)
|
|
507
|
-
|\\]
|
|
508
|
-
|,
|
|
509
|
-
|\\b(?<!')(in|then|else|of)\\b(?!')
|
|
510
|
-
|(\\#|@)-\\}
|
|
511
|
-
|
|
|
512
|
-
(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
|
|
513
|
-
(?:
|
|
514
|
-
(\\\\|λ)
|
|
515
|
-
|(<-|←)
|
|
516
|
-
|(=)
|
|
517
|
-
|(-<|↢)
|
|
518
|
-
|(-<<|⤛)
|
|
519
|
-
)
|
|
520
|
-
([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
|
|
521
|
-
|
|
522
|
-
|(?=\\}|;)
|
|
523
|
-
|$
|
|
524
|
-
)`,patterns:[{include:"#type_signature"}]}]},string_literal:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.haskell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.haskell"}},name:"string.quoted.double.haskell",patterns:[{match:`\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\"'\\&])`,name:"constant.character.escape.haskell"},{match:"\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+",name:"constant.character.escape.octal.haskell"},{match:"\\\\\\^[A-Z@\\[\\]\\\\\\^_]",name:"constant.character.escape.control.haskell"},{begin:"\\\\\\s",beginCaptures:{0:{name:"constant.character.escape.begin.haskell"}},end:"\\\\",endCaptures:{0:{name:"constant.character.escape.end.haskell"}},patterns:[{match:"\\S+",name:"invalid.illegal.character-not-allowed-here.haskell"}]}]},type_application:{patterns:[{begin:`(?<=[\\s,;\\[\\]{}"])(@)(')?(\\()`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"},2:{name:"keyword.operator.promotion.haskell"},3:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]},{begin:`(?<=[\\s,;\\[\\]{}"])(@)(')?(\\[)`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"},2:{name:"keyword.operator.promotion.haskell"},3:{name:"punctuation.bracket.haskell"}},end:"\\]",endCaptures:{0:{name:"punctuation.bracket.haskell"}},name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]},{begin:'(?<=[\\s,;\\[\\]{}"])(@)(?=\\")',beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"}},end:'(?<=\\")',name:"meta.type-application.haskell",patterns:[{include:"#string_literal"}]},{begin:`(?<=[\\s,;\\[\\]{}"])(@)(?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"}},end:"(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])",name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]}]},type_constructor:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"storage.type.haskell"}},match:`(?x)
|
|
525
|
-
|
|
526
|
-
(')?
|
|
527
|
-
|
|
528
|
-
((?:\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
|
|
529
|
-
|
|
530
|
-
(\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)`},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"entity.name.namespace.haskell"},4:{name:"storage.type.operator.haskell"},5:{name:"punctuation.paren.haskell"}},match:`(?x)
|
|
531
|
-
|
|
532
|
-
(')?
|
|
533
|
-
|
|
534
|
-
(\\()\\s*
|
|
535
|
-
|
|
536
|
-
((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
|
|
537
|
-
|
|
538
|
-
([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)
|
|
539
|
-
|
|
540
|
-
\\s*(\\))`}]},type_operator:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"storage.type.operator.infix.haskell"}},match:`(?x)
|
|
541
|
-
|
|
542
|
-
(?:(?<!')('))?
|
|
543
|
-
|
|
544
|
-
((?:\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
|
|
545
|
-
|
|
546
|
-
(?![#@]?-})(\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))
|
|
547
|
-
`},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.backtick.haskell"},3:{name:"entity.name.namespace.haskell"},4:{name:"storage.type.infix.haskell"},5:{name:"punctuation.backtick.haskell"}},match:`(?x)
|
|
548
|
-
|
|
549
|
-
(')?
|
|
550
|
-
|
|
551
|
-
(\\\`)
|
|
552
|
-
|
|
553
|
-
((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
|
|
554
|
-
|
|
555
|
-
([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
|
|
556
|
-
|
|
557
|
-
(\`)`}]},type_signature:{patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"punctuation.paren.haskell"}},match:"(')?(\\()\\s*(\\))",name:"support.constant.unit.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"support.constant.unit.unboxed.haskell"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"punctuation.paren.haskell"}},match:"(')?(\\()\\s*,[\\s,]*(\\))",name:"support.constant.tuple.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"support.constant.unit.unboxed.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*,[\\s,]*(#)(\\))",name:"support.constant.tuple.unboxed.haskell"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.bracket.haskell"},3:{name:"punctuation.bracket.haskell"}},match:"(')?(\\[)\\s*(\\])",name:"support.constant.empty-list.haskell"},{include:"#integer_literals"},{match:"(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])",name:"keyword.operator.double-colon.haskell"},{include:"#forall"},{match:"=>|⇒",name:"keyword.operator.big-arrow.haskell"},{include:"#string_literal"},{match:"'[^']'",name:"invalid"},{include:"#type_application"},{include:"#reserved_symbol"},{include:"#type_operator"},{include:"#type_constructor"},{begin:"(\\()(#)",beginCaptures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"}},end:"(#)(\\))",endCaptures:{1:{name:"keyword.operator.hash.haskell"},2:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{begin:"(')?(\\()",beginCaptures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{begin:"(')?(\\[)",beginCaptures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.bracket.haskell"}},end:"(\\])",endCaptures:{1:{name:"punctuation.bracket.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{include:"#type_variable"}]},type_variable:{match:"\\b(?<!')(?!(?:forall|deriving)\\b(?!'))[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"variable.other.generic-type.haskell"},where:{patterns:[{begin:`(?x)
|
|
558
|
-
(?<!')\\b(where)
|
|
559
|
-
\\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.where.haskell"},2:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"$self"},{match:";",name:"punctuation.semicolon.haskell"}]},{match:"\\b(?<!')(where)\\b(?!')",name:"keyword.other.where.haskell"}]}},scopeName:"source.haskell",aliases:["hs"]});var n=[e];export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Genie",fileTypes:["gs"],name:"genie",patterns:[{include:"#code"}],repository:{code:{patterns:[{include:"#comments"},{include:"#constants"},{include:"#strings"},{include:"#keywords"},{include:"#types"},{include:"#functions"},{include:"#variables"}]},comments:{patterns:[{captures:{0:{name:"punctuation.definition.comment.vala"}},match:"/\\*\\*/",name:"comment.block.empty.vala"},{include:"text.html.javadoc"},{include:"#comments-inline"}]},"comments-inline":{patterns:[{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.vala"}},end:"\\*/",name:"comment.block.vala"},{captures:{1:{name:"comment.line.double-slash.vala"},2:{name:"punctuation.definition.comment.vala"}},match:"\\s*((//).*$\\n?)"}]},constants:{patterns:[{match:"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b",name:"constant.numeric.vala"},{match:"\\b([A-Z][A-Z0-9_]+)\\b",name:"variable.other.constant.vala"}]},functions:{patterns:[{match:"(\\w+)(?=\\s*(<[\\s\\w.]+>\\s*)?\\()",name:"entity.name.function.vala"}]},keywords:{patterns:[{match:"(?<=^|[^@\\w\\.])(as|do|if|in|is|of|or|to|and|def|for|get|isa|new|not|out|ref|set|try|var|case|dict|else|enum|init|list|lock|null|pass|prop|self|true|uses|void|weak|when|array|async|break|class|const|event|false|final|owned|print|super|raise|while|yield|assert|delete|downto|except|extern|inline|params|public|raises|return|sealed|sizeof|static|struct|typeof|default|dynamic|ensures|finally|private|unowned|virtual|abstract|continue|delegate|internal|override|readonly|requires|volatile|construct|errordomain|interface|namespace|protected|implements)\\b",name:"keyword.vala"},{match:"(?<=^|[^@\\w\\.])(bool|double|float|unichar|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64)\\b",name:"keyword.vala"},{match:"(#if|#elif|#else|#endif)",name:"keyword.vala"}]},strings:{patterns:[{begin:'"""',end:'"""',name:"string.quoted.triple.vala"},{begin:'@"',end:'"',name:"string.quoted.interpolated.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"},{match:"\\$\\w+",name:"constant.character.escape.vala"},{match:"\\$\\(([^)(]|\\(([^)(]|\\([^)]*\\))*\\))*\\)",name:"constant.character.escape.vala"}]},{begin:'"',end:'"',name:"string.quoted.double.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"}]},{begin:"'",end:"'",name:"string.quoted.single.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"}]},{match:"/((\\\\/)|([^/]))*/(?=\\s*[,;)\\.\\n])",name:"string.regexp.vala"}]},types:{patterns:[{match:"(?<=^|[^@\\w\\.])(bool|double|float|unichar|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64)\\b",name:"storage.type.primitive.vala"},{match:"\\b([A-Z]+\\w*)\\b",name:"entity.name.type.vala"}]},variables:{patterns:[{match:"\\b([_a-z]+\\w*)\\b",name:"variable.other.vala"}]}},scopeName:"source.genie"});var a=[e];export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Terraform",fileTypes:["tf","tfvars"],name:"terraform",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}],repository:{attribute_access:{begin:"\\.(?!\\*)",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Matches traversal attribute access such as .attr",end:"[[:alpha:]][\\w-]*|\\d*",endCaptures:{0:{patterns:[{comment:"Attribute name",match:"(?!null|false|true)[[:alpha:]][\\w-]*",name:"variable.other.member.hcl"},{comment:"Optional attribute index",match:"\\d+",name:"constant.numeric.integer.hcl"}]}}},attribute_definition:{captures:{1:{name:"punctuation.section.parens.begin.hcl"},2:{name:"variable.other.readwrite.hcl"},3:{name:"punctuation.section.parens.end.hcl"},4:{name:"keyword.operator.assignment.hcl"}},comment:'Identifier "=" with optional parens',match:"(\\()?(\\b(?!null\\b|false\\b|true\\b)[[:alpha:]][[:alnum:]_-]*)(\\))?\\s*(\\=(?!\\=|\\>))\\s*",name:"variable.declaration.hcl"},attribute_splat:{begin:"\\.",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Legacy attribute-only splat",end:"\\*",endCaptures:{0:{name:"keyword.operator.splat.hcl"}}},block:{begin:'([\\w][\\-\\w]*)([\\s\\"\\-\\w]*)(\\{)',beginCaptures:{1:{patterns:[{comment:"Known block type",match:"\\bdata|check|import|locals|module|output|provider|resource|terraform|variable\\b",name:"entity.name.type.terraform"},{comment:"Unknown block type",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"entity.name.type.hcl"}]},2:{patterns:[{comment:"Block label",match:'[\\"\\-\\w]+',name:"variable.other.enummember.hcl"}]},3:{name:"punctuation.section.block.begin.hcl"}},comment:'This will match Terraform blocks like `resource "aws_instance" "web" {` or `module {`',end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.hcl"}},name:"meta.block.hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}]},block_inline_comments:{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Inline comments start with the /* sequence and end with the */ sequence, and may have any characters within except the ending sequence. An inline comment is considered equivalent to a whitespace sequence",end:"\\*/",name:"comment.block.hcl"},brackets:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.brackets.begin.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{comment:"Splat operator",match:"\\*",name:"keyword.operator.splat.hcl"},{include:"#comma"},{include:"#comments"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{include:"#expressions"},{include:"#local_identifiers"}]},char_escapes:{comment:"Character Escapes",match:'\\\\[nrt"\\\\]|\\\\u(\\h{8}|\\h{4})',name:"constant.character.escape.hcl"},comma:{comment:"Commas - used in certain expressions",match:"\\,",name:"punctuation.separator.hcl"},comments:{patterns:[{include:"#hash_line_comments"},{include:"#double_slash_line_comments"},{include:"#block_inline_comments"}]},double_slash_line_comments:{begin:"//",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with // sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.double-slash.hcl"},expressions:{patterns:[{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#brackets"},{include:"#objects"},{include:"#attribute_access"},{include:"#attribute_splat"},{include:"#functions"},{include:"#parens"}]},for_expression_body:{patterns:[{comment:"in keyword",match:"\\bin\\b",name:"keyword.operator.word.hcl"},{comment:"if keyword",match:"\\bif\\b",name:"keyword.control.conditional.hcl"},{match:"\\:",name:"keyword.operator.hcl"},{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},functions:{begin:"([:\\-\\w]+)(\\()",beginCaptures:{1:{patterns:[{match:"\\b(core::)?(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|cidrsubnets|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\\b",name:"support.function.builtin.terraform"},{match:"\\bprovider::[[:alpha:]][\\w_-]*::[[:alpha:]][\\w_-]*\\b",name:"support.function.provider.terraform"}]},2:{name:"punctuation.section.parens.begin.hcl"}},comment:"Built-in function calls",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},name:"meta.function-call.hcl",patterns:[{include:"#comments"},{include:"#expressions"},{include:"#comma"}]},hash_line_comments:{begin:"#",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with # sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.number-sign.hcl"},hcl_type_keywords:{comment:"Type keywords known to HCL.",match:"\\b(any|string|number|bool|list|set|map|tuple|object)\\b",name:"storage.type.hcl"},heredoc:{begin:"(\\<\\<\\-?)\\s*(\\w+)\\s*$",beginCaptures:{1:{name:"keyword.operator.heredoc.hcl"},2:{name:"keyword.control.heredoc.hcl"}},comment:"String Heredoc",end:"^\\s*\\2\\s*$",endCaptures:{0:{name:"keyword.control.heredoc.hcl"}},name:"string.unquoted.heredoc.hcl",patterns:[{include:"#string_interpolation"}]},inline_for_expression:{captures:{1:{name:"keyword.control.hcl"},2:{patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]}},match:"(for)\\b(.*)\\n"},inline_if_expression:{begin:"(if)\\b",beginCaptures:{1:{name:"keyword.control.conditional.hcl"}},end:"\\n",patterns:[{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},language_constants:{comment:"Language Constants",match:"\\b(true|false|null)\\b",name:"constant.language.hcl"},literal_values:{patterns:[{include:"#numeric_literals"},{include:"#language_constants"},{include:"#string_literals"},{include:"#heredoc"},{include:"#hcl_type_keywords"},{include:"#named_value_references"}]},local_identifiers:{comment:"Local Identifiers",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"variable.other.readwrite.hcl"},named_value_references:{comment:"Constant values available only to Terraform.",match:"\\b(var|local|module|data|path|terraform)\\b",name:"variable.other.readwrite.terraform"},numeric_literals:{patterns:[{captures:{1:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, no fraction, optional exponent",match:"\\b\\d+([Ee][+-]?)\\d+\\b",name:"constant.numeric.float.hcl"},{captures:{1:{name:"punctuation.separator.decimal.hcl"},2:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, fraction, optional exponent",match:"\\b\\d+(\\.)\\d+(?:([Ee][+-]?)\\d+)?\\b",name:"constant.numeric.float.hcl"},{comment:"Integers",match:"\\b\\d+\\b",name:"constant.numeric.integer.hcl"}]},object_for_expression:{begin:"(\\{)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.braces.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]},object_key_values:{patterns:[{include:"#comments"},{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#heredoc"},{include:"#functions"}]},objects:{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.braces.begin.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},name:"meta.braces.hcl",patterns:[{include:"#comments"},{include:"#objects"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{captures:{1:{name:"meta.mapping.key.hcl variable.other.readwrite.hcl"},2:{name:"keyword.operator.assignment.hcl",patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"}]}},comment:"Literal, named object key",match:"\\b((?!null|false|true)[[:alpha:]][[:alnum:]_-]*)\\s*(\\=\\>?)\\s*"},{captures:{0:{patterns:[{include:"#named_value_references"}]},1:{name:"meta.mapping.key.hcl string.quoted.double.hcl"},2:{name:"punctuation.definition.string.begin.hcl"},3:{name:"punctuation.definition.string.end.hcl"},4:{name:"keyword.operator.hcl"}},comment:"String object key",match:'\\b((").*("))\\s*(\\=)\\s*'},{begin:"^\\s*\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Computed object key (any expression between parens)",end:"(\\))\\s*(=|:)\\s*",endCaptures:{1:{name:"punctuation.section.parens.end.hcl"},2:{name:"keyword.operator.hcl"}},name:"meta.mapping.key.hcl",patterns:[{include:"#named_value_references"},{include:"#attribute_access"}]},{include:"#object_key_values"}]},operators:{patterns:[{match:"\\>\\=",name:"keyword.operator.hcl"},{match:"\\<\\=",name:"keyword.operator.hcl"},{match:"\\=\\=",name:"keyword.operator.hcl"},{match:"\\!\\=",name:"keyword.operator.hcl"},{match:"\\+",name:"keyword.operator.arithmetic.hcl"},{match:"\\-",name:"keyword.operator.arithmetic.hcl"},{match:"\\*",name:"keyword.operator.arithmetic.hcl"},{match:"\\/",name:"keyword.operator.arithmetic.hcl"},{match:"\\%",name:"keyword.operator.arithmetic.hcl"},{match:"\\&\\&",name:"keyword.operator.logical.hcl"},{match:"\\|\\|",name:"keyword.operator.logical.hcl"},{match:"\\!",name:"keyword.operator.logical.hcl"},{match:"\\>",name:"keyword.operator.hcl"},{match:"\\<",name:"keyword.operator.hcl"},{match:"\\?",name:"keyword.operator.hcl"},{match:"\\.\\.\\.",name:"keyword.operator.hcl"},{match:"\\:",name:"keyword.operator.hcl"},{match:"\\=\\>",name:"keyword.operator.hcl"}]},parens:{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Parens - matched *after* function syntax",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},patterns:[{include:"#comments"},{include:"#expressions"}]},string_interpolation:{begin:"(?<![%$])([%$]{)",beginCaptures:{1:{name:"keyword.other.interpolation.begin.hcl"}},comment:"String interpolation",end:"\\}",endCaptures:{0:{name:"keyword.other.interpolation.end.hcl"}},name:"meta.interpolation.hcl",patterns:[{comment:"Trim left whitespace",match:"\\~\\s",name:"keyword.operator.template.left.trim.hcl"},{comment:"Trim right whitespace",match:"\\s\\~",name:"keyword.operator.template.right.trim.hcl"},{comment:"if/else/endif and for/in/endfor directives",match:"\\b(if|else|endif|for|in|endfor)\\b",name:"keyword.control.hcl"},{include:"#expressions"},{include:"#local_identifiers"}]},string_literals:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.hcl"}},comment:"Strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.hcl"}},name:"string.quoted.double.hcl",patterns:[{include:"#string_interpolation"},{include:"#char_escapes"}]},tuple_for_expression:{begin:"(\\[)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.brackets.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{include:"#for_expression_body"}]}},scopeName:"source.hcl.terraform",aliases:["tf","tfvars"]});var n=[e];export{n as default};
|