@nuxtjs/sitemap 5.0.5 → 5.1.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 (244) hide show
  1. package/dist/client/200.html +221 -4
  2. package/dist/client/404.html +221 -4
  3. package/dist/client/_nuxt/{Icon.obKARbAK.js → Icon.2LDJ9Qfn.js} +1 -1
  4. package/dist/client/_nuxt/Icon.EHea-7vr.css +1 -0
  5. package/dist/client/_nuxt/IconCSS.avVk0m4D.css +1 -0
  6. package/dist/client/_nuxt/IconCSS.gIpwoIfG.js +1 -0
  7. package/dist/client/_nuxt/abap.bJqzlTLD.js +816 -0
  8. package/dist/client/_nuxt/actionscript-3.NUzLYz6e.js +1 -0
  9. package/dist/client/_nuxt/ada.HSb8VHJ5.js +1 -0
  10. package/dist/client/_nuxt/andromeeda.TE0Toi4a.js +1 -0
  11. package/dist/client/_nuxt/angular-html.ulaXK71i.js +16 -0
  12. package/dist/client/_nuxt/angular-ts.CpB8xVpe.js +666 -0
  13. package/dist/client/_nuxt/apache.TpqIaH_y.js +1 -0
  14. package/dist/client/_nuxt/apex.rLr5RF8N.js +274 -0
  15. package/dist/client/_nuxt/apl.XB4V8Q_3.js +87 -0
  16. package/dist/client/_nuxt/applescript.uEUaUzem.js +38 -0
  17. package/dist/client/_nuxt/ara.yxVemEif.js +21 -0
  18. package/dist/client/_nuxt/asm.N3zWSyW8.js +1 -0
  19. package/dist/client/_nuxt/astro.5Up4Y-tq.js +1 -0
  20. package/dist/client/_nuxt/aurora-x.23vffHpO.js +1 -0
  21. package/dist/client/_nuxt/awk.tQAliBPt.js +1 -0
  22. package/dist/client/_nuxt/ayu-dark.09-XTo9D.js +1 -0
  23. package/dist/client/_nuxt/ballerina.j08zL6tL.js +62 -0
  24. package/dist/client/_nuxt/bat.4hprCtpO.js +1 -0
  25. package/dist/client/_nuxt/beancount.B4bgLeBI.js +1 -0
  26. package/dist/client/_nuxt/berry.99Qqo7Pl.js +1 -0
  27. package/dist/client/_nuxt/bibtex.PUS4KD1G.js +1 -0
  28. package/dist/client/_nuxt/bicep.U1vZFTkg.js +1 -0
  29. package/dist/client/_nuxt/blade.dLd1FX1V.js +831 -0
  30. package/dist/client/_nuxt/builds/latest.json +1 -1
  31. package/dist/client/_nuxt/builds/meta/6bfb2cd5-4c26-466c-8718-148f406ec6ba.json +1 -0
  32. package/dist/client/_nuxt/c.1HqcaTLZ.js +81 -0
  33. package/dist/client/_nuxt/cadence.wPBjDAPG.js +1 -0
  34. package/dist/client/_nuxt/catppuccin-frappe.3zzElYQH.js +1 -0
  35. package/dist/client/_nuxt/catppuccin-latte.7_seQpm6.js +1 -0
  36. package/dist/client/_nuxt/catppuccin-macchiato.xyLZ1Mzm.js +1 -0
  37. package/dist/client/_nuxt/catppuccin-mocha.sKQhYBeR.js +1 -0
  38. package/dist/client/_nuxt/clarity.9V3ikNUm.js +1 -0
  39. package/dist/client/_nuxt/clojure.m464_LIc.js +1 -0
  40. package/dist/client/_nuxt/cmake.YiKLaZ9A.js +1 -0
  41. package/dist/client/_nuxt/cobol.yHzQax91.js +1 -0
  42. package/dist/client/_nuxt/codeql.i7fhVOvX.js +1 -0
  43. package/dist/client/_nuxt/coffee.UjKhX0iS.js +100 -0
  44. package/dist/client/_nuxt/cpp.UIU91NPT.js +186 -0
  45. package/dist/client/_nuxt/crystal.ePodXjZr.js +25 -0
  46. package/dist/client/_nuxt/csharp.xHVQI8QI.js +756 -0
  47. package/dist/client/_nuxt/css.tuEqSfZX.js +505 -0
  48. package/dist/client/_nuxt/csv.REIP-dDb.js +1 -0
  49. package/dist/client/_nuxt/cue.ts9p4IYJ.js +1 -0
  50. package/dist/client/_nuxt/cypher.y2dXjvht.js +1 -0
  51. package/dist/client/_nuxt/d.91KOtcJM.js +1 -0
  52. package/dist/client/_nuxt/dark-plus.kgh98KCl.js +1 -0
  53. package/dist/client/_nuxt/dart.ATU8nP6d.js +1 -0
  54. package/dist/client/_nuxt/dax.M4oDHFBw.js +29 -0
  55. package/dist/client/_nuxt/diff.-l9-nN5b.js +1 -0
  56. package/dist/client/_nuxt/docker.FKXxym4E.js +1 -0
  57. package/dist/client/_nuxt/dracula-soft.E92bUq8i.js +1 -0
  58. package/dist/client/_nuxt/dracula.mNVTF5-9.js +1 -0
  59. package/dist/client/_nuxt/dream-maker.5lPMrnJr.js +52 -0
  60. package/dist/client/_nuxt/elixir.dYoE9A9d.js +17 -0
  61. package/dist/client/_nuxt/elm.AR6G1sGv.js +1 -0
  62. package/dist/client/_nuxt/entry.iguuE0_s.js +36 -0
  63. package/dist/client/_nuxt/erb.vCu37omy.js +1 -0
  64. package/dist/client/_nuxt/erlang._Br9gip-.js +1 -0
  65. package/dist/client/_nuxt/{error-404.NZm-ZIEG.js → error-404.JFeDS7ms.js} +1 -1
  66. package/dist/client/_nuxt/{error-500.auQArJoN.js → error-500.PmGUVbpe.js} +1 -1
  67. package/dist/client/_nuxt/fish.k6NZEVUm.js +5 -0
  68. package/dist/client/_nuxt/fortran-fixed-form.5oVt_150.js +1 -0
  69. package/dist/client/_nuxt/fortran-free-form.l6j6vfmD.js +1 -0
  70. package/dist/client/_nuxt/fsharp.5TASvPJ1.js +1 -0
  71. package/dist/client/_nuxt/gdresource.7GKJFf55.js +1 -0
  72. package/dist/client/_nuxt/gdscript.E1_SGClP.js +44 -0
  73. package/dist/client/_nuxt/gdshader.6pjKCTQy.js +1 -0
  74. package/dist/client/_nuxt/gherkin.hgsyILVZ.js +1 -0
  75. package/dist/client/_nuxt/git-commit.RtAxFnK2.js +1 -0
  76. package/dist/client/_nuxt/git-rebase.-_3Z3F37.js +1 -0
  77. package/dist/client/_nuxt/github-dark-dimmed.yDYFqRVv.js +1 -0
  78. package/dist/client/_nuxt/github-dark.WrpzPehD.js +1 -0
  79. package/dist/client/_nuxt/github-light.QjB713Ax.js +1 -0
  80. package/dist/client/_nuxt/glimmer-js.8faD3vw8.js +13 -0
  81. package/dist/client/_nuxt/glimmer-ts.I8Eofu1P.js +13 -0
  82. package/dist/client/_nuxt/glsl.yLv_V-GM.js +1 -0
  83. package/dist/client/_nuxt/gnuplot.fIlAWhXw.js +266 -0
  84. package/dist/client/_nuxt/go.U2NlzxIl.js +1 -0
  85. package/dist/client/_nuxt/graphql.aYTh5yPU.js +4 -0
  86. package/dist/client/_nuxt/groovy.Z1Lrhk2B.js +37 -0
  87. package/dist/client/_nuxt/hack.9pFjhnG2.js +86 -0
  88. package/dist/client/_nuxt/haml.DYCf5dhF.js +1 -0
  89. package/dist/client/_nuxt/handlebars.Z9TIkDUw.js +1 -0
  90. package/dist/client/_nuxt/haskell.HW0BBkRd.js +559 -0
  91. package/dist/client/_nuxt/hcl.M9siRbiv.js +1 -0
  92. package/dist/client/_nuxt/hjson.fLk7JbZa.js +50 -0
  93. package/dist/client/_nuxt/hlsl.Do_j-o-7.js +1 -0
  94. package/dist/client/_nuxt/html.ZVb9jHrO.js +74 -0
  95. package/dist/client/_nuxt/http.McgS7Vpm.js +1 -0
  96. package/dist/client/_nuxt/imba.guICF3zN.js +223 -0
  97. package/dist/client/_nuxt/index.0wqzsba0.js +1 -0
  98. package/dist/client/_nuxt/ini.T6bxBy5-.js +1 -0
  99. package/dist/client/_nuxt/java.tY-NU26U.js +68 -0
  100. package/dist/client/_nuxt/javascript.JMZ6uy5M.js +699 -0
  101. package/dist/client/_nuxt/jinja.H2a5aKFq.js +1 -0
  102. package/dist/client/_nuxt/jison.hEN1Pilr.js +1 -0
  103. package/dist/client/_nuxt/json.xL80yL3n.js +25 -0
  104. package/dist/client/_nuxt/json5.NRuQoh_0.js +17 -0
  105. package/dist/client/_nuxt/jsonc.Bb1R3obU.js +25 -0
  106. package/dist/client/_nuxt/jsonl.Yjg0VwMG.js +25 -0
  107. package/dist/client/_nuxt/jsonnet.WK26vH-O.js +1 -0
  108. package/dist/client/_nuxt/jssm.eioTUq4-.js +1 -0
  109. package/dist/client/_nuxt/jsx.3LZ_BoLB.js +699 -0
  110. package/dist/client/_nuxt/julia.zN5MNt1V.js +9 -0
  111. package/dist/client/_nuxt/kotlin.1iwCeGA4.js +1 -0
  112. package/dist/client/_nuxt/kusto.UpRCclYC.js +1 -0
  113. package/dist/client/_nuxt/latex.Pwsy_OsJ.js +3 -0
  114. package/dist/client/_nuxt/less.Mq8TrjER.js +159 -0
  115. package/dist/client/_nuxt/light-plus.TzXGjDsL.js +1 -0
  116. package/dist/client/_nuxt/liquid.UuwAmqmc.js +14 -0
  117. package/dist/client/_nuxt/lisp.iIZdsWzX.js +1 -0
  118. package/dist/client/_nuxt/logo.WuHqTpFy.js +1 -0
  119. package/dist/client/_nuxt/lua.OGbZEs3U.js +1 -0
  120. package/dist/client/_nuxt/make.8zIAVqFD.js +1 -0
  121. package/dist/client/_nuxt/markdown.Y8p9X7h3.js +129 -0
  122. package/dist/client/_nuxt/marko.gbQhFTQa.js +8 -0
  123. package/dist/client/_nuxt/material-theme-darker.e1lAwchJ.js +1 -0
  124. package/dist/client/_nuxt/material-theme-lighter.y77yPuAI.js +1 -0
  125. package/dist/client/_nuxt/material-theme-ocean.oIMAIpse.js +1 -0
  126. package/dist/client/_nuxt/material-theme-palenight.Z44VU5rQ.js +1 -0
  127. package/dist/client/_nuxt/material-theme.49YjOoAR.js +1 -0
  128. package/dist/client/_nuxt/matlab.LaB98_jd.js +70 -0
  129. package/dist/client/_nuxt/mdc.NowVT77H.js +76 -0
  130. package/dist/client/_nuxt/mdx.VhCSg2DJ.js +1 -0
  131. package/dist/client/_nuxt/mermaid.WuNnVULj.js +1 -0
  132. package/dist/client/_nuxt/min-dark._Ja8ZF5C.js +1 -0
  133. package/dist/client/_nuxt/min-light.N1m_6E3S.js +1 -0
  134. package/dist/client/_nuxt/mojo.zLNDSfD9.js +519 -0
  135. package/dist/client/_nuxt/monokai.WLw4Glvg.js +1 -0
  136. package/dist/client/_nuxt/narrat.KYi2rZr0.js +7 -0
  137. package/dist/client/_nuxt/nextflow.lYJjOZ_l.js +1 -0
  138. package/dist/client/_nuxt/nginx.CrBM8z2W.js +1 -0
  139. package/dist/client/_nuxt/night-owl.GWZK5Ce7.js +1 -0
  140. package/dist/client/_nuxt/nim.16czfBCm.js +1 -0
  141. package/dist/client/_nuxt/nix.z3u_V08Q.js +1 -0
  142. package/dist/client/_nuxt/nord.1NrVtx79.js +1 -0
  143. package/dist/client/_nuxt/nushell.GDk9yul-.js +1 -0
  144. package/dist/client/_nuxt/objective-c.Eci2Q5FN.js +109 -0
  145. package/dist/client/_nuxt/objective-cpp.nGsV46Zk.js +239 -0
  146. package/dist/client/_nuxt/ocaml.oQRvlYTD.js +1 -0
  147. package/dist/client/_nuxt/one-dark-pro.qlkgvdEn.js +1 -0
  148. package/dist/client/_nuxt/onig.mBJmD8D5.js +1 -0
  149. package/dist/client/_nuxt/pascal.aIRIFbih.js +1 -0
  150. package/dist/client/_nuxt/perl._x09KDDb.js +1 -0
  151. package/dist/client/_nuxt/php.2PDLwZAX.js +771 -0
  152. package/dist/client/_nuxt/plsql.vhhXsReo.js +1 -0
  153. package/dist/client/_nuxt/poimandres.oZrO-I17.js +1 -0
  154. package/dist/client/_nuxt/postcss.57yKeRpx.js +1 -0
  155. package/dist/client/_nuxt/powerquery.wBQvr9E-.js +1 -0
  156. package/dist/client/_nuxt/powershell.6Y_bsqLY.js +1 -0
  157. package/dist/client/_nuxt/prisma.fG9Ut-9i.js +1 -0
  158. package/dist/client/_nuxt/prolog.vggnm0Hd.js +1 -0
  159. package/dist/client/_nuxt/proto.yigfBmiL.js +1 -0
  160. package/dist/client/_nuxt/pug.ieZS468c.js +1 -0
  161. package/dist/client/_nuxt/puppet.NqXa_cO1.js +1 -0
  162. package/dist/client/_nuxt/purescript.NA5qsvV2.js +7 -0
  163. package/dist/client/_nuxt/python.V9Nu427R.js +518 -0
  164. package/dist/client/_nuxt/r.xMXDrvl2.js +1 -0
  165. package/dist/client/_nuxt/raku.NSWyGF40.js +1 -0
  166. package/dist/client/_nuxt/razor.wPI2afgP.js +40 -0
  167. package/dist/client/_nuxt/red.sV5NnIRC.js +1 -0
  168. package/dist/client/_nuxt/reg.Dr-lXfN9.js +1 -0
  169. package/dist/client/_nuxt/rel.vATIbX_E.js +1 -0
  170. package/dist/client/_nuxt/riscv.L73dAZEB.js +13 -0
  171. package/dist/client/_nuxt/rose-pine-dawn.qPi4euik.js +1 -0
  172. package/dist/client/_nuxt/rose-pine-moon.Im6VgKOx.js +1 -0
  173. package/dist/client/_nuxt/rose-pine._tQyNI4L.js +1 -0
  174. package/dist/client/_nuxt/rst.Nzb5IGfi.js +1 -0
  175. package/dist/client/_nuxt/ruby.oOCDDplm.js +80 -0
  176. package/dist/client/_nuxt/rust.yNm59Dur.js +1 -0
  177. package/dist/client/_nuxt/sas.fTu4QUYF.js +1 -0
  178. package/dist/client/_nuxt/sass.URKSWxt9.js +2 -0
  179. package/dist/client/_nuxt/scala.7DKpDMtV.js +5 -0
  180. package/dist/client/_nuxt/scheme.S0VUhbaV.js +136 -0
  181. package/dist/client/_nuxt/scss.9u5wOjnF.js +90 -0
  182. package/dist/client/_nuxt/shaderlab.MYTNW71C.js +1 -0
  183. package/dist/client/_nuxt/shellscript.82BvnTib.js +4 -0
  184. package/dist/client/_nuxt/shellsession.e2TODbDv.js +1 -0
  185. package/dist/client/_nuxt/slack-dark.1ZggNzwg.js +1 -0
  186. package/dist/client/_nuxt/slack-ochin.IcMt0x71.js +1 -0
  187. package/dist/client/_nuxt/smalltalk.ymyryZ3T.js +1 -0
  188. package/dist/client/_nuxt/solarized-dark.3DcwRX9o.js +1 -0
  189. package/dist/client/_nuxt/solarized-light.iUVMuJ2F.js +1 -0
  190. package/dist/client/_nuxt/solidity.rGqtk2dD.js +1 -0
  191. package/dist/client/_nuxt/sparql.b6B4dWwT.js +1 -0
  192. package/dist/client/_nuxt/splunk.OYnOZZCZ.js +1 -0
  193. package/dist/client/_nuxt/sql.KWFjTZGI.js +21 -0
  194. package/dist/client/_nuxt/ssh-config.jdYjUr9x.js +1 -0
  195. package/dist/client/_nuxt/stata.cF_ucIcM.js +3 -0
  196. package/dist/client/_nuxt/stylus.sPHLw37c.js +15 -0
  197. package/dist/client/_nuxt/svelte.j-bqdsch.js +1 -0
  198. package/dist/client/_nuxt/swift.YwiPyWKn.js +544 -0
  199. package/dist/client/_nuxt/synthwave-84.QD7ZGwpp.js +1 -0
  200. package/dist/client/_nuxt/system-verilog.gwJe9XJI.js +9 -0
  201. package/dist/client/_nuxt/tasl.IM3fg-4x.js +1 -0
  202. package/dist/client/_nuxt/tcl.h_zrCUh3.js +1 -0
  203. package/dist/client/_nuxt/tex.uNByjuDB.js +1 -0
  204. package/dist/client/_nuxt/tokyo-night.3j08uV2M.js +1 -0
  205. package/dist/client/_nuxt/toml.p_xIKQcU.js +69 -0
  206. package/dist/client/_nuxt/tsx.7LxggtAE.js +699 -0
  207. package/dist/client/_nuxt/turtle.qvOLXpiq.js +1 -0
  208. package/dist/client/_nuxt/twig.p6WenPmw.js +40 -0
  209. package/dist/client/_nuxt/typescript.HpdcmTOD.js +666 -0
  210. package/dist/client/_nuxt/v.BcVLQyAr.js +1 -0
  211. package/dist/client/_nuxt/vb.nfm3ZogP.js +1 -0
  212. package/dist/client/_nuxt/verilog.32GaFvLA.js +1 -0
  213. package/dist/client/_nuxt/vhdl.BgfvI7C9.js +515 -0
  214. package/dist/client/_nuxt/viml.Ob-szSvk.js +1 -0
  215. package/dist/client/_nuxt/vitesse-black.uLlG6AUB.js +1 -0
  216. package/dist/client/_nuxt/vitesse-dark.5VceXvs6.js +1 -0
  217. package/dist/client/_nuxt/vitesse-light.HOMMxGxw.js +1 -0
  218. package/dist/client/_nuxt/vue-html.TGyjH-sv.js +1 -0
  219. package/dist/client/_nuxt/vue.AKvPdve9.js +6 -0
  220. package/dist/client/_nuxt/vyper.0ItMHLZu.js +575 -0
  221. package/dist/client/_nuxt/wasm.5qeU6UJI.js +1 -0
  222. package/dist/client/_nuxt/wenyan.gl1zQYA8.js +1 -0
  223. package/dist/client/_nuxt/wgsl.KpVp-DWl.js +1 -0
  224. package/dist/client/_nuxt/wolfram.K_QzNdW-.js +1 -0
  225. package/dist/client/_nuxt/xml.GygmfNh9.js +1 -0
  226. package/dist/client/_nuxt/xsl.TptR0G-3.js +1 -0
  227. package/dist/client/_nuxt/yaml.zytfnWoA.js +200 -0
  228. package/dist/client/_nuxt/zenscript.htRIWiQY.js +2 -0
  229. package/dist/client/_nuxt/zig.VzlkOal1.js +1 -0
  230. package/dist/client/index.html +221 -4
  231. package/dist/module.d.mts +7 -1
  232. package/dist/module.d.ts +7 -1
  233. package/dist/module.json +1 -1
  234. package/dist/module.mjs +2 -3
  235. package/dist/runtime/nitro/plugins/nuxt-content.mjs +2 -1
  236. package/dist/runtime/nitro/sitemap/builder/sitemap-index.mjs +5 -2
  237. package/dist/runtime/types.d.ts +7 -1
  238. package/package.json +15 -14
  239. package/dist/client/_nuxt/Icon.igAZdNwU.css +0 -1
  240. package/dist/client/_nuxt/IconCSS.TGpF5Cou.js +0 -1
  241. package/dist/client/_nuxt/IconCSS._VVd0cfH.css +0 -1
  242. package/dist/client/_nuxt/builds/meta/d17e65fe-31ee-4916-8142-618e3f8935de.json +0 -1
  243. package/dist/client/_nuxt/entry.8vuPgEH3.js +0 -31
  244. package/dist/client/_nuxt/index.P7jyS_57.js +0 -1
