@xyd-js/components 0.1.0-xyd.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/README.md +3 -0
  2. package/coder.ts +1 -0
  3. package/content.ts +3 -0
  4. package/dist/CTABanner-CWX9isVG.js +1 -0
  5. package/dist/CodeSample-C5YaEpAi.js +1 -0
  6. package/dist/HomeView-CnAj-VYl.js +1 -0
  7. package/dist/UnderlineNav-C8onw9Na.js +1 -0
  8. package/dist/_rollupPluginBabelHelpers-DfQAiTCw.js +1 -0
  9. package/dist/abap-kIO_7z1o.js +1 -0
  10. package/dist/actionscript-3-DiaraCXE.js +1 -0
  11. package/dist/ada-aNFKX2pl.js +1 -0
  12. package/dist/angular-html-y0qIEhS2.js +1 -0
  13. package/dist/angular-ts-Bn_6f37o.js +1 -0
  14. package/dist/apache-Cx7e0H64.js +1 -0
  15. package/dist/apex-CdSCJjuL.js +1 -0
  16. package/dist/apl-BDzWBUim.js +1 -0
  17. package/dist/applescript-CJFkzk5i.js +1 -0
  18. package/dist/ara-BC9R9M5c.js +1 -0
  19. package/dist/asciidoc-lqQQs4M0.js +1 -0
  20. package/dist/asm-QQeI-gwp.js +1 -0
  21. package/dist/astro-BPstp8LF.js +1 -0
  22. package/dist/awk-Cxb7Sqvk.js +1 -0
  23. package/dist/ballerina-G8TyVc6O.js +1 -0
  24. package/dist/bat-UDEmXz-g.js +1 -0
  25. package/dist/beancount-BWg86rhE.js +1 -0
  26. package/dist/berry-5E5uGOYg.js +1 -0
  27. package/dist/bibtex-CZn_FFnb.js +1 -0
  28. package/dist/bicep-D_G0XT5J.js +1 -0
  29. package/dist/blade-7dxmctkK.js +1 -0
  30. package/dist/brand.d.ts +30 -0
  31. package/dist/brand.js +1 -0
  32. package/dist/c-CrEz-oYf.js +1 -0
  33. package/dist/cadence-BulSIR1A.js +1 -0
  34. package/dist/clarity-m2OigCMT.js +1 -0
  35. package/dist/clojure-Bpes2rhL.js +1 -0
  36. package/dist/cmake-C4Tr1SQC.js +1 -0
  37. package/dist/cobol-Dp8xGW1S.js +1 -0
  38. package/dist/codeowners-Bs3mpoau.js +1 -0
  39. package/dist/codeql-CvQzaisq.js +1 -0
  40. package/dist/coder.d.ts +19 -0
  41. package/dist/coder.js +1 -0
  42. package/dist/coffee-DOjtyJj_.js +1 -0
  43. package/dist/common-lisp-DGVR8DFi.js +1 -0
  44. package/dist/content.d.ts +225 -0
  45. package/dist/content.js +1 -0
  46. package/dist/cpp-BUT7C4Bo.js +1 -0
  47. package/dist/crystal-BJh9OJ1_.js +1 -0
  48. package/dist/csharp-BhZuAD8H.js +1 -0
  49. package/dist/css-8_G4_UCW.js +1 -0
  50. package/dist/csv-DLRyYdMG.js +1 -0
  51. package/dist/cue-DAgMCCsT.js +1 -0
  52. package/dist/cypher-CtSiSKRh.js +1 -0
  53. package/dist/d-feZJOTtr.js +1 -0
  54. package/dist/dark-plus-Dcn2h2HL.js +1 -0
  55. package/dist/dart-CNOu4aud.js +1 -0
  56. package/dist/dax-Dkp1Uj6t.js +1 -0
  57. package/dist/desktop-CAGQzotA.js +1 -0
  58. package/dist/diff-D6yk3_ZG.js +1 -0
  59. package/dist/docker-BdTrQq0b.js +1 -0
  60. package/dist/dotenv-BeHGAMs7.js +1 -0
  61. package/dist/dracula-BUaMrXr0.js +1 -0
  62. package/dist/dracula-soft-CBx6n76m.js +1 -0
  63. package/dist/dream-maker-BU0sZZmb.js +1 -0
  64. package/dist/edge-D2Tk5tmg.js +1 -0
  65. package/dist/elixir-B-l3Nz-G.js +1 -0
  66. package/dist/elm-Bqm7aRpV.js +1 -0
  67. package/dist/emacs-lisp-BSvpfolf.js +1 -0
  68. package/dist/erb-CwBHxfFV.js +1 -0
  69. package/dist/erlang-B0PtHWg2.js +1 -0
  70. package/dist/fennel-CdN4E9Xo.js +1 -0
  71. package/dist/fish-XrbYjeRx.js +1 -0
  72. package/dist/fluent-zYsEgElv.js +1 -0
  73. package/dist/fortran-fixed-form-CPwX6okW.js +1 -0
  74. package/dist/fortran-free-form-B6Kk9658.js +1 -0
  75. package/dist/fsharp-CbMfVCMr.js +1 -0
  76. package/dist/gdresource-CdRUpBQO.js +1 -0
  77. package/dist/gdscript-CYXv_Ac9.js +1 -0
  78. package/dist/gdshader-CtiaGYI5.js +1 -0
  79. package/dist/genie-C-gOIth7.js +1 -0
  80. package/dist/gherkin-uGsOfG-k.js +1 -0
  81. package/dist/git-commit-CWQvkRNX.js +1 -0
  82. package/dist/git-rebase-BZ0YVJ-O.js +1 -0
  83. package/dist/github-dark-DCm4kydX.js +1 -0
  84. package/dist/github-dark-dimmed-CsRUrOJA.js +1 -0
  85. package/dist/github-from-css-CTRi6tFC.js +1 -0
  86. package/dist/github-light-B2ofRYMU.js +1 -0
  87. package/dist/gleam-C9ZZ3Vp2.js +1 -0
  88. package/dist/glimmer-js-Cuwfndkm.js +1 -0
  89. package/dist/glimmer-ts-D8nR8_k2.js +1 -0
  90. package/dist/glsl-qc_rLvzz.js +1 -0
  91. package/dist/gnuplot-BgHAcd--.js +1 -0
  92. package/dist/go-Dm8VBUM2.js +1 -0
  93. package/dist/graphql-CRmnB6D5.js +1 -0
  94. package/dist/groovy-DJcw8dX4.js +1 -0
  95. package/dist/hack-DYOVz52F.js +1 -0
  96. package/dist/haml-j8Vx_P4q.js +1 -0
  97. package/dist/handlebars-Qz3hgrPG.js +1 -0
  98. package/dist/haskell-DE3vVmXn.js +1 -0
  99. package/dist/haxe-DpuNPTTj.js +1 -0
  100. package/dist/hcl-BvV3VZ9s.js +1 -0
  101. package/dist/hjson-CsTZvU0B.js +1 -0
  102. package/dist/hlsl-BLZumTGu.js +1 -0
  103. package/dist/html-BJsWDmIe.js +1 -0
  104. package/dist/html-derivative-zDWJvwg5.js +1 -0
  105. package/dist/http-BiMppEBd.js +1 -0
  106. package/dist/hxml-DG2jWwyK.js +1 -0
  107. package/dist/hy-C9zVJlJf.js +1 -0
  108. package/dist/imba-DGD1mm8E.js +1 -0
  109. package/dist/index-TKJ66_wI.js +1 -0
  110. package/dist/index.css +135 -0
  111. package/dist/index.d.ts +2 -0
  112. package/dist/index.js +1 -0
  113. package/dist/ini-CU7wgrgh.js +1 -0
  114. package/dist/java-DyOZhX5L.js +1 -0
  115. package/dist/javascript-C0AWZ4eK.js +1 -0
  116. package/dist/jinja-Lc82IfGI.js +1 -0
  117. package/dist/jison-DT7Oqeqm.js +1 -0
  118. package/dist/json-Zoq3rK60.js +1 -0
  119. package/dist/json5-BOFh3mt2.js +1 -0
  120. package/dist/jsonc-CPutX9W5.js +1 -0
  121. package/dist/jsonl-xWfKSBhV.js +1 -0
  122. package/dist/jsonnet-UcnvaLwK.js +1 -0
  123. package/dist/jssm-BRT8_Uqd.js +1 -0
  124. package/dist/jsx-B4WNxrCK.js +1 -0
  125. package/dist/julia-i7_3XSV_.js +1 -0
  126. package/dist/kotlin-B_s0KNy5.js +1 -0
  127. package/dist/kusto-CDr4m-xT.js +1 -0
  128. package/dist/latex-BNB6MZrj.js +1 -0
  129. package/dist/layouts.d.ts +19 -0
  130. package/dist/layouts.js +1 -0
  131. package/dist/lean-2dBp1asm.js +1 -0
  132. package/dist/less-CfPPFFsV.js +1 -0
  133. package/dist/light-plus-glPHycm5.js +1 -0
  134. package/dist/liquid-Bj1DN66U.js +1 -0
  135. package/dist/log-CKSz9t_o.js +1 -0
  136. package/dist/logo-D3UPVeLP.js +1 -0
  137. package/dist/lua-C1EFGxtA.js +1 -0
  138. package/dist/luau-Dvb2LLsw.js +1 -0
  139. package/dist/make-TqphZF-7.js +1 -0
  140. package/dist/markdown-yX62Igf3.js +1 -0
  141. package/dist/marko-LH6NoP97.js +1 -0
  142. package/dist/material-darker-D6whucX3.js +1 -0
  143. package/dist/material-default-DYqS7fqa.js +1 -0
  144. package/dist/material-from-css-DlWo_ZDV.js +1 -0
  145. package/dist/material-lighter-CYQaMsGh.js +1 -0
  146. package/dist/material-ocean-Dl_zLA-F.js +1 -0
  147. package/dist/material-palenight-Cd4X9kqy.js +1 -0
  148. package/dist/matlab-Dy9K5GW8.js +1 -0
  149. package/dist/mdc-DhAfBnnn.js +1 -0
  150. package/dist/mdx-tnT2uTqR.js +1 -0
  151. package/dist/mermaid-aEaCok9S.js +1 -0
  152. package/dist/min-dark-CpapYCVz.js +1 -0
  153. package/dist/min-light-plRN0zW-.js +1 -0
  154. package/dist/mojo-BanaVmFY.js +1 -0
  155. package/dist/monokai-Cs2_BG4b.js +1 -0
  156. package/dist/move-B_kaWhAV.js +1 -0
  157. package/dist/narrat-6tChrAmV.js +1 -0
  158. package/dist/nextflow-BYB6CU6V.js +1 -0
  159. package/dist/nginx-Clr7XfzW.js +1 -0
  160. package/dist/nim-gLesixmv.js +1 -0
  161. package/dist/nix-DCgUXh-o.js +1 -0
  162. package/dist/nord-BHSE8FbR.js +1 -0
  163. package/dist/nushell-DDKGkuZY.js +1 -0
  164. package/dist/objective-c-BsQdhSk0.js +1 -0
  165. package/dist/objective-cpp-B-VZlBXW.js +1 -0
  166. package/dist/ocaml-B19L2xxl.js +1 -0
  167. package/dist/one-dark-pro-AWPQgJbJ.js +1 -0
  168. package/dist/pages.d.ts +30 -0
  169. package/dist/pages.js +1 -0
  170. package/dist/pascal-B0kVBVTU.js +1 -0
  171. package/dist/perl-Bs2cXIO6.js +1 -0
  172. package/dist/php-BgaH_AHK.js +1 -0
  173. package/dist/plsql-CPY7hT9n.js +1 -0
  174. package/dist/po-BszTsnLZ.js +1 -0
  175. package/dist/poimandres-CZF4JUv5.js +1 -0
  176. package/dist/postcss-DQ0frX96.js +1 -0
  177. package/dist/powerquery-BitONm6p.js +1 -0
  178. package/dist/powershell-B_lVHVgu.js +1 -0
  179. package/dist/prisma-CqkE3olT.js +1 -0
  180. package/dist/prolog-Bpuon3aK.js +1 -0
  181. package/dist/proto-C349dup0.js +1 -0
  182. package/dist/pug-Bbf3g_hT.js +1 -0
  183. package/dist/puppet-qDtDc0so.js +1 -0
  184. package/dist/purescript-C03CHyrT.js +1 -0
  185. package/dist/python-D5e4BtVB.js +1 -0
  186. package/dist/qml-LVCeHqxw.js +1 -0
  187. package/dist/qmldir-BEg8Q-XX.js +1 -0
  188. package/dist/qss-vq-U9k0N.js +1 -0
  189. package/dist/r-DnCIdoUu.js +1 -0
  190. package/dist/racket-BQt8mf2o.js +1 -0
  191. package/dist/raku-ChTHpuBS.js +1 -0
  192. package/dist/razor-CjFZSXD2.js +1 -0
  193. package/dist/reg-12gGsscy.js +1 -0
  194. package/dist/regexp-zLCCZKTi.js +1 -0
  195. package/dist/rel-aZ4oe34Q.js +1 -0
  196. package/dist/riscv-BA9R8KI2.js +1 -0
  197. package/dist/rose-pine-8QECO0Ox.js +1 -0
  198. package/dist/rose-pine-dawn-DT77ObZh.js +1 -0
  199. package/dist/rose-pine-moon-D3-I8ETF.js +1 -0
  200. package/dist/rst-DFKlxnrd.js +1 -0
  201. package/dist/ruby-BypI_hk5.js +1 -0
  202. package/dist/rust-tE6tRkqD.js +1 -0
  203. package/dist/sas-D1sMUJql.js +1 -0
  204. package/dist/sass-DBEOLVv3.js +1 -0
  205. package/dist/scala-DUzir4os.js +1 -0
  206. package/dist/scheme-dsSqVZz3.js +1 -0
  207. package/dist/scss-B0kJw1gM.js +1 -0
  208. package/dist/shaderlab-Cd8Cbryn.js +1 -0
  209. package/dist/shellscript-BL-Ihj2z.js +1 -0
  210. package/dist/shellsession-C5KJPcFG.js +1 -0
  211. package/dist/slack-dark-JbsLGggd.js +1 -0
  212. package/dist/slack-ochin-hTeCADjA.js +1 -0
  213. package/dist/smalltalk-DQ23HuGh.js +1 -0
  214. package/dist/solarized-dark-D2bQRcX7.js +1 -0
  215. package/dist/solarized-light-6xrOKoxI.js +1 -0
  216. package/dist/solidity-DUCwohjn.js +1 -0
  217. package/dist/soy-Cy4pRjbu.js +1 -0
  218. package/dist/sparql-D7gNTkUq.js +1 -0
  219. package/dist/splunk-Dvl5Xm98.js +1 -0
  220. package/dist/sql-BfoT44Al.js +1 -0
  221. package/dist/ssh-config-C-ZFySPN.js +1 -0
  222. package/dist/stata-Dpw9jvge.js +1 -0
  223. package/dist/stylus-mJ9_5M6n.js +1 -0
  224. package/dist/svelte-DD5dtnEi.js +1 -0
  225. package/dist/swift-DDernUpH.js +1 -0
  226. package/dist/system-verilog-DeXSd9Py.js +1 -0
  227. package/dist/systemd-NetTuLPL.js +1 -0
  228. package/dist/tasl-BCm9L3tI.js +1 -0
  229. package/dist/tcl-DmWVgxCm.js +1 -0
  230. package/dist/templ-B7wt_K-d.js +1 -0
  231. package/dist/terraform-DYIIsq8p.js +1 -0
  232. package/dist/tex-DFj0qpOD.js +1 -0
  233. package/dist/toml-CFu3vY0Q.js +1 -0
  234. package/dist/ts-tags-BvMEeGTJ.js +1 -0
  235. package/dist/tslib.es6-C3PNVQlC.js +1 -0
  236. package/dist/tsv-DnenRF8k.js +1 -0
  237. package/dist/tsx-DooqfEr1.js +1 -0
  238. package/dist/turtle-DKlxyehf.js +1 -0
  239. package/dist/twig-DpQc8FUF.js +1 -0
  240. package/dist/txt-C4tHEtDr.js +1 -0
  241. package/dist/typescript-DtE5sB_4.js +1 -0
  242. package/dist/typespec-B69vp3jc.js +1 -0
  243. package/dist/typst-BzEngGMo.js +1 -0
  244. package/dist/v-Dy6tTX8K.js +1 -0
  245. package/dist/vala-DQnmDtkE.js +1 -0
  246. package/dist/vb-CqTjXY4K.js +1 -0
  247. package/dist/verilog-D6Zfe00a.js +1 -0
  248. package/dist/vhdl-Dxu0BOr9.js +1 -0
  249. package/dist/views.d.ts +17 -0
  250. package/dist/views.js +1 -0
  251. package/dist/viml-eXtfIM-m.js +1 -0
  252. package/dist/vue-D3vey6Cu.js +1 -0
  253. package/dist/vue-html-DyaqvCGV.js +1 -0
  254. package/dist/vyper-C6AULW8C.js +1 -0
  255. package/dist/wasm-Cl39COlm.js +1 -0
  256. package/dist/wenyan-DJGdsiXE.js +1 -0
  257. package/dist/wgsl-CDhIPMwJ.js +1 -0
  258. package/dist/wikitext-D05PpJ8X.js +1 -0
  259. package/dist/wolfram-JgWnd2g7.js +1 -0
  260. package/dist/writer.d.ts +157 -0
  261. package/dist/writer.js +1 -0
  262. package/dist/xml-Cc1Sy-d4.js +1 -0
  263. package/dist/xsl-CEYTrbD0.js +1 -0
  264. package/dist/yaml-NvTdC05o.js +1 -0
  265. package/dist/zenscript-De0mU_BW.js +1 -0
  266. package/dist/zig-D9TJVGyp.js +1 -0
  267. package/index.ts +1 -0
  268. package/layouts.ts +1 -0
  269. package/package.json +58 -0
  270. package/postcss.config.cjs +5 -0
  271. package/rollup.config.js +149 -0
  272. package/src/brand/Button/Button.tsx +48 -0
  273. package/src/brand/Button/index.ts +7 -0
  274. package/src/brand/CTABanner/CTABanner.tsx +127 -0
  275. package/src/brand/CTABanner/index.ts +8 -0
  276. package/src/brand/Footer/Footer.tsx +36 -0
  277. package/src/brand/Footer/index.ts +3 -0
  278. package/src/brand/index.ts +5 -0
  279. package/src/coder/CodeCopy/CodeCopy.style.tsx +21 -0
  280. package/src/coder/CodeCopy/CodeCopy.tsx +32 -0
  281. package/src/coder/CodeCopy/index.ts +7 -0
  282. package/src/coder/CodeSample/CodeSample.styles.tsx +137 -0
  283. package/src/coder/CodeSample/CodeSample.tsx +150 -0
  284. package/src/coder/CodeSample/default-theme.ts +266 -0
  285. package/src/coder/CodeSample/index.ts +12 -0
  286. package/src/coder/CodeSample/withLocalStored.tsx +50 -0
  287. package/src/coder/README.md +1 -0
  288. package/src/coder/index.ts +3 -0
  289. package/src/content/Anchor/Anchor.tsx +63 -0
  290. package/src/content/Anchor/index.tsx +3 -0
  291. package/src/content/Content/Content.tsx +20 -0
  292. package/src/content/Content/index.tsx +3 -0
  293. package/src/content/Content.tsx +137 -0
  294. package/src/content/Subtitle/Subtitle.tsx +21 -0
  295. package/src/content/Subtitle/index.tsx +3 -0
  296. package/src/content/index.ts +3 -0
  297. package/src/layouts/Layout.styles.tsx +151 -0
  298. package/src/layouts/Layout.tsx +121 -0
  299. package/src/layouts/index.ts +7 -0
  300. package/src/pages/HomePage/HomePage.tsx +93 -0
  301. package/src/pages/HomePage/index.ts +5 -0
  302. package/src/pages/HomePage/types.ts +41 -0
  303. package/src/pages/index.ts +1 -0
  304. package/src/views/HomeView/HomeView.tsx +74 -0
  305. package/src/views/HomeView/index.ts +3 -0
  306. package/src/views/index.ts +1 -0
  307. package/src/writer/Badge/Badge.styles.tsx +29 -0
  308. package/src/writer/Badge/Badge.tsx +28 -0
  309. package/src/writer/Badge/index.ts +7 -0
  310. package/src/writer/Blockquote/Blockquote.styles.tsx +10 -0
  311. package/src/writer/Blockquote/Blockquote.tsx +13 -0
  312. package/src/writer/Blockquote/index.ts +7 -0
  313. package/src/writer/Breadcrumbs/Breadcrumbs.styles.ts +28 -0
  314. package/src/writer/Breadcrumbs/Breadcrumbs.tsx +46 -0
  315. package/src/writer/Breadcrumbs/index.ts +7 -0
  316. package/src/writer/Callout/Callout.styles.tsx +50 -0
  317. package/src/writer/Callout/Callout.tsx +37 -0
  318. package/src/writer/Callout/index.tsx +3 -0
  319. package/src/writer/Code/Code.styles.tsx +17 -0
  320. package/src/writer/Code/Code.tsx +13 -0
  321. package/src/writer/Code/index.ts +3 -0
  322. package/src/writer/Details/Details.styles.tsx +76 -0
  323. package/src/writer/Details/Details.tsx +122 -0
  324. package/src/writer/Details/index.ts +3 -0
  325. package/src/writer/GuideCard/GuideCard.styles.tsx +115 -0
  326. package/src/writer/GuideCard/GuideCard.tsx +81 -0
  327. package/src/writer/GuideCard/index.ts +1 -0
  328. package/src/writer/Heading/Heading.styles.tsx +73 -0
  329. package/src/writer/Heading/Heading.tsx +53 -0
  330. package/src/writer/Heading/index.ts +7 -0
  331. package/src/writer/Hr/Hr.styles.tsx +7 -0
  332. package/src/writer/Hr/Hr.tsx +13 -0
  333. package/src/writer/Hr/index.ts +3 -0
  334. package/src/writer/Icon/index.tsx +112 -0
  335. package/src/writer/NavLinks/NavLinks.styles.ts +32 -0
  336. package/src/writer/NavLinks/NavLinks.tsx +48 -0
  337. package/src/writer/NavLinks/index.ts +7 -0
  338. package/src/writer/Pre/Pre.styles.tsx +13 -0
  339. package/src/writer/Pre/Pre.tsx +13 -0
  340. package/src/writer/Pre/index.ts +3 -0
  341. package/src/writer/README.md +1 -0
  342. package/src/writer/Steps/Steps.styles.tsx +36 -0
  343. package/src/writer/Steps/Steps.tsx +24 -0
  344. package/src/writer/Steps/index.ts +5 -0
  345. package/src/writer/Table/Table.styles.tsx +39 -0
  346. package/src/writer/Table/Table.tsx +45 -0
  347. package/src/writer/Table/index.ts +10 -0
  348. package/src/writer/Tabs/Tabs.styles.tsx +77 -0
  349. package/src/writer/Tabs/Tabs.tsx +104 -0
  350. package/src/writer/Tabs/index.ts +7 -0
  351. package/src/writer/UnderlineNav/UnderlineNav.styles.tsx +45 -0
  352. package/src/writer/UnderlineNav/UnderlineNav.tsx +38 -0
  353. package/src/writer/UnderlineNav/index.ts +1 -0
  354. package/src/writer/index.ts +32 -0
  355. package/tsconfig.json +41 -0
  356. package/writer.ts +1 -0
