@kong-ui-public/documentation 0.8.27-pr.2132.c7fba69a4.0 → 0.8.27

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 (154) hide show
  1. package/dist/_basePickBy-DF_KwdVi-HVXnmpaQ.js +151 -0
  2. package/dist/_baseUniq-DefQzZRT-CTix3bMY.js +614 -0
  3. package/dist/arc-B4xWw-B6-BGnuysbe.js +83 -0
  4. package/dist/architecture-I3QFYML2-7TNhn42L-52ENK4nk.js +5 -0
  5. package/dist/architectureDiagram-UYN6MBPD-Bg70hFZ--BirbHF75.js +4592 -0
  6. package/dist/astro-Uf8_VxKJ-CZxoSljj.js +16 -0
  7. package/dist/blockDiagram-ZHA2E4KO-Ylh05M-x-AVJfewxx.js +2247 -0
  8. package/dist/c-DASdrs7p-DASdrs7p.js +6 -0
  9. package/dist/c4Diagram-6F5ED5ID-BA0B_CmS-WdUKqC7Z.js +1581 -0
  10. package/dist/channel-B5uWur4x-BHu9WG2d.js +5 -0
  11. package/dist/chunk-5HRBRIJM-B7MbirM8-YDLjZbXN.js +24 -0
  12. package/dist/chunk-7U56Z5CX-CfNu7Hr2-BQzILIp1.js +1213 -0
  13. package/dist/chunk-ASOPGD6M-CwvgmaRl-BZAjlsEd.js +64 -0
  14. package/dist/chunk-KFBOBJHC-BB675Bua-GRhe6aGs.js +15 -0
  15. package/dist/chunk-T2TOU4HS-BgV1wucS-5Sa82KgW.js +1301 -0
  16. package/dist/chunk-TMUBEWPD-C22TGOO0-Bl2u--DY.js +9 -0
  17. package/dist/classDiagram-LNE6IOMH-D5SiSVyM-BbV9LB8E.js +14 -0
  18. package/dist/classDiagram-v2-MQ7JQ4JX-D5SiSVyM-BbV9LB8E.js +14 -0
  19. package/dist/clone-CmU1hwye-Lu5-ol5h.js +8 -0
  20. package/dist/csharp-CYWRhZ2R-CYWRhZ2R.js +6 -0
  21. package/dist/css-D1aVdRIU-D1aVdRIU.js +6 -0
  22. package/dist/csv-DvCncUGQ-Tno401i9.js +6 -0
  23. package/dist/cytoscape.esm-DAyNQ0qu-B7WxGuVh.js +16110 -0
  24. package/dist/dagre-4EVJKHTY-DMTVcQfE-C1Tr0EYY.js +447 -0
  25. package/dist/diagram-QW4FP2JN-jc61JuWr-DOMFELfS.js +126 -0
  26. package/dist/diff-XmNrvgM1-XmNrvgM1.js +6 -0
  27. package/dist/docker-DWH2onkn-DWH2onkn.js +6 -0
  28. package/dist/documentation.es.js +7 -0
  29. package/dist/documentation.umd.js +2404 -0
  30. package/dist/erDiagram-6RL3IURR-1byskxwI-B-wzYh8R.js +937 -0
  31. package/dist/flowDiagram-7ASYPVHJ-B3phEI8o-CVXSVDmh.js +1484 -0
  32. package/dist/ganttDiagram-NTVNEXSI-vYnO_T5c-Ccxkb7aQ.js +2491 -0
  33. package/dist/git-commit-BspYIY3P-VkbIfR3L.js +8 -0
  34. package/dist/git-rebase--zLBTjUa-DEW2tfKx.js +8 -0
  35. package/dist/gitGraph-YCYPL57B-DPx67Iu5-BPrLSH0g.js +5 -0
  36. package/dist/gitGraphDiagram-NRZ2UAAF-BHxB7Gjs-CeRxz6oW.js +712 -0
  37. package/dist/go-BErP6iv1-BErP6iv1.js +6 -0
  38. package/dist/graph-_eClejaU-DigE4Bf5.js +247 -0
  39. package/dist/graphql-DWpQF4JI-C-3VJmtp.js +14 -0
  40. package/dist/haml-CMN0hQaL-BV5BsZTy.js +10 -0
  41. package/dist/handlebars-Cc-7fXX5-B9YgDKzT.js +14 -0
  42. package/dist/haskell-CtlGos0K-CtlGos0K.js +6 -0
  43. package/dist/html-B0P_v3yU-BojM9zZg.js +10 -0
  44. package/dist/html-derivative-BJFFAxYV-iD6NAoKm.js +8 -0
  45. package/dist/http-Dcjm_K1m-1LFSbOE1.js +14 -0
  46. package/dist/index-B_RqyDIa.js +37033 -0
  47. package/dist/info-46DW6VJ7-DeIQKKyY-CVPexu5P.js +5 -0
  48. package/dist/infoDiagram-A4XQUW5V-Cx0WE_JZ-B_t8JIcX.js +22 -0
  49. package/dist/ini-BUcvsX-U-BUcvsX-U.js +6 -0
  50. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  51. package/dist/java-B7odJ7Ap-B7odJ7Ap.js +6 -0
  52. package/dist/javascript-fa8UlHZE-fa8UlHZE.js +6 -0
  53. package/dist/journeyDiagram-G5WM74LC-CUWL5R5G-DWlpHybW.js +810 -0
  54. package/dist/json-71t8ZF9g-71t8ZF9g.js +6 -0
  55. package/dist/json5-Z7F6rA6a-Z7F6rA6a.js +6 -0
  56. package/dist/jsonc-Dphhs4m2-Dphhs4m2.js +6 -0
  57. package/dist/jsonl-D9jj92Gg-D9jj92Gg.js +6 -0
  58. package/dist/jsx-Bkesy5tT-Bkesy5tT.js +6 -0
  59. package/dist/kanban-definition-QRCXZQQD-r5CdvT2h-BUkOeUnm.js +718 -0
  60. package/dist/katex-Qk2jHgyB-CF_fuFJb.js +11637 -0
  61. package/dist/kotlin-DCgZY7Ii-DCgZY7Ii.js +6 -0
  62. package/dist/latex-CZXk8SiZ-DbjDPp_f.js +11 -0
  63. package/dist/layout-DfjmtgNY-Bw6LFOXt.js +1321 -0
  64. package/dist/less-DQA4v-Nm-DQA4v-Nm.js +6 -0
  65. package/dist/linear-BGmbGdcc-C--Nxp9Q.js +423 -0
  66. package/dist/liquid-CvufO3kO-D90bBAdm.js +14 -0
  67. package/dist/lua-BVfhNLDr-DAa90qLN.js +8 -0
  68. package/dist/make-BjuHP00g-BjuHP00g.js +6 -0
  69. package/dist/markdown-B6guhLWd-B6guhLWd.js +6 -0
  70. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
  71. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
  72. package/dist/mdc-Bq810vct-Dr8CpN8f.js +12 -0
  73. package/dist/mdx-DIoECIFU-DIoECIFU.js +6 -0
  74. package/dist/mermaid-BZ7WHNIe-BZ7WHNIe.js +6 -0
  75. package/dist/mermaid-parser.core-DxgZuQQq-uP-grJig.js +12400 -0
  76. package/dist/mindmap-definition-GWI6TPTV-DX5GL05M-B8Eu6UCe.js +3219 -0
  77. package/dist/nginx-Can2eAjw-DKMoypYC.js +8 -0
  78. package/dist/objective-c-BGg9R27G-BGg9R27G.js +6 -0
  79. package/dist/ordinal-DfAQgscy-BEJTu10r.js +61 -0
  80. package/dist/packet-W2GHVCYJ-CI_-E3C--D1lo2o0i.js +5 -0
  81. package/dist/pascal-l2bqd7Dz-l2bqd7Dz.js +6 -0
  82. package/dist/perl-DaMQyPwp-Cxx4wmV7.js +16 -0
  83. package/dist/php-BL3EfPBi-BZu5YwDX.js +18 -0
  84. package/dist/pie-BEWT4RHE-B52QOymI-BoBX6ZnD.js +5 -0
  85. package/dist/pieDiagram-YF2LJOPJ-IHpbN7M9-BBPOh3m7.js +161 -0
  86. package/dist/plsql-oVq_K_wH-oVq_K_wH.js +6 -0
  87. package/dist/postcss-BZ3MNRIJ-BZ3MNRIJ.js +6 -0
  88. package/dist/powershell-Diwyv8Eh-Diwyv8Eh.js +6 -0
  89. package/dist/proto-o9HLmF90-o9HLmF90.js +6 -0
  90. package/dist/pug-HKe4Luo3-BYb0El_4.js +12 -0
  91. package/dist/python-xYxLFJY--xYxLFJY-.js +6 -0
  92. package/dist/quadrantDiagram-OS5C2QUG-DyfTAjs0-CvYOplDG.js +1024 -0
  93. package/dist/r-F-9I-ITZ-F-9I-ITZ.js +6 -0
  94. package/dist/reg-CMUdAgIP-CMUdAgIP.js +6 -0
  95. package/dist/requirementDiagram-MIRIMTAZ-DpFia6HM-BNS6fGqi.js +768 -0
  96. package/dist/rst-B8JEEtLI-Dyxh6LOj.js +22 -0
  97. package/dist/ruby-FDlfLkNa-nf7VLvCK.js +50 -0
  98. package/dist/rust-Pc7DCsZD-Pc7DCsZD.js +6 -0
  99. package/dist/sankeyDiagram-Y46BX6SQ-a6p3ZaX0-Cwasp0IA.js +805 -0
  100. package/dist/sass-iCyS6eP9-iCyS6eP9.js +6 -0
  101. package/dist/scss-DhHc4lxB-D1lMETuy.js +8 -0
  102. package/dist/sequenceDiagram-G6AWOVSC-DlZ7du4U-z70BwBnZ.js +2274 -0
  103. package/dist/shellscript-Dn0-btNd-Dn0-btNd.js +6 -0
  104. package/dist/shellsession-8OLo3sB6-DD6AdPYk.js +8 -0
  105. package/dist/splunk-CTqDjQdo-CTqDjQdo.js +6 -0
  106. package/dist/sql-DCkt643--DCkt643-.js +6 -0
  107. package/dist/ssh-config-DHHGll-v-DHHGll-v.js +6 -0
  108. package/dist/stateDiagram-MAYHULR4-tK3TdntS-PielUO6n.js +268 -0
  109. package/dist/stateDiagram-v2-4JROLMXI-Ib4sJL3A--uDyhxdT.js +14 -0
  110. package/dist/style.css +1 -0
  111. package/dist/stylus-n_9f0QQ5-n_9f0QQ5.js +6 -0
  112. package/dist/svelte-01qw6Rxm-Cjp5Srko.js +14 -0
  113. package/dist/swift-BAWqNR8A-BAWqNR8A.js +6 -0
  114. package/dist/timeline-definition-U7ZMHBDA-Db9d-9_E-kHwjVd5T.js +804 -0
  115. package/dist/toml-CQSfOn0e-CQSfOn0e.js +6 -0
  116. package/dist/tsx-DiGsgWT8-DiGsgWT8.js +6 -0
  117. package/dist/twig-DxrNSc26-BIWbKTFO.js +18 -0
  118. package/dist/types/components/DocumentationContent.vue.d.ts +177 -0
  119. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -0
  120. package/dist/types/components/DocumentationDisplay.vue.d.ts +323 -0
  121. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -0
  122. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +30 -0
  123. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +1 -0
  124. package/dist/types/components/ProductDocumentModal.vue.d.ts +71 -0
  125. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -0
  126. package/dist/types/composables/index.d.ts +6 -0
  127. package/dist/types/composables/index.d.ts.map +1 -0
  128. package/dist/types/composables/useI18n.d.ts +9 -0
  129. package/dist/types/composables/useI18n.d.ts.map +1 -0
  130. package/dist/types/external-links.d.ts +5 -0
  131. package/dist/types/external-links.d.ts.map +1 -0
  132. package/dist/types/helpers.d.ts +8 -0
  133. package/dist/types/helpers.d.ts.map +1 -0
  134. package/dist/types/index.d.ts +7 -0
  135. package/dist/types/index.d.ts.map +1 -0
  136. package/dist/types/types/document-list.d.ts +28 -0
  137. package/dist/types/types/document-list.d.ts.map +1 -0
  138. package/dist/types/types/document-modal.d.ts +8 -0
  139. package/dist/types/types/document-modal.d.ts.map +1 -0
  140. package/dist/types/types/index.d.ts +3 -0
  141. package/dist/types/types/index.d.ts.map +1 -0
  142. package/dist/typescript-buWNZFwO-buWNZFwO.js +6 -0
  143. package/dist/v-wa8Orrdd-wa8Orrdd.js +6 -0
  144. package/dist/vb-E2_-jk4M-E2_-jk4M.js +6 -0
  145. package/dist/viml-B-zWOd7Z-B-zWOd7Z.js +6 -0
  146. package/dist/vue-DdqTpW8B-BrYVXV7A.js +31 -0
  147. package/dist/vue-html-B9t4RWro-D1UeMTSX.js +10 -0
  148. package/dist/wasm-Bv5f0gKv-Bv5f0gKv.js +6 -0
  149. package/dist/wgsl-DnPoPGDU-DnPoPGDU.js +6 -0
  150. package/dist/xml-ChBsf5uy-0Ovnixsj.js +8 -0
  151. package/dist/xsl-BefjlXrd-CZ7IlB9K.js +8 -0
  152. package/dist/xychartDiagram-6QU3TZC5-L2EgHpF7-Dbx9eZ7M.js +1304 -0
  153. package/dist/yaml-Bbg74JKr-Bbg74JKr.js +6 -0
  154. package/package.json +2 -2