@@ -0,0 +1,559 @@
1
+ const e=Object.freeze({displayName:"Haskell",fileTypes:["hs","hs-boot","hsig"],name:"haskell",patterns:[{include:"#liquid_haskell"},{include:"#comment_like"},{include:"#numeric_literals"},{include:"#string_literal"},{include:"#char_literal"},{match:"(?<!@|#)-\\}",name:"invalid"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"punctuation.paren.haskell"}},match:"(\\()\\s*(\\))",name:"constant.language.unit.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"constant.language.unit.unboxed.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"punctuation.paren.haskell"}},match:"(\\()\\s*,[\\s,]*(\\))",name:"support.constant.tuple.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*,[\\s,]*(#)(\\))",name:"support.constant.tuple.unboxed.haskell"},{captures:{1:{name:"punctuation.bracket.haskell"},2:{name:"punctuation.bracket.haskell"}},match:"(\\[)\\s*(\\])",name:"constant.language.empty-list.haskell"},{begin:"(\\b(?<!')(module)|^(signature))(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.module.haskell"},3:{name:"keyword.other.signature.haskell"}},end:"(?=\\b(?<!')where\\b(?!'))",name:"meta.declaration.module.haskell",patterns:[{include:"#comment_like"},{include:"#module_name"},{include:"#module_exports"},{match:"[a-z]+",name:"invalid"}]},{include:"#ffi"},{begin:"^(\\s*)(class)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.class.haskell"}},end:`(?x)
2
+
3
+ (?=(?<!')\\bwhere\\b(?!'))
4
+
5
+ |(?=\\}|;)
6
+ |^(?!
7
+ \\1\\s+\\S
8
+ | \\s*
9
+ (?: $
10
+ |\\{-[^@]
11
+ |--+
12
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
13
+
14
+
15
+ )`,name:"meta.declaration.class.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:`(?x)
16
+ ^(\\s*)(data|newtype)(?:\\s+(instance))?\\s+
17
+
18
+ ((?:(?!
19
+
20
+ (?:
21
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
22
+ (?:=|--+)
23
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
24
+ )
25
+
26
+ | (?:\\b(?<!')(?:where|deriving)\\b(?!'))
27
+
28
+ | {-
29
+
30
+ ).)*)
31
+ (?=\\b(?<!'')where\\b(?!''))`,beginCaptures:{2:{name:"keyword.other.$2.haskell"},3:{name:"keyword.other.instance.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
32
+
33
+ (?=(?<!')\\bderiving\\b(?!'))
34
+
35
+ |(?=\\}|;)
36
+ |^(?!
37
+ \\1\\s+\\S
38
+ | \\s*
39
+ (?: $
40
+ |\\{-[^@]
41
+ |--+
42
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
43
+
44
+
45
+ )
46
+ `,name:"meta.declaration.$2.generalized.haskell",patterns:[{include:"#comment_like"},{begin:`(?x)
47
+ (?<!')\\b(where)
48
+ \\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.where.haskell"},2:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"#comment_like"},{include:"#gadt_constructor"},{match:";",name:"punctuation.semicolon.haskell"}]},{match:"\\b(?<!')(where)\\b(?!')",name:"keyword.other.where.haskell"},{include:"#deriving"},{include:"#gadt_constructor"}]},{include:"#role_annotation"},{begin:"^(\\s*)(pattern)\\s+(.*?)\\s+(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])",beginCaptures:{2:{name:"keyword.other.pattern.haskell"},3:{patterns:[{include:"#comma"},{include:"#data_constructor"}]},4:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
49
+ (?=\\}|;)
50
+ |^(?!
51
+ \\1\\s+\\S
52
+ | \\s*
53
+ (?: $
54
+ |\\{-[^@]
55
+ |--+
56
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
57
+
58
+
59
+ )
60
+ `,name:"meta.declaration.pattern.type.haskell",patterns:[{include:"#type_signature"}]},{begin:"^\\s*(pattern)\\b(?!')",captures:{1:{name:"keyword.other.pattern.haskell"}},end:`(?x)
61
+ (?=\\}|;)
62
+ |^(?!
63
+ \\1\\s+\\S
64
+ | \\s*
65
+ (?: $
66
+ |\\{-[^@]
67
+ |--+
68
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
69
+
70
+
71
+ )
72
+ `,name:"meta.declaration.pattern.haskell",patterns:[{include:"$self"}]},{begin:`(?x)
73
+
74
+ ^(\\s*)(data|newtype)(?:\\s+(family|instance))?\\s+
75
+
76
+ (((?!
77
+
78
+ (?:
79
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
80
+ (?:=|--+)
81
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
82
+ )
83
+
84
+ | (?:\\b(?<!')(?:where|deriving)\\b(?!'))
85
+
86
+ | {-
87
+
88
+ ).)*)`,beginCaptures:{2:{name:"keyword.other.$2.haskell"},3:{name:"keyword.other.$3.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
89
+
90
+ (?=\\}|;)
91
+ |^(?!
92
+ \\1\\s+\\S
93
+ | \\s*
94
+ (?: $
95
+ |\\{-[^@]
96
+ |--+
97
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
98
+
99
+
100
+ )`,name:"meta.declaration.$2.algebraic.haskell",patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#forall"},{include:"#adt_constructor"},{include:"#context"},{include:"#record_decl"},{include:"#type_signature"}]},{begin:`(?x)
101
+
102
+ ^(\\s*)(type)\\s+(family)\\b(?!')
103
+
104
+ (((?!
105
+
106
+ (?:
107
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
108
+ (?:=|--+)
109
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
110
+ )
111
+
112
+ | \\b(?<!')where\\b(?!')
113
+
114
+ | {-
115
+
116
+ ).)*)`,beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.family.haskell"},4:{patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]}},end:`(?x)
117
+ (?=\\}|;)
118
+ |^(?!
119
+ \\1\\s+\\S
120
+ | \\s*
121
+ (?: $
122
+ |\\{-[^@]
123
+ |--+
124
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
125
+
126
+
127
+ )
128
+ `,name:"meta.declaration.type.family.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:`(?x)
129
+
130
+ ^(\\s*)(type)(?:\\s+(instance))?\\s+
131
+
132
+ (((?!
133
+
134
+ (?:
135
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
136
+ (?:=|--+|::|∷)
137
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
138
+ )
139
+
140
+ | {-
141
+
142
+ ).)*)`,beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.instance.haskell"},4:{patterns:[{include:"#type_signature"}]}},end:`(?x)
143
+ (?=\\}|;)
144
+ |^(?!
145
+ \\1\\s+\\S
146
+ | \\s*
147
+ (?: $
148
+ |\\{-[^@]
149
+ |--+
150
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
151
+
152
+
153
+ )
154
+ `,name:"meta.declaration.type.haskell",patterns:[{include:"#type_signature"}]},{begin:"^(\\s*)(instance)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.instance.haskell"}},end:`(?x)
155
+
156
+ (?=\\b(?<!')(where)\\b(?!'))
157
+
158
+ |(?=\\}|;)
159
+ |^(?!
160
+ \\1\\s+\\S
161
+ | \\s*
162
+ (?: $
163
+ |\\{-[^@]
164
+ |--+
165
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
166
+
167
+
168
+ )
169
+ `,name:"meta.declaration.instance.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:"^(\\s*)(import)(\\b(?!'))",beginCaptures:{2:{name:"keyword.other.import.haskell"}},end:`(?x)
170
+
171
+ (?=\\b(?<!')(where)\\b(?!'))
172
+
173
+ |(?=\\}|;)
174
+ |^(?!
175
+ \\1\\s+\\S
176
+ | \\s*
177
+ (?: $
178
+ |\\{-[^@]
179
+ |--+
180
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
181
+
182
+
183
+ )
184
+ `,name:"meta.import.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{captures:{1:{name:"keyword.other.$1.haskell"}},match:"(qualified|as|hiding)"},{include:"#module_name"},{include:"#module_exports"}]},{include:"#deriving"},{include:"#layout_herald"},{include:"#keyword"},{captures:{1:{name:"keyword.other.$1.haskell"},2:{patterns:[{include:"#comment_like"},{include:"#integer_literals"},{include:"#infix_op"}]}},match:"^\\s*(infix[lr]?)\\s+(.*)",name:"meta.fixity-declaration.haskell"},{include:"#overloaded_label"},{include:"#type_application"},{include:"#reserved_symbol"},{include:"#fun_decl"},{include:"#qualifier"},{include:"#data_constructor"},{include:"#start_type_signature"},{include:"#prefix_op"},{include:"#infix_op"},{begin:"(\\()(#)\\s",beginCaptures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"}},end:"(#)(\\))",endCaptures:{1:{name:"keyword.operator.hash.haskell"},2:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{begin:"(\\()",beginCaptures:{1:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{include:"#quasi_quote"},{begin:"(\\[)",beginCaptures:{1:{name:"punctuation.bracket.haskell"}},end:"(\\])",endCaptures:{1:{name:"punctuation.bracket.haskell"}},patterns:[{include:"#comma"},{include:"$self"}]},{include:"#record"}],repository:{adt_constructor:{patterns:[{include:"#comment_like"},{begin:`(?x)
185
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
186
+ (?:(=)|(\\|))
187
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])`,beginCaptures:{1:{name:"keyword.operator.eq.haskell"},2:{name:"keyword.operator.pipe.haskell"}},end:`(?x)
188
+ (?:\\G|^)\\s*
189
+ (?:
190
+
191
+ (?:
192
+
193
+ (?<!')\\b((?:[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'\\.])+)
194
+
195
+ | ('?
196
+ (?<paren>
197
+ \\(
198
+ (?:
199
+ [^\\(\\)]*
200
+ | \\g<paren>
201
+ )*
202
+ \\)
203
+ )
204
+ )
205
+
206
+ | ('?
207
+ (?<brac>
208
+ \\(
209
+ (?:
210
+ [^\\[\\]]*
211
+ | \\g<brac>
212
+ )*
213
+ \\]
214
+ )
215
+ )
216
+ )
217
+
218
+ \\s*
219
+
220
+ (?:(?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)
221
+
222
+ | (\`)([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)(\`)
223
+ )
224
+
225
+ )
226
+ |
227
+ (?:(?<!')\\b([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*))
228
+ |
229
+ (\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))`,endCaptures:{1:{patterns:[{include:"#type_signature"}]},2:{patterns:[{include:"#type_signature"}]},4:{patterns:[{include:"#type_signature"}]},6:{name:"constant.other.operator.haskell"},7:{name:"punctuation.backtick.haskell"},8:{name:"constant.other.haskell"},9:{name:"punctuation.backtick.haskell"},10:{name:"constant.other.haskell"},11:{name:"punctuation.paren.haskell"},12:{name:"constant.other.operator.haskell"},13:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#record_decl"},{include:"#forall"},{include:"#context"}]}]},block_comment:{applyEndPatternLast:1,begin:"\\{-",captures:{0:{name:"punctuation.definition.comment.haskell"}},end:"-\\}",name:"comment.block.haskell",patterns:[{include:"#block_comment"}]},char_literal:{captures:{1:{name:"punctuation.definition.string.begin.haskell"},2:{name:"constant.character.escape.haskell"},3:{name:"constant.character.escape.octal.haskell"},4:{name:"constant.character.escape.hexadecimal.haskell"},5:{name:"constant.character.escape.control.haskell"},6:{name:"punctuation.definition.string.end.haskell"}},match:`(?x)
230
+ (?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])
231
+ (')
232
+ (?:
233
+ [\\ -\\[\\]-~]
234
+ | (\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE
235
+ |DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS
236
+ |US|SP|DEL|[abfnrtv\\\\\\"'\\\\&]))
237
+ | (\\\\o[0-7]+)
238
+ | (\\\\x[0-9A-Fa-f]+)
239
+ | (\\\\\\^[A-Z@\\[\\]\\\\\\^_])
240
+ )
241
+ (')
242
+ `,name:"string.quoted.single.haskell"},comma:{match:",",name:"punctuation.separator.comma.haskell"},comment_like:{patterns:[{include:"#cpp"},{include:"#pragma"},{include:"#comments"}]},comments:{patterns:[{begin:"^(\\s*)(--\\s[\\|\\$])",beginCaptures:{2:{name:"punctuation.whitespace.comment.leading.haskell"}},end:"(?=^(?!\\1--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])))",name:"comment.block.documentation.haskell"},{begin:"(^[ \\t]+)?(--\\s[\\^\\*])",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.haskell"}},end:"\\n",name:"comment.line.documentation.haskell"},{applyEndPatternLast:1,begin:"\\{-\\s?[\\|\\$\\*\\^]",captures:{0:{name:"punctuation.definition.comment.haskell"}},end:"-\\}",name:"comment.block.documentation.haskell",patterns:[{include:"#block_comment"}]},{begin:"(^[ \\t]+)?(?=--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]))",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.haskell"}},comment:"Operators may begin with '--' as long as they are not entirely composed of '-' characters. This means comments can't be immediately followed by an allowable operator character.",end:"(?!\\G)",patterns:[{begin:"--",beginCaptures:{0:{name:"punctuation.definition.comment.haskell"}},end:"\\n",name:"comment.line.double-dash.haskell"}]},{include:"#block_comment"}]},context:{captures:{1:{patterns:[{include:"#comment_like"},{include:"#type_signature"}]},2:{name:"keyword.operator.big-arrow.haskell"}},match:`(?x)
243
+ (.*)
244
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
245
+ (=>|⇒)
246
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
247
+ `},cpp:{captures:{1:{name:"punctuation.definition.preprocessor.c"}},comment:`In addition to Haskell's "native" syntax, GHC permits the C preprocessor to be run on a source file.`,match:"^(#).*$",name:"meta.preprocessor.c"},data_constructor:{match:"\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?![\\.'\\w])",name:"constant.other.haskell"},deriving:{patterns:[{begin:"^(\\s*)(deriving)\\s+(?:(via|stock|newtype|anyclass)\\s+)?",beginCaptures:{2:{name:"keyword.other.deriving.haskell"},3:{name:"keyword.other.deriving.strategy.$3.haskell"}},end:`(?x)
248
+
249
+ (?=\\}|;)
250
+ |^(?!
251
+ \\1\\s+\\S
252
+ | \\s*
253
+ (?: $
254
+ |\\{-[^@]
255
+ |--+
256
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
257
+
258
+
259
+ )`,name:"meta.deriving.haskell",patterns:[{include:"#comment_like"},{match:"(?<!')\\b(instance)\\b(?!')",name:"keyword.other.instance.haskell"},{captures:{1:{name:"keyword.other.deriving.strategy.$1.haskell"}},match:"(?<!')\\b(via|stock|newtype|anyclass)\\b(?!')"},{include:"#type_signature"}]},{begin:"(deriving)(?:\\s+(stock|newtype|anyclass))?\\s*(\\()",beginCaptures:{1:{name:"keyword.other.deriving.haskell"},2:{name:"keyword.other.deriving.strategy.$2.haskell"},3:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},name:"meta.deriving.haskell",patterns:[{include:"#type_signature"}]},{captures:{1:{name:"keyword.other.deriving.haskell"},2:{name:"keyword.other.deriving.strategy.$2.haskell"},3:{patterns:[{include:"#type_signature"}]},5:{name:"keyword.other.deriving.strategy.via.haskell"},6:{patterns:[{include:"#type_signature"}]}},match:`(?x)
260
+ (deriving)(?:\\s+(stock|newtype|anyclass))?\\s+
261
+ ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
262
+ (\\s+(via)\\s+(.*)$)?
263
+ `,name:"meta.deriving.haskell"},{match:"(?<!')\\b(via)\\b(?!')",name:"keyword.other.deriving.strategy.via.haskell"}]},double_colon:{captures:{1:{name:"keyword.operator.double-colon.haskell"}},match:"\\s*(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])\\s*"},export_constructs:{patterns:[{include:"#comment_like"},{begin:"\\b(?<!')(pattern)\\b(?!')",beginCaptures:{1:{name:"keyword.other.pattern.haskell"}},end:`(?x)
264
+
265
+ ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
266
+
267
+ | (\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))`,endCaptures:{1:{name:"constant.other.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"constant.other.operator.haskell"},4:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"}]},{begin:"\\b(?<!')(type)\\b(?!')",beginCaptures:{1:{name:"keyword.other.type.haskell"}},end:`(?x)
268
+
269
+ ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
270
+
271
+ | (\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))`,endCaptures:{1:{name:"storage.type.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"storage.type.operator.haskell"},4:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"}]},{match:"(?<!')\\b[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"entity.name.function.haskell"},{match:"(?<!')\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"storage.type.haskell"},{include:"#record_wildcard"},{include:"#reserved_symbol"},{include:"#prefix_op"}]},ffi:{begin:"^(\\s*)(foreign)\\s+(import|export)\\s+",beginCaptures:{2:{name:"keyword.other.foreign.haskell"},3:{name:"keyword.other.$3.haskell"}},end:`(?x)
272
+ (?=\\}|;)
273
+ |^(?!
274
+ \\1\\s+\\S
275
+ | \\s*
276
+ (?: $
277
+ |\\{-[^@]
278
+ |--+
279
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
280
+
281
+
282
+ )
283
+ `,name:"meta.$3.foreign.haskell",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.calling-convention.$1.haskell"}},match:"\\b(?<!')(ccall|cplusplus|dotnet|jvm|stdcall|prim|capi)\\s+"},{begin:`(?=")|(?=\\b(?<!')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))`,end:"(?=(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]))",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.safety.$1.haskell"},2:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]},3:{name:"entity.name.function.haskell"},4:{name:"entity.name.function.infix.haskell"}},match:`(?x)
284
+ \\b(?<!')(safe|unsafe|interruptible)\\b(?!')
285
+ \\s*
286
+ ("(?:\\\\"|[^"])*")?
287
+ \\s*
288
+ (?:
289
+ (?:\\b(?<!'')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))
290
+ |(?:\\(\\s*(?!--+\\))([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*\\))
291
+ )
292
+ `},{captures:{1:{name:"keyword.other.safety.$1.haskell"},2:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]}},match:`(?x)
293
+ \\b(?<!')(safe|unsafe|interruptible)\\b(?!')
294
+ \\s*
295
+ ("(?:\\\\"|[^"])*")?
296
+ \\s*$
297
+ `},{captures:{0:{name:"entity.name.foreign.haskell",patterns:[{include:"#string_literal"}]}},match:`(?x)
298
+ "(?:\\\\"|[^"])*"`},{captures:{1:{name:"entity.name.function.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"entity.name.function.infix.haskell"},4:{name:"punctuation.paren.haskell"}},match:`(?x)
299
+ (?:\\b(?<!'')([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\b(?!'))
300
+ |(?:(\\()\\s*(?!--+\\))([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\)))
301
+ `}]},{include:"#double_colon"},{include:"#type_signature"}]},float_literals:{captures:{1:{name:"constant.numeric.floating.decimal.haskell"},2:{name:"constant.numeric.floating.hexadecimal.haskell"}},comment:"Floats are decimal or hexadecimal",match:`(?x)
302
+ \\b(?<!')
303
+ (?:
304
+ ([0-9][_0-9]*\\.[0-9][_0-9]*(?:[eE][-+]?[0-9][_0-9]*)?
305
+ |[0-9][_0-9]*[eE][-+]?[0-9][_0-9]*
306
+ )
307
+ |
308
+ (0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*\\.[0-9a-fA-F][_0-9a-fA-F]*(?:[pP][-+]?[0-9][_0-9]*)?
309
+ |0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*[pP][-+]?[0-9][_0-9]*
310
+ )
311
+ )\\b(?!')`},forall:{begin:"\\b(?<!')(forall|∀)\\b(?!')",beginCaptures:{1:{name:"keyword.other.forall.haskell"}},end:"(\\.)|(->|→)",endCaptures:{1:{name:"keyword.operator.period.haskell"},2:{name:"keyword.operator.arrow.haskell"}},patterns:[{include:"#comment_like"},{include:"#type_variable"},{include:"#type_signature"}]},fun_decl:{begin:`(?x)^(\\s*)
312
+ (?<fn>
313
+ (?:
314
+ [\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\#*
315
+ | \\(\\s*
316
+ (?!--+\\))
317
+ [\\p{S}\\p{P}&&[^(),:;\\[\\]\`{}_"']]
318
+ [\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*
319
+ \\s*\\)
320
+ )
321
+ (?:\\s*,\\s*\\g<fn>)?
322
+ )
323
+ \\s*(?<![\\p{S}\\p{P}&&[^\\),;\\]\`}_"']])(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[\`{_"']])
324
+ `,beginCaptures:{2:{name:"entity.name.function.haskell",patterns:[{include:"#reserved_symbol"},{include:"#prefix_op"}]},3:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
325
+
326
+
327
+ (?=
328
+
329
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
330
+
331
+ ((<-|←)|(=)|(-<|↢)|(-<<|⤛))
332
+
333
+ ([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
334
+ )
335
+
336
+ |(?=\\}|;)
337
+ |^(?!
338
+ \\1\\s+\\S
339
+ | \\s*
340
+ (?: $
341
+ |\\{-[^@]
342
+ |--+
343
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
344
+
345
+
346
+ )
347
+ `,name:"meta.function.type-declaration.haskell",patterns:[{include:"#type_signature"}]},gadt_constructor:{patterns:[{begin:`(?x)
348
+ ^(\\s*)
349
+ (?:
350
+ (\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
351
+ |(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))
352
+ )`,beginCaptures:{2:{name:"constant.other.haskell"},3:{name:"punctuation.paren.haskell"},4:{name:"constant.other.operator.haskell"},5:{name:"punctuation.paren.haskell"}},end:`(?x)
353
+
354
+ (?=\\b(?<!'')deriving\\b(?!'))
355
+
356
+ |(?=\\}|;)
357
+ |^(?!
358
+ \\1\\s+\\S
359
+ | \\s*
360
+ (?: $
361
+ |\\{-[^@]
362
+ |--+
363
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
364
+
365
+
366
+ )
367
+ `,patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#double_colon"},{include:"#record_decl"},{include:"#type_signature"}]},{begin:`(?x)
368
+ (\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}]*)
369
+ |(\\()\\s*(:[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]*)\\s*(\\))`,beginCaptures:{1:{name:"constant.other.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"constant.other.operator.haskell"},4:{name:"punctuation.paren.haskell"}},end:"$",patterns:[{include:"#comment_like"},{include:"#deriving"},{include:"#double_colon"},{include:"#record_decl"},{include:"#type_signature"}]}]},infix_op:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"keyword.operator.infix.haskell"}},comment:`In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*.
370
+ `,match:`(?x)
371
+ ((?:(?<!'')('')?[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*\\.)*)
372
+ (\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))`},{captures:{1:{name:"punctuation.backtick.haskell"},2:{name:"entity.name.namespace.haskell"},3:{patterns:[{include:"#data_constructor"}]},4:{name:"punctuation.backtick.haskell"}},comment:`In case this regex seems unusual for an infix operator, note that Haskell
373
+ allows any ordinary function application (elem 4 [1..10]) to be rewritten
374
+ as an infix expression (4 \`elem\` [1..10]).
375
+ `,match:"(`)((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*\\.)*)([\\p{Ll}\\p{Lu}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'']*)(`)",name:"keyword.operator.function.infix.haskell"}]},inline_phase:{begin:"\\[",beginCaptures:{0:{name:"punctuation.bracket.haskell"}},end:"\\]",endCaptures:{0:{name:"punctuation.bracket.haskell"}},name:"meta.inlining-phase.haskell",patterns:[{match:"~",name:"punctuation.tilde.haskell"},{include:"#integer_literals"},{match:"\\w*",name:"invalid"}]},integer_literals:{captures:{1:{name:"constant.numeric.integral.decimal.haskell"},2:{name:"constant.numeric.integral.hexadecimal.haskell"},3:{name:"constant.numeric.integral.octal.haskell"},4:{name:"constant.numeric.integral.binary.haskell"}},match:`(?x)
376
+ \\b(?<!')
377
+ (?:
378
+ ([0-9][_0-9]*)
379
+ | (0[xX]_*[0-9a-fA-F][_0-9a-fA-F]*)
380
+ | (0[oO]_*[0-7][_0-7]*)
381
+ | (0[bB]_*[01][_01]*)
382
+ )
383
+ \\b(?!')`},keyword:{captures:{1:{name:"keyword.other.$1.haskell"},2:{name:"keyword.control.$2.haskell"}},match:"\\b(?<!')(?:(where|let|in|default)|(m?do|if|then|else|case|of|proc|rec))\\b(?!')"},layout_herald:{begin:`(?x)
384
+ (?<!')\\b(?:(where|let|m?do)|(of))
385
+ \\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.$1.haskell"},2:{name:"keyword.control.of.haskell"},3:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"$self"},{match:";",name:"punctuation.semicolon.haskell"}]},liquid_haskell:{begin:"\\{-@",end:"@-\\}",name:"block.liquidhaskell.haskell",patterns:[{include:"$self"}]},module_exports:{applyEndPatternLast:1,begin:"\\(",beginCaptures:{0:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},name:"meta.declaration.exports.haskell",patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.other.module.haskell"}},match:"\\b(?<!')(module)\\b(?!')"},{include:"#comma"},{include:"#export_constructs"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comment_like"},{include:"#record_wildcard"},{include:"#export_constructs"},{include:"#comma"}]}]},module_name:{match:"(?<conid>[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(\\.\\g<conid>)?)",name:"entity.name.namespace.haskell"},numeric_literals:{patterns:[{include:"#float_literals"},{include:"#integer_literals"}]},overloaded_label:{patterns:[{captures:{1:{name:"keyword.operator.prefix.hash.haskell"},2:{patterns:[{include:"#string_literal"}]}},match:`(?x)
386
+ (?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^(,;\\[\`{]])
387
+ (\\#)
388
+ (?:
389
+
390
+ ("(?:\\\\"|[^"])*")
391
+
392
+ |[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'\\.]+
393
+ )`,name:"entity.name.label.haskell"}]},pragma:{begin:"\\{-#",end:"#-\\}",name:"meta.preprocessor.haskell",patterns:[{begin:"(?xi) \\b(?<!')(LANGUAGE)\\b(?!')",beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"}},end:"(?=#-\\})",patterns:[{match:`(?x)
394
+ (?:No)?
395
+ (?:AutoDeriveTypeable|DatatypeContexts|DoRec|IncoherentInstances|MonadFailDesugaring|MonoPatBinds|NullaryTypeClasses|OverlappingInstances|PatternSignatures|RecordPuns|RelaxedPolyRec)`,name:"invalid.deprecated"},{captures:{1:{name:"keyword.other.preprocessor.extension.haskell"}},match:`(?x)
396
+ (
397
+ (?:No)?
398
+ (?:AllowAmbiguousTypes|AlternativeLayoutRule|AlternativeLayoutRuleTransitional|Arrows|BangPatterns|BinaryLiterals|CApiFFI|CPP|CUSKs|ConstrainedClassMethods|ConstraintKinds|DataKinds|DefaultSignatures|DeriveAnyClass|DeriveDataTypeable|DeriveFoldable|DeriveFunctor|DeriveGeneric|DeriveLift|DeriveTraversable|DerivingStrategies|DerivingVia|DisambiguateRecordFields|DoAndIfThenElse|BlockArguments|DuplicateRecordFields|EmptyCase|EmptyDataDecls|EmptyDataDeriving|ExistentialQuantification|ExplicitForAll|ExplicitNamespaces|ExtendedDefaultRules|FlexibleContexts|FlexibleInstances|ForeignFunctionInterface|FunctionalDependencies|GADTSyntax|GADTs|GHCForeignImportPrim|Generali(?:s|z)edNewtypeDeriving|ImplicitParams|ImplicitPrelude|ImportQualifiedPost|ImpredicativeTypes|TypeFamilyDependencies|InstanceSigs|ApplicativeDo|InterruptibleFFI|JavaScriptFFI|KindSignatures|LambdaCase|LiberalTypeSynonyms|MagicHash|MonadComprehensions|MonoLocalBinds|MonomorphismRestriction|MultiParamTypeClasses|MultiWayIf|NumericUnderscores|NPlusKPatterns|NamedFieldPuns|NamedWildCards|NegativeLiterals|HexFloatLiterals|NondecreasingIndentation|NumDecimals|OverloadedLabels|OverloadedLists|OverloadedStrings|PackageImports|ParallelArrays|ParallelListComp|PartialTypeSignatures|PatternGuards|PatternSynonyms|PolyKinds|PolymorphicComponents|QuantifiedConstraints|PostfixOperators|QuasiQuotes|Rank2Types|RankNTypes|RebindableSyntax|RecordWildCards|RecursiveDo|RelaxedLayout|RoleAnnotations|ScopedTypeVariables|StandaloneDeriving|StarIsType|StaticPointers|Strict|StrictData|TemplateHaskell|TemplateHaskellQuotes|StandaloneKindSignatures|TraditionalRecordSyntax|TransformListComp|TupleSections|TypeApplications|TypeInType|TypeFamilies|TypeOperators|TypeSynonymInstances|UnboxedTuples|UnboxedSums|UndecidableInstances|UndecidableSuperClasses|UnicodeSyntax|UnliftedFFITypes|UnliftedNewtypes|ViewPatterns)
399
+ )`},{include:"#comma"}]},{begin:`(?xi)
400
+ \\b(?<!')(SPECIALI(?:S|Z)E)
401
+ (?:
402
+ \\s*( \\[ [^\\[\\]]* \\])?\\s*
403
+ |\\s+
404
+ )
405
+ (instance)\\b(?!')`,beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"},2:{patterns:[{include:"#inline_phase"}]},3:{name:"keyword.other.instance.haskell"}},end:"(?=#-\\})",patterns:[{include:"#type_signature"}]},{begin:`(?xi)
406
+ \\b(?<!')(SPECIALI(?:S|Z)E)\\b(?!')
407
+ (?:\\s+(INLINE)\\b(?!'))?
408
+ (?:\\s*(\\[ [^\\[\\]]* \\])?)
409
+ \\s*`,beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"},2:{name:"keyword.other.preprocessor.pragma.haskell"},3:{patterns:[{include:"#inline_phase"}]}},end:"(?=#-\\})",patterns:[{include:"$self"}]},{match:`(?xi) \\b(?<!')
410
+ (LANGUAGE|OPTIONS_GHC|INCLUDE
411
+ |MINIMAL|UNPACK|OVERLAPS|INCOHERENT
412
+ |NOUNPACK|SOURCE|OVERLAPPING|OVERLAPPABLE|INLINE
413
+ |NOINLINE|INLINE?ABLE|CONLIKE|LINE|COLUMN|RULES
414
+ |COMPLETE)\\b(?!')`,name:"keyword.other.preprocessor.haskell"},{begin:"(?i)\\b(DEPRECATED|WARNING)\\b",beginCaptures:{1:{name:"keyword.other.preprocessor.pragma.haskell"}},end:"(?=#-\\})",patterns:[{include:"#string_literal"}]}]},prefix_op:{patterns:[{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"entity.name.function.infix.haskell"},3:{name:"punctuation.paren.haskell"}},comment:`An operator cannot be composed entirely of '-' characters; instead, it should be matched as a comment.
415
+ `,match:`(?x)
416
+ (\\()\\s*(?!(?:--+|\\.\\.)\\))(\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))\\s*(\\))`}]},qualifier:{match:"\\b(?<!')[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.",name:"entity.name.namespace.haskell"},quasi_quote:{patterns:[{begin:`(?x)
417
+ (\\[)
418
+ (e|d|p)?
419
+ (\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"entity.name.quasi-quoter.haskell"},3:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\3\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell",patterns:[{include:"$self"}]},{begin:`(?x)
420
+ (\\[)
421
+ (t)
422
+ (\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"entity.name.quasi-quoter.haskell"},3:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\3\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell",patterns:[{include:"#type_signature"}]},{begin:`(?x)
423
+ (\\[)
424
+ (?:(\\$\\$)|(\\$))?
425
+ ((?:[^\\s\\p{S}\\p{P}]|[\\.'_])*)
426
+ (\\|\\|?)`,beginCaptures:{1:{name:"keyword.operator.quasi-quotation.begin.haskell"},2:{name:"keyword.operator.prefix.double-dollar.haskell"},3:{name:"keyword.operator.prefix.dollar.haskell"},4:{name:"entity.name.quasi-quoter.haskell",patterns:[{include:"#qualifier"}]},5:{name:"keyword.operator.quasi-quotation.begin.haskell"}},end:"\\5\\]",endCaptures:{0:{name:"keyword.operator.quasi-quotation.end.haskell"}},name:"meta.quasi-quotation.haskell"}]},record:{begin:"({)(?!-)",beginCaptures:{1:{name:"punctuation.brace.haskell"}},end:"(?<!-)(})",endCaptures:{1:{name:"punctuation.brace.haskell"}},name:"meta.record.haskell",patterns:[{include:"#comment_like"},{include:"#record_field"}]},record_decl:{begin:"({)(?!-)",beginCaptures:{1:{name:"punctuation.brace.haskell"}},end:"(?<!-)(})",endCaptures:{1:{name:"punctuation.brace.haskell"}},name:"meta.record.definition.haskell",patterns:[{include:"#comment_like"},{include:"#record_decl_field"}]},record_decl_field:{begin:`(?x)
427
+ (?:([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
428
+ |(\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))
429
+ )
430
+ `,beginCaptures:{1:{name:"variable.other.member.definition.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"variable.other.member.definition.haskell"},4:{name:"punctuation.paren.haskell"}},end:"(,)|(?=})",endCaptures:{1:{name:"punctuation.comma.haskell"}},patterns:[{include:"#comment_like"},{include:"#comma"},{include:"#double_colon"},{include:"#type_signature"},{include:"#record_decl_field"}]},record_field:{patterns:[{begin:`(?x)
431
+ (?:([\\p{Ll}\\p{Lu}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\.']*)
432
+ |(\\()\\s*([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)\\s*(\\))
433
+ )
434
+ `,beginCaptures:{1:{name:"variable.other.member.haskell",patterns:[{include:"#qualifier"}]},2:{name:"punctuation.paren.haskell"},3:{name:"variable.other.member.haskell"},4:{name:"punctuation.paren.haskell"}},end:"(,)|(?=})",endCaptures:{1:{name:"punctuation.comma.haskell"}},patterns:[{include:"#comment_like"},{include:"#comma"},{include:"$self"}]},{include:"#record_wildcard"}]},record_wildcard:{captures:{1:{name:"variable.other.member.wildcard.haskell"}},match:`(?x)
435
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
436
+ (\\.\\.)
437
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])`},reserved_symbol:{patterns:[{captures:{1:{name:"keyword.operator.double-dot.haskell"},2:{name:"keyword.operator.colon.haskell"},3:{name:"keyword.operator.eq.haskell"},4:{name:"keyword.operator.lambda.haskell"},5:{name:"keyword.operator.pipe.haskell"},6:{name:"keyword.operator.arrow.left.haskell"},7:{name:"keyword.operator.arrow.haskell"},8:{name:"keyword.operator.arrow.left.tail.haskell"},9:{name:"keyword.operator.arrow.left.tail.double.haskell"},10:{name:"keyword.operator.arrow.tail.haskell"},11:{name:"keyword.operator.arrow.tail.double.haskell"},12:{name:"keyword.other.forall.haskell"}},match:`(?x)
438
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"'']])
439
+ (?:
440
+ (\\.\\.)
441
+ |(:)
442
+ |(=)
443
+ |(\\\\)
444
+ |(\\|)
445
+ |(<-|←)
446
+ |(->|→)
447
+ |(-<|↢)
448
+ |(-<<|⤛)
449
+ |(>-|⤚)
450
+ |(>>-|⤜)
451
+ |(∀)
452
+ )
453
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"'']])`},{captures:{1:{name:"keyword.operator.postfix.hash.haskell"}},match:`(?x)
454
+ (?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^\\#,;\\[\`{]])
455
+ (\\#+)
456
+ (?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^),;\\]\`}]])`},{captures:{1:{name:"keyword.operator.infix.tight.at.haskell"}},match:`(?x)
457
+ (?<=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\)\\}\\]])
458
+ (@)
459
+ (?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\[\\{])`},{captures:{1:{name:"keyword.operator.prefix.tilde.haskell"},2:{name:"keyword.operator.prefix.bang.haskell"},3:{name:"keyword.operator.prefix.minus.haskell"},4:{name:"keyword.operator.prefix.dollar.haskell"},5:{name:"keyword.operator.prefix.double-dollar.haskell"}},match:`(?x)
460
+ (?<![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\p{S}\\p{P}&&[^(,;\\[\`{]])
461
+ (?:(~)|(!)|(-)|(\\$)|(\\$\\$))
462
+ (?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}\\(\\{\\[])`}]},role_annotation:{patterns:[{begin:"^(\\s*)(type)\\s+(role)\\b(?!')",beginCaptures:{2:{name:"keyword.other.type.haskell"},3:{name:"keyword.other.role.haskell"}},end:`(?x)
463
+ (?=\\}|;)
464
+ |^(?!
465
+ \\1\\s+\\S
466
+ | \\s*
467
+ (?: $
468
+ |\\{-[^@]
469
+ |--+
470
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
471
+
472
+
473
+ )`,name:"meta.role-annotation.haskell",patterns:[{include:"#comment_like"},{include:"#type_constructor"},{captures:{1:{name:"keyword.other.role.$1.haskell"}},match:"\\b(?<!')(nominal|representational|phantom)\\b(?!')"}]}]},start_type_signature:{patterns:[{begin:"^(\\s*)(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])\\s*",beginCaptures:{2:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
474
+
475
+ (?=
476
+ \\#?\\)
477
+ |\\]
478
+ |,
479
+ |(?<!')\\b(in|then|else|of)\\b(?!')
480
+ |
481
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
482
+ (?:
483
+ (\\\\|λ)
484
+ |(<-|←)
485
+ |(=)
486
+ |(-<|↢)
487
+ |(-<<|⤛)
488
+ )
489
+ ([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
490
+ |(\\#|@)-\\}
491
+
492
+ | (?=\\}|;)
493
+ |^(?!
494
+ \\1\\s*\\S
495
+ | \\s*
496
+ (?: $
497
+ |\\{-[^@]
498
+ |--+
499
+ (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}\`_"']]).*$)
500
+
501
+
502
+ )
503
+ )`,name:"meta.type-declaration.haskell",patterns:[{include:"#type_signature"}]},{begin:"(?<![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])(::|∷)(?![\\p{S}\\p{P}&&[^\\(,;\\[`{_\"']])",beginCaptures:{1:{name:"keyword.operator.double-colon.haskell"}},end:`(?x)
504
+
505
+ (?=
506
+ \\#?\\)
507
+ |\\]
508
+ |,
509
+ |\\b(?<!')(in|then|else|of)\\b(?!')
510
+ |(\\#|@)-\\}
511
+ |
512
+ (?<![\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']])
513
+ (?:
514
+ (\\\\|λ)
515
+ |(<-|←)
516
+ |(=)
517
+ |(-<|↢)
518
+ |(-<<|⤛)
519
+ )
520
+ ([(),;\\[\\]\`{}_"']|[^\\p{S}\\p{P}])
521
+
522
+ |(?=\\}|;)
523
+ |$
524
+ )`,patterns:[{include:"#type_signature"}]}]},string_literal:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.haskell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.haskell"}},name:"string.quoted.double.haskell",patterns:[{match:`\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\"'\\&])`,name:"constant.character.escape.haskell"},{match:"\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+",name:"constant.character.escape.octal.haskell"},{match:"\\\\\\^[A-Z@\\[\\]\\\\\\^_]",name:"constant.character.escape.control.haskell"},{begin:"\\\\\\s",beginCaptures:{0:{name:"constant.character.escape.begin.haskell"}},end:"\\\\",endCaptures:{0:{name:"constant.character.escape.end.haskell"}},patterns:[{match:"\\S+",name:"invalid.illegal.character-not-allowed-here.haskell"}]}]},type_application:{patterns:[{begin:`(?<=[\\s,;\\[\\]{}"])(@)(')?(\\()`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"},2:{name:"keyword.operator.promotion.haskell"},3:{name:"punctuation.paren.haskell"}},end:"\\)",endCaptures:{0:{name:"punctuation.paren.haskell"}},name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]},{begin:`(?<=[\\s,;\\[\\]{}"])(@)(')?(\\[)`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"},2:{name:"keyword.operator.promotion.haskell"},3:{name:"punctuation.bracket.haskell"}},end:"\\]",endCaptures:{0:{name:"punctuation.bracket.haskell"}},name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]},{begin:'(?<=[\\s,;\\[\\]{}"])(@)(?=\\")',beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"}},end:'(?<=\\")',name:"meta.type-application.haskell",patterns:[{include:"#string_literal"}]},{begin:`(?<=[\\s,;\\[\\]{}"])(@)(?=[\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])`,beginCaptures:{1:{name:"keyword.operator.prefix.at.haskell"}},end:"(?![\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'])",name:"meta.type-application.haskell",patterns:[{include:"#type_signature"}]}]},type_constructor:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"storage.type.haskell"}},match:`(?x)
525
+
526
+ (')?
527
+
528
+ ((?:\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
529
+
530
+ (\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)`},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"entity.name.namespace.haskell"},4:{name:"storage.type.operator.haskell"},5:{name:"punctuation.paren.haskell"}},match:`(?x)
531
+
532
+ (')?
533
+
534
+ (\\()\\s*
535
+
536
+ ((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
537
+
538
+ ([\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+)
539
+
540
+ \\s*(\\))`}]},type_operator:{patterns:[{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"entity.name.namespace.haskell"},3:{name:"storage.type.operator.infix.haskell"}},match:`(?x)
541
+
542
+ (?:(?<!')('))?
543
+
544
+ ((?:\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
545
+
546
+ (?![#@]?-})(\\#+|[\\p{S}\\p{P}&&[^(),;\\[\\]\`{}_"']]+(?<!\\#))
547
+ `},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.backtick.haskell"},3:{name:"entity.name.namespace.haskell"},4:{name:"storage.type.infix.haskell"},5:{name:"punctuation.backtick.haskell"}},match:`(?x)
548
+
549
+ (')?
550
+
551
+ (\\\`)
552
+
553
+ ((?:[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*\\.)*)
554
+
555
+ ([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)
556
+
557
+ (\`)`}]},type_signature:{patterns:[{include:"#comment_like"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"punctuation.paren.haskell"}},match:"(')?(\\()\\s*(\\))",name:"support.constant.unit.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"support.constant.unit.unboxed.haskell"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"},3:{name:"punctuation.paren.haskell"}},match:"(')?(\\()\\s*,[\\s,]*(\\))",name:"support.constant.tuple.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*(#)(\\))",name:"support.constant.unit.unboxed.haskell"},{captures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"},3:{name:"keyword.operator.hash.haskell"},4:{name:"punctuation.paren.haskell"}},match:"(\\()(#)\\s*,[\\s,]*(#)(\\))",name:"support.constant.tuple.unboxed.haskell"},{captures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.bracket.haskell"},3:{name:"punctuation.bracket.haskell"}},match:"(')?(\\[)\\s*(\\])",name:"support.constant.empty-list.haskell"},{include:"#integer_literals"},{match:"(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])",name:"keyword.operator.double-colon.haskell"},{include:"#forall"},{match:"=>|⇒",name:"keyword.operator.big-arrow.haskell"},{include:"#string_literal"},{match:"'[^']'",name:"invalid"},{include:"#type_application"},{include:"#reserved_symbol"},{include:"#type_operator"},{include:"#type_constructor"},{begin:"(\\()(#)",beginCaptures:{1:{name:"punctuation.paren.haskell"},2:{name:"keyword.operator.hash.haskell"}},end:"(#)(\\))",endCaptures:{1:{name:"keyword.operator.hash.haskell"},2:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{begin:"(')?(\\()",beginCaptures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.paren.haskell"}},end:"(\\))",endCaptures:{1:{name:"punctuation.paren.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{begin:"(')?(\\[)",beginCaptures:{1:{name:"keyword.operator.promotion.haskell"},2:{name:"punctuation.bracket.haskell"}},end:"(\\])",endCaptures:{1:{name:"punctuation.bracket.haskell"}},patterns:[{include:"#comma"},{include:"#type_signature"}]},{include:"#type_variable"}]},type_variable:{match:"\\b(?<!')(?!(?:forall|deriving)\\b(?!'))[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",name:"variable.other.generic-type.haskell"},where:{patterns:[{begin:`(?x)
558
+ (?<!')\\b(where)
559
+ \\s*(\\{)(?!-)`,beginCaptures:{1:{name:"keyword.other.where.haskell"},2:{name:"punctuation.brace.haskell"}},end:"(\\})",endCaptures:{1:{name:"punctuation.brace.haskell"}},patterns:[{include:"$self"},{match:";",name:"punctuation.semicolon.haskell"}]},{match:"\\b(?<!')(where)\\b(?!')",name:"keyword.other.where.haskell"}]}},scopeName:"source.haskell",aliases:["hs"]});var n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze({displayName:"HashiCorp HCL",fileTypes:["hcl"],name:"hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}],repository:{attribute_access:{begin:"\\.(?!\\*)",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Matches traversal attribute access such as .attr",end:"[[:alpha:]][\\w-]*|\\d*",endCaptures:{0:{patterns:[{comment:"Attribute name",match:"(?!null|false|true)[[:alpha:]][\\w-]*",name:"variable.other.member.hcl"},{comment:"Optional attribute index",match:"\\d+",name:"constant.numeric.integer.hcl"}]}}},attribute_definition:{captures:{1:{name:"punctuation.section.parens.begin.hcl"},2:{name:"variable.other.readwrite.hcl"},3:{name:"punctuation.section.parens.end.hcl"},4:{name:"keyword.operator.assignment.hcl"}},comment:'Identifier "=" with optional parens',match:"(\\()?(\\b(?!null\\b|false\\b|true\\b)[[:alpha:]][[:alnum:]_-]*)(\\))?\\s*(\\=(?!\\=|\\>))\\s*",name:"variable.declaration.hcl"},attribute_splat:{begin:"\\.",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Legacy attribute-only splat",end:"\\*",endCaptures:{0:{name:"keyword.operator.splat.hcl"}}},block:{begin:"([\\w][\\-\\w]*)([^{\\r\\n]*)(\\{)",beginCaptures:{1:{patterns:[{comment:"Block type",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"entity.name.type.hcl"}]},2:{patterns:[{comment:"Block label (String Literal)",match:'\\"[^\\"\\r\\n]*\\"',name:"variable.other.enummember.hcl"},{comment:"Block label (Indentifier)",match:"[[:alpha:]][[:alnum:]_-]*",name:"variable.other.enummember.hcl"}]},3:{name:"punctuation.section.block.begin.hcl"}},comment:'This will match HCL blocks like `thing1 "one" "two" {` or `thing2 {`',end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.hcl"}},name:"meta.block.hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#expressions"},{include:"#block"}]},block_inline_comments:{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Inline comments start with the /* sequence and end with the */ sequence, and may have any characters within except the ending sequence. An inline comment is considered equivalent to a whitespace sequence",end:"\\*/",name:"comment.block.hcl"},brackets:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.brackets.begin.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{comment:"Splat operator",match:"\\*",name:"keyword.operator.splat.hcl"},{include:"#comma"},{include:"#comments"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{include:"#expressions"},{include:"#local_identifiers"}]},char_escapes:{comment:"Character Escapes",match:'\\\\[nrt"\\\\]|\\\\u(\\h{8}|\\h{4})',name:"constant.character.escape.hcl"},comma:{comment:"Commas - used in certain expressions",match:"\\,",name:"punctuation.separator.hcl"},comments:{patterns:[{include:"#hash_line_comments"},{include:"#double_slash_line_comments"},{include:"#block_inline_comments"}]},double_slash_line_comments:{begin:"//",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with // sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.double-slash.hcl"},expressions:{patterns:[{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#brackets"},{include:"#objects"},{include:"#attribute_access"},{include:"#attribute_splat"},{include:"#functions"},{include:"#parens"}]},for_expression_body:{patterns:[{comment:"in keyword",match:"\\bin\\b",name:"keyword.operator.word.hcl"},{comment:"if keyword",match:"\\bif\\b",name:"keyword.control.conditional.hcl"},{match:"\\:",name:"keyword.operator.hcl"},{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},functions:{begin:"(\\w+)(\\()",beginCaptures:{1:{patterns:[{match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"support.function.builtin.hcl"}]},2:{name:"punctuation.section.parens.begin.hcl"}},comment:"Built-in function calls",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},name:"meta.function-call.hcl",patterns:[{include:"#comments"},{include:"#expressions"},{include:"#comma"}]},hash_line_comments:{begin:"#",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with # sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.number-sign.hcl"},hcl_type_keywords:{comment:"Type keywords known to HCL.",match:"\\b(any|string|number|bool|list|set|map|tuple|object)\\b",name:"storage.type.hcl"},heredoc:{begin:"(\\<\\<\\-?)\\s*(\\w+)\\s*$",beginCaptures:{1:{name:"keyword.operator.heredoc.hcl"},2:{name:"keyword.control.heredoc.hcl"}},comment:"String Heredoc",end:"^\\s*\\2\\s*$",endCaptures:{0:{name:"keyword.control.heredoc.hcl"}},name:"string.unquoted.heredoc.hcl",patterns:[{include:"#string_interpolation"}]},inline_for_expression:{begin:"(for)\\b",beginCaptures:{1:{name:"keyword.control.hcl"}},end:"\\n",patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]},inline_if_expression:{begin:"(if)\\b",beginCaptures:{1:{name:"keyword.control.conditional.hcl"}},end:"\\n",patterns:[{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},language_constants:{comment:"Language Constants",match:"\\b(true|false|null)\\b",name:"constant.language.hcl"},literal_values:{patterns:[{include:"#numeric_literals"},{include:"#language_constants"},{include:"#string_literals"},{include:"#heredoc"},{include:"#hcl_type_keywords"}]},local_identifiers:{comment:"Local Identifiers",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"variable.other.readwrite.hcl"},numeric_literals:{patterns:[{captures:{1:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, no fraction, optional exponent",match:"\\b\\d+([Ee][+-]?)\\d+\\b",name:"constant.numeric.float.hcl"},{captures:{1:{name:"punctuation.separator.decimal.hcl"},2:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, fraction, optional exponent",match:"\\b\\d+(\\.)\\d+(?:([Ee][+-]?)\\d+)?\\b",name:"constant.numeric.float.hcl"},{comment:"Integers",match:"\\b\\d+\\b",name:"constant.numeric.integer.hcl"}]},object_for_expression:{begin:"(\\{)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.braces.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]},object_key_values:{patterns:[{include:"#comments"},{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#heredoc"},{include:"#functions"}]},objects:{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.braces.begin.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},name:"meta.braces.hcl",patterns:[{include:"#comments"},{include:"#objects"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{captures:{1:{name:"meta.mapping.key.hcl variable.other.readwrite.hcl"},2:{name:"keyword.operator.assignment.hcl",patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"}]}},comment:"Literal, named object key",match:"\\b((?!null|false|true)[[:alpha:]][[:alnum:]_-]*)\\s*(\\=\\>?)\\s*"},{captures:{1:{name:"meta.mapping.key.hcl string.quoted.double.hcl"},2:{name:"punctuation.definition.string.begin.hcl"},3:{name:"punctuation.definition.string.end.hcl"},4:{name:"keyword.operator.hcl"}},comment:"String object key",match:'\\b((").*("))\\s*(\\=)\\s*'},{begin:"^\\s*\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Computed object key (any expression between parens)",end:"(\\))\\s*(=|:)\\s*",endCaptures:{1:{name:"punctuation.section.parens.end.hcl"},2:{name:"keyword.operator.hcl"}},name:"meta.mapping.key.hcl",patterns:[{include:"#attribute_access"},{include:"#attribute_splat"}]},{include:"#object_key_values"}]},operators:{patterns:[{match:"\\>\\=",name:"keyword.operator.hcl"},{match:"\\<\\=",name:"keyword.operator.hcl"},{match:"\\=\\=",name:"keyword.operator.hcl"},{match:"\\!\\=",name:"keyword.operator.hcl"},{match:"\\+",name:"keyword.operator.arithmetic.hcl"},{match:"\\-",name:"keyword.operator.arithmetic.hcl"},{match:"\\*",name:"keyword.operator.arithmetic.hcl"},{match:"\\/",name:"keyword.operator.arithmetic.hcl"},{match:"\\%",name:"keyword.operator.arithmetic.hcl"},{match:"\\&\\&",name:"keyword.operator.logical.hcl"},{match:"\\|\\|",name:"keyword.operator.logical.hcl"},{match:"\\!",name:"keyword.operator.logical.hcl"},{match:"\\>",name:"keyword.operator.hcl"},{match:"\\<",name:"keyword.operator.hcl"},{match:"\\?",name:"keyword.operator.hcl"},{match:"\\.\\.\\.",name:"keyword.operator.hcl"},{match:"\\:"}]},parens:{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Parens - matched *after* function syntax",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},patterns:[{include:"#comments"},{include:"#expressions"}]},string_interpolation:{begin:"(?<![%$])([%$]{)",beginCaptures:{1:{name:"keyword.other.interpolation.begin.hcl"}},comment:"String interpolation",end:"\\}",endCaptures:{0:{name:"keyword.other.interpolation.end.hcl"}},name:"meta.interpolation.hcl",patterns:[{comment:"Trim left whitespace",match:"\\~\\s",name:"keyword.operator.template.left.trim.hcl"},{comment:"Trim right whitespace",match:"\\s\\~",name:"keyword.operator.template.right.trim.hcl"},{comment:"if/else/endif and for/in/endfor directives",match:"\\b(if|else|endif|for|in|endfor)\\b",name:"keyword.control.hcl"},{include:"#expressions"},{include:"#local_identifiers"}]},string_literals:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.hcl"}},comment:"Strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.hcl"}},name:"string.quoted.double.hcl",patterns:[{include:"#string_interpolation"},{include:"#char_escapes"}]},tuple_for_expression:{begin:"(\\[)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.brackets.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{include:"#for_expression_body"}]}},scopeName:"source.hcl"});var n=[e];export{n as default};