@yaoshu-ai/ai-chat 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +448 -0
  3. package/dist/1.png +0 -0
  4. package/dist/2.png +0 -0
  5. package/dist/RenderContent-Dlqka7tn.js +33786 -0
  6. package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue_false-HdL4xm5U.js +5 -0
  7. package/dist/__vite-optional-peer-dep_vue-i18n_markstream-vue_false-B9Pwe5kz.js +5 -0
  8. package/dist/_arrayEach-CWzCztxB.js +44 -0
  9. package/dist/abap-Y8Dl9g_6.js +6 -0
  10. package/dist/actionscript-3-DQVEcJUW.js +6 -0
  11. package/dist/ada-vP6ak0IW.js +6 -0
  12. package/dist/ai-chat.css +1 -0
  13. package/dist/andromeeda-BbmzSJq1.js +4 -0
  14. package/dist/angular-html-DPB4Rf0C.js +32 -0
  15. package/dist/angular-ts-CTOR2ofC.js +21 -0
  16. package/dist/apache-BUjz-sD2.js +6 -0
  17. package/dist/apex-OyTfjCYK.js +6 -0
  18. package/dist/apl-CjNiDgad.js +16 -0
  19. package/dist/applescript-BPx7YFFu.js +6 -0
  20. package/dist/ara-Z2fSOxSw.js +6 -0
  21. package/dist/arc-B1p3jPmf.js +83 -0
  22. package/dist/architecture-U656AL7Q-BbBZWZnv.js +5 -0
  23. package/dist/architectureDiagram-VXUJARFQ-o3qI6Hfe.js +4662 -0
  24. package/dist/asciidoc-C1T9ziH6.js +6 -0
  25. package/dist/asm-BTWLY5ym.js +6 -0
  26. package/dist/assets/_basePickBy-Cpv34cvw.js +151 -0
  27. package/dist/assets/_baseUniq-DcdXmdC4.js +614 -0
  28. package/dist/assets/arc-B0v8Xerj.js +83 -0
  29. package/dist/assets/architectureDiagram-VXUJARFQ-CuYvJnXX.js +4662 -0
  30. package/dist/assets/blockDiagram-VD42YOAC-BxZitMjG.js +2262 -0
  31. package/dist/assets/c4Diagram-YG6GDRKO-ZsN99P-D.js +1580 -0
  32. package/dist/assets/channel-d_ygJPeO.js +5 -0
  33. package/dist/assets/chunk-4BX2VUAB-96IoYLlF.js +8 -0
  34. package/dist/assets/chunk-55IACEB6-gENcR4HP.js +8 -0
  35. package/dist/assets/chunk-B4BG7PRW-BOypo6sC.js +1375 -0
  36. package/dist/assets/chunk-DI55MBZ5-DHEKLVmM.js +1370 -0
  37. package/dist/assets/chunk-FMBD7UC4-CZ-mW5Zk.js +19 -0
  38. package/dist/assets/chunk-QN33PNHL-BeoL9V94.js +19 -0
  39. package/dist/assets/chunk-QZHKN3VN-DedBAq5I.js +15 -0
  40. package/dist/assets/chunk-TZMSLE5B-Bg9wRIeU.js +64 -0
  41. package/dist/assets/classDiagram-2ON5EDUG-OqXlgyvI.js +19 -0
  42. package/dist/assets/classDiagram-v2-WZHVMYZB-OqXlgyvI.js +19 -0
  43. package/dist/assets/clone-D3-moMc7.js +8 -0
  44. package/dist/assets/cose-bilkent-S5V4N54A-CrU20ri2.js +2607 -0
  45. package/dist/assets/cytoscape.esm-DfdJODL8.js +18735 -0
  46. package/dist/assets/dagre-6UL2VRFP-BMNAUhAh.js +444 -0
  47. package/dist/assets/defaultLocale-57BWB7pV.js +171 -0
  48. package/dist/assets/diagram-PSM6KHXK-DDXdcx9h.js +535 -0
  49. package/dist/assets/diagram-QEK2KX5R-DaOkv31-.js +220 -0
  50. package/dist/assets/diagram-S2PKOQOG-Kk0nHneV.js +145 -0
  51. package/dist/assets/erDiagram-Q2GNP2WA-DVKOxqjl.js +841 -0
  52. package/dist/assets/flowDiagram-NV44I4VS-BoWYkdqy.js +1620 -0
  53. package/dist/assets/ganttDiagram-LVOFAZNH-Dvgzms7S.js +2500 -0
  54. package/dist/assets/gitGraphDiagram-NY62KEGX-Bna3uwG8.js +702 -0
  55. package/dist/assets/graph-BLzmbjIy.js +247 -0
  56. package/dist/assets/infoDiagram-ER5ION4S-Did3mqZL.js +27 -0
  57. package/dist/assets/init-DjUOC4st.js +16 -0
  58. package/dist/assets/journeyDiagram-XKPGCS4Q-C3BPCBal.js +834 -0
  59. package/dist/assets/kanban-definition-3W4ZIXB7-Cf5SUn-1.js +719 -0
  60. package/dist/assets/katex-SsTUIUTC.js +11688 -0
  61. package/dist/assets/layout-B00gooay.js +1335 -0
  62. package/dist/assets/linear-DVxTWzAi.js +259 -0
  63. package/dist/assets/mindmap-definition-VGOIOE7T-Q-_IrD51.js +785 -0
  64. package/dist/assets/ordinal-DfAQgscy.js +61 -0
  65. package/dist/assets/pieDiagram-ADFJNKIX-LygDPC1s.js +165 -0
  66. package/dist/assets/quadrantDiagram-AYHSOK5B-77SStCdg.js +1024 -0
  67. package/dist/assets/requirementDiagram-UZGBJVZJ-CMlgwZi9.js +850 -0
  68. package/dist/assets/sankeyDiagram-TZEHDZUN-DnlAgtvb.js +811 -0
  69. package/dist/assets/sequenceDiagram-WL72ISMW-Cf4BDgIS.js +2511 -0
  70. package/dist/assets/stateDiagram-FKZM4ZOC-CBGqngi4.js +267 -0
  71. package/dist/assets/stateDiagram-v2-4FDKWEC3-BZTJjZnO.js +18 -0
  72. package/dist/assets/timeline-definition-IT6M3QCI-DVwyHSfZ.js +795 -0
  73. package/dist/assets/treemap-KMMF4GRG-Bx903ckh.js +12994 -0
  74. package/dist/assets/xychartDiagram-PRI3JC2R-pvSCMiXN.js +1341 -0
  75. package/dist/astro-CFFExE8Q.js +18 -0
  76. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  77. package/dist/awk-Fb0P9dkn.js +6 -0
  78. package/dist/ayu-dark-DJoqd4M9.js +4 -0
  79. package/dist/ayu-light-BzXEJRJ-.js +4 -0
  80. package/dist/ayu-mirage-BJ2oZGzi.js +4 -0
  81. package/dist/ballerina-oZK-YekG.js +6 -0
  82. package/dist/bat-0FvbqU9S.js +6 -0
  83. package/dist/beancount-DqJEb89h.js +6 -0
  84. package/dist/berry-DODBq_Ff.js +6 -0
  85. package/dist/bibtex-EULQRLY5.js +6 -0
  86. package/dist/bicep-BorU73w0.js +6 -0
  87. package/dist/bird2-CraR6qSn.js +6 -0
  88. package/dist/blade-D0HyNvCw.js +20 -0
  89. package/dist/blockDiagram-VD42YOAC-DahK-Cj4.js +2364 -0
  90. package/dist/bsl-NkNNwerW.js +8 -0
  91. package/dist/c-eeMepfLm.js +6 -0
  92. package/dist/c3-BY5XW5ym.js +6 -0
  93. package/dist/c4Diagram-YG6GDRKO-DEyHjCYx.js +1580 -0
  94. package/dist/cadence-02UX7mW8.js +6 -0
  95. package/dist/cairo-DM6WF2e3.js +8 -0
  96. package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
  97. package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
  98. package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
  99. package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
  100. package/dist/channel-3keaKHdb.js +5 -0
  101. package/dist/chunk-4BX2VUAB-DAiVtoK8.js +8 -0
  102. package/dist/chunk-55IACEB6-CaBF4LGk.js +8 -0
  103. package/dist/chunk-B4BG7PRW-BRwDg4Nv.js +1375 -0
  104. package/dist/chunk-DI55MBZ5-DSCddmFg.js +1370 -0
  105. package/dist/chunk-FMBD7UC4-DeD5V5dF.js +19 -0
  106. package/dist/chunk-QN33PNHL-DtsdNsBa.js +19 -0
  107. package/dist/chunk-QZHKN3VN-BjOYbdQP.js +15 -0
  108. package/dist/chunk-TZMSLE5B-BwhJBSuO.js +64 -0
  109. package/dist/clarity-PKm5CwqM.js +6 -0
  110. package/dist/classDiagram-2ON5EDUG-C0IaF0ZL.js +16 -0
  111. package/dist/classDiagram-v2-WZHVMYZB-C0IaF0ZL.js +16 -0
  112. package/dist/clojure-CXJfHrL3.js +6 -0
  113. package/dist/cmake-BJz8BOTU.js +6 -0
  114. package/dist/cobol-DBolczTz.js +10 -0
  115. package/dist/codeowners-Bt9yU6NX.js +6 -0
  116. package/dist/codeql-DHkodjjI.js +6 -0
  117. package/dist/coffee-DGBR_nr_.js +8 -0
  118. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  119. package/dist/coq-B0L9upzn.js +6 -0
  120. package/dist/cose-bilkent-S5V4N54A-CRxUs4km.js +2609 -0
  121. package/dist/cpp-Cj177cuW.js +18 -0
  122. package/dist/crystal-CRJyc4G-.js +18 -0
  123. package/dist/csharp-CCgA4A09.js +6 -0
  124. package/dist/css-CECN5uSL.js +6 -0
  125. package/dist/csv-CmYOceLb.js +6 -0
  126. package/dist/cue-ZzumE7IT.js +6 -0
  127. package/dist/cypher-jpdmjtA6.js +6 -0
  128. package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
  129. package/dist/d-CBagWSwH.js +6 -0
  130. package/dist/d2_markstream-vue_false-BfRvcluz.js +5 -0
  131. package/dist/dagre-6UL2VRFP-dTDl1Tgv.js +442 -0
  132. package/dist/dark-plus-pUHDTVV0.js +4 -0
  133. package/dist/dart-6ObCrKr9.js +6 -0
  134. package/dist/dax-CcDT-8dH.js +6 -0
  135. package/dist/defaultLocale-D7EN2tov.js +171 -0
  136. package/dist/desktop-B93p9R9O.js +6 -0
  137. package/dist/diagram-PSM6KHXK-Dh-BBqVQ.js +531 -0
  138. package/dist/diagram-QEK2KX5R-CPqYwhdb.js +217 -0
  139. package/dist/diagram-S2PKOQOG-CapIa3n7.js +142 -0
  140. package/dist/diff-BxzP2J8R.js +6 -0
  141. package/dist/docker-CsHqm9tx.js +6 -0
  142. package/dist/dotenv-BMjVjUL1.js +6 -0
  143. package/dist/dracula-BtZx2Kac.js +4 -0
  144. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  145. package/dist/dream-maker-PAx17jaB.js +6 -0
  146. package/dist/echarts-gl.min.js +1 -0
  147. package/dist/echarts.min.js +46 -0
  148. package/dist/edge-BYQkOzbF.js +12 -0
  149. package/dist/elixir-Dh036GMp.js +8 -0
  150. package/dist/elm-BtNbw_Cd.js +8 -0
  151. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  152. package/dist/erDiagram-Q2GNP2WA-B8d80SOq.js +841 -0
  153. package/dist/erb-ScVOXVpH.js +10 -0
  154. package/dist/erlang-DNcDT8Hi.js +8 -0
  155. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  156. package/dist/everforest-light-BbXl82Em.js +4 -0
  157. package/dist/favicon.svg +1 -0
  158. package/dist/fennel-N4WcXuKx.js +6 -0
  159. package/dist/fish-BTDEUgqH.js +6 -0
  160. package/dist/flowDiagram-NV44I4VS-Wtd6x8Dz.js +1620 -0
  161. package/dist/fluent-BMXUxfv1.js +6 -0
  162. package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
  163. package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
  164. package/dist/fsharp-CYOiIVNx.js +8 -0
  165. package/dist/ganttDiagram-LVOFAZNH-PIGXq8YG.js +2506 -0
  166. package/dist/gdresource-CvCIUjhi.js +10 -0
  167. package/dist/gdscript-DSAxJ_aS.js +6 -0
  168. package/dist/gdshader-Bk8fF6yr.js +6 -0
  169. package/dist/genie-DzUvd7U9.js +6 -0
  170. package/dist/geo.json +1 -0
  171. package/dist/gherkin-DHRaV0YP.js +6 -0
  172. package/dist/git-commit-Bd32YZ0K.js +8 -0
  173. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  174. package/dist/gitGraph-F6HP7TQM-CIGXYS91.js +5 -0
  175. package/dist/gitGraphDiagram-NY62KEGX-BDnzMpYT.js +699 -0
  176. package/dist/github-dark-DenFmJkN.js +4 -0
  177. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  178. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  179. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  180. package/dist/github-light-JYsPkUQd.js +4 -0
  181. package/dist/github-light-default-D99KPAby.js +4 -0
  182. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  183. package/dist/gleam-Bv284lvN.js +6 -0
  184. package/dist/glimmer-js-DkxNrfPT.js +14 -0
  185. package/dist/glimmer-ts-D6YZEmK_.js +14 -0
  186. package/dist/glsl-CkUcVZNK.js +8 -0
  187. package/dist/gn-XtJxiLa4.js +6 -0
  188. package/dist/gnuplot-yPG9-sE_.js +6 -0
  189. package/dist/go-CvFNMTvu.js +6 -0
  190. package/dist/graph-BJDrjORS.js +244 -0
  191. package/dist/graphql-CBu2ehBn.js +14 -0
  192. package/dist/groovy-CJQTphOW.js +6 -0
  193. package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  194. package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  195. package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
  196. package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
  197. package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
  198. package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  199. package/dist/hack-ItRNKiEb.js +10 -0
  200. package/dist/haml-NZLVzu_R.js +10 -0
  201. package/dist/handlebars-mxStpSE7.js +14 -0
  202. package/dist/haskell-WeIwNIP6.js +6 -0
  203. package/dist/haxe-TztHsm5T.js +6 -0
  204. package/dist/hcl-D438OF-I.js +6 -0
  205. package/dist/hjson-DYBUbqOl.js +6 -0
  206. package/dist/hlsl-Bk8TCZNL.js +6 -0
  207. package/dist/horizon-CJQ10nlf.js +4 -0
  208. package/dist/horizon-bright-2WzHy-Vo.js +4 -0
  209. package/dist/houston-BDYrDoDW.js +4 -0
  210. package/dist/html-B50bmoVb.js +10 -0
  211. package/dist/html-derivative-C6bxFbFW.js +8 -0
  212. package/dist/http-DLvAkeD-.js +14 -0
  213. package/dist/hurl-CgkFN90t.js +12 -0
  214. package/dist/hxml-GbqSQCLa.js +8 -0
  215. package/dist/hy-Brt5EZ7-.js +6 -0
  216. package/dist/imba-CimUv-Uh.js +6 -0
  217. package/dist/index-C8Q6O4II.js +513 -0
  218. package/dist/index-DAiOgSvo.js +10210 -0
  219. package/dist/index-qjiatRMM.js +74370 -0
  220. package/dist/index.es.js +12 -0
  221. package/dist/index2-Pjnp80bi.js +70 -0
  222. package/dist/index3-Bhg7Q86T.js +70 -0
  223. package/dist/index4-5xarPQV7.js +544 -0
  224. package/dist/index5-DYxqqGmv.js +592 -0
  225. package/dist/index6-DXyezjvJ.js +196 -0
  226. package/dist/index7-IFig1gg1.js +217 -0
  227. package/dist/info-NVLQJR56-CFDwNFH-.js +5 -0
  228. package/dist/infoDiagram-ER5ION4S-ClOwLtgG.js +24 -0
  229. package/dist/infographic_markstream-vue_false-BfsmcXxk.js +5 -0
  230. package/dist/ini-BZIuRIvJ.js +6 -0
  231. package/dist/init-DjUOC4st.js +16 -0
  232. package/dist/java-DY6VlHhP.js +6 -0
  233. package/dist/javascript-C25yR2R2.js +6 -0
  234. package/dist/jinja-CFW5uAwY.js +11 -0
  235. package/dist/jison-DdreslRX.js +8 -0
  236. package/dist/journeyDiagram-XKPGCS4Q-_UZpi048.js +834 -0
  237. package/dist/json-DxJze_jm.js +6 -0
  238. package/dist/json5-BT4Fjg39.js +6 -0
  239. package/dist/jsonc-CHjZD8gR.js +6 -0
  240. package/dist/jsonl-BGuvDmy9.js +6 -0
  241. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  242. package/dist/jssm-BcADi6EI.js +6 -0
  243. package/dist/jsx-BtKADgXT.js +6 -0
  244. package/dist/julia-CZiKXNNP.js +16 -0
  245. package/dist/just-CEK2SJ_k.js +18 -0
  246. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  247. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  248. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  249. package/dist/kanban-definition-3W4ZIXB7-Cutzg6yp.js +719 -0
  250. package/dist/katex-SsTUIUTC.js +11688 -0
  251. package/dist/kdl-BNOv9TC3.js +6 -0
  252. package/dist/kotlin-ByBMgTeR.js +6 -0
  253. package/dist/kusto-DH_XitHS.js +6 -0
  254. package/dist/languageIconExtended-OLNeqZ3A.js +119 -0
  255. package/dist/laserwave-6a00oqik.js +4 -0
  256. package/dist/latex-B8Egmqc5.js +8 -0
  257. package/dist/layout-PTzgkkQP.js +1223 -0
  258. package/dist/lean-BnVxaZxY.js +6 -0
  259. package/dist/less-B1GLI2Di.js +6 -0
  260. package/dist/light-plus-CZuVqSLX.js +4 -0
  261. package/dist/linear-Bye2JJhy.js +259 -0
  262. package/dist/liquid-CHzkx3jT.js +14 -0
  263. package/dist/llvm-Bk2XctFf.js +6 -0
  264. package/dist/log-Al8wyEFV.js +6 -0
  265. package/dist/logo-DBa4JDzV.js +6 -0
  266. package/dist/lua-Bp3IRv7I.js +8 -0
  267. package/dist/luau-UQyhudEE.js +6 -0
  268. package/dist/make-CsMclxtr.js +6 -0
  269. package/dist/markdown-CrScaQ96.js +6 -0
  270. package/dist/marko-CJBA24Ri.js +14 -0
  271. package/dist/material-theme-D6KBX41T.js +4 -0
  272. package/dist/material-theme-darker-CkRroheE.js +4 -0
  273. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  274. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  275. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  276. package/dist/matlab-BOAaUVP0.js +6 -0
  277. package/dist/mdc-C9YSUwVC.js +12 -0
  278. package/dist/mdx-BOhZZUJ8.js +6 -0
  279. package/dist/mermaid-C3rz4dYh.js +6 -0
  280. package/dist/mermaid-parser.core-C86xHHvY.js +13249 -0
  281. package/dist/mermaid.core-BIhT9VUC.js +14709 -0
  282. package/dist/mhchem-XHl7cef5.js +2306 -0
  283. package/dist/min-dark-C7ak0t6c.js +4 -0
  284. package/dist/min-light-CKFxVcPp.js +4 -0
  285. package/dist/mindmap-definition-VGOIOE7T-l17eTXZb.js +784 -0
  286. package/dist/mipsasm-CTx18fBl.js +6 -0
  287. package/dist/mojo-EIZIZRTQ.js +6 -0
  288. package/dist/monokai-C1KBYcO0.js +4 -0
  289. package/dist/moonbit-B1TV0fG3.js +6 -0
  290. package/dist/move-Db4ltDq1.js +6 -0
  291. package/dist/narrat-DmhDCBs-.js +6 -0
  292. package/dist/nextflow-47kAzSl1.js +8 -0
  293. package/dist/nextflow-groovy-Drz_2V0j.js +6 -0
  294. package/dist/nginx-D7O4WoB1.js +8 -0
  295. package/dist/night-owl-Bm2rzalh.js +4 -0
  296. package/dist/night-owl-light-CBI5u5kw.js +4 -0
  297. package/dist/nim-QAjRdh9w.js +20 -0
  298. package/dist/nix-fTRXMGic.js +9 -0
  299. package/dist/nord-CC5OiUXg.js +4 -0
  300. package/dist/nushell-BGCPRlV5.js +6 -0
  301. package/dist/objective-c-Itk8tzmv.js +6 -0
  302. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  303. package/dist/ocaml-eSVK32Eg.js +6 -0
  304. package/dist/odin-BItnF517.js +6 -0
  305. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  306. package/dist/one-light-LkMrt1Cf.js +4 -0
  307. package/dist/openscad-Sp5uZ6f2.js +6 -0
  308. package/dist/ordinal-DfAQgscy.js +61 -0
  309. package/dist/packet-BFZMPI3H-c2t_1f8D.js +5 -0
  310. package/dist/pascal-xy8pJNns.js +6 -0
  311. package/dist/perl-DkVrgJBg.js +16 -0
  312. package/dist/php-BIzsF_5x.js +18 -0
  313. package/dist/pie-7BOR55EZ-CVvzPUU7.js +5 -0
  314. package/dist/pieDiagram-ADFJNKIX-C01Py6L8.js +161 -0
  315. package/dist/pkl-C-zSNmaA.js +6 -0
  316. package/dist/plastic-CSTz3KZp.js +4 -0
  317. package/dist/plsql-pVbGZfOv.js +6 -0
  318. package/dist/po-BNfHvqmm.js +6 -0
  319. package/dist/poimandres-C-VADXHD.js +4 -0
  320. package/dist/polar-CAZahv3u.js +6 -0
  321. package/dist/postcss-05aHdL-n.js +6 -0
  322. package/dist/powerquery-DI9HkTvs.js +6 -0
  323. package/dist/powershell-Clc4ydu-.js +6 -0
  324. package/dist/prisma-FZjmVtSl.js +6 -0
  325. package/dist/prolog-C5-yg4TO.js +6 -0
  326. package/dist/proto-C7QgialS.js +6 -0
  327. package/dist/pug-XOw9Q1Ho.js +12 -0
  328. package/dist/puppet-CUJHmnxV.js +6 -0
  329. package/dist/purescript-rUfGld-4.js +6 -0
  330. package/dist/python-BFNSHbwJ.js +6 -0
  331. package/dist/qml-rTNXsquU.js +8 -0
  332. package/dist/qmldir-BInDYbpo.js +6 -0
  333. package/dist/qss-AeJTysr_.js +6 -0
  334. package/dist/quadrantDiagram-AYHSOK5B-sypB1aPG.js +1022 -0
  335. package/dist/r-CSmzDPi7.js +6 -0
  336. package/dist/racket-B83wSAja.js +6 -0
  337. package/dist/radar-NHE76QYJ-GJjAzk_L.js +5 -0
  338. package/dist/raku-nEQ4ZJJ7.js +6 -0
  339. package/dist/razor-Ci8D0dQK.js +10 -0
  340. package/dist/red-7y8PH7HH.js +4 -0
  341. package/dist/reg-m_s_Kiip.js +6 -0
  342. package/dist/regexp-BazyLpPg.js +6 -0
  343. package/dist/rel-BcRfyd6Q.js +6 -0
  344. package/dist/requirementDiagram-UZGBJVZJ-Cs95WEDy.js +850 -0
  345. package/dist/riscv-Ce8MAQLP.js +6 -0
  346. package/dist/ron-DCEEQypA.js +6 -0
  347. package/dist/rose-pine-BKc3yVeu.js +4 -0
  348. package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
  349. package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
  350. package/dist/rosmsg-Cz0w1km8.js +6 -0
  351. package/dist/rst-DM32Wy3O.js +22 -0
  352. package/dist/ruby-BeqCs27h.js +30 -0
  353. package/dist/rust-CLzF9zIN.js +6 -0
  354. package/dist/safeRaf-I3a3-dyJ.js +10 -0
  355. package/dist/sankeyDiagram-TZEHDZUN-BN3bNFt9.js +810 -0
  356. package/dist/sas-fpEvgATw.js +8 -0
  357. package/dist/sass-DxHp5rTx.js +6 -0
  358. package/dist/scala-D4grkFkl.js +6 -0
  359. package/dist/scheme-BCRWuEm4.js +6 -0
  360. package/dist/scss-B1FaCqwR.js +8 -0
  361. package/dist/sdbl-B7T8abf4.js +6 -0
  362. package/dist/sequenceDiagram-WL72ISMW-CZ6inTco.js +2511 -0
  363. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  364. package/dist/shellscript-InADTalH.js +6 -0
  365. package/dist/shellsession-DiDJNQdy.js +8 -0
  366. package/dist/slack-dark-i7wN4OET.js +4 -0
  367. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  368. package/dist/smalltalk-BlI1_OkM.js +6 -0
  369. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  370. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  371. package/dist/solarized-light-BheCkDPT.js +4 -0
  372. package/dist/solidity-DUWnFhS6.js +6 -0
  373. package/dist/soy-C1-6njHa.js +8 -0
  374. package/dist/sparql-B0KWFEri.js +8 -0
  375. package/dist/splunk-CRXR8A9s.js +6 -0
  376. package/dist/sql-Cn_v3PB0.js +6 -0
  377. package/dist/ssh-config-DP-hNVbF.js +6 -0
  378. package/dist/stata-B8c5fTjX.js +8 -0
  379. package/dist/stateDiagram-FKZM4ZOC-BjHpkttt.js +264 -0
  380. package/dist/stateDiagram-v2-4FDKWEC3-SoFWin9i.js +16 -0
  381. package/dist/stylus-CyKEU1Ej.js +6 -0
  382. package/dist/surrealql-CQi7GQN7.js +8 -0
  383. package/dist/svelte-rYri41WT.js +14 -0
  384. package/dist/swift-DJpUqPLg.js +6 -0
  385. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  386. package/dist/system-verilog-BCm7smPJ.js +6 -0
  387. package/dist/systemd-C-4qm6XH.js +6 -0
  388. package/dist/talonscript-CFF3LF_O.js +6 -0
  389. package/dist/tasl-Cg_WBUAe.js +6 -0
  390. package/dist/tcl-DN7buRTF.js +6 -0
  391. package/dist/templ-Crs9Ui8q.js +12 -0
  392. package/dist/terraform-DGvcn9zM.js +6 -0
  393. package/dist/tex-AHxmLTL0.js +8 -0
  394. package/dist/timeline-definition-IT6M3QCI-axILemxx.js +795 -0
  395. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  396. package/dist/toml-DY62mUL_.js +6 -0
  397. package/dist/treemap-KMMF4GRG-DLUO0usq.js +5 -0
  398. package/dist/ts-tags-BUclWxCG.js +41 -0
  399. package/dist/tsv-BtvSkaG0.js +6 -0
  400. package/dist/tsx-B8rCNbgL.js +6 -0
  401. package/dist/turtle-_H59FV7D.js +6 -0
  402. package/dist/twig-DwV2Fi4L.js +18 -0
  403. package/dist/typescript-RycA9KXf.js +6 -0
  404. package/dist/typespec-DWqp-kUU.js +6 -0
  405. package/dist/typst-D_1QKWns.js +6 -0
  406. package/dist/v-BPCNiyYe.js +6 -0
  407. package/dist/vala-uxaPR7d1.js +6 -0
  408. package/dist/vb-D8_c5-KN.js +6 -0
  409. package/dist/verilog-B-bybjPF.js +6 -0
  410. package/dist/vesper-BckBta1U.js +4 -0
  411. package/dist/vhdl-CUlNa8ac.js +6 -0
  412. package/dist/viml-DsfA-sWm.js +6 -0
  413. package/dist/vitesse-black-BoGvW84i.js +4 -0
  414. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  415. package/dist/vitesse-light-CcmG315c.js +4 -0
  416. package/dist/vue-DXEmyXn9.js +31 -0
  417. package/dist/vue-html-j9xNEdu3.js +8 -0
  418. package/dist/vue-vine-D41-N99t.js +18 -0
  419. package/dist/vyper-CPQuu50u.js +6 -0
  420. package/dist/wasm-BBXxrAl7.js +6 -0
  421. package/dist/wasm-DQxwEHae.js +7 -0
  422. package/dist/wenyan-pbVjoM9_.js +6 -0
  423. package/dist/wgsl-DY4iK1q1.js +6 -0
  424. package/dist/wikitext-Z-MoUasO.js +6 -0
  425. package/dist/wit-CQMQOlTg.js +6 -0
  426. package/dist/wolfram-Dz4KXISs.js +6 -0
  427. package/dist/xml-C2J0sS9M.js +8 -0
  428. package/dist/xsl-BmSZphgC.js +8 -0
  429. package/dist/xychartDiagram-PRI3JC2R-C7nmWmlk.js +1340 -0
  430. package/dist/yaml-DaO7k5B1.js +6 -0
  431. package/dist/zenscript-CxBjpf9c.js +6 -0
  432. package/dist/zig-Vm0PO9wB.js +6 -0
  433. package/package.json +134 -0
