@nuxtjs/sitemap 7.2.4 → 7.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/client/200.html +127 -127
  2. package/dist/client/404.html +127 -127
  3. package/dist/client/_nuxt/-71hrkjd.js +1 -0
  4. package/dist/client/_nuxt/0BrjI7ue.js +1 -0
  5. package/dist/client/_nuxt/{C-nORZOA.js → 2V0Ap-uE.js} +1 -1
  6. package/dist/client/_nuxt/8jXJkYXT.js +1 -0
  7. package/dist/client/_nuxt/{CVk65OM4.js → AObogYnP.js} +1 -1
  8. package/dist/client/_nuxt/B-_AxZdj.js +1 -0
  9. package/dist/client/_nuxt/{wI6OXr6j.js → B6U2uXNT.js} +1 -1
  10. package/dist/client/_nuxt/BAxNRJcx.js +1 -0
  11. package/dist/client/_nuxt/{COK4E0Yg.js → BBT0u3iQ.js} +1 -1
  12. package/dist/client/_nuxt/BCMa2Tx6.js +1 -0
  13. package/dist/client/_nuxt/BDiHrqA7.js +1 -0
  14. package/dist/client/_nuxt/BHyGnp0Z.js +1 -0
  15. package/dist/client/_nuxt/BLCLeV30.js +1 -0
  16. package/dist/client/_nuxt/BLmoVg8f.js +1 -0
  17. package/dist/client/_nuxt/BR4n0CG2.js +1 -0
  18. package/dist/client/_nuxt/{Deuh7S70.js → BWx0ALLs.js} +1 -1
  19. package/dist/client/_nuxt/BXl-Qilg.js +1 -0
  20. package/dist/client/_nuxt/BZ4qjH1z.js +1 -0
  21. package/dist/client/_nuxt/B_7mSSNY.js +1 -0
  22. package/dist/client/_nuxt/{BlxRB_8X.js → Ba6QCfRf.js} +1 -1
  23. package/dist/client/_nuxt/{BQwtg7Y-.js → Bbt-fWo2.js} +1 -1
  24. package/dist/client/_nuxt/{COcR7UxN.js → BcOcwvcX.js} +1 -1
  25. package/dist/client/_nuxt/{e4jU7D2d.js → BceOnUsB.js} +1 -1
  26. package/dist/client/_nuxt/BekpkmYp.js +1 -0
  27. package/dist/client/_nuxt/{DDtJtuOZ.js → Bi2Xjx-o.js} +1 -1
  28. package/dist/client/_nuxt/{BE9QQhgF.js → BixDBq5F.js} +1 -1
  29. package/dist/client/_nuxt/Bjjh7dxw.js +1 -0
  30. package/dist/client/_nuxt/BkR1g5rb.js +1 -0
  31. package/dist/client/_nuxt/Blx2zv3z.js +1 -0
  32. package/dist/client/_nuxt/{B-k3dvlD.js → BnLMxUhr.js} +1 -1
  33. package/dist/client/_nuxt/{D8mZ0lfy.js → BnZ6J9ez.js} +1 -1
  34. package/dist/client/_nuxt/Bw1r3vCz.js +1 -0
  35. package/dist/client/_nuxt/BxugDVxS.js +1 -0
  36. package/dist/client/_nuxt/BzEH12SI.js +1 -0
  37. package/dist/client/_nuxt/C1YtDkjL.js +1 -0
  38. package/dist/client/_nuxt/C3TFZlTA.js +1 -0
  39. package/dist/client/_nuxt/C4-SGcC-.js +1 -0
  40. package/dist/client/_nuxt/C5AohmeQ.js +1 -0
  41. package/dist/client/_nuxt/{3kbuJQcV.js → C8E1IXHE.js} +1 -1
  42. package/dist/client/_nuxt/C9e09xm7.js +1 -0
  43. package/dist/client/_nuxt/{CZe0XNBd.js → CCQEdssC.js} +1 -1
  44. package/dist/client/_nuxt/CCbUEAxs.js +1 -0
  45. package/dist/client/_nuxt/CHVitPdg.js +1 -0
  46. package/dist/client/_nuxt/CLEBXJYW.js +1 -0
  47. package/dist/client/_nuxt/{Cza_XSSt.js → COl1u60l.js} +1 -1
  48. package/dist/client/_nuxt/CQ5q8R2W.js +1 -0
  49. package/dist/client/_nuxt/CQPZbkWf.js +1 -0
  50. package/dist/client/_nuxt/CR_dl2Bk.js +1 -0
  51. package/dist/client/_nuxt/{BLhTXw86.js → CSHvh9SD.js} +1 -1
  52. package/dist/client/_nuxt/CV3OApzZ.js +32 -0
  53. package/dist/client/_nuxt/{atvbtKCR.js → CWGUrYGm.js} +1 -1
  54. package/dist/client/_nuxt/CWgbWrzg.js +1 -0
  55. package/dist/client/_nuxt/CX-D33aM.js +1 -0
  56. package/dist/client/_nuxt/CXkZqcqC.js +1 -0
  57. package/dist/client/_nuxt/Cbu_jgUK.js +1 -0
  58. package/dist/client/_nuxt/CeaQPKDP.js +1 -0
  59. package/dist/client/_nuxt/Cg69lM4A.js +1 -0
  60. package/dist/client/_nuxt/{BNHBcdi1.js → CiNAsHKU.js} +1 -1
  61. package/dist/client/_nuxt/CjTSRSzG.js +1 -0
  62. package/dist/client/_nuxt/Cksrkzhi.js +1 -0
  63. package/dist/client/_nuxt/Cl11rDh_.js +1 -0
  64. package/dist/client/_nuxt/{DRNBmV_Q.js → ClJifeiK.js} +1 -1
  65. package/dist/client/_nuxt/{DRhBOlRY.js → CsiB4_CF.js} +1 -1
  66. package/dist/client/_nuxt/CucaAMjX.js +1 -0
  67. package/dist/client/_nuxt/{CSp6iqVD.js → CyZx4btO.js} +1 -1
  68. package/dist/client/_nuxt/D08_rs9c.js +1 -0
  69. package/dist/client/_nuxt/{BVr_1_27.js → D33VVPhb.js} +1 -1
  70. package/dist/client/_nuxt/D3T736Ml.js +1 -0
  71. package/dist/client/_nuxt/D8P4R8x9.js +1 -0
  72. package/dist/client/_nuxt/DBPt_AfP.js +1 -0
  73. package/dist/client/_nuxt/{sacFqUAJ.js → DBtIRQT_.js} +1 -1
  74. package/dist/client/_nuxt/{CYgUR4L5.js → DDhM2Lry.js} +1 -1
  75. package/dist/client/_nuxt/{UL5zprDm.js → DEEqWFGm.js} +1 -1
  76. package/dist/client/_nuxt/{BgYniUM_.js → DERFIACx.js} +1 -1
  77. package/dist/client/_nuxt/{BVz_zdnA.js → DFAwn6Qs.js} +1 -1
  78. package/dist/client/_nuxt/DFERiEu9.js +1 -0
  79. package/dist/client/_nuxt/{din0uRiO.js → DLdrzW0n.js} +1 -1
  80. package/dist/client/_nuxt/{C-wny61x.js → DNTbO5Kf.js} +1 -1
  81. package/dist/client/_nuxt/{DQVVAn-B.js → DPWDxuKt.js} +1 -1
  82. package/dist/client/_nuxt/DSrUkfvF.js +1 -0
  83. package/dist/client/_nuxt/DTAJTTim.js +1 -0
  84. package/dist/client/_nuxt/DVMEJ2y_.js +1 -0
  85. package/dist/client/_nuxt/{ClGRhx96.js → D_iqerNF.js} +1 -1
  86. package/dist/client/_nuxt/DaDNKYhP.js +1 -0
  87. package/dist/client/_nuxt/DbcauaCG.js +1 -0
  88. package/dist/client/_nuxt/Ddn3lr0y.js +1 -0
  89. package/dist/client/_nuxt/DjP-tqRL.js +1 -0
  90. package/dist/client/_nuxt/{C5Y8tDhP.js → DlaVQbPD.js} +1 -1
  91. package/dist/client/_nuxt/DlqU7Mzb.js +1 -0
  92. package/dist/client/_nuxt/{B2vK47Ag.js → DnAB7knh.js} +1 -1
  93. package/dist/client/_nuxt/Dp08fnRF.js +1 -0
  94. package/dist/client/_nuxt/{BEhvmC7f.js → DpGQfXhQ.js} +1 -1
  95. package/dist/client/_nuxt/{CyIGOvEh.js → DqDt7uUl.js} +1 -1
  96. package/dist/client/_nuxt/Dtn5OO9k.js +1 -0
  97. package/dist/client/_nuxt/{CGVVOGHx.js → DyGSH8sA.js} +1 -1
  98. package/dist/client/_nuxt/HnIlIngO.js +1 -0
  99. package/dist/client/_nuxt/ISJeQQUc.js +1 -0
  100. package/dist/client/_nuxt/MxEea5SM.js +1 -0
  101. package/dist/client/_nuxt/Olw6fvns.js +1 -0
  102. package/dist/client/_nuxt/{CMt9yHYq.js → R5DMG1SI.js} +1 -1
  103. package/dist/client/_nuxt/RJ4jLoVH.js +1 -0
  104. package/dist/client/_nuxt/RvZl2ZSs.js +1 -0
  105. package/dist/client/_nuxt/UP2u2qKn.js +1 -0
  106. package/dist/client/_nuxt/WlOKAcJ7.js +1 -0
  107. package/dist/client/_nuxt/YSxxb8je.js +1 -0
  108. package/dist/client/_nuxt/a8RH-YUw.js +1 -0
  109. package/dist/client/_nuxt/{BUEGK8hf.js → aBZrgJR0.js} +1 -1
  110. package/dist/client/_nuxt/builds/latest.json +1 -1
  111. package/dist/client/_nuxt/builds/meta/fde9927c-67b7-46e2-bc4b-f2cf5fcca69b.json +1 -0
  112. package/dist/client/_nuxt/eHy1PpK4.js +1 -0
  113. package/dist/client/_nuxt/error-404.CGmvdXdH.css +1 -0
  114. package/dist/client/_nuxt/error-500.DloGOj8k.css +1 -0
  115. package/dist/client/_nuxt/hegEt444.js +1 -0
  116. package/dist/client/_nuxt/{Drsz93k2.js → jOnvO7K6.js} +1 -1
  117. package/dist/client/_nuxt/jY9aw0fr.js +1 -0
  118. package/dist/client/_nuxt/{qpfuy3xp.js → kP2iUUCn.js} +1 -1
  119. package/dist/client/_nuxt/{HNqc6WRo.js → k_46elR7.js} +1 -1
  120. package/dist/client/_nuxt/mD5xMClh.js +1 -0
  121. package/dist/client/_nuxt/{m4gc_qpA.js → otdIdbsQ.js} +1 -1
  122. package/dist/client/_nuxt/{C0nbwVuJ.js → qVXJnTkO.js} +1 -1
  123. package/dist/client/_nuxt/rAlqSFiP.js +1 -0
  124. package/dist/client/_nuxt/s0gpj0oJ.js +1 -0
  125. package/dist/client/_nuxt/sY1Cc3Se.js +1 -0
  126. package/dist/client/_nuxt/tpHetfZQ.js +1 -0
  127. package/dist/client/_nuxt/ulE5f4OK.js +1 -0
  128. package/dist/client/_nuxt/yNdrVPqT.js +1 -0
  129. package/dist/client/_nuxt/{BsOYHjMa.js → z307i-ZX.js} +1 -1
  130. package/dist/client/index.html +127 -127
  131. package/dist/module.json +1 -1
  132. package/dist/runtime/server/kit.js +1 -1
  133. package/dist/runtime/server/plugins/compression.d.ts +1 -1
  134. package/dist/runtime/server/plugins/compression.js +1 -1
  135. package/dist/runtime/server/plugins/nuxt-content-v2.d.ts +1 -1
  136. package/dist/runtime/server/plugins/nuxt-content-v2.js +1 -1
  137. package/dist/runtime/server/plugins/warm-up.d.ts +1 -1
  138. package/dist/runtime/server/plugins/warm-up.js +1 -1
  139. package/dist/runtime/server/routes/__sitemap__/debug.js +1 -1
  140. package/dist/runtime/server/routes/sitemap.xml.js +1 -1
  141. package/dist/runtime/server/routes/sitemap.xsl.js +2 -1
  142. package/dist/runtime/server/routes/sitemap_index.xml.js +1 -1
  143. package/dist/runtime/server/sitemap/nitro.js +4 -1
  144. package/dist/runtime/server/utils.js +1 -1
  145. package/package.json +13 -13
  146. package/dist/client/_nuxt/7O62HKoU.js +0 -1
  147. package/dist/client/_nuxt/B-DoSBHF.js +0 -1
  148. package/dist/client/_nuxt/B1SYOhNW.js +0 -1
  149. package/dist/client/_nuxt/B5auBHZD.js +0 -1
  150. package/dist/client/_nuxt/BC5c_5Pe.js +0 -1
  151. package/dist/client/_nuxt/BFLt1xDp.js +0 -1
  152. package/dist/client/_nuxt/BHOwM8T6.js +0 -1
  153. package/dist/client/_nuxt/BIEUsx6d.js +0 -1
  154. package/dist/client/_nuxt/BILxekzW.js +0 -1
  155. package/dist/client/_nuxt/BJGe-b2p.js +0 -1
  156. package/dist/client/_nuxt/BK9xJ97g.js +0 -1
  157. package/dist/client/_nuxt/BMYPR7BL.js +0 -1
  158. package/dist/client/_nuxt/BPT9niGB.js +0 -1
  159. package/dist/client/_nuxt/BQoSv7ci.js +0 -1
  160. package/dist/client/_nuxt/BVUVsWT6.js +0 -1
  161. package/dist/client/_nuxt/BbSNqyBO.js +0 -1
  162. package/dist/client/_nuxt/BdxkyMLR.js +0 -1
  163. package/dist/client/_nuxt/Be6lgOlo.js +0 -1
  164. package/dist/client/_nuxt/BeQkCIfX.js +0 -1
  165. package/dist/client/_nuxt/BfCpw3nA.js +0 -1
  166. package/dist/client/_nuxt/BiFfXF7O.js +0 -1
  167. package/dist/client/_nuxt/BjQB5zDj.js +0 -1
  168. package/dist/client/_nuxt/Bu5BbsvL.js +0 -1
  169. package/dist/client/_nuxt/Bu73EIfS.js +0 -1
  170. package/dist/client/_nuxt/Bw0wYZmb.js +0 -1
  171. package/dist/client/_nuxt/BwXTMy5W.js +0 -1
  172. package/dist/client/_nuxt/C1XDQQGZ.js +0 -1
  173. package/dist/client/_nuxt/C1tVc3UG.js +0 -1
  174. package/dist/client/_nuxt/C30yJ1fx.js +0 -1
  175. package/dist/client/_nuxt/C6j12Q_x.js +0 -1
  176. package/dist/client/_nuxt/CB0Krxn9.js +0 -1
  177. package/dist/client/_nuxt/CB2ApiWb.js +0 -1
  178. package/dist/client/_nuxt/CKg9tqCS.js +0 -1
  179. package/dist/client/_nuxt/CQ0soPOq.js +0 -1
  180. package/dist/client/_nuxt/CYFUjXW1.js +0 -1
  181. package/dist/client/_nuxt/Cf8iN4DR.js +0 -1
  182. package/dist/client/_nuxt/Ci6OQyBP.js +0 -1
  183. package/dist/client/_nuxt/Cz8P-rqG.js +0 -1
  184. package/dist/client/_nuxt/D4Tzg5kh.js +0 -1
  185. package/dist/client/_nuxt/D5pd2Owo.js +0 -1
  186. package/dist/client/_nuxt/D9-PGadD.js +0 -1
  187. package/dist/client/_nuxt/D9R-vmeu.js +0 -1
  188. package/dist/client/_nuxt/DBQeEorK.js +0 -1
  189. package/dist/client/_nuxt/DB_GagMm.js +0 -1
  190. package/dist/client/_nuxt/DKXYxT9g.js +0 -1
  191. package/dist/client/_nuxt/DKykz6zU.js +0 -1
  192. package/dist/client/_nuxt/DNquZEk8.js +0 -1
  193. package/dist/client/_nuxt/DQ1-QYvQ.js +0 -1
  194. package/dist/client/_nuxt/DREVFZK8.js +0 -1
  195. package/dist/client/_nuxt/DSpSYhQ0.js +0 -1
  196. package/dist/client/_nuxt/DWJ3fJO_.js +0 -1
  197. package/dist/client/_nuxt/DYvnoCeB.js +0 -1
  198. package/dist/client/_nuxt/D_z4Izcz.js +0 -1
  199. package/dist/client/_nuxt/DbXoA79R.js +0 -1
  200. package/dist/client/_nuxt/DfxzS6Rs.js +0 -1
  201. package/dist/client/_nuxt/DhUJRlN_.js +0 -1
  202. package/dist/client/_nuxt/DjHMNizO.js +0 -1
  203. package/dist/client/_nuxt/DkBy-JyN.js +0 -1
  204. package/dist/client/_nuxt/DkLiglaE.js +0 -1
  205. package/dist/client/_nuxt/Dmy2k9nq.js +0 -1
  206. package/dist/client/_nuxt/Dr1nZTDi.js +0 -32
  207. package/dist/client/_nuxt/DsWjAdsX.js +0 -1
  208. package/dist/client/_nuxt/Dsg_Bt_b.js +0 -1
  209. package/dist/client/_nuxt/GBQ2dnAY.js +0 -1
  210. package/dist/client/_nuxt/HnGAYVZD.js +0 -1
  211. package/dist/client/_nuxt/HzYwdGDm.js +0 -1
  212. package/dist/client/_nuxt/P4WzXJd0.js +0 -1
  213. package/dist/client/_nuxt/QhoSD0DR.js +0 -1
  214. package/dist/client/_nuxt/R900dpIa.js +0 -1
  215. package/dist/client/_nuxt/TU54ms6u.js +0 -1
  216. package/dist/client/_nuxt/Tz6hzZYG.js +0 -1
  217. package/dist/client/_nuxt/UIAJJxZW.js +0 -1
  218. package/dist/client/_nuxt/builds/meta/a7edfb62-88a3-4edd-bb56-925f702ef970.json +0 -1
  219. package/dist/client/_nuxt/error-404.XjI5GY46.css +0 -1
  220. package/dist/client/_nuxt/error-500.BYuxNBj_.css +0 -1
  221. package/dist/client/_nuxt/m2LEI-9-.js +0 -1
  222. package/dist/client/_nuxt/mebxcVVE.js +0 -1
  223. package/dist/client/_nuxt/nyqBNV6O.js +0 -1
  224. package/dist/client/_nuxt/shcSOmrb.js +0 -1
  225. package/dist/client/_nuxt/w-ucz2PV.js +0 -1
  226. package/dist/client/_nuxt/w8dY5SsB.js +0 -1
