@nuxt/scripts 0.9.4 → 0.10.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/README.md +4 -6
- package/dist/client/200.html +281 -272
- package/dist/client/404.html +281 -272
- package/dist/client/_nuxt/{WvamMZMi.js → -30QC5Em.js} +1 -1
- package/dist/client/_nuxt/-71hrkjd.js +1 -0
- package/dist/client/_nuxt/0BrjI7ue.js +1 -0
- package/dist/client/_nuxt/2V0Ap-uE.js +1 -0
- package/dist/client/_nuxt/3e1v2bzS.js +1 -0
- package/dist/client/_nuxt/3xVqZejG.js +1 -0
- package/dist/client/_nuxt/{CGzXMTsz.js → 5LuOXUq_.js} +1 -1
- package/dist/client/_nuxt/727ZlQH0.js +1 -0
- package/dist/client/_nuxt/{BwE502oq.js → 7A4Fjokl.js} +1 -1
- package/dist/client/_nuxt/8jXJkYXT.js +1 -0
- package/dist/client/_nuxt/9C6ErRqt.js +1 -0
- package/dist/client/_nuxt/B-_AxZdj.js +1 -0
- package/dist/client/_nuxt/B0XVJmRM.js +1 -0
- package/dist/client/_nuxt/B0m2ddpp.js +1 -0
- package/dist/client/_nuxt/{CXMJgpSL.js → B0qRVHPH.js} +1 -1
- package/dist/client/_nuxt/B14Poo8t.js +1 -0
- package/dist/client/_nuxt/B1bQXN8T.js +1 -0
- package/dist/client/_nuxt/B3ZDOciz.js +1 -0
- package/dist/client/_nuxt/B430Bg39.js +1 -0
- package/dist/client/_nuxt/B48N-Iqd.js +1 -0
- package/dist/client/_nuxt/B5lbUyaz.js +1 -0
- package/dist/client/_nuxt/B6U2uXNT.js +1 -0
- package/dist/client/_nuxt/B6W0miNI.js +1 -0
- package/dist/client/_nuxt/B7mTdjB0.js +1 -0
- package/dist/client/_nuxt/B9wLZaAG.js +1 -0
- package/dist/client/_nuxt/BAng5TT0.js +1 -0
- package/dist/client/_nuxt/BAxNRJcx.js +1 -0
- package/dist/client/_nuxt/BBT0u3iQ.js +1 -0
- package/dist/client/_nuxt/BCMa2Tx6.js +1 -0
- package/dist/client/_nuxt/BDiHrqA7.js +1 -0
- package/dist/client/_nuxt/BEBZ7ncR.js +1 -0
- package/dist/client/_nuxt/{C1LgZD3W.js → BFOHcciG.js} +1 -1
- package/dist/client/_nuxt/BHyGnp0Z.js +1 -0
- package/dist/client/_nuxt/BLCLeV30.js +1 -0
- package/dist/client/_nuxt/BLmoVg8f.js +1 -0
- package/dist/client/_nuxt/{BLl5TONR.js → BMR_PYu6.js} +1 -1
- package/dist/client/_nuxt/BMj5Y0dO.js +1 -0
- package/dist/client/_nuxt/BNioltXt.js +1 -0
- package/dist/client/_nuxt/BPhBrDlE.js +1 -0
- package/dist/client/_nuxt/BR4n0CG2.js +1 -0
- package/dist/client/_nuxt/BSxZ-RaX.js +1 -0
- package/dist/client/_nuxt/{ClQXznb9.js → BWx0ALLs.js} +1 -1
- package/dist/client/_nuxt/{Bn-9XRF5.js → BX77sIaO.js} +1 -1
- package/dist/client/_nuxt/BXW1EomU.js +1 -0
- package/dist/client/_nuxt/{CfMCnVnb.js → BXZ5z1bG.js} +1 -1
- package/dist/client/_nuxt/BXkSAIEj.js +1 -0
- package/dist/client/_nuxt/BXl-Qilg.js +1 -0
- package/dist/client/_nuxt/BY-TUvya.js +1 -0
- package/dist/client/_nuxt/BZ4qjH1z.js +1 -0
- package/dist/client/_nuxt/B_7mSSNY.js +1 -0
- package/dist/client/_nuxt/{BFtm7NXx.js → B_m7g4N7.js} +1 -1
- package/dist/client/_nuxt/Ba6QCfRf.js +1 -0
- package/dist/client/_nuxt/Bbt-fWo2.js +1 -0
- package/dist/client/_nuxt/BcOcwvcX.js +1 -0
- package/dist/client/_nuxt/{D1MLUgyJ.js → BceOnUsB.js} +1 -1
- package/dist/client/_nuxt/BekpkmYp.js +1 -0
- package/dist/client/_nuxt/{9aqg22n7.js → BepIKhab.js} +1 -1
- package/dist/client/_nuxt/BfHTSMKl.js +1 -0
- package/dist/client/_nuxt/{CnJshdAK.js → BfivnA6A.js} +1 -1
- package/dist/client/_nuxt/BfjtVDDH.js +1 -0
- package/dist/client/_nuxt/Bg-kzb6g.js +1 -0
- package/dist/client/_nuxt/BgDCqdQA.js +1 -0
- package/dist/client/_nuxt/Bi2Xjx-o.js +1 -0
- package/dist/client/_nuxt/Bid6LQhH.js +1 -0
- package/dist/client/_nuxt/BixDBq5F.js +1 -0
- package/dist/client/_nuxt/{CNYq1Vbh.js → BjABl1g7.js} +1 -1
- package/dist/client/_nuxt/Bjjh7dxw.js +1 -0
- package/dist/client/_nuxt/BkR1g5rb.js +1 -0
- package/dist/client/_nuxt/{CJwZFFO8.js → BknIz3MU.js} +1 -1
- package/dist/client/_nuxt/Bkuqu6BP.js +1 -0
- package/dist/client/_nuxt/{BU7aDXie.js → Bl1h29GH.js} +1 -1
- package/dist/client/_nuxt/Blx2zv3z.js +1 -0
- package/dist/client/_nuxt/BnLMxUhr.js +1 -0
- package/dist/client/_nuxt/BnZ6J9ez.js +1 -0
- package/dist/client/_nuxt/BoXegm-a.js +1 -0
- package/dist/client/_nuxt/{CtwIM3TN.js → Bp6g37R7.js} +1 -1
- package/dist/client/_nuxt/BpWG_bgh.js +1 -0
- package/dist/client/_nuxt/BthQWCQV.js +1 -0
- package/dist/client/_nuxt/{Ya9L7uOG.js → Bvotw-X0.js} +1 -1
- package/dist/client/_nuxt/Bw1r3vCz.js +1 -0
- package/dist/client/_nuxt/Bw305WKR.js +1 -0
- package/dist/client/_nuxt/BxugDVxS.js +1 -0
- package/dist/client/_nuxt/BzEH12SI.js +1 -0
- package/dist/client/_nuxt/BzJJZx-M.js +1 -0
- package/dist/client/_nuxt/C-_shW-Y.js +1 -0
- package/dist/client/_nuxt/C1XDQQGZ.js +1 -0
- package/dist/client/_nuxt/C1YtDkjL.js +1 -0
- package/dist/client/_nuxt/{SBo3v8K-.js → C1w2a3ep.js} +1 -1
- package/dist/client/_nuxt/C39BiMTA.js +1 -0
- package/dist/client/_nuxt/C3FkfJm5.js +1 -0
- package/dist/client/_nuxt/C3TFZlTA.js +1 -0
- package/dist/client/_nuxt/C3khCPGq.js +1 -0
- package/dist/client/_nuxt/C3mMm8J8.js +1 -0
- package/dist/client/_nuxt/C3t2pwGQ.js +1 -0
- package/dist/client/_nuxt/C4-SGcC-.js +1 -0
- package/dist/client/_nuxt/C5AohmeQ.js +1 -0
- package/dist/client/_nuxt/C5wWYbrZ.js +1 -0
- package/dist/client/_nuxt/C7L56vO4.js +1 -0
- package/dist/client/_nuxt/C7gG9l05.js +1 -0
- package/dist/client/_nuxt/C8E1IXHE.js +1 -0
- package/dist/client/_nuxt/C8M2exoo.js +1 -0
- package/dist/client/_nuxt/{DXd9s5XC.js → C8lEn-DE.js} +1 -1
- package/dist/client/_nuxt/C9e09xm7.js +1 -0
- package/dist/client/_nuxt/CAQ2eGtk.js +1 -0
- package/dist/client/_nuxt/CCQEdssC.js +1 -0
- package/dist/client/_nuxt/CCbUEAxs.js +1 -0
- package/dist/client/_nuxt/CD_QflpE.js +1 -0
- package/dist/client/_nuxt/CGzGISHo.js +32 -0
- package/dist/client/_nuxt/CHVitPdg.js +1 -0
- package/dist/client/_nuxt/CJaU5se_.js +1 -0
- package/dist/client/_nuxt/CLEBXJYW.js +1 -0
- package/dist/client/_nuxt/{DD0UnqhF.js → CM8KxXT1.js} +1 -1
- package/dist/client/_nuxt/COJ4H7py.js +1 -0
- package/dist/client/_nuxt/COl1u60l.js +1 -0
- package/dist/client/_nuxt/{djmQ0oFv.js → COyJrUc7.js} +1 -1
- package/dist/client/_nuxt/CQ5q8R2W.js +1 -0
- package/dist/client/_nuxt/CQPZbkWf.js +1 -0
- package/dist/client/_nuxt/{DVVRcRkA.js → CQjiPCtT.js} +1 -1
- package/dist/client/_nuxt/CR_dl2Bk.js +1 -0
- package/dist/client/_nuxt/CS3Unz2-.js +1 -0
- package/dist/client/_nuxt/CSHBycmS.js +1 -0
- package/dist/client/_nuxt/CSHvh9SD.js +1 -0
- package/dist/client/_nuxt/CTRr51gU.js +1 -0
- package/dist/client/_nuxt/CUnW07Te.js +1 -0
- package/dist/client/_nuxt/CVO1_9PV.js +1 -0
- package/dist/client/_nuxt/{CR7ZIA5n.js → CVw76BM1.js} +1 -1
- package/dist/client/_nuxt/CWGUrYGm.js +1 -0
- package/dist/client/_nuxt/CWgbWrzg.js +1 -0
- package/dist/client/_nuxt/CX-D33aM.js +1 -0
- package/dist/client/_nuxt/CXkZqcqC.js +1 -0
- package/dist/client/_nuxt/CafNBF8u.js +1 -0
- package/dist/client/_nuxt/CbfX1IO0.js +1 -0
- package/dist/client/_nuxt/Cbu_jgUK.js +1 -0
- package/dist/client/_nuxt/Cc5clBb7.js +1 -0
- package/dist/client/_nuxt/{B7ypyBnM.js → CdO5JTpU.js} +1 -1
- package/dist/client/_nuxt/CeaQPKDP.js +1 -0
- package/dist/client/_nuxt/CfQXZHmo.js +1 -0
- package/dist/client/_nuxt/Cg69lM4A.js +1 -0
- package/dist/client/_nuxt/{BXRmzY4z.js → CiNAsHKU.js} +1 -1
- package/dist/client/_nuxt/CjDtw9vr.js +1 -0
- package/dist/client/_nuxt/CjTSRSzG.js +1 -0
- package/dist/client/_nuxt/CkXjmgJE.js +1 -0
- package/dist/client/_nuxt/Cksrkzhi.js +1 -0
- package/dist/client/_nuxt/Cl11rDh_.js +1 -0
- package/dist/client/_nuxt/{DavK8YIz.js → ClJifeiK.js} +1 -1
- package/dist/client/_nuxt/CmCqftbK.js +1 -0
- package/dist/client/_nuxt/CsSk9TLD.js +1 -0
- package/dist/client/_nuxt/Csfq5Kiy.js +1 -0
- package/dist/client/_nuxt/CsiB4_CF.js +1 -0
- package/dist/client/_nuxt/CucaAMjX.js +1 -0
- package/dist/client/_nuxt/Cuk6v7N8.js +1 -0
- package/dist/client/_nuxt/Cv9koXgw.js +1 -0
- package/dist/client/_nuxt/{Bob3ZsAI.js → CwjWoCRV.js} +1 -1
- package/dist/client/_nuxt/CyZx4btO.js +1 -0
- package/dist/client/_nuxt/CyktbL80.js +1 -0
- package/dist/client/_nuxt/CzouJOBO.js +1 -0
- package/dist/client/_nuxt/D-2ljcwZ.js +1 -0
- package/dist/client/_nuxt/D08_rs9c.js +1 -0
- package/dist/client/_nuxt/D0r3Knsf.js +1 -0
- package/dist/client/_nuxt/D33VVPhb.js +1 -0
- package/dist/client/_nuxt/D3T736Ml.js +1 -0
- package/dist/client/_nuxt/D4h5O-jR.js +1 -0
- package/dist/client/_nuxt/D5KoaKCx.js +1 -0
- package/dist/client/_nuxt/D7oLnXFd.js +1 -0
- package/dist/client/_nuxt/D8P4R8x9.js +1 -0
- package/dist/client/_nuxt/DAi9KRSo.js +1 -0
- package/dist/client/_nuxt/DBPt_AfP.js +1 -0
- package/dist/client/_nuxt/DBtIRQT_.js +1 -0
- package/dist/client/_nuxt/DCE3LsBG.js +1 -0
- package/dist/client/_nuxt/DDhM2Lry.js +1 -0
- package/dist/client/_nuxt/DEEqWFGm.js +1 -0
- package/dist/client/_nuxt/{B6eBibaS.js → DEIpsLCJ.js} +1 -1
- package/dist/client/_nuxt/DERFIACx.js +1 -0
- package/dist/client/_nuxt/{D_5MlGZ5.js → DFAwn6Qs.js} +1 -1
- package/dist/client/_nuxt/DFERiEu9.js +1 -0
- package/dist/client/_nuxt/DH5Ifo-i.js +1 -0
- package/dist/client/_nuxt/DHJKELXO.js +1 -0
- package/dist/client/_nuxt/DHo0CJ0O.js +1 -0
- package/dist/client/_nuxt/{B9ZmOXYf.js → DJlmqQ1C.js} +1 -1
- package/dist/client/_nuxt/DKOGybHv.js +1 -0
- package/dist/client/_nuxt/{BIAE-JNJ.js → DLbgOhZU.js} +1 -1
- package/dist/client/_nuxt/DLdrzW0n.js +1 -0
- package/dist/client/_nuxt/DNTbO5Kf.js +1 -0
- package/dist/client/_nuxt/DPWDxuKt.js +1 -0
- package/dist/client/_nuxt/DPvbFsQx.js +1 -0
- package/dist/client/_nuxt/DRW-0cLl.js +1 -0
- package/dist/client/_nuxt/DSrUkfvF.js +1 -0
- package/dist/client/_nuxt/DTAJTTim.js +1 -0
- package/dist/client/_nuxt/DUszq2jm.js +1 -0
- package/dist/client/_nuxt/DVMEJ2y_.js +1 -0
- package/dist/client/_nuxt/DWedfzmr.js +1 -0
- package/dist/client/_nuxt/DXbdFlpD.js +1 -0
- package/dist/client/_nuxt/DYoNaHQp.js +1 -0
- package/dist/client/_nuxt/{DCQSX9PG.js → D_iqerNF.js} +1 -1
- package/dist/client/_nuxt/DaDNKYhP.js +1 -0
- package/dist/client/_nuxt/{DpTiCrq9.js → Dayu4EKP.js} +1 -1
- package/dist/client/_nuxt/DbcauaCG.js +1 -0
- package/dist/client/_nuxt/Dbxjm_CC.js +1 -0
- package/dist/client/_nuxt/Ddn3lr0y.js +1 -0
- package/dist/client/_nuxt/Ddv68eIx.js +1 -0
- package/dist/client/_nuxt/{COHgjnFa.js → DhMKtDLN.js} +1 -1
- package/dist/client/_nuxt/Dhn9LcZ4.js +1 -0
- package/dist/client/_nuxt/Dj6nwHGl.js +1 -0
- package/dist/client/_nuxt/DjCbjd0V.js +1 -0
- package/dist/client/_nuxt/DjP-tqRL.js +1 -0
- package/dist/client/_nuxt/DlaVQbPD.js +1 -0
- package/dist/client/_nuxt/DlqU7Mzb.js +1 -0
- package/dist/client/_nuxt/{DZWQkMCk.js → Dn00JSTd.js} +1 -1
- package/dist/client/_nuxt/DnAB7knh.js +1 -0
- package/dist/client/_nuxt/DnULxvSX.js +1 -0
- package/dist/client/_nuxt/Dp08fnRF.js +1 -0
- package/dist/client/_nuxt/DpGQfXhQ.js +1 -0
- package/dist/client/_nuxt/{CP9KBoma.js → DqDt7uUl.js} +1 -1
- package/dist/client/_nuxt/DqwNpetd.js +1 -0
- package/dist/client/_nuxt/Ds-gbosJ.js +1 -0
- package/dist/client/_nuxt/DsBKuouk.js +1 -0
- package/dist/client/_nuxt/DtFQj3wx.js +1 -0
- package/dist/client/_nuxt/Dtn5OO9k.js +1 -0
- package/dist/client/_nuxt/Du268qiB.js +1 -0
- package/dist/client/_nuxt/Du5NY7AG.js +1 -0
- package/dist/client/_nuxt/DxSadP1t.js +1 -0
- package/dist/client/_nuxt/{DnphndYx.js → DyGSH8sA.js} +1 -1
- package/dist/client/_nuxt/E3gJ1_iC.js +1 -0
- package/dist/client/_nuxt/ISJeQQUc.js +1 -0
- package/dist/client/_nuxt/{CWz0UdeE.js → IuBKFhSY.js} +1 -1
- package/dist/client/_nuxt/{BDJShKAI.js → JqZropPD.js} +1 -1
- package/dist/client/_nuxt/L9t79GZl.js +1 -0
- package/dist/client/_nuxt/LGGdnPYs.js +1 -0
- package/dist/client/_nuxt/{B9Xnh5qb.js → LKU2TuZ1.js} +1 -1
- package/dist/client/_nuxt/MxEea5SM.js +1 -0
- package/dist/client/_nuxt/Olw6fvns.js +1 -0
- package/dist/client/_nuxt/PoHY5YXO.js +1 -0
- package/dist/client/_nuxt/R5DMG1SI.js +1 -0
- package/dist/client/_nuxt/RJ4jLoVH.js +1 -0
- package/dist/client/_nuxt/RvZl2ZSs.js +1 -0
- package/dist/client/_nuxt/{akD_NCup.js → SKMF96pI.js} +1 -1
- package/dist/client/_nuxt/SPD3sf1n.js +1 -0
- package/dist/client/_nuxt/{DmIISM_t.js → T-Tgc4AT.js} +1 -1
- package/dist/client/_nuxt/UP2u2qKn.js +1 -0
- package/dist/client/_nuxt/WlOKAcJ7.js +1 -0
- package/dist/client/_nuxt/XBlWyCtg.js +1 -0
- package/dist/client/_nuxt/{Do1wFkIg.js → YJb9dmdj.js} +1 -1
- package/dist/client/_nuxt/YSxxb8je.js +1 -0
- package/dist/client/_nuxt/a8RH-YUw.js +1 -0
- package/dist/client/_nuxt/aBZrgJR0.js +1 -0
- package/dist/client/_nuxt/{l-Zunt0N.js → ahYVQIuB.js} +1 -1
- package/dist/client/_nuxt/{CmN3BE9h.js → ajMbGru0.js} +1 -1
- package/dist/client/_nuxt/{B7JypyVp.js → bCA53EVm.js} +1 -1
- package/dist/client/_nuxt/bN70gL4F.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/66990e06-bd43-4fcc-a366-b9ec546b2f39.json +1 -0
- package/dist/client/_nuxt/{Bd_dgwob.js → cPjAOO0u.js} +1 -1
- package/dist/client/_nuxt/eHy1PpK4.js +1 -0
- package/dist/client/_nuxt/{BJ1tFXYc.js → eg146-Ew.js} +1 -1
- package/dist/client/_nuxt/entry.8G-dVB4s.css +1 -0
- package/dist/client/_nuxt/error-404.BuAnUH8b.css +1 -0
- package/dist/client/_nuxt/error-500.DrCOIGHy.css +1 -0
- package/dist/client/_nuxt/fje9CFhw.js +1 -0
- package/dist/client/_nuxt/hegEt444.js +1 -0
- package/dist/client/_nuxt/ifBTmRxC.js +1 -0
- package/dist/client/_nuxt/jOnvO7K6.js +1 -0
- package/dist/client/_nuxt/jY9aw0fr.js +1 -0
- package/dist/client/_nuxt/{DEi2ougg.js → kP2iUUCn.js} +1 -1
- package/dist/client/_nuxt/k_46elR7.js +1 -0
- package/dist/client/_nuxt/m4uW47V2.js +1 -0
- package/dist/client/_nuxt/mD5xMClh.js +1 -0
- package/dist/client/_nuxt/o8ODhS4a.js +1 -0
- package/dist/client/_nuxt/otdIdbsQ.js +1 -0
- package/dist/client/_nuxt/qVXJnTkO.js +1 -0
- package/dist/client/_nuxt/qmhIZ77x.js +1 -0
- package/dist/client/_nuxt/rAlqSFiP.js +1 -0
- package/dist/client/_nuxt/s0gpj0oJ.js +1 -0
- package/dist/client/_nuxt/sY1Cc3Se.js +1 -0
- package/dist/client/_nuxt/{DbbFj0Dw.js → sdHcTMYB.js} +1 -1
- package/dist/client/_nuxt/tpHetfZQ.js +1 -0
- package/dist/client/_nuxt/ulE5f4OK.js +1 -0
- package/dist/client/_nuxt/xI-RfyKK.js +1 -0
- package/dist/client/_nuxt/{BuLMTABM.js → xW4inM5L.js} +1 -1
- package/dist/client/_nuxt/ySlJ1b_l.js +1 -0
- package/dist/client/_nuxt/z307i-ZX.js +1 -0
- package/dist/client/_nuxt/{4xJK-Cl-.js → zocC4JxJ.js} +1 -1
- package/dist/client/index.html +281 -272
- package/dist/module.d.mts +5 -0
- package/dist/module.d.ts +5 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +28 -23
- package/dist/registry.mjs +21 -11
- package/dist/runtime/components/ScriptAriaLoadingIndicator.vue +7 -0
- package/dist/runtime/components/ScriptCarbonAds.vue +12 -7
- package/dist/runtime/components/ScriptCrisp.vue +2 -2
- package/dist/runtime/components/ScriptGoogleAdsense.vue +15 -5
- package/dist/runtime/components/ScriptGoogleMaps.vue +3 -4
- package/dist/runtime/components/ScriptIntercom.vue +2 -2
- package/dist/runtime/components/ScriptLemonSqueezy.vue +1 -1
- package/dist/runtime/components/ScriptLoadingIndicator.vue +1 -1
- package/dist/runtime/components/ScriptStripePricingTable.vue +1 -2
- package/dist/runtime/components/ScriptVimeoPlayer.vue +5 -3
- package/dist/runtime/components/ScriptYouTubePlayer.vue +42 -7
- package/dist/runtime/composables/useScript.d.ts +3 -9
- package/dist/runtime/composables/useScript.js +56 -20
- package/dist/runtime/composables/useScriptEventPage.d.ts +1 -1
- package/dist/runtime/composables/useScriptEventPage.js +3 -1
- package/dist/runtime/composables/useScriptTriggerConsent.js +2 -1
- package/dist/runtime/registry/clarity.d.ts +2 -2
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +3 -3
- package/dist/runtime/registry/crisp.d.ts +7 -7
- package/dist/runtime/registry/fathom-analytics.d.ts +6 -6
- package/dist/runtime/registry/google-adsense.d.ts +7 -3
- package/dist/runtime/registry/google-adsense.js +21 -5
- package/dist/runtime/registry/google-analytics.d.ts +16 -6
- package/dist/runtime/registry/google-analytics.js +18 -20
- package/dist/runtime/registry/google-maps.d.ts +6 -4
- package/dist/runtime/registry/google-maps.js +7 -1
- package/dist/runtime/registry/google-tag-manager.d.ts +28 -7
- package/dist/runtime/registry/google-tag-manager.js +7 -10
- package/dist/runtime/registry/hotjar.d.ts +3 -3
- package/dist/runtime/registry/intercom.d.ts +9 -9
- package/dist/runtime/registry/lemon-squeezy.d.ts +2 -2
- package/dist/runtime/registry/matomo-analytics.d.ts +9 -9
- package/dist/runtime/registry/meta-pixel.d.ts +2 -2
- package/dist/runtime/registry/npm.d.ts +5 -5
- package/dist/runtime/registry/npm.js +24 -8
- package/dist/runtime/registry/plausible-analytics.d.ts +3 -3
- package/dist/runtime/registry/segment.d.ts +3 -3
- package/dist/runtime/registry/snapchat-pixel.d.ts +71 -0
- package/dist/runtime/registry/snapchat-pixel.js +55 -0
- package/dist/runtime/registry/stripe.d.ts +5 -8
- package/dist/runtime/registry/umami-analytics.d.ts +37 -0
- package/dist/runtime/registry/umami-analytics.js +49 -0
- package/dist/runtime/registry/vimeo-player.d.ts +1 -1
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-pixel.d.ts +3 -3
- package/dist/runtime/registry/youtube-player.d.ts +1 -1
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/types.d.ts +27 -3
- package/dist/runtime/utils.d.ts +6 -5
- package/dist/runtime/utils.js +10 -1
- package/package.json +83 -72
- package/dist/client/_nuxt/0T5ymu67.js +0 -1
- package/dist/client/_nuxt/0ts56CJt.js +0 -1
- package/dist/client/_nuxt/3lyMJQcz.js +0 -1
- package/dist/client/_nuxt/6xx0uMgm.js +0 -1
- package/dist/client/_nuxt/8SMlCJmV.js +0 -1
- package/dist/client/_nuxt/B-FJR13u.js +0 -1
- package/dist/client/_nuxt/B-OKjwUG.js +0 -1
- package/dist/client/_nuxt/B0ZmQFon.js +0 -1
- package/dist/client/_nuxt/B1E5idW2.js +0 -1
- package/dist/client/_nuxt/B1XbSs4n.js +0 -1
- package/dist/client/_nuxt/B58gZNix.js +0 -1
- package/dist/client/_nuxt/B5llO_gK.js +0 -1
- package/dist/client/_nuxt/B7J7AyKI.js +0 -1
- package/dist/client/_nuxt/B7XOIRl4.js +0 -1
- package/dist/client/_nuxt/B9OxlhOu.js +0 -1
- package/dist/client/_nuxt/B9Q0WMsD.js +0 -1
- package/dist/client/_nuxt/BAEC07PT.js +0 -1
- package/dist/client/_nuxt/BAu0wM6c.js +0 -1
- package/dist/client/_nuxt/BCb3i8bH.js +0 -1
- package/dist/client/_nuxt/BCw3hbAZ.js +0 -1
- package/dist/client/_nuxt/BDcgth_h.js +0 -1
- package/dist/client/_nuxt/BE2xKufX.js +0 -1
- package/dist/client/_nuxt/BEcDb-Na.js +0 -1
- package/dist/client/_nuxt/BF01YeZy.js +0 -1
- package/dist/client/_nuxt/BHEclcDG.js +0 -1
- package/dist/client/_nuxt/BIy0RtAU.js +0 -1
- package/dist/client/_nuxt/BLUv6Nqx.js +0 -1
- package/dist/client/_nuxt/BPeX9gxW.js +0 -1
- package/dist/client/_nuxt/BPsQvtJ3.js +0 -1
- package/dist/client/_nuxt/BQV5ugrc.js +0 -1
- package/dist/client/_nuxt/BROKSUsM.js +0 -1
- package/dist/client/_nuxt/BSTVB-Zh.js +0 -1
- package/dist/client/_nuxt/BUp808Xb.js +0 -1
- package/dist/client/_nuxt/BUyOnvlq.js +0 -1
- package/dist/client/_nuxt/BVApzM6E.js +0 -1
- package/dist/client/_nuxt/BVVIMG6g.js +0 -1
- package/dist/client/_nuxt/BW52lp3b.js +0 -1
- package/dist/client/_nuxt/BW9ZD3gZ.js +0 -1
- package/dist/client/_nuxt/BWL3L1Rj.js +0 -1
- package/dist/client/_nuxt/BWg3m1GB.js +0 -1
- package/dist/client/_nuxt/BYtCS0qK.js +0 -1
- package/dist/client/_nuxt/B_BYPdvp.js +0 -1
- package/dist/client/_nuxt/B__owCNr.js +0 -1
- package/dist/client/_nuxt/B_x1i5c6.js +0 -1
- package/dist/client/_nuxt/BbpLZdOV.js +0 -1
- package/dist/client/_nuxt/BdR_yyLU.js +0 -1
- package/dist/client/_nuxt/Bg9ztLye.js +0 -1
- package/dist/client/_nuxt/Bh9RF5ip.js +0 -1
- package/dist/client/_nuxt/BhLYpSMR.js +0 -1
- package/dist/client/_nuxt/BjEKrAqD.js +0 -1
- package/dist/client/_nuxt/BjF2LrwI.js +0 -1
- package/dist/client/_nuxt/BjMcCR90.js +0 -1
- package/dist/client/_nuxt/BjRC5yqU.js +0 -1
- package/dist/client/_nuxt/BjcX2RRT.js +0 -1
- package/dist/client/_nuxt/Bko0jCF9.js +0 -1
- package/dist/client/_nuxt/BmCM2l0v.js +0 -1
- package/dist/client/_nuxt/BnPKBSGs.js +0 -1
- package/dist/client/_nuxt/BoOfdGYm.js +0 -1
- package/dist/client/_nuxt/BpPvklgd.js +0 -1
- package/dist/client/_nuxt/Bqf6MFS7.js +0 -1
- package/dist/client/_nuxt/BrOVMvuE.js +0 -1
- package/dist/client/_nuxt/BrrVvCy2.js +0 -1
- package/dist/client/_nuxt/Btrekgbv.js +0 -1
- package/dist/client/_nuxt/Bv7h0bCP.js +0 -1
- package/dist/client/_nuxt/BwfrN1qO.js +0 -1
- package/dist/client/_nuxt/Bwndibuw.js +0 -1
- package/dist/client/_nuxt/BxCF21KD.js +0 -1
- package/dist/client/_nuxt/BynjFSMq.js +0 -1
- package/dist/client/_nuxt/C0VKFdlO.js +0 -1
- package/dist/client/_nuxt/C2m6Gvec.js +0 -1
- package/dist/client/_nuxt/C2vjeecE.js +0 -1
- package/dist/client/_nuxt/C43BjJoh.js +0 -1
- package/dist/client/_nuxt/C57idwSU.js +0 -1
- package/dist/client/_nuxt/C5Qc2LRj.js +0 -1
- package/dist/client/_nuxt/C6FuwQ60.js +0 -1
- package/dist/client/_nuxt/C7H20Cks.js +0 -1
- package/dist/client/_nuxt/C7S4CzKE.js +0 -1
- package/dist/client/_nuxt/C7fYu-fv.js +0 -1
- package/dist/client/_nuxt/C8wC4pmP.js +0 -1
- package/dist/client/_nuxt/CAPJQsDr.js +0 -1
- package/dist/client/_nuxt/CCV3ZPmh.js +0 -1
- package/dist/client/_nuxt/CEOE5b1e.js +0 -1
- package/dist/client/_nuxt/CFatW6r5.js +0 -1
- package/dist/client/_nuxt/CGuz-CSN.js +0 -1
- package/dist/client/_nuxt/CIJ3cGaW.js +0 -1
- package/dist/client/_nuxt/COqprU5r.js +0 -1
- package/dist/client/_nuxt/CP1EG319.js +0 -1
- package/dist/client/_nuxt/CQGc29p4.js +0 -1
- package/dist/client/_nuxt/CQsDZinM.js +0 -1
- package/dist/client/_nuxt/CT73UbIn.js +0 -1
- package/dist/client/_nuxt/CUJn570x.js +0 -1
- package/dist/client/_nuxt/CUmdYwgf.js +0 -1
- package/dist/client/_nuxt/CWRQmTmo.js +0 -1
- package/dist/client/_nuxt/CXnNNlFZ.js +0 -1
- package/dist/client/_nuxt/CYFf_60_.js +0 -1
- package/dist/client/_nuxt/CYSdhsge.js +0 -1
- package/dist/client/_nuxt/CYr8P6xI.js +0 -1
- package/dist/client/_nuxt/CZf9pk28.js +0 -1
- package/dist/client/_nuxt/Cbr_6WWI.js +0 -1
- package/dist/client/_nuxt/Cd60Byqu.js +0 -1
- package/dist/client/_nuxt/Cew1K6Cg.js +0 -1
- package/dist/client/_nuxt/ChWbJ7yd.js +0 -1
- package/dist/client/_nuxt/ChmZjner.js +0 -1
- package/dist/client/_nuxt/Cht5dt-W.js +0 -1
- package/dist/client/_nuxt/CiPC5AOs.js +0 -1
- package/dist/client/_nuxt/Cir5pGlg.js +0 -1
- package/dist/client/_nuxt/CkQAVq00.js +0 -1
- package/dist/client/_nuxt/CpE9kvve.js +0 -1
- package/dist/client/_nuxt/CpVshwiK.js +0 -1
- package/dist/client/_nuxt/Cq1xYuce.js +0 -1
- package/dist/client/_nuxt/CrixQCTd.js +0 -1
- package/dist/client/_nuxt/Cs0nxIjP.js +0 -1
- package/dist/client/_nuxt/CsGRAO9W.js +0 -1
- package/dist/client/_nuxt/CtBVe1Pq.js +0 -1
- package/dist/client/_nuxt/CtKmUX7F.js +0 -1
- package/dist/client/_nuxt/CuBkiCce.js +0 -32
- package/dist/client/_nuxt/CuVvnps0.js +0 -1
- package/dist/client/_nuxt/CvcCkpo_.js +0 -1
- package/dist/client/_nuxt/CwpsUPcU.js +0 -1
- package/dist/client/_nuxt/CyiO1Y79.js +0 -1
- package/dist/client/_nuxt/CzC3klsQ.js +0 -1
- package/dist/client/_nuxt/D0EAa1oa.js +0 -1
- package/dist/client/_nuxt/D1zf6dY5.js +0 -1
- package/dist/client/_nuxt/D3-88OAp.js +0 -1
- package/dist/client/_nuxt/D4Lylsli.js +0 -1
- package/dist/client/_nuxt/D7G93q9C.js +0 -1
- package/dist/client/_nuxt/D7fI1lCl.js +0 -1
- package/dist/client/_nuxt/D9s8soGk.js +0 -1
- package/dist/client/_nuxt/DAfWdUdo.js +0 -1
- package/dist/client/_nuxt/DBO9GoM7.js +0 -1
- package/dist/client/_nuxt/DBkT4gmW.js +0 -1
- package/dist/client/_nuxt/DCFEyJL2.js +0 -1
- package/dist/client/_nuxt/DCTIUqBt.js +0 -1
- package/dist/client/_nuxt/DCUg8VH8.js +0 -1
- package/dist/client/_nuxt/DEFgBD1G.js +0 -1
- package/dist/client/_nuxt/DJmrk1Cw.js +0 -1
- package/dist/client/_nuxt/DMjhmVbd.js +0 -1
- package/dist/client/_nuxt/DOSOf2Sz.js +0 -1
- package/dist/client/_nuxt/DO_ok7XK.js +0 -1
- package/dist/client/_nuxt/DQNb4KLP.js +0 -1
- package/dist/client/_nuxt/DR8HWMN7.js +0 -1
- package/dist/client/_nuxt/DRVv-_m_.js +0 -1
- package/dist/client/_nuxt/DSHhrD2y.js +0 -1
- package/dist/client/_nuxt/DTsQXvoU.js +0 -1
- package/dist/client/_nuxt/DVFStl7U.js +0 -1
- package/dist/client/_nuxt/DW2eHNUk.js +0 -1
- package/dist/client/_nuxt/DXVBNDlZ.js +0 -1
- package/dist/client/_nuxt/DYW4RhyI.js +0 -1
- package/dist/client/_nuxt/DZq_FjYx.js +0 -1
- package/dist/client/_nuxt/Ddn7g-wz.js +0 -1
- package/dist/client/_nuxt/DhN9Ay9f.js +0 -1
- package/dist/client/_nuxt/DhfaepVE.js +0 -1
- package/dist/client/_nuxt/DhpyEkXi.js +0 -1
- package/dist/client/_nuxt/Di51SQ1w.js +0 -1
- package/dist/client/_nuxt/DlZaQvMA.js +0 -1
- package/dist/client/_nuxt/DnnVRBmu.js +0 -1
- package/dist/client/_nuxt/DntxAPSX.js +0 -1
- package/dist/client/_nuxt/DogSxdnH.js +0 -1
- package/dist/client/_nuxt/DpcCWQ-2.js +0 -1
- package/dist/client/_nuxt/DqeIY2qJ.js +0 -1
- package/dist/client/_nuxt/Drg4OoM0.js +0 -1
- package/dist/client/_nuxt/DsXbiA6w.js +0 -1
- package/dist/client/_nuxt/DsbCzHj2.js +0 -1
- package/dist/client/_nuxt/Dv0peDcd.js +0 -1
- package/dist/client/_nuxt/Dv8bwrPQ.js +0 -1
- package/dist/client/_nuxt/DvLiL3pe.js +0 -1
- package/dist/client/_nuxt/DwyNO5EZ.js +0 -1
- package/dist/client/_nuxt/DxCpQIHp.js +0 -1
- package/dist/client/_nuxt/DxbI8p4U.js +0 -1
- package/dist/client/_nuxt/E7TS344s.js +0 -1
- package/dist/client/_nuxt/HADhLPvx.js +0 -1
- package/dist/client/_nuxt/HOY2VmAv.js +0 -1
- package/dist/client/_nuxt/Hko2xDyu.js +0 -1
- package/dist/client/_nuxt/Iv3dgEDH.js +0 -1
- package/dist/client/_nuxt/LCZN91qf.js +0 -1
- package/dist/client/_nuxt/LRuURKN5.js +0 -1
- package/dist/client/_nuxt/LgQ8OdCm.js +0 -1
- package/dist/client/_nuxt/MSkjfxRp.js +0 -1
- package/dist/client/_nuxt/NGqCZ_1i.js +0 -1
- package/dist/client/_nuxt/Q2zEKZ0H.js +0 -1
- package/dist/client/_nuxt/Q5Tz2Thz.js +0 -1
- package/dist/client/_nuxt/RHIKkNfR.js +0 -1
- package/dist/client/_nuxt/Rcb2q3L5.js +0 -1
- package/dist/client/_nuxt/SNdyqYUE.js +0 -1
- package/dist/client/_nuxt/TPzOW7gM.js +0 -1
- package/dist/client/_nuxt/Vs-JvmgV.js +0 -1
- package/dist/client/_nuxt/WOub3wle.js +0 -1
- package/dist/client/_nuxt/XcYHBZy6.js +0 -1
- package/dist/client/_nuxt/XmgiAy50.js +0 -1
- package/dist/client/_nuxt/YQxBa2t3.js +0 -1
- package/dist/client/_nuxt/YrzQadAi.js +0 -1
- package/dist/client/_nuxt/_5tehIHb.js +0 -1
- package/dist/client/_nuxt/_V__kATy.js +0 -1
- package/dist/client/_nuxt/a3_z4MXy.js +0 -1
- package/dist/client/_nuxt/aTVvUMxQ.js +0 -1
- package/dist/client/_nuxt/bnD_hORV.js +0 -1
- package/dist/client/_nuxt/builds/meta/121ff337-a303-4521-86d3-7d2fc670bf7b.json +0 -1
- package/dist/client/_nuxt/d-Z_xI-x.js +0 -1
- package/dist/client/_nuxt/dtd2CbDm.js +0 -1
- package/dist/client/_nuxt/entry.BAZUAl3s.css +0 -1
- package/dist/client/_nuxt/error-404.BaUXBWvP.css +0 -1
- package/dist/client/_nuxt/error-500.DKbB3rif.css +0 -1
- package/dist/client/_nuxt/gUX51GpB.js +0 -1
- package/dist/client/_nuxt/gqDMXQVE.js +0 -1
- package/dist/client/_nuxt/h7hxXpOI.js +0 -1
- package/dist/client/_nuxt/ifhVRNHP.js +0 -1
- package/dist/client/_nuxt/ioUwV4aO.js +0 -1
- package/dist/client/_nuxt/lx0cuFob.js +0 -1
- package/dist/client/_nuxt/moexCyJv.js +0 -1
- package/dist/client/_nuxt/qzMrTjg-.js +0 -1
- package/dist/client/_nuxt/rTmpE8q-.js +0 -1
- package/dist/client/_nuxt/rjpFJd7F.js +0 -1
- package/dist/client/_nuxt/rzD4PCBf.js +0 -1
- package/dist/client/_nuxt/s-s--efq.js +0 -1
- package/dist/client/_nuxt/si7wuSrt.js +0 -1
- package/dist/client/_nuxt/tIyOULBv.js +0 -1
- package/dist/client/_nuxt/v-7hwHEi.js +0 -1
- package/dist/client/_nuxt/zO687AYL.js +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@9.11.0",
|
|
4
|
+
"version": "0.10.0",
|
|
6
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
7
6
|
"author": {
|
|
8
7
|
"website": "https://harlanzw.com",
|
|
@@ -34,100 +33,112 @@
|
|
|
34
33
|
"files": [
|
|
35
34
|
"dist"
|
|
36
35
|
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"build": "pnpm dev:prepare && pnpm prepack",
|
|
39
|
-
"client:build": "nuxi generate client",
|
|
40
|
-
"client:dev": "nuxi dev client --port 3300",
|
|
41
|
-
"prepack": "nuxt-module-build build && npm run client:build",
|
|
42
|
-
"dev": "nuxi dev playground",
|
|
43
|
-
"dev:ssl": "nuxi dev playground --https",
|
|
44
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
45
|
-
"typecheck": "pnpm dlx vue-tsc --noEmit",
|
|
46
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
47
|
-
"release:minor": "npm run lint && npm run test && npm run prepack && changelogen --minor --release",
|
|
48
|
-
"lint": "eslint .",
|
|
49
|
-
"lint:fix": "eslint . --fix",
|
|
50
|
-
"test": "vitest",
|
|
51
|
-
"test:types": "echo 'broken due to type regeneration, use pnpm typecheck' && npx nuxi typecheck",
|
|
52
|
-
"script:generate-tpc": "bun ./scripts/generateTpcScripts.ts && pnpm lint:fix"
|
|
53
|
-
},
|
|
54
36
|
"build": {
|
|
55
37
|
"externals": [
|
|
56
38
|
"@unhead/vue",
|
|
57
39
|
"@unhead/schema",
|
|
58
|
-
"third-party-capital",
|
|
59
40
|
"knitwork",
|
|
60
41
|
"estree-walker",
|
|
61
42
|
"#build/modules/nuxt-scripts-gtm",
|
|
62
43
|
"#build/modules/nuxt-scripts-ga",
|
|
63
44
|
"@vimeo/player",
|
|
64
|
-
"esbuild"
|
|
45
|
+
"esbuild",
|
|
46
|
+
"unimport"
|
|
65
47
|
]
|
|
66
48
|
},
|
|
67
|
-
"
|
|
68
|
-
"@
|
|
69
|
-
"@nuxt/devtools-ui-kit": "^1.5.1",
|
|
70
|
-
"@nuxt/kit": "^3.13.2",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@stripe/stripe-js": "^5.6.0",
|
|
71
51
|
"@types/google.maps": "^3.58.1",
|
|
72
|
-
"@types/stripe-v3": "^3.1.33",
|
|
73
52
|
"@types/vimeo__player": "^2.18.3",
|
|
74
53
|
"@types/youtube": "^0.1.0",
|
|
75
|
-
"@unhead/vue": "1
|
|
76
|
-
|
|
77
|
-
|
|
54
|
+
"@unhead/vue": "^1"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"@stripe/stripe-js": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"@types/google.maps": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"@types/vimeo__player": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"@types/youtube": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@nuxt/kit": "^3.15.4",
|
|
72
|
+
"@vueuse/core": "^12.5.0",
|
|
73
|
+
"consola": "^3.4.0",
|
|
78
74
|
"defu": "^6.1.4",
|
|
79
|
-
"h3": "^1.
|
|
80
|
-
"magic-string": "^0.30.
|
|
81
|
-
"
|
|
82
|
-
"ofetch": "^1.4.0",
|
|
75
|
+
"h3": "^1.15.0",
|
|
76
|
+
"magic-string": "^0.30.17",
|
|
77
|
+
"ofetch": "^1.4.1",
|
|
83
78
|
"ohash": "^1.1.4",
|
|
84
|
-
"pathe": "^
|
|
85
|
-
"pkg-types": "^1.
|
|
86
|
-
"semver": "^7.
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"std-env": "^3.7.0",
|
|
90
|
-
"third-party-capital": "2.3.0",
|
|
79
|
+
"pathe": "^2.0.2",
|
|
80
|
+
"pkg-types": "^1.3.1",
|
|
81
|
+
"semver": "^7.7.1",
|
|
82
|
+
"sirv": "^3.0.0",
|
|
83
|
+
"std-env": "^3.8.0",
|
|
91
84
|
"ufo": "^1.5.4",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"valibot": "^0.42.1"
|
|
85
|
+
"unplugin": "^2.1.2",
|
|
86
|
+
"unstorage": "^1.14.4",
|
|
87
|
+
"valibot": "^1.0.0-beta.15"
|
|
96
88
|
},
|
|
97
89
|
"devDependencies": {
|
|
98
|
-
"@nuxt/devtools-
|
|
99
|
-
"@nuxt/
|
|
90
|
+
"@nuxt/devtools-kit": "^2.0.0",
|
|
91
|
+
"@nuxt/devtools-ui-kit": "^2.0.0",
|
|
92
|
+
"@nuxt/eslint-config": "^1.0.0",
|
|
100
93
|
"@nuxt/module-builder": "^0.8.4",
|
|
101
|
-
"@nuxt/test-utils": "3.
|
|
94
|
+
"@nuxt/test-utils": "3.15.4",
|
|
102
95
|
"@types/semver": "^7.5.8",
|
|
103
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
104
|
-
"@unhead/schema": "1.11.
|
|
96
|
+
"@typescript-eslint/typescript-estree": "^8.23.0",
|
|
97
|
+
"@unhead/schema": "^1.11.18",
|
|
105
98
|
"acorn-loose": "^8.4.0",
|
|
106
|
-
"bumpp": "^
|
|
99
|
+
"bumpp": "^10.0.2",
|
|
107
100
|
"changelogen": "^0.5.7",
|
|
108
|
-
"eslint": "9.
|
|
109
|
-
"eslint-plugin-n": "^17.
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"nuxt
|
|
113
|
-
"playwright-core": "^1.
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"vue
|
|
101
|
+
"eslint": "9.19.0",
|
|
102
|
+
"eslint-plugin-n": "^17.15.1",
|
|
103
|
+
"happy-dom": "^17.0.0",
|
|
104
|
+
"knitwork": "^1.2.0",
|
|
105
|
+
"nuxt": "^3.15.4",
|
|
106
|
+
"playwright-core": "^1.50.1",
|
|
107
|
+
"shiki": "2.3.2",
|
|
108
|
+
"typescript": "5.7.3",
|
|
109
|
+
"vitest": "^3.0.5",
|
|
110
|
+
"vue": "^3.5.13",
|
|
111
|
+
"vue-router": "^4.5.0",
|
|
112
|
+
"vue-tsc": "^2.2.0"
|
|
118
113
|
},
|
|
119
114
|
"resolutions": {
|
|
120
|
-
"@nuxt/schema": "
|
|
115
|
+
"@nuxt/schema": "catalog:",
|
|
121
116
|
"@nuxt/scripts": "workspace:*",
|
|
122
|
-
"@unhead/dom": "1.11.
|
|
123
|
-
"@unhead/schema": "1.11.
|
|
124
|
-
"@unhead/shared": "1.11.
|
|
125
|
-
"@unhead/ssr": "1.11.
|
|
126
|
-
"@unhead/vue": "1.11.
|
|
127
|
-
"nuxt": "
|
|
128
|
-
"
|
|
129
|
-
"unhead": "1.11.
|
|
130
|
-
"vue": "^3.5.
|
|
131
|
-
"vue-router": "^4.
|
|
117
|
+
"@unhead/dom": "1.11.18",
|
|
118
|
+
"@unhead/schema": "1.11.18",
|
|
119
|
+
"@unhead/shared": "1.11.18",
|
|
120
|
+
"@unhead/ssr": "1.11.18",
|
|
121
|
+
"@unhead/vue": "1.11.18",
|
|
122
|
+
"nuxt": "catalog:",
|
|
123
|
+
"typescript": "5.6.3",
|
|
124
|
+
"unhead": "1.11.18",
|
|
125
|
+
"vue": "^3.5.13",
|
|
126
|
+
"vue-router": "^4.5.0"
|
|
127
|
+
},
|
|
128
|
+
"scripts": {
|
|
129
|
+
"build": "pnpm dev:prepare && pnpm prepack",
|
|
130
|
+
"client:build": "nuxi generate client",
|
|
131
|
+
"client:dev": "nuxi dev client --port 3300",
|
|
132
|
+
"dev": "nuxi dev playground",
|
|
133
|
+
"dev:ssl": "nuxi dev playground --https",
|
|
134
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
135
|
+
"typecheck": "vue-tsc --noEmit",
|
|
136
|
+
"bump": "bumpp package.json --commit --push --tag",
|
|
137
|
+
"release": "pnpm build && pnpm bump && pnpm publish --tag latest -r --no-git-checks",
|
|
138
|
+
"lint": "eslint .",
|
|
139
|
+
"lint:fix": "eslint . --fix",
|
|
140
|
+
"test": "pnpm dev:prepare && vitest --run --exclude **/__runtime__ && pnpm test:runtime",
|
|
141
|
+
"test:runtime": "cd test/fixtures/basic && vitest --run",
|
|
142
|
+
"test:types": "echo 'broken due to type regeneration, use pnpm typecheck' && npx nuxi typecheck"
|
|
132
143
|
}
|
|
133
|
-
}
|
|
144
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse('{"displayName":"HLSL","name":"hlsl","patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.line.block.hlsl"},{"begin":"//","end":"$","name":"comment.line.double-slash.hlsl"},{"match":"\\\\b\\\\d+\\\\.\\\\d*(F|f)?\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"(\\\\.(\\\\d+)(F|f)?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b(\\\\d+(F|f)?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b(0(x|X)[0-9a-fA-F]+)\\\\b","name":"constant.numeric.hex.hlsl"},{"match":"\\\\b(false|true)\\\\b","name":"constant.language.hlsl"},{"match":"^\\\\s*#\\\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)","name":"keyword.preprocessor.hlsl"},{"match":"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b","name":"keyword.control.hlsl"},{"match":"\\\\b(compile)\\\\b","name":"keyword.control.fx.hlsl"},{"match":"\\\\b(typedef)\\\\b","name":"keyword.typealias.hlsl"},{"match":"\\\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\\\b","name":"storage.type.basic.hlsl"},{"match":"\\\\b([a-zA-Z_]\\\\w*)(?=[\\\\s]*\\\\()","name":"support.function.hlsl"},{"match":"(?<=:\\\\s|:)(?i:BINORMAL\\\\d*|BLENDINDICES\\\\d*|BLENDWEIGHT\\\\d*|COLOR\\\\d*|NORMAL\\\\d*|POSITIONT|POSITION|PSIZE\\\\d*|TANGENT\\\\d*|TEXCOORD\\\\d*|FOG|TESSFACTOR\\\\d*|VFACE|VPOS|DEPTH\\\\d*)\\\\b","name":"support.variable.semantic.hlsl"},{"match":"(?<=:\\\\s|:)(?i:SV_ClipDistance\\\\d*|SV_CullDistance\\\\d*|SV_Coverage|SV_Depth|SV_DepthGreaterEqual\\\\d*|SV_DepthLessEqual\\\\d*|SV_InstanceID|SV_IsFrontFace|SV_Position|SV_RenderTargetArrayIndex|SV_SampleIndex|SV_StencilRef|SV_Target[0-7]?|SV_VertexID|SV_ViewportArrayIndex)\\\\b","name":"support.variable.semantic.sm4.hlsl"},{"match":"(?<=:\\\\s|:)(?i:SV_DispatchThreadID|SV_DomainLocation|SV_GroupID|SV_GroupIndex|SV_GroupThreadID|SV_GSInstanceID|SV_InsideTessFactor|SV_OutputControlPointID|SV_TessFactor)\\\\b","name":"support.variable.semantic.sm5.hlsl"},{"match":"(?<=:\\\\s|:)(?i:SV_InnerCoverage|SV_StencilRef)\\\\b","name":"support.variable.semantic.sm5_1.hlsl"},{"match":"\\\\b(column_major|const|export|extern|globallycoherent|groupshared|inline|inout|in|out|precise|row_major|shared|static|uniform|volatile)\\\\b","name":"storage.modifier.hlsl"},{"match":"\\\\b(snorm|unorm)\\\\b","name":"storage.modifier.float.hlsl"},{"match":"\\\\b(packoffset|register)\\\\b","name":"storage.modifier.postfix.hlsl"},{"match":"\\\\b(centroid|linear|nointerpolation|noperspective|sample)\\\\b","name":"storage.modifier.interpolation.hlsl"},{"match":"\\\\b(lineadj|line|point|triangle|triangleadj)\\\\b","name":"storage.modifier.geometryshader.hlsl"},{"match":"\\\\b(string)\\\\b","name":"support.type.other.hlsl"},{"match":"\\\\b(AppendStructuredBuffer|Buffer|ByteAddressBuffer|ConstantBuffer|ConsumeStructuredBuffer|InputPatch|OutputPatch)\\\\b","name":"support.type.object.hlsl"},{"match":"\\\\b(RasterizerOrderedBuffer|RasterizerOrderedByteAddressBuffer|RasterizerOrderedStructuredBuffer|RasterizerOrderedTexture1D|RasterizerOrderedTexture1DArray|RasterizerOrderedTexture2D|RasterizerOrderedTexture2DArray|RasterizerOrderedTexture3D)\\\\b","name":"support.type.object.rasterizerordered.hlsl"},{"match":"\\\\b(RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture1D|RWTexture1DArray|RWTexture2D|RWTexture2DArray|RWTexture3D)\\\\b","name":"support.type.object.rw.hlsl"},{"match":"\\\\b(LineStream|PointStream|TriangleStream)\\\\b","name":"support.type.object.geometryshader.hlsl"},{"match":"\\\\b(sampler|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler_state)\\\\b","name":"support.type.sampler.legacy.hlsl"},{"match":"\\\\b(SamplerState|SamplerComparisonState)\\\\b","name":"support.type.sampler.hlsl"},{"match":"\\\\b(texture2D|textureCUBE)\\\\b","name":"support.type.texture.legacy.hlsl"},{"match":"\\\\b(Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture2DMS|Texture2DMSArray|Texture3D|TextureCube|TextureCubeArray)\\\\b","name":"support.type.texture.hlsl"},{"match":"\\\\b(cbuffer|class|interface|namespace|struct|tbuffer)\\\\b","name":"storage.type.structured.hlsl"},{"match":"\\\\b(FALSE|TRUE|NULL)\\\\b","name":"support.constant.property-value.fx.hlsl"},{"match":"\\\\b(BlendState|DepthStencilState|RasterizerState)\\\\b","name":"support.type.fx.hlsl"},{"match":"\\\\b(technique|Technique|technique10|technique11|pass)\\\\b","name":"storage.type.fx.technique.hlsl"},{"match":"\\\\b(AlphaToCoverageEnable|BlendEnable|SrcBlend|DestBlend|BlendOp|SrcBlendAlpha|DestBlendAlpha|BlendOpAlpha|RenderTargetWriteMask)\\\\b","name":"meta.object-literal.key.fx.blendstate.hlsl"},{"match":"\\\\b(DepthEnable|DepthWriteMask|DepthFunc|StencilEnable|StencilReadMask|StencilWriteMask|FrontFaceStencilFail|FrontFaceStencilZFail|FrontFaceStencilPass|FrontFaceStencilFunc|BackFaceStencilFail|BackFaceStencilZFail|BackFaceStencilPass|BackFaceStencilFunc)\\\\b","name":"meta.object-literal.key.fx.depthstencilstate.hlsl"},{"match":"\\\\b(FillMode|CullMode|FrontCounterClockwise|DepthBias|DepthBiasClamp|SlopeScaleDepthBias|ZClipEnable|ScissorEnable|MultiSampleEnable|AntiAliasedLineEnable)\\\\b","name":"meta.object-literal.key.fx.rasterizerstate.hlsl"},{"match":"\\\\b(Filter|AddressU|AddressV|AddressW|MipLODBias|MaxAnisotropy|ComparisonFunc|BorderColor|MinLOD|MaxLOD)\\\\b","name":"meta.object-literal.key.fx.samplerstate.hlsl"},{"match":"\\\\b(?i:ZERO|ONE|SRC_COLOR|INV_SRC_COLOR|SRC_ALPHA|INV_SRC_ALPHA|DEST_ALPHA|INV_DEST_ALPHA|DEST_COLOR|INV_DEST_COLOR|SRC_ALPHA_SAT|BLEND_FACTOR|INV_BLEND_FACTOR|SRC1_COLOR|INV_SRC1_COLOR|SRC1_ALPHA|INV_SRC1_ALPHA)\\\\b","name":"support.constant.property-value.fx.blend.hlsl"},{"match":"\\\\b(?i:ADD|SUBTRACT|REV_SUBTRACT|MIN|MAX)\\\\b","name":"support.constant.property-value.fx.blendop.hlsl"},{"match":"\\\\b(?i:ALL)\\\\b","name":"support.constant.property-value.fx.depthwritemask.hlsl"},{"match":"\\\\b(?i:NEVER|LESS|EQUAL|LESS_EQUAL|GREATER|NOT_EQUAL|GREATER_EQUAL|ALWAYS)\\\\b","name":"support.constant.property-value.fx.comparisonfunc.hlsl"},{"match":"\\\\b(?i:KEEP|REPLACE|INCR_SAT|DECR_SAT|INVERT|INCR|DECR)\\\\b","name":"support.constant.property-value.fx.stencilop.hlsl"},{"match":"\\\\b(?i:WIREFRAME|SOLID)\\\\b","name":"support.constant.property-value.fx.fillmode.hlsl"},{"match":"\\\\b(?i:NONE|FRONT|BACK)\\\\b","name":"support.constant.property-value.fx.cullmode.hlsl"},{"match":"\\\\b(?i:MIN_MAG_MIP_POINT|MIN_MAG_POINT_MIP_LINEAR|MIN_POINT_MAG_LINEAR_MIP_POINT|MIN_POINT_MAG_MIP_LINEAR|MIN_LINEAR_MAG_MIP_POINT|MIN_LINEAR_MAG_POINT_MIP_LINEAR|MIN_MAG_LINEAR_MIP_POINT|MIN_MAG_MIP_LINEAR|ANISOTROPIC|COMPARISON_MIN_MAG_MIP_POINT|COMPARISON_MIN_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_POINT_MAG_MIP_LINEAR|COMPARISON_MIN_LINEAR_MAG_MIP_POINT|COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_MAG_MIP_LINEAR|COMPARISON_ANISOTROPIC|TEXT_1BIT)\\\\b","name":"support.constant.property-value.fx.filter.hlsl"},{"match":"\\\\b(?i:WRAP|MIRROR|CLAMP|BORDER|MIRROR_ONCE)\\\\b","name":"support.constant.property-value.fx.textureaddressmode.hlsl"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.hlsl","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.hlsl"}]}],"scopeName":"source.hlsl"}'));var t=[e];export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze(JSON.parse(`{"displayName":"Go","name":"go","patterns":[{"include":"#statements"}],"repository":{"after_control_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"(?:\\\\w+)","name":"variable.other.go"}]}},"comment":"After control variables, to not highlight as a struct/interface (before formatting with gofmt)","match":"(?:(?<=\\\\brange\\\\b|\\\\bswitch\\\\b|\\\\;|\\\\bif\\\\b|\\\\bfor\\\\b|<|>|<=|>=|==|!=|\\\\w(?:\\\\+|/|-|\\\\*|\\\\%)|\\\\w(?:\\\\+|/|-|\\\\*|\\\\%)=|\\\\|\\\\||\\\\&\\\\&)(?:\\\\s*)((?![\\\\[\\\\]]+)[0-9A-Za-z\\\\-_!\\\\.\\\\[\\\\]<>=\\\\*/+\\\\%:]+)(?:\\\\s*)(?=\\\\{))"},"brackets":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"$self"}]}]},"built_in_functions":{"comment":"Built-in functions","patterns":[{"match":"\\\\b(append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover|min|max|clear)\\\\b(?=\\\\()","name":"entity.name.function.support.builtin.go"},{"begin":"(?:(\\\\bnew\\\\b)(\\\\())","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"comment":"new keyword","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#functions"},{"include":"#struct_variables_types"},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"},{"include":"$self"}]},{"begin":"(?:(\\\\bmake\\\\b)(?:(\\\\()((?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?:[\\\\[\\\\]\\\\*]+)?(?:(?!\\\\bmap\\\\b)(?:[\\\\w\\\\.]+))?(\\\\[(?:(?:[\\\\S]+)(?:(?:\\\\,\\\\s*(?:[\\\\S]+))*))?\\\\])?(?:\\\\,)?)?))","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"make keyword","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]}]},"comments":{"patterns":[{"begin":"(\\\\/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"(\\\\*\\\\/)","endCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"name":"comment.block.go"},{"begin":"(\\\\/\\\\/)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"(?:\\\\n|$)","name":"comment.line.double-slash.go"}]},"delimiters":{"patterns":[{"match":"\\\\,","name":"punctuation.other.comma.go"},{"match":"\\\\.(?!\\\\.\\\\.)","name":"punctuation.other.period.go"},{"match":":(?!=)","name":"punctuation.other.colon.go"}]},"double_parentheses_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"double parentheses types","match":"(?:(?<!\\\\w)(\\\\((?:[\\\\w\\\\.\\\\[\\\\]\\\\*\\\\&]+)\\\\))(?=\\\\())"},"field_hover":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"match":"\\\\binvalid\\\\b\\\\s+\\\\btype\\\\b","name":"invalid.field.go"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"struct field property and types when hovering with the mouse","match":"(?:(?<=^\\\\bfield\\\\b)\\\\s+([\\\\w\\\\*\\\\.]+)\\\\s+([\\\\s\\\\S]+))"},"function_declaration":{"begin":"(?:^(\\\\bfunc\\\\b)(?:\\\\s*(\\\\([^)]+\\\\)\\\\s*)?(?:(\\\\w+)(?=\\\\(|\\\\[))?))","beginCaptures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"name":"variable.parameter.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"match":"(?:(\\\\w+(?:\\\\s+))?((?:[\\\\w\\\\.\\\\*]+)(?:\\\\[(?:(?:(?:[\\\\w\\\\.\\\\*]+)(?:\\\\,\\\\s+)?)+)?\\\\])?))"},{"include":"$self"}]}]},"3":{"patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.go"}]}},"comment":"Function declarations","end":"(?:(?<=\\\\))\\\\s*((?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?!(?:[\\\\[\\\\]\\\\*]+)?(?:\\\\bstruct\\\\b|\\\\binterface\\\\b))[\\\\w\\\\.\\\\-\\\\*\\\\[\\\\]]+)?\\\\s*(?=\\\\{))","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"begin":"(?:([\\\\w\\\\.\\\\*]+)?(\\\\[))","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"single function as a type returned type(s) declaration","match":"(?:(?<=\\\\))(?:\\\\s*)((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?[\\\\w\\\\*\\\\.\\\\[\\\\]<>\\\\-]+(?:\\\\s*)(?:\\\\/(?:\\\\/|\\\\*).*)?)$)"},{"include":"$self"}]},"function_param_types":{"comment":"function parameter variables and types","patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"comment":"struct/interface type declaration","match":"((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)?\\\\b\\\\w+)\\\\s+(?=(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"comment":"multiple parameters one type -with multilines","match":"(?:(?:(?<=\\\\()|^\\\\s*)((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)(?:/(?:/|\\\\*).*)?)$)"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"multiple params and types | multiple params one type | one param one type","match":"(?:((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)?\\\\b\\\\w+)(?:\\\\s+)((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:(?:(?:[\\\\w\\\\[\\\\]\\\\.\\\\*]+)?(?:(?:\\\\bfunc\\\\b\\\\((?:[^)]+)?\\\\))(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:\\\\s*))+(?:(?:(?:[\\\\w\\\\*\\\\.\\\\[\\\\]]+)|(?:\\\\((?:[^)]+)?\\\\))))?)|(?:(?:[\\\\[\\\\]\\\\*]+)?[\\\\w\\\\*\\\\.]+(?:\\\\[(?:[^\\\\]]+)\\\\])?(?:[\\\\w\\\\.\\\\*]+)?)+)))"},{"include":"#parameter-variable-types"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"other types","match":"([\\\\w\\\\.]+)"},{"include":"$self"}]},"functions":{"begin":"(?:(\\\\bfunc\\\\b)(?=\\\\())","beginCaptures":{"1":{"name":"keyword.function.go"}},"comment":"Functions","end":"(?:(?<=\\\\))(\\\\s*(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?((?:(?:\\\\s*(?:(?:[\\\\[\\\\]\\\\*]+)?[\\\\w\\\\.\\\\*]+)?(?:(?:\\\\[(?:(?:[\\\\w\\\\.\\\\*]+)?(?:\\\\[(?:[^\\\\]]+)?\\\\])?(?:\\\\,\\\\s+)?)+\\\\])|(?:\\\\((?:[^)]+)?\\\\)))?(?:[\\\\w\\\\.\\\\*]+)?)(?:\\\\s*)(?=\\\\{))|(?:\\\\s*(?:(?:(?:[\\\\[\\\\]\\\\*]+)?(?!\\\\bfunc\\\\b)(?:[\\\\w\\\\.\\\\*]+)(?:\\\\[(?:(?:[\\\\w\\\\.\\\\*]+)?(?:\\\\[(?:[^\\\\]]+)?\\\\])?(?:\\\\,\\\\s+)?)+\\\\])?(?:[\\\\w\\\\.\\\\*]+)?)|(?:\\\\((?:[^)]+)?\\\\)))))?)","endCaptures":{"1":{"patterns":[{"include":"#type-declarations"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"patterns":[{"include":"#parameter-variable-types"}]},"functions_inline":{"captures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"\\\\}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"functions in-line with multi return types","match":"(?:(\\\\bfunc\\\\b)((?:\\\\((?:[^/]*?)\\\\))(?:\\\\s+)(?:\\\\((?:[^/]*?)\\\\)))(?:\\\\s+)(?=\\\\{))"},"generic_param_types":{"comment":"generic parameter variables and types","patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"comment":"struct/interface type declaration","match":"((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)?\\\\b\\\\w+)\\\\s+(?=(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"comment":"multiple parameters one type -with multilines","match":"(?:(?:(?<=\\\\()|^\\\\s*)((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)(?:/(?:/|\\\\*).*)?)$)"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]},"3":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"multiple params and types | multiple types one param","match":"(?:((?:(?:\\\\b\\\\w+\\\\,\\\\s*)+)?\\\\b\\\\w+)(?:\\\\s+)((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:(?:(?:[\\\\w\\\\[\\\\]\\\\.\\\\*]+)?(?:(?:\\\\bfunc\\\\b\\\\((?:[^)]+)?\\\\))(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:\\\\s*))+(?:(?:(?:[\\\\w\\\\*\\\\.]+)|(?:\\\\((?:[^)]+)?\\\\))))?)|(?:(?:(?:[\\\\w\\\\*\\\\.\\\\~]+)|(?:\\\\[(?:(?:[\\\\w\\\\.\\\\*]+)?(?:\\\\[(?:[^\\\\]]+)?\\\\])?(?:\\\\,\\\\s+)?)+\\\\]))(?:[\\\\w\\\\.\\\\*]+)?)+)))"},{"include":"#parameter-variable-types"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"other types","match":"(?:\\\\b([\\\\w\\\\.]+))"},{"include":"$self"}]},"generic_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"include":"#parameter-variable-types"}]}},"comment":"Generic support for all types","match":"(?:([\\\\w\\\\.\\\\*]+)(\\\\[(?:[^\\\\]]+)?\\\\]))"},"group-functions":{"comment":"all statements related to functions","patterns":[{"include":"#function_declaration"},{"include":"#functions_inline"},{"include":"#functions"},{"include":"#built_in_functions"},{"include":"#support_functions"}]},"group-types":{"comment":"all statements related to types","patterns":[{"include":"#other_struct_interface_expressions"},{"include":"#type_assertion_inline"},{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#single_type"},{"include":"#multi_types"},{"include":"#struct_interface_declaration"},{"include":"#double_parentheses_types"},{"include":"#switch_types"},{"include":"#type-declarations"}]},"group-variables":{"comment":"all statements related to variables","patterns":[{"include":"#var_const_assignment"},{"include":"#variable_assignment"},{"include":"#label_loop_variables"},{"include":"#slice_index_variables"},{"include":"#property_variables"},{"include":"#switch_select_case_variables"},{"include":"#other_variables"}]},"import":{"comment":"import","patterns":[{"begin":"\\\\b(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.import.go"}},"comment":"import","end":"(?!\\\\G)","patterns":[{"include":"#imports"}]}]},"imports":{"comment":"import package(s)","patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"(?:\\\\w+)","name":"variable.other.import.go"}]},"2":{"name":"string.quoted.double.go"},"3":{"name":"punctuation.definition.string.begin.go"},"4":{"name":"entity.name.import.go"},"5":{"name":"punctuation.definition.string.end.go"}},"match":"(\\\\s*[\\\\w\\\\.]+)?\\\\s*((\\")([^\\"]*)(\\"))"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.imports.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.imports.end.bracket.round.go"}},"patterns":[{"include":"#comments"},{"include":"#imports"}]},{"include":"$self"}]},"interface_variables_types":{"begin":"(\\\\binterface\\\\b)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.interface.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"comment":"interface variable types","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},"interface_variables_types_field":{"comment":"interface variable type fields","patterns":[{"include":"#support_functions"},{"include":"#type-declarations-without-brackets"},{"begin":"(?:([\\\\w\\\\.\\\\*]+)?(\\\\[))","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"other types","match":"([\\\\w\\\\.]+)"}]},"keywords":{"patterns":[{"comment":"Flow control keywords","match":"\\\\b(break|case|continue|default|defer|else|fallthrough|for|go|goto|if|range|return|select|switch)\\\\b","name":"keyword.control.go"},{"match":"\\\\bchan\\\\b","name":"keyword.channel.go"},{"match":"\\\\bconst\\\\b","name":"keyword.const.go"},{"match":"\\\\bvar\\\\b","name":"keyword.var.go"},{"match":"\\\\bfunc\\\\b","name":"keyword.function.go"},{"match":"\\\\binterface\\\\b","name":"keyword.interface.go"},{"match":"\\\\bmap\\\\b","name":"keyword.map.go"},{"match":"\\\\bstruct\\\\b","name":"keyword.struct.go"},{"match":"\\\\bimport\\\\b","name":"keyword.control.import.go"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"label_loop_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.label.go"}]}},"comment":"labeled loop variable name","match":"((?:^\\\\s*\\\\w+:\\\\s*$)|(?:^\\\\s*(?:\\\\bbreak\\\\b|\\\\bgoto\\\\b|\\\\bcontinue\\\\b)\\\\s+\\\\w+(?:\\\\s*/(?:/|\\\\*)\\\\s*.*)?$))"},"language_constants":{"captures":{"1":{"name":"constant.language.boolean.go"},"2":{"name":"constant.language.null.go"},"3":{"name":"constant.language.iota.go"}},"comment":"Language constants","match":"\\\\b(?:(true|false)|(nil)|(iota))\\\\b"},"map_types":{"begin":"(?:(\\\\bmap\\\\b)(\\\\[))","beginCaptures":{"1":{"name":"keyword.map.go"},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"comment":"map types","end":"(?:(\\\\])((?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?!(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:func|struct|map)\\\\b)(?:[\\\\*\\\\[\\\\]]+)?(?:[\\\\w\\\\.]+)(?:\\\\[(?:(?:[\\\\w\\\\.\\\\*\\\\[\\\\]{}]+)(?:(?:\\\\,\\\\s*(?:[\\\\w\\\\.\\\\*\\\\[\\\\]{}]+))*))?\\\\])?)?)","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.square.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"include":"#functions"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"\\\\}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"multi_types":{"begin":"(\\\\btype\\\\b)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"comment":"multi type declaration","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]},"numeric_literals":{"captures":{"0":{"patterns":[{"begin":"(?=.)","end":"(?:\\\\n|$)","patterns":[{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"constant.numeric.decimal.point.go"},"4":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"5":{"name":"punctuation.separator.constant.numeric.go"},"6":{"name":"keyword.other.unit.exponent.decimal.go"},"7":{"name":"keyword.operator.plus.exponent.decimal.go"},"8":{"name":"keyword.operator.minus.exponent.decimal.go"},"9":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"keyword.other.unit.imaginary.go"},"11":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"12":{"name":"punctuation.separator.constant.numeric.go"},"13":{"name":"keyword.other.unit.exponent.decimal.go"},"14":{"name":"keyword.operator.plus.exponent.decimal.go"},"15":{"name":"keyword.operator.minus.exponent.decimal.go"},"16":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"17":{"name":"keyword.other.unit.imaginary.go"},"18":{"name":"constant.numeric.decimal.point.go"},"19":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"20":{"name":"punctuation.separator.constant.numeric.go"},"21":{"name":"keyword.other.unit.exponent.decimal.go"},"22":{"name":"keyword.operator.plus.exponent.decimal.go"},"23":{"name":"keyword.operator.minus.exponent.decimal.go"},"24":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"25":{"name":"keyword.other.unit.imaginary.go"},"26":{"name":"keyword.other.unit.hexadecimal.go"},"27":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"28":{"name":"punctuation.separator.constant.numeric.go"},"29":{"name":"constant.numeric.hexadecimal.go"},"30":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"31":{"name":"punctuation.separator.constant.numeric.go"},"32":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"33":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"34":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"35":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"36":{"name":"keyword.other.unit.imaginary.go"},"37":{"name":"keyword.other.unit.hexadecimal.go"},"38":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"39":{"name":"punctuation.separator.constant.numeric.go"},"40":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"41":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"42":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"43":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"44":{"name":"keyword.other.unit.imaginary.go"},"45":{"name":"keyword.other.unit.hexadecimal.go"},"46":{"name":"constant.numeric.hexadecimal.go"},"47":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"48":{"name":"punctuation.separator.constant.numeric.go"},"49":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"50":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"51":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"52":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"53":{"name":"keyword.other.unit.imaginary.go"}},"match":"(?:(?:(?:(?:(?:\\\\G(?=[0-9.])(?!0[xXbBoO])(\\\\d(?:\\\\d|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)((?:(?<=\\\\d)\\\\.|\\\\.(?=\\\\d)))(\\\\d(?:\\\\d|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)?(?:(?<!_)([eE])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)))?(i(?!\\\\w))?(?:\\\\n|$)|\\\\G(?=[0-9.])(?!0[xXbBoO])(\\\\d(?:\\\\d|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(?<!_)([eE])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*))(i(?!\\\\w))?(?:\\\\n|$))|\\\\G((?:(?<=\\\\d)\\\\.|\\\\.(?=\\\\d)))(\\\\d(?:\\\\d|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(?:(?<!_)([eE])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)))?(i(?!\\\\w))?(?:\\\\n|$))|(\\\\G0[xX])_?([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)((?:(?<=[0-9a-fA-F])\\\\.|\\\\.(?=[0-9a-fA-F])))([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)?(?<!_)([pP])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*))(i(?!\\\\w))?(?:\\\\n|$))|(\\\\G0[xX])_?([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(?<!_)([pP])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*))(i(?!\\\\w))?(?:\\\\n|$))|(\\\\G0[xX])((?:(?<=[0-9a-fA-F])\\\\.|\\\\.(?=[0-9a-fA-F])))([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(?<!_)([pP])(\\\\+?)(-?)((?:\\\\d(?:\\\\d|(?:(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*))(i(?!\\\\w))?(?:\\\\n|$))"},{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"keyword.other.unit.imaginary.go"},"4":{"name":"keyword.other.unit.binary.go"},"5":{"name":"constant.numeric.binary.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"6":{"name":"punctuation.separator.constant.numeric.go"},"7":{"name":"keyword.other.unit.imaginary.go"},"8":{"name":"keyword.other.unit.octal.go"},"9":{"name":"constant.numeric.octal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"punctuation.separator.constant.numeric.go"},"11":{"name":"keyword.other.unit.imaginary.go"},"12":{"name":"keyword.other.unit.hexadecimal.go"},"13":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=[0-9a-fA-F])_(?=[0-9a-fA-F])","name":"punctuation.separator.constant.numeric.go"}]},"14":{"name":"punctuation.separator.constant.numeric.go"},"15":{"name":"keyword.other.unit.imaginary.go"}},"match":"(?:(?:(?:\\\\G(?=[0-9.])(?!0[xXbBoO])(\\\\d(?:\\\\d|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(i(?!\\\\w))?(?:\\\\n|$)|(\\\\G0[bB])_?([01](?:[01]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(i(?!\\\\w))?(?:\\\\n|$))|(\\\\G0[oO]?)_?((?:[0-7]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))+)(i(?!\\\\w))?(?:\\\\n|$))|(\\\\G0[xX])_?([0-9a-fA-F](?:[0-9a-fA-F]|((?<=[0-9a-fA-F])_(?=[0-9a-fA-F])))*)(i(?!\\\\w))?(?:\\\\n|$))"},{"match":"(?:(?:[0-9a-zA-Z_\\\\.])|(?<=[eEpP])[+-])+","name":"invalid.illegal.constant.numeric.go"}]}]}},"match":"(?<!\\\\w)\\\\.?\\\\d(?:(?:[0-9a-zA-Z_\\\\.])|(?<=[eEpP])[+-])*"},"operators":{"comment":"Note that the order here is very important!","patterns":[{"match":"((?:\\\\*|\\\\&)+)(?:(?!\\\\d)(?=(?:[\\\\w\\\\[\\\\]])|(?:<-)))","name":"keyword.operator.address.go"},{"match":"<-","name":"keyword.operator.channel.go"},{"match":"--","name":"keyword.operator.decrement.go"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.go"},{"match":"(==|!=|<=|>=|<(?!<)|>(?!>))","name":"keyword.operator.comparison.go"},{"match":"(&&|\\\\|\\\\||!)","name":"keyword.operator.logical.go"},{"match":"(=|\\\\+=|-=|\\\\|=|\\\\^=|\\\\*=|/=|:=|%=|<<=|>>=|&\\\\^=|&=)","name":"keyword.operator.assignment.go"},{"match":"(\\\\+|-|\\\\*|/|%)","name":"keyword.operator.arithmetic.go"},{"match":"(&(?!\\\\^)|\\\\||\\\\^|&\\\\^|<<|>>|\\\\~)","name":"keyword.operator.arithmetic.bitwise.go"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.ellipsis.go"}]},"other_struct_interface_expressions":{"comment":"struct and interface expression in-line (before curly bracket)","patterns":[{"comment":"after control variables must be added exactly here, do not move it! (changing may not affect tests, so be careful!)","include":"#after_control_variables"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"},{"include":"$self"}]}]}},"match":"(\\\\b[\\\\w\\\\.]+)(\\\\[(?:[^\\\\]]+)?\\\\])?(?=\\\\{)(?<!\\\\bstruct\\\\b|\\\\binterface\\\\b)"}]},"other_variables":{"comment":"all other variables","match":"\\\\w+","name":"variable.other.go"},"package_name":{"patterns":[{"begin":"\\\\b(package)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.go"}},"comment":"package name","end":"(?!\\\\G)","patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.type.package.go"}]}]},"parameter-variable-types":{"comment":"function and generic parameter types","patterns":[{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"\\\\}","name":"punctuation.definition.end.bracket.curly.go"},{"begin":"(?:([\\\\w\\\\.\\\\*]+)?(\\\\[))","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]}]},"property_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]}},"comment":"Property variables in struct","match":"((?:\\\\b[\\\\w\\\\.]+)(?::(?!=)))"},"raw_string_literals":{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"comment":"Raw string literals","end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.raw.go","patterns":[{"include":"#string_placeholder"}]},"runes":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.rune.go","patterns":[{"match":"\\\\G(\\\\\\\\([0-7]{3}|[abfnrtv\\\\\\\\'\\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})|.)(?=')","name":"constant.other.rune.go"},{"match":"[^']+","name":"invalid.illegal.unknown-rune.go"}]}]},"single_type":{"patterns":[{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"single type declaration","match":"(?:(?:^\\\\s*)(\\\\btype\\\\b)(?:\\\\s*)([\\\\w\\\\.\\\\*]+)(?:\\\\s+)(?!(?:=\\\\s*)?(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:struct|interface)\\\\b)([\\\\s\\\\S]+))"},{"begin":"(?:(?:^|\\\\s+)(\\\\btype\\\\b)(?:\\\\s*)([\\\\w\\\\.\\\\*]+)(?=\\\\[))","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"single type declaration with generics","end":"(?:(?<=\\\\])((?:\\\\s+)(?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:(?!(?:[\\\\[\\\\]\\\\*]+)?(?:\\\\bstruct\\\\b|\\\\binterface\\\\b|\\\\bfunc\\\\b))[\\\\w\\\\.\\\\-\\\\*\\\\[\\\\]]+(?:\\\\,\\\\s+[\\\\w\\\\.\\\\[\\\\]\\\\*]+)*))?)","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#struct_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"\\\\}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}]},"slice_index_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]}},"comment":"slice index and capacity variables, to not scope them as property variables","match":"(?<=\\\\w\\\\[)((?:(?:\\\\b[\\\\w\\\\.\\\\*+/\\\\-\\\\%<>\\\\|\\\\&]+:)|(?::\\\\b[\\\\w\\\\.\\\\*+/\\\\-\\\\%<>\\\\|\\\\&]+))(?:\\\\b[\\\\w\\\\.\\\\*+/\\\\-\\\\%<>\\\\|\\\\&]+)?(?::\\\\b[\\\\w\\\\.\\\\*+/\\\\-\\\\%<>\\\\|\\\\&]+)?)(?=\\\\])"},"statements":{"patterns":[{"include":"#package_name"},{"include":"#import"},{"include":"#syntax_errors"},{"include":"#group-functions"},{"include":"#group-types"},{"include":"#group-variables"},{"include":"#field_hover"}]},"storage_types":{"patterns":[{"match":"\\\\bbool\\\\b","name":"storage.type.boolean.go"},{"match":"\\\\bbyte\\\\b","name":"storage.type.byte.go"},{"match":"\\\\berror\\\\b","name":"storage.type.error.go"},{"match":"\\\\b(complex(64|128)|float(32|64)|u?int(8|16|32|64)?)\\\\b","name":"storage.type.numeric.go"},{"match":"\\\\brune\\\\b","name":"storage.type.rune.go"},{"match":"\\\\bstring\\\\b","name":"storage.type.string.go"},{"match":"\\\\buintptr\\\\b","name":"storage.type.uintptr.go"},{"match":"\\\\bany\\\\b","name":"entity.name.type.any.go"}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\([0-7]{3}|[abfnrtv\\\\\\\\'\\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})","name":"constant.character.escape.go"},{"match":"\\\\\\\\[^0-7xuUabfnrtv\\\\'\\"]","name":"invalid.illegal.unknown-escape.go"}]},"string_literals":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"comment":"Interpreted string literals","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.double.go","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]}]},"string_placeholder":{"patterns":[{"match":"%(\\\\[\\\\d+\\\\])?([+#\\\\-0\\\\x20]{,2}((\\\\d+|\\\\*)?(\\\\.?(\\\\d+|\\\\*|(\\\\[\\\\d+\\\\])\\\\*?)?(\\\\[\\\\d+\\\\])?)?))?[vT%tbcdoqxXUbeEfFgGspw]","name":"constant.other.placeholder.go"}]},"struct_interface_declaration":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"struct, interface type declarations (related to: struct_variables_types, interface_variables_types)","match":"(?:(?:^\\\\s*)(\\\\btype\\\\b)(?:\\\\s*)([\\\\w\\\\.]+))"},"struct_variable_types_fields_multi":{"comment":"struct variable and type fields with multi lines","patterns":[{"begin":"(?:((?:\\\\w+(?:\\\\,\\\\s*\\\\w+)*)(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:\\\\s+)(?:[\\\\[\\\\]\\\\*]+)?)(\\\\bstruct\\\\b)(?:\\\\s*)(\\\\{))","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.struct.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"comment":"struct in struct types","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},{"begin":"(?:((?:\\\\w+(?:\\\\,\\\\s*\\\\w+)*)(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:\\\\s+)(?:[\\\\[\\\\]\\\\*]+)?)(\\\\binterface\\\\b)(?:\\\\s*)(\\\\{))","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.interface.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"comment":"interface in struct types","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},{"begin":"(?:((?:\\\\w+(?:\\\\,\\\\s*\\\\w+)*)(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:\\\\s+)(?:[\\\\[\\\\]\\\\*]+)?)(\\\\bfunc\\\\b)(?:\\\\s*)(\\\\())","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.function.go"},"3":{"name":"punctuation.definition.begin.bracket.round.go"}},"comment":"function in struct types","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#parameter-variable-types"}]},"struct_variables_types":{"begin":"(\\\\bstruct\\\\b)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.struct.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"comment":"Struct variable type","end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},"struct_variables_types_fields":{"comment":"Struct variable type fields","patterns":[{"include":"#struct_variable_types_fields_multi"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"one line - single type","match":"(?:(?<=\\\\{)\\\\s*((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\w\\\\.\\\\*\\\\[\\\\]]+))\\\\s*(?=\\\\}))"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"one line - property variables and types","match":"(?:(?<=\\\\{)\\\\s*((?:(?:\\\\w+\\\\,\\\\s*)+)?(?:\\\\w+\\\\s+))((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\w\\\\.\\\\*\\\\[\\\\]]+))\\\\s*(?=\\\\}))"},{"captures":{"1":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"match":"(?:((?:(?:\\\\w+\\\\,\\\\s*)+)?(?:\\\\w+\\\\s+))?((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\S]+)(?:\\\\;)?))"}]}},"comment":"one line with semicolon(;) without formatting gofmt - single type | property variables and types","match":"(?:(?<=\\\\{)((?:\\\\s*(?:(?:(?:\\\\w+\\\\,\\\\s*)+)?(?:\\\\w+\\\\s+))?(?:(?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\S]+)(?:\\\\;)?))+)\\\\s*(?=\\\\}))"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"one type only","match":"(?:((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(?:[\\\\w\\\\.\\\\*]+)\\\\s*)(?:(?=\\\\\`|\\\\/|\\")|$))"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"property variables and types","match":"(?:((?:(?:\\\\w+\\\\,\\\\s*)+)?(?:\\\\w+\\\\s+))([^\\\\\`\\"\\\\/]+))"}]},"support_functions":{"captures":{"1":{"name":"entity.name.function.support.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.support.go"}]},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"\\\\}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"Support Functions","match":"(?:(?:((?<=\\\\.)\\\\b\\\\w+)|(\\\\b\\\\w+))(\\\\[(?:(?:[\\\\w\\\\.\\\\*\\\\[\\\\]{}\\"\\\\']+)(?:(?:\\\\,\\\\s*(?:[\\\\w\\\\.\\\\*\\\\[\\\\]{}]+))*))?\\\\])?(?=\\\\())"},"switch_select_case_variables":{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"include":"#support_functions"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]}},"comment":"variables after case control keyword in switch/select expression, to not scope them as property variables","match":"(?:(?:^\\\\s*(\\\\bcase\\\\b))(?:\\\\s+)([\\\\s\\\\S]+(?::)\\\\s*(?:/(?:/|\\\\*).*)?)$)"},"switch_types":{"begin":"(?<=\\\\bswitch\\\\b)(?:\\\\s*)(?:(\\\\w+\\\\s*:=)?\\\\s*([\\\\w\\\\.\\\\*()\\\\[\\\\]+/\\\\-\\\\%<>\\\\|\\\\&]+))(\\\\.\\\\(\\\\btype\\\\b\\\\)\\\\s*)(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#operators"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]},"3":{"patterns":[{"include":"#delimiters"},{"include":"#brackets"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"4":{"name":"punctuation.definition.begin.bracket.curly.go"}},"comment":"switch type assertions, only highlights types after case keyword","end":"(?:\\\\})","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"name":"punctuation.other.colon.go"},"4":{"patterns":[{"include":"#comments"}]}},"comment":"types after case keyword with single line","match":"(?:^\\\\s*(\\\\bcase\\\\b))(?:\\\\s+)([\\\\w\\\\.\\\\,\\\\*=<>!\\\\s]+)(:)(\\\\s*/(?:/|\\\\*)\\\\s*.*)?$"},{"begin":"\\\\bcase\\\\b","beginCaptures":{"0":{"name":"keyword.control.go"}},"comment":"types after case keyword with multi lines","end":":","endCaptures":{"0":{"name":"punctuation.other.colon.go"}},"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},{"include":"$self"}]},"syntax_errors":{"patterns":[{"captures":{"1":{"name":"invalid.illegal.slice.go"}},"comment":"Syntax error using slices","match":"\\\\[\\\\](\\\\s+)"},{"comment":"Syntax error numeric literals","match":"\\\\b0[0-7]*[89]\\\\d*\\\\b","name":"invalid.illegal.numeric.go"}]},"terminators":{"comment":"Terminators","match":";","name":"punctuation.terminator.go"},"type-declarations":{"comment":"includes all type declarations","patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#brackets"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type-declarations-without-brackets":{"comment":"includes all type declarations without brackets (in some cases, brackets need to be captured manually)","patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type_assertion_inline":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"(?:\\\\w+)","name":"entity.name.type.go"}]}},"comment":"struct/interface types in-line (type assertion) | switch type keyword","match":"(?:(?<=\\\\.\\\\()(?:(\\\\btype\\\\b)|((?:(?:\\\\s*(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?[\\\\w\\\\.\\\\[\\\\]\\\\*]+))(?=\\\\)))"},"var_const_assignment":{"comment":"variable assignment with var and const keyword","patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"comment":"var and const with single type assignment","match":"(?:(?<=\\\\bvar\\\\b|\\\\bconst\\\\b)(?:\\\\s*)(\\\\b[\\\\w\\\\.]+(?:\\\\,\\\\s*[\\\\w\\\\.]+)*)(?:\\\\s*)((?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?!(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:struct|func|map)\\\\b)(?:[\\\\w\\\\.\\\\[\\\\]\\\\*]+(?:\\\\,\\\\s*[\\\\w\\\\.\\\\[\\\\]\\\\*]+)*)?(?:\\\\s*)(?:=)?)?)"},{"begin":"(?:(?<=\\\\bvar\\\\b|\\\\bconst\\\\b)(?:\\\\s*)(\\\\())","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.round.go"}},"comment":"var and const with multi type assignment","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"\\\\]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?:(?:^\\\\s*)(\\\\b[\\\\w\\\\.]+(?:\\\\,\\\\s*[\\\\w\\\\.]+)*)(?:\\\\s*)((?:(?:(?:[\\\\*\\\\[\\\\]]+)?(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?!(?:[\\\\[\\\\]\\\\*]+)?\\\\b(?:struct|func|map)\\\\b)(?:[\\\\w\\\\.\\\\[\\\\]\\\\*]+(?:\\\\,\\\\s*[\\\\w\\\\.\\\\[\\\\]\\\\*]+)*)?(?:\\\\s*)(?:=)?)?)"},{"include":"$self"}]}]},"variable_assignment":{"comment":"variable assignment","patterns":[{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"comment":"variable assignment with :=","match":"\\\\b\\\\w+(?:\\\\,\\\\s*\\\\w+)*(?=\\\\s*:=)"},{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"include":"#operators"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"comment":"variable assignment with =","match":"\\\\b[\\\\w\\\\.\\\\*]+(?:\\\\,\\\\s*[\\\\w\\\\.\\\\*]+)*(?=\\\\s*=(?!=))"}]}},"scopeName":"source.go"}`));var t=[e];export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"./B58gZNix.js";const e=Object.freeze(JSON.parse(`{"displayName":"Stata","fileTypes":["do","ado","mata"],"foldingStartMarker":"\\\\{\\\\s*$","foldingStopMarker":"^\\\\s*\\\\}","name":"stata","patterns":[{"include":"#ascii-regex-functions"},{"include":"#unicode-regex-functions"},{"include":"#constants"},{"include":"#functions"},{"include":"#comments"},{"include":"#subscripts"},{"include":"#operators"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#builtin_variables"},{"include":"#macro-commands"},{"comment":"keywords that delimit flow conditionals","match":"\\\\b(if|else if|else)\\\\b","name":"keyword.control.conditional.stata"},{"captures":{"1":{"name":"storage.type.scalar.stata"}},"match":"^\\\\s*(sca(lar|la|l)?(\\\\s+de(fine|fin|fi|f)?)?)\\\\s+(?!(drop|dir?|l(ist|is|i)?)\\\\s+)"},{"begin":"\\\\b(mer(ge|g)?)\\\\s+(1|m|n)(:)(1|m|n)","beginCaptures":{"1":{"name":"keyword.control.flow.stata"},"3":{"patterns":[{"include":"#constants"},{"match":"m|n","name":""}]},"4":{"name":"punctuation.separator.key-value"},"5":{"patterns":[{"include":"#constants"},{"match":"m|n","name":""}]}},"end":"using","patterns":[{"include":"#builtin_variables"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#comments"}]},{"captures":{"1":{"name":"keyword.control.flow.stata"},"2":{"patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},"3":{"name":"keyword.control.flow.stata"}},"match":"\\\\b(foreach)\\\\s+((?!in|of).+)\\\\s+(in|of var(list|lis|li|l)?|of new(list|lis|li|l)?|of num(list|lis|li|l)?)\\\\b"},{"begin":"\\\\b(foreach)\\\\s+((?!in|of).+)\\\\s+(of loc(al|a)?|of glo(bal|ba|b)?)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.flow.stata"},"2":{"patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},"3":{"name":"keyword.control.flow.stata"}},"end":"(?=\\\\s*\\\\{)","patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},{"begin":"\\\\b(forvalues|forvalue|forvalu|forval|forva|forv)\\\\s*","beginCaptures":{"1":{"name":"keyword.control.flow.stata"}},"end":"\\\\s*(=)\\\\s*([^{]+)\\\\s*|(?=\\\\n)","endCaptures":{"1":{"name":"keyword.operator.assignment.stata"},"2":{"patterns":[{"include":"#constants"},{"include":"#operators"},{"include":"#macro-local"},{"include":"#macro-global"}]}},"patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},{"comment":"keywords that delimit loops","match":"\\\\b(while|continue)\\\\b","name":"keyword.control.flow.stata"},{"captures":{"1":{"name":"keyword.other.stata"}},"comment":"keywords that haven't fit into other groups (yet).","match":"\\\\b(as|ass|asse|asser|assert)\\\\b"},{"comment":"prefixes that require a colon","match":"\\\\b(by(sort|sor|so|s)?|statsby|rolling|bootstrap|jackknife|permute|simulate|svy|mi est(imate|imat|ima|im|i)?|nestreg|stepwise|xi|fp|mfp|vers(ion|io|i)?)\\\\b","name":"storage.type.function.stata"},{"comment":"prefixes that don't need a colon","match":"\\\\b(qui(etly|etl|et|e)?|n(oisily|oisil|oisi|ois|oi|o)?|cap(ture|tur|tu|t)?)\\\\b:?","name":"keyword.control.flow.stata"},{"captures":{"1":{"name":"storage.type.function.stata"},"3":{"name":"storage.type.function.stata"},"7":{"name":"entity.name.function.stata"}},"match":"\\\\s*(pr(ogram|ogra|ogr|og|o)?)\\\\s+((di(r)?|drop|l(ist|is|i)?)\\\\s+)([\\\\w&&[^0-9]]\\\\w{0,31})"},{"begin":"^\\\\s*(pr(ogram|ogra|ogr|og|o)?)\\\\s+(de(fine|fin|fi|f)?\\\\s+)?","beginCaptures":{"1":{"name":"storage.type.function.stata"},"3":{"name":"storage.type.function.stata"}},"end":"(?=,|\\\\n|/)","patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"entity.name.function.stata"},{"match":"[^A-za-z_0-9,\\\\n/ ]+","name":"invalid.illegal.name.stata"}]},{"captures":{"1":"keyword.functions.data.stata.test"},"match":"\\\\b(form(at|a)?)\\\\s*([\\\\w&&[^0-9]]\\\\w{0,31})*\\\\s*(%)(-)?(0)?(\\\\d+)(.)(\\\\d+)(e|f|g)(c)?"},{"include":"#braces-with-error"},{"begin":"(?=syntax)","end":"\\\\n","patterns":[{"begin":"syntax","beginCaptures":{"0":{"name":"keyword.functions.program.stata"}},"comment":"color before the comma","end":"(?=,|\\\\n)","patterns":[{"begin":"///","end":"\\\\n","name":"comment.block.stata"},{"match":"\\\\[","name":"punctuation.definition.parameters.begin.stata"},{"match":"\\\\]","name":"punctuation.definition.parameters.end.stata"},{"match":"\\\\b(varlist|varname|newvarlist|newvarname|namelist|name|anything)\\\\b","name":"entity.name.type.class.stata"},{"captures":{"2":{"name":"entity.name.type.class.stata"},"3":{"name":"keyword.operator.arithmetic.stata"}},"match":"\\\\b((if|in|using|fweight|aweight|pweight|iweight))\\\\b(/)?"},{"captures":{"1":{"name":"keyword.operator.arithmetic.stata"},"2":{"name":"entity.name.type.class.stata"}},"match":"(/)?(exp)"},{"include":"#constants"},{"include":"#operators"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#builtin_variables"}]},{"begin":",","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.stata"}},"comment":"things to color after the comma","end":"(?=\\\\n)","patterns":[{"begin":"///","end":"\\\\n","name":"comment.block.stata"},{"begin":"([^\\\\s\\\\[\\\\]]+)(\\\\()","beginCaptures":{"1":{"comment":"these are the names that become macros","patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},"2":{"name":"keyword.operator.parentheses.stata"}},"comment":"color options with parentheses","end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.parentheses.stata"}},"patterns":[{"captures":{"0":{"name":"support.type.stata"}},"comment":"the first word is often a type","match":"\\\\b(integer|intege|integ|inte|int|real|string|strin|stri|str)\\\\b"},{"include":"#constants"},{"include":"#operators"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#builtin_variables"}]},{"include":"#macro-local-identifiers"},{"include":"#constants"},{"include":"#operators"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#builtin_variables"}]}]},{"captures":{"1":{"name":"keyword.functions.data.stata"}},"comment":"one-word commands","match":"\\\\b(sa(v|ve)|saveold|destring|tostring|u(se|s)?|note(s)?|form(at|a)?)\\\\b"},{"comment":"programming commands","match":"\\\\b(exit|end)\\\\b","name":"keyword.functions.data.stata"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"2":{"patterns":[{"include":"#macro-local"}]},"4":{"name":"invalid.illegal.name.stata"},"5":{"name":"keyword.operator.assignment.stata"}},"match":"\\\\b(replace)\\\\s+([^=]+)\\\\s*((==)|(=))"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"3":{"name":"support.type.stata"},"5":{"patterns":[{"include":"#reserved-names"},{"include":"#macro-local"}]},"7":{"name":"invalid.illegal.name.stata"},"8":{"name":"keyword.operator.assignment.stata"}},"match":"\\\\b(g(enerate|enerat|enera|ener|ene|en|e)?|egen)\\\\s+((byte|int|long|float|double|str[1-9]?\\\\d?\\\\d?\\\\d?|strL)\\\\s+)?([^=\\\\s]+)\\\\s*((==)|(=))"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"3":{"name":"support.type.stata"}},"match":"\\\\b(set ty(pe|p)?)\\\\s+((byte|int|long|float|double|str[1-9]?\\\\d?\\\\d?\\\\d?|strL)?\\\\s+)\\\\b"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"3":{"name":"keyword.functions.data.stata"},"6":{"name":"punctuation.definition.string.begin.stata"},"7":{"patterns":[{"include":"#string-compound"},{"include":"#macro-local-escaped"},{"include":"#macro-global-escaped"},{"include":"#macro-local"},{"include":"#macro-global"},{"match":"[^\`$]{81,}","name":"invalid.illegal.name.stata"},{"match":".","name":"string.quoted.double.compound.stata"}]},"8":{"name":"punctuation.definition.string.begin.stata"}},"match":"\\\\b(la(bel|be|b)?)\\\\s+(var(iable|iabl|iab|ia|i)?)\\\\s+([\\\\w&&[^0-9]]\\\\w{0,31})\\\\s+(\`\\")(.+)(\\"')"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"3":{"name":"keyword.functions.data.stata"},"6":{"name":"punctuation.definition.string.begin.stata"},"7":{"patterns":[{"include":"#macro-local-escaped"},{"include":"#macro-global-escaped"},{"include":"#macro-local"},{"include":"#macro-global"},{"match":"[^\`$]{81,}","name":"invalid.illegal.name.stata"},{"match":".","name":"string.quoted.double.stata"}]},"8":{"name":"punctuation.definition.string.begin.stata"}},"match":"\\\\b(la(bel|be|b)?)\\\\s+(var(iable|iabl|iab|ia|i)?)\\\\s+([\\\\w&&[^0-9]]\\\\w{0,31})\\\\s+(\\")(.+)(\\")"},{"captures":{"1":{"name":"keyword.functions.data.stata"},"3":{"name":"keyword.functions.data.stata"}},"match":"\\\\b(la(bel|be|b)?)\\\\s+(da(ta|t)?|var(iable|iabl|iab|ia|i)?|de(f|fi|fin|fine)?|val(ues|ue|u)?|di(r)?|l(ist|is|i)?|copy|drop|save|lang(uage|uag|ua|u)?)\\\\b"},{"begin":"\\\\b(drop|keep)\\\\b(?!\\\\s+(if|in)\\\\b)","beginCaptures":{"1":{"name":"keyword.functions.data.stata"}},"end":"\\\\n","patterns":[{"match":"\\\\b(if|in)\\\\b","name":"invalid.illegal.name.stata"},{"include":"#comments"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#operators"}]},{"captures":{"1":{"name":"keyword.functions.data.stata"},"2":{"name":"keyword.functions.data.stata"}},"match":"\\\\b(drop|keep)\\\\s+(if|in)\\\\b"},{"begin":"^\\\\s*mata:?\\\\s*$","comment":"won't match single-line Mata statements","end":"^\\\\s*end\\\\s*$\\\\n?","name":"meta.embedded.block.mata","patterns":[{"match":"(?<![^$\\\\s])(version|pragma|if|else|for|while|do|break|continue|goto|return)(?=\\\\s)","name":"keyword.control.mata"},{"captures":{"1":{"name":"storage.type.eltype.mata"},"4":{"name":"storage.type.orgtype.mata"}},"match":"\\\\b(transmorphic|string|numeric|real|complex|(pointer(\\\\([^)]+\\\\))?))\\\\s+(matrix|vector|rowvector|colvector|scalar)\\\\b","name":"storage.type.mata"},{"comment":"need to end with whitespace character here or last group doesn't match","match":"\\\\b(transmorphic|string|numeric|real|complex|(pointer(\\\\([^)]+\\\\))?))\\\\s","name":"storage.type.eltype.mata"},{"match":"\\\\b(matrix|vector|rowvector|colvector|scalar)\\\\b","name":"storage.type.orgtype.mata"},{"match":"!|\\\\+\\\\+|--|\\\\&|\\\\'|\\\\?|\\\\\\\\|::|\\\\,|\\\\.\\\\.|\\\\||=|==|>=|<=|<|>|!=|\\\\#|\\\\+|-|\\\\*|\\\\^|\\\\/","name":"keyword.operator.mata"},{"include":"$self"}]},{"begin":"\\\\b(odbc)\\\\b","beginCaptures":{"0":{"name":"keyword.control.flow.stata"}},"end":"\\\\n","patterns":[{"begin":"///","end":"\\\\n","name":"comment.block.stata"},{"begin":"(exec?)(\\\\(\\")","beginCaptures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"}},"end":"\\"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.stata"}},"patterns":[{"include":"source.sql"}]},{"include":"$self"}]},{"include":"#commands-other"}],"repository":{"ascii-regex-character-class":{"patterns":[{"match":"\\\\\\\\[\\\\*+?\\\\-\\\\.\\\\^$\\\\|\\\\[\\\\]()\\\\\\\\]","name":"constant.character.escape.backslash.stata"},{"match":"\\\\.","name":"constant.character.character-class.stata"},{"match":"\\\\\\\\.","name":"illegal.invalid.character-class.stata"},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.stata"},"2":{"name":"keyword.operator.negation.stata"}},"end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.character-class.stata"}},"name":"constant.other.character-class.set.stata","patterns":[{"include":"#ascii-regex-character-class"},{"captures":{"2":{"name":"constant.character.escape.backslash.stata"},"4":{"name":"constant.character.escape.backslash.stata"}},"match":"((\\\\\\\\.)|.)-((\\\\\\\\.)|[^\\\\]])","name":"constant.other.character-class.range.stata"}]}]},"ascii-regex-functions":{"patterns":[{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#ascii-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"name":"invalid.illegal.punctuation.stata"},"9":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexm with regular quotes i.e. \\" ","match":"\\\\b(regexm)(\\\\()([^,]+)(,)\\\\s*(\\")([^\\"]+)(\\"(')?)\\\\s*(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#ascii-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexm with compound quotes","match":"\\\\b(regexm)(\\\\()([^,]+)(,)\\\\s*(\`\\")([^\\"]+)(\\"')\\\\s*(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#ascii-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"name":"invalid.illegal.punctuation.stata"},"9":{"patterns":[{"match":",","name":"punctuation.definition.variable.begin.stata"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"10":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexr with regular quotes i.e. \\" ","match":"\\\\b(regexr)(\\\\()([^,]+)(,)\\\\s*(\\")([^\\"]+)(\\"(')?)\\\\s*([^)]*)(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#ascii-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"patterns":[{"match":",","name":"punctuation.definition.variable.begin.stata"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"9":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexr with compound quotes i.e. \`\\"text\\"' ","match":"\\\\b(regexr)(\\\\()([^,]+)(,)\\\\s*(\`\\")([^\\"]+)(\\"')\\\\s*([^)]*)(\\\\))"}]},"ascii-regex-internals":{"patterns":[{"match":"\\\\^","name":"keyword.control.anchor.stata"},{"comment":"matched when not a global, but must be ascii","match":"\\\\$(?![a-zA-Z_{])","name":"keyword.control.anchor.stata"},{"match":"[?+\\\\*]","name":"keyword.control.quantifier.stata"},{"match":"\\\\|","name":"keyword.control.or.stata"},{"begin":"(\\\\()(?=\\\\?|\\\\*|\\\\+)","beginCaptures":{"1":{"name":"keyword.operator.group.stata"}},"contentName":"invalid.illegal.regexm.stata","end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.group.stata"}}},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.group.stata"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.group.stata"}},"patterns":[{"include":"#ascii-regex-internals"}]},{"include":"#ascii-regex-character-class"},{"include":"#macro-local"},{"include":"#macro-global"},{"comment":"NOTE: Error if I have .+ No idea why but it works fine it seems with just .","match":".","name":"string.quoted.stata"}]},"braces-with-error":{"patterns":[{"begin":"(\\\\{)\\\\s*([^\\\\n]*)(?=\\\\n)","beginCaptures":{"1":{"name":"keyword.control.block.begin.stata"},"2":{"patterns":[{"include":"#comments"},{"match":"[^\\\\n]+","name":"illegal.invalid.name.stata"}]}},"comment":"correct with nothing else on the line but whitespace; before and after; before; after; correct","end":"^\\\\s*(\\\\})\\\\s*$|^\\\\s*([^\\\\*\\"}]+)\\\\s+(\\\\})\\\\s*([^\\\\*\\"}/\\\\n]+)|^\\\\s*([^\\"\\\\*}]+)\\\\s+(\\\\})|\\\\s*(\\\\})\\\\s*([^\\"\\\\*}/\\\\n]+)|(\\\\})$","endCaptures":{"1":{"name":"keyword.control.block.end.stata"},"2":{"name":"invalid.illegal.name.stata"},"3":{"name":"keyword.control.block.end.stata"},"4":{"name":"invalid.illegal.name.stata"},"5":{"name":"invalid.illegal.name.stata"},"6":{"name":"keyword.control.block.end.stata"},"7":{"name":"keyword.control.block.end.stata"},"8":{"name":"invalid.illegal.name.stata"},"9":{"name":"keyword.control.block.end.stata"}},"patterns":[{"include":"$self"}]}]},"braces-without-error":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"keyword.control.block.begin.stata"}},"end":"\\\\}","endCaptures":{"0":{"name":"keyword.control.block.end.stata"}}}]},"builtin_types":{"patterns":[{"match":"\\\\b(byte|int|long|float|double|str[1-9]?\\\\d?\\\\d?\\\\d?|strL)\\\\b","name":"support.type.stata"}]},"builtin_variables":{"patterns":[{"match":"\\\\b(_b|_coef|_cons|_n|_N|_rc|_se)\\\\b","name":"variable.object.stata"}]},"commands-other":{"patterns":[{"comment":"Add on commands","match":"\\\\b(reghdfe|ivreghdfe|ivreg2|outreg|gcollapse|gcontract|gegen|gisid|glevelsof|gquantiles)\\\\b","name":"keyword.control.flow.stata"},{"comment":"Built in commands","match":"\\\\b(about|ac|acprplot|ado|adopath|adoupdate|alpha|ameans|an|ano|anov|anova|anova_terms|anovadef|aorder|ap|app|appe|appen|append|arch|arch_dr|arch_estat|arch_p|archlm|areg|areg_p|args|arima|arima_dr|arima_estat|arima_p|asmprobit|asmprobit_estat|asmprobit_lf|asmprobit_mfx__dlg|asmprobit_p|avplot|avplots|bcskew0|bgodfrey|binreg|bip0_lf|biplot|bipp_lf|bipr_lf|bipr_p|biprobit|bitest|bitesti|bitowt|blogit|bmemsize|boot|bootsamp|boxco_l|boxco_p|boxcox|boxcox_p|bprobit|br|break|brier|bro|brow|brows|browse|brr|brrstat|bs|bsampl_w|bsample|bsqreg|bstat|bstrap|ca|ca_estat|ca_p|cabiplot|camat|canon|canon_estat|canon_p|caprojection|cat|cc|cchart|cci|cd|censobs_table|centile|cf|char|chdir|checkdlgfiles|checkestimationsample|checkhlpfiles|checksum|chelp|ci|cii|cl|class|classutil|clear|cli|clis|clist|clog|clog_lf|clog_p|clogi|clogi_sw|clogit|clogit_lf|clogit_p|clogitp|clogl_sw|cloglog|clonevar|clslistarray|cluster|cluster_measures|cluster_stop|cluster_tree|cluster_tree_8|clustermat|cmdlog|cnr|cnre|cnreg|cnreg_p|cnreg_sw|cnsreg|codebook|collaps4|collapse|colormult_nb|colormult_nw|compare|compress|conf|confi|confir|confirm|conren|cons|const|constr|constra|constrai|constrain|constraint|contract|copy|copyright|copysource|cor|corc|corr|corr2data|corr_anti|corr_kmo|corr_smc|corre|correl|correla|correlat|correlate|corrgram|cou|coun|count|cprplot|crc|cret|cretu|cretur|creturn|cross|cs|cscript|cscript_log|csi|ct|ct_is|ctset|ctst_st|cttost|cumsp|cumul|cusum|cutil|d|datasig|datasign|datasigna|datasignat|datasignatu|datasignatur|datasignature|datetof|db|dbeta|de|dec|deco|decod|decode|deff|des|desc|descr|descri|describ|describe|dfbeta|dfgls|dfuller|di|di_g|dir|dirstats|dis|discard|disp|disp_res|disp_s|displ|displa|display|do|doe|doed|doedi|doedit|dotplot|dprobit|drawnorm|ds|ds_util|dstdize|duplicates|durbina|dwstat|dydx|ed|edi|edit|eivreg|emdef|en|enc|enco|encod|encode|eq|erase|ereg|ereg_lf|ereg_p|ereg_sw|ereghet|ereghet_glf|ereghet_glf_sh|ereghet_gp|ereghet_ilf|ereghet_ilf_sh|ereghet_ip|eret|eretu|eretur|ereturn|err|erro|error|est|est_cfexist|est_cfname|est_clickable|est_expand|est_hold|est_table|est_unhold|est_unholdok|estat|estat_default|estat_summ|estat_vce_only|esti|estimates|etodow|etof|etomdy|expand|expandcl|fac|fact|facto|factor|factor_estat|factor_p|factor_pca_rotated|factor_rotate|factormat|fcast|fcast_compute|fcast_graph|fdades|fdadesc|fdadescr|fdadescri|fdadescrib|fdadescribe|fdasav|fdasave|fdause|fh_st|file|filefilter|fillin|find_hlp_file|findfile|findit|fit|fl|fli|flis|flist|fpredict|frac_adj|frac_chk|frac_cox|frac_ddp|frac_dis|frac_dv|frac_in|frac_mun|frac_pp|frac_pq|frac_pv|frac_wgt|frac_xo|fracgen|fracplot|fracpoly|fracpred|fron_ex|fron_hn|fron_p|fron_tn|fron_tn2|frontier|ftodate|ftoe|ftomdy|ftowdate|gamhet_glf|gamhet_gp|gamhet_ilf|gamhet_ip|gamma|gamma_d2|gamma_p|gamma_sw|gammahet|gdi_hexagon|gdi_spokes|genrank|genstd|genvmean|gettoken|gladder|glim_l01|glim_l02|glim_l03|glim_l04|glim_l05|glim_l06|glim_l07|glim_l08|glim_l09|glim_l10|glim_l11|glim_l12|glim_lf|glim_mu|glim_nw1|glim_nw2|glim_nw3|glim_p|glim_v1|glim_v2|glim_v3|glim_v4|glim_v5|glim_v6|glim_v7|glm|glm_p|glm_sw|glmpred|glogit|glogit_p|gmeans|gnbre_lf|gnbreg|gnbreg_p|gomp_lf|gompe_sw|gomper_p|gompertz|gompertzhet|gomphet_glf|gomphet_glf_sh|gomphet_gp|gomphet_ilf|gomphet_ilf_sh|gomphet_ip|gphdot|gphpen|gphprint|gprefs|gprobi_p|gprobit|gr|gr7|gr_copy|gr_current|gr_db|gr_describe|gr_dir|gr_draw|gr_draw_replay|gr_drop|gr_edit|gr_editviewopts|gr_example|gr_example2|gr_export|gr_print|gr_qscheme|gr_query|gr_read|gr_rename|gr_replay|gr_save|gr_set|gr_setscheme|gr_table|gr_undo|gr_use|graph|grebar|greigen|grmeanby|gs_fileinfo|gs_filetype|gs_graphinfo|gs_stat|gsort|gwood|h|hareg|hausman|haver|he|heck_d2|heckma_p|heckman|heckp_lf|heckpr_p|heckprob|hel|help|hereg|hetpr_lf|hetpr_p|hetprob|hettest|hexdump|hilite|hist|histogram|hlogit|hlu|hmeans|hotel|hotelling|hprobit|hreg|hsearch|icd9|icd9_ff|icd9p|iis|impute|imtest|inbase|include|inf|infi|infil|infile|infix|inp|inpu|input|ins|insheet|insp|inspe|inspec|inspect|integ|inten|intreg|intreg_p|intrg2_ll|intrg_ll|intrg_ll2|ipolate|iqreg|ir|irf|irf_create|irfm|iri|is_svy|is_svysum|isid|istdize|ivprobit|ivprobit_p|ivreg|ivreg_footnote|ivtob_lf|ivtobit|ivtobit_p|jacknife|jknife|jkstat|joinby|kalarma1|kap|kapmeier|kappa|kapwgt|kdensity|ksm|ksmirnov|ktau|kwallis|labelbook|ladder|levelsof|leverage|lfit|lfit_p|li|lincom|line|linktest|lis|list|lloghet_glf|lloghet_glf_sh|lloghet_gp|lloghet_ilf|lloghet_ilf_sh|lloghet_ip|llogi_sw|llogis_p|llogist|llogistic|llogistichet|lnorm_lf|lnorm_sw|lnorma_p|lnormal|lnormalhet|lnormhet_glf|lnormhet_glf_sh|lnormhet_gp|lnormhet_ilf|lnormhet_ilf_sh|lnormhet_ip|lnskew0|loadingplot|(?<!\\\\.)log|logi|logis_lf|logistic|logistic_p|logit|logit_estat|logit_p|loglogs|logrank|loneway|lookfor|lookup|lowess|lpredict|lrecomp|lroc|lrtest|ls|lsens|lsens_x|lstat|ltable|ltriang|lv|lvr2plot|m|ma|mac|macr|macro|makecns|man|manova|manovatest|mantel|mark|markin|markout|marksample|mat|mat_capp|mat_order|mat_put_rr|mat_rapp|mata|mata_clear|mata_describe|mata_drop|mata_matdescribe|mata_matsave|mata_matuse|mata_memory|mata_mlib|mata_mosave|mata_rename|mata_which|matalabel|matcproc|matlist|matname|matr|matri|matrix|matrix_input__dlg|matstrik|mcc|mcci|md0_|md1_|md1debug_|md2_|md2debug_|mds|mds_estat|mds_p|mdsconfig|mdslong|mdsmat|mdsshepard|mdytoe|mdytof|me_derd|mean|means|median|memory|memsize|mfp|mfx|mhelp|mhodds|minbound|mixed_ll|mixed_ll_reparm|mkassert|mkdir|mkmat|mkspline|ml|ml_adjs|ml_bhhhs|ml_c_d|ml_check|ml_clear|ml_cnt|ml_debug|ml_defd|ml_e0|ml_e0_bfgs|ml_e0_cycle|ml_e0_dfp|ml_e0i|ml_e1|ml_e1_bfgs|ml_e1_bhhh|ml_e1_cycle|ml_e1_dfp|ml_e2|ml_e2_cycle|ml_ebfg0|ml_ebfr0|ml_ebfr1|ml_ebh0q|ml_ebhh0|ml_ebhr0|ml_ebr0i|ml_ecr0i|ml_edfp0|ml_edfr0|ml_edfr1|ml_edr0i|ml_eds|ml_eer0i|ml_egr0i|ml_elf|ml_elf_bfgs|ml_elf_bhhh|ml_elf_cycle|ml_elf_dfp|ml_elfi|ml_elfs|ml_enr0i|ml_enrr0|ml_erdu0|ml_erdu0_bfgs|ml_erdu0_bhhh|ml_erdu0_bhhhq|ml_erdu0_cycle|ml_erdu0_dfp|ml_erdu0_nrbfgs|ml_exde|ml_footnote|ml_geqnr|ml_grad0|ml_graph|ml_hbhhh|ml_hd0|ml_hold|ml_init|ml_inv|ml_log|ml_max|ml_mlout|ml_mlout_8|ml_model|ml_nb0|ml_opt|ml_p|ml_plot|ml_query|ml_rdgrd|ml_repor|ml_s_e|ml_score|ml_searc|ml_technique|ml_unhold|mleval|mlf_|mlmatbysum|mlmatsum|mlog|mlogi|mlogit|mlogit_footnote|mlogit_p|mlopts|mlsum|mlvecsum|mnl0_|mor|more|mov|move|mprobit|mprobit_lf|mprobit_p|mrdu0_|mrdu1_|mvdecode|mvencode|mvreg|mvreg_estat|nbreg|nbreg_al|nbreg_lf|nbreg_p|nbreg_sw|nestreg|net|newey|newey_p|news|nl|nlcom|nlcom_p|nlexp2|nlexp2a|nlexp3|nlgom3|nlgom4|nlinit|nllog3|nllog4|nlog_rd|nlogit|nlogit_p|nlogitgen|nlogittree|nlpred|nobreak|notes_dlg|nptrend|numlabel|numlist|old_ver|olo|olog|ologi|ologi_sw|ologit|ologit_p|ologitp|on|one|onew|onewa|oneway|op_colnm|op_comp|op_diff|op_inv|op_str|opr|opro|oprob|oprob_sw|oprobi|oprobi_p|oprobit|oprobitp|opts_exclusive|order|orthog|orthpoly|ou|out|outf|outfi|outfil|outfile|outs|outsh|outshe|outshee|outsheet|ovtest|pac|palette|parse_dissim|pause|pca|pca_display|pca_estat|pca_p|pca_rotate|pcamat|pchart|pchi|pcorr|pctile|pentium|pergram|personal|peto_st|pkcollapse|pkcross|pkequiv|pkexamine|pkshape|pksumm|plugin|pnorm|poisgof|poiss_lf|poiss_sw|poisso_p|poisson|poisson_estat|post|postclose|postfile|postutil|pperron|prais|prais_e|prais_e2|prais_p|predict|predictnl|preserve|print|prob|probi|probit|probit_estat|probit_p|proc_time|procoverlay|procrustes|procrustes_estat|procrustes_p|profiler|prop|proportion|prtest|prtesti|pwcorr|pwd|qs|qby|qbys|qchi|qladder|qnorm|qqplot|qreg|qreg_c|qreg_p|qreg_sw|qu|quadchk|quantile|que|quer|query|range|ranksum|ratio|rchart|rcof|recast|recode|reg|reg3|reg3_p|regdw|regr|regre|regre_p2|regres|regres_p|regress|regress_estat|regriv_p|remap|ren|rena|renam|rename|renpfix|repeat|reshape|restore|ret|retu|retur|return|rmdir|robvar|roccomp|rocf_lf|rocfit|rocgold|rocplot|roctab|rologit|rologit_p|rot|rota|rotat|rotate|rotatemat|rreg|rreg_p|ru|run|runtest|rvfplot|rvpplot|safesum|sample|sampsi|savedresults|sc|scatter|scm_mine|sco|scob_lf|scob_p|scobi_sw|scobit|scor|score|scoreplot|scoreplot_help|scree|screeplot|screeplot_help|sdtest|sdtesti|se|search|separate|seperate|serrbar|serset|set|set_defaults|sfrancia|sh|she|shel|shell|shewhart|signestimationsample|signrank|signtest|simul|sktest|sleep|slogit|slogit_d2|slogit_p|smooth|snapspan|so|sor|sort|spearman|spikeplot|spikeplt|spline_x|split|sqreg|sqreg_p|sret|sretu|sretur|sreturn|ssc|st|st_ct|st_hc|st_hcd|st_hcd_sh|st_is|st_issys|st_note|st_promo|st_set|st_show|st_smpl|st_subid|stack|stbase|stci|stcox|stcox_estat|stcox_fr|stcox_fr_ll|stcox_p|stcox_sw|stcoxkm|stcstat|stcurv|stcurve|stdes|stem|stepwise|stfill|stgen|stir|stjoin|stmc|stmh|stphplot|stphtest|stptime|strate|streg|streg_sw|streset|sts|stset|stsplit|stsum|sttocc|sttoct|stvary|su|suest|sum|summ|summa|summar|summari|summariz|summarize|sunflower|sureg|survcurv|survsum|svar|svar_p|svmat|svy_disp|svy_dreg|svy_est|svy_est_7|svy_estat|svy_get|svy_gnbreg_p|svy_head|svy_header|svy_heckman_p|svy_heckprob_p|svy_intreg_p|svy_ivreg_p|svy_logistic_p|svy_logit_p|svy_mlogit_p|svy_nbreg_p|svy_ologit_p|svy_oprobit_p|svy_poisson_p|svy_probit_p|svy_regress_p|svy_sub|svy_sub_7|svy_x|svy_x_7|svy_x_p|svydes|svygen|svygnbreg|svyheckman|svyheckprob|svyintreg|svyintrg|svyivreg|svylc|svylog_p|svylogit|svymarkout|svymean|svymlog|svymlogit|svynbreg|svyolog|svyologit|svyoprob|svyoprobit|svyopts|svypois|svypoisson|svyprobit|svyprobt|svyprop|svyratio|svyreg|svyreg_p|svyregress|svyset|svytab|svytest|svytotal|sw|swilk|symmetry|symmi|symplot|sysdescribe|sysdir|sysuse|szroeter|ta|tab|tab1|tab2|tab_or|tabd|tabdi|tabdis|tabdisp|tabi|table|tabodds|tabstat|tabu|tabul|tabula|tabulat|tabulate|te|tes|test|testnl|testparm|teststd|tetrachoric|time_it|timer|tis|tob|tobi|tobit|tobit_p|tobit_sw|token|tokeni|tokeniz|tokenize|total|translate|translator|transmap|treat_ll|treatr_p|treatreg|trim|trnb_cons|trnb_mean|trpoiss_d2|trunc_ll|truncr_p|truncreg|tsappend|tset|tsfill|tsline|tsline_ex|tsreport|tsrevar|tsrline|tsset|tssmooth|tsunab|ttest|ttesti|tut_chk|tut_wait|tutorial|tw|tware_st|two|twoway|twoway__fpfit_serset|twoway__function_gen|twoway__histogram_gen|twoway__ipoint_serset|twoway__ipoints_serset|twoway__kdensity_gen|twoway__lfit_serset|twoway__normgen_gen|twoway__pci_serset|twoway__qfit_serset|twoway__scatteri_serset|twoway__sunflower_gen|twoway_ksm_serset|ty|typ|type|typeof|unab|unabbrev|unabcmd|update|uselabel|var|var_mkcompanion|var_p|varbasic|varfcast|vargranger|varirf|varirf_add|varirf_cgraph|varirf_create|varirf_ctable|varirf_describe|varirf_dir|varirf_drop|varirf_erase|varirf_graph|varirf_ograph|varirf_rename|varirf_set|varirf_table|varlmar|varnorm|varsoc|varstable|varstable_w|varstable_w2|varwle|vec|vec_fevd|vec_mkphi|vec_p|vec_p_w|vecirf_create|veclmar|veclmar_w|vecnorm|vecnorm_w|vecrank|vecstable|verinst|vers|versi|versio|version|view|viewsource|vif|vwls|wdatetof|webdescribe|webseek|webuse|wh|whelp|whi|which|wilc_st|wilcoxon|win|wind|windo|window|winexec|wntestb|wntestq|xchart|xcorr|xi|xmlsav|xmlsave|xmluse|xpose|xsh|xshe|xshel|xshell|xt_iis|xt_tis|xtab_p|xtabond|xtbin_p|xtclog|xtcloglog|xtcloglog_d2|xtcloglog_pa_p|xtcloglog_re_p|xtcnt_p|xtcorr|xtdata|xtdes|xtfront_p|xtfrontier|xtgee|xtgee_elink|xtgee_estat|xtgee_makeivar|xtgee_p|xtgee_plink|xtgls|xtgls_p|xthaus|xthausman|xtht_p|xthtaylor|xtile|xtint_p|xtintreg|xtintreg_d2|xtintreg_p|xtivreg|xtline|xtline_ex|xtlogit|xtlogit_d2|xtlogit_fe_p|xtlogit_pa_p|xtlogit_re_p|xtmixed|xtmixed_estat|xtmixed_p|xtnb_fe|xtnb_lf|xtnbreg|xtnbreg_pa_p|xtnbreg_refe_p|xtpcse|xtpcse_p|xtpois|xtpoisson|xtpoisson_d2|xtpoisson_pa_p|xtpoisson_refe_p|xtpred|xtprobit|xtprobit_d2|xtprobit_re_p|xtps_fe|xtps_lf|xtps_ren|xtps_ren_8|xtrar_p|xtrc|xtrc_p|xtrchh|xtrefe_p|yx|yxview__barlike_draw|yxview_area_draw|yxview_bar_draw|yxview_dot_draw|yxview_dropline_draw|yxview_function_draw|yxview_iarrow_draw|yxview_ilabels_draw|yxview_normal_draw|yxview_pcarrow_draw|yxview_pcbarrow_draw|yxview_pccapsym_draw|yxview_pcscatter_draw|yxview_pcspike_draw|yxview_rarea_draw|yxview_rbar_draw|yxview_rbarm_draw|yxview_rcap_draw|yxview_rcapsym_draw|yxview_rconnected_draw|yxview_rline_draw|yxview_rscatter_draw|yxview_rspike_draw|yxview_spike_draw|yxview_sunflower_draw|zap_s|zinb|zinb_llf|zinb_plf|zip|zip_llf|zip_p|zip_plf|zt_ct_5|zt_hc_5|zt_hcd_5|zt_is_5|zt_iss_5|zt_sho_5|zt_smp_5|ztnb|ztnb_p|ztp|ztp_p|prtab|prchange|eststo|estout|esttab|estadd|estpost|ivregress|xtreg|xtreg_be|xtreg_fe|xtreg_ml|xtreg_pa_p|xtreg_re|xtregar|xtrere_p|xtset|xtsf_ll|xtsf_llti|xtsum|xttab|xttest0|xttobit|xttobit_p|xttrans)\\\\b","name":"keyword.control.flow.stata"}]},"comments":{"patterns":[{"include":"#comments-double-slash"},{"include":"#comments-star"},{"include":"#comments-block"},{"include":"#comments-triple-slash"}]},"comments-block":{"patterns":[{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.stata"}},"end":"(\\\\*/\\\\s+\\\\*[^\\\\n]*)|(\\\\*/(?!\\\\*))","endCaptures":{"0":{"name":"punctuation.definition.comment.end.stata"}},"name":"comment.block.stata","patterns":[{"comment":"this ends and restarts a comment block. but need to catch this so that it doesn't start _another_ level of comment blocks","match":"\\\\*/\\\\*"},{"include":"#docblockr-comment"},{"include":"#comments-block"},{"include":"#docstring"}]}]},"comments-double-slash":{"patterns":[{"begin":"(^//|(?<=\\\\s)//)(?!/)","captures":{"0":{"name":"punctuation.definition.comment.stata"}},"end":"(?=\\\\n)","name":"comment.line.double-slash.stata","patterns":[{"include":"#docblockr-comment"}]}]},"comments-star":{"patterns":[{"begin":"^\\\\s*(\\\\*)","captures":{"0":{"name":"punctuation.definition.comment.stata"}},"comment":"TODO! need to except out the occasion that a * comes after a /// on the previous line. May be easiest to join with the comment.line.triple-slash.stata below","end":"(?=\\\\n)","name":"comment.line.star.stata","patterns":[{"include":"#docblockr-comment"},{"begin":"///","end":"\\\\n","name":"comment.line-continuation.stata"},{"include":"#comments"}]}]},"comments-triple-slash":{"patterns":[{"begin":"(^///|(?<=\\\\s)///)","captures":{"0":{"name":"punctuation.definition.comment.stata"}},"end":"(?=\\\\n)","name":"comment.line.triple-slash.stata","patterns":[{"include":"#docblockr-comment"}]}]},"constants":{"patterns":[{"include":"#factorvariables"},{"match":"\\\\b(?i:(\\\\d+\\\\.\\\\d*(e[\\\\-+]?\\\\d+)?))(?=[^a-zA-Z_])","name":"constant.numeric.float.stata"},{"match":"(?<=[^0-9a-zA-Z_])(?i:(\\\\.\\\\d+(e[\\\\-+]?\\\\d+)?))","name":"constant.numeric.float.stata"},{"match":"\\\\b(?i:(\\\\d+e[\\\\-+]?\\\\d+))","name":"constant.numeric.float.stata"},{"match":"\\\\b(\\\\d+)\\\\b","name":"constant.numeric.integer.decimal.stata"},{"match":"(?<![\\\\w])(\\\\.(?![\\\\./]))(?![\\\\w])","name":"constant.language.missing.stata"},{"match":"\\\\b_all\\\\b","name":"constant.language.allvars.stata"}]},"docblockr-comment":{"patterns":[{"captures":{"1":{"name":"invalid.illegal.name.stata"}},"match":"(?<!\\\\w)(@(error|ERROR|Error))\\\\b"},{"captures":{"1":{"name":"keyword.docblockr.stata"}},"match":"(?<!\\\\w)(@\\\\w+)\\\\b"}]},"docstring":{"patterns":[{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"'''","endCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"name":"string.quoted.docstring.stata"},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"name":"string.quoted.docstring.stata"}]},"factorvariables":{"patterns":[{"match":"\\\\b(i|c|o)\\\\.(?=[\\\\w&&[^0-9]]|\\\\([\\\\w&&[^0-9]])","name":"constant.language.factorvars.stata"},{"captures":{"0":{"name":"constant.language.factorvars.stata"},"3":{"patterns":[{"include":"#constants"}]}},"match":"\\\\b(i?b)((\\\\d+)|n)\\\\.(?=[\\\\w&&[^0-9]]|\\\\([\\\\w&&[^0-9]])"},{"captures":{"0":{"name":"constant.language.factorvars.stata"},"2":{"name":"keyword.operator.parentheses.stata"},"3":{"patterns":[{"include":"#constants"},{"include":"#operators"}]},"4":{"name":"keyword.operator.parentheses.stata"}},"match":"\\\\b(i?b)(\\\\()(#\\\\d+|first|last|freq)(\\\\))\\\\.(?=[\\\\w&&[^0-9]]|\\\\([\\\\w&&[^0-9]])"},{"captures":{"0":{"name":"constant.language.factorvars.stata"},"2":{"patterns":[{"include":"#constants"}]}},"match":"\\\\b(i?o?)(\\\\d+)\\\\.(?=[\\\\w&&[^0-9]]|\\\\([\\\\w&&[^0-9]])"},{"captures":{"1":{"name":"constant.language.factorvars.stata"},"2":{"name":"keyword.operator.parentheses.stata"},"3":{"patterns":[{"include":"$self"}]},"4":{"name":"keyword.operator.parentheses.stata"},"5":{"name":"constant.language.factorvars.stata"}},"match":"\\\\b(i?o?)(\\\\()(.*?)(\\\\))(\\\\.)(?=[\\\\w&&[^0-9]]|\\\\([\\\\w&&[^0-9]])"}]},"functions":{"patterns":[{"begin":"\\\\b((abbrev|abs|acos|acosh|asin|asinh|atan|atan2|atanh|autocode|betaden|binomial|binomialp|binomialtail|binormalbofd|byteorder|c|cauchy|cauchyden|cauchytail|Cdhms|ceil|char|chi2|chi2den|chi2tail|Chms|cholesky|chop|clip|clock|Clock|cloglog|Cmdyhms|cofC|Cofc|cofd|Cofd|coleqnumb|collatorlocale|collatorversion|colnfreeparms|colnumb|colsof|comb|cond|corr|cos|cosh|daily|date|day|det|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|dhms|diag|diag0cnt|digamma|dofb|dofc|dofC|dofh|dofm|dofq|dofw|dofy|dow|doy|dunnettprob|e|el|epsdouble|epsfloat|exp|exponential|exponentialden|exponentialtail|F|Fden|fileexists|fileread|filereaderror|filewrite|float|floor|fmtwidth|Ftail|gammaden|gammap|gammaptail|get|hadamard|halfyear|halfyearly|hh|hhC|hms|hofd|hours|hypergeometric|hypergeometricp|I|ibeta|ibetatail|igaussian|igaussianden|igaussiantail|indexnot|inlist|inrange|int|inv|invbinomial|invbinomialtail|invcauchy|invcauchytail|invchi2|invchi2tail|invcloglog|invdunnettprob|invexponential|invexponentialtail|invF|invFtail|invgammap|invgammaptail|invibeta|invibetatail|invigaussian|invigaussiantail|invlaplace|invlaplacetail|invlogistic|invlogistictail|invlogit|invnbinomial|invnbinomialtail|invnchi2|invnchi2tail|invnF|invnFtail|invnibeta|invnormal|invnt|invnttail|invpoisson|invpoissontail|invsym|invt|invttail|invtukeyprob|invweibull|invweibullph|invweibullphtail|invweibulltail|irecode|issymmetric|itrim|J|laplace|laplaceden|laplacetail|length|ln|lncauchyden|lnfactorial|lngamma|lnigammaden|lnigaussianden|lniwishartden|lnlaplaceden|lnmvnormalden|lnnormal|lnnormalden|lnwishartden|log|log10|logistic|logisticden|logistictail|logit|lower|ltrim|matmissing|matrix|matuniform|max|maxbyte|maxdouble|maxfloat|maxint|maxlong|mdy|mdyhms|mi|min|minbyte|mindouble|minfloat|minint|minlong|minutes|missing|mm|mmC|mod|mofd|month|monthly|mreldif|msofhours|msofminutes|msofseconds|nbetaden|nbinomial|nbinomialp|nbinomialtail|nchi2|nchi2den|nchi2tail|nF|nFden|nFtail|nibeta|normal|normalden|npnchi2|npnF|npnt|nt|ntden|nttail|nullmat|plural|poisson|poissonp|poissontail|proper|qofd|quarter|quarterly|r|rbeta|rbinomial|rcauchy|rchi2|real|recode|regexs|reldif|replay|return|reverse|rexponential|rgamma|rhypergeometric|rigaussian|rlaplace|rlogistic|rnbinomial|rnormal|round|roweqnumb|rownfreeparms|rownumb|rowsof|rpoisson|rt|rtrim|runiform|runiformint|rweibull|rweibullph|s|scalar|seconds|sign|sin|sinh|smallestdouble|soundex|sqrt|ss|ssC|string|stritrim|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrpos|strrtrim|strtoname|strtrim|strupper|subinstr|subinword|substr|sum|sweep|t|tan|tanh|tc|tC|td|tden|th|tin|tm|tobytes|tq|trace|trigamma|trim|trunc|ttail|tukeyprob|tw|twithin|uchar|udstrlen|udsubstr|uisdigit|uisletter|upper|ustrcompare|ustrcompareex|ustrfix|ustrfrom|ustrinvalidcnt|ustrleft|ustrlen|ustrlower|ustrltrim|ustrnormalize|ustrpos|ustrregexs|ustrreverse|ustrright|ustrrpos|ustrrtrim|ustrsortkey|ustrsortkeyex|ustrtitle|ustrto|ustrtohex|ustrtoname|ustrtrim|ustrunescape|ustrupper|ustrword|ustrwordcount|usubinstr|usubstr|vec|vecdiag|week|weekly|weibull|weibullden|weibullph|weibullphden|weibullphtail|weibulltail|wofd|word|wordbreaklocale|wordcount|year|yearly|yh|ym|yofd|yq|yw)|([\\\\w&&[^0-9]]\\\\w{0,31}))(\\\\()","beginCaptures":{"2":{"name":"support.function.builtin.stata"},"3":{"name":"support.function.custom.stata"},"4":{"name":"punctuation.definition.parameters.begin.stata"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.stata"}},"patterns":[{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"keyword.operator.parentheses.stata"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.parentheses.stata"}},"patterns":[{"include":"#ascii-regex-functions"},{"include":"#unicode-regex-functions"},{"include":"#functions"},{"include":"#subscripts"},{"include":"#constants"},{"include":"#comments"},{"include":"#operators"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#builtin_variables"},{"include":"#macro-commands"},{"include":"#braces-without-error"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"}]},{"include":"#ascii-regex-functions"},{"include":"#unicode-regex-functions"},{"include":"#functions"},{"include":"#subscripts"},{"include":"#constants"},{"include":"#comments"},{"include":"#operators"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#builtin_variables"},{"include":"#macro-commands"},{"include":"#braces-without-error"}]}]},"macro-commands":{"patterns":[{"begin":"\\\\b(loc(al|a)?)\\\\s+([\\\\w'\`$(){}]+)\\\\s*(?=:|=)","beginCaptures":{"1":{"name":"keyword.macro.stata"},"3":{"patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]}},"end":"\\\\n","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.arithmetic.stata"}},"end":"(?=\\\\n)","patterns":[{"include":"$self"}]},{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.arithmetic.stata"}},"end":"(?=\\\\n)","patterns":[{"include":"#macro-extended-functions"}]}]},{"begin":"\\\\b(gl(obal|oba|ob|o)?)\\\\s+(?=[\\\\w\`$])","beginCaptures":{"1":{"name":"keyword.macro.stata"}},"end":"(\\\\})|(?=\\\\\\"|\\\\s|\\\\n|/|,|=)","patterns":[{"include":"#reserved-names"},{"match":"[\\\\w&&[^0-9_]]\\\\w{0,31}","name":"entity.name.type.class.stata"},{"include":"#macro-local"},{"include":"#macro-global"}]},{"begin":"\\\\b(loc(al|a)?)\\\\s+(\\\\+\\\\+|--)?(?=[\\\\w\`$])","beginCaptures":{"1":{"name":"keyword.macro.stata"},"3":{"name":"keyword.operator.arithmetic.stata"}},"end":"(?=\\\\\\"|\\\\s|\\\\n|/|,|=)","patterns":[{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},{"begin":"\\\\b(tempvar|tempname|tempfile)\\\\s*(?=\\\\s)","beginCaptures":{"1":{"name":"keyword.macro.stata"}},"end":"\\\\n","patterns":[{"begin":"///","end":"\\\\n","name":"comment.block.stata"},{"include":"#macro-local-identifiers"},{"include":"#macro-local"},{"include":"#macro-global"}]},{"begin":"\\\\b(ma(cro|cr|c)?)\\\\s+(drop|l(ist|is|i)?)\\\\s*(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.macro.stata"}},"end":"\\\\n","patterns":[{"begin":"///","end":"\\\\n","name":"comment.block.stata"},{"match":"\\\\*","name":"keyword.operator.arithmetic.stata"},{"include":"#constants"},{"include":"#macro-global"},{"include":"#macro-local"},{"include":"#comments"},{"match":"\\\\w{1,31}","name":"entity.name.type.class.stata"}]}]},"macro-extended-functions":{"patterns":[{"match":"\\\\b(properties)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(t(ype|yp|y)?|f(ormat|orma|orm|or|o)?|val(ue|u)?\\\\s+l(able|abl|ab|a)?|var(iable|iabl|iab|ia|i)?\\\\s+l(abel|abe|ab|a)?|data\\\\s+l(able|abl|ab|a)?|sort(edby|edb|ed|e)?|lab(el|e)?|maxlength|constraint|char)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(permname)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(adosubdir|dir|files?|dirs?|other|sysdir)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(env(ironment|ironmen|ironme|ironm|iron|iro|ir|i)?)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(all\\\\s+(globals|scalars|matrices)|((numeric|string)\\\\s+scalars))\\\\b","name":"keyword.macro.extendedfcn.stata"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"2":{"name":"keyword.macro.extendedfcn.stata"},"3":{"name":"entity.name.type.class.stata"}},"match":"\\\\b(list)\\\\s+(uniq|dups|sort|clean|retok(enize|eniz|eni|en|e)?|sizeof)\\\\s+(\\\\w{1,32})"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"2":{"name":"entity.name.type.class.stata"},"3":{"name":"keyword.operator.list.stata"},"4":{"name":"entity.name.type.class.stata"}},"match":"\\\\b(list)\\\\s+(\\\\w{1,32})\\\\s+(\\\\||&|-|===|==|in)\\\\s+(\\\\w{1,32})"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"2":{"name":"punctuation.definition.string.begin.stata"},"3":{"name":"string.quoted.double.stata"},"4":{"name":"punctuation.definition.string.end.stata"},"5":{"name":"keyword.macro.extendedfcn.stata"},"6":{"name":"entity.name.type.class.stata"}},"match":"\\\\b(list\\\\s+posof)\\\\s+(\\")(\\\\w+)(\\")\\\\s+(in)\\\\s+(\\\\w{1,32})"},{"match":"\\\\b(rown(ames|ame|am|a)?|coln(ames|ame|am|a)?|rowf(ullnames|ullname|ullnam|ullna|ulln|ull|ul|u)?|colf(ullnames|ullname|ullnam|ullna|ulln|ull|ul|u)?|roweq?|coleq?|rownumb|colnumb|roweqnumb|coleqnumb|rownfreeparms|colnfreeparms|rownlfs|colnlfs|rowsof|colsof|rowvarlist|colvarlist|rowlfnames|collfnames)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"match":"\\\\b(tsnorm)\\\\b","name":"keyword.macro.extendedfcn.stata"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"7":{"patterns":[{"include":"#macro-local"},{"include":"#macro-global"}]}},"match":"\\\\b((copy|(ud|u)?strlen)\\\\s+(loc(al|a)?|gl(obal|oba|ob|o)?))\\\\s+([^']+)"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"}},"match":"\\\\b(word\\\\s+count)"},{"captures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"2":{"patterns":[{"include":"#macro-local"},{"include":"#constants"}]},"3":{"name":"keyword.macro.extendedfcn.stata"}},"match":"(word|piece)\\\\s+([\\\\s\`'\\\\w]+)\\\\s+(of)"},{"begin":"\\\\b(subinstr\\\\s+(loc(al|a)?|gl(obal|oba|ob|o)?))\\\\s+(\\\\w{1,32})","beginCaptures":{"1":{"name":"keyword.macro.extendedfcn.stata"},"5":{"name":"entity.name.type.class.stata"}},"end":"(?=//|\\\\n)","patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#string-compound"},{"include":"#string-regular"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"name":"keyword.macro.extendedfcn.stata"},"4":{"name":"entity.name.type.class.stata"},"5":{"name":"punctuation.definition.parameters.end.stata"}},"match":"(count|coun|cou|co|c)(\\\\()(local|loca|loc|global|globa|glob|glo|gl)\\\\s+(\\\\w{1,32})(\\\\))"}]},{"include":"#comments"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"$self"}]},"macro-global":{"patterns":[{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#comments-block"},{"begin":"[^\\\\w]","end":"\\\\n|(?=})","name":"comment.line.stata"},{"match":"\\\\w{1,32}","name":"entity.name.type.class.stata"}]},{"begin":"\\\\$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"(?!\\\\w)","endCaptures":{"1":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"match":"[\\\\w&&[^0-9_]]\\\\w{0,31}|_\\\\w{1,31}","name":"entity.name.type.class.stata"}]}]},"macro-global-escaped":{"patterns":[{"begin":"(\\\\\\\\\\\\$)(\\\\\\\\\\\\{)?","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"(\\\\\\\\\\\\})|(?=\\\\\\"|\\\\s|\\\\n|/|,)","endCaptures":{"1":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"match":"[\\\\w&&[^0-9_]]\\\\w{0,31}|_\\\\w{1,31}","name":"entity.name.type.class.stata"}]}]},"macro-local":{"patterns":[{"begin":"(\`)(=)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.stata"},"2":{"name":"keyword.operator.comparison.stata"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"$self"}]},{"begin":"(\`)(:)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.stata"},"2":{"name":"keyword.operator.comparison.stata"}},"contentName":"meta.macro-extended-function.stata","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-extended-functions"},{"include":"#constants"},{"include":"#string-compound"},{"include":"#string-regular"}]},{"begin":"(\`)(macval)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.stata"},"2":{"name":"support.function.builtin.stata"},"3":{"name":"punctuation.definition.parameters.begin.stata"}},"contentName":"meta.macro-extended-function.stata","end":"(\\\\))(')","endCaptures":{"1":{"name":"punctuation.definition.parameters.begin.stata"},"2":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"match":"\\\\w{1,31}","name":"entity.name.type.class.stata"}]},{"begin":"\`(?!\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"match":"\\\\+\\\\+|--","name":"keyword.operator.arithmetic.stata"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#comments-block"},{"begin":"[^\\\\w]","end":"\\\\n|(?=')","name":"comment.line.stata"},{"match":"\\\\w{1,31}","name":"entity.name.type.class.stata"}]}]},"macro-local-escaped":{"patterns":[{"begin":"\\\\\\\\\`(?!\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"comment":"appropriately color macros that have embedded escaped \`,', and $ characters for lazy evaluation","end":"\\\\\\\\'|'","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"match":"\\\\w{1,31}","name":"entity.name.type.class.stata"}]}]},"macro-local-identifiers":{"patterns":[{"match":"[^\\\\w'\`$()\\\\s]","name":"invalid.illegal.name.stata"},{"match":"\\\\w{32,}","name":"invalid.illegal.name.stata"},{"match":"\\\\w{1,31}","name":"entity.name.type.class.stata"}]},"operators":{"patterns":[{"comment":"++ and -- must come first to support ligatures","match":"\\\\+\\\\+|--|\\\\+|-|\\\\*|\\\\^","name":"keyword.operator.arithmetic.stata"},{"comment":"match division operator but not path separator","match":"(?<![\\\\w.&&[^0-9]])/(?![\\\\w.&&[^0-9]]|$)","name":"keyword.operator.arithmetic.stata"},{"comment":"match division operator but not path separator","match":"(?<![\\\\w.&&[^0-9]])\\\\\\\\(?![\\\\w.&&[^0-9]]|$)","name":"keyword.operator.matrix.addrow.stata"},{"match":"\\\\|\\\\|","name":"keyword.operator.graphcombine.stata"},{"match":"\\\\&|\\\\|","name":"keyword.operator.logical.stata"},{"match":"(?:<=|>=|:=|==|!=|~=|<|>|=|!!|!)","name":"keyword.operator.comparison.stata"},{"match":"\\\\(|\\\\)","name":"keyword.operator.parentheses.stata"},{"match":"(##|#)","name":"keyword.operator.factor-variables.stata"},{"match":"%","name":"keyword.operator.format.stata"},{"match":":","name":"punctuation.separator.key-value"},{"match":"\\\\[","name":"punctuation.definition.parameters.begin.stata"},{"match":"\\\\]","name":"punctuation.definition.parameters.end.stata"},{"match":",","name":"punctuation.definition.variable.begin.stata"},{"match":";","name":"keyword.operator.delimiter.stata"}]},"reserved-names":{"patterns":[{"match":"\\\\b(_all|_b|byte|_coef|_cons|double|float|if|in|int|long|_n|_N|_pi|_pred|_rc|_skip|str\\\\d+|strL|using|with)\\\\b","name":"invalid.illegal.name.stata"},{"match":"[^\\\\w'\`$()\\\\s]","name":"invalid.illegal.name.stata"},{"match":"\\\\d[\\\\w]{31,}","name":"invalid.illegal.name.stata"},{"match":"\\\\w{33,}","name":"invalid.illegal.name.stata"}]},"string-compound":{"patterns":[{"begin":"\`\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"\\"'|(?=\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.stata"}},"name":"string.quoted.double.compound.stata","patterns":[{"comment":"This must come before #string-regular and #string-compound to accurately color \`\\"\\"\\"' in strings","match":"\\"","name":"string.quoted.double.compound.stata"},{"comment":"see https://github.com/kylebarron/language-stata/issues/53","match":"\`\`\`(?=[^']*\\")","name":"meta.markdown.code.block.stata"},{"include":"#string-regular"},{"include":"#string-compound"},{"include":"#macro-local-escaped"},{"include":"#macro-global-escaped"},{"include":"#macro-local"},{"include":"#macro-global"}]}]},"string-regular":{"patterns":[{"begin":"(?<!\`)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.stata"}},"end":"(\\")(')?|(?=\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.stata"},"2":{"name":"invalid.illegal.punctuation.stata"}},"name":"string.quoted.double.stata","patterns":[{"comment":"see https://github.com/kylebarron/language-stata/issues/53","match":"\`\`\`(?=[^']*\\")","name":"meta.markdown.code.block.stata"},{"include":"#macro-local-escaped"},{"include":"#macro-global-escaped"},{"include":"#macro-local"},{"include":"#macro-global"}]}]},"subscripts":{"patterns":[{"begin":"(?<=[\\\\w'])(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.stata"}},"comment":"highlight expressions, like [_n], when using subscripts on a variable","end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.stata"}},"name":"meta.subscripts.stata","patterns":[{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#builtin_variables"},{"include":"#operators"},{"include":"#constants"},{"include":"#functions"}]}]},"unicode-regex-character-class":{"patterns":[{"match":"\\\\\\\\[wWsSdD]|\\\\.","name":"constant.character.character-class.stata"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.stata"},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.stata"},"2":{"name":"keyword.operator.negation.stata"}},"end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.character-class.stata"}},"name":"constant.other.character-class.set.stata","patterns":[{"include":"#unicode-regex-character-class"},{"captures":{"2":{"name":"constant.character.escape.backslash.stata"},"4":{"name":"constant.character.escape.backslash.stata"}},"match":"((\\\\\\\\.)|.)-((\\\\\\\\.)|[^\\\\]])","name":"constant.other.character-class.range.stata"}]}]},"unicode-regex-functions":{"patterns":[{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#unicode-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"name":"invalid.illegal.punctuation.stata"},"9":{"patterns":[{"include":"#constants"},{"match":",","name":"punctuation.definition.variable.begin.stata"}]},"10":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexm with regular quotes i.e. \\" ","match":"\\\\b(ustrregexm)(\\\\()([^,]+)(,)\\\\s*(\\")([^\\"]+)(\\"(')?)([,0-9\\\\s]*)?\\\\s*(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#unicode-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"patterns":[{"include":"#constants"},{"match":",","name":"punctuation.definition.variable.begin.stata"}]},"9":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexm with compound quotes","match":"\\\\b(ustrregexm)(\\\\()([^,]+)(,)\\\\s*(\`\\")([^\\"]+)(\\"')([,0-9\\\\s]*)?\\\\s*(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#unicode-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"name":"invalid.illegal.punctuation.stata"},"9":{"patterns":[{"match":",","name":"punctuation.definition.variable.begin.stata"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"},{"include":"#constants"}]},"10":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexr with regular quotes i.e. \\" ","match":"\\\\b(ustrregexrf|ustrregexra)(\\\\()([^,]+)(,)\\\\s*(\\")([^\\"]+)(\\"(')?)\\\\s*([^)]*)(\\\\))"},{"captures":{"1":{"name":"support.function.builtin.stata"},"2":{"name":"punctuation.definition.parameters.begin.stata"},"3":{"patterns":[{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments"}]},"4":{"name":"punctuation.definition.variable.begin.stata"},"5":{"name":"punctuation.definition.string.begin.stata"},"6":{"patterns":[{"include":"#unicode-regex-internals"}]},"7":{"name":"punctuation.definition.string.end.stata"},"8":{"patterns":[{"match":",","name":"punctuation.definition.variable.begin.stata"},{"include":"#string-compound"},{"include":"#string-regular"},{"include":"#macro-local"},{"include":"#macro-global"},{"include":"#functions"},{"match":"[\\\\w&&[^0-9]]\\\\w{0,31}","name":"variable.parameter.function.stata"},{"include":"#comments-triple-slash"},{"include":"#constants"}]},"9":{"name":"punctuation.definition.parameters.end.stata"}},"comment":"color regexr with compound quotes i.e. \`\\"text\\"' ","match":"\\\\b(ustrregexrf|ustrregexra)(\\\\()([^,]+)(,)\\\\s*(\`\\")([^\\"]+)(\\"')\\\\s*([^)]*)(\\\\))"}]},"unicode-regex-internals":{"patterns":[{"match":"\\\\\\\\[bBAZzG]|\\\\^","name":"keyword.control.anchor.stata"},{"comment":"matched when not a global","match":"\\\\$(?![[\\\\w&&[^0-9_]][\\\\w]{0,31}|_[\\\\w]{1,31}\\\\{])","name":"keyword.control.anchor.stata"},{"match":"\\\\\\\\[1-9]\\\\d?","name":"keyword.other.back-reference.stata"},{"match":"[?+*][?+]?|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)\\\\}\\\\??","name":"keyword.operator.quantifier.stata"},{"match":"\\\\|","name":"keyword.operator.or.stata"},{"begin":"\\\\((?!\\\\?\\\\#|\\\\?=|\\\\?!|\\\\?<=|\\\\?<!)","end":"\\\\)","name":"keyword.operator.group.stata","patterns":[{"include":"#unicode-regex-internals"}]},{"begin":"\\\\(\\\\?\\\\#","end":"\\\\)","name":"comment.block.stata"},{"comment":"We are restrictive in what we allow to go after the comment character to avoid false positives, since the availability of comments depend on regexp flags.","match":"(?<=^|\\\\s)#\\\\s[[a-zA-Z0-9,. \\\\t?!-:][^\\\\x{00}-\\\\x{7F}]]*$","name":"comment.line.number-sign.stata"},{"match":"\\\\(\\\\?[iLmsux]+\\\\)","name":"keyword.other.option-toggle.stata"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!)|(\\\\?<=)|(\\\\?<!))","beginCaptures":{"1":{"name":"keyword.operator.group.stata"},"2":{"name":"punctuation.definition.group.assertion.stata"},"3":{"name":"keyword.assertion.look-ahead.stata"},"4":{"name":"keyword.assertion.negative-look-ahead.stata"},"5":{"name":"keyword.assertion.look-behind.stata"},"6":{"name":"keyword.assertion.negative-look-behind.stata"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.group.stata"}},"name":"meta.group.assertion.stata","patterns":[{"include":"#unicode-regex-internals"}]},{"begin":"(\\\\()(\\\\?\\\\(([1-9]\\\\d?|[a-zA-Z_][a-zA-Z_0-9]*)\\\\))","beginCaptures":{"1":{"name":"punctuation.definition.group.stata"},"2":{"name":"punctuation.definition.group.assertion.conditional.stata"},"3":{"name":"entity.name.section.back-reference.stata"}},"comment":"we can make this more sophisticated to match the | character that separates yes-pattern from no-pattern, but it's not really necessary.","end":"(\\\\))","name":"meta.group.assertion.conditional.stata","patterns":[{"include":"#unicode-regex-internals"}]},{"include":"#unicode-regex-character-class"},{"include":"#macro-local"},{"include":"#macro-global"},{"comment":"NOTE: Error if I have .+ No idea why but it works fine it seems with just .","match":".","name":"string.quoted.stata"}]}},"scopeName":"source.stata","embeddedLangs":["sql"]}`));var n=[...t,e];export{n as default};
|