@kong-ui-public/documentation 0.7.53 → 0.7.54

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 (213) hide show
  1. package/dist/{_basePickBy-QP7f0_NS-CQRclG56.js → _basePickBy-BdieChar-OkpwE92k.js} +2 -2
  2. package/dist/{_baseUniq--2u8HDhR-BwnJW2qv.js → _baseUniq-DvGKNxK2-CrFHB0Va.js} +1 -1
  3. package/dist/{arc-Ce--zaCu-CaP3a_s2.js → arc-HkQ-gbKN-DMqNZP0P.js} +1 -1
  4. package/dist/architecture-I3QFYML2-BnL0CBhZ-OwkgZ4Jc.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-BGugf6s4-DQPRLlmL.js → architectureDiagram-V6B76FHG-CF7LIMcO-Bi3o7tPD.js} +4 -4
  6. package/dist/astro-Ct9uJo-c-nfJFy9of.js +27 -0
  7. package/dist/{blockDiagram-EN3ZKWFM-DMDRogP_-FsitMOJs.js → blockDiagram-EN3ZKWFM-Ce9sI6p0-BSW7PVPT.js} +6 -6
  8. package/dist/c-DKDB_XIB-DKDB_XIB.js +7 -0
  9. package/dist/{c4Diagram-THADGKDP-DVq6u9iK-DjZCguGM.js → c4Diagram-THADGKDP-BTW1RdWp-B-P4jJEG.js} +2 -2
  10. package/dist/{channel-CkGtrtc_-5heXrfaz.js → channel-BExz2QEe-D87SiV4g.js} +1 -1
  11. package/dist/{chunk-2JBRQKJ5-8eJOTr0j-CXWIVrSH.js → chunk-2JBRQKJ5-OM-qdEYq-BtmlqXNP.js} +2 -2
  12. package/dist/{chunk-2RYQ3QTB-D01RVSPw-CNvvITx2.js → chunk-2RYQ3QTB-CEsfCBgx-CFtk4OUl.js} +1 -1
  13. package/dist/{chunk-BAVOGKFW-BkFOjSb5-DRz12j82.js → chunk-BAVOGKFW-BsKga6TS-OmijSWzp.js} +1 -1
  14. package/dist/{chunk-DUMQOTYW-C8gjn_h8-Buk9AtY0.js → chunk-DUMQOTYW-702X_yPX-jq37ikuA.js} +1 -1
  15. package/dist/{chunk-OQCM5LHU-BsyD81F3-CLn0WK5y.js → chunk-OQCM5LHU-DvAgHiz1-EenYCxhh.js} +1 -1
  16. package/dist/{chunk-UGV5ZQQN-B1Fqn8HR-D2F042zI.js → chunk-UGV5ZQQN-DLJfHEQ--CXU97g-q.js} +2 -2
  17. package/dist/{chunk-XVOYOM2C-BNhATlkH-E6jfDmvo.js → chunk-XVOYOM2C-BuvytsGy-DwxxmTeO.js} +1 -1
  18. package/dist/{chunk-YWFND7JV-CjJOWloQ-yAuS5TWl.js → chunk-YWFND7JV-BX4eJVvR-BCwDeDNF.js} +1 -1
  19. package/dist/{classDiagram-4BHYIK4I-DAFaw6kk-B9-nvdz4.js → classDiagram-4BHYIK4I-DABOljRL-DAS3U8qp.js} +4 -4
  20. package/dist/{classDiagram-v2-FI7KE7WJ-2KIw4eDL-1VSIGqaX.js → classDiagram-v2-FI7KE7WJ-DyhJS9wI-CeDC1SJu.js} +7 -7
  21. package/dist/{clone-BHELfLb3-YErh3h4H.js → clone-BqJCgI_t-D6TZM9U-.js} +1 -1
  22. package/dist/coffee-CiEmwUV9-D5Oe8742.js +9 -0
  23. package/dist/cpp-BphENtVr-DqhLnmUg.js +29 -0
  24. package/dist/csharp-hvsHIX1x-hvsHIX1x.js +7 -0
  25. package/dist/css-twoVIb3q-twoVIb3q.js +7 -0
  26. package/dist/csv-CyuxiNSX-CyuxiNSX.js +7 -0
  27. package/dist/{dagre-P3YPLUS5-Crxg5gw6-B-8XBOXu.js → dagre-P3YPLUS5-C2sB48dB-TVHqbdM9.js} +4 -4
  28. package/dist/{diagram-QS5GVLUX-CxXnEhMp-Bu1H9vNA.js → diagram-QS5GVLUX-CPjjc7oB-xgDgLBUy.js} +3 -3
  29. package/dist/diff-BprZv9Bx-BprZv9Bx.js +7 -0
  30. package/dist/docker-UByH5rch-UByH5rch.js +7 -0
  31. package/dist/documentation.es.js +1 -1
  32. package/dist/documentation.umd.js +103 -438
  33. package/dist/{erDiagram-62CBQV5Y-D6jClMyv-BIzTc7kD.js → erDiagram-62CBQV5Y-BWvC3B70-B5ci7Tyo.js} +3 -3
  34. package/dist/{flowDiagram-JSIZSE4D-BcOWyjMb-BwgaE-hH.js → flowDiagram-JSIZSE4D-C6fUTYCs-CC8M6lTH.js} +4 -4
  35. package/dist/{ganttDiagram-ASEIQ4P5-By38uZLn-Btn4Z6zy.js → ganttDiagram-ASEIQ4P5-C4T3npMC-CkOmHDDH.js} +2 -2
  36. package/dist/git-commit-BpBta0-H-D9ROUaA_.js +9 -0
  37. package/dist/git-rebase-nCu0qkM8-BcHBAqRM.js +9 -0
  38. package/dist/gitGraph-YCYPL57B-BrNA4-wo-DSu9FUv_.js +5 -0
  39. package/dist/{gitGraphDiagram-UL5UFKDR-BqG1nzMk-DWQU5SPN.js → gitGraphDiagram-UL5UFKDR-DUEiISlX-D9YHU22K.js} +4 -4
  40. package/dist/go-CVQIWj2N-CVQIWj2N.js +7 -0
  41. package/dist/{graph-DvHk9sAd-BZSyIJKm.js → graph-sjVS6xcE-C5RdEsAN.js} +2 -2
  42. package/dist/graphql-7X52cHqc-CLBzimQB.js +15 -0
  43. package/dist/haml-28-Av65f-Dih0P9tR.js +19 -0
  44. package/dist/handlebars-TFjvroEi-07H8_eE0.js +15 -0
  45. package/dist/haskell-DJah2Vxp-DJah2Vxp.js +7 -0
  46. package/dist/html-B9SDyQ6N-D-ZKCIRM.js +11 -0
  47. package/dist/html-derivative-Dst04Arf-DrM5NWms.js +9 -0
  48. package/dist/http-nOIbjTbF-C51IpTrN.js +15 -0
  49. package/dist/{index-D2OA6SS9.js → index-BVoTdxnp.js} +3518 -3518
  50. package/dist/info-46DW6VJ7-Bej2n0c3-C-Lc5xdL.js +5 -0
  51. package/dist/{infoDiagram-7APDZ6AT-CLwNpg22-C0vqPVuM.js → infoDiagram-7APDZ6AT-CkczlyAg-BlJfGN5d.js} +2 -2
  52. package/dist/ini-CgO4T9Us-CgO4T9Us.js +7 -0
  53. package/dist/java-Bd9vXGhZ-Bd9vXGhZ.js +7 -0
  54. package/dist/javascript-CGvwHrzr-CGvwHrzr.js +7 -0
  55. package/dist/{journeyDiagram-G5LC7W2K-BOoH_p8r-DCGW5mIU.js → journeyDiagram-G5LC7W2K-CGKx4opc-DgSw5OEZ.js} +3 -3
  56. package/dist/json-B86kHl_g-B86kHl_g.js +7 -0
  57. package/dist/{json-ChK2l_mW-CF8DlcBe.js → json-c0WkG_Y9-DE96BGkz.js} +4 -4
  58. package/dist/json5-GB6TimgH-GB6TimgH.js +7 -0
  59. package/dist/jsonc-CP3QVoXc-CP3QVoXc.js +7 -0
  60. package/dist/jsonl-C2ofTLY8-C2ofTLY8.js +7 -0
  61. package/dist/jsx-ZpKf1TSy-ZpKf1TSy.js +7 -0
  62. package/dist/kotlin-CAtfTEpr-CAtfTEpr.js +7 -0
  63. package/dist/latex-14aRsJKm-mj9Fild6.js +62 -0
  64. package/dist/{layout-CjQzaBWv-COvZUbbb.js → layout-BT6DeXbr-BANlZ5gi.js} +4 -4
  65. package/dist/less-0UFuQRv0-0UFuQRv0.js +7 -0
  66. package/dist/{linear-DT_Q8rLU-DeClWtNR.js → linear-Dz3m-tA--DoWdTVVU.js} +1 -1
  67. package/dist/liquid-Uq0DwV7I-CRvdDbph.js +15 -0
  68. package/dist/lua-BEgWEgjO-DU5YUtUR.js +9 -0
  69. package/dist/make-BDMxblcP-BDMxblcP.js +7 -0
  70. package/dist/markdown-CzCkSBhS-CzCkSBhS.js +7 -0
  71. package/dist/material-theme-lighter-CnKSyNS5-CnKSyNS5.js +4 -0
  72. package/dist/material-theme-palenight-BaYUoLXq-BaYUoLXq.js +4 -0
  73. package/dist/mdc-BA3wmBe6-BAlBXF37.js +13 -0
  74. package/dist/mdx-KaGu4TbO-KaGu4TbO.js +7 -0
  75. package/dist/mermaid-DZVJOJE0-DZVJOJE0.js +7 -0
  76. package/dist/{mermaid-parser.core-BQiMVCUD-BKOHdVsR.js → mermaid-parser.core-CHAbAGk3-c1XgG0S5.js} +9 -9
  77. package/dist/{mindmap-definition-FCEC46F3-DVehALvP-BU5jW1Pg.js → mindmap-definition-FCEC46F3-Bc0Z0Iij-DjhnZX8i.js} +1 -1
  78. package/dist/nginx-zxRCFE-h-BypGKuox.js +9 -0
  79. package/dist/objective-c-D6w3apbj-D6w3apbj.js +7 -0
  80. package/dist/packet-W2GHVCYJ-ZKPevIRt-QgrlrfSF.js +5 -0
  81. package/dist/pascal-DenYIYz2-DenYIYz2.js +7 -0
  82. package/dist/perl-D3yLJL---Dh53Z1Ch.js +17 -0
  83. package/dist/php-CotrzT_K-Bao4rTV9.js +19 -0
  84. package/dist/pie-BEWT4RHE-DylShr8x-d1G_mdRP.js +5 -0
  85. package/dist/{pieDiagram-OZX6XH5M-NcRJ5yD0-DGLoTnOO.js → pieDiagram-OZX6XH5M-CXiGhbiR-DRla_XQL.js} +4 -4
  86. package/dist/plsql-DH6aemMc-DH6aemMc.js +7 -0
  87. package/dist/postcss-Cf6moWPa-Cf6moWPa.js +7 -0
  88. package/dist/powershell-HbR4eE6x-HbR4eE6x.js +7 -0
  89. package/dist/proto-FnD6HNAf-FnD6HNAf.js +7 -0
  90. package/dist/pug-BQlVJUDw-CHRWHsZp.js +21 -0
  91. package/dist/python-DmuMvCM0-DmuMvCM0.js +7 -0
  92. package/dist/{quadrantDiagram-VG34DGKC-BEBZpKwg-E0UALIdM.js → quadrantDiagram-VG34DGKC-CbM6hf5T-BkpDE-dh.js} +2 -2
  93. package/dist/r-Bc6kwNk5-Bc6kwNk5.js +7 -0
  94. package/dist/reg-D7nGELoM-D7nGELoM.js +7 -0
  95. package/dist/{requirementDiagram-FPZB6IJI-CV6ngUwt-ZNVFxha1.js → requirementDiagram-FPZB6IJI-B_JGEuRG-CfrFuiOp.js} +3 -3
  96. package/dist/rst-CaIq10fc-5Y1LeNh2.js +26 -0
  97. package/dist/ruby-DeHccIAO-BcoQ2TvH.js +23 -0
  98. package/dist/rust-DUjrmsiV-DUjrmsiV.js +7 -0
  99. package/dist/{sankeyDiagram-KMMQDL5K-C0IklDBz-DXNZHn1D.js → sankeyDiagram-KMMQDL5K-BdxnO3f5-GG9bgFTU.js} +1 -1
  100. package/dist/sass-CLufkToV-CLufkToV.js +7 -0
  101. package/dist/scss-CnxrcEK_-CATc0Lba.js +9 -0
  102. package/dist/{sequenceDiagram-PQT5PN7B-RdiTSnGD-dImpFpXC.js → sequenceDiagram-PQT5PN7B-HSmTG3uL-DCRTrdd_.js} +3 -3
  103. package/dist/shellscript-CLi_Jlup-CLi_Jlup.js +7 -0
  104. package/dist/shellsession-BgOGDEE0-D_whUPK9.js +9 -0
  105. package/dist/splunk-ZWH3T4YR-ZWH3T4YR.js +7 -0
  106. package/dist/sql-CqEjJWk_-CqEjJWk_.js +7 -0
  107. package/dist/ssh-config-cxjN15Iq-cxjN15Iq.js +7 -0
  108. package/dist/{stateDiagram-TQSDS2D4-BSONsero-BGr__pIw.js → stateDiagram-TQSDS2D4-BK8lu_Tc-UxdkYbwz.js} +5 -5
  109. package/dist/{stateDiagram-v2-J5TZWJW5-CUBEYx5P-MOayZIW2.js → stateDiagram-v2-J5TZWJW5-Bz5m2MnO-YNqSfPWL.js} +3 -3
  110. package/dist/stylus-BqSAqkqK-BqSAqkqK.js +7 -0
  111. package/dist/svelte-Yn79bR_P-TdNy3USA.js +29 -0
  112. package/dist/swift-Cii5mold-Cii5mold.js +7 -0
  113. package/dist/{timeline-definition-KYQAIZUX-DQZuhTw8-Dnb6t1_t.js → timeline-definition-KYQAIZUX-XLrO7vFH-BE_yP5t-.js} +2 -2
  114. package/dist/toml-BrnHWKvZ-BrnHWKvZ.js +7 -0
  115. package/dist/tsx-RDJgLpEg-RDJgLpEg.js +7 -0
  116. package/dist/twig-CyzrzZ6V-CLfeQShi.js +19 -0
  117. package/dist/typescript-BRQxorCF-BRQxorCF.js +7 -0
  118. package/dist/v-CBsEUX4x-CBsEUX4x.js +7 -0
  119. package/dist/vb-BCQhaxZY-BCQhaxZY.js +7 -0
  120. package/dist/viml-DUDcfQ_j-DUDcfQ_j.js +7 -0
  121. package/dist/vue-DNFIPpe6-BpXPyld-.js +68 -0
  122. package/dist/vue-html-DkB4x9kz-BBbMk49e.js +11 -0
  123. package/dist/wasm-KuMlursr-KuMlursr.js +7 -0
  124. package/dist/wgsl-CXztftdQ-CXztftdQ.js +7 -0
  125. package/dist/xml-D46nbCSr-BYMRGyuH.js +9 -0
  126. package/dist/xsl--U1R63rG-D8P_gDHK.js +9 -0
  127. package/dist/{xychartDiagram-LESROZAQ-Aueu0ah5-Kf1LjwqY.js → xychartDiagram-LESROZAQ-CFA62kNt-Cw_jtdeV.js} +2 -2
  128. package/dist/yaml-BEQ1JqWb-BEQ1JqWb.js +7 -0
  129. package/package.json +6 -6
  130. package/dist/architecture-I3QFYML2-BAM2h37L-DDfRikFe.js +0 -5
  131. package/dist/astro-D_dsHkRz-CIu0TEak.js +0 -27
  132. package/dist/c-C9fY0Fge-C9fY0Fge.js +0 -7
  133. package/dist/coffee-BpL5dmzR-BhgOYQS1.js +0 -9
  134. package/dist/cpp-B_ULsIyI-C_UYrD6f.js +0 -193
  135. package/dist/csharp--zf0MtDg--zf0MtDg.js +0 -7
  136. package/dist/css-pVblTdYL-pVblTdYL.js +0 -7
  137. package/dist/csv-D4BoHddH-D4BoHddH.js +0 -7
  138. package/dist/diff-MXcoXEIJ-MXcoXEIJ.js +0 -7
  139. package/dist/docker-B10O2enb-B10O2enb.js +0 -7
  140. package/dist/git-commit-Be8WquDH-CZYxUfnG.js +0 -9
  141. package/dist/git-rebase-CVYaGD_a-CeqfdoDX.js +0 -9
  142. package/dist/gitGraph-YCYPL57B-ON9gXqNe-M5hiPCVB.js +0 -5
  143. package/dist/go-D_ziJsY9-D_ziJsY9.js +0 -7
  144. package/dist/graphql-D6yuBR9q--iCoxDM1.js +0 -18
  145. package/dist/haml-Dw-qY2Lp-CUnH-KRl.js +0 -19
  146. package/dist/handlebars-C6aUQR_3-B3cgQNZD.js +0 -15
  147. package/dist/haskell-B_jwIsd_-B_jwIsd_.js +0 -12
  148. package/dist/html-CQnAgmm8-BAGVrVbX.js +0 -11
  149. package/dist/html-derivative-DLUduELB-cl3ZX13g.js +0 -9
  150. package/dist/http-BwHXQNrI-BcEttk54.js +0 -15
  151. package/dist/info-46DW6VJ7-CBnu53Ut-B4VUuwED.js +0 -5
  152. package/dist/ini-BsUFIxsI-BsUFIxsI.js +0 -7
  153. package/dist/java-NDwZ3lmy-NDwZ3lmy.js +0 -7
  154. package/dist/javascript-S4X9lPQ2-S4X9lPQ2.js +0 -7
  155. package/dist/json-BqEO2fcw-BqEO2fcw.js +0 -7
  156. package/dist/json5-B2g59Yxe-B2g59Yxe.js +0 -7
  157. package/dist/jsonc-CViUooyB-CViUooyB.js +0 -7
  158. package/dist/jsonl-D9QAvYu1-D9QAvYu1.js +0 -7
  159. package/dist/jsx-BSOdlo-z-BSOdlo-z.js +0 -7
  160. package/dist/kotlin-DkoSFfh7-DkoSFfh7.js +0 -7
  161. package/dist/latex-DM7T8eEg-WeIDVHW4.js +0 -76
  162. package/dist/less-CEm00fln-CEm00fln.js +0 -7
  163. package/dist/liquid-BBV8yFlz-CBzfhyj5.js +0 -28
  164. package/dist/lua-BprzqEnl-B-iqs6LK.js +0 -9
  165. package/dist/make-DluCIvvI-DluCIvvI.js +0 -7
  166. package/dist/markdown-Dcn_SydH-Dcn_SydH.js +0 -7
  167. package/dist/material-theme-lighter-CtwOYHJ5-CtwOYHJ5.js +0 -769
  168. package/dist/material-theme-palenight-LzvMi3a5-LzvMi3a5.js +0 -769
  169. package/dist/mdc-CGFjzho1-D-uNyHbu.js +0 -13
  170. package/dist/mdx-Br112W6P-Br112W6P.js +0 -7
  171. package/dist/mermaid-tJ3odWn1-tJ3odWn1.js +0 -7
  172. package/dist/nginx-CDt8dUbj-CwnYwJom.js +0 -9
  173. package/dist/objective-c-ZXLxIXFu-ZXLxIXFu.js +0 -7
  174. package/dist/packet-W2GHVCYJ-bTc8I4ko-Cvd0NjUM.js +0 -5
  175. package/dist/pascal-8g0cXXUV-8g0cXXUV.js +0 -7
  176. package/dist/perl-DYQ2PUOI-Ce95clZS.js +0 -17
  177. package/dist/php-HXa3A-PK-DYmFSyAv.js +0 -23
  178. package/dist/pie-BEWT4RHE-BQIhHO3S-p3QRx2Hf.js +0 -5
  179. package/dist/plsql-8SPzZKaa-8SPzZKaa.js +0 -7
  180. package/dist/postcss-CzMyUasl-CzMyUasl.js +0 -7
  181. package/dist/powershell-Ct3wtyyf-Ct3wtyyf.js +0 -7
  182. package/dist/proto-DOQNC0Re-DOQNC0Re.js +0 -7
  183. package/dist/pug-I4Ltn3Nw-D6M2fX7G.js +0 -21
  184. package/dist/python-S2LqejOW-S2LqejOW.js +0 -22
  185. package/dist/r-BaIwHWbj-BaIwHWbj.js +0 -7
  186. package/dist/reg-C2xsc1D3-C2xsc1D3.js +0 -7
  187. package/dist/rst-CqzqRSy_-xBaB1SMh.js +0 -26
  188. package/dist/ruby-CaLXGQMM-dbPBCkla.js +0 -49
  189. package/dist/rust-BuM_ypDG-BuM_ypDG.js +0 -7
  190. package/dist/sass-BHTHe1hw-BHTHe1hw.js +0 -8
  191. package/dist/scss-1lKx83lY-Dhq9feuo.js +0 -9
  192. package/dist/shellscript-D61Z39XV-D61Z39XV.js +0 -7
  193. package/dist/shellsession-BxewqD4o-JfAy6Scn.js +0 -9
  194. package/dist/splunk-DOc6RZxF-DOc6RZxF.js +0 -7
  195. package/dist/sql-BW1nANeH-BW1nANeH.js +0 -7
  196. package/dist/ssh-config-WxoJGDFj-WxoJGDFj.js +0 -7
  197. package/dist/stylus-DHtg4l9I-DHtg4l9I.js +0 -7
  198. package/dist/svelte-CxOAZSqx-D6_Dup1x.js +0 -29
  199. package/dist/swift-DXnxgc7L-DXnxgc7L.js +0 -14
  200. package/dist/toml-B3m4q8Sh-B3m4q8Sh.js +0 -7
  201. package/dist/tsx-DjpGf_zp-DjpGf_zp.js +0 -7
  202. package/dist/twig-BKVhsWVA-CAfti4AG.js +0 -29
  203. package/dist/typescript-CjtgCz_A-CjtgCz_A.js +0 -7
  204. package/dist/v-Ce9LUgL8-Ce9LUgL8.js +0 -7
  205. package/dist/vb-D9cF8Lsp-D9cF8Lsp.js +0 -7
  206. package/dist/viml-DF-rMx2H-DF-rMx2H.js +0 -7
  207. package/dist/vue-bdaBQoF--D_HkxBBu.js +0 -68
  208. package/dist/vue-html-DMY4c0OB-BuB6GPk-.js +0 -11
  209. package/dist/wasm-83spBAnA-83spBAnA.js +0 -7
  210. package/dist/wgsl-DiRwt5Uz-DiRwt5Uz.js +0 -7
  211. package/dist/xml-Dcc0Vp-Q-BB4kJUTf.js +0 -9
  212. package/dist/xsl-DW810WyZ-BNfp-grZ.js +0 -9
  213. package/dist/yaml-B-GyjzSe-B-GyjzSe.js +0 -7