@@ -1 +0,0 @@
1
- import t from"./COK4E0Yg.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)?([0-9]+)(.)([0-9]+)(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]?[0-9]?[0-9]?[0-9]?|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]?[0-9]?[0-9]?[0-9]?|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]?[0-9]?[0-9]?[0-9]?|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[0-9]+|strL|using|with)\\\\b","name":"invalid.illegal.name.stata"},{"match":"[^\\\\w'\`\\\\$\\\\(\\\\)\\\\s]","name":"invalid.illegal.name.stata"},{"match":"[0-9][\\\\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][0-9]?","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][0-9]?|[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"]}`)),n=[...t,e];export{n as default};
@@ -1 +0,0 @@
1
- const n=Object.freeze(JSON.parse('{"displayName":"JSON with Comments","name":"jsonc","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json.comments"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json.comments"}},"name":"meta.structure.array.json.comments","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json.comments"},{"match":"[^\\\\s\\\\]]","name":"invalid.illegal.expected-array-separator.json.comments"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json.comments"}},"end":"\\\\*/","name":"comment.block.documentation.json.comments"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json.comments"}},"end":"\\\\*/","name":"comment.block.json.comments"},{"captures":{"1":{"name":"punctuation.definition.comment.json.comments"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json.comments"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[eE][+-]?\\\\d+)?)?","name":"constant.numeric.json.comments"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json.comments"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json.comments"}},"name":"meta.structure.dictionary.json.comments","patterns":[{"comment":"the JSON object key","include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json.comments"}},"end":"(,)|(?=\\\\})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json.comments"}},"name":"meta.structure.dictionary.value.json.comments","patterns":[{"comment":"the JSON object value","include":"#value"},{"match":"[^\\\\s,]","name":"invalid.illegal.expected-dictionary-separator.json.comments"}]},{"match":"[^\\\\s\\\\}]","name":"invalid.illegal.expected-dictionary-separator.json.comments"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json.comments"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json.comments"}},"name":"string.json.comments support.type.property-name.json.comments","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json.comments"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json.comments"}},"name":"string.quoted.double.json.comments","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"\\\\\\\\/bfnrt]|u[0-9a-fA-F]{4})","name":"constant.character.escape.json.comments"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json.comments"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json.comments"}')),e=[n];export{e as default};
@@ -1 +0,0 @@
1
- const e=Object.freeze(JSON.parse(`{"displayName":"Mojo","name":"mojo","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated-parameter":{"begin":"\\\\b([[:alpha:]_]\\\\w*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.annotation.python"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"}]},"assignment-operator":{"match":"<<=|>>=|//=|\\\\*\\\\*=|\\\\+=|-=|/=|@=|\\\\*=|%=|~=|\\\\^=|&=|\\\\|=|=(?!=)","name":"keyword.operator.assignment.python"},"backticks":{"begin":"\\\\\`","end":"(?:\\\\\`|(?<!\\\\\\\\)(\\\\n))","name":"string.quoted.single.python"},"builtin-callables":{"patterns":[{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#builtin-exceptions"},{"include":"#builtin-functions"},{"include":"#builtin-types"}]},"builtin-exceptions":{"match":"(?<!\\\\.)\\\\b((Arithmetic|Assertion|Attribute|Buffer|BlockingIO|BrokenPipe|ChildProcess|(Connection(Aborted|Refused|Reset)?)|EOF|Environment|FileExists|FileNotFound|FloatingPoint|IO|Import|Indentation|Index|Interrupted|IsADirectory|NotADirectory|Permission|ProcessLookup|Timeout|Key|Lookup|Memory|Name|NotImplemented|OS|Overflow|Reference|Runtime|Recursion|Syntax|System|Tab|Type|UnboundLocal|Unicode(Encode|Decode|Translate)?|Value|Windows|ZeroDivision|ModuleNotFound)Error|((Pending)?Deprecation|Runtime|Syntax|User|Future|Import|Unicode|Bytes|Resource)?Warning|SystemExit|Stop(Async)?Iteration|KeyboardInterrupt|GeneratorExit|(Base)?Exception)\\\\b","name":"support.type.exception.python"},"builtin-functions":{"patterns":[{"match":"(?<!\\\\.)\\\\b(__import__|abs|aiter|all|any|anext|ascii|bin|breakpoint|callable|chr|compile|copyright|credits|delattr|dir|divmod|enumerate|eval|exec|exit|filter|format|getattr|globals|hasattr|hash|help|hex|id|input|isinstance|issubclass|iter|len|license|locals|map|max|memoryview|min|next|oct|open|ord|pow|print|quit|range|reload|repr|reversed|round|setattr|sorted|sum|vars|zip)\\\\b","name":"support.function.builtin.python"},{"match":"(?<!\\\\.)\\\\b(file|reduce|intern|raw_input|unicode|cmp|basestring|execfile|long|xrange)\\\\b","name":"variable.legacy.builtin.python"}]},"builtin-possible-callables":{"patterns":[{"include":"#builtin-callables"},{"include":"#magic-names"}]},"builtin-types":{"match":"(?<!\\\\.)\\\\b(__mlir_attr|__mlir_op|__mlir_type|bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|list|object|property|set|slice|staticmethod|str|tuple|type|super)\\\\b","name":"support.type.python"},"call-wrapper-inheritance":{"begin":"\\\\b(?=([[:alpha:]_]\\\\w*)\\\\s*(\\\\())","comment":"same as a function call, but in inheritance context","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.function-call.python","patterns":[{"include":"#inheritance-name"},{"include":"#function-arguments"}]},"class-declaration":{"patterns":[{"begin":"\\\\s*(class|struct|trait)\\\\s+(?=[[:alpha:]_]\\\\w*\\\\s*(:|\\\\())","beginCaptures":{"1":{"name":"storage.type.class.python"}},"end":"(:)","endCaptures":{"1":{"name":"punctuation.section.class.begin.python"}},"name":"meta.class.python","patterns":[{"include":"#class-name"},{"include":"#class-inheritance"}]}]},"class-inheritance":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.inheritance.begin.python"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.inheritance.end.python"}},"name":"meta.class.inheritance.python","patterns":[{"match":"(\\\\*\\\\*|\\\\*)","name":"keyword.operator.unpacking.arguments.python"},{"match":",","name":"punctuation.separator.inheritance.python"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"},{"match":"\\\\bmetaclass\\\\b","name":"support.type.metaclass.python"},{"include":"#illegal-names"},{"include":"#class-kwarg"},{"include":"#call-wrapper-inheritance"},{"include":"#expression-base"},{"include":"#member-access-class"},{"include":"#inheritance-identifier"}]},"class-kwarg":{"captures":{"1":{"name":"entity.other.inherited-class.python variable.parameter.class.python"},"2":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\s*(=)(?!=)"},"class-name":{"patterns":[{"include":"#illegal-object-name"},{"include":"#builtin-possible-callables"},{"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b","name":"entity.name.type.class.python"}]},"codetags":{"captures":{"1":{"name":"keyword.codetag.notation.python"}},"match":"(?:\\\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\\\b)"},"comments":{"patterns":[{"begin":"(?:\\\\#\\\\s*(type:)\\\\s*+(?!$|\\\\#))","beginCaptures":{"0":{"name":"meta.typehint.comment.python"},"1":{"name":"comment.typehint.directive.notation.python"}},"contentName":"meta.typehint.comment.python","end":"(?:$|(?=\\\\#))","name":"comment.line.number-sign.python","patterns":[{"match":"\\\\Gignore(?=\\\\s*(?:$|\\\\#))","name":"comment.typehint.ignore.notation.python"},{"match":"(?<!\\\\.)\\\\b(bool|bytes|float|int|object|str|List|Dict|Iterable|Sequence|Set|FrozenSet|Callable|Union|Tuple|Any|None)\\\\b","name":"comment.typehint.type.notation.python"},{"match":"([\\\\[\\\\]\\\\(\\\\),\\\\.\\\\=\\\\*]|(->))","name":"comment.typehint.punctuation.notation.python"},{"match":"([[:alpha:]_]\\\\w*)","name":"comment.typehint.variable.notation.python"}]},{"include":"#comments-base"}]},"comments-base":{"begin":"(\\\\#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"($)","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"comments-string-double-three":{"begin":"(\\\\#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"($|(?=\\"\\"\\"))","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"comments-string-single-three":{"begin":"(\\\\#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"($|(?='''))","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"curly-braces":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.python"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.dict.end.python"}},"patterns":[{"match":":","name":"punctuation.separator.dict.python"},{"include":"#expression"}]},"decorator":{"begin":"^\\\\s*((@))\\\\s*(?=[[:alpha:]_]\\\\w*)","beginCaptures":{"1":{"name":"entity.name.function.decorator.python"},"2":{"name":"punctuation.definition.decorator.python"}},"end":"(\\\\))(?:(.*?)(?=\\\\s*(?:\\\\#|$)))|(?=\\\\n|\\\\#)","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"},"2":{"name":"invalid.illegal.decorator.python"}},"name":"meta.function.decorator.python","patterns":[{"include":"#decorator-name"},{"include":"#function-arguments"}]},"decorator-name":{"patterns":[{"include":"#builtin-callables"},{"include":"#illegal-object-name"},{"captures":{"2":{"name":"punctuation.separator.period.python"}},"match":"([[:alpha:]_]\\\\w*)|(\\\\.)","name":"entity.name.function.decorator.python"},{"include":"#line-continuation"},{"captures":{"1":{"name":"invalid.illegal.decorator.python"}},"match":"\\\\s*([^([:alpha:]\\\\s_\\\\.#\\\\\\\\].*?)(?=\\\\#|$)","name":"invalid.illegal.decorator.python"}]},"double-one-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?\\\\](?!.*?\\\\])"},{"begin":"(\\\\[)(\\\\^)?(\\\\])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(\\\\]|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-charecter-set-escapes"},{"match":"[^\\\\n]","name":"constant.character.set.regexp"}]}]},"double-one-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"double-one-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+[[:alnum:]]+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#double-one-regexp-character-set"},{"include":"#double-one-regexp-comments"},{"include":"#regexp-flags"},{"include":"#double-one-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#double-one-regexp-lookahead"},{"include":"#double-one-regexp-lookahead-negative"},{"include":"#double-one-regexp-lookbehind"},{"include":"#double-one-regexp-lookbehind-negative"},{"include":"#double-one-regexp-conditional"},{"include":"#double-one-regexp-parentheses-non-capturing"},{"include":"#double-one-regexp-parentheses"}]},"double-one-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+[[:alnum:]]+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-three-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?\\\\](?!.*?\\\\])"},{"begin":"(\\\\[)(\\\\^)?(\\\\])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(\\\\]|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-charecter-set-escapes"},{"match":"[^\\\\n]","name":"constant.character.set.regexp"}]}]},"double-three-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"double-three-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+[[:alnum:]]+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#double-three-regexp-character-set"},{"include":"#double-three-regexp-comments"},{"include":"#regexp-flags"},{"include":"#double-three-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#double-three-regexp-lookahead"},{"include":"#double-three-regexp-lookahead-negative"},{"include":"#double-three-regexp-lookbehind"},{"include":"#double-three-regexp-lookbehind-negative"},{"include":"#double-three-regexp-conditional"},{"include":"#double-three-regexp-parentheses-non-capturing"},{"include":"#double-three-regexp-parentheses"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+[[:alnum:]]+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"ellipsis":{"match":"\\\\.\\\\.\\\\.","name":"constant.other.ellipsis.python"},"escape-sequence":{"match":"\\\\\\\\(x[0-9A-Fa-f]{2}|[0-7]{1,3}|[\\\\\\\\\\"'abfnrtv])","name":"constant.character.escape.python"},"escape-sequence-unicode":{"patterns":[{"match":"\\\\\\\\(u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8}|N\\\\{[\\\\w\\\\s]+?\\\\})","name":"constant.character.escape.python"}]},"expression":{"comment":"All valid Python expressions","patterns":[{"include":"#expression-base"},{"include":"#member-access"},{"comment":"Tokenize identifiers to help linters","match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b"}]},"expression-bare":{"comment":"valid Python expressions w/o comments and line continuation","patterns":[{"include":"#backticks"},{"include":"#literal"},{"include":"#regexp"},{"include":"#string"},{"include":"#lambda"},{"include":"#generator"},{"include":"#illegal-operator"},{"include":"#operator"},{"include":"#curly-braces"},{"include":"#item-access"},{"include":"#list"},{"include":"#odd-function-call"},{"include":"#round-braces"},{"include":"#function-call"},{"include":"#builtin-functions"},{"include":"#builtin-types"},{"include":"#builtin-exceptions"},{"include":"#magic-names"},{"include":"#special-names"},{"include":"#illegal-names"},{"include":"#special-variables"},{"include":"#ellipsis"},{"include":"#punctuation"},{"include":"#line-continuation"}]},"expression-base":{"comment":"valid Python expressions with comments and line continuation","patterns":[{"include":"#comments"},{"include":"#expression-bare"},{"include":"#line-continuation"}]},"f-expression":{"comment":"All valid Python expressions, except comments and line continuation","patterns":[{"include":"#expression-bare"},{"include":"#member-access"},{"comment":"Tokenize identifiers to help linters","match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b"}]},"fregexp-base-expression":{"patterns":[{"include":"#fregexp-quantifier"},{"include":"#fstring-formatting-braces"},{"match":"\\\\{.*?\\\\}"},{"include":"#regexp-base-common"}]},"fregexp-quantifier":{"match":"\\\\{\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)\\\\}\\\\}","name":"keyword.operator.quantifier.regexp"},"fstring-fnorm-quoted-multi-line":{"begin":"(\\\\b[fF])([bBuU])?('''|\\"\\"\\")","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.multi.python storage.type.string.python"},"2":{"name":"invalid.illegal.prefix.python"},"3":{"name":"punctuation.definition.string.begin.python string.interpolated.python string.quoted.multi.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-multi-core"}]},"fstring-fnorm-quoted-single-line":{"begin":"(\\\\b[fF])([bBuU])?((['\\"]))","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.single.python storage.type.string.python"},"2":{"name":"invalid.illegal.prefix.python"},"3":{"name":"punctuation.definition.string.begin.python string.interpolated.python string.quoted.single.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-single-core"}]},"fstring-formatting":{"patterns":[{"include":"#fstring-formatting-braces"},{"include":"#fstring-formatting-singe-brace"}]},"fstring-formatting-braces":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"2":{"name":"invalid.illegal.brace.python"},"3":{"name":"constant.character.format.placeholder.other.python"}},"comment":"empty braces are illegal","match":"({)(\\\\s*?)(})"},{"match":"({{|}})","name":"constant.character.escape.python"}]},"fstring-formatting-singe-brace":{"match":"(}(?!}))","name":"invalid.illegal.brace.python"},"fstring-guts":{"patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"},{"include":"#fstring-formatting"}]},"fstring-illegal-multi-brace":{"patterns":[{"include":"#impossible"}]},"fstring-illegal-single-brace":{"begin":"(\\\\{)(?=[^\\\\n}]*$\\\\n?)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"comment":"it is illegal to have a multiline brace inside a single-line string","end":"(\\\\})|(?=\\\\n)","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-single"},{"include":"#f-expression"}]},"fstring-multi-brace":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"comment":"value interpolation using { ... }","end":"(\\\\})","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-multi"},{"include":"#f-expression"}]},"fstring-multi-core":{"match":"(.+?)(($\\\\n?)|(?=[\\\\\\\\\\\\}\\\\{]|'''|\\"\\"\\"))|\\\\n","name":"string.interpolated.python string.quoted.multi.python"},"fstring-normf-quoted-multi-line":{"begin":"(\\\\b[bBuU])([fF])('''|\\"\\"\\")","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"string.interpolated.python string.quoted.multi.python storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python string.quoted.multi.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-multi-core"}]},"fstring-normf-quoted-single-line":{"begin":"(\\\\b[bBuU])([fF])((['\\"]))","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"string.interpolated.python string.quoted.single.python storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python string.quoted.single.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-single-core"}]},"fstring-raw-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#fstring-formatting"}]},"fstring-raw-multi-core":{"match":"(.+?)(($\\\\n?)|(?=[\\\\\\\\\\\\}\\\\{]|'''|\\"\\"\\"))|\\\\n","name":"string.interpolated.python string.quoted.raw.multi.python"},"fstring-raw-quoted-multi-line":{"begin":"(\\\\b(?:[rR][fF]|[fF][rR]))('''|\\"\\"\\")","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.raw.multi.python storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python string.quoted.raw.multi.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-raw-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-raw-multi-core"}]},"fstring-raw-quoted-single-line":{"begin":"(\\\\b(?:[rR][fF]|[fF][rR]))((['\\"]))","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.raw.single.python storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python string.quoted.raw.single.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-raw-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-raw-single-core"}]},"fstring-raw-single-core":{"match":"(.+?)(($\\\\n?)|(?=[\\\\\\\\\\\\}\\\\{]|(['\\"])|((?<!\\\\\\\\)\\\\n)))|\\\\n","name":"string.interpolated.python string.quoted.raw.single.python"},"fstring-single-brace":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"comment":"value interpolation using { ... }","end":"(\\\\})|(?=\\\\n)","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-single"},{"include":"#f-expression"}]},"fstring-single-core":{"match":"(.+?)(($\\\\n?)|(?=[\\\\\\\\\\\\}\\\\{]|(['\\"])|((?<!\\\\\\\\)\\\\n)))|\\\\n","name":"string.interpolated.python string.quoted.single.python"},"fstring-terminator-multi":{"patterns":[{"match":"(=(![rsa])?)(?=})","name":"storage.type.format.python"},{"match":"(=?![rsa])(?=})","name":"storage.type.format.python"},{"captures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"match":"((?:=?)(?:![rsa])?)(:\\\\w?[<>=^]?[-+ ]?\\\\#?\\\\d*,?(\\\\.\\\\d+)?[bcdeEfFgGnosxX%]?)(?=})"},{"include":"#fstring-terminator-multi-tail"}]},"fstring-terminator-multi-tail":{"begin":"((?:=?)(?:![rsa])?)(:)(?=.*?{)","beginCaptures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"end":"(?=})","patterns":[{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"match":"([bcdeEfFgGnosxX%])(?=})","name":"storage.type.format.python"},{"match":"(\\\\.\\\\d+)","name":"storage.type.format.python"},{"match":"(,)","name":"storage.type.format.python"},{"match":"(\\\\d+)","name":"storage.type.format.python"},{"match":"(\\\\#)","name":"storage.type.format.python"},{"match":"([-+ ])","name":"storage.type.format.python"},{"match":"([<>=^])","name":"storage.type.format.python"},{"match":"(\\\\w)","name":"storage.type.format.python"}]},"fstring-terminator-single":{"patterns":[{"match":"(=(![rsa])?)(?=})","name":"storage.type.format.python"},{"match":"(=?![rsa])(?=})","name":"storage.type.format.python"},{"captures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"match":"((?:=?)(?:![rsa])?)(:\\\\w?[<>=^]?[-+ ]?\\\\#?\\\\d*,?(\\\\.\\\\d+)?[bcdeEfFgGnosxX%]?)(?=})"},{"include":"#fstring-terminator-single-tail"}]},"fstring-terminator-single-tail":{"begin":"((?:=?)(?:![rsa])?)(:)(?=.*?{)","beginCaptures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"end":"(?=})|(?=\\\\n)","patterns":[{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"match":"([bcdeEfFgGnosxX%])(?=})","name":"storage.type.format.python"},{"match":"(\\\\.\\\\d+)","name":"storage.type.format.python"},{"match":"(,)","name":"storage.type.format.python"},{"match":"(\\\\d+)","name":"storage.type.format.python"},{"match":"(\\\\#)","name":"storage.type.format.python"},{"match":"([-+ ])","name":"storage.type.format.python"},{"match":"([<>=^])","name":"storage.type.format.python"},{"match":"(\\\\w)","name":"storage.type.format.python"}]},"function-arguments":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python"}},"contentName":"meta.function-call.arguments.python","end":"(?=\\\\))(?!\\\\)\\\\s*\\\\()","patterns":[{"match":"(,)","name":"punctuation.separator.arguments.python"},{"captures":{"1":{"name":"keyword.operator.unpacking.arguments.python"}},"match":"(?:(?<=[,(])|^)\\\\s*(\\\\*{1,2})"},{"include":"#lambda-incomplete"},{"include":"#illegal-names"},{"captures":{"1":{"name":"variable.parameter.function-call.python"},"2":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\s*(=)(?!=)"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"},{"include":"#expression"},{"captures":{"1":{"name":"punctuation.definition.arguments.end.python"},"2":{"name":"punctuation.definition.arguments.begin.python"}},"match":"\\\\s*(\\\\))\\\\s*(\\\\()"}]},"function-call":{"begin":"\\\\b(?=([[:alpha:]_]\\\\w*)\\\\s*(\\\\())","comment":"Regular function call of the type \\"name(args)\\"","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.function-call.python","patterns":[{"include":"#special-variables"},{"include":"#function-name"},{"include":"#function-arguments"}]},"function-declaration":{"begin":"\\\\s*(?:\\\\b(async)\\\\s+)?\\\\b(def|fn)\\\\s+(?=[[:alpha:]_][[:word:]]*\\\\s*[\\\\(\\\\[])","beginCaptures":{"1":{"name":"storage.type.function.async.python"},"2":{"name":"storage.type.function.python"}},"end":"(:|(?=[#'\\"\\\\n]))","endCaptures":{"1":{"name":"punctuation.section.function.begin.python"}},"name":"meta.function.python","patterns":[{"include":"#function-modifier"},{"include":"#function-def-name"},{"include":"#parameters"},{"include":"#meta_parameters"},{"include":"#line-continuation"},{"include":"#return-annotation"}]},"function-def-name":{"patterns":[{"include":"#illegal-object-name"},{"include":"#builtin-possible-callables"},{"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b","name":"entity.name.function.python"}]},"function-modifier":{"match":"(raises|capturing)","name":"storage.modifier"},"function-name":{"patterns":[{"include":"#builtin-possible-callables"},{"comment":"Some color schemas support meta.function-call.generic scope","match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b","name":"meta.function-call.generic.python"}]},"generator":{"begin":"\\\\bfor\\\\b","beginCaptures":{"0":{"name":"keyword.control.flow.python"}},"comment":"Match \\"for ... in\\" construct used in generators and for loops to\\ncorrectly identify the \\"in\\" as a control flow keyword.\\n","end":"\\\\bin\\\\b","endCaptures":{"0":{"name":"keyword.control.flow.python"}},"patterns":[{"include":"#expression"}]},"illegal-names":{"captures":{"1":{"name":"keyword.control.flow.python"},"2":{"name":"storage.type.function.python"},"3":{"name":"keyword.control.import.python"}},"match":"\\\\b(?:(and|assert|async|await|break|class|struct|trait|continue|del|elif|else|except|finally|for|from|global|if|in|is|(?<=\\\\.)lambda|lambda(?=\\\\s*[\\\\.=])|nonlocal|not|or|pass|raise|return|try|while|with|yield)|(def|fn|capturing|raises)|(as|import))\\\\b"},"illegal-object-name":{"comment":"It's illegal to name class or function \\"True\\"","match":"\\\\b(True|False|None)\\\\b","name":"keyword.illegal.name.python"},"illegal-operator":{"patterns":[{"match":"&&|\\\\|\\\\||--|\\\\+\\\\+","name":"invalid.illegal.operator.python"},{"match":"[?$]","name":"invalid.illegal.operator.python"},{"comment":"We don't want \`!\` to flash when we're typing \`!=\`","match":"!\\\\b","name":"invalid.illegal.operator.python"}]},"import":{"comment":"Import statements used to correctly mark \`from\`, \`import\`, and \`as\`\\n","patterns":[{"begin":"\\\\b(?<!\\\\.)(from)\\\\b(?=.+import)","beginCaptures":{"1":{"name":"keyword.control.import.python"}},"end":"$|(?=import)","patterns":[{"match":"\\\\.+","name":"punctuation.separator.period.python"},{"include":"#expression"}]},{"begin":"\\\\b(?<!\\\\.)(import)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import.python"}},"end":"$","patterns":[{"match":"\\\\b(?<!\\\\.)as\\\\b","name":"keyword.control.import.python"},{"include":"#expression"}]}]},"impossible":{"comment":"This is a special rule that should be used where no match is desired. It is not a good idea to match something like '1{0}' because in some cases that can result in infinite loops in token generation. So the rule instead matches and impossible expression to allow a match to fail and move to the next token.","match":"$.^"},"inheritance-identifier":{"captures":{"1":{"name":"entity.other.inherited-class.python"}},"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b"},"inheritance-name":{"patterns":[{"include":"#lambda-incomplete"},{"include":"#builtin-possible-callables"},{"include":"#inheritance-identifier"}]},"item-access":{"patterns":[{"begin":"\\\\b(?=[[:alpha:]_]\\\\w*\\\\s*\\\\[)","end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.item-access.python","patterns":[{"include":"#item-name"},{"include":"#item-index"},{"include":"#expression"}]}]},"item-index":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python"}},"contentName":"meta.item-access.arguments.python","end":"(?=\\\\])","patterns":[{"match":":","name":"punctuation.separator.slice.python"},{"include":"#expression"}]},"item-name":{"patterns":[{"include":"#special-variables"},{"include":"#builtin-functions"},{"include":"#special-names"},{"match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b","name":"meta.indexed-name.python"}]},"lambda":{"patterns":[{"captures":{"1":{"name":"keyword.control.flow.python"}},"match":"((?<=\\\\.)lambda|lambda(?=\\\\s*[\\\\.=]))"},{"captures":{"1":{"name":"storage.type.function.lambda.python"}},"match":"\\\\b(lambda)\\\\s*?(?=[,\\\\n]|$)"},{"begin":"\\\\b(lambda)\\\\b","beginCaptures":{"1":{"name":"storage.type.function.lambda.python"}},"contentName":"meta.function.lambda.parameters.python","end":"(:)|(\\\\n)","endCaptures":{"1":{"name":"punctuation.section.function.lambda.begin.python"}},"name":"meta.lambda-function.python","patterns":[{"match":"\\\\b(owned|borrowed|inout)\\\\b","name":"storage.modifier"},{"match":"/","name":"keyword.operator.positional.parameter.python"},{"match":"(\\\\*\\\\*|\\\\*)","name":"keyword.operator.unpacking.parameter.python"},{"include":"#lambda-nested-incomplete"},{"include":"#illegal-names"},{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.parameters.python"}},"match":"([[:alpha:]_]\\\\w*)\\\\s*(?:(,)|(?=:|$))"},{"include":"#comments"},{"include":"#backticks"},{"include":"#lambda-parameter-with-default"},{"include":"#line-continuation"},{"include":"#illegal-operator"}]}]},"lambda-incomplete":{"match":"\\\\blambda(?=\\\\s*[,)])","name":"storage.type.function.lambda.python"},"lambda-nested-incomplete":{"match":"\\\\blambda(?=\\\\s*[:,)])","name":"storage.type.function.lambda.python"},"lambda-parameter-with-default":{"begin":"\\\\b([[:alpha:]_]\\\\w*)\\\\s*(=)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"keyword.operator.python"}},"end":"(,)|(?=:|$)","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},"line-continuation":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.continuation.line.python"},"2":{"name":"invalid.illegal.line.continuation.python"}},"match":"(\\\\\\\\)\\\\s*(\\\\S.*$\\\\n?)"},{"begin":"(\\\\\\\\)\\\\s*$\\\\n?","beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.python"}},"end":"(?=^\\\\s*$)|(?!(\\\\s*[rR]?(\\\\'\\\\'\\\\'|\\\\\\"\\\\\\"\\\\\\"|\\\\'|\\\\\\"))|(\\\\G$))","patterns":[{"include":"#regexp"},{"include":"#string"}]}]},"list":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.list.begin.python"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.list.end.python"}},"patterns":[{"include":"#expression"}]},"literal":{"patterns":[{"match":"\\\\b(True|False|None|NotImplemented|Ellipsis)\\\\b","name":"constant.language.python"},{"include":"#number"}]},"loose-default":{"begin":"(=)","beginCaptures":{"1":{"name":"keyword.operator.python"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},"magic-function-names":{"captures":{"1":{"name":"support.function.magic.python"}},"comment":"these methods have magic interpretation by python and are generally called\\nindirectly through syntactic constructs\\n","match":"\\\\b(__(?:abs|add|aenter|aexit|aiter|and|anext|await|bool|call|ceil|class_getitem|cmp|coerce|complex|contains|copy|deepcopy|del|delattr|delete|delitem|delslice|dir|div|divmod|enter|eq|exit|float|floor|floordiv|format|ge|get|getattr|getattribute|getinitargs|getitem|getnewargs|getslice|getstate|gt|hash|hex|iadd|iand|idiv|ifloordiv||ilshift|imod|imul|index|init|instancecheck|int|invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|long|lshift|lt|missing|mod|mul|ne|neg|new|next|nonzero|oct|or|pos|pow|radd|rand|rdiv|rdivmod|reduce|reduce_ex|repr|reversed|rfloordiv||rlshift|rmod|rmul|ror|round|rpow|rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|set_name|setslice|setstate|sizeof|str|sub|subclasscheck|truediv|trunc|unicode|xor|matmul|rmatmul|imatmul|init_subclass|set_name|fspath|bytes|prepare|length_hint)__)\\\\b"},"magic-names":{"patterns":[{"include":"#magic-function-names"},{"include":"#magic-variable-names"}]},"magic-variable-names":{"captures":{"1":{"name":"support.variable.magic.python"}},"comment":"magic variables which a class/module may have.","match":"\\\\b(__(?:all|annotations|bases|builtins|class|struct|trait|closure|code|debug|defaults|dict|doc|file|func|globals|kwdefaults|match_args|members|metaclass|methods|module|mro|mro_entries|name|qualname|post_init|self|signature|slots|subclasses|version|weakref|wrapped|classcell|spec|path|package|future|traceback)__)\\\\b"},"member-access":{"begin":"(\\\\.)\\\\s*(?!\\\\.)","beginCaptures":{"1":{"name":"punctuation.separator.period.python"}},"end":"(?<=\\\\S)(?=\\\\W)|(^|(?<=\\\\s))(?=[^\\\\\\\\\\\\w\\\\s])|$","name":"meta.member.access.python","patterns":[{"include":"#function-call"},{"include":"#member-access-base"},{"include":"#member-access-attribute"}]},"member-access-attribute":{"comment":"Highlight attribute access in otherwise non-specialized cases.","match":"\\\\b([[:alpha:]_]\\\\w*)\\\\b","name":"meta.attribute.python"},"member-access-base":{"patterns":[{"include":"#magic-names"},{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#special-names"},{"include":"#line-continuation"},{"include":"#item-access"}]},"member-access-class":{"begin":"(\\\\.)\\\\s*(?!\\\\.)","beginCaptures":{"1":{"name":"punctuation.separator.period.python"}},"end":"(?<=\\\\S)(?=\\\\W)|$","name":"meta.member.access.python","patterns":[{"include":"#call-wrapper-inheritance"},{"include":"#member-access-base"},{"include":"#inheritance-identifier"}]},"meta_parameters":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python"}},"end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python"}},"name":"meta.function.parameters.python","patterns":[{"begin":"\\\\b([[:alpha:]_]\\\\w*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.annotation.python"}},"end":"(,)|(?=\\\\])","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},{"include":"#comments"}]},"number":{"name":"constant.numeric.python","patterns":[{"include":"#number-float"},{"include":"#number-dec"},{"include":"#number-hex"},{"include":"#number-oct"},{"include":"#number-bin"},{"include":"#number-long"},{"match":"\\\\b[0-9]+\\\\w+","name":"invalid.illegal.name.python"}]},"number-bin":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![\\\\w\\\\.])(0[bB])(_?[01])+\\\\b","name":"constant.numeric.bin.python"},"number-dec":{"captures":{"1":{"name":"storage.type.imaginary.number.python"},"2":{"name":"invalid.illegal.dec.python"}},"match":"(?<![\\\\w\\\\.])(?:[1-9](?:_?[0-9])*|0+|[0-9](?:_?[0-9])*([jJ])|0([0-9]+)(?![eE\\\\.]))\\\\b","name":"constant.numeric.dec.python"},"number-float":{"captures":{"1":{"name":"storage.type.imaginary.number.python"}},"match":"(?<!\\\\w)(?:(?:\\\\.[0-9](?:_?[0-9])*|[0-9](?:_?[0-9])*\\\\.[0-9](?:_?[0-9])*|[0-9](?:_?[0-9])*\\\\.)(?:[eE][+-]?[0-9](?:_?[0-9])*)?|[0-9](?:_?[0-9])*(?:[eE][+-]?[0-9](?:_?[0-9])*))([jJ])?\\\\b","name":"constant.numeric.float.python"},"number-hex":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![\\\\w\\\\.])(0[xX])(_?[0-9a-fA-F])+\\\\b","name":"constant.numeric.hex.python"},"number-long":{"captures":{"2":{"name":"storage.type.number.python"}},"comment":"this is to support python2 syntax for long ints","match":"(?<![\\\\w\\\\.])([1-9][0-9]*|0)([lL])\\\\b","name":"constant.numeric.bin.python"},"number-oct":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![\\\\w\\\\.])(0[oO])(_?[0-7])+\\\\b","name":"constant.numeric.oct.python"},"odd-function-call":{"begin":"(?<=\\\\]|\\\\))\\\\s*(?=\\\\()","comment":"A bit obscured function call where there may have been an\\narbitrary number of other operations to get the function.\\nE.g. \\"arr[idx](args)\\"\\n","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"patterns":[{"include":"#function-arguments"}]},"operator":{"captures":{"1":{"name":"keyword.operator.logical.python"},"2":{"name":"keyword.control.flow.python"},"3":{"name":"keyword.operator.bitwise.python"},"4":{"name":"keyword.operator.arithmetic.python"},"5":{"name":"keyword.operator.comparison.python"},"6":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b(?<!\\\\.)(?:(and|or|not|in|is)|(for|if|else|await|(?:yield(?:\\\\s+from)?)))(?!\\\\s*:)\\\\b|(<<|>>|&|\\\\||\\\\^|~)|(\\\\*\\\\*|\\\\*|\\\\+|-|%|//|/|@)|(!=|==|>=|<=|<|>)|(:=)"},"parameter-special":{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"variable.parameter.function.language.special.self.python"},"3":{"name":"variable.parameter.function.language.special.cls.python"},"4":{"name":"punctuation.separator.parameters.python"}},"match":"\\\\b((self)|(cls))\\\\b\\\\s*(?:(,)|(?=\\\\)))"},"parameters":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python"}},"name":"meta.function.parameters.python","patterns":[{"match":"\\\\b(owned|borrowed|inout)\\\\b","name":"storage.modifier"},{"match":"/","name":"keyword.operator.positional.parameter.python"},{"match":"(\\\\*\\\\*|\\\\*)","name":"keyword.operator.unpacking.parameter.python"},{"include":"#lambda-incomplete"},{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#parameter-special"},{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.parameters.python"}},"match":"([[:alpha:]_]\\\\w*)\\\\s*(?:(,)|(?=[)#\\\\n=]))"},{"include":"#comments"},{"include":"#loose-default"},{"include":"#annotated-parameter"}]},"punctuation":{"patterns":[{"match":":","name":"punctuation.separator.colon.python"},{"match":",","name":"punctuation.separator.element.python"}]},"regexp":{"patterns":[{"include":"#regexp-single-three-line"},{"include":"#regexp-double-three-line"},{"include":"#regexp-single-one-line"},{"include":"#regexp-double-one-line"}]},"regexp-backreference":{"captures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"},"2":{"name":"entity.name.tag.named.backreference.regexp"},"3":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"}},"match":"(\\\\()(\\\\?P=\\\\w+(?:\\\\s+[[:alnum:]]+)?)(\\\\))","name":"meta.backreference.named.regexp"},"regexp-backreference-number":{"captures":{"1":{"name":"entity.name.tag.backreference.regexp"}},"match":"(\\\\\\\\[1-9]\\\\d?)","name":"meta.backreference.regexp"},"regexp-base-common":{"patterns":[{"match":"\\\\.","name":"support.other.match.any.regexp"},{"match":"\\\\^","name":"support.other.match.begin.regexp"},{"match":"\\\\$","name":"support.other.match.end.regexp"},{"match":"[+*?]\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.disjunction.regexp"},{"include":"#regexp-escape-sequence"}]},"regexp-base-expression":{"patterns":[{"include":"#regexp-quantifier"},{"include":"#regexp-base-common"}]},"regexp-charecter-set-escapes":{"patterns":[{"match":"\\\\\\\\[abfnrtv\\\\\\\\]","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-special"},{"match":"\\\\\\\\([0-7]{1,3})","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-escape-catchall"}]},"regexp-double-one-line":{"begin":"\\\\b(([uU]r)|([bB]r)|(r[bB]?))(\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\")|(?<!\\\\\\\\)(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.single.python","patterns":[{"include":"#double-one-regexp-expression"}]},"regexp-double-three-line":{"begin":"\\\\b(([uU]r)|([bB]r)|(r[bB]?))(\\"\\"\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.multi.python","patterns":[{"include":"#double-three-regexp-expression"}]},"regexp-escape-catchall":{"match":"\\\\\\\\(.|\\\\n)","name":"constant.character.escape.regexp"},"regexp-escape-character":{"match":"\\\\\\\\(x[0-9A-Fa-f]{2}|0[0-7]{1,2}|[0-7]{3})","name":"constant.character.escape.regexp"},"regexp-escape-sequence":{"patterns":[{"include":"#regexp-escape-special"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-backreference-number"},{"include":"#regexp-escape-catchall"}]},"regexp-escape-special":{"match":"\\\\\\\\([AbBdDsSwWZ])","name":"support.other.escape.special.regexp"},"regexp-escape-unicode":{"match":"\\\\\\\\(u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})","name":"constant.character.unicode.regexp"},"regexp-flags":{"match":"\\\\(\\\\?[aiLmsux]+\\\\)","name":"storage.modifier.flag.regexp"},"regexp-quantifier":{"match":"\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)\\\\}","name":"keyword.operator.quantifier.regexp"},"regexp-single-one-line":{"begin":"\\\\b(([uU]r)|([bB]r)|(r[bB]?))(\\\\')","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\')|(?<!\\\\\\\\)(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.single.python","patterns":[{"include":"#single-one-regexp-expression"}]},"regexp-single-three-line":{"begin":"\\\\b(([uU]r)|([bB]r)|(r[bB]?))(\\\\'\\\\'\\\\')","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\'\\\\'\\\\')","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.multi.python","patterns":[{"include":"#single-three-regexp-expression"}]},"return-annotation":{"begin":"(->)","beginCaptures":{"1":{"name":"punctuation.separator.annotation.result.python"}},"end":"(?=:)","patterns":[{"include":"#expression"}]},"round-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.python"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.end.python"}},"patterns":[{"include":"#expression"}]},"semicolon":{"patterns":[{"match":"\\\\;$","name":"invalid.deprecated.semicolon.python"}]},"single-one-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?\\\\](?!.*?\\\\])"},{"begin":"(\\\\[)(\\\\^)?(\\\\])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(\\\\]|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-charecter-set-escapes"},{"match":"[^\\\\n]","name":"constant.character.set.regexp"}]}]},"single-one-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"single-one-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+[[:alnum:]]+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#single-one-regexp-character-set"},{"include":"#single-one-regexp-comments"},{"include":"#regexp-flags"},{"include":"#single-one-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#single-one-regexp-lookahead"},{"include":"#single-one-regexp-lookahead-negative"},{"include":"#single-one-regexp-lookbehind"},{"include":"#single-one-regexp-lookbehind-negative"},{"include":"#single-one-regexp-conditional"},{"include":"#single-one-regexp-parentheses-non-capturing"},{"include":"#single-one-regexp-parentheses"}]},"single-one-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+[[:alnum:]]+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\\\'))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-three-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?\\\\](?!.*?\\\\])"},{"begin":"(\\\\[)(\\\\^)?(\\\\])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(\\\\]|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-charecter-set-escapes"},{"match":"[^\\\\n]","name":"constant.character.set.regexp"}]}]},"single-three-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"single-three-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+[[:alnum:]]+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#single-three-regexp-character-set"},{"include":"#single-three-regexp-comments"},{"include":"#regexp-flags"},{"include":"#single-three-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#single-three-regexp-lookahead"},{"include":"#single-three-regexp-lookahead-negative"},{"include":"#single-three-regexp-lookbehind"},{"include":"#single-three-regexp-lookbehind-negative"},{"include":"#single-three-regexp-conditional"},{"include":"#single-three-regexp-parentheses-non-capturing"},{"include":"#single-three-regexp-parentheses"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+[[:alnum:]]+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\\\'\\\\'\\\\'))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"special-names":{"match":"\\\\b(_*[[:upper:]][_\\\\d]*[[:upper:]])[[:upper:]\\\\d]*(_\\\\w*)?\\\\b","name":"constant.other.caps.python"},"special-variables":{"captures":{"1":{"name":"variable.language.special.self.python"},"2":{"name":"variable.language.special.cls.python"}},"match":"\\\\b(?<!\\\\.)(?:(self)|(cls))\\\\b"},"statement":{"patterns":[{"include":"#import"},{"include":"#class-declaration"},{"include":"#function-declaration"},{"include":"#generator"},{"include":"#statement-keyword"},{"include":"#assignment-operator"},{"include":"#decorator"},{"include":"#semicolon"}]},"statement-keyword":{"patterns":[{"match":"\\\\b((async\\\\s+)?\\\\s*(def|fn))\\\\b","name":"storage.type.function.python"},{"comment":"if \`as\` is eventually followed by \`:\` or line continuation\\nit's probably control flow like:\\n with foo as bar, \\\\\\n Foo as Bar:\\n try:\\n do_stuff()\\n except Exception as e:\\n pass\\n","match":"\\\\b(?<!\\\\.)as\\\\b(?=.*[:\\\\\\\\])","name":"keyword.control.flow.python"},{"comment":"other legal use of \`as\` is in an import","match":"\\\\b(?<!\\\\.)as\\\\b","name":"keyword.control.import.python"},{"match":"\\\\b(?<!\\\\.)(async|continue|del|assert|break|finally|for|from|elif|else|if|except|pass|raise|return|try|while|with)\\\\b","name":"keyword.control.flow.python"},{"match":"\\\\b(?<!\\\\.)(global|nonlocal)\\\\b","name":"storage.modifier.declaration.python"},{"match":"\\\\b(?<!\\\\.)(class|struct|trait)\\\\b","name":"storage.type.class.python"},{"captures":{"1":{"name":"keyword.control.flow.python"}},"match":"^\\\\s*(case|match)(?=\\\\s*([-+\\\\w\\\\d(\\\\[{'\\":#]|$))\\\\b"},{"captures":{"1":{"name":"storage.modifier.declaration.python"},"2":{"name":"variable.other.python"}},"match":"\\\\b(var|let|alias) \\\\s*([[:alpha:]_]\\\\w*)\\\\b"}]},"string":{"patterns":[{"include":"#string-quoted-multi-line"},{"include":"#string-quoted-single-line"},{"include":"#string-bin-quoted-multi-line"},{"include":"#string-bin-quoted-single-line"},{"include":"#string-raw-quoted-multi-line"},{"include":"#string-raw-quoted-single-line"},{"include":"#string-raw-bin-quoted-multi-line"},{"include":"#string-raw-bin-quoted-single-line"},{"include":"#fstring-fnorm-quoted-multi-line"},{"include":"#fstring-fnorm-quoted-single-line"},{"include":"#fstring-normf-quoted-multi-line"},{"include":"#fstring-normf-quoted-single-line"},{"include":"#fstring-raw-quoted-multi-line"},{"include":"#fstring-raw-quoted-single-line"}]},"string-bin-quoted-multi-line":{"begin":"(\\\\b[bB])('''|\\"\\"\\")","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.binary.multi.python","patterns":[{"include":"#string-entity"}]},"string-bin-quoted-single-line":{"begin":"(\\\\b[bB])((['\\"]))","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.binary.single.python","patterns":[{"include":"#string-entity"}]},"string-brace-formatting":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"3":{"name":"storage.type.format.python"},"4":{"name":"storage.type.format.python"}},"match":"({{|}}|(?:{\\\\w*(\\\\.[[:alpha:]_]\\\\w*|\\\\[[^\\\\]'\\"]+\\\\])*(![rsa])?(:\\\\w?[<>=^]?[-+ ]?\\\\#?\\\\d*,?(\\\\.\\\\d+)?[bcdeEfFgGnosxX%]?)?}))","name":"meta.format.brace.python"},{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"3":{"name":"storage.type.format.python"},"4":{"name":"storage.type.format.python"}},"match":"({\\\\w*(\\\\.[[:alpha:]_]\\\\w*|\\\\[[^\\\\]'\\"]+\\\\])*(![rsa])?(:)[^'\\"{}\\\\n]*(?:\\\\{[^'\\"}\\\\n]*?\\\\}[^'\\"{}\\\\n]*)*})","name":"meta.format.brace.python"}]},"string-consume-escape":{"match":"\\\\\\\\['\\"\\\\n\\\\\\\\]"},"string-entity":{"patterns":[{"include":"#escape-sequence"},{"include":"#string-line-continuation"},{"include":"#string-formatting"}]},"string-formatting":{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"match":"(%(\\\\([\\\\w\\\\s]*\\\\))?[-+#0 ]*(\\\\d+|\\\\*)?(\\\\.(\\\\d+|\\\\*))?([hlL])?[diouxXeEfFgGcrsab%])","name":"meta.format.percent.python"},"string-line-continuation":{"match":"\\\\\\\\$","name":"constant.language.python"},"string-mojo-code-block":{"begin":"^(\\\\s*\\\\\`{3,})(mojo)$","beginCaptures":{"1":{"name":"string.quoted.single.python"},"2":{"name":"string.quoted.single.python"}},"contentName":"source.mojo","end":"^(\\\\1)$","endCaptures":{"1":{"name":"string.quoted.single.python"}},"name":"meta.embedded.block.mojo","patterns":[{"include":"source.mojo"}]},"string-multi-bad-brace1-formatting-raw":{"begin":"(?=\\\\{%(.*?(?!'''|\\"\\"\\"))%\\\\})","comment":"template using {% ... %}","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#string-consume-escape"}]},"string-multi-bad-brace1-formatting-unicode":{"begin":"(?=\\\\{%(.*?(?!'''|\\"\\"\\"))%\\\\})","comment":"template using {% ... %}","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"}]},"string-multi-bad-brace2-formatting-raw":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!'''|\\"\\"\\")[^!:\\\\.\\\\[}\\\\w]).*?(?!'''|\\"\\"\\")\\\\})","comment":"odd format or format-like syntax","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-multi-bad-brace2-formatting-unicode":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!'''|\\"\\"\\")[^!:\\\\.\\\\[}\\\\w]).*?(?!'''|\\"\\"\\")\\\\})","comment":"odd format or format-like syntax","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#string-entity"}]},"string-quoted-multi-line":{"begin":"(?:\\\\b([rR])(?=[uU]))?([uU])?('''|\\"\\"\\")","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.multi.python","patterns":[{"include":"#string-multi-bad-brace1-formatting-unicode"},{"include":"#string-multi-bad-brace2-formatting-unicode"},{"include":"#string-unicode-guts"}]},"string-quoted-single-line":{"begin":"(?:\\\\b([rR])(?=[uU]))?([uU])?((['\\"]))","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.single.python","patterns":[{"include":"#string-single-bad-brace1-formatting-unicode"},{"include":"#string-single-bad-brace2-formatting-unicode"},{"include":"#string-unicode-guts"}]},"string-raw-bin-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-raw-bin-quoted-multi-line":{"begin":"(\\\\b(?:R[bB]|[bB]R))('''|\\"\\"\\")","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.binary.multi.python","patterns":[{"include":"#string-raw-bin-guts"}]},"string-raw-bin-quoted-single-line":{"begin":"(\\\\b(?:R[bB]|[bB]R))((['\\"]))","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.binary.single.python","patterns":[{"include":"#string-raw-bin-guts"}]},"string-raw-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"},{"include":"#string-brace-formatting"}]},"string-raw-quoted-multi-line":{"begin":"\\\\b(([uU]R)|(R))('''|\\"\\"\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\4)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.multi.python","patterns":[{"include":"#string-multi-bad-brace1-formatting-raw"},{"include":"#string-multi-bad-brace2-formatting-raw"},{"include":"#string-raw-guts"}]},"string-raw-quoted-single-line":{"begin":"\\\\b(([uU]R)|(R))((['\\"]))","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\4)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.single.python","patterns":[{"include":"#string-single-bad-brace1-formatting-raw"},{"include":"#string-single-bad-brace2-formatting-raw"},{"include":"#string-raw-guts"}]},"string-single-bad-brace1-formatting-raw":{"begin":"(?=\\\\{%(.*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n)))%\\\\})","comment":"template using {% ... %}","end":"(?=(['\\"])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#string-consume-escape"}]},"string-single-bad-brace1-formatting-unicode":{"begin":"(?=\\\\{%(.*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n)))%\\\\})","comment":"template using {% ... %}","end":"(?=(['\\"])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"}]},"string-single-bad-brace2-formatting-raw":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n))[^!:\\\\.\\\\[}\\\\w]).*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n))\\\\})","comment":"odd format or format-like syntax","end":"(?=(['\\"])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-single-bad-brace2-formatting-unicode":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n))[^!:\\\\.\\\\[}\\\\w]).*?(?!(['\\"])|((?<!\\\\\\\\)\\\\n))\\\\})","comment":"odd format or format-like syntax","end":"(?=(['\\"])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#string-entity"}]},"string-unicode-guts":{"patterns":[{"include":"#string-mojo-code-block"},{"include":"#escape-sequence-unicode"},{"include":"#string-entity"},{"include":"#string-brace-formatting"}]}},"scopeName":"source.mojo"}`)),n=[e];export{n as default};