@@ -0,0 +1 @@
1
+ var e="Vyper",n="vyper",t=[{include:"#statement"},{include:"#expression"},{include:"#reserved-names-vyper"}],a={"annotated-parameter":{begin:"(?x)\n\\b\n([[:alpha:]_]\\w*) \\s* (:)\n",beginCaptures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.annotation.python"}},end:"(,)|(?=\\))",endCaptures:{1:{name:"punctuation.separator.parameters.python"}},patterns:[{include:"#expression"},{match:"=(?!=)",name:"keyword.operator.assignment.python"}]},"assignment-operator":{match:"(?x)\n<<= | >>= | //= | \\*\\*=\n| \\+= | -= | /= | @=\n| \\*= | %= | ~= | \\^= | &= | \\|=\n| =(?!=)\n",name:"keyword.operator.assignment.python"},backticks:{begin:"\\`",end:"(?:\\`|(?<!\\\\)(\\n))",name:"invalid.deprecated.backtick.python",patterns:[{include:"#expression"}]},"builtin-callables":{patterns:[{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#builtin-exceptions"},{include:"#builtin-functions"},{include:"#builtin-types"}]},"builtin-exceptions":{match:"(?x) (?<!\\.) \\b(\n(\nArithmetic | Assertion | Attribute | Buffer | BlockingIO\n| BrokenPipe | ChildProcess\n| (Connection (Aborted | Refused | Reset)?)\n| EOF | Environment | FileExists | FileNotFound\n| FloatingPoint | IO | Import | Indentation | Index | Interrupted\n| IsADirectory | NotADirectory | Permission | ProcessLookup\n| Timeout\n| Key | Lookup | Memory | Name | NotImplemented | OS | Overflow\n| Reference | Runtime | Recursion | Syntax | System\n| Tab | Type | UnboundLocal | Unicode(Encode|Decode|Translate)?\n| Value | Windows | ZeroDivision | ModuleNotFound\n) Error\n|\n((Pending)?Deprecation | Runtime | Syntax | User | Future | Import\n| Unicode | Bytes | Resource\n)? Warning\n|\nSystemExit | Stop(Async)?Iteration\n| KeyboardInterrupt\n| GeneratorExit | (Base)?Exception\n)\\b\n",name:"support.type.exception.python"},"builtin-functions":{patterns:[{match:"(?x)\n(?<!\\.) \\b(\n__import__ | abs | aiter | all | any | anext | ascii | bin\n| breakpoint | callable | chr | compile | copyright | credits\n| delattr | dir | divmod | enumerate | eval | exec | exit\n| filter | format | getattr | globals | hasattr | hash | help\n| hex | id | input | isinstance | issubclass | iter | len\n| license | locals | map | max | memoryview | min | next\n| oct | open | ord | pow | print | quit | range | reload | repr\n| reversed | round | setattr | sorted | sum | vars | zip\n)\\b\n",name:"support.function.builtin.python"},{match:"(?x)\n(?<!\\.) \\b(\nfile | reduce | intern | raw_input | unicode | cmp | basestring\n| execfile | long | xrange\n)\\b\n",name:"variable.legacy.builtin.python"},{match:"(?x)\n(?<!\\.) \\b(\nabi_encode | abi_decode | _abi_encode | _abi_decode | floor | ceil | convert | slice | len | concat | sha256 | method_id | keccak256 | ecrecover | ecadd | ecmul | extract32 | as_wei_value | raw_call | blockhash | blobhash | bitwise_and | bitwise_or | bitwise_xor | bitwise_not | uint256_addmod | uint256_mulmod | unsafe_add | unsafe_sub | unsafe_mul | unsafe_div | pow_mod256 | uint2str | isqrt | sqrt | shift | create_minimal_proxy_to | create_forwarder_to | create_copy_of | create_from_blueprint | min | max | empty | abs | min_value | max_value | epsilon)\\b\n",name:"support.function.builtin.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nsend | print | breakpoint | selfdestruct | raw_call | raw_log | raw_revert | create_minimal_proxy_to | create_forwarder_to | create_copy_of | create_from_blueprint)\\b\n",name:"support.function.builtin.lowlevel.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nstruct | enum | flag | event | interface | HashMap | DynArray | Bytes | String)\\b\n",name:"support.type.reference.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nnonreentrant | internal | view | pure | private | immutable | constant)\\b\n",name:"support.function.builtin.modifiers.safe.vyper"},{match:"(?x)\n(?<!\\.) \\b(\ndeploy | nonpayable | payable | external | modifying)\\b\n",name:"support.function.builtin.modifiers.unsafe.vyper"}]},"builtin-possible-callables":{patterns:[{include:"#builtin-callables"},{include:"#magic-names"}]},"builtin-types":{patterns:[{match:"(?x)\n(?<!\\.) \\b(\nbool | bytearray | bytes | classmethod | complex | dict\n| float | frozenset | int | list | object | property\n| set | slice | staticmethod | str | tuple | type\n\n(?# Although 'super' is not a type, it's related to types,\nand is special enough to be highlighted differently from\nother built-ins)\n| super\n)\\b\n",name:"support.type.python"},{match:"(?x)\n(?<!\\.) \\b(\nuint248 | HashMap | bytes22 | int88 | bytes24 | bytes11 | int24 | bytes28 | bytes19 | uint136 | decimal | uint40 | uint168 | uint120 | int112 | bytes4 | uint192 | String | int104 | bytes29 | int120 | uint232 | bytes8 | bool | bytes14 | int56 | uint32 | int232 | uint48 | bytes17 | bytes12 | uint24 | int160 | int72 | int256 | uint56 | uint80 | uint104 | uint144 | uint200 | bytes20 | uint160 | bytes18 | bytes16 | uint8 | int40 | Bytes | uint72 | bytes2 | bytes23 | int48 | bytes6 | bytes13 | int192 | bytes15 | uint96 | address | uint64 | uint88 | bytes7 | int64 | bytes32 | bytes30 | int176 | int248 | uint128 | int8 | int136 | int216 | bytes31 | int144 | bytes1 | int168 | bytes5 | uint216 | int200 | bytes25 | uint112 | int128 | bytes10 | uint16 | DynArray | int16 | int32 | int208 | int184 | bytes9 | int224 | bytes3 | int80 | uint152 | bytes21 | int96 | uint256 | uint176 | uint240 | bytes27 | bytes26 | int240 | uint224 | uint184 | uint208 | int152)\\b\n",name:"support.type.basetype.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nmax_int128 | min_int128 | nonlocal | babbage | _default_ | ___init___ | await | indexed | ____init____ | true | constant | with | from | nonpayable | finally | enum | zero_wei | del | for | ____default____ | if | none | or | global | def | not | class | twei | struct | mwei | empty_bytes32 | nonreentrant | transient | false | assert | event | pass | finney | init | lovelace | min_decimal | shannon | public | external | internal | flagunreachable | _init_ | return | in | and | raise | try | gwei | break | zero_address | pwei | range | wei | while | ada | yield | as | immutable | continue | async | lambda | default | is | szabo | kwei | import | max_uint256 | elif | ___default___ | else | except | max_decimal | interface | payable | ether)\\b\n",name:"support.type.keywords.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nZERO_ADDRESS | EMPTY_BYTES32 | MAX_INT128 | MIN_INT128 | MAX_DECIMAL | MIN_DECIMAL | MIN_UINT256 | MAX_UINT256\n\n(?# Although 'super' is not a type, it's related to types,\nand is special enough to be highlighted differently from\nother built-ins)\n| super\n)\\b\n",name:"support.type.constant.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nimplements | uses | initializes | exports)\\b\n",name:"entity.other.inherited-class.modules.vyper"}]},"call-wrapper-inheritance":{begin:"(?x)\n\\b(?=\n([[:alpha:]_]\\w*) \\s* (\\()\n)\n",comment:"same as a function call, but in inheritance context",end:"(\\))",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.function-call.python",patterns:[{include:"#inheritance-name"},{include:"#function-arguments"}]},"class-declaration":{patterns:[{begin:"(?x)\n\\s*(class)\\s+\n(?=\n[[:alpha:]_]\\w* \\s* (:|\\()\n)\n",beginCaptures:{1:{name:"storage.type.class.python"}},end:"(:)",endCaptures:{1:{name:"punctuation.section.class.begin.python"}},name:"meta.class.python",patterns:[{include:"#class-name"},{include:"#class-inheritance"}]}]},"class-inheritance":{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.inheritance.begin.python"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.inheritance.end.python"}},name:"meta.class.inheritance.python",patterns:[{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.arguments.python"},{match:",",name:"punctuation.separator.inheritance.python"},{match:"=(?!=)",name:"keyword.operator.assignment.python"},{match:"\\bmetaclass\\b",name:"support.type.metaclass.python"},{include:"#illegal-names"},{include:"#class-kwarg"},{include:"#call-wrapper-inheritance"},{include:"#expression-base"},{include:"#member-access-class"},{include:"#inheritance-identifier"}]},"class-kwarg":{captures:{1:{name:"entity.other.inherited-class.python variable.parameter.class.python"},2:{name:"keyword.operator.assignment.python"}},match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\s*(=)(?!=)\n"},"class-name":{patterns:[{include:"#illegal-object-name"},{include:"#builtin-possible-callables"},{match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n",name:"entity.name.type.class.python"}]},codetags:{captures:{1:{name:"keyword.codetag.notation.python"}},match:"(?:\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\b)"},comments:{patterns:[{begin:"(?x)\n(?:\n\\# \\s* (type:)\n\\s*+ (?# we want `\\s*+` which is possessive quantifier since\nwe do not actually want to backtrack when matching\nwhitespace here)\n(?! $ | \\#)\n)\n",beginCaptures:{0:{name:"meta.typehint.comment.python"},1:{name:"comment.typehint.directive.notation.python"}},contentName:"meta.typehint.comment.python",end:"(?:$|(?=\\#))",name:"comment.line.number-sign.python",patterns:[{match:"(?x)\n\\G ignore\n(?= \\s* (?: $ | \\#))\n",name:"comment.typehint.ignore.notation.python"},{match:"(?x)\n(?<!\\.)\\b(\nbool | bytes | float | int | object | str\n| List | Dict | Iterable | Sequence | Set\n| FrozenSet | Callable | Union | Tuple\n| Any | None\n)\\b\n",name:"comment.typehint.type.notation.python"},{match:"([\\[\\]\\(\\),\\.\\=\\*]|(->))",name:"comment.typehint.punctuation.notation.python"},{match:"([[:alpha:]_]\\w*)",name:"comment.typehint.variable.notation.python"}]},{include:"#comments-base"}]},"comments-base":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:"($)",name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"comments-string-double-three":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:'($|(?="""))',name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"comments-string-single-three":{begin:"(\\#)",beginCaptures:{1:{name:"punctuation.definition.comment.python"}},end:"($|(?='''))",name:"comment.line.number-sign.python",patterns:[{include:"#codetags"}]},"curly-braces":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.dict.begin.python"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.dict.end.python"}},patterns:[{match:":",name:"punctuation.separator.dict.python"},{include:"#expression"}]},decorator:{begin:"(?x)\n^\\s*\n((@)) \\s* (?=[[:alpha:]_]\\w*)\n",beginCaptures:{1:{name:"entity.name.function.decorator.python"},2:{name:"punctuation.definition.decorator.python"}},end:"(?x)\n( \\) )\n\n(?: (.*?) (?=\\s*(?:\\#|$)) )\n| (?=\\n|\\#)\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:"(?x)\n([[:alpha:]_]\\w*) | (\\.)\n",name:"entity.name.function.decorator.python"},{include:"#line-continuation"},{captures:{1:{name:"invalid.illegal.decorator.python"}},match:"(?x)\n\\s* ([^([:alpha:]\\s_\\.#\\\\] .*?) (?=\\#|$)\n",name:"invalid.illegal.decorator.python"}]},docstring:{patterns:[{begin:"(\\'\\'\\'|\\\"\\\"\\\")",beginCaptures:{1:{name:"punctuation.definition.string.begin.python"}},end:"(\\1)",endCaptures:{1:{name:"punctuation.definition.string.end.python"}},name:"string.quoted.docstring.multi.python",patterns:[{include:"#docstring-prompt"},{include:"#codetags"},{include:"#docstring-guts-unicode"}]},{begin:"([rR])(\\'\\'\\'|\\\"\\\"\\\")",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"}},name:"string.quoted.docstring.raw.multi.python",patterns:[{include:"#string-consume-escape"},{include:"#docstring-prompt"},{include:"#codetags"}]},{begin:"(\\'|\\\")",beginCaptures:{1:{name:"punctuation.definition.string.begin.python"}},end:"(\\1)|(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.docstring.single.python",patterns:[{include:"#codetags"},{include:"#docstring-guts-unicode"}]},{begin:"([rR])(\\'|\\\")",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.docstring.raw.single.python",patterns:[{include:"#string-consume-escape"},{include:"#codetags"}]}]},"docstring-guts-unicode":{patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"}]},"docstring-prompt":{captures:{1:{name:"keyword.control.flow.python"}},match:"(?x)\n(?:\n(?:^|\\G) \\s* (?# '\\G' is necessary for ST)\n((?:>>>|\\.\\.\\.) \\s) (?=\\s*\\S)\n)\n"},"docstring-statement":{begin:"^(?=\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))",comment:"the string either terminates correctly or by the beginning of a new line (this is for single line docstrings that aren't terminated) AND it's not followed by another docstring",end:"((?<=\\1)|^)(?!\\s*[rR]?(\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))",patterns:[{include:"#docstring"}]},"double-one-regexp-character-set":{patterns:[{match:"(?x)\n\\[ \\^? \\] (?! .*?\\])\n"},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:'(\\]|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"double-one-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"double-one-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#double-one-regexp-character-set"},{include:"#double-one-regexp-comments"},{include:"#regexp-flags"},{include:"#double-one-regexp-named-group"},{include:"#regexp-backreference"},{include:"#double-one-regexp-lookahead"},{include:"#double-one-regexp-lookahead-negative"},{include:"#double-one-regexp-lookbehind"},{include:"#double-one-regexp-lookbehind-negative"},{include:"#double-one-regexp-conditional"},{include:"#double-one-regexp-parentheses-non-capturing"},{include:"#double-one-regexp-parentheses"}]},"double-one-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-named-group":{begin:"(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-one-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:'(\\)|(?="))|((?=(?<!\\\\)\\n))',endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-one-regexp-expression"}]},"double-three-regexp-character-set":{patterns:[{match:"(?x)\n\\[ \\^? \\] (?! .*?\\])\n"},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:'(\\]|(?="""))',endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"double-three-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"double-three-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#double-three-regexp-character-set"},{include:"#double-three-regexp-comments"},{include:"#regexp-flags"},{include:"#double-three-regexp-named-group"},{include:"#regexp-backreference"},{include:"#double-three-regexp-lookahead"},{include:"#double-three-regexp-lookahead-negative"},{include:"#double-three-regexp-lookbehind"},{include:"#double-three-regexp-lookbehind-negative"},{include:"#double-three-regexp-conditional"},{include:"#double-three-regexp-parentheses-non-capturing"},{include:"#double-three-regexp-parentheses"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:'(\\)|(?="""))',endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#double-three-regexp-expression"},{include:"#comments-string-double-three"}]},"double-three-regexp-named-group":{begin:"(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",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)\n\\\\ (\nx[0-9A-Fa-f]{2}\n| [0-7]{1,3}\n| [\\\\\"'abfnrtv]\n)\n",name:"constant.character.escape.python"},"escape-sequence-unicode":{patterns:[{match:"(?x)\n\\\\ (\nu[0-9A-Fa-f]{4}\n| U[0-9A-Fa-f]{8}\n| N\\{[\\w\\s]+?\\}\n)\n",name:"constant.character.escape.python"}]},expression:{comment:"All valid Python expressions",patterns:[{include:"#expression-base"},{include:"#member-access"},{comment:"Tokenize identifiers to help linters",match:"(?x) \\b ([[:alpha:]_]\\w*) \\b"}]},"expression-bare":{comment:"valid Python expressions w/o comments and line continuation",patterns:[{include:"#backticks"},{include:"#illegal-anno"},{include:"#literal"},{include:"#regexp"},{include:"#string"},{include:"#lambda"},{include:"#generator"},{include:"#illegal-operator"},{include:"#operator"},{include:"#curly-braces"},{include:"#item-access"},{include:"#list"},{include:"#odd-function-call"},{include:"#round-braces"},{include:"#function-call"},{include:"#builtin-functions"},{include:"#builtin-types"},{include:"#builtin-exceptions"},{include:"#magic-names"},{include:"#special-names"},{include:"#illegal-names"},{include:"#special-variables"},{include:"#ellipsis"},{include:"#punctuation"},{include:"#line-continuation"},{include:"#special-variables-types"}]},"expression-base":{comment:"valid Python expressions with comments and line continuation",patterns:[{include:"#comments"},{include:"#expression-bare"},{include:"#line-continuation"}]},"f-expression":{comment:"All valid Python expressions, except comments and line continuation",patterns:[{include:"#expression-bare"},{include:"#member-access"},{comment:"Tokenize identifiers to help linters",match:"(?x) \\b ([[:alpha:]_]\\w*) \\b"}]},"fregexp-base-expression":{patterns:[{include:"#fregexp-quantifier"},{include:"#fstring-formatting-braces"},{match:"\\{.*?\\}"},{include:"#regexp-base-common"}]},"fregexp-quantifier":{match:"(?x)\n\\{\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\\}\n",name:"keyword.operator.quantifier.regexp"},"fstring-fnorm-quoted-multi-line":{begin:"(\\b[fF])([bBuU])?('''|\"\"\")",beginCaptures:{1:{name:"string.interpolated.python string.quoted.multi.python storage.type.string.python"},2:{name:"invalid.illegal.prefix.python"},3:{name:"punctuation.definition.string.begin.python string.interpolated.python string.quoted.multi.python"}},end:"(\\3)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{include:"#fstring-multi-core"}]},"fstring-fnorm-quoted-single-line":{begin:"(\\b[fF])([bBuU])?((['\"]))",beginCaptures:{1:{name:"string.interpolated.python string.quoted.single.python storage.type.string.python"},2:{name:"invalid.illegal.prefix.python"},3:{name:"punctuation.definition.string.begin.python string.interpolated.python string.quoted.single.python"}},end:"(\\3)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},2:{name:"invalid.illegal.newline.python"}},name:"meta.fstring.python",patterns:[{include:"#fstring-guts"},{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{include:"#fstring-single-core"}]},"fstring-formatting":{patterns:[{include:"#fstring-formatting-braces"},{include:"#fstring-formatting-singe-brace"}]},"fstring-formatting-braces":{patterns:[{captures:{1:{name:"constant.character.format.placeholder.other.python"},2:{name:"invalid.illegal.brace.python"},3:{name:"constant.character.format.placeholder.other.python"}},comment:"empty braces are illegal",match:"({)(\\s*?)(})"},{match:"({{|}})",name:"constant.character.escape.python"}]},"fstring-formatting-singe-brace":{match:"(}(?!}))",name:"invalid.illegal.brace.python"},"fstring-guts":{patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"},{include:"#fstring-formatting"}]},"fstring-illegal-multi-brace":{patterns:[{include:"#impossible"}]},"fstring-illegal-single-brace":{begin:"(\\{)(?=[^\\n}]*$\\n?)",beginCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},comment:"it is illegal to have a multiline brace inside a single-line string",end:"(\\})|(?=\\n)",endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-single"},{include:"#f-expression"}]},"fstring-multi-brace":{begin:"(\\{)",beginCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},comment:"value interpolation using { ... }",end:"(?x)\n(\\})\n",endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-multi"},{include:"#f-expression"}]},"fstring-multi-core":{match:"(?x)\n(.+?)\n(\n(?# .* and .*? in multi-line match need special handling of\nnewlines otherwise SublimeText and Atom will match slightly\ndifferently.\n\nThe guard for newlines has to be separate from the\nlookahead because of special $ matching rule.)\n($\\n?)\n|\n(?=[\\\\\\}\\{]|'''|\"\"\")\n)\n(?# due to how multiline regexps are matched we need a special case\nfor matching a newline character)\n| \\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:"(?x)\n(.+?)\n(\n(?# .* and .*? in multi-line match need special handling of\nnewlines otherwise SublimeText and Atom will match slightly\ndifferently.\n\nThe guard for newlines has to be separate from the\nlookahead because of special $ matching rule.)\n($\\n?)\n|\n(?=[\\\\\\}\\{]|'''|\"\"\")\n)\n(?# due to how multiline regexps are matched we need a special case\nfor matching a newline character)\n| \\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:"(?x)\n(.+?)\n(\n(?# .* and .*? in multi-line match need special handling of\nnewlines otherwise SublimeText and Atom will match slightly\ndifferently.\n\nThe guard for newlines has to be separate from the\nlookahead because of special $ matching rule.)\n($\\n?)\n|\n(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n))\n)\n(?# due to how multiline regexps are matched we need a special case\nfor matching a newline character)\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:"(?x)\n(\\})|(?=\\n)\n",endCaptures:{1:{name:"constant.character.format.placeholder.other.python"}},patterns:[{include:"#fstring-terminator-single"},{include:"#f-expression"}]},"fstring-single-core":{match:"(?x)\n(.+?)\n(\n(?# .* and .*? in multi-line match need special handling of\nnewlines otherwise SublimeText and Atom will match slightly\ndifferently.\n\nThe guard for newlines has to be separate from the\nlookahead because of special $ matching rule.)\n($\\n?)\n|\n(?=[\\\\\\}\\{]|(['\"])|((?<!\\\\)\\n))\n)\n(?# due to how multiline regexps are matched we need a special case\nfor matching a newline character)\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:"(?x)\n( (?: =?) (?: ![rsa])? )\n( : \\w? [<>=^]? [-+ ]? \\#?\n\\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )(?=})\n"},{include:"#fstring-terminator-multi-tail"}]},"fstring-terminator-multi-tail":{begin:"((?:=?)(?:![rsa])?)(:)(?=.*?{)",beginCaptures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},end:"(?=})",patterns:[{include:"#fstring-illegal-multi-brace"},{include:"#fstring-multi-brace"},{match:"([bcdeEfFgGnosxX%])(?=})",name:"storage.type.format.python"},{match:"(\\.\\d+)",name:"storage.type.format.python"},{match:"(,)",name:"storage.type.format.python"},{match:"(\\d+)",name:"storage.type.format.python"},{match:"(\\#)",name:"storage.type.format.python"},{match:"([-+ ])",name:"storage.type.format.python"},{match:"([<>=^])",name:"storage.type.format.python"},{match:"(\\w)",name:"storage.type.format.python"}]},"fstring-terminator-single":{patterns:[{match:"(=(![rsa])?)(?=})",name:"storage.type.format.python"},{match:"(=?![rsa])(?=})",name:"storage.type.format.python"},{captures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},match:"(?x)\n( (?: =?) (?: ![rsa])? )\n( : \\w? [<>=^]? [-+ ]? \\#?\n\\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )(?=})\n"},{include:"#fstring-terminator-single-tail"}]},"fstring-terminator-single-tail":{begin:"((?:=?)(?:![rsa])?)(:)(?=.*?{)",beginCaptures:{1:{name:"storage.type.format.python"},2:{name:"storage.type.format.python"}},end:"(?=})|(?=\\n)",patterns:[{include:"#fstring-illegal-single-brace"},{include:"#fstring-single-brace"},{match:"([bcdeEfFgGnosxX%])(?=})",name:"storage.type.format.python"},{match:"(\\.\\d+)",name:"storage.type.format.python"},{match:"(,)",name:"storage.type.format.python"},{match:"(\\d+)",name:"storage.type.format.python"},{match:"(\\#)",name:"storage.type.format.python"},{match:"([-+ ])",name:"storage.type.format.python"},{match:"([<>=^])",name:"storage.type.format.python"},{match:"(\\w)",name:"storage.type.format.python"}]},"function-arguments":{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.arguments.begin.python"}},contentName:"meta.function-call.arguments.python",end:"(?=\\))(?!\\)\\s*\\()",patterns:[{match:"(,)",name:"punctuation.separator.arguments.python"},{captures:{1:{name:"keyword.operator.unpacking.arguments.python"}},match:"(?x)\n(?:(?<=[,(])|^) \\s* (\\*{1,2})\n"},{include:"#lambda-incomplete"},{include:"#illegal-names"},{captures:{1:{name:"variable.parameter.function-call.python"},2:{name:"keyword.operator.assignment.python"}},match:"\\b([[:alpha:]_]\\w*)\\s*(=)(?!=)"},{match:"=(?!=)",name:"keyword.operator.assignment.python"},{include:"#expression"},{captures:{1:{name:"punctuation.definition.arguments.end.python"},2:{name:"punctuation.definition.arguments.begin.python"}},match:"\\s*(\\))\\s*(\\()"}]},"function-call":{begin:"(?x)\n\\b(?=\n([[:alpha:]_]\\w*) \\s* (\\()\n)\n",comment:'Regular function call of the type "name(args)"',end:"(\\))",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.function-call.python",patterns:[{include:"#special-variables"},{include:"#function-name"},{include:"#function-arguments"}]},"function-declaration":{begin:"(?x)\n\\s*\n(?:\\b(async) \\s+)? \\b(def)\\s+\n(?=\n[[:alpha:]_][[:word:]]* \\s* \\(\n)\n",beginCaptures:{1:{name:"storage.type.function.async.python"},2:{name:"storage.type.function.python"}},end:"(:|(?=[#'\"\\n]))",endCaptures:{1:{name:"punctuation.section.function.begin.python"}},name:"meta.function.python",patterns:[{include:"#function-def-name"},{include:"#parameters"},{include:"#line-continuation"},{include:"#return-annotation"}]},"function-def-name":{patterns:[{match:"(?x)\n\\b (__default__) \\b\n",name:"entity.name.function.fallback.vyper"},{match:"(?x)\n\\b (__init__) \\b\n",name:"entity.name.function.constructor.vyper"},{include:"#illegal-object-name"},{include:"#builtin-possible-callables"},{match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n",name:"entity.name.function.python"}]},"function-name":{patterns:[{include:"#builtin-possible-callables"},{comment:"Some color schemas support meta.function-call.generic scope",match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n",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-anno":{match:"->",name:"invalid.illegal.annotation.python"},"illegal-names":{captures:{1:{name:"keyword.control.flow.python"},2:{name:"keyword.control.import.python"}},match:"(?x)\n\\b(?:\n(\nand | assert | async | await | break | class | continue | def\n| del | elif | else | except | finally | for | from | global\n| if | in | is | (?<=\\.)lambda | lambda(?=\\s*[\\.=])\n| nonlocal | not | or | pass | raise | return | try | while | with\n| yield\n) | (\nas | import\n)\n)\\b\n"},"illegal-object-name":{comment:'It\'s illegal to name class or function "True"',match:"\\b(True|False|None)\\b",name:"keyword.illegal.name.python"},"illegal-operator":{patterns:[{match:"&&|\\|\\||--|\\+\\+",name:"invalid.illegal.operator.python"},{match:"[?$]",name:"invalid.illegal.operator.python"},{comment:"We don't want `!` to flash when we're typing `!=`",match:"!\\b",name:"invalid.illegal.operator.python"}]},import:{comment:"Import statements used to correctly mark `from`, `import`, and `as`\n",patterns:[{begin:"\\b(?<!\\.)(from)\\b(?=.+import)",beginCaptures:{1:{name:"keyword.control.import.python"}},end:"$|(?=import)",patterns:[{match:"\\.+",name:"punctuation.separator.period.python"},{include:"#expression"}]},{begin:"\\b(?<!\\.)(import)\\b",beginCaptures:{1:{name:"keyword.control.import.python"}},end:"$",patterns:[{match:"\\b(?<!\\.)as\\b",name:"keyword.control.import.python"},{include:"#expression"}]}]},impossible:{comment:"This is a special rule that should be used where no match is desired. It is not a good idea to match something like '1{0}' because in some cases that can result in infinite loops in token generation. So the rule instead matches and impossible expression to allow a match to fail and move to the next token.",match:"$.^"},"inheritance-identifier":{captures:{1:{name:"entity.other.inherited-class.python"}},match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n"},"inheritance-name":{patterns:[{include:"#lambda-incomplete"},{include:"#builtin-possible-callables"},{include:"#inheritance-identifier"}]},"item-access":{patterns:[{begin:"(?x)\n\\b(?=\n[[:alpha:]_]\\w* \\s* \\[\n)\n",end:"(\\])",endCaptures:{1:{name:"punctuation.definition.arguments.end.python"}},name:"meta.item-access.python",patterns:[{include:"#item-name"},{include:"#item-index"},{include:"#expression"}]}]},"item-index":{begin:"(\\[)",beginCaptures:{1:{name:"punctuation.definition.arguments.begin.python"}},contentName:"meta.item-access.arguments.python",end:"(?=\\])",patterns:[{match:":",name:"punctuation.separator.slice.python"},{include:"#expression"}]},"item-name":{patterns:[{include:"#special-variables"},{include:"#builtin-functions"},{include:"#special-names"},{match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n",name:"meta.indexed-name.python"},{include:"#special-variables-types"}]},lambda:{patterns:[{captures:{1:{name:"keyword.control.flow.python"}},match:"((?<=\\.)lambda|lambda(?=\\s*[\\.=]))"},{captures:{1:{name:"storage.type.function.lambda.python"}},match:"\\b(lambda)\\s*?(?=[,\\n]|$)"},{begin:"(?x)\n\\b (lambda) \\b\n",beginCaptures:{1:{name:"storage.type.function.lambda.python"}},contentName:"meta.function.lambda.parameters.python",end:"(:)|(\\n)",endCaptures:{1:{name:"punctuation.section.function.lambda.begin.python"}},name:"meta.lambda-function.python",patterns:[{match:"/",name:"keyword.operator.positional.parameter.python"},{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.parameter.python"},{include:"#lambda-nested-incomplete"},{include:"#illegal-names"},{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.parameters.python"}},match:"([[:alpha:]_]\\w*)\\s*(?:(,)|(?=:|$))"},{include:"#comments"},{include:"#backticks"},{include:"#illegal-anno"},{include:"#lambda-parameter-with-default"},{include:"#line-continuation"},{include:"#illegal-operator"}]}]},"lambda-incomplete":{match:"\\blambda(?=\\s*[,)])",name:"storage.type.function.lambda.python"},"lambda-nested-incomplete":{match:"\\blambda(?=\\s*[:,)])",name:"storage.type.function.lambda.python"},"lambda-parameter-with-default":{begin:"(?x)\n\\b\n([[:alpha:]_]\\w*) \\s* (=)\n",beginCaptures:{1:{name:"variable.parameter.function.language.python"},2:{name:"keyword.operator.python"}},end:"(,)|(?=:|$)",endCaptures:{1:{name:"punctuation.separator.parameters.python"}},patterns:[{include:"#expression"}]},"line-continuation":{patterns:[{captures:{1:{name:"punctuation.separator.continuation.line.python"},2:{name:"invalid.illegal.line.continuation.python"}},match:"(\\\\)\\s*(\\S.*$\\n?)"},{begin:"(\\\\)\\s*$\\n?",beginCaptures:{1:{name:"punctuation.separator.continuation.line.python"}},end:"(?x)\n(?=^\\s*$)\n|\n(?! (\\s* [rR]? (\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))\n|\n(\\G $) (?# '\\G' is necessary for ST)\n)\n",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:"(?x)\n\\b(\n__(?:\nabs | add | aenter | aexit | aiter | and | anext\n| await | bool | call | ceil | class_getitem\n| cmp | coerce | complex | contains | copy\n| deepcopy | del | delattr | delete | delitem\n| delslice | dir | div | divmod | enter | eq\n| exit | float | floor | floordiv | format | ge\n| get | getattr | getattribute | getinitargs\n| getitem | getnewargs | getslice | getstate | gt\n| hash | hex | iadd | iand | idiv | ifloordiv |\n| ilshift | imod | imul | index | init\n| instancecheck | int | invert | ior | ipow\n| irshift | isub | iter | itruediv | ixor | le\n| len | long | lshift | lt | missing | mod | mul\n| ne | neg | new | next | nonzero | oct | or | pos\n| pow | radd | rand | rdiv | rdivmod | reduce\n| reduce_ex | repr | reversed | rfloordiv |\n| rlshift | rmod | rmul | ror | round | rpow\n| rrshift | rshift | rsub | rtruediv | rxor | set\n| setattr | setitem | set_name | setslice\n| setstate | sizeof | str | sub | subclasscheck\n| truediv | trunc | unicode | xor | matmul\n| rmatmul | imatmul | init_subclass | set_name\n| fspath | bytes | prepare | length_hint\n)__\n)\\b\n"},"magic-names":{patterns:[{include:"#magic-function-names"},{include:"#magic-variable-names"}]},"magic-variable-names":{captures:{1:{name:"support.variable.magic.python"}},comment:"magic variables which a class/module may have.",match:"(?x)\n\\b(\n__(?:\nall | annotations | bases | builtins | class\n| closure | code | debug | defaults | dict | doc | file | func\n| globals | kwdefaults | match_args | members | metaclass | methods\n| module | mro | mro_entries | name | qualname | post_init | self\n| signature | slots | subclasses | version | weakref | wrapped\n| classcell | spec | path | package | future | traceback\n)__\n)\\b\n"},"member-access":{begin:"(\\.)\\s*(?!\\.)",beginCaptures:{1:{name:"punctuation.separator.period.python"}},end:"(?x)\n\n\n(?<=\\S)(?=\\W) |\n\n\n(^|(?<=\\s))(?=[^\\\\\\w\\s]) |\n$\n",name:"meta.member.access.python",patterns:[{include:"#function-call"},{include:"#member-access-base"},{include:"#member-access-attribute"}]},"member-access-attribute":{comment:"Highlight attribute access in otherwise non-specialized cases.",match:"(?x)\n\\b ([[:alpha:]_]\\w*) \\b\n",name:"meta.attribute.python"},"member-access-base":{patterns:[{include:"#magic-names"},{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#special-names"},{include:"#line-continuation"},{include:"#item-access"},{include:"#special-variables-types"}]},"member-access-class":{begin:"(\\.)\\s*(?!\\.)",beginCaptures:{1:{name:"punctuation.separator.period.python"}},end:"(?<=\\S)(?=\\W)|$",name:"meta.member.access.python",patterns:[{include:"#call-wrapper-inheritance"},{include:"#member-access-base"},{include:"#inheritance-identifier"}]},number:{name:"constant.numeric.python",patterns:[{include:"#number-float"},{include:"#number-dec"},{include:"#number-hex"},{include:"#number-oct"},{include:"#number-bin"},{include:"#number-long"},{match:"\\b[0-9]+\\w+",name:"invalid.illegal.name.python"}]},"number-bin":{captures:{1:{name:"storage.type.number.python"}},match:"(?x)\n(?<![\\w\\.])\n(0[bB]) (_?[01])+\n\\b\n",name:"constant.numeric.bin.python"},"number-dec":{captures:{1:{name:"storage.type.imaginary.number.python"},2:{name:"invalid.illegal.dec.python"}},match:"(?x)\n(?<![\\w\\.])(?:\n[1-9](?: _?[0-9] )*\n|\n0+\n|\n[0-9](?: _?[0-9] )* ([jJ])\n|\n0 ([0-9]+)(?![eE\\.])\n)\\b\n",name:"constant.numeric.dec.python"},"number-float":{captures:{1:{name:"storage.type.imaginary.number.python"}},match:"(?x)\n(?<! \\w)(?:\n(?:\n\\.[0-9](?: _?[0-9] )*\n|\n[0-9](?: _?[0-9] )* \\. [0-9](?: _?[0-9] )*\n|\n[0-9](?: _?[0-9] )* \\.\n) (?: [eE][+-]?[0-9](?: _?[0-9] )* )?\n|\n[0-9](?: _?[0-9] )* (?: [eE][+-]?[0-9](?: _?[0-9] )* )\n)([jJ])?\\b\n",name:"constant.numeric.float.python"},"number-hex":{captures:{1:{name:"storage.type.number.python"}},match:"(?x)\n(?<![\\w\\.])\n(0[xX]) (_?[0-9a-fA-F])+\n\\b\n",name:"constant.numeric.hex.python"},"number-long":{captures:{2:{name:"storage.type.number.python"}},comment:"this is to support python2 syntax for long ints",match:"(?x)\n(?<![\\w\\.])\n([1-9][0-9]* | 0) ([lL])\n\\b\n",name:"constant.numeric.bin.python"},"number-oct":{captures:{1:{name:"storage.type.number.python"}},match:"(?x)\n(?<![\\w\\.])\n(0[oO]) (_?[0-7])+\n\\b\n",name:"constant.numeric.oct.python"},"odd-function-call":{begin:"(?x)\n(?<= \\] | \\) ) \\s*\n(?=\\()\n",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:"(?x)\n\\b(?<!\\.)\n(?:\n(and | or | not | in | is) (?# 1)\n|\n(for | if | else | await | (?:yield(?:\\s+from)?)) (?# 2)\n)\n(?!\\s*:)\\b\n\n| (<< | >> | & | \\| | \\^ | ~) (?# 3)\n\n| (\\*\\* | \\* | \\+ | - | % | // | / | @) (?# 4)\n\n| (!= | == | >= | <= | < | >) (?# 5)\n\n| (:=) (?# 6)\n"},"parameter-special":{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"variable.parameter.function.language.special.self.python"},3:{name:"variable.parameter.function.language.special.cls.python"},4:{name:"punctuation.separator.parameters.python"}},match:"(?x)\n\\b ((self)|(cls)) \\b \\s*(?:(,)|(?=\\)))\n"},parameters:{begin:"(\\()",beginCaptures:{1:{name:"punctuation.definition.parameters.begin.python"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.parameters.end.python"}},name:"meta.function.parameters.python",patterns:[{match:"/",name:"keyword.operator.positional.parameter.python"},{match:"(\\*\\*|\\*)",name:"keyword.operator.unpacking.parameter.python"},{include:"#lambda-incomplete"},{include:"#illegal-names"},{include:"#illegal-object-name"},{include:"#parameter-special"},{captures:{1:{name:"variable.parameter.function.language.python"},2:{name:"punctuation.separator.parameters.python"}},match:"(?x)\n([[:alpha:]_]\\w*)\n\\s* (?: (,) | (?=[)#\\n=]))\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:"(?x)\n(\\() (\\?P= \\w+(?:\\s+[[:alnum:]]+)?) (\\))\n",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)\n\\\\ (\nx[0-9A-Fa-f]{2}\n| 0[0-7]{1,2}\n| [0-7]{3}\n)\n",name:"constant.character.escape.regexp"},"regexp-escape-sequence":{patterns:[{include:"#regexp-escape-special"},{include:"#regexp-escape-character"},{include:"#regexp-escape-unicode"},{include:"#regexp-backreference-number"},{include:"#regexp-escape-catchall"}]},"regexp-escape-special":{match:"\\\\([AbBdDsSwWZ])",name:"support.other.escape.special.regexp"},"regexp-escape-unicode":{match:"(?x)\n\\\\ (\nu[0-9A-Fa-f]{4}\n| U[0-9A-Fa-f]{8}\n)\n",name:"constant.character.unicode.regexp"},"regexp-flags":{match:"\\(\\?[aiLmsux]+\\)",name:"storage.modifier.flag.regexp"},"regexp-quantifier":{match:"(?x)\n\\{(\n\\d+ | \\d+,(\\d+)? | ,\\d+\n)\\}\n",name:"keyword.operator.quantifier.regexp"},"regexp-single-one-line":{begin:"\\b(([uU]r)|([bB]r)|(r[bB]?))(\\')",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:"(\\')|(?<!\\\\)(\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.single.python",patterns:[{include:"#single-one-regexp-expression"}]},"regexp-single-three-line":{begin:"\\b(([uU]r)|([bB]r)|(r[bB]?))(\\'\\'\\')",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"storage.type.string.python"},5:{name:"punctuation.definition.string.begin.python"}},end:"(\\'\\'\\')",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.regexp.quoted.multi.python",patterns:[{include:"#single-three-regexp-expression"}]},"reserved-names-vyper":{match:"(?x)\n\\b (max_int128 | min_int128 | nonlocal | babbage | _default_ | ___init___ | await | indexed | ____init____ | true | constant | with | from | nonpayable | finally | enum | zero_wei | del | for | ____default____ | if | none | or | global | def | not | class | twei | struct | mwei | empty_bytes32 | nonreentrant | transient | false | assert | event | pass | finney | init | lovelace | min_decimal | shannon | public | external | internal | flagunreachable | _init_ | return | in | and | raise | try | gwei | break | zero_address | pwei | range | wei | while | ada | yield | as | immutable | continue | async | lambda | default | is | szabo | kwei | import | max_uint256 | elif | ___default___ | else | except | max_decimal | interface | payable | ether) \\b\n",name:"name.reserved.vyper"},"return-annotation":{begin:"(->)",beginCaptures:{1:{name:"punctuation.separator.annotation.result.python"}},end:"(?=:)",patterns:[{include:"#expression"}]},"round-braces":{begin:"\\(",beginCaptures:{0:{name:"punctuation.parenthesis.begin.python"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.end.python"}},patterns:[{include:"#expression"}]},semicolon:{patterns:[{match:"\\;$",name:"invalid.deprecated.semicolon.python"}]},"single-one-regexp-character-set":{patterns:[{match:"(?x)\n\\[ \\^? \\] (?! .*?\\])\n"},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:"(\\]|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"single-one-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"single-one-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#single-one-regexp-character-set"},{include:"#single-one-regexp-comments"},{include:"#regexp-flags"},{include:"#single-one-regexp-named-group"},{include:"#regexp-backreference"},{include:"#single-one-regexp-lookahead"},{include:"#single-one-regexp-lookahead-negative"},{include:"#single-one-regexp-lookbehind"},{include:"#single-one-regexp-lookbehind-negative"},{include:"#single-one-regexp-conditional"},{include:"#single-one-regexp-parentheses-non-capturing"},{include:"#single-one-regexp-parentheses"}]},"single-one-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-named-group":{begin:"(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-one-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:"(\\)|(?=\\'))|((?=(?<!\\\\)\\n))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-one-regexp-expression"}]},"single-three-regexp-character-set":{patterns:[{match:"(?x)\n\\[ \\^? \\] (?! .*?\\])\n"},{begin:"(\\[)(\\^)?(\\])?",beginCaptures:{1:{name:"punctuation.character.set.begin.regexp constant.other.set.regexp"},2:{name:"keyword.operator.negation.regexp"},3:{name:"constant.character.set.regexp"}},end:"(\\]|(?=\\'\\'\\'))",endCaptures:{1:{name:"punctuation.character.set.end.regexp constant.other.set.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.character.set.regexp",patterns:[{include:"#regexp-charecter-set-escapes"},{match:"[^\\n]",name:"constant.character.set.regexp"}]}]},"single-three-regexp-comments":{begin:"\\(\\?#",beginCaptures:{0:{name:"punctuation.comment.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"punctuation.comment.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"comment.regexp",patterns:[{include:"#codetags"}]},"single-three-regexp-conditional":{begin:"(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",beginCaptures:{0:{name:"keyword.operator.conditional.regexp"},1:{name:"punctuation.parenthesis.conditional.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-expression":{patterns:[{include:"#regexp-base-expression"},{include:"#single-three-regexp-character-set"},{include:"#single-three-regexp-comments"},{include:"#regexp-flags"},{include:"#single-three-regexp-named-group"},{include:"#regexp-backreference"},{include:"#single-three-regexp-lookahead"},{include:"#single-three-regexp-lookahead-negative"},{include:"#single-three-regexp-lookbehind"},{include:"#single-three-regexp-lookbehind-negative"},{include:"#single-three-regexp-conditional"},{include:"#single-three-regexp-parentheses-non-capturing"},{include:"#single-three-regexp-parentheses"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookahead":{begin:"(\\()\\?=",beginCaptures:{0:{name:"keyword.operator.lookahead.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookahead-negative":{begin:"(\\()\\?!",beginCaptures:{0:{name:"keyword.operator.lookahead.negative.regexp"},1:{name:"punctuation.parenthesis.lookahead.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookbehind":{begin:"(\\()\\?<=",beginCaptures:{0:{name:"keyword.operator.lookbehind.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-lookbehind-negative":{begin:"(\\()\\?<!",beginCaptures:{0:{name:"keyword.operator.lookbehind.negative.regexp"},1:{name:"punctuation.parenthesis.lookbehind.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-named-group":{begin:"(?x)\n(\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",beginCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},2:{name:"entity.name.tag.named.group.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},2:{name:"invalid.illegal.newline.python"}},name:"meta.named.regexp",patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-parentheses":{begin:"\\(",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"single-three-regexp-parentheses-non-capturing":{begin:"\\(\\?:",beginCaptures:{0:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},end:"(\\)|(?=\\'\\'\\'))",endCaptures:{1:{name:"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},2:{name:"invalid.illegal.newline.python"}},patterns:[{include:"#single-three-regexp-expression"},{include:"#comments-string-single-three"}]},"special-names":{match:"(?x)\n\\b\n\n\n\n\n\n(\n_* [[:upper:]] [_\\d]* [[:upper:]]\n)\n[[:upper:]\\d]* (_\\w*)?\n\\b\n",name:"constant.other.caps.python"},"special-variables":{captures:{1:{name:"variable.language.special.self.python"},2:{name:"variable.language.special.cls.python"}},match:"(?x)\n\\b (?<!\\.) (?:\n(self) | (cls)\n)\\b\n"},"special-variables-types":{patterns:[{match:"(?x)\n(?<!\\.) \\b(\nlog)\\b\n",name:"variable.language.special.log.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nmsg)\\b\n",name:"variable.language.special.msg.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nblock)\\b\n",name:"variable.language.special.block.vyper"},{match:"(?x)\n(?<!\\.) \\b(\ntx)\\b\n",name:"variable.language.special.tx.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nchain)\\b\n",name:"variable.language.special.chain.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nextcall)\\b\n",name:"variable.language.special.extcall.vyper"},{match:"(?x)\n(?<!\\.) \\b(\nstaticcall)\\b\n",name:"variable.language.special.staticcall.vyper"},{match:"(?x)\n\\b (__interface__) \\b\n",name:"variable.language.special.__interface__.vyper"}]},statement:{patterns:[{include:"#import"},{include:"#class-declaration"},{include:"#function-declaration"},{include:"#generator"},{include:"#statement-keyword"},{include:"#assignment-operator"},{include:"#decorator"},{include:"#docstring-statement"},{include:"#semicolon"}]},"statement-keyword":{patterns:[{match:"\\b((async\\s+)?\\s*def)\\b",name:"storage.type.function.python"},{comment:"if `as` is eventually followed by `:` or line continuation\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:"(?x)\n\\b(?<!\\.)(\nasync | continue | del | assert | break | finally | for\n| from | elif | else | if | except | pass | raise\n| return | try | while | with\n)\\b\n",name:"keyword.control.flow.python"},{match:"(?x)\n\\b(?<!\\.)(\nglobal | nonlocal\n)\\b\n",name:"storage.modifier.declaration.python"},{match:"\\b(?<!\\.)(class)\\b",name:"storage.type.class.python"},{captures:{1:{name:"keyword.control.flow.python"}},match:"(?x)\n^\\s*(\ncase | match\n)(?=\\s*([-+\\w\\d(\\[{'\":#]|$))\\b\n"}]},string:{patterns:[{include:"#string-quoted-multi-line"},{include:"#string-quoted-single-line"},{include:"#string-bin-quoted-multi-line"},{include:"#string-bin-quoted-single-line"},{include:"#string-raw-quoted-multi-line"},{include:"#string-raw-quoted-single-line"},{include:"#string-raw-bin-quoted-multi-line"},{include:"#string-raw-bin-quoted-single-line"},{include:"#fstring-fnorm-quoted-multi-line"},{include:"#fstring-fnorm-quoted-single-line"},{include:"#fstring-normf-quoted-multi-line"},{include:"#fstring-normf-quoted-single-line"},{include:"#fstring-raw-quoted-multi-line"},{include:"#fstring-raw-quoted-single-line"}]},"string-bin-quoted-multi-line":{begin:"(\\b[bB])('''|\"\"\")",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.binary.multi.python",patterns:[{include:"#string-entity"}]},"string-bin-quoted-single-line":{begin:"(\\b[bB])((['\"]))",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.binary.single.python",patterns:[{include:"#string-entity"}]},"string-brace-formatting":{patterns:[{captures:{1:{name:"constant.character.format.placeholder.other.python"},3:{name:"storage.type.format.python"},4:{name:"storage.type.format.python"}},match:"(?x)\n(\n{{ | }}\n| (?:\n{\n\\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n(![rsa])?\n( : \\w? [<>=^]? [-+ ]? \\#?\n\\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?\n})\n)\n",name:"meta.format.brace.python"},{captures:{1:{name:"constant.character.format.placeholder.other.python"},3:{name:"storage.type.format.python"},4:{name:"storage.type.format.python"}},match:"(?x)\n(\n{\n\\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n(![rsa])?\n(:)\n[^'\"{}\\n]* (?:\n\\{ [^'\"}\\n]*? \\} [^'\"{}\\n]*\n)*\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:"(?x)\n(\n% (\\([\\w\\s]*\\))?\n[-+#0 ]*\n(\\d+|\\*)? (\\.(\\d+|\\*))?\n([hlL])?\n[diouxXeEfFgGcrsab%]\n)\n",name:"meta.format.percent.python"},"string-line-continuation":{match:"\\\\$",name:"constant.language.python"},"string-multi-bad-brace1-formatting-raw":{begin:"(?x)\n(?= \\{%\n( .*? (?!'''|\"\"\") )\n%\\}\n)\n",comment:"template using {% ... %}",end:"(?='''|\"\"\")",patterns:[{include:"#string-consume-escape"}]},"string-multi-bad-brace1-formatting-unicode":{begin:"(?x)\n(?= \\{%\n( .*? (?!'''|\"\"\") )\n%\\}\n)\n",comment:"template using {% ... %}",end:"(?='''|\"\"\")",patterns:[{include:"#escape-sequence-unicode"},{include:"#escape-sequence"},{include:"#string-line-continuation"}]},"string-multi-bad-brace2-formatting-raw":{begin:"(?x)\n(?!\\{\\{)\n(?= \\{ (\n\\w*? (?!'''|\"\"\") [^!:\\.\\[}\\w]\n)\n.*?(?!'''|\"\"\")\n\\}\n)\n",comment:"odd format or format-like syntax",end:"(?='''|\"\"\")",patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"}]},"string-multi-bad-brace2-formatting-unicode":{begin:"(?x)\n(?!\\{\\{)\n(?= \\{ (\n\\w*? (?!'''|\"\"\") [^!:\\.\\[}\\w]\n)\n.*?(?!'''|\"\"\")\n\\}\n)\n",comment:"odd format or format-like syntax",end:"(?='''|\"\"\")",patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"}]},"string-quoted-multi-line":{begin:"(?:\\b([rR])(?=[uU]))?([uU])?('''|\"\"\")",beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python"}},end:"(\\3)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.multi.python",patterns:[{include:"#string-multi-bad-brace1-formatting-unicode"},{include:"#string-multi-bad-brace2-formatting-unicode"},{include:"#string-unicode-guts"}]},"string-quoted-single-line":{begin:"(?:\\b([rR])(?=[uU]))?([uU])?((['\"]))",beginCaptures:{1:{name:"invalid.illegal.prefix.python"},2:{name:"storage.type.string.python"},3:{name:"punctuation.definition.string.begin.python"}},end:"(\\3)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.single.python",patterns:[{include:"#string-single-bad-brace1-formatting-unicode"},{include:"#string-single-bad-brace2-formatting-unicode"},{include:"#string-unicode-guts"}]},"string-raw-bin-guts":{patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"}]},"string-raw-bin-quoted-multi-line":{begin:"(\\b(?:R[bB]|[bB]R))('''|\"\"\")",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.binary.multi.python",patterns:[{include:"#string-raw-bin-guts"}]},"string-raw-bin-quoted-single-line":{begin:"(\\b(?:R[bB]|[bB]R))((['\"]))",beginCaptures:{1:{name:"storage.type.string.python"},2:{name:"punctuation.definition.string.begin.python"}},end:"(\\2)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.binary.single.python",patterns:[{include:"#string-raw-bin-guts"}]},"string-raw-guts":{patterns:[{include:"#string-consume-escape"},{include:"#string-formatting"},{include:"#string-brace-formatting"}]},"string-raw-quoted-multi-line":{begin:"\\b(([uU]R)|(R))('''|\"\"\")",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"punctuation.definition.string.begin.python"}},end:"(\\4)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.multi.python",patterns:[{include:"#string-multi-bad-brace1-formatting-raw"},{include:"#string-multi-bad-brace2-formatting-raw"},{include:"#string-raw-guts"}]},"string-raw-quoted-single-line":{begin:"\\b(([uU]R)|(R))((['\"]))",beginCaptures:{2:{name:"invalid.deprecated.prefix.python"},3:{name:"storage.type.string.python"},4:{name:"punctuation.definition.string.begin.python"}},end:"(\\4)|((?<!\\\\)\\n)",endCaptures:{1:{name:"punctuation.definition.string.end.python"},2:{name:"invalid.illegal.newline.python"}},name:"string.quoted.raw.single.python",patterns:[{include:"#string-single-bad-brace1-formatting-raw"},{include:"#string-single-bad-brace2-formatting-raw"},{include:"#string-raw-guts"}]},"string-single-bad-brace1-formatting-raw":{begin:"(?x)\n(?= \\{%\n( .*? (?!(['\"])|((?<!\\\\)\\n)) )\n%\\}\n)\n",comment:"template using {% ... %}",end:"(?=(['\"])|((?<!\\\\)\\n))",patterns:[{include:"#string-consume-escape"}]},"string-single-bad-brace1-formatting-unicode":{begin:"(?x)\n(?= \\{%\n( .*? (?!(['\"])|((?<!\\\\)\\n)) )\n%\\}\n)\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:"(?x)\n(?!\\{\\{)\n(?= \\{ (\n\\w*? (?!(['\"])|((?<!\\\\)\\n)) [^!:\\.\\[}\\w]\n)\n.*?(?!(['\"])|((?<!\\\\)\\n))\n\\}\n)\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:"(?x)\n(?!\\{\\{)\n(?= \\{ (\n\\w*? (?!(['\"])|((?<!\\\\)\\n)) [^!:\\.\\[}\\w]\n)\n.*?(?!(['\"])|((?<!\\\\)\\n))\n\\}\n)\n",comment:"odd format or format-like syntax",end:"(?=(['\"])|((?<!\\\\)\\n))",patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"}]},"string-unicode-guts":{patterns:[{include:"#escape-sequence-unicode"},{include:"#string-entity"},{include:"#string-brace-formatting"}]}},i="source.vyper",r={displayName:e,name:n,patterns:t,repository:a,scopeName:i};export{r as default,e as displayName,n as name,t as patterns,a as repository,i as scopeName};
@@ -0,0 +1 @@
1
+ var t="WebAssembly",e="wasm",a=[{include:"#comments"},{include:"#strings"},{include:"#instructions"},{include:"#types"},{include:"#modules"},{include:"#constants"},{include:"#invalid"}],n={comments:{patterns:[{captures:{1:{name:"punctuation.definition.comment.wat"}},comment:"Line comment",match:"(;;).*$",name:"comment.line.wat"},{begin:"\\(;",beginCaptures:{0:{name:"punctuation.definition.comment.wat"}},comment:"Block comment",end:";\\)",endCaptures:{0:{name:"punctuation.definition.comment.wat"}},name:"comment.block.wat"}]},constants:{patterns:[{comment:"Fixed-width SIMD",patterns:[{captures:{1:{name:"support.type.wat"}},comment:"Vector literal (i8x16) [simd]",match:"\\b(i8x16)(?:\\s+0x[0-9a-fA-F]{1,2}){16}\\b",name:"constant.numeric.vector.wat"},{captures:{1:{name:"support.type.wat"}},comment:"Vector literal (i16x8) [simd]",match:"\\b(i16x8)(?:\\s+0x[0-9a-fA-F]{1,4}){8}\\b",name:"constant.numeric.vector.wat"},{captures:{1:{name:"support.type.wat"}},comment:"Vector literal (i32x4) [simd]",match:"\\b(i32x4)(?:\\s+0x[0-9a-fA-F]{1,8}){4}\\b",name:"constant.numeric.vector.wat"},{captures:{1:{name:"support.type.wat"}},comment:"Vector literal (i64x2) [simd]",match:"\\b(i64x2)(?:\\s+0x[0-9a-fA-F]{1,16}){2}\\b",name:"constant.numeric.vector.wat"}]},{comment:"MVP",patterns:[{comment:"Floating point literal",match:"[+-]?\\b[0-9][0-9]*(?:\\.[0-9][0-9]*)?(?:[eE][+-]?[0-9]+)?\\b",name:"constant.numeric.float.wat"},{comment:"Floating point hexadecimal literal",match:"[+-]?\\b0x([0-9a-fA-F]*\\.[0-9a-fA-F]+|[0-9a-fA-F]+\\.?)[Pp][+-]?[0-9]+\\b",name:"constant.numeric.float.wat"},{comment:"Floating point infinity",match:"[+-]?\\binf\\b",name:"constant.numeric.float.wat"},{comment:"Floating point literal (NaN)",match:"[+-]?\\bnan:0x[0-9a-fA-F][0-9a-fA-F]*\\b",name:"constant.numeric.float.wat"},{comment:"Integer literal",match:"[+-]?\\b(?:0x[0-9a-fA-F][0-9a-fA-F]*|\\d[\\d]*)\\b",name:"constant.numeric.integer.wat"}]}]},instructions:{patterns:[{comment:"Non-trapping float-to-int conversions",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Conversion instruction [nontrapping-float-to-int-conversions]",match:"\\b(i32|i64)\\.trunc_sat_f(?:32|64)_[su]\\b",name:"keyword.operator.word.wat"}]},{comment:"Sign-extension operators",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Numeric instruction (i32) [sign-extension-ops]",match:"\\b(i32)\\.(?:extend(?:8|16)_s)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Numeric instruction (i64) [sign-extension-ops]",match:"\\b(i64)\\.(?:extend(?:8|16|32)_s)\\b",name:"keyword.operator.word.wat"}]},{comment:"Bulk memory operations",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Memory instruction [bulk-memory-operations]",match:"\\b(memory)\\.(?:copy|fill|init|drop)\\b",name:"keyword.operator.word.wat"}]},{comment:"Fixed-width SIMD",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (v128) [simd]",match:"\\b(v128)\\.(?:const|and|or|xor|not|andnot|bitselect|load|store)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (i8x16) [simd]",match:"\\b(i8x16)\\.(?:shuffle|swizzle|splat|replace_lane|add|sub|mul|neg|shl|shr_[su]|eq|ne|lt_[su]|le_[su]|gt_[su]|ge_[su]|min_[su]|max_[su]|any_true|all_true|extract_lane_[su]|add_saturate_[su]|sub_saturate_[su]|avgr_u|narrow_i16x8_[su])\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (i16x8) [simd]",match:"\\b(i16x8)\\.(?:splat|replace_lane|add|sub|mul|neg|shl|shr_[su]|eq|ne|lt_[su]|le_[su]|gt_[su]|ge_[su]|min_[su]|max_[su]|any_true|all_true|extract_lane_[su]|add_saturate_[su]|sub_saturate_[su]|avgr_u|load8x8_[su]|narrow_i32x4_[su]|widen_(low|high)_i8x16_[su])\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (i32x4) [simd]",match:"\\b(i32x4)\\.(?:splat|replace_lane|add|sub|mul|neg|shl|shr_[su]|eq|ne|lt_[su]|le_[su]|gt_[su]|ge_[su]|min_[su]|max_[su]|any_true|all_true|extract_lane|load16x4_[su]|trunc_sat_f32x4_[su]|widen_(low|high)_i16x8_[su])\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (i64x2) [simd]",match:"\\b(i64x2)\\.(?:splat|replace_lane|add|sub|mul|neg|shl|shr_[su]|extract_lane|load32x2_[su])\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (f32x4) [simd]",match:"\\b(f32x4)\\.(?:splat|replace_lane|add|sub|mul|neg|extract_lane|eq|ne|lt|le|gt|ge|abs|min|max|div|sqrt|convert_i32x4_[su])\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (f64x2) [simd]",match:"\\b(f64x2)\\.(?:splat|replace_lane|add|sub|mul|neg|extract_lane|eq|ne|lt|le|gt|ge|abs|min|max|div|sqrt)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (v8x16) [simd]",match:"\\b(v8x16)\\.(?:load_splat|shuffle|swizzle)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (v16x8) [simd]",match:"\\b(v16x8)\\.load_splat\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (v32x4) [simd]",match:"\\b(v32x4)\\.load_splat\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Vector instruction (v64x2) [simd]",match:"\\b(v64x2)\\.load_splat\\b",name:"keyword.operator.word.wat"}]},{comment:"Threads",patterns:[{captures:{1:{name:"support.class.wat"},2:{name:"support.class.wat"},3:{name:"support.class.wat"},4:{name:"support.class.wat"}},comment:"Atomic instruction (i32) [threads]",match:"\\b(i32)\\.(atomic)\\.(?:load(?:8_u|16_u)?|store(?:8|16)?|wait|(rmw)\\.(?:add|sub|and|or|xor|xchg|cmpxchg)|(rmw8|rmw16)\\.(?:add_u|sub_u|and_u|or_u|xor_u|xchg_u|cmpxchg_u))\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"},2:{name:"support.class.wat"},3:{name:"support.class.wat"},4:{name:"support.class.wat"}},comment:"Atomic instruction (i64) [threads]",match:"\\b(i64)\\.(atomic)\\.(?:load(?:8_u|16_u|32_u)?|store(?:8|16|32)?|wait|(rmw)\\.(?:add|sub|and|or|xor|xchg|cmpxchg)|(rmw8|rmw16|rmw32)\\.(?:add_u|sub_u|and_u|or_u|xor_u|xchg_u|cmpxchg_u))\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Atomic instruction [threads]",match:"\\b(atomic)\\.(?:notify|fence)\\b",name:"keyword.operator.word.wat"},{comment:"Shared modifier [threads]",match:"\\bshared\\b",name:"storage.modifier.wat"}]},{comment:"Reference types",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Reference instruction [reference-types]",match:"\\b(ref)\\.(?:null|is_null|func|extern)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Table instruction [reference-types]",match:"\\b(table)\\.(?:get|size|grow|fill|init|copy)\\b",name:"keyword.operator.word.wat"},{comment:"Type name [reference-types]",match:"\\b(?:externref|funcref|nullref)\\b",name:"entity.name.type.wat"}]},{comment:"Tail Call",patterns:[{comment:"Control instruction [tail-call]",match:"\\breturn_call(?:_indirect)?\\b",name:"keyword.control.wat"}]},{comment:"Exception handling",patterns:[{comment:"Control instruction [exception-handling]",match:"\\b(?:try|catch|throw|rethrow|br_on_exn)\\b",name:"keyword.control.wat"},{comment:"Module element [exception-handling]",match:"(?<=\\()event\\b",name:"storage.type.wat"}]},{comment:"Binaryen extensions",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Pseudo stack instruction [binaryen]",match:"\\b(i32|i64|f32|f64|externref|funcref|nullref|exnref)\\.(?:push|pop)\\b",name:"keyword.operator.word.wat"}]},{comment:"MVP",patterns:[{captures:{1:{name:"support.class.type.wat"}},comment:"Memory instruction (i32) [mvp]",match:"\\b(i32)\\.(?:load|load(?:8|16)(?:_[su])?|store(?:8|16)?)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Memory instruction (i64) [mvp]",match:"\\b(i64)\\.(?:load|load(?:8|16|32)(?:_[su])?|store(?:8|16|32)?)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Memory instruction (f32/f64) [mvp]",match:"\\b(f32|f64)\\.(?:load|store)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.memory.wat"}},comment:"Memory instruction [mvp]",match:"\\b(memory)\\.(?:size|grow)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"entity.other.attribute-name.wat"}},comment:"Memory instruction attribute [mvp]",match:"\\b(offset|align)=\\b"},{captures:{1:{name:"support.class.local.wat"}},comment:"Variable instruction (local) [mvp]",match:"\\b(local)\\.(?:get|set|tee)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.global.wat"}},comment:"Variable instruction (global) [mvp]",match:"\\b(global)\\.(?:get|set)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Numeric instruction (i32/i64) [mvp]",match:"\\b(i32|i64)\\.(const|eqz|eq|ne|lt_[su]|gt_[su]|le_[su]|ge_[su]|clz|ctz|popcnt|add|sub|mul|div_[su]|rem_[su]|and|or|xor|shl|shr_[su]|rotl|rotr)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Numeric instruction (f32/f64) [mvp]",match:"\\b(f32|f64)\\.(const|eq|ne|lt|gt|le|ge|abs|neg|ceil|floor|trunc|nearest|sqrt|add|sub|mul|div|min|max|copysign)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Conversion instruction (i32) [mvp]",match:"\\b(i32)\\.(wrap_i64|trunc_(f32|f64)_[su]|reinterpret_f32)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Conversion instruction (i64) [mvp]",match:"\\b(i64)\\.(extend_i32_[su]|trunc_f(32|64)_[su]|reinterpret_f64)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Conversion instruction (f32) [mvp]",match:"\\b(f32)\\.(convert_i(32|64)_[su]|demote_f64|reinterpret_i32)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.type.wat"}},comment:"Conversion instruction (f64) [mvp]",match:"\\b(f64)\\.(convert_i(32|64)_[su]|promote_f32|reinterpret_i64)\\b",name:"keyword.operator.word.wat"},{comment:"Control instruction [mvp]",match:"\\b(?:unreachable|nop|block|loop|if|then|else|end|br|br_if|br_table|return|call|call_indirect)\\b",name:"keyword.control.wat"},{comment:"Parametric instruction [mvp]",match:"\\b(?:drop|select)\\b",name:"keyword.operator.word.wat"}]},{comment:"GC Instructions",patterns:[{captures:{1:{name:"support.class.wat"}},comment:"Reference Instructions [GC]",match:"\\b(ref)\\.(?:eq|test|cast)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Struct Instructions [GC]",match:"\\b(struct)\\.(?:new_canon|new_canon_default|get|get_s|get_u|set)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Array Instructions [GC]",match:"\\b(array)\\.(?:new_canon|new_canon_default|get|get_s|get_u|set|len|new_canon_fixed|new_canon_data|new_canon_elem)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"i31 Instructions [GC]",match:"\\b(i31)\\.(?:new|get_s|get_u)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Branch Instructions [GC]",match:"\\b(?:br_on_non_null|br_on_cast|br_on_cast_fail)\\b",name:"keyword.operator.word.wat"},{captures:{1:{name:"support.class.wat"}},comment:"Reference Instructions [GC]",match:"\\b(extern)\\.(?:internalize|externalize)\\b",name:"keyword.operator.word.wat"}]}]},invalid:{patterns:[{match:"[^\\s()]+",name:"invalid.wat"}]},modules:{patterns:[{comment:"Bulk memory operations",patterns:[{captures:{1:{name:"storage.modifier.wat"}},comment:"Passive modifier [bulk-memory-operations]",match:"(?<=\\(data)\\s+(passive)\\b"}]},{comment:"MVP",patterns:[{comment:"Module element [mvp]",match:"(?<=\\()(?:module|import|export|memory|data|table|elem|start|func|type|param|result|global|local)\\b",name:"storage.type.wat"},{captures:{1:{name:"storage.modifier.wat"}},comment:"Mutable global modifier [mvp]",match:"(?<=\\()\\s*(mut)\\b",name:"storage.modifier.wat"},{captures:{1:{name:"entity.name.function.wat"}},comment:"Function name [mvp]",match:"(?<=\\(func|\\(start|call|return_call|ref\\.func)\\s+(\\$[0-9A-Za-z!#$%&'*+\\-./:<=>?@\\\\^_`|~]*)"},{begin:"\\)\\s+(\\$[0-9A-Za-z!#$%&'*+\\-./:<=>?@\\\\^_`|~]*)",beginCaptures:{1:{name:"entity.name.function.wat"}},comment:"Function name(s) (elem) [mvp]",end:"\\)",patterns:[{match:"(?<=\\s)\\$[0-9A-Za-z!#$%&'*+\\-./:<=>?@\\\\^_`|~]*",name:"entity.name.function.wat"}]},{captures:{1:{name:"support.type.function.wat"}},comment:"Function type [mvp]",match:"(?<=\\(type)\\s+(\\$[0-9A-Za-z!#$%&'*+\\-./:<=>?@\\\\^_`|~]*)"},{comment:"Variable name or branch label [mvp]",match:"\\$[0-9A-Za-z!#$%&'*+\\-./:<=>?@\\\\^_`|~]*\\b",name:"variable.other.wat"}]}]},strings:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin"}},comment:"String literal",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end"}},name:"string.quoted.double.wat",patterns:[{match:"\\\\(n|t|\\\\|'|\"|[0-9a-fA-F]{2})",name:"constant.character.escape.wat"}]},types:{patterns:[{comment:"Fixed-width SIMD",patterns:[{comment:"Type name [simd]",match:"\\bv128\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"Reference types",patterns:[{comment:"Type name [reference-types]",match:"\\b(?:externref|funcref|nullref)\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"Exception handling",patterns:[{comment:"Type name [exception-handling]",match:"\\bexnref\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"MVP",patterns:[{comment:"Type name [mvp]",match:"\\b(?:i32|i64|f32|f64)\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"GC Types",patterns:[{comment:"Type name [GC]",match:"\\b(?:i8|i16|ref|funcref|externref|anyref|eqref|i31ref|nullfuncref|nullexternref|structref|arrayref|nullref)\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"GC Heap Types",patterns:[{comment:"Type name [GC]",match:"\\b(?:type|func|extern|any|eq|nofunc|noextern|struct|array|none)\\b(?!\\.)",name:"entity.name.type.wat"}]},{comment:"GC Structured and sub Types",patterns:[{comment:"Type name [GC]",match:"\\b(?:struct|array|sub|final|rec|field|mut)\\b(?!\\.)",name:"entity.name.type.wat"}]}]}},r="source.wat",o={displayName:t,name:e,patterns:a,repository:n,scopeName:r};export{o as default,t as displayName,e as name,a as patterns,n as repository,r as scopeName};
@@ -0,0 +1 @@
1
+ var e="Wenyan",a="wenyan",n=[{include:"#keywords"},{include:"#constants"},{include:"#operators"},{include:"#symbols"},{include:"#expression"},{include:"#comment-blocks"},{include:"#comment-lines"}],t={"comment-blocks":{begin:"(注曰|疏曰|批曰)。?(「「|『)",end:"(」」|』)",name:"comment.block",patterns:[{match:"\\\\.",name:"constant.character"}]},"comment-lines":{begin:"注曰|疏曰|批曰",end:"$",name:"comment.line",patterns:[{match:"\\\\.",name:"constant.character"}]},constants:{patterns:[{match:"負|·|又|零|〇|一|二|三|四|五|六|七|八|九|十|百|千|萬|億|兆|京|垓|秭|穰|溝|澗|正|載|極|分|釐|毫|絲|忽|微|纖|沙|塵|埃|渺|漠",name:"constant.numeric"},{match:"其|陰|陽",name:"constant.language"},{begin:"「「|『",end:"」」|』",name:"string.quoted",patterns:[{match:"\\\\.",name:"constant.character"}]}]},expression:{patterns:[{include:"#variables"}]},keywords:{patterns:[{match:"數|列|言|術|爻|物|元",name:"storage.type"},{match:"乃行是術曰|若其不然者|乃歸空無|欲行是術|乃止是遍|若其然者|其物如是|乃得矣|之術也|必先得|是術曰|恆為是|之物也|乃得|是謂|云云|中之|為是|乃止|若非|或若|之長|其餘",name:"keyword.control"},{match:"或云|蓋謂",name:"keyword.control"},{match:"中有陽乎|中無陰乎|所餘幾何|不等於|不大於|不小於|等於|大於|小於|加|減|乘|除|變|以|於",name:"keyword.operator"},{match:"不知何禍歟|不復存矣|姑妄行此|如事不諧|名之曰|吾嘗觀|之禍歟|乃作罷|吾有|今有|物之|書之|以施|昔之|是矣|之書|方悟|之義|嗚呼|之禍|有|施|曰|噫|取|今|夫|中|豈",name:"keyword.other"},{match:"也|凡|遍|若|者|之|充|銜",name:"keyword.control"}]},symbols:{patterns:[{match:"。|、",name:"punctuation.separator"}]},variables:{begin:"「",end:"」",name:"variable.other",patterns:[{match:"\\\\.",name:"constant.character"}]}},c="source.wenyan",s={displayName:e,name:a,patterns:n,repository:t,scopeName:c};export{s as default,e as displayName,a as name,n as patterns,t as repository,c as scopeName};
@@ -0,0 +1 @@
1
+ var e="WGSL",t="wgsl",a=[{include:"#line_comments"},{include:"#block_comments"},{include:"#keywords"},{include:"#attributes"},{include:"#functions"},{include:"#function_calls"},{include:"#constants"},{include:"#types"},{include:"#variables"},{include:"#punctuation"}],n={attributes:{patterns:[{captures:{1:{name:"keyword.operator.attribute.at"},2:{name:"entity.name.attribute.wgsl"}},comment:"attribute declaration",match:"(@)([A-Za-z_]+)",name:"meta.attribute.wgsl"}]},block_comments:{patterns:[{comment:"empty block comments",match:"/\\*\\*/",name:"comment.block.wgsl"},{begin:"/\\*\\*",comment:"block documentation comments",end:"\\*/",name:"comment.block.documentation.wgsl",patterns:[{include:"#block_comments"}]},{begin:"/\\*(?!\\*)",comment:"block comments",end:"\\*/",name:"comment.block.wgsl",patterns:[{include:"#block_comments"}]}]},constants:{patterns:[{comment:"decimal float literal",match:"(-?\\b[0-9][0-9]*\\.[0-9][0-9]*)([eE][+-]?[0-9]+)?\\b",name:"constant.numeric.float.wgsl"},{comment:"int literal",match:"-?\\b0x[0-9a-fA-F]+\\b|\\b0\\b|-?\\b[1-9][0-9]*\\b",name:"constant.numeric.decimal.wgsl"},{comment:"uint literal",match:"\\b0x[0-9a-fA-F]+u\\b|\\b0u\\b|\\b[1-9][0-9]*u\\b",name:"constant.numeric.decimal.wgsl"},{comment:"boolean constant",match:"\\b(true|false)\\b",name:"constant.language.boolean.wgsl"}]},function_calls:{patterns:[{begin:"([A-Za-z0-9_]+)(\\()",beginCaptures:{1:{name:"entity.name.function.wgsl"},2:{name:"punctuation.brackets.round.wgsl"}},comment:"function/method calls",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.wgsl"}},name:"meta.function.call.wgsl",patterns:[{include:"#line_comments"},{include:"#block_comments"},{include:"#keywords"},{include:"#attributes"},{include:"#function_calls"},{include:"#constants"},{include:"#types"},{include:"#variables"},{include:"#punctuation"}]}]},functions:{patterns:[{begin:"\\b(fn)\\s+([A-Za-z0-9_]+)((\\()|(<))",beginCaptures:{1:{name:"keyword.other.fn.wgsl"},2:{name:"entity.name.function.wgsl"},4:{name:"punctuation.brackets.round.wgsl"}},comment:"function definition",end:"\\{",endCaptures:{0:{name:"punctuation.brackets.curly.wgsl"}},name:"meta.function.definition.wgsl",patterns:[{include:"#line_comments"},{include:"#block_comments"},{include:"#keywords"},{include:"#attributes"},{include:"#function_calls"},{include:"#constants"},{include:"#types"},{include:"#variables"},{include:"#punctuation"}]}]},keywords:{patterns:[{comment:"other keywords",match:"\\b(bitcast|block|break|case|continue|continuing|default|discard|else|elseif|enable|fallthrough|for|function|if|loop|private|read|read_write|return|storage|switch|uniform|while|workgroup|write)\\b",name:"keyword.control.wgsl"},{comment:"reserved keywords",match:"\\b(asm|const|do|enum|handle|mat|premerge|regardless|typedef|unless|using|vec|void)\\b",name:"keyword.control.wgsl"},{comment:"storage keywords",match:"\\b(let|var)\\b",name:"keyword.other.wgsl storage.type.wgsl"},{comment:"type keyword",match:"\\b(type)\\b",name:"keyword.declaration.type.wgsl storage.type.wgsl"},{comment:"enum keyword",match:"\\b(enum)\\b",name:"keyword.declaration.enum.wgsl storage.type.wgsl"},{comment:"struct keyword",match:"\\b(struct)\\b",name:"keyword.declaration.struct.wgsl storage.type.wgsl"},{comment:"fn",match:"\\bfn\\b",name:"keyword.other.fn.wgsl"},{comment:"logical operators",match:"(\\^|\\||\\|\\||&&|<<|>>|!)(?!=)",name:"keyword.operator.logical.wgsl"},{comment:"logical AND, borrow references",match:"&(?![&=])",name:"keyword.operator.borrow.and.wgsl"},{comment:"assignment operators",match:"(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)",name:"keyword.operator.assignment.wgsl"},{comment:"single equal",match:"(?<![<>])=(?!=|>)",name:"keyword.operator.assignment.equal.wgsl"},{comment:"comparison operators",match:"(=(=)?(?!>)|!=|<=|(?<!=)>=)",name:"keyword.operator.comparison.wgsl"},{comment:"math operators",match:"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!>))|(/(?!/))",name:"keyword.operator.math.wgsl"},{comment:"dot access",match:"\\.(?!\\.)",name:"keyword.operator.access.dot.wgsl"},{comment:"dashrocket, skinny arrow",match:"->",name:"keyword.operator.arrow.skinny.wgsl"}]},line_comments:{comment:"single line comment",match:"\\s*//.*",name:"comment.line.double-slash.wgsl"},punctuation:{patterns:[{comment:"comma",match:",",name:"punctuation.comma.wgsl"},{comment:"curly braces",match:"[{}]",name:"punctuation.brackets.curly.wgsl"},{comment:"parentheses, round brackets",match:"[()]",name:"punctuation.brackets.round.wgsl"},{comment:"semicolon",match:";",name:"punctuation.semi.wgsl"},{comment:"square brackets",match:"[\\[\\]]",name:"punctuation.brackets.square.wgsl"},{comment:"angle brackets",match:"(?<![=-])[<>]",name:"punctuation.brackets.angle.wgsl"}]},types:{comment:"types",name:"storage.type.wgsl",patterns:[{comment:"scalar Types",match:"\\b(bool|i32|u32|f32)\\b",name:"storage.type.wgsl"},{comment:"reserved scalar Types",match:"\\b(i64|u64|f64)\\b",name:"storage.type.wgsl"},{comment:"vector type aliasses",match:"\\b(vec2i|vec3i|vec4i|vec2u|vec3u|vec4u|vec2f|vec3f|vec4f|vec2h|vec3h|vec4h)\\b",name:"storage.type.wgsl"},{comment:"matrix type aliasses",match:"\\b(mat2x2f|mat2x3f|mat2x4f|mat3x2f|mat3x3f|mat3x4f|mat4x2f|mat4x3f|mat4x4f|mat2x2h|mat2x3h|mat2x4h|mat3x2h|mat3x3h|mat3x4h|mat4x2h|mat4x3h|mat4x4h)\\b",name:"storage.type.wgsl"},{comment:"vector/matrix types",match:"\\b(vec[2-4]|mat[2-4]x[2-4])\\b",name:"storage.type.wgsl"},{comment:"atomic types",match:"\\b(atomic)\\b",name:"storage.type.wgsl"},{comment:"array types",match:"\\b(array)\\b",name:"storage.type.wgsl"},{comment:"Custom type",match:"\\b([A-Z][A-Za-z0-9]*)\\b",name:"entity.name.type.wgsl"}]},variables:{patterns:[{comment:"variables",match:"\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b",name:"variable.other.wgsl"}]}},m="source.wgsl",c={displayName:e,name:t,patterns:a,repository:n,scopeName:m};export{c as default,e as displayName,t as name,a as patterns,n as repository,m as scopeName};
@@ -0,0 +1 @@
1
+ var t="Wikitext",e="wikitext",i=[{include:"#wikitext"},{include:"text.html.basic"}],n={wikitext:{patterns:[{include:"#signature"},{include:"#redirect"},{include:"#magic-words"},{include:"#argument"},{include:"#template"},{include:"#convert"},{include:"#list"},{include:"#table"},{include:"#font-style"},{include:"#internal-link"},{include:"#external-link"},{include:"#heading"},{include:"#break"},{include:"#wikixml"},{include:"#extension-comments"}],repository:{argument:{begin:"({{{)",end:"(}}})",name:"variable.parameter.wikitext",patterns:[{captures:{1:{name:"variable.other.wikitext"},2:{name:"keyword.operator.wikitext"}},match:"(?:^|\\G)([^#:\\|\\[\\]\\{\\}\\|]*)(\\|)"},{include:"$self"}]},break:{match:"^-{4,}",name:"markup.changed.wikitext"},convert:{begin:"(-\\{(?!\\{))([a-zA-Z](\\|))?",captures:{1:{name:"punctuation.definition.tag.template.wikitext"},2:{name:"entity.name.function.type.wikitext"},3:{name:"keyword.operator.wikitext"}},end:"(\\}-)",patterns:[{include:"$self"},{captures:{1:{name:"entity.name.tag.language.wikitext"},2:{name:"punctuation.separator.key-value.wikitext"},3:{name:"string.unquoted.text.wikitext",patterns:[{include:"$self"}]},4:{name:"punctuation.terminator.rule.wikitext"}},match:"(?:([a-zA-Z\\-]*)(:))?(.*?)(?:(;)|(?=\\}-))"}]},"extension-comments":{begin:"(<%--)\\s*(\\[)([A-Z_]*)(\\])",beginCaptures:{1:{name:"punctuation.definition.comment.extension.wikitext"},2:{name:"punctuation.definition.tag.extension.wikitext"},3:{name:"storage.type.extension.wikitext"},4:{name:"punctuation.definition.tag.extension.wikitext"}},end:"(\\[)([A-Z_]*)(\\])\\s*(--%>)",endCaptures:{1:{name:"punctuation.definition.tag.extension.wikitext"},2:{name:"storage.type.extension.wikitext"},3:{name:"punctuation.definition.tag.extension.wikitext"},4:{name:"punctuation.definition.comment.extension.wikitext"}},name:"comment.block.documentation.special.extension.wikitext",patterns:[{captures:{0:{name:"meta.object.member.extension.wikitext"},1:{name:"meta.object-literal.key.extension.wikitext"},2:{name:"punctuation.separator.dictionary.key-value.extension.wikitext"},3:{name:"punctuation.definition.string.begin.extension.wikitext"},4:{name:"string.quoted.other.extension.wikitext"},5:{name:"punctuation.definition.string.end.extension.wikitext"}},match:"(\\w*)\\s*(=)\\s*(#)(.*?)(#)"}]},"external-link":{patterns:[{captures:{1:{name:"punctuation.definition.tag.link.external.wikitext"},2:{name:"entity.name.tag.url.wikitext"},3:{name:"string.other.link.external.title.wikitext",patterns:[{include:"$self"}]},4:{name:"punctuation.definition.tag.link.external.wikitext"}},match:"(\\[)((?:(?:(?:http(?:s)?)|(?:ftp(?:s)?)):\\/\\/)[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\.~:\\/?#%@!\\$&'\\(\\)\\*\\+,;=.]+)\\s*?([^\\]]*)(\\])",name:"meta.link.external.wikitext"},{captures:{1:{name:"punctuation.definition.tag.link.external.wikitext"},2:{name:"invalid.illegal.bad-url.wikitext"},3:{name:"string.other.link.external.title.wikitext",patterns:[{include:"$self"}]},4:{name:"punctuation.definition.tag.link.external.wikitext"}},match:"(\\[)([\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\.~:\\/?#%@!\\$&'\\(\\)\\*\\+,;=.]+)\\s*?([^\\]]*)(\\])",name:"invalid.illegal.bad-link.wikitext"}]},"font-style":{patterns:[{include:"#bold"},{include:"#italic"}],repository:{bold:{begin:"(''')",end:"(''')|$",name:"markup.bold.wikitext",patterns:[{include:"#italic"},{include:"$self"}]},italic:{begin:"('')",end:"((?=[^'])|(?=''))''((?=[^'])|(?=''))|$",name:"markup.italic.wikitext",patterns:[{include:"#bold"},{include:"$self"}]}}},heading:{captures:{2:{name:"string.quoted.other.heading.wikitext",patterns:[{include:"$self"}]}},match:"^(={1,6})\\s*(.+?)\\s*(\\1)$",name:"markup.heading.wikitext"},"internal-link":{TODO:"SINGLE LINE",begin:"(\\[\\[)(([^#:\\|\\[\\]\\{\\}]*:)*)?([^\\|\\[\\]]*)?",captures:{1:{name:"punctuation.definition.tag.link.internal.wikitext"},2:{name:"entity.name.tag.namespace.wikitext"},4:{name:"entity.other.attribute-name.wikitext"}},end:"(\\]\\])",name:"string.quoted.internal-link.wikitext",patterns:[{include:"$self"},{captures:{1:{name:"keyword.operator.wikitext"},5:{name:"entity.other.attribute-name.localname.wikitext"}},match:"(\\|)|(?:\\s*)(?:([-\\w.]+)((:)))?([-\\w.:]+)\\s*(=)"}]},list:{name:"markup.list.wikitext",patterns:[{captures:{1:{name:"punctuation.definition.list.begin.markdown.wikitext"}},match:"^([#*;:]+)"}]},"magic-words":{patterns:[{include:"#behavior-switches"},{include:"#outdated-behavior-switches"},{include:"#variables"}],repository:{"behavior-switches":{match:"(?x) # turn on extended mode\n(?i) # ignore case\n (__) # start: __\n (\n NOTOC|FORCETOC|TOC|NOEDITSECTION|NEWSECTIONLINK|NOGALLERY|\n HIDDENCAT|EXPECTUNUSEDCATEGORY|NOCONTENTCONVERT|NOCC|\n NOTITLECONVERT|NOTC|INDEX|NOINDEX|STATICREDIRECT|NOGLOBAL|\n DISAMBIG\n )\n (__)",name:"constant.language.behavior-switcher.wikitext"},"outdated-behavior-switches":{match:"(?x)\n(?i)\n (__)\n (\n START|END\n )\n (__)",name:"invalid.deprecated.behavior-switcher.wikitext"},variables:{patterns:[{match:"(?x)\n(?i)\n (\\{\\{)\n (\n CURRENTYEAR|CURRENTMONTH|CURRENTMONTH1|CURRENTMONTHNAME|\n CURRENTMONTHNAMEGEN|CURRENTMONTHABBREV|CURRENTDAY|\n CURRENTDAY2|CURRENTDOW|CURRENTDAYNAME|CURRENTTIME|\n CURRENTHOUR|CURRENTWEEK|CURRENTTIMESTAMP|LOCALYEAR|\n LOCALMONTH|LOCALMONTH1|LOCALMONTHNAME|LOCALMONTHNAMEGEN|\n LOCALMONTHABBREV|LOCALDAY|LOCALDAY2|LOCALDOW|\n LOCALDAYNAME|LOCALTIME|LOCALHOUR|LOCALWEEK|\n LOCALTIMESTAMP\n )\n (\\}\\})",name:"constant.language.variables.time.wikitext"},{match:"(?x)\n(?i)\n (\\{\\{)\n (\n SITENAME|SERVER|SERVERNAME|DIRMARK|DIRECTIONMARK|\n SCRIPTPATH|STYLEPATH|CURRENTVERSION|CONTENTLANGUAGE|\n CONTENTLANG|PAGEID|PAGELANGUAGE|CASCADINGSOURCES|\n REVISIONID|REVISIONDAY|REVISIONDAY2|REVISIONMONTH|\n REVISIONMONTH1|REVISIONYEAR|REVISIONTIMESTAMP|\n REVISIONUSER|REVISIONSIZE\n )\n (\\}\\})",name:"constant.language.variables.metadata.wikitext"},{match:"ISBN\\s+((9[\\-\\s]?7[\\-\\s]?[89][\\-\\s]?)?([0-9][\\-\\s]?){10})",name:"constant.language.variables.isbn.wikitext"},{match:"RFC\\s+[0-9]+",name:"constant.language.variables.rfc.wikitext"},{match:"PMID\\s+[0-9]+",name:"constant.language.variables.pmid.wikitext"}]}}},redirect:{patterns:[{captures:{1:{name:"keyword.control.redirect.wikitext"},2:{name:"punctuation.definition.tag.link.internal.begin.wikitext"},3:{name:"entity.name.tag.namespace.wikitext"},4:null,5:{name:"entity.other.attribute-name.wikitext"},6:{name:"invalid.deprecated.ineffective.wikitext"},7:{name:"punctuation.definition.tag.link.internal.end.wikitext"}},match:"(?i)(^\\s*?#REDIRECT)\\s*(\\[\\[)(([^#:\\|\\[\\]\\{\\}]*?:)*)?([^\\|\\[\\]]*)?(\\|[^\\[\\]]*?)?(\\]\\])"}]},signature:{patterns:[{match:"~{3,5}",name:"keyword.other.signature.wikitext"}]},table:{patterns:[{begin:"^\\s*(\\{\\|)(.*)$",captures:{1:{name:"punctuation.definition.tag.table.wikitext"},2:{patterns:[{include:"text.html.basic#attribute"}]}},end:"^\\s*(\\|\\})",name:"meta.tag.block.table.wikitext",patterns:[{include:"$self"},{begin:"^\\s*(\\|-)\\s*",beginCaptures:{1:{name:"punctuation.definition.tag.begin.wikitext"}},end:"$",name:"meta.tag.block.table-row.wikitext",patterns:[{include:"$self"},{include:"text.html.basic#attribute"},{match:"\\|.*",name:"invalid.illegal.bad-table-context.wikitext"}]},{begin:"^\\s*(!)(([^\\[]*?)(\\|))?(.*?)(?=(!!)|$)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.wikitext"},2:null,3:{patterns:[{include:"$self"},{include:"text.html.basic#attribute"}]},4:{name:"punctuation.definition.tag.wikitext"},5:{name:"markup.bold.style.wikitext"}},end:"$",name:"meta.tag.block.th.heading",patterns:[{captures:{1:{name:"punctuation.definition.tag.begin.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.wikitext"},5:{name:"markup.bold.style.wikitext"}},match:"(!!)(([^\\[]*?)(\\|))?(.*?)(?=(!!)|$)",name:"meta.tag.block.th.inline.wikitext"},{include:"$self"}]},{captures:{1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"string.unquoted.caption.wikitext"}},end:"$",match:"^\\s*(\\|\\+)(.*?)$",name:"meta.tag.block.caption.wikitext",patterns:[{include:"$self"}]},{begin:"^\\s*(\\|)",beginCaptures:{1:{name:"punctuation.definition.tag.wikitext"}},end:"$",patterns:[{include:"$self"},{match:"\\|\\|",name:"keyword.operator.wikitext"}]}]}]},template:{begin:"(\\{\\{)\\s*(([^#:\\|\\[\\]\\{\\}]*(:))*)\\s*((#[^#:\\|\\[\\]\\{\\}]+(:))*)([^#:\\|\\[\\]\\{\\}]*)",captures:{1:{name:"punctuation.definition.tag.template.wikitext"},2:{name:"entity.name.tag.local-name.wikitext"},4:{name:"punctuation.separator.namespace.wikitext"},5:{name:"entity.name.function.wikitext"},7:{name:"punctuation.separator.namespace.wikitext"},8:{name:"entity.name.tag.local-name.wikitext"}},end:"(\\}\\})",patterns:[{include:"$self"},{match:"(\\|)",name:"keyword.operator.wikitext"},{captures:{1:{name:"entity.other.attribute-name.namespace.wikitext"},2:{name:"punctuation.separator.namespace.wikitext"},3:{name:"entity.other.attribute-name.local-name.wikitext"},4:{name:"keyword.operator.equal.wikitext"}},match:"(?<=\\|)\\s*(?:([-\\w.]+)(:))?([-\\w\\s\\.:]+)\\s*(=)"}]},wikixml:{patterns:[{include:"#wiki-self-closed-tags"},{include:"#normal-wiki-tags"},{include:"#nowiki"},{include:"#ref"},{include:"#jsonin"},{include:"#math"},{include:"#syntax-highlight"}],repository:{jsonin:{begin:"(?i)(<)(graph|templatedata)(\\s+[^>]+)?\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},contentName:"meta.embedded.block.json",end:"(?i)(</)(\\2)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{include:"source.json"}]},math:{begin:"(?i)(<)(math|chem|ce)(\\s+[^>]+)?\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},contentName:"meta.embedded.block.latex",end:"(?i)(</)(\\2)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{include:"text.html.markdown.math#math"}]},"normal-wiki-tags":{captures:{1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},match:"(?i)(</?)(includeonly|onlyinclude|noinclude)(\\s+[^>]+)?\\s*(>)",name:"meta.tag.metedata.normal.wikitext"},nowiki:{begin:"(?i)(<)(nowiki)(\\s+[^>]+)?\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.nowiki.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},contentName:"meta.embedded.block.plaintext",end:"(?i)(</)(nowiki)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.nowiki.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}}},ref:{begin:"(?i)(<)(ref)(\\s+[^>]+)?\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.ref.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},contentName:"meta.block.ref.wikitext",end:"(?i)(</)(ref)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.ref.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{include:"$self"}]},"syntax-highlight":{patterns:[{include:"#hl-css"},{include:"#hl-html"},{include:"#hl-ini"},{include:"#hl-java"},{include:"#hl-lua"},{include:"#hl-makefile"},{include:"#hl-perl"},{include:"#hl-r"},{include:"#hl-ruby"},{include:"#hl-php"},{include:"#hl-sql"},{include:"#hl-vb-net"},{include:"#hl-xml"},{include:"#hl-xslt"},{include:"#hl-yaml"},{include:"#hl-bat"},{include:"#hl-clojure"},{include:"#hl-coffee"},{include:"#hl-c"},{include:"#hl-cpp"},{include:"#hl-diff"},{include:"#hl-dockerfile"},{include:"#hl-go"},{include:"#hl-groovy"},{include:"#hl-pug"},{include:"#hl-js"},{include:"#hl-json"},{include:"#hl-less"},{include:"#hl-objc"},{include:"#hl-swift"},{include:"#hl-scss"},{include:"#hl-perl6"},{include:"#hl-powershell"},{include:"#hl-python"},{include:"#hl-julia"},{include:"#hl-rust"},{include:"#hl-scala"},{include:"#hl-shell"},{include:"#hl-ts"},{include:"#hl-csharp"},{include:"#hl-fsharp"},{include:"#hl-dart"},{include:"#hl-handlebars"},{include:"#hl-markdown"},{include:"#hl-erlang"},{include:"#hl-elixir"},{include:"#hl-latex"},{include:"#hl-bibtex"}],repository:{"hl-bat":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(['\"]?)(?:batch|bat|dosbatch|winbatch)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.bat",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.batchfile"}]}]},"hl-bibtex":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:bibtex|bib)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.bibtex",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.bibtex"}]}]},"hl-c":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)c\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.c",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.c"}]}]},"hl-clojure":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:clojure|clj)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.clojure",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.clojure"}]}]},"hl-coffee":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:coffeescript|coffee-script|coffee)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.coffee",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.coffee"}]}]},"hl-cpp":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:cpp|c\\+\\+)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.cpp",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.cpp"}]}]},"hl-csharp":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:csharp|c#|cs)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.csharp",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.cs"}]}]},"hl-css":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)css\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.css",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.css"}]}]},"hl-dart":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)dart\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.dart",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.dart"}]}]},"hl-diff":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:diff|udiff)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.diff",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.diff"}]}]},"hl-dockerfile":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:docker|dockerfile)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.dockerfile",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.dockerfile"}]}]},"hl-elixir":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:elixir|ex|exs)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.elixir",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.elixir"}]}]},"hl-erlang":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)erlang\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.erlang",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.erlang"}]}]},"hl-fsharp":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:fsharp|f#)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.fsharp",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.fsharp"}]}]},"hl-go":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:go|golang)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.go",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.go"}]}]},"hl-groovy":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)groovy\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.groovy",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.groovy"}]}]},"hl-handlebars":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)handlebars\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.handlebars",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.html.handlebars"}]}]},"hl-html":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)html\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.html",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.html.basic"}]}]},"hl-ini":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:ini|cfg|dosini)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.ini",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.ini"}]}]},"hl-java":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)java\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.java",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.java"}]}]},"hl-js":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:javascript|js)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.js",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.js"}]}]},"hl-json":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"json\"|'json'|\"json-object\"|'json-object'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.json",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.json.comments"}]}]},"hl-julia":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"julia\"|'julia'|\"jl\"|'jl'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.julia",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.julia"}]}]},"hl-latex":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:tex|latex)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.latex",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.tex.latex"}]}]},"hl-less":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"less\"|'less'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.less",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.css.less"}]}]},"hl-lua":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)lua\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.lua",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.lua"}]}]},"hl-makefile":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:make|makefile|mf|bsdmake)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.makefile",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.makefile"}]}]},"hl-markdown":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:markdown|md)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.markdown",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.html.markdown"}]}]},"hl-objc":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"objective-c\"|'objective-c'|\"objectivec\"|'objectivec'|\"obj-c\"|'obj-c'|\"objc\"|'objc'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.objc",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.objc"}]}]},"hl-perl":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:perl|ple)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.perl",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.perl"}]}]},"hl-perl6":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"perl6\"|'perl6'|\"pl6\"|'pl6'|\"raku\"|'raku'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.perl6",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.perl.6"}]}]},"hl-php":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:php|php3|php4|php5)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.php",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.php"}]}]},"hl-powershell":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"powershell\"|'powershell'|\"pwsh\"|'pwsh'|\"posh\"|'posh'|\"ps1\"|'ps1'|\"psm1\"|'psm1'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.powershell",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.powershell"}]}]},"hl-pug":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:pug|jade)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.pug",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.pug"}]}]},"hl-python":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"python\"|'python'|\"py\"|'py'|\"sage\"|'sage'|\"python3\"|'python3'|\"py3\"|'py3'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.python",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.python"}]}]},"hl-r":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:splus|s|r)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.r",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.r"}]}]},"hl-ruby":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:ruby|rb|duby)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.ruby",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.ruby"}]}]},"hl-rust":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"rust\"|'rust'|\"rs\"|'rs'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:null,end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.rust"}]}]},"hl-scala":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"scala\"|'scala'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.scala",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.scala"}]}]},"hl-scss":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"scss\"|'scss'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.scss",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.css.scss"}]}]},"hl-shell":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"bash\"|'bash'|\"sh\"|'sh'|\"ksh\"|'ksh'|\"zsh\"|'zsh'|\"shell\"|'shell'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.shell",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.shell"}]}]},"hl-sql":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)sql\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.sql",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.sql"}]}]},"hl-swift":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"swift\"|'swift'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.swift",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.swift"}]}]},"hl-ts":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:\"typescript\"|'typescript'|\"ts\"|'ts'))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.ts",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.ts"}]}]},"hl-vb-net":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)(?:vb\\.net|vbnet|lobas|oobas|sobas)\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.vb-net",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.asp.vb.net"}]}]},"hl-xml":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)xml\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.xml",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.xml"}]}]},"hl-xslt":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)xslt\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.xslt",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"text.xml.xsl"}]}]},"hl-yaml":{begin:"(?i)(<)(syntaxhighlight)((?:\\s+[^>]+)?(?:\\s+lang=(?:(['\"]?)yaml\\4))(?:\\s+[^>]+)?)\\s*(>)",beginCaptures:{0:{name:"meta.tag.metadata.start.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},5:{name:"punctuation.definition.tag.end.wikitext"}},end:"(?i)(</)(syntaxhighlight)\\s*(>)",endCaptures:{0:{name:"meta.tag.metadata.end.wikitext"},1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{name:"punctuation.definition.tag.end.wikitext"}},patterns:[{begin:"(^|\\G)",contentName:"meta.embedded.block.yaml",end:"(?i)(?=</syntaxhighlight\\s*>)",patterns:[{include:"source.yaml"}]}]}}},"wiki-self-closed-tags":{captures:{1:{name:"punctuation.definition.tag.begin.wikitext"},2:{name:"entity.name.tag.wikitext"},3:{patterns:[{include:"text.html.basic#attribute"},{include:"$self"}]},4:{name:"punctuation.definition.tag.end.wikitext"}},match:"(?i)(<)(templatestyles|ref|nowiki|onlyinclude|includeonly)(\\s+[^>]+)?\\s*(/>)",name:"meta.tag.metedata.void.wikitext"}}}}}},a="source.wikitext",s={displayName:t,name:e,patterns:i,repository:n,scopeName:a};export{s as default,t as displayName,e as name,i as patterns,n as repository,a as scopeName};