@@ -0,0 +1,6 @@
1
+ const e = Object.freeze(JSON.parse(`{"displayName":"Rust","name":"rust","patterns":[{"begin":"(<)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.brackets.angle.rust"},"2":{"name":"punctuation.brackets.square.rust"}},"comment":"boxed slice literal","end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#gtypes"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"3":{"name":"keyword.other.crate.rust"},"4":{"name":"entity.name.type.metavariable.rust"},"6":{"name":"keyword.operator.key-value.rust"},"7":{"name":"variable.other.metavariable.specifier.rust"}},"comment":"macro type metavariables","match":"(\\\\$)((crate)|([A-Z][A-Za-z0-9_]*))((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?","name":"meta.macro.metavariable.type.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"2":{"name":"variable.other.metavariable.name.rust"},"4":{"name":"keyword.operator.key-value.rust"},"5":{"name":"variable.other.metavariable.specifier.rust"}},"comment":"macro metavariables","match":"(\\\\$)([a-z][A-Za-z0-9_]*)((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?","name":"meta.macro.metavariable.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"entity.name.function.macro.rules.rust"},"3":{"name":"entity.name.function.macro.rust"},"4":{"name":"entity.name.type.macro.rust"},"5":{"name":"punctuation.brackets.curly.rust"}},"comment":"macro rules","match":"\\\\b(macro_rules!)\\\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\\\s+(\\\\{)","name":"meta.macro.rules.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"entity.name.module.rust"}},"comment":"modules","match":"(mod)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)"},{"begin":"\\\\b(extern)\\\\s+(crate)","beginCaptures":{"1":{"name":"storage.type.rust"},"2":{"name":"keyword.other.crate.rust"}},"comment":"external crate imports","end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.import.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#punctuation"}]},{"begin":"\\\\b(use)\\\\s","beginCaptures":{"1":{"name":"keyword.other.rust"}},"comment":"use statements","end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.use.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#types"},{"include":"#lvariables"}]},{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#types"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#variables"}],"repository":{"attributes":{"begin":"(#)(\\\\!?)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.attribute.rust"},"3":{"name":"punctuation.brackets.attribute.rust"}},"comment":"attributes","end":"\\\\]","endCaptures":{"0":{"name":"punctuation.brackets.attribute.rust"}},"name":"meta.attribute.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#gtypes"},{"include":"#types"}]},"block-comments":{"patterns":[{"comment":"empty block comments","match":"/\\\\*\\\\*/","name":"comment.block.rust"},{"begin":"/\\\\*\\\\*","comment":"block documentation comments","end":"\\\\*/","name":"comment.block.documentation.rust","patterns":[{"include":"#block-comments"}]},{"begin":"/\\\\*(?!\\\\*)","comment":"block comments","end":"\\\\*/","name":"comment.block.rust","patterns":[{"include":"#block-comments"}]}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"comment":"documentation comments","match":"(///).*$","name":"comment.line.documentation.rust"},{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"comment":"line comments","match":"(//).*$","name":"comment.line.double-slash.rust"}]},"constants":{"patterns":[{"comment":"ALL CAPS constants","match":"\\\\b[A-Z]{2}[A-Z0-9_]*\\\\b","name":"constant.other.caps.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"constant.other.caps.rust"}},"comment":"constant declarations","match":"\\\\b(const)\\\\s+([A-Z][A-Za-z0-9_]*)\\\\b"},{"captures":{"1":{"name":"punctuation.separator.dot.decimal.rust"},"2":{"name":"keyword.operator.exponent.rust"},"3":{"name":"keyword.operator.exponent.sign.rust"},"4":{"name":"constant.numeric.decimal.exponent.mantissa.rust"},"5":{"name":"entity.name.type.numeric.rust"}},"comment":"decimal integers and floats","match":"\\\\b\\\\d[\\\\d_]*(\\\\.?)[\\\\d_]*(?:(E|e)([+-]?)([\\\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.decimal.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"comment":"hexadecimal integers","match":"\\\\b0x[\\\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.hex.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"comment":"octal integers","match":"\\\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.oct.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"comment":"binary integers","match":"\\\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.bin.rust"},{"comment":"booleans","match":"\\\\b(true|false)\\\\b","name":"constant.language.bool.rust"}]},"escapes":{"captures":{"1":{"name":"constant.character.escape.backslash.rust"},"2":{"name":"constant.character.escape.bit.rust"},"3":{"name":"constant.character.escape.unicode.rust"},"4":{"name":"constant.character.escape.unicode.punctuation.rust"},"5":{"name":"constant.character.escape.unicode.punctuation.rust"}},"comment":"escapes: ASCII, byte, Unicode, quote, regex","match":"(\\\\\\\\)(?:(?:(x[0-7][\\\\da-fA-F])|(u(\\\\{)[\\\\da-fA-F]{4,6}(\\\\}))|.))","name":"constant.character.escape.rust"},"functions":{"patterns":[{"captures":{"1":{"name":"keyword.other.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"comment":"pub as a function","match":"\\\\b(pub)(\\\\()"},{"begin":"\\\\b(fn)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\\\()|(<))","beginCaptures":{"1":{"name":"keyword.other.fn.rust"},"2":{"name":"entity.name.function.rust"},"4":{"name":"punctuation.brackets.round.rust"},"5":{"name":"punctuation.brackets.angle.rust"}},"comment":"function definition","end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.brackets.curly.rust"},"2":{"name":"punctuation.semi.rust"}},"name":"meta.function.definition.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"comment":"function/method calls, chaining","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"}},"comment":"function/method calls with turbofish","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]}]},"gtypes":{"patterns":[{"comment":"option types","match":"\\\\b(Some|None)\\\\b","name":"entity.name.type.option.rust"},{"comment":"result types","match":"\\\\b(Ok|Err)\\\\b","name":"entity.name.type.result.rust"}]},"interpolations":{"captures":{"1":{"name":"punctuation.definition.interpolation.rust"},"2":{"name":"punctuation.definition.interpolation.rust"}},"comment":"curly brace interpolations","match":"({)[^\\"{}]*(})","name":"meta.interpolation.rust"},"keywords":{"patterns":[{"comment":"control flow keywords","match":"\\\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\\\b","name":"keyword.control.rust"},{"comment":"storage keywords","match":"\\\\b(extern|let|macro|mod)\\\\b","name":"keyword.other.rust storage.type.rust"},{"comment":"const keyword","match":"\\\\b(const)\\\\b","name":"storage.modifier.rust"},{"comment":"type keyword","match":"\\\\b(type)\\\\b","name":"keyword.declaration.type.rust storage.type.rust"},{"comment":"enum keyword","match":"\\\\b(enum)\\\\b","name":"keyword.declaration.enum.rust storage.type.rust"},{"comment":"trait keyword","match":"\\\\b(trait)\\\\b","name":"keyword.declaration.trait.rust storage.type.rust"},{"comment":"struct keyword","match":"\\\\b(struct)\\\\b","name":"keyword.declaration.struct.rust storage.type.rust"},{"comment":"storage modifiers","match":"\\\\b(abstract|static)\\\\b","name":"storage.modifier.rust"},{"comment":"other keywords","match":"\\\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\\\b","name":"keyword.other.rust"},{"comment":"fn","match":"\\\\bfn\\\\b","name":"keyword.other.fn.rust"},{"comment":"crate","match":"\\\\bcrate\\\\b","name":"keyword.other.crate.rust"},{"comment":"mut","match":"\\\\bmut\\\\b","name":"storage.modifier.mut.rust"},{"comment":"logical operators","match":"(\\\\^|\\\\||\\\\|\\\\||&&|<<|>>|!)(?!=)","name":"keyword.operator.logical.rust"},{"comment":"logical AND, borrow references","match":"&(?![&=])","name":"keyword.operator.borrow.and.rust"},{"comment":"assignment operators","match":"(\\\\+=|-=|\\\\*=|/=|%=|\\\\^=|&=|\\\\|=|<<=|>>=)","name":"keyword.operator.assignment.rust"},{"comment":"single equal","match":"(?<![<>])=(?!=|>)","name":"keyword.operator.assignment.equal.rust"},{"comment":"comparison operators","match":"(=(=)?(?!>)|!=|<=|(?<!=)>=)","name":"keyword.operator.comparison.rust"},{"comment":"math operators","match":"(([+%]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))","name":"keyword.operator.math.rust"},{"captures":{"1":{"name":"punctuation.brackets.round.rust"},"2":{"name":"punctuation.brackets.square.rust"},"3":{"name":"punctuation.brackets.curly.rust"},"4":{"name":"keyword.operator.comparison.rust"},"5":{"name":"punctuation.brackets.round.rust"},"6":{"name":"punctuation.brackets.square.rust"},"7":{"name":"punctuation.brackets.curly.rust"}},"comment":"less than, greater than (special case)","match":"(?:\\\\b|(?:(\\\\))|(\\\\])|(\\\\})))[ \\\\t]+([<>])[ \\\\t]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))"},{"comment":"namespace operator","match":"::","name":"keyword.operator.namespace.rust"},{"captures":{"1":{"name":"keyword.operator.dereference.rust"}},"comment":"dereference asterisk","match":"(\\\\*)(?=\\\\w+)"},{"comment":"subpattern binding","match":"@","name":"keyword.operator.subpattern.rust"},{"comment":"dot access","match":"\\\\.(?!\\\\.)","name":"keyword.operator.access.dot.rust"},{"comment":"ranges, range patterns","match":"\\\\.{2}(=|\\\\.)?","name":"keyword.operator.range.rust"},{"comment":"colon","match":":(?!:)","name":"keyword.operator.key-value.rust"},{"comment":"dashrocket, skinny arrow","match":"->|<-","name":"keyword.operator.arrow.skinny.rust"},{"comment":"hashrocket, fat arrow","match":"=>","name":"keyword.operator.arrow.fat.rust"},{"comment":"dollar macros","match":"\\\\$","name":"keyword.operator.macro.dollar.rust"},{"comment":"question mark operator, questionably sized, macro kleene matcher","match":"\\\\?","name":"keyword.operator.question.rust"}]},"lifetimes":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.lifetime.rust"},"2":{"name":"entity.name.type.lifetime.rust"}},"comment":"named lifetime parameters","match":"(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\\\b"},{"captures":{"1":{"name":"keyword.operator.borrow.rust"},"2":{"name":"punctuation.definition.lifetime.rust"},"3":{"name":"entity.name.type.lifetime.rust"}},"comment":"borrowing references to named lifetimes","match":"(\\\\&)(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\\\b"}]},"lvariables":{"patterns":[{"comment":"self","match":"\\\\b[Ss]elf\\\\b","name":"variable.language.self.rust"},{"comment":"super","match":"\\\\bsuper\\\\b","name":"variable.language.super.rust"}]},"macros":{"patterns":[{"captures":{"2":{"name":"entity.name.function.macro.rust"},"3":{"name":"entity.name.type.macro.rust"}},"comment":"macros","match":"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))","name":"meta.macro.rust"}]},"namespaces":{"patterns":[{"captures":{"1":{"name":"entity.name.namespace.rust"},"2":{"name":"keyword.operator.namespace.rust"}},"comment":"namespace (non-type, non-function path segment)","match":"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)"}]},"punctuation":{"patterns":[{"comment":"comma","match":",","name":"punctuation.comma.rust"},{"comment":"curly braces","match":"[{}]","name":"punctuation.brackets.curly.rust"},{"comment":"parentheses, round brackets","match":"[()]","name":"punctuation.brackets.round.rust"},{"comment":"semicolon","match":";","name":"punctuation.semi.rust"},{"comment":"square brackets","match":"[\\\\[\\\\]]","name":"punctuation.brackets.square.rust"},{"comment":"angle brackets","match":"(?<!=)[<>]","name":"punctuation.brackets.angle.rust"}]},"strings":{"patterns":[{"begin":"(b?)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.rust"}},"comment":"double-quoted strings and byte strings","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.rust"}},"name":"string.quoted.double.rust","patterns":[{"include":"#escapes"},{"include":"#interpolations"}]},{"begin":"(b?r)(#*)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.raw.rust"},"3":{"name":"punctuation.definition.string.rust"}},"comment":"double-quoted raw strings and raw byte strings","end":"(\\")(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.rust"},"2":{"name":"punctuation.definition.string.raw.rust"}},"name":"string.quoted.double.rust"},{"begin":"(b)?(')","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.char.rust"}},"comment":"characters and bytes","end":"'","endCaptures":{"0":{"name":"punctuation.definition.char.rust"}},"name":"string.quoted.single.char.rust","patterns":[{"include":"#escapes"}]}]},"types":{"patterns":[{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"comment":"numeric types","match":"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\\\b"},{"begin":"\\\\b(_?[A-Z][A-Za-z0-9_]*)(<)","beginCaptures":{"1":{"name":"entity.name.type.rust"},"2":{"name":"punctuation.brackets.angle.rust"}},"comment":"parameterized types","end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"},{"include":"#variables"}]},{"comment":"primitive types","match":"\\\\b(bool|char|str)\\\\b","name":"entity.name.type.primitive.rust"},{"captures":{"1":{"name":"keyword.declaration.trait.rust storage.type.rust"},"2":{"name":"entity.name.type.trait.rust"}},"comment":"trait declarations","match":"\\\\b(trait)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.struct.rust storage.type.rust"},"2":{"name":"entity.name.type.struct.rust"}},"comment":"struct declarations","match":"\\\\b(struct)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.enum.rust storage.type.rust"},"2":{"name":"entity.name.type.enum.rust"}},"comment":"enum declarations","match":"\\\\b(enum)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.type.rust storage.type.rust"},"2":{"name":"entity.name.type.declaration.rust"}},"comment":"type declarations","match":"\\\\b(type)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b"},{"comment":"types","match":"\\\\b_?[A-Z][A-Za-z0-9_]*\\\\b(?!!)","name":"entity.name.type.rust"}]},"variables":{"patterns":[{"comment":"variables","match":"\\\\b(?<!(?<!\\\\.)\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\\\b","name":"variable.other.rust"}]}},"scopeName":"source.rust","aliases":["rs"]}`)), t = [
2
+ e
3
+ ];
4
+ export {
5
+ t as default
6
+ };