@@ -1,76 +0,0 @@
1
- import e from "./r-BaIwHWbj-BaIwHWbj.js";
2
- import a from "./shellscript-D61Z39XV-D61Z39XV.js";
3
- import i from "./css-pVblTdYL-pVblTdYL.js";
4
- import o from "./haskell-B_jwIsd_-B_jwIsd_.js";
5
- import r from "./html-CQnAgmm8-BAGVrVbX.js";
6
- import l from "./java-NDwZ3lmy-NDwZ3lmy.js";
7
- import { u as p } from "./cpp-B_ULsIyI-C_UYrD6f.js";
8
- import n from "./python-S2LqejOW-S2LqejOW.js";
9
- import t from "./javascript-S4X9lPQ2-S4X9lPQ2.js";
10
- import c from "./sql-BW1nANeH-BW1nANeH.js";
11
- import s from "./lua-BprzqEnl-B-iqs6LK.js";
12
- import u from "./ruby-CaLXGQMM-dbPBCkla.js";
13
- import m from "./rust-BuM_ypDG-BuM_ypDG.js";
14
- import d from "./typescript-CjtgCz_A-CjtgCz_A.js";
15
- import g from "./xml-Dcc0Vp-Q-BB4kJUTf.js";
16
- import b from "./yaml-B-GyjzSe-B-GyjzSe.js";
17
- const h = Object.freeze({ displayName: "TeX", name: "tex", patterns: [{ begin: "(?<=^\\s*)((\\\\)iffalse)", beginCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, contentName: "comment.line.percentage.tex", end: "(?<=^\\s*)((\\\\)(?:else|fi))", endCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z@])", name: "keyword.control.tex" }, { captures: { 1: { name: "keyword.control.catcode.tex" }, 2: { name: "punctuation.definition.keyword.tex" }, 3: { name: "punctuation.separator.key-value.tex" }, 4: { name: "constant.numeric.category.tex" } }, match: "((\\\\)catcode)`(?:\\\\)?.(=)(\\d+)", name: "meta.catcode.tex" }, { include: "#comment" }, { match: "[\\[\\]]", name: "punctuation.definition.brackets.tex" }, { begin: "(\\$\\$|\\$)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.tex" } }, end: "(\\1)", endCaptures: { 1: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.tex" }, { include: "#math" }, { include: "$self" }] }, { match: "\\\\\\\\", name: "keyword.control.newline.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)_*[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*", name: "support.class.general.latex3.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\.)[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*", name: "support.class.general.latex3.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+))", name: "support.function.general.tex" }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)[^a-zA-Z@]", name: "constant.character.escape.tex" }], repository: { braces: { begin: "(?<!\\\\)\\{", beginCaptures: { 0: { name: "punctuation.group.begin.tex" } }, end: "(?<!\\\\)\\}", endCaptures: { 0: { name: "punctuation.group.end.tex" } }, name: "meta.group.braces.tex", patterns: [{ include: "#braces" }] }, comment: { begin: "(^[ \\t]+)?(?=%)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.tex" } }, end: "(?!\\G)", patterns: [{ begin: "%:?", beginCaptures: { 0: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.tex" }, { begin: "^(%!TEX) (\\S*) =", beginCaptures: { 1: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.directive.tex" }] }, conditionals: { begin: "(?<=^\\s*)\\\\if[a-z]*", end: "(?<=^\\s*)\\\\fi", patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, math: { patterns: [{ begin: "((\\\\)(?:text|mbox))(\\{)", beginCaptures: { 1: { name: "constant.other.math.tex" }, 2: { name: "punctuation.definition.function.tex" }, 3: { name: "punctuation.definition.arguments.begin.tex meta.text.normal.tex" } }, contentName: "meta.text.normal.tex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.tex meta.text.normal.tex" } }, patterns: [{ include: "#math" }, { include: "$self" }] }, { match: "\\\\{|\\\\}", name: "punctuation.math.bracket.pair.tex" }, { match: "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([(\\[<>\\])\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle)", name: "punctuation.math.bracket.pair.big.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\b", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\\b", name: "constant.other.math.tex" }, { begin: "((\\\\)Sexpr(\\{))", beginCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.definition.function.math.tex" }, 3: { name: "punctuation.section.embedded.begin.math.tex" } }, contentName: "support.function.sexpr.math.tex", end: "(((\\})))", endCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.section.embedded.end.math.tex" }, 3: { name: "source.r" } }, name: "meta.embedded.line.r", patterns: [{ begin: "\\G(?!\\})", end: "(?=\\})", name: "source.r", patterns: [{ include: "source.r" }] }] }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(?!begin\\{|verb)([A-Za-z]+)", name: "constant.other.general.math.tex" }, { match: "(?<!\\\\)\\{", name: "punctuation.math.begin.bracket.curly.tex" }, { match: "(?<!\\\\)\\}", name: "punctuation.math.end.bracket.curly.tex" }, { match: "(?<!\\\\)\\(", name: "punctuation.math.begin.bracket.round.tex" }, { match: "(?<!\\\\)\\)", name: "punctuation.math.end.bracket.round.tex" }, { match: "((\\d*[\\.]\\d+)|\\d+)", name: "constant.numeric.math.tex" }, { match: "[+\\*/_\\^-]", name: "punctuation.math.operator.tex" }] } }, scopeName: "text.tex", embeddedLangs: ["r"] });
18
- var x = [
19
- ...e,
20
- h
21
- ];
22
- const f = Object.freeze({ displayName: "Gnuplot", fileTypes: ["gp", "plt", "plot", "gnuplot"], name: "gnuplot", patterns: [{ match: "(\\\\(?!\\n).*)", name: "invalid.illegal.backslash.gnuplot" }, { match: "(;)", name: "punctuation.separator.statement.gnuplot" }, { include: "#LineComment" }, { include: "#DataBlock" }, { include: "#MacroExpansion" }, { include: "#VariableDecl" }, { include: "#ArrayDecl" }, { include: "#FunctionDecl" }, { include: "#ShellCommand" }, { include: "#Command" }], repository: { ArrayDecl: { begin: "\\b(?:(array)\\s+([A-Za-z_]\\w*)?)", beginCaptures: { 1: { name: "support.type.array.gnuplot" }, 2: { name: "entity.name.variable.gnuplot", patterns: [{ include: "#InvalidVariableDecl" }, { include: "#BuiltinVariable" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.variable.gnuplot", patterns: [{ include: "#Expression" }] }, BuiltinFunction: { patterns: [{ match: "\\b(?:defined)\\b", name: "invalid.deprecated.function.gnuplot" }, { match: "\\b(?:abs|acos|acosh|airy|arg|asin|asinh|atan|atan2|atanh|EllipticK|EllipticE|EllipticPi|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exp|expint|floor|gamma|ibeta|inverf|igamma|imag|invnorm|int|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh|voigt|cerf|cdawson|faddeeva|erfi|VP)\\b", name: "support.function.math.gnuplot" }, { match: "\\b(?:gprintf|sprintf|strlen|strstrt|substr|strftime|strptime|system|word|words)\\b", name: "support.function.string.gnuplot" }, { match: "\\b(?:column|columnhead|exists|hsv2rgb|stringcolumn|timecolumn|tm_hour|tm_mday|tm_min|tm_mon|tm_sec|tm_wday|tm_yday|tm_year|time|valid|value)\\b", name: "support.function.other.gnuplot" }] }, BuiltinOperator: { patterns: [{ match: "(&&|\\|\\|)", name: "keyword.operator.logical.gnuplot" }, { match: "(<<|>>|&|\\||\\^)", name: "keyword.operator.bitwise.gnuplot" }, { match: "(==|!=|<=|<|>=|>)", name: "keyword.operator.comparison.gnuplot" }, { match: "(=)", name: "keyword.operator.assignment.gnuplot" }, { match: "(\\+|-|~|!)", name: "keyword.operator.arithmetic.gnuplot" }, { match: "(\\*\\*|\\+|-|\\*|/|%)", name: "keyword.operator.arithmetic.gnuplot" }, { captures: { 2: { name: "keyword.operator.word.gnuplot" } }, match: "(\\.|\\b(eq|ne)\\b)", name: "keyword.operator.strings.gnuplot" }] }, BuiltinVariable: { patterns: [{ match: "\\b(?:FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_SKIP|FIT_INDEX)\\b", name: "invalid.deprecated.variable.gnuplot" }, { match: "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b", name: "support.constant.gnuplot" }, { match: "\\b(ARG[0-9C]|GPFUN_\\w*|FIT_\\w*|STATS_\\w*|pi|NaN)\\b", name: "support.variable.gnuplot" }] }, ColumnIndexLiteral: { match: "([$]\\d+)\\b", name: "support.constant.columnindex.gnuplot" }, Command: { patterns: [{ begin: "\\b(?:update)\\b", end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "invalid.deprecated.command.gnuplot" }, { begin: "\\b(?:break|clear|continue|pwd|refresh|replot|reread|shell)\\b", beginCaptures: { 0: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#InvalidWord" }] }, { begin: "\\b(?:cd|call|eval|exit|help|history|load|lower|pause|print|printerr|quit|raise|save|stats|system|test|toggle)\\b", beginCaptures: { 0: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, { begin: "\\b(import)\\s(.+)\\s(from)", beginCaptures: { 1: { name: "keyword.control.import.gnuplot" }, 2: { patterns: [{ include: "#FunctionDecl" }] }, 3: { name: "keyword.control.import.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#SingleQuotedStringLiteral" }, { include: "#DoubleQuotedStringLiteral" }, { include: "#InvalidWord" }] }, { begin: "\\b(reset)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "\\b(bind|error(state)?|session)\\b", name: "support.class.reset.gnuplot" }, { include: "#InvalidWord" }] }, { begin: "\\b(undefine)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#BuiltinVariable" }, { include: "#BuiltinFunction" }, { match: "(?<=\\s)([$]?[A-Za-z_]\\w*\\*?)(?=\\s)", name: "source.gnuplot" }, { include: "#InvalidWord" }] }, { begin: "\\b(if|while)\\b", beginCaptures: { 1: { name: "keyword.control.conditional.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, { begin: "\\b(else)\\b", beginCaptures: { 1: { name: "keyword.control.conditional.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))" }, { begin: "\\b(do)\\b", beginCaptures: { 1: { name: "keyword.control.flow.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ForIterationExpr" }] }, { begin: "\\b(set)(?=\\s+pm3d)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "\\b(hidden3d|map|transparent|solid)\\b", name: "invalid.deprecated.options.gnuplot" }, { include: "#SetUnsetOptions" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }, { begin: "\\b((un)?set)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#SetUnsetOptions" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }, { begin: "\\b(show)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ExtraShowOptions" }, { include: "#SetUnsetOptions" }, { include: "#Expression" }] }, { begin: "\\b(fit|(s)?plot)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ColumnIndexLiteral" }, { include: "#PlotModifiers" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }] }, DataBlock: { begin: "(?:([$][A-Za-z_]\\w*)\\s*(<<)\\s*([A-Za-z_]\\w*)\\s*(?=(\\#|$)))", beginCaptures: { 1: { patterns: [{ include: "#SpecialVariable" }] }, 3: { name: "constant.language.datablock.gnuplot" } }, end: "^(\\3)\\b(.*)", endCaptures: { 1: { name: "constant.language.datablock.gnuplot" }, 2: { name: "invalid.illegal.datablock.gnuplot" } }, name: "meta.datablock.gnuplot", patterns: [{ include: "#LineComment" }, { include: "#NumberLiteral" }, { include: "#DoubleQuotedStringLiteral" }] }, DeprecatedScriptArgsLiteral: { match: "([$][0-9#])", name: "invalid.illegal.scriptargs.gnuplot" }, DoubleQuotedStringLiteral: { begin: '(")', beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: '((")|(?=(?<!\\\\)\\n$))', endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.quoted.double.gnuplot", patterns: [{ include: "#EscapedChar" }, { include: "#RGBColorSpec" }, { include: "#DeprecatedScriptArgsLiteral" }, { include: "#InterpolatedStringLiteral" }] }, EscapedChar: { match: "(\\\\.)", name: "constant.character.escape.gnuplot" }, Expression: { patterns: [{ include: "#Literal" }, { include: "#SpecialVariable" }, { include: "#BuiltinVariable" }, { include: "#BuiltinOperator" }, { include: "#TernaryExpr" }, { include: "#FunctionCallExpr" }, { include: "#SummationExpr" }] }, ExtraShowOptions: { match: "\\b(?:all|bind|colornames|functions|plot|variables|version)\\b", name: "support.class.options.gnuplot" }, ForIterationExpr: { begin: "\\b(?:(for)\\s*(\\[)\\s*(?:([A-Za-z_]\\w*)\\s+(in)\\b)?)", beginCaptures: { 1: { name: "keyword.control.flow.gnuplot" }, 2: { patterns: [{ include: "#RangeSeparators" }] }, 3: { name: "variable.other.iterator.gnuplot" }, 4: { name: "keyword.control.flow.gnuplot" } }, end: "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { patterns: [{ include: "#RangeSeparators" }] } }, patterns: [{ include: "#Expression" }, { include: "#RangeSeparators" }] }, FunctionCallExpr: { begin: "\\b([A-Za-z_]\\w*)\\s*(\\()", beginCaptures: { 1: { name: "variable.function.gnuplot", patterns: [{ include: "#BuiltinFunction" }] }, 2: { name: "punctuation.definition.arguments.begin.gnuplot" } }, end: "((\\))|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { name: "punctuation.definition.arguments.end.gnuplot" } }, name: "meta.function-call.gnuplot", patterns: [{ include: "#Expression" }] }, FunctionDecl: { begin: "\\b(?:([A-Za-z_]\\w*)\\s*((\\()\\s*([A-Za-z_]\\w*)\\s*(?:(,)\\s*([A-Za-z_]\\w*)\\s*)*(\\))))", beginCaptures: { 1: { name: "entity.name.function.gnuplot", patterns: [{ include: "#BuiltinFunction" }] }, 2: { name: "meta.function.parameters.gnuplot" }, 3: { name: "punctuation.definition.parameters.begin.gnuplot" }, 4: { name: "variable.parameter.function.language.gnuplot" }, 5: { name: "punctuation.separator.parameters.gnuplot" }, 6: { name: "variable.parameter.function.language.gnuplot" }, 7: { name: "punctuation.definition.parameters.end.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.function.gnuplot", patterns: [{ include: "#Expression" }] }, InterpolatedStringLiteral: { begin: "(`)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: "((`)|(?=(?<!\\\\)\\n$))", endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.interpolated.gnuplot", patterns: [{ include: "#EscapedChar" }] }, InvalidVariableDecl: { match: "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b", name: "invalid.illegal.variable.gnuplot" }, InvalidWord: { match: "([^;#\\\\\\s]+)", name: "invalid.illegal.gnuplot" }, LineComment: { begin: "(#)", beginCaptures: { 1: { name: "punctuation.definition.comment.begin.gnuplot" } }, end: "(?=(?<!\\\\)\\n$)", endCaptures: { 0: { name: "punctuation.definition.comment.end.gnuplot" } }, name: "comment.line.number-sign.gnuplot" }, Literal: { patterns: [{ include: "#NumberLiteral" }, { include: "#DeprecatedScriptArgsLiteral" }, { include: "#SingleQuotedStringLiteral" }, { include: "#DoubleQuotedStringLiteral" }, { include: "#InterpolatedStringLiteral" }] }, MacroExpansion: { begin: "([@][A-Za-z_]\\w*)", beginCaptures: { 1: { patterns: [{ include: "#SpecialVariable" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, NumberLiteral: { patterns: [{ match: "(?:(((\\b\\d+)|(?<!\\d)))([.]\\d+)([Ee][+-]?\\d+)?)(cm|in)?\\b", name: "constant.numeric.float.gnuplot" }, { match: "(?:(\\b\\d+)((([Ee][+-]?\\d+\\b))|([.]([Ee][+-]?\\d+\\b)?)))(cm\\b|in\\b)?", name: "constant.numeric.float.gnuplot" }, { match: "\\b(0[Xx][0-9a-fA-F]+)(cm|in)?\\b", name: "constant.numeric.hex.gnuplot" }, { match: "\\b(0+)(cm|in)?\\b", name: "constant.numeric.dec.gnuplot" }, { match: "\\b(0[0-7]+)(cm|in)?\\b", name: "constant.numeric.oct.gnuplot" }, { match: "\\b(0\\d+)(cm|in)?\\b", name: "invalid.illegal.oct.gnuplot" }, { match: "\\b(\\d+)(cm|in)?\\b", name: "constant.numeric.dec.gnuplot" }] }, PlotModifiers: { patterns: [{ match: "\\b(thru)\\b", name: "invalid.deprecated.plot.gnuplot" }, { match: "\\b(?:in(dex)?|every|us(ing)?|wi(th)?|via)\\b", name: "storage.type.plot.gnuplot" }, { match: "\\b(newhist(ogram)?)\\b", name: "storage.type.plot.gnuplot" }] }, RGBColorSpec: { match: "\\G(0x|#)(([0-9a-fA-F]{6})|([0-9a-fA-F]{8}))\\b", name: "constant.other.placeholder.gnuplot" }, RangeSeparators: { patterns: [{ match: "(\\[)", name: "punctuation.section.brackets.begin.gnuplot" }, { match: "(:)", name: "punctuation.separator.range.gnuplot" }, { match: "(\\])", name: "punctuation.section.brackets.end.gnuplot" }] }, SetUnsetOptions: { patterns: [{ match: "\\G\\s*\\b(?:clabel|data|function|historysize|macros|ticslevel|ticscale|(style\\s+increment\\s+\\w+))\\b", name: "invalid.deprecated.options.gnuplot" }, { match: "\\G\\s*\\b(?:angles|arrow|autoscale|border|boxwidth|clip|cntr(label|param)|color(box|sequence)?|contour|(dash|line)type|datafile|decimal(sign)?|dgrid3d|dummy|encoding|(error)?bars|fit|fontpath|format|grid|hidden3d|history|(iso)?samples|jitter|key|label|link|loadpath|locale|logscale|mapping|[lrtb]margin|margins|micro|minus(sign)?|mono(chrome)?|mouse|multiplot|nonlinear|object|offsets|origin|output|parametric|(p|r)axis|pm3d|palette|pointintervalbox|pointsize|polar|print|psdir|size|style|surface|table|terminal|termoption|theta|tics|timestamp|timefmt|title|view|xyplane|zero|(no)?(m)?(x|x2|y|y2|z|cb|r|t)tics|(x|x2|y|y2|z|cb)data|(x|x2|y|y2|z|cb|r)label|(x|x2|y|y2|z|cb)dtics|(x|x2|y|y2|z|cb)mtics|(x|x2|y|y2|z|cb|[rtuv])range|(x|x2|y|y2|z)?zeroaxis)\\b", name: "support.class.options.gnuplot" }] }, ShellCommand: { begin: "(!)", beginCaptures: { 1: { name: "keyword.other.shell.gnuplot" } }, end: "(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "([^#]|\\\\(?=\\n))", name: "string.unquoted" }] }, SingleQuotedStringLiteral: { begin: "(')", beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: "((')(?!')|(?=(?<!\\\\)\\n$))", endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.quoted.single.gnuplot", patterns: [{ include: "#RGBColorSpec" }, { match: "('')", name: "constant.character.escape.gnuplot" }] }, SpecialVariable: { patterns: [{ captures: { 1: { name: "constant.language.wildcard.gnuplot" } }, match: "(?<=[\\[:=])\\s*(\\*)\\s*(?=[:\\]])" }, { captures: { 2: { name: "punctuation.definition.variable.gnuplot" } }, match: "(([@$])[A-Za-z_]\\w*)\\b", name: "constant.language.special.gnuplot" }] }, SummationExpr: { begin: "\\b(sum)\\s*(\\[)", beginCaptures: { 1: { name: "keyword.other.sum.gnuplot" }, 2: { patterns: [{ include: "#RangeSeparators" }] } }, end: "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { patterns: [{ include: "#RangeSeparators" }] } }, patterns: [{ include: "#Expression" }, { include: "#RangeSeparators" }] }, TernaryExpr: { begin: "(?<!\\?)(\\?)(?!\\?)", beginCaptures: { 1: { name: "keyword.operator.ternary.gnuplot" } }, end: "((?<!:)(:)(?!:)|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { name: "keyword.operator.ternary.gnuplot" } }, patterns: [{ include: "#Expression" }] }, VariableDecl: { begin: "\\b(?:([A-Za-z_]\\w*)\\s*(?:(\\[)\\s*(.*)\\s*(\\])\\s*)?(?=(=)(?!\\s*=)))", beginCaptures: { 1: { name: "entity.name.variable.gnuplot", patterns: [{ include: "#InvalidVariableDecl" }, { include: "#BuiltinVariable" }] }, 3: { patterns: [{ include: "#Expression" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.variable.gnuplot", patterns: [{ include: "#Expression" }] } }, scopeName: "source.gnuplot" });
23
- var y = [
24
- f
25
- ];
26
- const L = Object.freeze({ displayName: "Julia", name: "julia", patterns: [{ include: "#operator" }, { include: "#array" }, { include: "#string" }, { include: "#parentheses" }, { include: "#bracket" }, { include: "#function_decl" }, { include: "#function_call" }, { include: "#for_block" }, { include: "#keyword" }, { include: "#number" }, { include: "#comment" }, { include: "#type_decl" }, { include: "#symbol" }, { include: "#punctuation" }], repository: { array: { patterns: [{ begin: "\\[", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\])((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, name: "meta.array.julia", patterns: [{ match: "\\bbegin\\b", name: "constant.numeric.julia" }, { match: "\\bend\\b", name: "constant.numeric.julia" }, { include: "#self_no_for_block" }] }] }, bracket: { patterns: [{ begin: "\\{", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\})((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, comment: { patterns: [{ include: "#comment_block" }, { begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.julia" } }, end: "\\n", name: "comment.line.number-sign.julia", patterns: [{ include: "#comment_tags" }] }] }, comment_block: { patterns: [{ begin: "#=", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.julia" } }, end: "=#", endCaptures: { 0: { name: "punctuation.definition.comment.end.julia" } }, name: "comment.block.number-sign-equals.julia", patterns: [{ include: "#comment_tags" }, { include: "#comment_block" }] }] }, comment_tags: { patterns: [{ match: "\\bTODO\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bFIXME\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bCHANGED\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bXXX\\b", name: "keyword.other.comment-annotation.julia" }] }, for_block: { comment: "for blocks need to be special-cased to support tokenizing 'outer' properly", patterns: [{ begin: "\\b(for)\\b", beginCaptures: { 0: { name: "keyword.control.julia" } }, end: "(?<!,|\\s)(\\s*\\n)", patterns: [{ match: "\\bouter\\b", name: "keyword.other.julia" }, { include: "$self" }] }] }, function_call: { patterns: [{ begin: "((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()", beginCaptures: { 1: { name: "support.function.julia" }, 2: { name: "support.type.julia" }, 3: { name: "meta.bracket.julia" } }, end: "\\)(('|(\\.'))*\\.?')?", endCaptures: { 0: { name: "meta.bracket.julia" }, 1: { name: "keyword.operator.transposed-func.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, function_decl: { patterns: [{ captures: { 1: { name: "entity.name.function.julia" }, 2: { name: "support.type.julia" } }, comment: `first group is function name
27
- Second group is type parameters (e.g. {T<:Number, S})
28
- Then open parens
29
- Then a lookahead ensures that we are followed by:
30
- - anything (function arguments)
31
- - 0 or more spaces
32
- - Finally an equal sign
33
- Negative lookahead ensures we don't have another equal sign (not \`==\`)`, match: "((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=>]))" }, { captures: { 1: { name: "keyword.other.julia" }, 2: { name: "keyword.operator.dots.julia" }, 3: { name: "entity.name.function.julia" }, 4: { name: "support.type.julia" } }, comment: "similar regex to previous, but with keyword not 1-line syntax", match: "\\b(function|macro)(?:\\s+(?:(?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()" }] }, keyword: { patterns: [{ match: "\\b(?<![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|module|baremodule|where)\\b", name: "keyword.other.julia" }, { match: "\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b", name: "keyword.control.julia" }, { match: "\\b(?<![:_])end\\b", name: "keyword.control.end.julia" }, { match: "\\b(?<![:_])(?:global|local|const)\\b", name: "keyword.storage.modifier.julia" }, { match: "\\b(?<![:_])(?:export)\\b", name: "keyword.control.export.julia" }, { match: "^(?:public)\\b", name: "keyword.control.public.julia" }, { match: "\\b(?<![:_])(?:import)\\b", name: "keyword.control.import.julia" }, { match: "\\b(?<![:_])(?:using)\\b", name: "keyword.control.using.julia" }, { match: "(?<=\\S\\s+)\\b(as)\\b(?=\\s+\\S)", name: "keyword.control.as.julia" }, { match: "(@(\\.|(?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*))", name: "support.function.macro.julia" }] }, number: { patterns: [{ captures: { 1: { name: "constant.numeric.julia" }, 2: { name: "keyword.operator.conjugate-number.julia" } }, match: "((?<!(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b\\d(?:_?\\d)*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.\\d(?:_?\\d)*))(?:[efE][+-]?\\d(?:_?\\d)*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b\\d+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)" }, { match: "\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b", name: "constant.global.julia" }, { match: "\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b", name: "constant.language.julia" }] }, operator: { patterns: [{ match: "\\.?(?:<-->|->|-->|<--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=>)", name: "keyword.operator.arrow.julia" }, { match: "(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|&=|\\.&=|⊻=|\\.⊻=|\\$=|<<=|>>=|>>>=|=(?!=))", name: "keyword.operator.update.julia" }, { match: "(?:<<|>>>|>>|\\.>>>|\\.>>|\\.<<)", name: "keyword.operator.shift.julia" }, { captures: { 1: { name: "keyword.operator.relation.types.julia" }, 2: { name: "support.type.julia" }, 3: { name: "keyword.operator.transpose.julia" } }, match: `(?:\\s*(::|>:|<:)\\s*((?:(?:Union)?\\([^)]*\\)|[A-Za-z_$∇][\\w⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:".+?(?<!\\\\)"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)` }, { match: "(\\.?((?<!<)<=|(?<!>)>=|>|<|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|<:|>:))", name: "keyword.operator.relation.julia" }, { match: "(?<=\\s)(?:\\?)(?=\\s)", name: "keyword.operator.ternary.julia" }, { match: "(?<=\\s)(?::)(?=\\s)", name: "keyword.operator.ternary.julia" }, { match: "(?:\\|\\||&&|(?<!(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)", name: "keyword.operator.boolean.julia" }, { match: "(?<=[\\w⁺-ₜ!′∇)\\]}])(?::)", name: "keyword.operator.range.julia" }, { match: "(?:\\|>)", name: "keyword.operator.applies.julia" }, { match: "(?:\\||\\.\\||\\&|\\.\\&|~|¬|\\.~|⊻|\\.⊻)", name: "keyword.operator.bitwise.julia" }, { match: "\\.?(?:\\+\\+|--|\\+|-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|&|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)", name: "keyword.operator.arithmetic.julia" }, { match: "(?:∘)", name: "keyword.operator.compose.julia" }, { match: "(?:::|(?<=\\s)isa(?=\\s))", name: "keyword.operator.isa.julia" }, { match: "(?:(?<=\\s)in(?=\\s))", name: "keyword.operator.relation.in.julia" }, { match: "(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)", name: "keyword.operator.dots.julia" }, { match: "(?:\\$)(?=.+)", name: "keyword.operator.interpolation.julia" }, { captures: { 2: { name: "keyword.operator.transposed-variable.julia" } }, match: "((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')" }, { captures: { 1: { name: "bracket.end.julia" }, 2: { name: "keyword.operator.transposed-matrix.julia" } }, match: "(\\])((?:'|(?:\\.'))*\\.?')" }, { captures: { 1: { name: "bracket.end.julia" }, 2: { name: "keyword.operator.transposed-parens.julia" } }, match: "(\\))((?:'|(?:\\.'))*\\.?')" }] }, parentheses: { patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\))((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, punctuation: { patterns: [{ match: ",", name: "punctuation.separator.comma.julia" }, { match: ";", name: "punctuation.separator.semicolon.julia" }] }, self_no_for_block: { comment: "Same as $self, but does not contain #for_block. 'outer' is not valid in some contexts (e.g. generators, comprehensions, indexing), so use this when matching those in begin/end patterns. Keep this up-to-date with $self!", patterns: [{ include: "#operator" }, { include: "#array" }, { include: "#string" }, { include: "#parentheses" }, { include: "#bracket" }, { include: "#function_decl" }, { include: "#function_call" }, { include: "#keyword" }, { include: "#number" }, { include: "#comment" }, { include: "#type_decl" }, { include: "#symbol" }, { include: "#punctuation" }] }, string: { patterns: [{ begin: '(?:(@doc)\\s((?:doc)?""")|(doc"""))', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '(""") ?(->)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "keyword.operator.arrow.julia" } }, name: "string.docstring.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(i?cxx)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.cpp", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.cxx.julia", patterns: [{ include: "source.cpp#root_context" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(py)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.python", end: '([\\s\\w]*)(""")', endCaptures: { 2: { name: "punctuation.definition.string.end.julia" } }, name: "embed.python.julia", patterns: [{ include: "source.python" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(js)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.javascript", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.js.julia", patterns: [{ include: "source.js" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(R)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.r", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.R.julia", patterns: [{ include: "source.r" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(raw)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(raw)(")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(sql)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.sql", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.sql.julia", patterns: [{ include: "source.sql" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: 'var"""', end: '"""', name: "constant.other.symbol.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: 'var"', end: '"', name: "constant.other.symbol.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '^\\s?(doc)?(""")\\s?$', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, comment: `This only matches docstrings that start and end with triple quotes on
34
- their own line in the void`, end: '(""")', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" } }, name: "string.docstring.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" } }, end: "'(?!')", endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.single.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.multiline.begin.julia" } }, comment: "multi-line string with triple double quotes", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.multiline.end.julia" } }, name: "string.quoted.triple.double.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '"(?!"")', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" } }, comment: "String with single pair of double quotes. Regex matches isolated double quote", end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.double.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: 'r"""', beginCaptures: { 0: { name: "punctuation.definition.string.regexp.begin.julia" } }, end: '(""")([imsx]{0,4})?', endCaptures: { 1: { name: "punctuation.definition.string.regexp.end.julia" }, 2: { comment: "I took this scope name from python regex grammar", name: "keyword.other.option-toggle.regexp.julia" } }, name: "string.regexp.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: 'r"', beginCaptures: { 0: { name: "punctuation.definition.string.regexp.begin.julia" } }, end: '(")([imsx]{0,4})?', endCaptures: { 1: { name: "punctuation.definition.string.regexp.end.julia" }, 2: { comment: "I took this scope name from python regex grammar", name: "keyword.other.option-toggle.regexp.julia" } }, name: "string.regexp.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(?<!")((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: '(""")((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(?<!")((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: '(?<![^\\\\]\\\\)(")((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: "(?<!`)((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: "(```)((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?", endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.interpolated.backtick.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: "(?<!`)((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: "(?<![^\\\\]\\\\)(`)((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?", endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.interpolated.backtick.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }] }, string_dollar_sign_interpolate: { patterns: [{ match: "\\$(?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*", name: "variable.interpolation.julia" }, { begin: "\\$(\\()", beginCaptures: { 1: { name: "meta.bracket.julia" } }, comment: "`punctuation.section.embedded`, `constant.escape`,\n& `meta.embedded.line` were considered but appear to have even spottier\nsupport among popular syntaxes.", end: "\\)", endCaptures: { 0: { name: "meta.bracket.julia" } }, name: "variable.interpolation.julia", patterns: [{ include: "#self_no_for_block" }] }] }, string_escaped_char: { patterns: [{ match: "\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)", name: "constant.character.escape.julia" }] }, symbol: { patterns: [{ comment: "This is string.quoted.symbol.julia in tpoisot's package", match: '(?<![\\w⁺-ₜ!′∇)\\]}]):(?:(?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?!["`])', name: "constant.other.symbol.julia" }] }, type_decl: { patterns: [{ captures: { 1: { name: "entity.name.type.julia" }, 2: { name: "entity.other.inherited-class.julia" }, 3: { name: "punctuation.separator.inheritance.julia" } }, match: "(?>!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(<:)\\s*(?:[A-Za-z_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[\\w_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?", name: "meta.type.julia" }] } }, scopeName: "source.julia", embeddedLangs: ["cpp", "python", "javascript", "r", "sql"], aliases: ["jl"] });
35
- var C = [
36
- ...p,
37
- ...n,
38
- ...t,
39
- ...e,
40
- ...c,
41
- L
42
- ];
43
- const k = Object.freeze({ displayName: "Scala", fileTypes: ["scala"], firstLineMatch: "^#!/.*\\b\\w*scala\\b", foldingStartMarker: "/\\*\\*|\\{\\s*$", foldingStopMarker: "\\*\\*/|^\\s*\\}", name: "scala", patterns: [{ include: "#code" }], repository: { backQuotedVariable: { match: "`[^`]+`" }, "block-comments": { patterns: [{ captures: { 0: { name: "punctuation.definition.comment.scala" } }, match: "/\\*\\*/", name: "comment.block.empty.scala" }, { begin: "^\\s*(/\\*\\*)(?!/)", beginCaptures: { 1: { name: "punctuation.definition.comment.scala" } }, end: "\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.scala" } }, name: "comment.block.documentation.scala", patterns: [{ captures: { 1: { name: "keyword.other.documentation.scaladoc.scala" }, 2: { name: "variable.parameter.scala" } }, match: "(@param)\\s+(\\S+)" }, { captures: { 1: { name: "keyword.other.documentation.scaladoc.scala" }, 2: { name: "entity.name.class" } }, match: "(@(?:tparam|throws))\\s+(\\S+)" }, { match: "@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc)\\b", name: "keyword.other.documentation.scaladoc.scala" }, { captures: { 1: { name: "punctuation.definition.documentation.link.scala" }, 2: { name: "string.other.link.title.markdown" }, 3: { name: "punctuation.definition.documentation.link.scala" } }, match: "(\\[\\[)([^\\]]+)(\\]\\])" }, { include: "#block-comments" }] }, { begin: "/\\*", captures: { 0: { name: "punctuation.definition.comment.scala" } }, end: "\\*/", name: "comment.block.scala", patterns: [{ include: "#block-comments" }] }] }, "char-literal": { patterns: [{ captures: { 1: { name: "punctuation.definition.character.begin.scala" }, 2: { name: "punctuation.definition.character.end.scala" } }, match: "(')'(')", name: "string.quoted.other constant.character.literal.scala" }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.character.begin.scala" } }, end: "'|$", endCaptures: { 0: { name: "punctuation.definition.character.end.scala" } }, name: "string.quoted.other constant.character.literal.scala", patterns: [{ match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-character-escape.scala" }, { match: "[^']{2,}", name: "invalid.illegal.character-literal-too-long" }, { match: "(?<!')[^']", name: "invalid.illegal.character-literal-too-long" }] }] }, code: { patterns: [{ include: "#using-directive" }, { include: "#script-header" }, { include: "#storage-modifiers" }, { include: "#declarations" }, { include: "#inheritance" }, { include: "#extension" }, { include: "#imports" }, { include: "#exports" }, { include: "#comments" }, { include: "#strings" }, { include: "#initialization" }, { include: "#xml-literal" }, { include: "#keywords" }, { include: "#using" }, { include: "#constants" }, { include: "#singleton-type" }, { include: "#inline" }, { include: "#scala-quoted-or-symbol" }, { include: "#char-literal" }, { include: "#empty-parentheses" }, { include: "#parameter-list" }, { include: "#qualifiedClassName" }, { include: "#backQuotedVariable" }, { include: "#curly-braces" }, { include: "#meta-brackets" }, { include: "#meta-bounds" }, { include: "#meta-colons" }] }, comments: { patterns: [{ include: "#block-comments" }, { begin: "(^[ \\t]+)?(?=//)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.scala" } }, end: "(?!\\G)", patterns: [{ begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.scala" } }, end: "\\n", name: "comment.line.double-slash.scala" }] }] }, constants: { patterns: [{ match: "\\b(false|null|true)\\b", name: "constant.language.scala" }, { match: "\\b(0[xX][0-9a-fA-F_]*)\\b", name: "constant.numeric.scala" }, { match: "\\b((\\d[0-9_]*(\\.\\d[0-9_]*)?)([eE](\\+|-)?\\d[0-9_]*)?|\\d[0-9_]*)[LlFfDd]?\\b", name: "constant.numeric.scala" }, { match: "(\\.\\d[0-9_]*)([eE](\\+|-)?\\d[0-9_]*)?[LlFfDd]?\\b", name: "constant.numeric.scala" }, { match: "\\b0[bB][01]([01_]*[01])?[Ll]?\\b", name: "constant.numeric.scala" }, { match: "\\b(this|super)\\b", name: "variable.language.scala" }] }, "curly-braces": { begin: "\\{", beginCaptures: { 0: { name: "punctuation.section.block.begin.scala" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.section.block.end.scala" } }, patterns: [{ include: "#code" }] }, declarations: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.function.declaration" } }, match: "\\b(def)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.class.declaration" } }, match: "\\b(trait)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "keyword.declaration.scala" }, 3: { name: "entity.name.class.declaration" } }, match: "\\b(?:(case)\\s+)?(class|object|enum)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.type.declaration" } }, match: "(?<!\\.)\\b(type)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.stable.scala" }, 2: { name: "keyword.declaration.volatile.scala" } }, match: "\\b(?:(val)|(var))\\b\\s*(?!//|/\\*)(?=(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)?\\()" }, { captures: { 1: { name: "keyword.declaration.stable.scala" }, 2: { name: "variable.stable.declaration.scala" } }, match: '\\b(val)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)(?:\\s*,\\s*(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))*)?(?!")' }, { captures: { 1: { name: "keyword.declaration.volatile.scala" }, 2: { name: "variable.volatile.declaration.scala" } }, match: '\\b(var)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)(?:\\s*,\\s*(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))*)?(?!")' }, { captures: { 1: { name: "keyword.other.package.scala" }, 2: { name: "keyword.declaration.scala" }, 3: { name: "entity.name.class.declaration" } }, match: "\\b(package)\\s+(object)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { begin: "\\b(package)\\s+", beginCaptures: { 1: { name: "keyword.other.package.scala" } }, end: "(?<=[\\n;])", name: "meta.package.scala", patterns: [{ include: "#comments" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.package.scala" }, { match: "\\.", name: "punctuation.definition.package" }] }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.given.declaration" } }, match: "\\b(given)\\b\\s*([_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`)?" }] }, "empty-parentheses": { captures: { 1: { name: "meta.bracket.scala" } }, match: "(\\(\\))", name: "meta.parentheses.scala" }, exports: { begin: "\\b(export)\\s+", beginCaptures: { 1: { name: "keyword.other.export.scala" } }, end: "(?<=[\\n;])", name: "meta.export.scala", patterns: [{ include: "#comments" }, { match: "\\b(given)\\b", name: "keyword.other.export.given.scala" }, { match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?", name: "entity.name.class.export.scala" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.export.scala" }, { match: "\\.", name: "punctuation.definition.export" }, { begin: "{", beginCaptures: { 0: { name: "meta.bracket.scala" } }, end: "}", endCaptures: { 0: { name: "meta.bracket.scala" } }, name: "meta.export.selector.scala", patterns: [{ captures: { 1: { name: "keyword.other.export.given.scala" }, 2: { name: "entity.name.class.export.renamed-from.scala" }, 3: { name: "entity.name.export.renamed-from.scala" }, 4: { name: "keyword.other.arrow.scala" }, 5: { name: "entity.name.class.export.renamed-to.scala" }, 6: { name: "entity.name.export.renamed-to.scala" } }, match: "(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*" }, { match: "\\b(given)\\b", name: "keyword.other.export.given.scala" }, { captures: { 1: { name: "keyword.other.export.given.scala" }, 2: { name: "entity.name.class.export.scala" }, 3: { name: "entity.name.export.scala" } }, match: "(given\\s+)?(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))" }] }] }, extension: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" } }, match: "^\\s*(extension)\\s+(?=[\\[(])" }] }, imports: { begin: "\\b(import)\\s+", beginCaptures: { 1: { name: "keyword.other.import.scala" } }, end: "(?<=[\\n;])", name: "meta.import.scala", patterns: [{ include: "#comments" }, { match: "\\b(given)\\b", name: "keyword.other.import.given.scala" }, { match: "\\s(as)\\s", name: "keyword.other.import.as.scala" }, { match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?", name: "entity.name.class.import.scala" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.import.scala" }, { match: "\\.", name: "punctuation.definition.import" }, { begin: "{", beginCaptures: { 0: { name: "meta.bracket.scala" } }, end: "}", endCaptures: { 0: { name: "meta.bracket.scala" } }, name: "meta.import.selector.scala", patterns: [{ captures: { 1: { name: "keyword.other.import.given.scala" }, 2: { name: "entity.name.class.import.renamed-from.scala" }, 3: { name: "entity.name.import.renamed-from.scala" }, 4: { name: "keyword.other.arrow.scala" }, 5: { name: "entity.name.class.import.renamed-to.scala" }, 6: { name: "entity.name.import.renamed-to.scala" } }, match: "(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*" }, { match: "\\b(given)\\b", name: "keyword.other.import.given.scala" }, { captures: { 1: { name: "keyword.other.import.given.scala" }, 2: { name: "entity.name.class.import.scala" }, 3: { name: "entity.name.import.scala" } }, match: "(given\\s+)?(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))" }] }] }, inheritance: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.class" } }, match: '\\b(extends|with|derives)\\b\\s*([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`|(?=\\([^)]+=>)|(?=(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))|(?="))?' }] }, initialization: { captures: { 1: { name: "keyword.declaration.scala" } }, match: "\\b(new)\\b" }, inline: { patterns: [{ match: "\\b(inline)(?=\\s+((?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)\\s*:)", name: "storage.modifier.other" }, { match: "\\b(inline)\\b(?=(?:.(?!\\b(?:val|def|given)\\b))*\\b(if|match)\\b)", name: "keyword.control.flow.scala" }] }, keywords: { patterns: [{ match: "\\b(return|throw)\\b", name: "keyword.control.flow.jump.scala" }, { match: "\\b(classOf|isInstanceOf|asInstanceOf)\\b", name: "support.function.type-of.scala" }, { match: "\\b(else|if|then|do|while|for|yield|match|case)\\b", name: "keyword.control.flow.scala" }, { match: "^\\s*(end)\\s+(if|while|for|match)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.control.flow.end.scala" }, { match: "^\\s*(end)\\s+(val)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.declaration.stable.end.scala" }, { match: "^\\s*(end)\\s+(var)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.declaration.volatile.end.scala" }, { captures: { 1: { name: "keyword.declaration.end.scala" }, 2: { name: "keyword.declaration.end.scala" }, 3: { name: "entity.name.type.declaration" } }, match: "^\\s*(end)\\s+(?:(new|extension)|([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)" }, { match: "\\b(catch|finally|try)\\b", name: "keyword.control.exception.scala" }, { match: "^\\s*(end)\\s+(try)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.control.exception.end.scala" }, { captures: { 1: { name: "keyword.declaration.end.scala" }, 2: { name: "entity.name.declaration" } }, match: "^\\s*(end)\\s+(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))?(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)" }, { match: "(==?|!=|<=|>=|<>|<|>)", name: "keyword.operator.comparison.scala" }, { match: "(-|\\+|\\*|/(?![/*])|%|~)", name: "keyword.operator.arithmetic.scala" }, { match: "(?<![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|_)(!|&&|\\|\\|)(?![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}])", name: "keyword.operator.logical.scala" }, { match: "(<-|←|->|→|=>|⇒|\\?|:+|@|\\|)+", name: "keyword.operator.scala" }] }, "meta-bounds": { comment: "For themes: Matching view bounds", match: "<%|=:=|<:<|<%<|>:|<:", name: "meta.bounds.scala" }, "meta-brackets": { comment: "For themes: Brackets look nice when colored.", patterns: [{ comment: "The punctuation.section.*.begin is needed for return snippet in source bundle", match: "\\{", name: "punctuation.section.block.begin.scala" }, { comment: "The punctuation.section.*.end is needed for return snippet in source bundle", match: "\\}", name: "punctuation.section.block.end.scala" }, { match: "{|}|\\(|\\)|\\[|\\]", name: "meta.bracket.scala" }] }, "meta-colons": { comment: "For themes: Matching type colons", patterns: [{ match: "(?<!:):(?!:)", name: "meta.colon.scala" }] }, "parameter-list": { patterns: [{ captures: { 1: { name: "variable.parameter.scala" }, 2: { name: "meta.colon.scala" } }, match: "(?<=[^\\._$a-zA-Z0-9])(`[^`]+`|[_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)\\s*(:)\\s+" }] }, qualifiedClassName: { captures: { 1: { name: "entity.name.class" } }, match: "(\\b([A-Z][\\w]*)(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)" }, "scala-quoted-or-symbol": { patterns: [{ captures: { 1: { name: "keyword.control.flow.staging.scala constant.other.symbol.scala" }, 2: { name: "constant.other.symbol.scala" } }, match: "(')((?>(?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))(?!')" }, { match: "'(?=\\s*\\{(?!'))", name: "keyword.control.flow.staging.scala" }, { match: "'(?=\\s*\\[(?!'))", name: "keyword.control.flow.staging.scala" }, { match: "\\$(?=\\s*\\{)", name: "keyword.control.flow.staging.scala" }] }, "script-header": { captures: { 1: { name: "string.unquoted.shebang.scala" } }, match: "^#!(.*)$", name: "comment.block.shebang.scala" }, "singleton-type": { captures: { 1: { name: "keyword.type.scala" } }, match: "\\.(type)(?![A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|\\d)" }, "storage-modifiers": { patterns: [{ match: "\\b(private\\[\\S+\\]|protected\\[\\S+\\]|private|protected)\\b", name: "storage.modifier.access" }, { match: "\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|override|@transient|@native)\\b", name: "storage.modifier.other" }, { match: "(?<=^|\\s)\\b(transparent|opaque|infix|open|inline)\\b(?=[a-z\\s]*\\b(def|val|var|given|type|class|trait|object|enum)\\b)", name: "storage.modifier.other" }] }, "string-interpolation": { patterns: [{ match: "\\$\\$", name: "constant.character.escape.interpolation.scala" }, { captures: { 1: { name: "punctuation.definition.template-expression.begin.scala" } }, match: "(\\$)([A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\p{Lo}\\p{Nl}\\p{Ll}0-9]*)", name: "meta.template.expression.scala" }, { begin: "\\$\\{", beginCaptures: { 0: { name: "punctuation.definition.template-expression.begin.scala" } }, contentName: "meta.embedded.line.scala", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.template-expression.end.scala" } }, name: "meta.template.expression.scala", patterns: [{ include: "#code" }] }] }, strings: { patterns: [{ begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.scala" } }, end: '"""(?!")', endCaptures: { 0: { name: "punctuation.definition.string.end.scala" } }, name: "string.quoted.triple.scala", patterns: [{ match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}", name: "constant.character.escape.scala" }] }, { begin: '\\b(raw)(""")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(""")(?!")|\\$
44
- |(\\$[^$"_{A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: ".", name: "string.quoted.triple.interpolated.scala" }] }, { begin: '\\b((?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(""")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(""")(?!")|\\$
45
- |(\\$[^$"_{A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ include: "#string-interpolation" }, { match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}", name: "constant.character.escape.scala" }, { match: ".", name: "string.quoted.triple.interpolated.scala" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.scala" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.scala" } }, name: "string.quoted.double.scala", patterns: [{ match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-string-escape.scala" }] }, { begin: '\\b(raw)(")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(")|\\$
46
- |(\\$[^$"_{A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: ".", name: "string.quoted.double.interpolated.scala" }] }, { begin: '\\b((?:[A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(")|\\$
47
- |(\\$[^$"_{A-Z\\p{Lt}\\p{Lu}_a-z$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-string-escape.scala" }, { match: ".", name: "string.quoted.double.interpolated.scala" }] }] }, using: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" } }, match: "(?<=\\()\\s*(using)\\s" }] }, "using-directive": { begin: "^\\s*(//>)\\s*(using)[^\\S\\n]+(?:(\\S+))?", beginCaptures: { 1: { name: "punctuation.definition.comment.scala" }, 2: { name: "keyword.other.import.scala" }, 3: { patterns: [{ match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)", name: "entity.name.import.scala" }, { match: "\\.", name: "punctuation.definition.import" }] } }, end: "\\n", name: "comment.line.shebang.scala", patterns: [{ include: "#constants" }, { include: "#strings" }, { match: "[^\\s,]+", name: "string.quoted.double.scala" }] }, "xml-doublequotedString": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.xml" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.xml" } }, name: "string.quoted.double.xml", patterns: [{ include: "#xml-entity" }] }, "xml-embedded-content": { patterns: [{ begin: "{", captures: { 0: { name: "meta.bracket.scala" } }, end: "}", name: "meta.source.embedded.scala", patterns: [{ include: "#code" }] }, { captures: { 1: { name: "entity.other.attribute-name.namespace.xml" }, 2: { name: "entity.other.attribute-name.xml" }, 3: { name: "punctuation.separator.namespace.xml" }, 4: { name: "entity.other.attribute-name.localname.xml" } }, match: " (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)=" }, { include: "#xml-doublequotedString" }, { include: "#xml-singlequotedString" }] }, "xml-entity": { captures: { 1: { name: "punctuation.definition.constant.xml" }, 3: { name: "punctuation.definition.constant.xml" } }, match: "(&)([:a-zA-Z_][:a-zA-Z0-9_.-]*|#\\d+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.xml" }, "xml-literal": { patterns: [{ begin: "(<)((?:([_a-zA-Z0-9][_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*))(?=(\\s[^>]*)?></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.xml" }, 3: { name: "entity.name.tag.namespace.xml" }, 4: { name: "entity.name.tag.xml" }, 5: { name: "punctuation.separator.namespace.xml" }, 6: { name: "entity.name.tag.localname.xml" } }, comment: "We do not allow a tag name to start with a - since this would likely conflict with the <- operator. This is not very common for tag names anyway. Also code such as -- if (val <val2 || val> val3) will falsly be recognized as an xml tag. The solution is to put a space on either side of the comparison operator", end: "(>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]*[_a-zA-Z0-9])(>)", endCaptures: { 1: { name: "punctuation.definition.tag.xml" }, 2: { name: "meta.scope.between-tag-pair.xml" }, 3: { name: "entity.name.tag.namespace.xml" }, 4: { name: "entity.name.tag.xml" }, 5: { name: "punctuation.separator.namespace.xml" }, 6: { name: "entity.name.tag.localname.xml" }, 7: { name: "punctuation.definition.tag.xml" } }, name: "meta.tag.no-content.xml", patterns: [{ include: "#xml-embedded-content" }] }, { begin: "(</?)(?:([_a-zA-Z0-9][-_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*)(?=[^>]*?>)", captures: { 1: { name: "punctuation.definition.tag.xml" }, 2: { name: "entity.name.tag.namespace.xml" }, 3: { name: "entity.name.tag.xml" }, 4: { name: "punctuation.separator.namespace.xml" }, 5: { name: "entity.name.tag.localname.xml" } }, end: "(/?>)", name: "meta.tag.xml", patterns: [{ include: "#xml-embedded-content" }] }, { include: "#xml-entity" }] }, "xml-singlequotedString": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.xml" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.xml" } }, name: "string.quoted.single.xml", patterns: [{ include: "#xml-entity" }] } }, scopeName: "source.scala" });
48
- var w = [
49
- k
50
- ];
51
- const _ = Object.freeze({ displayName: "LaTeX", name: "latex", patterns: [{ comment: "This scope identifies partially typed commands such as `\\tab`. We use this to trigger “Command Completion” only when it makes sense.", match: "(?<=\\\\[\\w@]|\\\\[\\w@]{2}|\\\\[\\w@]{3}|\\\\[\\w@]{4}|\\\\[\\w@]{5}|\\\\[\\w@]{6})\\s", name: "meta.space-after-command.latex" }, { begin: "((\\\\)(?:usepackage|documentclass))\\b(?=\\[|\\{)", beginCaptures: { 1: { name: "keyword.control.preamble.latex" }, 2: { name: "punctuation.definition.function.latex" } }, end: "(?<=\\})", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.preamble.latex", patterns: [{ include: "#multiline-optional-arg" }, { begin: "((?:\\G|(?<=\\]))\\{)", beginCaptures: { 0: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "support.class.latex", end: "(\\})", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "$self" }] }] }, { begin: "((\\\\)(?:include|input))(\\{)", beginCaptures: { 1: { name: "keyword.control.include.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.include.latex", patterns: [{ include: "$self" }] }, { begin: "((\\\\)((?:sub){0,2}section|(?:sub)?paragraph|chapter|part|addpart|addchap|addsec|minisec|frametitle)(?:\\*)?)((?:\\[[^\\[]*?\\]){0,2})(\\{)", beginCaptures: { 1: { name: "support.function.section.latex" }, 2: { name: "punctuation.definition.function.latex" }, 4: { patterns: [{ include: "#optional-arg-bracket" }] }, 5: { name: "punctuation.definition.arguments.begin.latex" } }, comment: "this works OK with all kinds of crazy stuff as long as section is one line", contentName: "entity.name.section.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.function.section.$3.latex", patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((?:\\s*)\\\\begin\\{songs\\}\\{.*\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.data.environment.songs.latex", end: "(\\\\end\\{songs\\}(?:\\s*\\n)?)", name: "meta.function.environment.songs.latex", patterns: [{ begin: "\\\\\\[", end: "\\]", name: "meta.chord.block.latex support.class.chord.block.environment.latex", patterns: [{ include: "$self" }] }, { match: "\\^", name: "meta.chord.block.latex support.class.chord.block.environment.latex" }, { include: "$self" }] }, { begin: "(?:^\\s*)?\\\\begin\\{(lstlisting|minted|pyglist)\\}(?=\\[|\\{)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\\\end\\{\\1\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:asy|asymptote))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.asy", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.asy" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:bash))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.shell", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.shell" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:c|cpp))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.cpp.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.cpp.embedded.latex" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:css))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.css", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.css" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:gnuplot))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.gnuplot", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.gnuplot" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:hs|haskell))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.haskell", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.haskell" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:html))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "text.html", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "text.html.basic" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:java))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.java", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.java" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:jl|julia))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.julia" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:js|javascript))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.js", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.js" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:lua))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.lua", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.lua" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:py|python|sage))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.python" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:rb|ruby))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.ruby", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.ruby" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:rust))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.rust", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.rust" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:ts|typescript))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.ts", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.ts" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:xml))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "text.xml", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "text.xml" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:yaml))(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "source.yaml", end: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.yaml" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "meta.function.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:lstlisting|minted|pyglist)\\})", name: "meta.embedded.block.generic.latex" }] }, { begin: "\\s*\\\\begin\\{(?:asy|asycode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:asy|asycode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.asymptote", end: "^\\s*(?=\\\\end\\{(?:asy|asycode)\\*?\\})", patterns: [{ include: "source.asymptote" }] }] }, { begin: "\\s*\\\\begin\\{(?:cppcode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:cppcode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.cpp.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:cppcode)\\*?\\})", patterns: [{ include: "source.cpp.embedded.latex" }] }] }, { begin: "\\s*\\\\begin\\{(?:dot2tex|dotcode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:dot2tex|dotcode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.dot", end: "^\\s*(?=\\\\end\\{(?:dot2tex|dotcode)\\*?\\})", patterns: [{ include: "source.dot" }] }] }, { begin: "\\s*\\\\begin\\{(?:gnuplot)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:gnuplot)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.gnuplot", end: "^\\s*(?=\\\\end\\{(?:gnuplot)\\*?\\})", patterns: [{ include: "source.gnuplot" }] }] }, { begin: "\\s*\\\\begin\\{(?:hscode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:hscode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.haskell", end: "^\\s*(?=\\\\end\\{(?:hscode)\\*?\\})", patterns: [{ include: "source.haskell" }] }] }, { begin: "\\s*\\\\begin\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\})", patterns: [{ include: "source.julia" }] }] }, { begin: "\\s*\\\\begin\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\})", patterns: [{ include: "source.julia" }] }] }, { begin: "\\s*\\\\begin\\{(?:luacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:luacode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.lua", end: "^\\s*(?=\\\\end\\{(?:luacode)\\*?\\})", patterns: [{ include: "source.lua" }] }] }, { begin: "\\s*\\\\begin\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:scalacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:scalacode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.scala", end: "^\\s*(?=\\\\end\\{(?:scalacode)\\*?\\})", patterns: [{ include: "source.scala" }] }] }, { begin: "\\s*\\\\begin\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)\\*?\\}(?:\\[.*\\])?(?:\\{.*\\})?", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.function.embedded.latex", end: "\\\\end\\{\\1\\}(?:\\s*\\n)?", name: "meta.embedded.block.generic.latex" }, { begin: "((?:^\\s*)?\\\\begin\\{((?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?))\\})(?:\\[[^\\]]*\\]){,2}(?=\\{)", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\})", patterns: [{ begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:asy|asymptote)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.asy", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.asy" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:bash)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.shell", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.shell" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:c|cpp)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.cpp.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.cpp.embedded.latex" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:css)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.css", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.css" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:gnuplot)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.gnuplot", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.gnuplot" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:hs|haskell)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.haskell", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.haskell" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:html)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "text.html", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "text.html.basic" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:java)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.java", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.java" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:jl|julia)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.julia" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:js|javascript)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.js", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.js" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:lua)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.lua", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.lua" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:py|python|sage)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:rb|ruby)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.ruby", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.ruby" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:rust)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.rust", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.rust" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:ts|typescript)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.ts", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.ts" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:xml)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "text.xml", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "text.xml" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:yaml)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "source.yaml", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "source.yaml" }] }] }, { begin: "\\G(\\{)(?:__|[a-z\\s]*)(?i:tikz|tikzpicture)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "text.tex.latex", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ include: "text.tex.latex" }] }] }, { begin: "\\G(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, end: "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", patterns: [{ begin: "\\G", end: "(\\})\\s*$", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "^(\\s*)", contentName: "meta.function.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})", name: "meta.embedded.block.generic.latex" }] }] }, { begin: "(?:^\\s*)?\\\\begin\\{(terminal\\*?)\\}(?=\\[|\\{)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\\\end\\{\\1\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "meta.function.embedded.latex", end: "^\\s*(?=\\\\end\\{terminal\\*?\\})", name: "meta.embedded.block.generic.latex" }] }, { begin: "((\\\\)addplot)(?:\\+?)((?:\\[[^\\[]*\\]))*\\s*(gnuplot)\\s*((?:\\[[^\\[]*\\]))*\\s*(\\{)", captures: { 1: { name: "support.function.be.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "variable.parameter.function.latex" }, 5: { patterns: [{ include: "#optional-arg-bracket" }] }, 6: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\s*(\\};)", patterns: [{ begin: "%", beginCaptures: { 0: { name: "punctuation.definition.comment.latex" } }, end: "$\\n?", name: "comment.line.percentage.latex" }, { include: "source.gnuplot" }] }, { begin: "(\\s*\\\\begin\\{((?:fboxv|boxedv|V|v|spv)erbatim\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{\\2\\})", name: "meta.function.verbatim.latex" }, { begin: "(\\s*\\\\begin\\{VerbatimOut\\}\\{[^}]*\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{\\VerbatimOut\\})", name: "meta.function.verbatim.latex" }, { begin: "(\\s*\\\\begin\\{alltt\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{alltt\\})", name: "meta.function.alltt.latex", patterns: [{ captures: { 1: { name: "punctuation.definition.function.latex" } }, match: "(\\\\)[A-Za-z]+", name: "support.function.general.latex" }] }, { begin: "(\\s*\\\\begin\\{([Cc]omment)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "punctuation.definition.comment.latex", end: "(\\\\end\\{\\2\\})", name: "meta.function.verbatim.latex" }, { begin: "(?:\\s*)((\\\\)(?:href|hyperref|hyperimage))(?=\\[|\\{)", beginCaptures: { 1: { name: "support.function.url.latex" } }, comment: "Captures \\command[option]{url}{optional category}{optional name}{text}", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.function.hyperlink.latex", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)([^}]*)(\\})(?:\\{[^}]*\\}){2}?(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "markup.underline.link.latex" }, 3: { name: "punctuation.definition.arguments.end.latex" }, 4: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "meta.variable.parameter.function.latex", end: "(?=\\})", patterns: [{ include: "$self" }] }, { begin: "(?:\\G|(?<=\\]))(?:(\\{)[^}]*(\\}))?(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" }, 2: { name: "punctuation.definition.arguments.end.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "meta.variable.parameter.function.latex", end: "(?=\\})", patterns: [{ include: "$self" }] }] }, { captures: { 1: { name: "support.function.url.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, "'": { name: "markup.underline.link.latex" } }, match: "(?:\\s*)((\\\\)url)(\\{)([^}]*)(\\})", name: "meta.function.link.url.latex" }, { captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, comment: "These two patterns match the \\begin{document} and \\end{document} commands, so that the environment matching pattern following them will ignore those commands.", match: "(\\s*\\\\begin\\{document\\})", name: "meta.function.begin-document.latex" }, { captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, match: "(\\s*\\\\end\\{document\\})", name: "meta.function.end-document.latex" }, { begin: "(?:\\s*)((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\\+?cases|(?:display)?math|\\+?[a-zA-Z]*matrix|[pbBvV]?NiceMatrix|[pbBvV]?NiceArray|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?", captures: { 1: { name: "support.function.be.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 4: { name: "variable.parameter.function.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" } }, contentName: "meta.math.block.latex support.class.math.block.environment.latex", end: "(?:\\s*)((\\\\)end)(\\{)(\\4)(\\})(?:\\s*\\n)?", name: "meta.function.environment.math.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.equation.align.latex" }, { match: "\\\\\\\\", name: "keyword.control.equation.newline.latex" }, { include: "#definition-label" }, { include: "text.tex#math" }, { include: "$self" }] }, { begin: "(?:\\s*)(\\\\begin\\{empheq\\}(?:\\[.*\\])?)", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.math.block.latex support.class.math.block.environment.latex", end: "(?:\\s*)(\\\\end\\{empheq\\})", name: "meta.function.environment.math.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.equation.align.latex" }, { match: "\\\\\\\\", name: "keyword.control.equation.newline.latex" }, { include: "#definition-label" }, { include: "text.tex#math" }, { include: "$self" }] }, { begin: "(\\s*\\\\begin\\{(tabular[xy*]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr|NiceTabular[X*]?|booktabs)\\}(\\s*\\n)?)", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.data.environment.tabular.latex", end: "(\\s*\\\\end\\{(\\2)\\}(?:\\s*\\n)?)", name: "meta.function.environment.tabular.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.table.cell.latex" }, { match: "\\\\\\\\", name: "keyword.control.table.newline.latex" }, { include: "$self" }] }, { begin: "(\\s*\\\\begin\\{(itemize|enumerate|description|list)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.list.latex", patterns: [{ include: "$self" }] }, { begin: "(\\s*\\\\begin\\{tikzpicture\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{tikzpicture\\}(?:\\s*\\n)?)", name: "meta.function.environment.latex.tikz", patterns: [{ include: "$self" }] }, { begin: "(\\s*\\\\begin\\{frame\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{frame\\})", name: "meta.function.environment.frame.latex", patterns: [{ include: "$self" }] }, { begin: "(\\s*\\\\begin\\{(mpost\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.latex.mpost" }, { begin: "(\\s*\\\\begin\\{markdown\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.embedded.markdown_latex_combined", end: "(\\\\end\\{markdown\\})", patterns: [{ include: "text.tex.markdown_latex_combined" }] }, { begin: "(\\s*\\\\begin\\{(\\w+\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.general.latex", patterns: [{ include: "$self" }] }, { captures: { 1: { name: "storage.type.function.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.begin.latex" }, 4: { name: "support.function.general.latex" }, 5: { name: "punctuation.definition.function.latex" }, 6: { name: "punctuation.definition.end.latex" } }, match: "((\\\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand))\\*?({)((\\\\)[^}]*)(})" }, { begin: "((\\\\)marginpar)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "support.function.marginpar.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.marginpar.begin.latex" } }, contentName: "meta.paragraph.margin.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.marginpar.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((\\\\)footnote)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "support.function.footnote.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.footnote.begin.latex" } }, contentName: "entity.name.footnote.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.footnote.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((\\\\)emph)(\\{)", beginCaptures: { 1: { name: "support.function.emph.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.emph.begin.latex" } }, contentName: "markup.italic.emph.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.emph.end.latex" } }, name: "meta.function.emph.latex", patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((\\\\)textit)(\\{)", captures: { 1: { name: "support.function.textit.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.textit.begin.latex" } }, comment: `We put the keyword in a capture and name this capture, so that disabling spell checking for “keyword” won't be inherited by the argument to \\textit{...}.
52
-
53
- Put specific matches for particular LaTeX keyword.functions before the last two more general functions`, contentName: "markup.italic.textit.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.textit.end.latex" } }, name: "meta.function.textit.latex", patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((\\\\)textbf)(\\{)", captures: { 1: { name: "support.function.textbf.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.textbf.begin.latex" } }, contentName: "markup.bold.textbf.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.textbf.end.latex" } }, name: "meta.function.textbf.latex", patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { begin: "((\\\\)texttt)(\\{)", captures: { 1: { name: "support.function.texttt.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.texttt.begin.latex" } }, contentName: "markup.raw.texttt.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.texttt.end.latex" } }, name: "meta.function.texttt.latex", patterns: [{ include: "text.tex#braces" }, { include: "$self" }] }, { captures: { 0: { name: "keyword.other.item.latex" }, 1: { name: "punctuation.definition.keyword.latex" } }, match: "(\\\\)item\\b", name: "meta.scope.item.latex" }, { begin: "((\\\\)(?:[aA]uto|foot|full|no|ref|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\p{Alphabetic}\\p{Number}_:.-]*\\})*)(<[^\\]<>]*>)?((?:\\[[^\\]]*\\])*)(\\{)", captures: { 1: { name: "keyword.control.cite.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { patterns: [{ include: "#autocites-arg" }] }, 4: { patterns: [{ include: "#optional-arg-angle-no-highlight" }] }, 5: { patterns: [{ include: "#optional-arg-bracket-no-highlight" }] }, 6: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.citation.latex", patterns: [{ captures: { 1: { name: "comment.line.percentage.tex" }, 2: { name: "punctuation.definition.comment.tex" } }, match: "((%).*)$" }, { match: "[\\p{Alphabetic}\\p{Number}:.-]+", name: "constant.other.reference.citation.latex" }] }, { begin: "((\\\\)bibentry)(\\{)", captures: { 1: { name: "keyword.control.cite.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.citation.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}:.]+", name: "constant.other.reference.citation.latex" }] }, { begin: "((\\\\)(?:\\w*[rR]ef\\*?))(?:\\[[^\\]]*\\])?(\\{)", beginCaptures: { 1: { name: "keyword.control.ref.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.reference.label.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}\\.,:/*!^_-]", name: "constant.other.reference.label.latex" }] }, { include: "#definition-label" }, { begin: "((\\\\)(?:verb|Verb|spverb)\\*?)\\s*((\\\\)scantokens)(\\{)", beginCaptures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "support.function.verb.latex" }, 4: { name: "punctuation.definition.verb.latex" }, 5: { name: "punctuation.definition.begin.latex" } }, contentName: "markup.raw.verb.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.end.latex" } }, name: "meta.function.verb.latex", patterns: [{ include: "$self" }] }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.verb.latex" }, 4: { name: "markup.raw.verb.latex" }, 5: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)(?:verb|Verb|spverb)\\*?)\\s*((?<=\\s)\\S|[^a-zA-Z])(.*?)(\\3|$)", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.arguments.begin.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, 6: { name: "punctuation.definition.verb.latex" }, 7: { name: "markup.raw.verb.latex" }, 8: { name: "punctuation.definition.verb.latex" }, 9: { name: "punctuation.definition.verb.latex" }, 10: { name: "markup.raw.verb.latex" }, 11: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)(?:mint|mintinline))((?:\\[[^\\[]*?\\])?)(\\{)[a-zA-Z]*(\\})(?:(?:([^a-zA-Z{])(.*?)(\\6))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.verb.latex" }, 5: { name: "markup.raw.verb.latex" }, 6: { name: "punctuation.definition.verb.latex" }, 7: { name: "punctuation.definition.verb.latex" }, 8: { name: "markup.raw.verb.latex" }, 9: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)[a-z]+inline)((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.verb.latex" }, 5: { name: "source.python", patterns: [{ include: "source.python" }] }, 6: { name: "punctuation.definition.verb.latex" }, 7: { name: "punctuation.definition.verb.latex" }, 8: { name: "source.python", patterns: [{ include: "source.python" }] }, 9: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.verb.latex" }, 5: { name: "source.julia", patterns: [{ include: "source.julia" }] }, 6: { name: "punctuation.definition.verb.latex" }, 7: { name: "punctuation.definition.verb.latex" }, 8: { name: "source.julia", patterns: [{ include: "source.julia" }] }, 9: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)(?:jl|julia)[cv]?)((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { begin: "((\\\\)(?:directlua|luadirect))(\\{)", beginCaptures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "source.lua", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "source.lua" }] }, { match: "\\\\(?:newline|pagebreak|clearpage|linebreak|pause)(?:\\b)", name: "keyword.control.layout.latex" }, { begin: "\\\\\\(", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\\\\\)", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ include: "text.tex#math" }, { include: "$self" }] }, { begin: "\\$\\$", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\$\\$", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.latex" }, { include: "text.tex#math" }, { include: "$self" }] }, { begin: "\\$", beginCaptures: { 0: { name: "punctuation.definition.string.begin.tex" } }, end: "\\$", endCaptures: { 0: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.latex" }, { include: "text.tex#math" }, { include: "$self" }] }, { begin: "\\\\\\[", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\\\\\]", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ include: "text.tex#math" }, { include: "$self" }] }, { captures: { 1: { name: "punctuation.definition.constant.latex" } }, match: "(\\\\)(text(s(terling|ixoldstyle|urd|e(ction|venoldstyle|rvicemark))|yen|n(ineoldstyle|umero|aira)|c(ircledP|o(py(left|right)|lonmonetary)|urrency|e(nt(oldstyle)?|lsius))|t(hree(superior|oldstyle|quarters(emdash)?)|i(ldelow|mes)|w(o(superior|oldstyle)|elveudash)|rademark)|interrobang(down)?|zerooldstyle|o(hm|ne(superior|half|oldstyle|quarter)|penbullet|rd(feminine|masculine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t(housand|enthousand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight(dblbase|base)|ingle)|f(iveoldstyle|ouroldstyle|lorin|ractionsolidus)|won|l(not|ira|e(ftarrow|af)|quill|angle|brackdbl)|a(s(cii(caron|dieresis|acute|grave|macron|breve)|teriskcentered)|cutedbl)|r(ightarrow|e(cipe|ferencemark|gistered)|quill|angle|brackdbl)|g(uarani|ravedbl)|m(ho|inus|u(sicalnote)?|arried)|b(igcircle|orn|ullet|lank|a(ht|rdbl)|rokenbar)))\\b", name: "constant.character.latex" }, { captures: { 1: { name: "punctuation.definition.variable.latex" } }, match: "(\\\\)(?:[cgl]_+[_\\p{Alphabetic}@]+_[a-z]+|[qs]_[_\\p{Alphabetic}@]+[\\p{Alphabetic}@])", name: "variable.other.latex3.latex" }, { captures: { 1: { name: "punctuation.definition.column-specials.begin.latex" }, 2: { name: "punctuation.definition.column-specials.end.latex" } }, match: "(?:<|>)(\\{)\\$(\\})", name: "meta.column-specials.latex" }, { include: "text.tex" }], repository: { "autocites-arg": { patterns: [{ captures: { 1: { patterns: [{ include: "#optional-arg-parenthesis-no-highlight" }] }, 2: { patterns: [{ include: "#optional-arg-bracket-no-highlight" }] }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 4: { name: "constant.other.reference.citation.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, 6: { patterns: [{ include: "#autocites-arg" }] } }, match: "((?:\\([^)]*\\)){0,2})((?:\\[[^\\]]*\\]){0,2})(\\{)([\\p{Alphabetic}\\p{Number}_:.-]+)(\\})(.*)" }] }, "begin-env-tokenizer": { captures: { 1: { name: "support.function.be.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 4: { name: "variable.parameter.function.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, 6: { name: "punctuation.definition.arguments.optional.begin.latex" }, 7: { patterns: [{ include: "$self" }] }, 8: { name: "punctuation.definition.arguments.optional.end.latex" }, 9: { name: "punctuation.definition.arguments.begin.latex" }, 10: { name: "variable.parameter.function.latex" }, 11: { name: "punctuation.definition.arguments.end.latex" } }, match: "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)([^\\]]*)(\\])){,2}(?:(\\{)([^{}]*)(\\}))?" }, "definition-label": { begin: "((\\\\)z?label)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "keyword.control.label.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { patterns: [{ include: "#optional-arg-bracket" }] }, 4: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.definition.label.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}\\.,:/*!^_-]", name: "variable.parameter.definition.label.latex" }] }, "multiline-optional-arg": { begin: "\\G\\[", beginCaptures: { 0: { name: "punctuation.definition.arguments.optional.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "\\]", endCaptures: { 0: { name: "punctuation.definition.arguments.optional.end.latex" } }, name: "meta.parameter.optional.latex", patterns: [{ include: "$self" }] }, "multiline-optional-arg-no-highlight": { begin: "\\G\\[", beginCaptures: { 0: { name: "punctuation.definition.arguments.optional.begin.latex" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.arguments.optional.end.latex" } }, name: "meta.parameter.optional.latex", patterns: [{ include: "$self" }] }, "optional-arg-angle-no-highlight": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "punctuation.definition.arguments.optional.end.latex" } }, match: "(<)[^<]*?(>)", name: "meta.parameter.optional.latex" }] }, "optional-arg-bracket": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.optional.end.latex" } }, match: "(\\[)([^\\[]*?)(\\])", name: "meta.parameter.optional.latex" }] }, "optional-arg-bracket-no-highlight": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "punctuation.definition.arguments.optional.end.latex" } }, match: "(\\[)[^\\[]*?(\\])", name: "meta.parameter.optional.latex" }] }, "optional-arg-parenthesis": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "variable.parameter.function.latex" }, 3: { name: "punctuation.definition.arguments.optional.end.latex" } }, match: "(\\()([^(]*?)(\\))", name: "meta.parameter.optional.latex" }] }, "optional-arg-parenthesis-no-highlight": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "punctuation.definition.arguments.optional.end.latex" } }, match: "(\\()[^(]*?(\\))", name: "meta.parameter.optional.latex" }] } }, scopeName: "text.tex.latex", embeddedLangs: ["tex", "shellscript", "css", "gnuplot", "haskell", "html", "java", "julia", "javascript", "lua", "python", "ruby", "rust", "typescript", "xml", "yaml", "scala"] });
54
- var T = [
55
- ...x,
56
- ...a,
57
- ...i,
58
- ...y,
59
- ...o,
60
- ...r,
61
- ...l,
62
- ...C,
63
- ...t,
64
- ...s,
65
- ...n,
66
- ...u,
67
- ...m,
68
- ...d,
69
- ...g,
70
- ...b,
71
- ...w,
72
- _
73
- ];
74
- export {
75
- T as default
76
- };