@@ -0,0 +1,6 @@
1
+ const e = Object.freeze(JSON.parse('{"displayName":"GN","name":"gn","patterns":[{"include":"#expression"}],"repository":{"boolean":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.gn"},"builtins":{"patterns":[{"match":"\\\\b(action|action_foreach|bundle_data|copy|create_bundle|executable|generated_file|group|loadable_module|rust_library|rust_proc_macro|shared_library|source_set|static_library|target)\\\\b","name":"support.function.gn"},{"match":"\\\\b(assert|config|declare_args|defined|exec_script|filter_exclude|filter_include|filter_labels_exclude|filter_labels_include|foreach|forward_variables_from|get_label_info|get_path_info|get_target_outputs|getenv|import|label_matches|not_needed|pool|print|print_stack_trace|process_file_template|read_file|rebase_path|set_default_toolchain|set_defaults|split_list|string_join|string_replace|string_split|template|tool|toolchain|write_file)\\\\b","name":"support.function.gn"},{"match":"\\\\b(current_cpu|current_os|current_toolchain|default_toolchain|gn_version|host_cpu|host_os|invoker|python_path|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_name|target_os|target_out_dir)\\\\b","name":"variable.language.gn"},{"match":"\\\\b(aliased_deps|all_dependent_configs|allow_circular_includes_from|arflags|args|asmflags|assert_no_deps|bridge_header|bundle_contents_dir|bundle_deps_filter|bundle_executable_dir|bundle_resources_dir|bundle_root_dir|cflags|cflags_cc??|cflags_objcc??|check_includes|code_signing_args|code_signing_outputs|code_signing_script|code_signing_sources|complete_static_lib|configs|contents|crate_name|crate_root|crate_type|data|data_deps|data_keys|defines|depfile|deps|externs|framework_dirs|frameworks|friend|gen_deps|include_dirs|inputs|ldflags|lib_dirs|libs|metadata|mnemonic|module_name|output_conversion|output_dir|output_extension|output_name|output_prefix_override|outputs|partial_info_plist|pool|post_processing_args|post_processing_outputs|post_processing_script|post_processing_sources|precompiled_header|precompiled_header_type|precompiled_source|product_type|public|public_configs|public_deps|rebase|response_file_contents|rustflags|script|sources|swiftflags|testonly|transparent|visibility|walk_keys|weak_frameworks|write_runtime_deps|xcasset_compiler_flags|xcode_extra_attributes|xcode_test_application_name)\\\\b","name":"variable.language.gn"}]},"call":{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.gn"}},"end":"\\\\)","patterns":[{"include":"#expression"}]},"comment":{"begin":"#","end":"$","name":"comment.line.number-sign.gn"},"expression":{"patterns":[{"include":"#keywords"},{"include":"#builtins"},{"include":"#call"},{"include":"#literals"},{"include":"#identifier"},{"include":"#operators"},{"include":"#comment"}]},"identifier":{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.general.gn"},"keywords":{"match":"\\\\b(if|else)\\\\b","name":"keyword.control.if.gn"},"literals":{"patterns":[{"include":"#string"},{"include":"#number"},{"include":"#boolean"}]},"number":{"match":"\\\\b-?\\\\d+\\\\b","name":"constant.numeric.gn"},"operators":{"match":"\\\\b(\\\\+=??|==|!=|-=??|<=??|[!=>]|>=|&&|\\\\|\\\\|\\\\.)\\\\b","name":"keyword.operator.gn"},"string":{"begin":"\\"","end":"\\"","name":"string.quoted.double.gn","patterns":[{"match":"\\\\\\\\[\\"$\\\\\\\\]","name":"constant.character.escape.gn"},{"match":"\\\\$0x\\\\h\\\\h","name":"constant.character.hex.gn"},{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.gn"}},"contentName":"meta.embedded.substitution.gn","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.gn"}},"patterns":[{"include":"#expression"}]},{"captures":{"1":{"name":"punctuation.definition.template-expression.begin.gn"},"2":{"name":"meta.embedded.substitution.gn variable.general.gn"}},"match":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)"}]}},"scopeName":"source.gn"}')), t = [
2
+ e
3
+ ];
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1,6 @@
1
+ const n = Object.freeze(JSON.parse(`{"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-Z_a-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":"\\\\bdefined\\\\b","name":"invalid.deprecated.function.gnuplot"},{"match":"\\\\b(?:abs|acosh??|airy|arg|asinh??|atan2??|atanh|EllipticK|EllipticE|EllipticPi|besj0|besj1|besy0|besy1|ceil|cosh??|erfc??|exp|expint|floor|gamma|ibeta|inverf|igamma|imag|invnorm|int|lambertw|lgamma|log|log10|norm|rand|real|sgn|sinh??|sqrt|tanh??|voigt|cerf|cdawson|faddeeva|erfi|VP)\\\\b","name":"support.function.math.gnuplot"},{"match":"\\\\b(?:gprintf|sprintf|strlen|strstrt|substr|strftime|strptime|system|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":"\\\\bFIT_(?:LIMIT|MAXITER|START_LAMBDA|LAMBDA_FACTOR|SKIP|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":"(\\\\$[0-9]+)\\\\b","name":"support.constant.columnindex.gnuplot"},"Command":{"patterns":[{"begin":"\\\\bupdate\\\\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-Z_a-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-Z_a-z]\\\\w*)\\\\s*(<<)\\\\s*([A-Z_a-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-Z_a-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-Z_a-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-Z_a-z]\\\\w*)\\\\s*((\\\\()\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(?:(,)\\\\s*([A-Z_a-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-Z_a-z]\\\\w*)","beginCaptures":{"1":{"patterns":[{"include":"#SpecialVariable"}]}},"end":"(?=([#;]|\\\\\\\\(?!\\\\n)|(?<!\\\\\\\\)\\\\n$))","patterns":[{"include":"#Expression"}]},"NumberLiteral":{"patterns":[{"match":"((\\\\b([0-9]+)|(?<!\\\\d)))(\\\\.[0-9]+)([Ee][-+]?[0-9]+)?(cm|in)?\\\\b","name":"constant.numeric.float.gnuplot"},{"match":"\\\\b([0-9]+)((([Ee][-+]?[0-9]+))\\\\b|(\\\\.([Ee][-+]?[0-9]+\\\\b)?))((?:cm|in)\\\\b)?","name":"constant.numeric.float.gnuplot"},{"match":"\\\\b(0[Xx]\\\\h+)(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[0-9]+)(cm|in)?\\\\b","name":"invalid.illegal.oct.gnuplot"},{"match":"\\\\b([0-9]+)(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|#)((\\\\h{6})|(\\\\h{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|[blrt]margin|margins|micro|minus(sign)?|mono(chrome)?|mouse|multiplot|nonlinear|object|offsets|origin|output|parametric|([pr])axis|pm3d|palette|pointintervalbox|pointsize|polar|print|psdir|size|style|surface|table|terminal|termoption|theta|tics|timestamp|timefmt|title|view|xyplane|zero|(no)?(m)?(x2??|y2??|z|cb|[rt])tics|(x2??|y2??|z|cb)data|(x2??|y2??|z|cb|r)label|(x2??|y2??|z|cb)dtics|(x2??|y2??|z|cb)mtics|(x2??|y2??|z|cb|[rtuv])range|(x2??|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-Z_a-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-Z_a-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"}`)), e = [
2
+ n
3
+ ];
4
+ export {
5
+ e as default
6
+ };
@@ -0,0 +1,6 @@
1
+ const e = Object.freeze(JSON.parse(`{"displayName":"Go","name":"go","patterns":[{"include":"#statements"}],"repository":{"after_control_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"(?<=\\\\brange\\\\b|;|\\\\bif\\\\b|\\\\bfor\\\\b|[<>]|<=|>=|==|!=|\\\\w[-%*+/]|\\\\w[-%*+/]=|\\\\|\\\\||&&)\\\\s*((?![]\\\\[]+)[-\\\\]!%*+./:<=>\\\\[_[:alnum:]]+)\\\\s*(?=\\\\{)"},"brackets":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"$self"}]}]},"built_in_functions":{"patterns":[{"match":"\\\\b(append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover|min|max|clear)\\\\b(?=\\\\()","name":"entity.name.function.support.builtin.go"},{"begin":"\\\\b(new)\\\\b(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#functions"},{"include":"#struct_variables_types"},{"include":"#support_functions"},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"\\\\w+","name":"entity.name.type.go"},{"include":"$self"}]},{"begin":"\\\\b(make)\\\\b(\\\\()((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?[]*\\\\[]+{0,1}(?:(?!\\\\bmap\\\\b)[.\\\\w]+)?(\\\\[(?:\\\\S+(?:,\\\\s*\\\\S+)*)?])?,?)?","beginCaptures":{"1":{"name":"entity.name.function.support.builtin.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"$self"}]}]},"comments":{"patterns":[{"begin":"(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"(\\\\*/)","endCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"name":"comment.block.go"},{"begin":"(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.go"}},"end":"\\\\n|$","name":"comment.line.double-slash.go"}]},"const_assignment":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.constant.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\bconst\\\\b)\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"begin":"(?<=\\\\bconst\\\\b)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.constant.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"include":"$self"}]}]},"delimiters":{"patterns":[{"match":",","name":"punctuation.other.comma.go"},{"match":"\\\\.(?!\\\\.\\\\.)","name":"punctuation.other.period.go"},{"match":":(?!=)","name":"punctuation.other.colon.go"}]},"double_parentheses_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<!\\\\w)(\\\\([]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?\\\\))(?=\\\\()"},"function_declaration":{"begin":"^\\\\b(func)\\\\b\\\\s*(\\\\([^)]+\\\\)\\\\s*)?(?:(\\\\w+)(?=[(\\\\[]))?","beginCaptures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"name":"variable.parameter.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(\\\\w+\\\\s+)?([*.\\\\w]+(?:\\\\[(?:[*.\\\\w]+(?:,\\\\s+)?)+{0,1}])?)"},{"include":"$self"}]}]},"3":{"patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.go"}]}},"end":"(?<=\\\\))\\\\s*((?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b)[-\\\\]*.\\\\[\\\\w]+)?\\\\s*(?=\\\\{)","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\))\\\\s*((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[-\\\\]*.<>\\\\[\\\\w]+\\\\s*(?:/[*/].*)?)$"},{"include":"$self"}]},"function_param_types":{"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+(?=(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"(?:(?<=\\\\()|^\\\\s*)((?:\\\\b\\\\w+,\\\\s*)+(?:/[*/].*)?)$"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?:[]*.\\\\[\\\\w]+{0,1}(?:\\\\bfunc\\\\b\\\\([^)]+{0,1}\\\\)(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*)+(?:[]*.\\\\[\\\\w]+|\\\\([^)]+{0,1}\\\\))?|(?:[]*\\\\[]+{0,1}[*.\\\\w]+(?:\\\\[[^]]+])?[*.\\\\w]+{0,1})+))"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"([.\\\\w]+)"},{"include":"$self"}]},"functions":{"begin":"\\\\b(func)\\\\b(?=\\\\()","beginCaptures":{"1":{"name":"keyword.function.go"}},"end":"(?<=\\\\))(\\\\s*(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+)?(\\\\s*(?:[]*\\\\[]+{0,1}[*.\\\\w]+)?(?:\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+]|\\\\([^)]+{0,1}\\\\))?[*.\\\\w]+{0,1}\\\\s*(?=\\\\{)|\\\\s*(?:[]*\\\\[]+{0,1}(?!\\\\bfunc\\\\b)[*.\\\\w]+(?:\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+])?[*.\\\\w]+{0,1}|\\\\([^)]+{0,1}\\\\)))?","endCaptures":{"1":{"patterns":[{"include":"#type-declarations"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#parameter-variable-types"}]},"functions_inline":{"captures":{"1":{"name":"keyword.function.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(func)\\\\b(\\\\([^/]*?\\\\)\\\\s+\\\\([^/]*?\\\\))\\\\s+(?=\\\\{)"},"generic_param_types":{"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+(?=(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b\\\\s*\\\\{)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.parameter.go"}]}},"match":"(?:(?<=\\\\()|^\\\\s*)((?:\\\\b\\\\w+,\\\\s*)+(?:/[*/].*)?)$"},{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.parameter.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\b\\\\w+,\\\\s*)+{0,1}\\\\b\\\\w+)\\\\s+((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?:[]*.\\\\[\\\\w]+{0,1}(?:\\\\bfunc\\\\b\\\\([^)]+{0,1}\\\\)(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*)+(?:[*.\\\\w]+|\\\\([^)]+{0,1}\\\\))?|(?:(?:[*.~\\\\w]+|\\\\[(?:[*.\\\\w]+{0,1}(?:\\\\[[^]]+{0,1}])?(?:,\\\\s+)?)+])[*.\\\\w]+{0,1})+))"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b([.\\\\w]+)"},{"include":"$self"}]},"generic_types":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"include":"#parameter-variable-types"}]}},"match":"([*.\\\\w]+)(\\\\[[^]]+{0,1}])"},"group-functions":{"patterns":[{"include":"#function_declaration"},{"include":"#functions_inline"},{"include":"#functions"},{"include":"#built_in_functions"},{"include":"#support_functions"}]},"group-types":{"patterns":[{"include":"#other_struct_interface_expressions"},{"include":"#type_assertion_inline"},{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#single_type"},{"include":"#multi_types"},{"include":"#struct_interface_declaration"},{"include":"#double_parentheses_types"},{"include":"#switch_types"},{"include":"#type-declarations"}]},"group-variables":{"patterns":[{"include":"#const_assignment"},{"include":"#var_assignment"},{"include":"#variable_assignment"},{"include":"#label_loop_variables"},{"include":"#slice_index_variables"},{"include":"#property_variables"},{"include":"#switch_variables"},{"include":"#other_variables"}]},"hover":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"match":"\\\\binvalid\\\\b\\\\s+\\\\btype\\\\b","name":"invalid.field.go"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=^\\\\bfield\\\\b)\\\\s+([*.\\\\w]+)\\\\s+([\\\\s\\\\S]+)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=^\\\\breturns\\\\b)\\\\s+([\\\\s\\\\S]+)"}]},"import":{"patterns":[{"begin":"\\\\b(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.import.go"}},"end":"(?!\\\\G)","patterns":[{"include":"#imports"}]}]},"imports":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.import.go"}]},"2":{"name":"string.quoted.double.go"},"3":{"name":"punctuation.definition.string.begin.go"},"4":{"name":"entity.name.import.go"},"5":{"name":"punctuation.definition.string.end.go"}},"match":"(\\\\s*[.\\\\w]+)?\\\\s*((\\")([^\\"]*)(\\"))"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.imports.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.imports.end.bracket.round.go"}},"patterns":[{"include":"#comments"},{"include":"#imports"}]},{"include":"$self"}]},"interface_variables_types":{"begin":"\\\\b(interface)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.interface.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},"interface_variables_types_field":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations-without-brackets"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"([.\\\\w]+)"}]},"keywords":{"patterns":[{"match":"\\\\b(break|case|continue|default|defer|else|fallthrough|for|go|goto|if|range|return|select|switch)\\\\b","name":"keyword.control.go"},{"match":"\\\\bchan\\\\b","name":"keyword.channel.go"},{"match":"\\\\bconst\\\\b","name":"keyword.const.go"},{"match":"\\\\bvar\\\\b","name":"keyword.var.go"},{"match":"\\\\bfunc\\\\b","name":"keyword.function.go"},{"match":"\\\\binterface\\\\b","name":"keyword.interface.go"},{"match":"\\\\bmap\\\\b","name":"keyword.map.go"},{"match":"\\\\bstruct\\\\b","name":"keyword.struct.go"},{"match":"\\\\bimport\\\\b","name":"keyword.control.import.go"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"label_loop_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.label.go"}]}},"match":"^(\\\\s*\\\\w+:\\\\s*|\\\\s*\\\\b(?:break|goto|continue)\\\\b\\\\s+\\\\w+(?:\\\\s*/[*/]\\\\s*.*)?)$"},"language_constants":{"captures":{"1":{"name":"constant.language.boolean.go"},"2":{"name":"constant.language.null.go"},"3":{"name":"constant.language.iota.go"}},"match":"\\\\b(?:(true|false)|(nil)|(iota))\\\\b"},"map_types":{"begin":"\\\\b(map)\\\\b(\\\\[)","beginCaptures":{"1":{"name":"keyword.map.go"},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"(])((?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:func|struct|map)\\\\b)[]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?)?","endCaptures":{"1":{"name":"punctuation.definition.end.bracket.square.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"include":"#functions"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"multi_types":{"begin":"\\\\b(type)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#struct_variables_types"},{"include":"#interface_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"numeric_literals":{"captures":{"0":{"patterns":[{"begin":"(?=.)","end":"\\\\n|$","patterns":[{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"constant.numeric.decimal.point.go"},"4":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"5":{"name":"punctuation.separator.constant.numeric.go"},"6":{"name":"keyword.other.unit.exponent.decimal.go"},"7":{"name":"keyword.operator.plus.exponent.decimal.go"},"8":{"name":"keyword.operator.minus.exponent.decimal.go"},"9":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"keyword.other.unit.imaginary.go"},"11":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"12":{"name":"punctuation.separator.constant.numeric.go"},"13":{"name":"keyword.other.unit.exponent.decimal.go"},"14":{"name":"keyword.operator.plus.exponent.decimal.go"},"15":{"name":"keyword.operator.minus.exponent.decimal.go"},"16":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"17":{"name":"keyword.other.unit.imaginary.go"},"18":{"name":"constant.numeric.decimal.point.go"},"19":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"20":{"name":"punctuation.separator.constant.numeric.go"},"21":{"name":"keyword.other.unit.exponent.decimal.go"},"22":{"name":"keyword.operator.plus.exponent.decimal.go"},"23":{"name":"keyword.operator.minus.exponent.decimal.go"},"24":{"name":"constant.numeric.exponent.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"25":{"name":"keyword.other.unit.imaginary.go"},"26":{"name":"keyword.other.unit.hexadecimal.go"},"27":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"28":{"name":"punctuation.separator.constant.numeric.go"},"29":{"name":"constant.numeric.hexadecimal.go"},"30":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"31":{"name":"punctuation.separator.constant.numeric.go"},"32":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"33":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"34":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"35":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"36":{"name":"keyword.other.unit.imaginary.go"},"37":{"name":"keyword.other.unit.hexadecimal.go"},"38":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"39":{"name":"punctuation.separator.constant.numeric.go"},"40":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"41":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"42":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"43":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"44":{"name":"keyword.other.unit.imaginary.go"},"45":{"name":"keyword.other.unit.hexadecimal.go"},"46":{"name":"constant.numeric.hexadecimal.go"},"47":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"48":{"name":"punctuation.separator.constant.numeric.go"},"49":{"name":"keyword.other.unit.exponent.hexadecimal.go"},"50":{"name":"keyword.operator.plus.exponent.hexadecimal.go"},"51":{"name":"keyword.operator.minus.exponent.hexadecimal.go"},"52":{"name":"constant.numeric.exponent.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"53":{"name":"keyword.other.unit.imaginary.go"}},"match":"\\\\G(?:(?:(?:(?:(?:(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)((?<=[0-9])\\\\.|\\\\.(?=[0-9]))([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)?(?:(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*))?(i(?!\\\\w))?(?:\\\\n|$)|(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|((?<=[0-9])\\\\.|\\\\.(?=[0-9]))([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(?:(?<!_)([Ee])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*))?(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)((?<=\\\\h)\\\\.|\\\\.(?=\\\\h))(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)?(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])((?<=\\\\h)\\\\.|\\\\.(?=\\\\h))(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(?<!_)([Pp])(\\\\+?)(-?)([0-9](?:[0-9]|(?<=\\\\h)_(?=\\\\h))*)(i(?!\\\\w))?(?:\\\\n|$))"},{"captures":{"1":{"name":"constant.numeric.decimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"2":{"name":"punctuation.separator.constant.numeric.go"},"3":{"name":"keyword.other.unit.imaginary.go"},"4":{"name":"keyword.other.unit.binary.go"},"5":{"name":"constant.numeric.binary.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"6":{"name":"punctuation.separator.constant.numeric.go"},"7":{"name":"keyword.other.unit.imaginary.go"},"8":{"name":"keyword.other.unit.octal.go"},"9":{"name":"constant.numeric.octal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"10":{"name":"punctuation.separator.constant.numeric.go"},"11":{"name":"keyword.other.unit.imaginary.go"},"12":{"name":"keyword.other.unit.hexadecimal.go"},"13":{"name":"constant.numeric.hexadecimal.go","patterns":[{"match":"(?<=\\\\h)_(?=\\\\h)","name":"punctuation.separator.constant.numeric.go"}]},"14":{"name":"punctuation.separator.constant.numeric.go"},"15":{"name":"keyword.other.unit.imaginary.go"}},"match":"\\\\G(?:(?:(?:(?=[.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$)|(0[Bb])_?([01](?:[01]|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$))|(0[Oo]?)_?((?:[0-7]|((?<=\\\\h)_(?=\\\\h)))+)(i(?!\\\\w))?(?:\\\\n|$))|(0[Xx])_?(\\\\h(?:\\\\h|((?<=\\\\h)_(?=\\\\h)))*)(i(?!\\\\w))?(?:\\\\n|$))"},{"match":"(?:[.0-9A-Z_a-z]|(?<=[EPep])[-+])+","name":"invalid.illegal.constant.numeric.go"}]}]}},"match":"(?<!\\\\w)\\\\.?\\\\d(?:[.0-9A-Z_a-z]|(?<=[EPep])[-+])*"},"operators":{"patterns":[{"match":"(?<!\\\\w)[\\\\&*]+(?!\\\\d)(?=[]\\\\[\\\\w]|<-)","name":"keyword.operator.address.go"},{"match":"<-","name":"keyword.operator.channel.go"},{"match":"--","name":"keyword.operator.decrement.go"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.go"},{"match":"(==|!=|<=|>=|<(?!<)|>(?!>))","name":"keyword.operator.comparison.go"},{"match":"(&&|\\\\|\\\\||!)","name":"keyword.operator.logical.go"},{"match":"((?:|[-%*+/:^|]|<<|>>|&\\\\^?)=)","name":"keyword.operator.assignment.go"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.go"},{"match":"(&(?!\\\\^)|[\\\\^|]|&\\\\^|<<|>>|~)","name":"keyword.operator.arithmetic.bitwise.go"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.ellipsis.go"}]},"other_struct_interface_expressions":{"patterns":[{"include":"#after_control_variables"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(?!(?:struct|interface)\\\\b)([.\\\\w]+)(?<brackets>\\\\[(?:[^]\\\\[]|\\\\g<brackets>)*])?(?=\\\\{)"}]},"other_variables":{"match":"\\\\w+","name":"variable.other.go"},"package_name":{"patterns":[{"begin":"\\\\b(package)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.go"}},"end":"(?!\\\\G)","patterns":[{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.type.package.go"}]}]},"parameter-variable-types":{"patterns":[{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"begin":"([*.\\\\w]+)?(\\\\[)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"2":{"name":"punctuation.definition.begin.bracket.square.go"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.square.go"}},"patterns":[{"include":"#generic_param_types"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"}]}]},"property_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]}},"match":"\\\\b([.\\\\w]+:(?!=))"},"raw_string_literals":{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.raw.go","patterns":[{"include":"#string_placeholder"}]},"runes":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.rune.go","patterns":[{"match":"\\\\G(\\\\\\\\([0-7]{3}|[\\"'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})|.)(?=')","name":"constant.other.rune.go"},{"match":"[^']+","name":"invalid.illegal.unknown-rune.go"}]}]},"single_type":{"patterns":[{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#type-declarations"},{"include":"#generic_types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b(type)\\\\b\\\\s*([*.\\\\w]+)\\\\s+(?!(?:=\\\\s*)?[]*\\\\[]+{0,1}\\\\b(?:struct|interface)\\\\b)([\\\\s\\\\S]+)"},{"begin":"(?:^|\\\\s+)\\\\b(type)\\\\b\\\\s*([*.\\\\w]+)(?=\\\\[)","beginCaptures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"end":"(?<=])(\\\\s+(?:=\\\\s*)?(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}(?![]*\\\\[]+{0,1}\\\\b(?:struct|interface|func)\\\\b)[-\\\\]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?","endCaptures":{"1":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"patterns":[{"include":"#struct_variables_types"},{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}]},"slice_index_variables":{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"(?<=\\\\w\\\\[)((?:\\\\b[-%\\\\&*+./<>|\\\\w]+:|:\\\\b[-%\\\\&*+./<>|\\\\w]+)(?:\\\\b[-%\\\\&*+./<>|\\\\w]+)?(?::\\\\b[-%\\\\&*+./<>|\\\\w]+)?)(?=])"},"statements":{"patterns":[{"include":"#package_name"},{"include":"#import"},{"include":"#syntax_errors"},{"include":"#group-functions"},{"include":"#group-types"},{"include":"#group-variables"},{"include":"#hover"}]},"storage_types":{"patterns":[{"match":"\\\\bbool\\\\b","name":"storage.type.boolean.go"},{"match":"\\\\bbyte\\\\b","name":"storage.type.byte.go"},{"match":"\\\\berror\\\\b","name":"storage.type.error.go"},{"match":"\\\\b(complex(64|128)|float(32|64)|u?int(8|16|32|64)?)\\\\b","name":"storage.type.numeric.go"},{"match":"\\\\brune\\\\b","name":"storage.type.rune.go"},{"match":"\\\\bstring\\\\b","name":"storage.type.string.go"},{"match":"\\\\buintptr\\\\b","name":"storage.type.uintptr.go"},{"match":"\\\\bany\\\\b","name":"entity.name.type.any.go"},{"match":"\\\\bcomparable\\\\b","name":"entity.name.type.comparable.go"}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\([0-7]{3}|[\\"'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.go"},{"match":"\\\\\\\\[^\\"'0-7Uabfnrtuvx]","name":"invalid.illegal.unknown-escape.go"}]},"string_literals":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.go"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.go"}},"name":"string.quoted.double.go","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}]}]},"string_placeholder":{"patterns":[{"match":"%(\\\\[\\\\d+])?([- #+0]{0,2}((\\\\d+|\\\\*)?(\\\\.?(\\\\d+|\\\\*|(\\\\[\\\\d+])\\\\*?)?(\\\\[\\\\d+])?)?))?[%EFGTUXb-gopqstvwx]","name":"constant.other.placeholder.go"}]},"struct_interface_declaration":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b(type)\\\\b\\\\s*([.\\\\w]+)"},"struct_variable_types_fields_multi":{"patterns":[{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(struct)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.struct.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(interface)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.interface.go"},"3":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#interface_variables_types_field"},{"include":"$self"}]},{"begin":"\\\\b(\\\\w+(?:,\\\\s*\\\\b\\\\w+)*(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}\\\\s*[]*\\\\[]+{0,1})\\\\b(func)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"name":"keyword.function.go"},"3":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"include":"#function_param_types"},{"include":"$self"}]},{"include":"#parameter-variable-types"}]},"struct_variables_types":{"begin":"\\\\b(struct)\\\\b\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.struct.go"},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"include":"#struct_variables_types_fields"},{"include":"$self"}]},"struct_variables_types_fields":{"patterns":[{"include":"#struct_variable_types_fields_multi"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\{)\\\\s*((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*.\\\\[\\\\w]+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\{)\\\\s*((?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*.\\\\[\\\\w]+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)?((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[^/\\\\s]+;?)"}]}},"match":"(?<=\\\\{)((?:\\\\s*(?:(?:\\\\w+,\\\\s*)+{0,1}\\\\w+\\\\s+)?(?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[^/\\\\s]+;?)+)\\\\s*(?=})"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[*.\\\\w]+\\\\s*)(?:(?=[\\"/\`])|$)"},{"captures":{"1":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.property.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#parameter-variable-types"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"\\\\b(\\\\w+(?:\\\\s*,\\\\s*\\\\b\\\\w+)*)\\\\s*([^\\"/\`]+)"}]},"support_functions":{"captures":{"1":{"name":"entity.name.function.support.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"entity.name.function.support.go"}]},"3":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?:((?<=\\\\.)\\\\b\\\\w+)|\\\\b(\\\\w+))(?<brackets>\\\\[(?:[^]\\\\[]|\\\\g<brackets>)*])?(?=\\\\()"},"switch_types":{"begin":"(?<=\\\\bswitch\\\\b)\\\\s*(\\\\w+\\\\s*:=)?\\\\s*([-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+)(\\\\.\\\\(\\\\btype\\\\b\\\\)\\\\s*)(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#operators"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"match":"\\\\w+","name":"variable.other.go"}]},"3":{"patterns":[{"include":"#delimiters"},{"include":"#brackets"},{"match":"\\\\btype\\\\b","name":"keyword.type.go"}]},"4":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},"3":{"name":"punctuation.other.colon.go"},"4":{"patterns":[{"include":"#comments"}]}},"match":"^\\\\s*\\\\b(case)\\\\b\\\\s+([!*,.<=>\\\\w\\\\s]+)(:)(\\\\s*/[*/]\\\\s*.*)?$"},{"begin":"\\\\bcase\\\\b","beginCaptures":{"0":{"name":"keyword.control.go"}},"end":":","endCaptures":{"0":{"name":"punctuation.other.colon.go"}},"patterns":[{"include":"#type-declarations"},{"match":"\\\\w+","name":"entity.name.type.go"}]},{"include":"$self"}]},"switch_variables":{"patterns":[{"captures":{"1":{"name":"keyword.control.go"},"2":{"patterns":[{"include":"#type-declarations"},{"include":"#support_functions"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]}},"match":"^\\\\s*\\\\b(case)\\\\b\\\\s+([\\\\s\\\\S]+:\\\\s*(?:/[*/].*)?)$"},{"begin":"(?<=\\\\bswitch\\\\b)\\\\s*((?:[.\\\\w]+(?:\\\\s*[-!%\\\\&+,/:<=>|]+\\\\s*[.\\\\w]+)*\\\\s*[-!%\\\\&+,/:<=>|]+)?\\\\s*[-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+{0,1}\\\\s*(?:;\\\\s*[-\\\\]%\\\\&(-+./<>\\\\[|\\\\w]+\\\\s*)?)(\\\\{)","beginCaptures":{"1":{"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]},"2":{"name":"punctuation.definition.begin.bracket.curly.go"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.curly.go"}},"patterns":[{"begin":"\\\\bcase\\\\b","beginCaptures":{"0":{"name":"keyword.control.go"}},"end":":","endCaptures":{"0":{"name":"punctuation.other.colon.go"}},"patterns":[{"include":"#support_functions"},{"include":"#type-declarations"},{"include":"#variable_assignment"},{"match":"\\\\w+","name":"variable.other.go"}]},{"include":"$self"}]}]},"syntax_errors":{"patterns":[{"captures":{"1":{"name":"invalid.illegal.slice.go"}},"match":"\\\\[](\\\\s+)"},{"match":"\\\\b0[0-7]*[89]\\\\d*\\\\b","name":"invalid.illegal.numeric.go"}]},"terminators":{"match":";","name":"punctuation.terminator.go"},"type-declarations":{"patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#brackets"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type-declarations-without-brackets":{"patterns":[{"include":"#language_constants"},{"include":"#comments"},{"include":"#map_types"},{"include":"#delimiters"},{"include":"#keywords"},{"include":"#operators"},{"include":"#runes"},{"include":"#storage_types"},{"include":"#raw_string_literals"},{"include":"#string_literals"},{"include":"#numeric_literals"},{"include":"#terminators"}]},"type_assertion_inline":{"captures":{"1":{"name":"keyword.type.go"},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\{","name":"punctuation.definition.begin.bracket.curly.go"},{"match":"}","name":"punctuation.definition.end.bracket.curly.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\.\\\\()(?:\\\\b(type)\\\\b|((?:\\\\s*[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+{0,1}[]*\\\\[]+{0,1}[.\\\\w]+(?:\\\\[(?:[]*.\\\\[{}\\\\w]+(?:,\\\\s*[]*.\\\\[{}\\\\w]+)*)?])?))(?=\\\\))"},"var_assignment":{"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"(?<=\\\\bvar\\\\b)\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"begin":"(?<=\\\\bvar\\\\b)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.begin.bracket.round.go"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.go"}},"patterns":[{"captures":{"1":{"patterns":[{"include":"#delimiters"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]},"2":{"patterns":[{"include":"#type-declarations-without-brackets"},{"include":"#generic_types"},{"match":"\\\\(","name":"punctuation.definition.begin.bracket.round.go"},{"match":"\\\\)","name":"punctuation.definition.end.bracket.round.go"},{"match":"\\\\[","name":"punctuation.definition.begin.bracket.square.go"},{"match":"]","name":"punctuation.definition.end.bracket.square.go"},{"match":"\\\\w+","name":"entity.name.type.go"}]}},"match":"^\\\\s*\\\\b([.\\\\w]+(?:,\\\\s*[.\\\\w]+)*)\\\\s*((?:(?:[]*\\\\[]+{0,1}(?:<-\\\\s*)?\\\\bchan\\\\b(?:\\\\s*<-)?\\\\s*)+(?:\\\\([^)]+\\\\))?)?(?![]*\\\\[]+{0,1}\\\\b(?:struct|func|map)\\\\b)(?:[]*.\\\\[\\\\w]+(?:,\\\\s*[]*.\\\\[\\\\w]+)*)?\\\\s*=?)?"},{"include":"$self"}]}]},"variable_assignment":{"patterns":[{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"match":"\\\\b\\\\w+(?:,\\\\s*\\\\w+)*(?=\\\\s*:=)"},{"captures":{"0":{"patterns":[{"include":"#delimiters"},{"include":"#operators"},{"match":"\\\\d\\\\w*","name":"invalid.illegal.identifier.go"},{"match":"\\\\w+","name":"variable.other.assignment.go"}]}},"match":"\\\\b[*.\\\\w]+(?:,\\\\s*[*.\\\\w]+)*(?=\\\\s*=(?!=))"}]}},"scopeName":"source.go"}`)), n = [
2
+ e
3
+ ];
4
+ export {
5
+ n as default
6
+ };
@@ -0,0 +1,244 @@
1
+ import * as r from "lodash-es";
2
+ var m = "\0", u = "\0", c = "";
3
+ class p {
4
+ constructor(e = {}) {
5
+ this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = r.constant(void 0), this._defaultEdgeLabelFn = r.constant(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[u] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
6
+ }
7
+ /* === Graph functions ========= */
8
+ isDirected() {
9
+ return this._isDirected;
10
+ }
11
+ isMultigraph() {
12
+ return this._isMultigraph;
13
+ }
14
+ isCompound() {
15
+ return this._isCompound;
16
+ }
17
+ setGraph(e) {
18
+ return this._label = e, this;
19
+ }
20
+ graph() {
21
+ return this._label;
22
+ }
23
+ /* === Node functions ========== */
24
+ setDefaultNodeLabel(e) {
25
+ return r.isFunction(e) || (e = r.constant(e)), this._defaultNodeLabelFn = e, this;
26
+ }
27
+ nodeCount() {
28
+ return this._nodeCount;
29
+ }
30
+ nodes() {
31
+ return r.keys(this._nodes);
32
+ }
33
+ sources() {
34
+ var e = this;
35
+ return r.filter(this.nodes(), function(t) {
36
+ return r.isEmpty(e._in[t]);
37
+ });
38
+ }
39
+ sinks() {
40
+ var e = this;
41
+ return r.filter(this.nodes(), function(t) {
42
+ return r.isEmpty(e._out[t]);
43
+ });
44
+ }
45
+ setNodes(e, t) {
46
+ var s = arguments, i = this;
47
+ return r.each(e, function(n) {
48
+ s.length > 1 ? i.setNode(n, t) : i.setNode(n);
49
+ }), this;
50
+ }
51
+ setNode(e, t) {
52
+ return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = u, this._children[e] = {}, this._children[u][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
53
+ }
54
+ node(e) {
55
+ return this._nodes[e];
56
+ }
57
+ hasNode(e) {
58
+ return Object.prototype.hasOwnProperty.call(this._nodes, e);
59
+ }
60
+ removeNode(e) {
61
+ if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
62
+ var t = (s) => this.removeEdge(this._edgeObjs[s]);
63
+ delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], r.each(this.children(e), (s) => {
64
+ this.setParent(s);
65
+ }), delete this._children[e]), r.each(r.keys(this._in[e]), t), delete this._in[e], delete this._preds[e], r.each(r.keys(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
66
+ }
67
+ return this;
68
+ }
69
+ setParent(e, t) {
70
+ if (!this._isCompound)
71
+ throw new Error("Cannot set parent in a non-compound graph");
72
+ if (r.isUndefined(t))
73
+ t = u;
74
+ else {
75
+ t += "";
76
+ for (var s = t; !r.isUndefined(s); s = this.parent(s))
77
+ if (s === e)
78
+ throw new Error("Setting " + t + " as parent of " + e + " would create a cycle");
79
+ this.setNode(t);
80
+ }
81
+ return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
82
+ }
83
+ _removeFromParentsChildList(e) {
84
+ delete this._children[this._parent[e]][e];
85
+ }
86
+ parent(e) {
87
+ if (this._isCompound) {
88
+ var t = this._parent[e];
89
+ if (t !== u)
90
+ return t;
91
+ }
92
+ }
93
+ children(e) {
94
+ if (r.isUndefined(e) && (e = u), this._isCompound) {
95
+ var t = this._children[e];
96
+ if (t)
97
+ return r.keys(t);
98
+ } else {
99
+ if (e === u)
100
+ return this.nodes();
101
+ if (this.hasNode(e))
102
+ return [];
103
+ }
104
+ }
105
+ predecessors(e) {
106
+ var t = this._preds[e];
107
+ if (t)
108
+ return r.keys(t);
109
+ }
110
+ successors(e) {
111
+ var t = this._sucs[e];
112
+ if (t)
113
+ return r.keys(t);
114
+ }
115
+ neighbors(e) {
116
+ var t = this.predecessors(e);
117
+ if (t)
118
+ return r.union(t, this.successors(e));
119
+ }
120
+ isLeaf(e) {
121
+ var t;
122
+ return this.isDirected() ? t = this.successors(e) : t = this.neighbors(e), t.length === 0;
123
+ }
124
+ filterNodes(e) {
125
+ var t = new this.constructor({
126
+ directed: this._isDirected,
127
+ multigraph: this._isMultigraph,
128
+ compound: this._isCompound
129
+ });
130
+ t.setGraph(this.graph());
131
+ var s = this;
132
+ r.each(this._nodes, function(h, d) {
133
+ e(d) && t.setNode(d, h);
134
+ }), r.each(this._edgeObjs, function(h) {
135
+ t.hasNode(h.v) && t.hasNode(h.w) && t.setEdge(h, s.edge(h));
136
+ });
137
+ var i = {};
138
+ function n(h) {
139
+ var d = s.parent(h);
140
+ return d === void 0 || t.hasNode(d) ? (i[h] = d, d) : d in i ? i[d] : n(d);
141
+ }
142
+ return this._isCompound && r.each(t.nodes(), function(h) {
143
+ t.setParent(h, n(h));
144
+ }), t;
145
+ }
146
+ /* === Edge functions ========== */
147
+ setDefaultEdgeLabel(e) {
148
+ return r.isFunction(e) || (e = r.constant(e)), this._defaultEdgeLabelFn = e, this;
149
+ }
150
+ edgeCount() {
151
+ return this._edgeCount;
152
+ }
153
+ edges() {
154
+ return r.values(this._edgeObjs);
155
+ }
156
+ setPath(e, t) {
157
+ var s = this, i = arguments;
158
+ return r.reduce(e, function(n, h) {
159
+ return i.length > 1 ? s.setEdge(n, h, t) : s.setEdge(n, h), h;
160
+ }), this;
161
+ }
162
+ /*
163
+ * setEdge(v, w, [value, [name]])
164
+ * setEdge({ v, w, [name] }, [value])
165
+ */
166
+ setEdge() {
167
+ var e, t, s, i, n = !1, h = arguments[0];
168
+ typeof h == "object" && h !== null && "v" in h ? (e = h.v, t = h.w, s = h.name, arguments.length === 2 && (i = arguments[1], n = !0)) : (e = h, t = arguments[1], s = arguments[3], arguments.length > 2 && (i = arguments[2], n = !0)), e = "" + e, t = "" + t, r.isUndefined(s) || (s = "" + s);
169
+ var d = _(this._isDirected, e, t, s);
170
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, d))
171
+ return n && (this._edgeLabels[d] = i), this;
172
+ if (!r.isUndefined(s) && !this._isMultigraph)
173
+ throw new Error("Cannot set a named edge when isMultigraph = false");
174
+ this.setNode(e), this.setNode(t), this._edgeLabels[d] = n ? i : this._defaultEdgeLabelFn(e, t, s);
175
+ var a = b(this._isDirected, e, t, s);
176
+ return e = a.v, t = a.w, Object.freeze(a), this._edgeObjs[d] = a, f(this._preds[t], e), f(this._sucs[e], t), this._in[t][d] = a, this._out[e][d] = a, this._edgeCount++, this;
177
+ }
178
+ edge(e, t, s) {
179
+ var i = arguments.length === 1 ? l(this._isDirected, arguments[0]) : _(this._isDirected, e, t, s);
180
+ return this._edgeLabels[i];
181
+ }
182
+ hasEdge(e, t, s) {
183
+ var i = arguments.length === 1 ? l(this._isDirected, arguments[0]) : _(this._isDirected, e, t, s);
184
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, i);
185
+ }
186
+ removeEdge(e, t, s) {
187
+ var i = arguments.length === 1 ? l(this._isDirected, arguments[0]) : _(this._isDirected, e, t, s), n = this._edgeObjs[i];
188
+ return n && (e = n.v, t = n.w, delete this._edgeLabels[i], delete this._edgeObjs[i], g(this._preds[t], e), g(this._sucs[e], t), delete this._in[t][i], delete this._out[e][i], this._edgeCount--), this;
189
+ }
190
+ inEdges(e, t) {
191
+ var s = this._in[e];
192
+ if (s) {
193
+ var i = r.values(s);
194
+ return t ? r.filter(i, function(n) {
195
+ return n.v === t;
196
+ }) : i;
197
+ }
198
+ }
199
+ outEdges(e, t) {
200
+ var s = this._out[e];
201
+ if (s) {
202
+ var i = r.values(s);
203
+ return t ? r.filter(i, function(n) {
204
+ return n.w === t;
205
+ }) : i;
206
+ }
207
+ }
208
+ nodeEdges(e, t) {
209
+ var s = this.inEdges(e, t);
210
+ if (s)
211
+ return s.concat(this.outEdges(e, t));
212
+ }
213
+ }
214
+ p.prototype._nodeCount = 0;
215
+ p.prototype._edgeCount = 0;
216
+ function f(o, e) {
217
+ o[e] ? o[e]++ : o[e] = 1;
218
+ }
219
+ function g(o, e) {
220
+ --o[e] || delete o[e];
221
+ }
222
+ function _(o, e, t, s) {
223
+ var i = "" + e, n = "" + t;
224
+ if (!o && i > n) {
225
+ var h = i;
226
+ i = n, n = h;
227
+ }
228
+ return i + c + n + c + (r.isUndefined(s) ? m : s);
229
+ }
230
+ function b(o, e, t, s) {
231
+ var i = "" + e, n = "" + t;
232
+ if (!o && i > n) {
233
+ var h = i;
234
+ i = n, n = h;
235
+ }
236
+ var d = { v: i, w: n };
237
+ return s && (d.name = s), d;
238
+ }
239
+ function l(o, e) {
240
+ return _(o, e.v, e.w, e.name);
241
+ }
242
+ export {
243
+ p as G
244
+ };
@@ -0,0 +1,14 @@
1
+ import e from "./javascript-C25yR2R2.js";
2
+ import a from "./typescript-RycA9KXf.js";
3
+ import n from "./jsx-BtKADgXT.js";
4
+ import l from "./tsx-B8rCNbgL.js";
5
+ const r = Object.freeze(JSON.parse(`{"displayName":"GraphQL","fileTypes":["graphql","graphqls","gql","graphcool"],"name":"graphql","patterns":[{"include":"#graphql"}],"repository":{"graphql":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-fragment-definition"},{"include":"#graphql-directive-definition"},{"include":"#graphql-type-interface"},{"include":"#graphql-enum"},{"include":"#graphql-scalar"},{"include":"#graphql-union"},{"include":"#graphql-schema"},{"include":"#graphql-operation-def"},{"include":"#literal-quasi-embedded"}]},"graphql-ampersand":{"captures":{"1":{"name":"keyword.operator.logical.graphql"}},"match":"\\\\s*(&)"},"graphql-arguments":{"begin":"\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"end":"\\\\s*(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"name":"meta.arguments.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"},"2":{"name":"punctuation.colon.graphql"}},"end":"(?=\\\\s*(?:([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)|\\\\)))|\\\\s*(,)","endCaptures":{"3":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-value"},{"include":"#graphql-skip-newlines"}]},{"include":"#literal-quasi-embedded"}]},"graphql-boolean-value":{"captures":{"1":{"name":"constant.language.boolean.graphql"}},"match":"\\\\s*\\\\b(true|false)\\\\b"},"graphql-colon":{"captures":{"1":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*(:)"},"graphql-comma":{"captures":{"1":{"name":"punctuation.comma.graphql"}},"match":"\\\\s*(,)"},"graphql-comment":{"patterns":[{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"match":"(\\\\s*)(#).*","name":"comment.line.graphql.js"},{"begin":"(\\"\\"\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\"\\"\\")","name":"comment.line.graphql.js"},{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\")","name":"comment.line.graphql.js"}]},"graphql-description-docstring":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"comment.block.graphql"},"graphql-description-singleline":{"match":"#(?=([^\\"]*\\"[^\\"]*\\")*[^\\"]*$).*$","name":"comment.line.number-sign.graphql"},"graphql-directive":{"applyEndPatternLast":1,"begin":"\\\\s*((@)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))","beginCaptures":{"1":{"name":"entity.name.function.directive.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-arguments"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-directive-definition":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(directive)\\\\b\\\\s*(@[A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.directive.graphql"},"2":{"name":"entity.name.function.directive.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-variable-definitions"},{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.on.graphql"},"2":{"name":"support.type.location.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"},{"captures":{"2":{"name":"support.type.location.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z]*)"}]},{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"}]},"graphql-enum":{"begin":"\\\\s*+\\\\b(enum)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.enum.graphql"},"2":{"name":"support.type.enum.graphql"}},"end":"(?<=})","name":"meta.enum.graphql","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-object-type"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-enum-value"},{"include":"#literal-quasi-embedded"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"}]},"graphql-enum-value":{"match":"\\\\s*(?!=\\\\b(true|false|null)\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","name":"constant.character.enum.graphql"},"graphql-field":{"patterns":[{"captures":{"1":{"name":"string.unquoted.alias.graphql"},"2":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)"},{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-arguments"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-float-value":{"captures":{"1":{"name":"constant.numeric.float.graphql"}},"match":"\\\\s*(-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?(([Ee])([-+])?[0-9]+)?)"},"graphql-fragment-definition":{"begin":"\\\\s*\\\\b(fragment)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.fragment.graphql"},"2":{"name":"entity.name.fragment.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?<=})","name":"meta.fragment.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-fragment-spread":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?!\\\\bon\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"variable.fragment.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{"match":"\\\\s*"},"graphql-inline-fragment":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?:\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))?","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"keyword.on.graphql"},"3":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-input-types":{"patterns":[{"include":"#graphql-scalar-type"},{"captures":{"1":{"name":"support.type.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?:\\\\s*(!))?"},{"begin":"\\\\s*(\\\\[)","captures":{"1":{"name":"meta.brace.square.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"end":"\\\\s*(])(?:\\\\s*(!))?","name":"meta.type.list.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-input-types"},{"include":"#graphql-comma"},{"include":"#literal-quasi-embedded"}]}]},"graphql-list-value":{"patterns":[{"begin":"\\\\s*+(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.graphql"}},"end":"\\\\s*(])","endCaptures":{"1":{"name":"meta.brace.square.graphql"}},"name":"meta.listvalues.graphql","patterns":[{"include":"#graphql-value"}]}]},"graphql-name":{"captures":{"1":{"name":"entity.name.function.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-null-value":{"captures":{"1":{"name":"constant.language.null.graphql"}},"match":"\\\\s*\\\\b(null)\\\\b"},"graphql-object-field":{"captures":{"1":{"name":"constant.object.key.graphql"},"2":{"name":"string.unquoted.graphql"},"3":{"name":"punctuation.graphql"}},"match":"\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*))\\\\s*(:)"},"graphql-object-value":{"patterns":[{"begin":"\\\\s*+(\\\\{)","beginCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"name":"meta.objectvalues.graphql","patterns":[{"include":"#graphql-object-field"},{"include":"#graphql-value"}]}]},"graphql-operation-def":{"patterns":[{"include":"#graphql-query-mutation"},{"include":"#graphql-name"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"}]},"graphql-query-mutation":{"captures":{"1":{"name":"keyword.operation.graphql"}},"match":"\\\\s*\\\\b(query|mutation)\\\\b"},"graphql-scalar":{"captures":{"1":{"name":"keyword.scalar.graphql"},"2":{"name":"entity.scalar.graphql"}},"match":"\\\\s*\\\\b(scalar)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-scalar-type":{"captures":{"1":{"name":"support.type.builtin.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*\\\\b(Int|Float|String|Boolean|ID)\\\\b(?:\\\\s*(!))?"},"graphql-schema":{"begin":"\\\\s*\\\\b(schema)\\\\b","beginCaptures":{"1":{"name":"keyword.schema.graphql"}},"end":"(?<=})","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"patterns":[{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.arguments.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-colon"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"}]},"graphql-selection-set":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.selectionset.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-field"},{"include":"#graphql-fragment-spread"},{"include":"#graphql-inline-fragment"},{"include":"#graphql-comma"},{"include":"#native-interpolation"},{"include":"#literal-quasi-embedded"}]},"graphql-skip-newlines":{"match":"\\\\s*\\\\n"},"graphql-string-content":{"patterns":[{"match":"\\\\\\\\[\\"'/\\\\\\\\bfnrt]","name":"constant.character.escape.graphql"},{"match":"\\\\\\\\u(\\\\h{4})","name":"constant.character.escape.graphql"}]},"graphql-string-value":{"begin":"\\\\s*+((\\"))","beginCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.begin.graphql"}},"contentName":"string.quoted.double.graphql","end":"\\\\s*+(?:((\\"))|(\\\\n))","endCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.end.graphql"},"3":{"name":"invalid.illegal.newline.graphql"}},"patterns":[{"include":"#graphql-string-content"},{"include":"#literal-quasi-embedded"}]},"graphql-type-definition":{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-type-object"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#literal-quasi-embedded"}]},"graphql-type-interface":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(?:(extends?)?\\\\b\\\\s*\\\\b(type)|(interface)|(input))\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?","captures":{"1":{"name":"keyword.type.graphql"},"2":{"name":"keyword.type.graphql"},"3":{"name":"keyword.interface.graphql"},"4":{"name":"keyword.input.graphql"},"5":{"name":"support.type.graphql"}},"end":"(?=.)","name":"meta.type.interface.graphql","patterns":[{"begin":"\\\\s*\\\\b(implements)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.implements.graphql"}},"end":"\\\\s*(?=\\\\{)","patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-ampersand"},{"include":"#graphql-comma"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-type-object"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-ignore-spaces"}]},"graphql-type-object":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-object-type"},{"include":"#graphql-type-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-union":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(union)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.union.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"applyEndPatternLast":1,"begin":"\\\\s*(=)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"punctuation.assignment.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"},{"captures":{"1":{"name":"punctuation.or.graphql"},"2":{"name":"support.type.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-union-mark":{"captures":{"1":{"name":"punctuation.union.graphql"}},"match":"\\\\s*(\\\\|)"},"graphql-value":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-variable-name"},{"include":"#graphql-float-value"},{"include":"#graphql-string-value"},{"include":"#graphql-boolean-value"},{"include":"#graphql-null-value"},{"include":"#graphql-enum-value"},{"include":"#graphql-list-value"},{"include":"#graphql-object-value"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-assignment":{"applyEndPatternLast":1,"begin":"\\\\s(=)","beginCaptures":{"1":{"name":"punctuation.assignment.graphql"}},"end":"(?=[\\\\n),])","patterns":[{"include":"#graphql-value"}]},"graphql-variable-definition":{"begin":"\\\\s*(\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"}},"end":"(?=\\\\s*((\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|([)}])))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"name":"meta.variables.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#graphql-variable-assignment"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-variable-definitions":{"begin":"\\\\s*(\\\\()","captures":{"1":{"name":"meta.brace.round.graphql"}},"end":"\\\\s*(\\\\))","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-variable-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-name":{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*(\\\\$[A-Z_a-z][0-9A-Z_a-z]*)"},"native-interpolation":{"begin":"\\\\s*(\\\\$\\\\{)","beginCaptures":{"1":{"name":"keyword.other.substitution.begin"}},"end":"(})","endCaptures":{"1":{"name":"keyword.other.substitution.end"}},"name":"native.interpolation","patterns":[{"include":"source.js"},{"include":"source.ts"},{"include":"source.js.jsx"},{"include":"source.tsx"}]}},"scopeName":"source.graphql","embeddedLangs":["javascript","typescript","jsx","tsx"],"aliases":["gql"]}`)), c = [
6
+ ...e,
7
+ ...a,
8
+ ...n,
9
+ ...l,
10
+ r
11
+ ];
12
+ export {
13
+ c as default
14
+ };