github-linguist 9.6.0 → 9.8.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 (226) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/documentation.markdown.injection.haxe.json +1 -1
  3. data/grammars/gno.mod.json +1 -0
  4. data/grammars/inline.hbs.json +1 -1
  5. data/grammars/inline.template.json +1 -1
  6. data/grammars/markdown.glimmer.codeblock.json +1 -1
  7. data/grammars/markdown.goose.codeblock.json +1 -0
  8. data/grammars/markdown.nextflow.codeblock.json +1 -0
  9. data/grammars/markdown.ocaml.codeblock.json +1 -0
  10. data/grammars/markdown.reason.codeblock.json +1 -0
  11. data/grammars/markdown.roc.codeblock.json +1 -0
  12. data/grammars/nextflow.interpolation.injection.json +1 -0
  13. data/grammars/nextflow.script.injection.json +1 -0
  14. data/grammars/source.abl.json +1 -1
  15. data/grammars/source.abnf.json +1 -1
  16. data/grammars/source.action.menhir.json +1 -0
  17. data/grammars/source.aleo.json +1 -0
  18. data/grammars/source.ampl.dat.json +1 -0
  19. data/grammars/source.ampl.json +1 -1
  20. data/grammars/source.apl.json +1 -1
  21. data/grammars/source.armasm.json +1 -0
  22. data/grammars/source.astro.json +1 -1
  23. data/grammars/source.astylerc.json +1 -0
  24. data/grammars/source.atd.json +1 -0
  25. data/grammars/source.avisynth.json +1 -0
  26. data/grammars/source.baml.json +1 -1
  27. data/grammars/source.bbcbasic.json +1 -0
  28. data/grammars/source.bend.json +1 -0
  29. data/grammars/source.bird2.json +1 -0
  30. data/grammars/source.blueprint.json +1 -0
  31. data/grammars/source.bnd.json +1 -1
  32. data/grammars/source.bsl.json +1 -1
  33. data/grammars/source.c++.json +1 -1
  34. data/grammars/source.c.json +1 -1
  35. data/grammars/source.c3.json +1 -1
  36. data/grammars/source.carbon.json +1 -0
  37. data/grammars/source.cedar.json +1 -0
  38. data/grammars/source.cj.json +1 -1
  39. data/grammars/source.cl.json +1 -1
  40. data/grammars/source.clar.json +1 -1
  41. data/grammars/source.cmake.json +1 -1
  42. data/grammars/source.cmd.json +1 -1
  43. data/grammars/source.cmhg.json +1 -0
  44. data/grammars/source.comment-string.wesl.json +1 -1
  45. data/grammars/source.comment-string.wgsl.json +1 -1
  46. data/grammars/source.compact.json +1 -0
  47. data/grammars/source.cram.json +1 -0
  48. data/grammars/source.cs.json +1 -1
  49. data/grammars/source.csswg.json +1 -1
  50. data/grammars/source.cue.json +1 -1
  51. data/grammars/source.curlrc.json +1 -1
  52. data/grammars/source.dart.json +1 -1
  53. data/grammars/source.dataflex.json +1 -0
  54. data/grammars/source.dax.json +1 -0
  55. data/grammars/source.dds.dspf.json +1 -1
  56. data/grammars/source.dds.icff.json +1 -1
  57. data/grammars/source.dds.lf.json +1 -1
  58. data/grammars/source.dds.pf.json +1 -1
  59. data/grammars/source.dds.prtf.json +1 -1
  60. data/grammars/source.deq.json +1 -0
  61. data/grammars/source.ditroff.desc.json +1 -1
  62. data/grammars/source.dm.json +1 -1
  63. data/grammars/source.dml.json +1 -0
  64. data/grammars/source.dune-project.json +1 -0
  65. data/grammars/source.dune-workspace.json +1 -0
  66. data/grammars/source.dune.json +1 -1
  67. data/grammars/source.easycrypt.json +1 -0
  68. data/grammars/source.emacs.lisp.json +1 -1
  69. data/grammars/source.env-spec.json +1 -0
  70. data/grammars/source.erlang.json +1 -1
  71. data/grammars/source.ets.json +1 -0
  72. data/grammars/source.fift.json +1 -0
  73. data/grammars/source.flix.json +1 -1
  74. data/grammars/source.fpp.json +1 -0
  75. data/grammars/source.func.json +1 -0
  76. data/grammars/source.gdscript.json +1 -1
  77. data/grammars/source.gedcom.json +1 -1
  78. data/grammars/source.gitconfig.json +1 -1
  79. data/grammars/source.gjs.json +1 -1
  80. data/grammars/source.gno.json +1 -0
  81. data/grammars/source.goose.json +1 -0
  82. data/grammars/source.graphql.json +1 -1
  83. data/grammars/source.gts.json +1 -1
  84. data/grammars/source.hack.json +1 -1
  85. data/grammars/source.hx.json +1 -1
  86. data/grammars/source.hxml.json +1 -1
  87. data/grammars/source.ice.json +1 -1
  88. data/grammars/source.ifc.json +1 -0
  89. data/grammars/source.indent-profile.json +1 -0
  90. data/grammars/source.ink.json +1 -1
  91. data/grammars/source.jac.json +1 -1
  92. data/grammars/source.jass.json +1 -0
  93. data/grammars/source.julia.console.json +1 -1
  94. data/grammars/source.julia.json +1 -1
  95. data/grammars/source.kcl.json +1 -1
  96. data/grammars/source.kerml.json +1 -0
  97. data/grammars/source.koka.json +1 -1
  98. data/grammars/source.leo.json +1 -1
  99. data/grammars/source.liquidsoap.json +1 -1
  100. data/grammars/source.lobster.json +1 -0
  101. data/grammars/source.logos.json +1 -1
  102. data/grammars/source.lsf.json +1 -0
  103. data/grammars/source.luau.json +1 -1
  104. data/grammars/source.lumscript.json +1 -0
  105. data/grammars/source.m2.json +1 -1
  106. data/grammars/source.maple.json +1 -0
  107. data/grammars/source.metafont.json +1 -0
  108. data/grammars/source.metapost.json +1 -0
  109. data/grammars/source.mi.json +1 -1
  110. data/grammars/source.mo.json +1 -1
  111. data/grammars/source.mojo.json +1 -1
  112. data/grammars/source.moonbit.config.json +1 -1
  113. data/grammars/source.moonbit.json +1 -1
  114. data/grammars/source.ms.json +1 -0
  115. data/grammars/source.nextflow-config.json +1 -0
  116. data/grammars/source.nextflow-groovy.json +1 -1
  117. data/grammars/source.nextflow-log.json +1 -0
  118. data/grammars/source.nextflow.json +1 -1
  119. data/grammars/source.nim.json +1 -1
  120. data/grammars/source.nushell.json +1 -1
  121. data/grammars/source.ocaml.META.json +1 -0
  122. data/grammars/source.ocaml.interface.json +1 -0
  123. data/grammars/source.ocaml.json +1 -1
  124. data/grammars/source.ocaml.menhir.json +1 -0
  125. data/grammars/source.ocaml.merlin.json +1 -0
  126. data/grammars/source.ocaml.mlx.json +1 -0
  127. data/grammars/source.ocaml.oasis.json +1 -0
  128. data/grammars/source.ocaml.ocamlbuild.json +1 -0
  129. data/grammars/source.ocaml.ocamldoc.json +1 -0
  130. data/grammars/source.ocaml.ocamlformat.json +1 -0
  131. data/grammars/source.ocaml.ocamllex.json +1 -0
  132. data/grammars/source.ocaml.opam-install.json +1 -0
  133. data/grammars/source.ocaml.opam.json +1 -0
  134. data/grammars/source.openqasm.json +1 -1
  135. data/grammars/source.opy.json +1 -1
  136. data/grammars/source.paperspecs.json +1 -0
  137. data/grammars/source.pkl.json +1 -1
  138. data/grammars/source.pl.json +1 -0
  139. data/grammars/source.pnlgrp.json +1 -1
  140. data/grammars/source.prisma.json +1 -1
  141. data/grammars/source.qsharp.json +1 -1
  142. data/grammars/source.quint.json +1 -1
  143. data/grammars/source.rarlist.json +1 -0
  144. data/grammars/source.rascal.json +1 -1
  145. data/grammars/source.rascript.json +1 -1
  146. data/grammars/source.reason.json +1 -1
  147. data/grammars/source.rego.json +1 -1
  148. data/grammars/source.rhai.json +1 -0
  149. data/grammars/source.roc.json +1 -1
  150. data/grammars/source.ron.json +1 -1
  151. data/grammars/source.rpg.json +1 -1
  152. data/grammars/source.rpgle.json +1 -1
  153. data/grammars/source.rpm-spec.json +1 -1
  154. data/grammars/source.rust.json +1 -1
  155. data/grammars/source.scala.json +1 -1
  156. data/grammars/source.skip.json +1 -0
  157. data/grammars/source.skript.json +1 -0
  158. data/grammars/source.slice.json +1 -1
  159. data/grammars/source.smithy.json +1 -1
  160. data/grammars/source.spicedb.json +1 -1
  161. data/grammars/source.stim.json +1 -0
  162. data/grammars/source.surrealql.json +1 -1
  163. data/grammars/source.swift.json +1 -1
  164. data/grammars/source.sysml.json +1 -0
  165. data/grammars/source.tablegen.json +1 -0
  166. data/grammars/source.tasm.json +1 -0
  167. data/grammars/source.tlb.json +1 -0
  168. data/grammars/source.tolk.json +1 -0
  169. data/grammars/source.tsp.json +1 -1
  170. data/grammars/source.tsq.json +1 -0
  171. data/grammars/source.tsrx.json +1 -0
  172. data/grammars/source.ucode-template.json +1 -0
  173. data/grammars/source.ucode.json +1 -0
  174. data/grammars/source.uiua.json +1 -0
  175. data/grammars/source.vento.json +1 -1
  176. data/grammars/source.verse.json +1 -0
  177. data/grammars/source.veryl.json +1 -0
  178. data/grammars/source.vespaSchema.json +1 -0
  179. data/grammars/source.vespaYQL.json +1 -0
  180. data/grammars/source.vhs.json +1 -0
  181. data/grammars/source.vim9.json +1 -0
  182. data/grammars/source.wdl.json +1 -1
  183. data/grammars/source.webassembly.json +1 -1
  184. data/grammars/source.wesl.json +1 -1
  185. data/grammars/source.wgsl.json +1 -1
  186. data/grammars/source.yaml.salt.json +1 -1
  187. data/grammars/text.bbcode.json +1 -0
  188. data/grammars/text.html.cobmd.json +1 -0
  189. data/grammars/text.html.ember-handlebars.json +1 -1
  190. data/grammars/text.html.handlebars.json +1 -1
  191. data/grammars/text.html.jte.json +1 -1
  192. data/grammars/text.html.markdown.json +1 -0
  193. data/grammars/text.html.pfm.json +1 -0
  194. data/grammars/text.html.ss.json +1 -0
  195. data/grammars/text.html.statamic.json +1 -1
  196. data/grammars/text.marko.json +1 -1
  197. data/grammars/text.recfile.json +1 -0
  198. data/grammars/text.roff.json +1 -1
  199. data/grammars/text.valve-cfg.json +1 -1
  200. data/grammars/text.vtt.json +1 -1
  201. data/grammars/version +1 -1
  202. data/lib/linguist/VERSION +1 -1
  203. data/lib/linguist/blob_helper.rb +21 -2
  204. data/lib/linguist/documentation.yml +3 -0
  205. data/lib/linguist/generated.rb +99 -8
  206. data/lib/linguist/generic.yml +3 -0
  207. data/lib/linguist/heuristics.yml +239 -62
  208. data/lib/linguist/language.rb +5 -9
  209. data/lib/linguist/languages.yml +610 -30
  210. data/lib/linguist/languages_data.rb +7965 -0
  211. data/lib/linguist/lazy_blob.rb +6 -1
  212. data/lib/linguist/samples.rb +4 -10
  213. data/lib/linguist/samples_data.rb +203998 -0
  214. data/lib/linguist/strategy/modeline.rb +0 -1
  215. data/lib/linguist/vendor.yml +3 -0
  216. metadata +95 -25
  217. data/grammars/markdown.bicep.codeblock.json +0 -1
  218. data/grammars/source.baml-jinja.json +0 -1
  219. data/grammars/source.camlp4.ocaml.json +0 -1
  220. data/grammars/source.ocamllex.json +0 -1
  221. data/grammars/source.ocamlyacc.json +0 -1
  222. data/grammars/source.reason.hover.type.json +0 -1
  223. data/grammars/source.scm.json +0 -1
  224. data/grammars/text.plain.json +0 -1
  225. data/lib/linguist/languages.json +0 -1
  226. data/lib/linguist/samples.json +0 -1
@@ -0,0 +1 @@
1
+ {"scopeName":"source.env-spec","patterns":[{"name":"comment.line.env-spec","match":"^\\s?(#)\\s?([-=~#]{3,})\\s*$","captures":{"1":{"name":"punctuation.definition.comment"}}},{"name":"comment.line.env-spec","match":"^\\s?(#)\\s?([-=~#]{3,}.*)$","captures":{"1":{"name":"punctuation.definition.comment"},"2":{"name":"markup.bold.env-spec"}}},{"begin":"^\\s?(#)\\s?(?=@)","end":"(\\s*#.*)?$","patterns":[{"include":"#decorator"}],"beginCaptures":{"1":{"name":"punctuation.definition.comment comment.line.env-spec"}},"endCaptures":{"1":{"name":"comment.line.env-spec"}}},{"name":"comment.line.env-spec","begin":"^\\s?(#)\\s?","end":"$","patterns":[{"include":"#comment-markup"}],"beginCaptures":{"1":{"name":"punctuation.definition.comment"}}},{"contentName":"string.quoted.triple.env-spec","begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s?(\"\"\")","end":"(\"\"\")(.*)$","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"},"4":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"},"2":{"name":"invalid","patterns":[{"include":"#post-value-comment"}]}}},{"contentName":"string.quoted.triple.env-spec","begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s?(```)","end":"(```)(.*)$","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"},"4":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"},"2":{"name":"invalid","patterns":[{"include":"#post-value-comment"}]}}},{"contentName":"string.quoted.single.env-spec","begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s?(')","end":"(')(.*)$","patterns":[{"include":"#escape-characters"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"},"4":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"},"2":{"name":"invalid","patterns":[{"include":"#post-value-comment"}]}}},{"contentName":"string.quoted.double.env-spec","begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s?(\")","end":"(\")(.*)$","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"},"4":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"},"2":{"name":"invalid","patterns":[{"include":"#post-value-comment"}]}}},{"contentName":"string.quoted.other.env-spec","begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s?(`)","end":"\n|(`)(.*)$","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"},"4":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"},"2":{"name":"invalid","patterns":[{"include":"#post-value-comment"}]}}},{"begin":"^\\s?(export\\s)?([a-zA-Z_]+[a-zA-Z0-9._-]*)\\s?(\\=)\\s*","end":"(\\s?#.*)?$","patterns":[{"include":"#bracket-literal-inline"},{"include":"#literal-value"},{"include":"#env-item-value-fn-call"},{"include":"#expansion"},{"name":"string.unquoted.env-spec","match":"([^#$]+)","captures":{"1":{"patterns":[{"include":"#escape-characters"}]}}},{"name":"string.unquoted.env-spec","match":"\\$"}],"beginCaptures":{"1":{"patterns":[{"include":"#export-item-prefix"}]},"2":{"patterns":[{"include":"#env-item-name"}]},"3":{"name":"keyword.operator.assignment.env-spec"}},"endCaptures":{"1":{"name":"comment.line.env-spec","patterns":[{"include":"#post-value-comment"}]}}},{"name":"meta.function-call.env-spec","match":"^\\s*(\\))\\s*$","captures":{"1":{"name":"punctuation.definition.parameters.end.env-spec"}}},{"name":"meta.function-call.env-spec","begin":"^(\\s+)(?!#)","end":"$","patterns":[{"name":"comment.line.env-spec","match":"#.*$"},{"include":"#bracket-literal-item"},{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#key-value-pair-item"},{"include":"#env-item-value-fn-call"},{"include":"#expansion"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"},{"name":"punctuation.definition.parameters.end.env-spec","match":"\\)"}]},{"name":"invalid","match":".*"}],"repository":{"bracket-literal":{"patterns":[{"include":"#bracket-literal--object"},{"include":"#bracket-literal--array"}]},"bracket-literal--array":{"name":"meta.structure.array.env-spec","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#bracket-literal--contents"}],"beginCaptures":{"1":{"name":"punctuation.definition.array.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.array.end.env-spec"}}},"bracket-literal--array-inline":{"name":"meta.structure.array.env-spec","begin":"(\\[)","end":"(\\])|(?=\\n)","patterns":[{"include":"#bracket-literal--contents-item"}],"beginCaptures":{"1":{"name":"punctuation.definition.array.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.array.end.env-spec"}}},"bracket-literal--array-item":{"name":"meta.structure.array.env-spec","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#bracket-literal--contents-item"}],"beginCaptures":{"1":{"name":"punctuation.definition.array.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.array.end.env-spec"}}},"bracket-literal--contents":{"patterns":[{"name":"comment.line.env-spec punctuation.definition.comment","match":"^\\s?#\\s*"},{"name":"comment.line.env-spec","match":"#(?![a-zA-Z0-9]).*$"},{"include":"#bracket-literal"},{"include":"#key-value-pair"},{"include":"#env-item-value-fn-call"},{"include":"#quoted-value"},{"include":"#expansion"},{"include":"#literal-value"},{"include":"#unquoted-string-within-literal"},{"name":"string.unquoted.env-spec","match":"\\$"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"}]},"bracket-literal--contents-item":{"patterns":[{"name":"comment.line.env-spec","match":"#.*$"},{"include":"#bracket-literal-item"},{"include":"#key-value-pair-item"},{"include":"#env-item-value-fn-call"},{"include":"#quoted-value"},{"include":"#expansion"},{"include":"#literal-value"},{"include":"#unquoted-string-within-literal"},{"name":"string.unquoted.env-spec","match":"\\$"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"}]},"bracket-literal--object":{"name":"meta.structure.dictionary.env-spec","begin":"(\\{)","end":"(\\})","patterns":[{"include":"#bracket-literal--contents"}],"beginCaptures":{"1":{"name":"punctuation.definition.dictionary.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.env-spec"}}},"bracket-literal--object-inline":{"name":"meta.structure.dictionary.env-spec","begin":"(\\{)","end":"(\\})|(?=\\n)","patterns":[{"include":"#bracket-literal--contents-item"}],"beginCaptures":{"1":{"name":"punctuation.definition.dictionary.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.env-spec"}}},"bracket-literal--object-item":{"name":"meta.structure.dictionary.env-spec","begin":"(\\{)","end":"(\\})","patterns":[{"include":"#bracket-literal--contents-item"}],"beginCaptures":{"1":{"name":"punctuation.definition.dictionary.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.env-spec"}}},"bracket-literal-inline":{"patterns":[{"include":"#bracket-literal--object-inline"},{"include":"#bracket-literal--array-inline"}]},"bracket-literal-item":{"patterns":[{"include":"#bracket-literal--object-item"},{"include":"#bracket-literal--array-item"}]},"comment-markup":{"patterns":[{"name":"markup.italic.env-spec","match":"__.+__"},{"name":"markup.italic.env-spec","match":"(?\u003c= )_[^_]+_(?= |\\n)"},{"name":"markup.bold.env-spec","match":"\\*\\*.+\\*\\*"},{"name":"markup.bold.env-spec","match":"\\*.+\\*"}]},"decorator":{"name":"meta.annotation.decorator.env-spec","patterns":[{"include":"#decorator--bare"},{"include":"#decorator--fn-call"},{"include":"#decorator--with-value"}],"repository":{"decorator--bare":{"match":"(@[a-zA-Z][a-zA-Z0-9]+)(?=[\n #])","captures":{"1":{"patterns":[{"include":"#decorator--name"}]}}},"decorator--fn-call":{"name":"meta.function-call.env-spec","contentName":"variable.parameters.env-spec","begin":"(@[a-zA-Z][a-zA-Z0-9]+)(\\()","end":"(\\))","patterns":[{"name":"comment.line.env-spec punctuation.definition.comment","match":"^\\s*#\\s*"},{"name":"comment.line.env-spec","match":"#(?![a-zA-Z0-9]).*$"},{"include":"#bracket-literal"},{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#key-value-pair"},{"include":"#decorator-fn-call-value"},{"include":"#expansion"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"}],"beginCaptures":{"1":{"patterns":[{"include":"#decorator--name"}]},"2":{"name":"punctuation.section.parens.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.section.parens.end.env-spec"}}},"decorator--name":{"name":"variable.annotation.env-spec","match":"(@)([a-zA-Z][a-zA-Z0-9]+)","captures":{"1":{"name":"punctuation.definition.annotation.env-spec"}}},"decorator--with-value":{"begin":"(@[a-zA-Z][a-zA-Z0-9]+)(=)?","end":"(?=[\n #)])","patterns":[{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#decorator-fn-call-value"},{"include":"#bracket-literal"},{"name":"string.unquoted.env-spec","match":"([^ \n#]+)","captures":{"1":{"patterns":[{"include":"#escape-characters"}]}}}],"beginCaptures":{"1":{"patterns":[{"include":"#decorator--name"}]},"2":{"name":"keyword.operator.assignment.env-spec"}}}}},"decorator-fn-call-value":{"name":"meta.function-call.env-spec variable.function.env-spec","contentName":"variable.parameters.env-spec","begin":"([a-zA-Z][a-zA-Z0-9]+)(\\()","end":"(\\))","patterns":[{"name":"comment.line.env-spec punctuation.definition.comment","match":"^\\s*#\\s*"},{"name":"comment.line.env-spec","match":"#(?![a-zA-Z0-9]).*$"},{"include":"#bracket-literal"},{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#key-value-pair"},{"include":"#expansion"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"}],"beginCaptures":{"1":{"name":"variable.function.env-spec"},"2":{"name":"punctuation.section.parens.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.section.parens.end.env-spec"}}},"env-item-name":{"name":"entity.name.tag.env-spec","match":".*"},"env-item-value-fn-call":{"name":"meta.function-call.env-spec","begin":"([a-zA-Z][a-zA-Z0-9]+)(\\()","end":"(\\))|$","patterns":[{"include":"#env-item-value-fn-call-arg"},{"name":"punctuation.separator.comma.env-spec","match":"\\s*,\\s*"}],"beginCaptures":{"1":{"name":"variable.function.env-spec"},"2":{"name":"punctuation.definition.parameters.begin.env-spec"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.env-spec"}}},"env-item-value-fn-call-arg":{"patterns":[{"include":"#bracket-literal-item"},{"include":"#literal-value"},{"include":"#key-value-pair-item"},{"include":"#env-item-value-fn-call"},{"include":"#expansion"},{"include":"#quoted-value"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"}]},"escape-characters":{"name":"constant.character.escape.env-spec","match":"\\\\[nrtfb\"'`\\\\]|\\\\u[0123456789ABCDEF]{4}"},"expansion":{"patterns":[{"include":"#expansion--ref-bracketed"},{"include":"#expansion--ref-simple"},{"include":"#expansion--exec"}],"repository":{"expansion--exec":{"name":"punctuation.section.interpolation.env-spec","contentName":"variable.function.env-spec","begin":"\\$\\(","end":"\\)"},"expansion--ref-bracketed":{"name":"punctuation.section.interpolation.env-spec","contentName":"variable.function.env-spec","begin":"\\$\\{","end":"\\}"},"expansion--ref-simple":{"name":"variable.function.env-spec","match":"\\$([a-zA-Z_]+[a-zA-Z0-9_]*)"}}},"export-item-prefix":{"name":"markup.italic.env-spec keyword.control.export.env-spec","match":".*"},"key-value-pair":{"begin":"([a-zA-Z][a-zA-Z0-9]+)(=)","end":"(?=[,\n#)\\]}])","patterns":[{"include":"#bracket-literal"},{"include":"#env-item-value-fn-call"},{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#expansion"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.env-spec"},"2":{"name":"keyword.operator.assignment.env-spec"}}},"key-value-pair-item":{"begin":"([a-zA-Z][a-zA-Z0-9]+)(=)","end":"(?=[,\n#)\\]}])","patterns":[{"include":"#bracket-literal-item"},{"include":"#env-item-value-fn-call"},{"include":"#literal-value"},{"include":"#quoted-value"},{"include":"#expansion"},{"include":"#unquoted-string-within-fn-call"},{"name":"string.unquoted.env-spec","match":"\\$"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.env-spec"},"2":{"name":"keyword.operator.assignment.env-spec"}}},"literal-value":{"patterns":[{"include":"#literal-value--boolean"},{"include":"#literal-value--undefined"},{"include":"#literal-value--numeric"}],"repository":{"literal-value--boolean":{"name":"constant.language.boolean.env-spec","match":"(true|false)"},"literal-value--numeric":{"name":"constant.numeric.env-spec","match":"[0-9]+(\\.[0-9]+)?(?=[\n ,)\\]}])"},"literal-value--undefined":{"name":"constant.language.undefined.env-spec","match":"(undefined)"}}},"post-value-comment":{"name":"comment.line.env-spec","begin":"(#)\\s?","end":"(\\s*#.*)?$","patterns":[{"include":"#decorator"},{"include":"#comment-markup"}],"beginCaptures":{"1":{"name":"punctuation.definition.comment"}},"endCaptures":{"1":{"name":"comment.line.env-spec"}}},"quoted-value":{"patterns":[{"include":"#quoted-value--single"},{"include":"#quoted-value--double"},{"include":"#quoted-value--backtick"}],"repository":{"quoted-value--backtick":{"name":"string.quoted.backtick.env-spec","begin":"(`)","end":"(`)","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"}}},"quoted-value--double":{"name":"string.quoted.double.env-spec","begin":"(\")","end":"(\")","patterns":[{"include":"#escape-characters"},{"include":"#expansion"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"}}},"quoted-value--single":{"name":"string.quoted.single.env-spec","begin":"(')","end":"(')","patterns":[{"include":"#escape-characters"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"}}}}},"unquoted-string-within-fn-call":{"name":"string.unquoted.env-spec","match":"([^ \n,)$]+)","captures":{"1":{"patterns":[{"include":"#escape-characters"}]}}},"unquoted-string-within-literal":{"name":"string.unquoted.env-spec","match":"([^ \n,)$\\]}]+)","captures":{"1":{"patterns":[{"include":"#escape-characters"}]}}}}}
@@ -1 +1 @@
1
- {"name":"Erlang","scopeName":"source.erlang","patterns":[{"include":"#module-directive"},{"include":"#import-export-directive"},{"include":"#behaviour-directive"},{"include":"#record-directive"},{"include":"#define-directive"},{"include":"#macro-directive"},{"include":"#doc-directive"},{"include":"#directive"},{"include":"#function"},{"include":"#everything-else"}],"repository":{"atom":{"patterns":[{"name":"constant.other.symbol.quoted.single.erlang","begin":"(')","end":"(')","patterns":[{"name":"constant.other.symbol.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.atom.erlang","match":"\\\\\\^?.?"}],"beginCaptures":{"1":{"name":"punctuation.definition.symbol.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.symbol.end.erlang"}}},{"name":"constant.other.symbol.unquoted.erlang","match":"[a-z][a-zA-Z\\d@_]*+"}]},"behaviour-directive":{"name":"meta.directive.behaviour.erlang","match":"^\\s*+(-)\\s*+(behaviour)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.behaviour.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.behaviour.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"binary":{"name":"meta.structure.binary.erlang","begin":"(\u003c\u003c)","end":"(\u003e\u003e)","patterns":[{"match":"(,)|(:)","captures":{"1":{"name":"punctuation.separator.binary.erlang"},"2":{"name":"punctuation.separator.value-size.erlang"}}},{"include":"#internal-type-specifiers"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.binary.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.binary.end.erlang"}}},"character":{"patterns":[{"name":"constant.character.erlang","match":"(\\$)((\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2}))","captures":{"1":{"name":"punctuation.definition.character.erlang"},"2":{"name":"constant.character.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"},"5":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$\\\\\\^?.?"},{"name":"constant.character.erlang","match":"(\\$)[ \\S]","captures":{"1":{"name":"punctuation.definition.character.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$.?"}]},"comment":{"begin":"(^[ \\t]+)?(?=%)","end":"(?!\\G)","patterns":[{"name":"comment.line.percentage.erlang","begin":"%","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.erlang"}}},"define-directive":{"patterns":[{"name":"meta.directive.define.erlang","begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.define.erlang","begin":"(?=^\\s*+-\\s*+define\\s*+\\(\\s*+[a-zA-Z\\d@_]++\\s*+\\()","end":"(\\))\\s*+(\\.)","patterns":[{"begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(\\()","end":"(\\))\\s*(,)","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.separator.parameters.erlang"}}},{"name":"punctuation.separator.define.erlang","match":"\\|\\||\\||:|;|,|\\.|-\u003e"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"directive":{"patterns":[{"name":"meta.directive.erlang","begin":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\(?)","end":"(\\)?)\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.erlang","match":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.section.directive.end.erlang"}}}]},"doc-directive":{"name":"meta.directive.doc.erlang","contentName":"meta.embedded.block.markdown","begin":"^\\s*+(-)\\s*+((module)?doc)\\s*([(]\\s*)?(~[bBsS]?)?(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\7))\\s*([)]\\s*)?(\\.)","patterns":[{"include":"text.md"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.doc.erlang"},"4":{"name":"punctuation.definition.parameters.begin.erlang"},"5":{"name":"storage.type.string.erlang"},"6":{"name":"comment.block.documentation.erlang"},"7":{"name":"punctuation.definition.string.begin.erlang"},"8":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"comment.block.documentation.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"},"3":{"name":"punctuation.section.directive.end.Erlang"}}},"docstring":{"name":"string.quoted.triple.erlang","begin":"(?\u003c!\")(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\2))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"meta.string.quoted.triple.begin.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"},"3":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"everything-else":{"patterns":[{"include":"#comment"},{"include":"#record-usage"},{"include":"#macro-usage"},{"include":"#expression"},{"include":"#keyword"},{"include":"#textual-operator"},{"include":"#language-constant"},{"include":"#function-call"},{"include":"#tuple"},{"include":"#list"},{"include":"#binary"},{"include":"#parenthesized-expression"},{"include":"#character"},{"include":"#number"},{"include":"#atom"},{"include":"#sigil-docstring"},{"include":"#sigil-docstring-verbatim"},{"include":"#sigil-string"},{"include":"#docstring"},{"include":"#string"},{"include":"#symbolic-operator"},{"include":"#variable"}]},"expression":{"patterns":[{"name":"meta.expression.if.erlang","begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.if.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.case.erlang","begin":"\\b(case)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.case.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.receive.erlang","begin":"\\b(receive)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.receive.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","match":"\\b(fun)\\s+((([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*(/)","captures":{"1":{"name":"keyword.control.fun.erlang"},"10":{"name":"punctuation.separator.function-arity.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"variable.other.erlang"},"6":{"name":"punctuation.separator.module-function.erlang"},"8":{"name":"entity.name.function.erlang"},"9":{"name":"variable.other.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"},"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(?!\\()","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"begin":"\\b(fun)\\s*+(\\()(?=(\\s*+\\()|(\\)))","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\b","end":"\\b(end)\\b","patterns":[{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.try.erlang","begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.try.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.begin.erlang","begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.begin.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.maybe.erlang","begin":"\\b(maybe)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.maybe.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}}]},"function":{"name":"meta.function.erlang","begin":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","end":"(\\.)","patterns":[{"match":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\.)","patterns":[{"include":"#parenthesized-expression"},{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.terminator.function.erlang"}}},"function-call":{"name":"meta.function-call.erlang","begin":"(?=([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+(\\(|:\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+\\())","end":"(\\))","patterns":[{"begin":"((erlang)\\s*+(:)\\s*+)?(is_atom|is_binary|is_constant|is_float|is_function|is_integer|is_list|is_number|is_pid|is_port|is_reference|is_tuple|is_record|abs|element|hd|length|node|round|self|size|tl|trunc)\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"entity.name.type.class.module.erlang"},"3":{"name":"punctuation.separator.module-function.erlang"},"4":{"name":"entity.name.function.guard.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}}},{"begin":"((([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"},"7":{"name":"entity.name.function.erlang"},"8":{"name":"variable.other.erlang"},"9":{"name":"punctuation.definition.parameters.begin.erlang"}}}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},"import-export-directive":{"patterns":[{"name":"meta.directive.import.erlang","begin":"^\\s*+(-)\\s*+(import)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.export.erlang","begin":"^\\s*+(-)\\s*+(export)\\s*+(\\()","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.export.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"internal-expression-punctuation":{"match":"(-\u003e)|(;)|(,)","captures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"},"2":{"name":"punctuation.separator.clauses.erlang"},"3":{"name":"punctuation.separator.expressions.erlang"}}},"internal-function-list":{"name":"meta.structure.list.function.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"begin":"([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(/)","end":"(,)|(?=\\])","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.separator.function-arity.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.list.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"internal-function-parts":{"patterns":[{"begin":"(?=\\()","end":"(-\u003e)","patterns":[{"begin":"(\\()","end":"(\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"punctuation.separator.guards.erlang","match":",|;"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"}}},{"name":"punctuation.separator.expressions.erlang","match":","},{"include":"#everything-else"}]},"internal-record-body":{"name":"meta.structure.record.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"begin":"(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_))","end":"(,)|(?=\\})","patterns":[{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"variable.other.field.erlang"},"3":{"name":"variable.language.omitted.field.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.class.record.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.class.record.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.class.record.end.erlang"}}},"internal-string-body":{"patterns":[{"name":"constant.character.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"\\\\\\^?.?"},{"include":"#internal-string-body-verbatim"}]},"internal-string-body-verbatim":{"patterns":[{"name":"constant.character.format.placeholder.other.erlang","match":"(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*))?((\\.)((\\*)|.))?)?[tlkK]*[~cfegswpWPBX#bx\\+ni]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"},"10":{"name":"punctuation.separator.placeholder-parts.erlang"},"6":{"name":"punctuation.separator.placeholder-parts.erlang"}}},{"name":"constant.character.format.placeholder.other.erlang","match":"(~)(\\*)?(\\d++)?(t)?[~du\\-#fsacl]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"~[^\"]?"}]},"internal-type-specifiers":{"begin":"(/)","end":"(?=,|:|\u003e\u003e)","patterns":[{"match":"(integer|float|binary|bytes|bitstring|bits|utf8|utf16|utf32)|(signed|unsigned)|(big|little|native)|(unit)(:)(\\d++)|(-)","captures":{"1":{"name":"storage.type.erlang"},"2":{"name":"storage.modifier.signedness.erlang"},"3":{"name":"storage.modifier.endianness.erlang"},"4":{"name":"storage.modifier.unit.erlang"},"5":{"name":"punctuation.separator.unit-specifiers.erlang"},"6":{"name":"constant.numeric.integer.decimal.erlang"},"7":{"name":"punctuation.separator.type-specifiers.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.value-type.erlang"}}},"keyword":{"name":"keyword.control.erlang","match":"\\b(after|begin|case|catch|cond|end|fun|if|let|of|try|receive|when|maybe|else)\\b"},"language-constant":{"name":"constant.language","match":"\\b(false|true|undefined)\\b"},"list":{"name":"meta.structure.list.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"name":"punctuation.separator.list.erlang","match":"\\||\\|\\||,"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"macro-directive":{"patterns":[{"name":"meta.directive.ifdef.erlang","match":"^\\s*+(-)\\s*+(ifdef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifdef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.ifndef.erlang","match":"^\\s*+(-)\\s*+(ifndef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifndef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.undef.erlang","match":"^\\s*+(-)\\s*+(undef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.undef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}}]},"macro-usage":{"name":"meta.macro-usage.erlang","match":"(\\?\\??)\\s*+([a-zA-Z\\d@_]++)","captures":{"1":{"name":"keyword.operator.macro.erlang"},"2":{"name":"entity.name.function.macro.erlang"}}},"module-directive":{"name":"meta.directive.module.erlang","match":"^\\s*+(-)\\s*+(module)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.module.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"number":{"begin":"(?=\\d)","end":"(?!\\d)","patterns":[{"name":"constant.numeric.float.erlang","match":"\\d++(\\.)\\d++([eE][\\+\\-]?\\d++)?","captures":{"1":{"name":"punctuation.separator.integer-float.erlang"},"2":{"name":"punctuation.separator.float-exponent.erlang"}}},{"name":"constant.numeric.integer.binary.erlang","match":"2(#)([0-1]++_)*[0-1]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-3.erlang","match":"3(#)([0-2]++_)*[0-2]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-4.erlang","match":"4(#)([0-3]++_)*[0-3]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-5.erlang","match":"5(#)([0-4]++_)*[0-4]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-6.erlang","match":"6(#)([0-5]++_)*[0-5]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-7.erlang","match":"7(#)([0-6]++_)*[0-6]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.octal.erlang","match":"8(#)([0-7]++_)*[0-7]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-9.erlang","match":"9(#)([0-8]++_)*[0-8]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.decimal.erlang","match":"10(#)(\\d++_)*\\d++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-11.erlang","match":"11(#)([\\daA]++_)*[\\daA]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-12.erlang","match":"12(#)([\\da-bA-B]++_)*[\\da-bA-B]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-13.erlang","match":"13(#)([\\da-cA-C]++_)*[\\da-cA-C]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-14.erlang","match":"14(#)([\\da-dA-D]++_)*[\\da-dA-D]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-15.erlang","match":"15(#)([\\da-eA-E]++_)*[\\da-eA-E]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.hexadecimal.erlang","match":"16(#)([\\da-fA-F]++_)*[\\da-fA-F]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-17.erlang","match":"17(#)([\\da-gA-G]++_)*[\\da-gA-G]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-18.erlang","match":"18(#)([\\da-hA-H]++_)*[\\da-hA-H]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-19.erlang","match":"19(#)([\\da-iA-I]++_)*[\\da-iA-I]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-20.erlang","match":"20(#)([\\da-jA-J]++_)*[\\da-jA-J]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-21.erlang","match":"21(#)([\\da-kA-K]++_)*[\\da-kA-K]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-22.erlang","match":"22(#)([\\da-lA-L]++_)*[\\da-lA-L]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-23.erlang","match":"23(#)([\\da-mA-M]++_)*[\\da-mA-M]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-24.erlang","match":"24(#)([\\da-nA-N]++_)*[\\da-nA-N]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-25.erlang","match":"25(#)([\\da-oA-O]++_)*[\\da-oA-O]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-26.erlang","match":"26(#)([\\da-pA-P]++_)*[\\da-pA-P]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-27.erlang","match":"27(#)([\\da-qA-Q]++_)*[\\da-qA-Q]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-28.erlang","match":"28(#)([\\da-rA-R]++_)*[\\da-rA-R]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-29.erlang","match":"29(#)([\\da-sA-S]++_)*[\\da-sA-S]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-30.erlang","match":"30(#)([\\da-tA-T]++_)*[\\da-tA-T]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-31.erlang","match":"31(#)([\\da-uA-U]++_)*[\\da-uA-U]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-32.erlang","match":"32(#)([\\da-vA-V]++_)*[\\da-vA-V]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-33.erlang","match":"33(#)([\\da-wA-W]++_)*[\\da-wA-W]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-34.erlang","match":"34(#)([\\da-xA-X]++_)*[\\da-xA-X]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-35.erlang","match":"35(#)([\\da-yA-Y]++_)*[\\da-yA-Y]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-36.erlang","match":"36(#)([\\da-zA-Z]++_)*[\\da-zA-Z]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"invalid.illegal.integer.erlang","match":"\\d++#([\\da-zA-Z]++_)*[\\da-zA-Z]++"},{"name":"constant.numeric.integer.decimal.erlang","match":"(\\d++_)*\\d++"}]},"parenthesized-expression":{"name":"meta.expression.parenthesized","begin":"(\\()","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.section.expression.end.erlang"}}},"record-directive":{"name":"meta.directive.record.erlang","begin":"^\\s*+(-)\\s*+(record)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-record-body"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.record.definition.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},"record-usage":{"patterns":[{"name":"meta.record-usage.erlang","match":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\.)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","captures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"},"3":{"name":"punctuation.separator.record-field.erlang"},"4":{"name":"variable.other.field.erlang"}}},{"name":"meta.record-usage.erlang","begin":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","end":"(?\u003c=\\})","patterns":[{"include":"#internal-record-body"}],"beginCaptures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"}}}]},"sigil-docstring":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[bs])(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-docstring-verbatim":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[BS]?)(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string":{"patterns":[{"include":"#sigil-string-parenthesis"},{"include":"#sigil-string-parenthesis-verbatim"},{"include":"#sigil-string-curly-brackets"},{"include":"#sigil-string-curly-brackets-verbatim"},{"include":"#sigil-string-square-brackets"},{"include":"#sigil-string-square-brackets-verbatim"},{"include":"#sigil-string-less-greater"},{"include":"#sigil-string-less-greater-verbatim"},{"include":"#sigil-string-single-character"},{"include":"#sigil-string-single-character-verbatim"},{"include":"#sigil-string-single-quote"},{"include":"#sigil-string-single-quote-verbatim"},{"include":"#sigil-string-double-quote"},{"include":"#sigil-string-double-quote-verbatim"}]},"sigil-string-curly-brackets":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[bs]?)([{])","end":"([}])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-curly-brackets-verbatim":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[BS])([{])","end":"([}])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote":{"name":"string.quoted.double.sigil.erlang","begin":"(~[bs]?)(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote-verbatim":{"name":"string.quoted.double.sigil.erlang","begin":"(~[BS])(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[bs]?)(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater-verbatim":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[BS])(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[bs]?)([(])","end":"([)])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis-verbatim":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[BS])([(])","end":"([)])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character":{"name":"string.quoted.other.sigil.erlang","begin":"(~[bs]?)([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character-verbatim":{"name":"string.quoted.other.sigil.erlang","begin":"(~[BS])([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote":{"name":"string.quoted.single.sigil.erlang","begin":"(~[bs]?)(')","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote-verbatim":{"name":"string.quoted.single.sigil.erlang","begin":"(~[BS])(')","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[bs]?)([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets-verbatim":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[BS])([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"string":{"name":"string.quoted.double.erlang","begin":"(\")","end":"(\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"symbolic-operator":{"name":"keyword.operator.symbolic.erlang","match":"\\+\\+|\\+|--|-|\\*|/=|/|=/=|=:=|==|=\u003c|=|\u003c-|\u003c|\u003e=|\u003e|!|::|\\?="},"textual-operator":{"name":"keyword.operator.textual.erlang","match":"\\b(andalso|band|and|bxor|xor|bor|orelse|or|bnot|not|bsl|bsr|div|rem)\\b"},"tuple":{"name":"meta.structure.tuple.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"name":"punctuation.separator.tuple.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.tuple.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.tuple.end.erlang"}}},"variable":{"match":"(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)|(_)","captures":{"1":{"name":"variable.other.erlang"},"2":{"name":"variable.language.omitted.erlang"}}}}}
1
+ {"name":"Erlang","scopeName":"source.erlang","patterns":[{"include":"#module-directive"},{"include":"#import-export-directive"},{"include":"#behaviour-directive"},{"include":"#record-directive"},{"include":"#define-directive"},{"include":"#macro-directive"},{"include":"#doc-directive"},{"include":"#type-directive"},{"include":"#directive"},{"include":"#function"},{"include":"#everything-else"}],"repository":{"atom":{"patterns":[{"name":"constant.other.symbol.quoted.single.erlang","begin":"(')","end":"(')","patterns":[{"name":"constant.other.symbol.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.atom.erlang","match":"\\\\\\^?.?"}],"beginCaptures":{"1":{"name":"punctuation.definition.symbol.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.symbol.end.erlang"}}},{"name":"constant.other.symbol.unquoted.erlang","match":"[a-z][a-zA-Z\\d@_]*+"}]},"behaviour-directive":{"name":"meta.directive.behaviour.erlang","match":"^\\s*+(-)\\s*+(behaviour)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.behaviour.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.behaviour.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"binary":{"name":"meta.structure.binary.erlang","begin":"(\u003c\u003c)","end":"(\u003e\u003e)","patterns":[{"match":"(,)|(:)","captures":{"1":{"name":"punctuation.separator.binary.erlang"},"2":{"name":"punctuation.separator.value-size.erlang"}}},{"include":"#internal-type-specifiers"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.binary.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.binary.end.erlang"}}},"character":{"patterns":[{"name":"constant.character.erlang","match":"(\\$)((\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2}))","captures":{"1":{"name":"punctuation.definition.character.erlang"},"2":{"name":"constant.character.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"},"5":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$\\\\\\^?.?"},{"name":"constant.character.erlang","match":"(\\$)[ \\S]","captures":{"1":{"name":"punctuation.definition.character.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$.?"}]},"comment":{"begin":"(^[ \\t]+)?(?=%)","end":"(?!\\G)","patterns":[{"name":"comment.line.percentage.erlang","begin":"%","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.erlang"}}},"define-directive":{"patterns":[{"name":"meta.directive.define.erlang","begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.define.erlang","begin":"(?=^\\s*+-\\s*+define\\s*+\\(\\s*+[a-zA-Z\\d@_]++\\s*+\\()","end":"(\\))\\s*+(\\.)","patterns":[{"begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(\\()","end":"(\\))\\s*(,)","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.separator.parameters.erlang"}}},{"name":"punctuation.separator.define.erlang","match":"\\|\\||\\||:|;|,|\\.|-\u003e"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"directive":{"patterns":[{"name":"meta.directive.erlang","begin":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\(?)","end":"(\\)?)\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.erlang","match":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.section.directive.end.erlang"}}}]},"doc-directive":{"name":"meta.directive.doc.erlang","begin":"^\\s*+(-)\\s*+((module)?doc)\\s*([(]\\s*)?(~[bBsS]?)?(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\7))\\s*([)]\\s*)?(\\.)","patterns":[{"contentName":"meta.embedded.block.markdown","begin":"(\\s*|$)","while":"^(?!\\s*[\"]{3,})","patterns":[{"include":"text.md"}]}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.doc.erlang"},"4":{"name":"punctuation.definition.parameters.begin.erlang"},"5":{"name":"storage.type.string.erlang"},"6":{"name":"comment.block.documentation.erlang"},"7":{"name":"punctuation.definition.string.begin.erlang"},"8":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"comment.block.documentation.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"},"3":{"name":"punctuation.section.directive.end.Erlang"}}},"docstring":{"name":"string.quoted.triple.erlang","begin":"(?\u003c!\")(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\2))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"meta.string.quoted.triple.begin.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"},"3":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"everything-else":{"patterns":[{"include":"#comment"},{"include":"#record-usage"},{"include":"#macro-usage"},{"include":"#expression"},{"include":"#keyword"},{"include":"#textual-operator"},{"include":"#language-constant"},{"include":"#function-call"},{"include":"#tuple"},{"include":"#list"},{"include":"#binary"},{"include":"#parenthesized-expression"},{"include":"#character"},{"include":"#number"},{"include":"#atom"},{"include":"#sigil-docstring"},{"include":"#sigil-docstring-verbatim"},{"include":"#sigil-string"},{"include":"#docstring"},{"include":"#string"},{"include":"#symbolic-operator"},{"include":"#variable"}]},"expression":{"patterns":[{"name":"meta.expression.if.erlang","begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.if.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.case.erlang","begin":"\\b(case)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.case.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.receive.erlang","begin":"\\b(receive)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.receive.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","match":"\\b(fun)\\s+((([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*(/)","captures":{"1":{"name":"keyword.control.fun.erlang"},"10":{"name":"punctuation.separator.function-arity.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"variable.other.erlang"},"6":{"name":"punctuation.separator.module-function.erlang"},"8":{"name":"entity.name.function.erlang"},"9":{"name":"variable.other.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"},"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\s+(_[a-zA-Z\\d@_]*+|[A-Z][a-zA-Z\\d@_]*+)\\s*+(?=\\()","end":"\\b(end)\\b","patterns":[{"match":"(_[a-zA-Z\\d@_]*+|[A-Z][a-zA-Z\\d@_]*+)\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"},"2":{"name":"entity.name.function.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(?!\\()(?=[^\\n]*/)","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\s+(?!\\()(?![^\\n]*/)","end":"(/)|\\b(end)\\b","patterns":[{"match":"(_[a-zA-Z\\d@_]*+|[A-Z][a-zA-Z\\d@_]*+)\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"},"2":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\b","end":"\\b(end)\\b","patterns":[{"match":"(_[a-zA-Z\\d@_]*+|[A-Z][a-zA-Z\\d@_]*+)\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.try.erlang","begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.try.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.begin.erlang","begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.begin.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.maybe.erlang","begin":"\\b(maybe)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.maybe.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}}]},"function":{"name":"meta.function.erlang","begin":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","end":"(\\.)","patterns":[{"match":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\.)","patterns":[{"include":"#parenthesized-expression"},{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.terminator.function.erlang"}}},"function-call":{"name":"meta.function-call.erlang","begin":"(?=([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+(\\(|:\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+\\())","end":"(\\))","patterns":[{"begin":"((erlang)\\s*+(:)\\s*+)?(is_atom|is_binary|is_constant|is_float|is_function|is_integer|is_list|is_number|is_pid|is_port|is_reference|is_tuple|is_record|abs|element|hd|length|node|round|self|size|tl|trunc)\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"entity.name.type.class.module.erlang"},"3":{"name":"punctuation.separator.module-function.erlang"},"4":{"name":"entity.name.function.guard.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}}},{"begin":"((([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"},"7":{"name":"entity.name.function.erlang"},"8":{"name":"variable.other.erlang"},"9":{"name":"punctuation.definition.parameters.begin.erlang"}}}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},"function-type":{"begin":"\\b(fun)\\s*+(\\()(?=(\\s*+\\()|(\\)))","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},"import-export-directive":{"patterns":[{"name":"meta.directive.import.erlang","begin":"^\\s*+(-)\\s*+(import)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.export.erlang","begin":"^\\s*+(-)\\s*+(export)\\s*+(\\()","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.export.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"internal-expression-punctuation":{"match":"(-\u003e)|(;)|(,)","captures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"},"2":{"name":"punctuation.separator.clauses.erlang"},"3":{"name":"punctuation.separator.expressions.erlang"}}},"internal-function-list":{"name":"meta.structure.list.function.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"begin":"([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(/)","end":"(,)|(?=\\])","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.separator.function-arity.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.list.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"internal-function-parts":{"patterns":[{"begin":"(?=\\()","end":"(-\u003e)","patterns":[{"begin":"(\\()","end":"(\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"punctuation.separator.guards.erlang","match":",|;"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"}}},{"name":"punctuation.separator.expressions.erlang","match":","},{"include":"#everything-else"}]},"internal-record-body":{"name":"meta.structure.record.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"begin":"(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_))","end":"(,)|(?=\\})","patterns":[{"name":"meta.type.erlang","begin":"(::)","end":"(?=,|\\})","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.operator.symbolic.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"variable.other.field.erlang"},"3":{"name":"variable.language.omitted.field.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.class.record.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.class.record.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.class.record.end.erlang"}}},"internal-string-body":{"patterns":[{"name":"constant.character.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"\\\\\\^?.?"},{"include":"#internal-string-body-verbatim"}]},"internal-string-body-verbatim":{"patterns":[{"name":"constant.character.format.placeholder.other.erlang","match":"(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*))?((\\.)((\\*)|.))?)?[tlkK]*[~cfegswpWPBX#bx\\+ni]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"},"10":{"name":"punctuation.separator.placeholder-parts.erlang"},"6":{"name":"punctuation.separator.placeholder-parts.erlang"}}},{"name":"constant.character.format.placeholder.other.erlang","match":"(~)(\\*)?(\\d++)?(t)?[~du\\-#fsacl]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"~[^\"]?"}]},"internal-type-specifiers":{"begin":"(/)","end":"(?=,|:|\u003e\u003e)","patterns":[{"match":"(integer|float|binary|bytes|bitstring|bits|utf8|utf16|utf32)|(signed|unsigned)|(big|little|native)|(unit)(:)(\\d++)|(-)","captures":{"1":{"name":"storage.type.erlang"},"2":{"name":"storage.modifier.signedness.erlang"},"3":{"name":"storage.modifier.endianness.erlang"},"4":{"name":"storage.modifier.unit.erlang"},"5":{"name":"punctuation.separator.unit-specifiers.erlang"},"6":{"name":"constant.numeric.integer.decimal.erlang"},"7":{"name":"punctuation.separator.type-specifiers.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.value-type.erlang"}}},"keyword":{"name":"keyword.control.erlang","match":"\\b(after|begin|case|catch|cond|end|fun|if|let|of|try|receive|when|maybe|else)\\b"},"language-constant":{"name":"constant.language","match":"\\b(false|true|undefined)\\b"},"list":{"name":"meta.structure.list.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"name":"punctuation.separator.list.erlang","match":"\\||\\|\\||,"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"macro-directive":{"patterns":[{"name":"meta.directive.ifdef.erlang","match":"^\\s*+(-)\\s*+(ifdef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifdef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.ifndef.erlang","match":"^\\s*+(-)\\s*+(ifndef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifndef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.undef.erlang","match":"^\\s*+(-)\\s*+(undef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.undef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}}]},"macro-usage":{"name":"meta.macro-usage.erlang","match":"(\\?\\??)\\s*+([a-zA-Z\\d@_]++)","captures":{"1":{"name":"keyword.operator.macro.erlang"},"2":{"name":"entity.name.function.macro.erlang"}}},"module-directive":{"name":"meta.directive.module.erlang","match":"^\\s*+(-)\\s*+(module)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.module.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"number":{"begin":"(?=\\d)","end":"(?!\\d)","patterns":[{"name":"constant.numeric.float.erlang","match":"\\d++(\\.)\\d++([eE][\\+\\-]?\\d++)?","captures":{"1":{"name":"punctuation.separator.integer-float.erlang"},"2":{"name":"punctuation.separator.float-exponent.erlang"}}},{"name":"constant.numeric.integer.binary.erlang","match":"2(#)([0-1]++_)*[0-1]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-3.erlang","match":"3(#)([0-2]++_)*[0-2]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-4.erlang","match":"4(#)([0-3]++_)*[0-3]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-5.erlang","match":"5(#)([0-4]++_)*[0-4]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-6.erlang","match":"6(#)([0-5]++_)*[0-5]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-7.erlang","match":"7(#)([0-6]++_)*[0-6]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.octal.erlang","match":"8(#)([0-7]++_)*[0-7]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-9.erlang","match":"9(#)([0-8]++_)*[0-8]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.decimal.erlang","match":"10(#)(\\d++_)*\\d++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-11.erlang","match":"11(#)([\\daA]++_)*[\\daA]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-12.erlang","match":"12(#)([\\da-bA-B]++_)*[\\da-bA-B]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-13.erlang","match":"13(#)([\\da-cA-C]++_)*[\\da-cA-C]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-14.erlang","match":"14(#)([\\da-dA-D]++_)*[\\da-dA-D]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-15.erlang","match":"15(#)([\\da-eA-E]++_)*[\\da-eA-E]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.hexadecimal.erlang","match":"16(#)([\\da-fA-F]++_)*[\\da-fA-F]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-17.erlang","match":"17(#)([\\da-gA-G]++_)*[\\da-gA-G]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-18.erlang","match":"18(#)([\\da-hA-H]++_)*[\\da-hA-H]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-19.erlang","match":"19(#)([\\da-iA-I]++_)*[\\da-iA-I]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-20.erlang","match":"20(#)([\\da-jA-J]++_)*[\\da-jA-J]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-21.erlang","match":"21(#)([\\da-kA-K]++_)*[\\da-kA-K]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-22.erlang","match":"22(#)([\\da-lA-L]++_)*[\\da-lA-L]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-23.erlang","match":"23(#)([\\da-mA-M]++_)*[\\da-mA-M]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-24.erlang","match":"24(#)([\\da-nA-N]++_)*[\\da-nA-N]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-25.erlang","match":"25(#)([\\da-oA-O]++_)*[\\da-oA-O]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-26.erlang","match":"26(#)([\\da-pA-P]++_)*[\\da-pA-P]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-27.erlang","match":"27(#)([\\da-qA-Q]++_)*[\\da-qA-Q]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-28.erlang","match":"28(#)([\\da-rA-R]++_)*[\\da-rA-R]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-29.erlang","match":"29(#)([\\da-sA-S]++_)*[\\da-sA-S]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-30.erlang","match":"30(#)([\\da-tA-T]++_)*[\\da-tA-T]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-31.erlang","match":"31(#)([\\da-uA-U]++_)*[\\da-uA-U]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-32.erlang","match":"32(#)([\\da-vA-V]++_)*[\\da-vA-V]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-33.erlang","match":"33(#)([\\da-wA-W]++_)*[\\da-wA-W]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-34.erlang","match":"34(#)([\\da-xA-X]++_)*[\\da-xA-X]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-35.erlang","match":"35(#)([\\da-yA-Y]++_)*[\\da-yA-Y]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-36.erlang","match":"36(#)([\\da-zA-Z]++_)*[\\da-zA-Z]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"invalid.illegal.integer.erlang","match":"\\d++#([\\da-zA-Z]++_)*[\\da-zA-Z]++"},{"name":"constant.numeric.integer.decimal.erlang","match":"(\\d++_)*\\d++"}]},"parenthesized-expression":{"name":"meta.expression.parenthesized","begin":"(\\()","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.section.expression.end.erlang"}}},"record-directive":{"name":"meta.directive.record.erlang","begin":"^\\s*+(-)\\s*+(record)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-record-body"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.record.definition.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},"record-usage":{"patterns":[{"name":"meta.record-usage.erlang","match":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\.)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","captures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"},"3":{"name":"punctuation.separator.record-field.erlang"},"4":{"name":"variable.other.field.erlang"}}},{"name":"meta.record-usage.erlang","begin":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","end":"(?\u003c=\\})","patterns":[{"include":"#internal-record-body"}],"beginCaptures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"}}}]},"sigil-docstring":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[bs])(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-docstring-verbatim":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[BS]?)(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string":{"patterns":[{"include":"#sigil-string-parenthesis"},{"include":"#sigil-string-parenthesis-verbatim"},{"include":"#sigil-string-curly-brackets"},{"include":"#sigil-string-curly-brackets-verbatim"},{"include":"#sigil-string-square-brackets"},{"include":"#sigil-string-square-brackets-verbatim"},{"include":"#sigil-string-less-greater"},{"include":"#sigil-string-less-greater-verbatim"},{"include":"#sigil-string-single-character"},{"include":"#sigil-string-single-character-verbatim"},{"include":"#sigil-string-single-quote"},{"include":"#sigil-string-single-quote-verbatim"},{"include":"#sigil-string-double-quote"},{"include":"#sigil-string-double-quote-verbatim"}]},"sigil-string-curly-brackets":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[bs]?)([{])","end":"([}])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-curly-brackets-verbatim":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[BS])([{])","end":"([}])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote":{"name":"string.quoted.double.sigil.erlang","begin":"(~[bs]?)(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote-verbatim":{"name":"string.quoted.double.sigil.erlang","begin":"(~[BS])(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[bs]?)(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater-verbatim":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[BS])(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[bs]?)([(])","end":"([)])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis-verbatim":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[BS])([(])","end":"([)])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character":{"name":"string.quoted.other.sigil.erlang","begin":"(~[bs]?)([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character-verbatim":{"name":"string.quoted.other.sigil.erlang","begin":"(~[BS])([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote":{"name":"string.quoted.single.sigil.erlang","begin":"(~[bs]?)(')","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote-verbatim":{"name":"string.quoted.single.sigil.erlang","begin":"(~[BS])(')","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[bs]?)([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets-verbatim":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[BS])([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"string":{"name":"string.quoted.double.erlang","begin":"(\")","end":"(\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"symbolic-operator":{"name":"keyword.operator.symbolic.erlang","match":"\\+\\+|\\+|--|-|\\*|/=|/|=/=|=:=|==|=\u003c|=|\u003c-|\u003c|\u003e=|\u003e|!|::|\\?="},"textual-operator":{"name":"keyword.operator.textual.erlang","match":"\\b(andalso|band|and|bxor|xor|bor|orelse|or|bnot|not|bsl|bsr|div|rem)\\b"},"tuple":{"name":"meta.structure.tuple.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"name":"punctuation.separator.tuple.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.tuple.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.tuple.end.erlang"}}},"type-directive":{"name":"meta.directive.erlang meta.type.erlang","begin":"^\\s*+(-)\\s*+(type|opaque|nominal|spec|callback)(?![a-zA-Z\\d@_])\\s*+(\\(?)","end":"(\\)?)\\s*+(\\.)(?=\\s|%|$)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},"variable":{"match":"(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)|(_)","captures":{"1":{"name":"variable.other.erlang"},"2":{"name":"variable.language.omitted.erlang"}}}},"injections":{"L:source.erlang meta.type.erlang - comment - string":{"patterns":[{"include":"#function-type"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"ArkTS","scopeName":"source.ets","patterns":[{"name":"meta.struct.ets","begin":"(?\u003c![_$[:alnum:]])(?:(?\u003c=\\.\\.\\.)|(?\u003c!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(?:(abstract)\\s+)?\\b(struct)\\b(?=\\s+|/[/*])","end":"(?\u003c=\\})","patterns":[{"include":"source.ts#class-declaration-or-expression-patterns"}],"beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.modifier.ts"},"4":{"name":"storage.type.class.ts"}}},{"name":"meta.at-interface.ets","begin":"(?\u003c![_$[:alnum:]])(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?(@interface)\\b(?=\\s+|/[/*])","end":"(?\u003c=\\})","patterns":[{"include":"source.ts#class-declaration-or-expression-patterns"}],"beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"storage.type.class.ts"}}},{"name":"meta.import.ets","begin":"(?\u003c![_$[:alnum:]])(?:(?\u003c=\\.\\.\\.)|(?\u003c!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(import)\\s+(lazy)(?:\\s+(type)(?!\\s+from))?(?!\\s*[:\\(])(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))","end":"(?\u003c!^import|[^\\._$[:alnum:]]import)(?=;|$|^)","patterns":[{"include":"source.ts#single-line-comment-consuming-line-ending"},{"include":"source.ts#comment"},{"include":"source.ts#string"},{"begin":"(?\u003c=^import|[^\\._$[:alnum:]]import)(?!\\s*[\"'])","end":"\\bfrom\\b","patterns":[{"include":"source.ts#import-export-declaration"}],"endCaptures":{"0":{"name":"keyword.control.from.ts"}}},{"include":"source.ts#import-export-declaration"}],"beginCaptures":{"1":{"name":"keyword.control.export.ts"},"2":{"name":"storage.modifier.ts"},"3":{"name":"keyword.control.import.ts"},"4":{"name":"keyword.control.lazy.ets"},"5":{"name":"keyword.control.type.ts"}}},{"include":"source.ts"}]}
@@ -0,0 +1 @@
1
+ {"name":"fift","scopeName":"source.fift","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"include":"#stack_words"},{"include":"#program_words"},{"include":"#control_words"},{"include":"#literals"},{"include":"#commands"}],"repository":{"commands":{"patterns":[{"name":"keyword.other.command.fift","match":"\\b[A-Z][A-Z0-9_]*\\b"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.fift","match":"//.*$"}]},"control_words":{"patterns":[{"name":"keyword.control.flow.fift","match":"\\b(if|ifnot|cond|until|while|times)\\b"},{"name":"keyword.control.import.fift","match":"\\b(include)\\b"}]},"literals":{"patterns":[{"name":"constant.language.boolean.fift","match":"\\b(true|false)\\b"},{"name":"constant.other.binary-slice.fift","match":"b\\{[01]+\\}"},{"name":"constant.other.hex-slice.fift","match":"x\\{[0-9a-fA-F_]+\\}"},{"name":"constant.other.hex-bytes.fift","match":"B\\{[0-9a-fA-F_]+\\}"},{"name":"constant.character.fift","match":"char ."}]},"numbers":{"patterns":[{"name":"constant.numeric.decimal.fift","match":"\\b-?[0-9]+(/-?[0-9]+)?\\b"},{"name":"constant.numeric.hex.fift","match":"\\b0x[0-9a-fA-F]+\\b"},{"name":"constant.numeric.binary.fift","match":"\\b0b[01]+\\b"}]},"program_words":{"patterns":[{"name":"keyword.control.program.fift","match":"\\b(PROGRAM|END\u003ec|PROC|PROCINLINE|DECLPROC|DECLMETHOD)\\b"},{"name":"keyword.control.call.fift","match":"\\b(CALLDICT|INLINECALLDICT)\\b"}]},"stack_words":{"patterns":[{"name":"keyword.operator.stack.fift","match":"\\b(dup|drop|swap|rot|-rot|over|tuck|nip|2dup|2drop|2swap|pick|roll|-roll|exch|exch2|\\?dup)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.fift","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.fift","match":"\\\\."}]},{"name":"string.quoted.double.abort.fift","match":"abort\"[^\"]*\""},{"name":"string.quoted.double.print.fift","match":"\\.\"[^\"]*\""}]}}}
@@ -1 +1 @@
1
- {"name":"flix","scopeName":"source.flix","patterns":[{"include":"#all_patterns"}],"repository":{"all_patterns":{"patterns":[{"include":"#constants"},{"include":"#keywords"},{"include":"#literal_char"},{"include":"#literal_string"},{"include":"#literal_dec"},{"include":"#literal_hex"},{"include":"#annotations"},{"include":"#types"},{"include":"#comments"}]},"annotations":{"patterns":[{"name":"storage.type.annotation.flix","match":"@Deprecated"},{"name":"storage.type.annotation.flix","match":"@Experimental"},{"name":"storage.type.annotation.flix","match":"@Internal"},{"name":"storage.type.annotation.flix","match":"@ParallelWhenPure"},{"name":"storage.type.annotation.flix","match":"@Parallel"},{"name":"storage.type.annotation.flix","match":"@LazyWhenPure"},{"name":"storage.type.annotation.flix","match":"@Lazy"},{"name":"storage.type.annotation.flix","match":"@Skip"},{"name":"storage.type.annotation.flix","match":"@Test"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.flix","match":"//.*$"},{"name":"comment.block.flix","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.unit.flix","match":"\\b\\(\\)\\b"},{"name":"constant.language.bool.flix","match":"\\b(true|false)\\b"},{"name":"constant.language.comparison.flix","match":"\\b(LessThan|EqualTo|GreaterThan)\\b"},{"name":"constant.language.nil.flix","match":"\\b(Nil)\\b"},{"name":"constant.language.null.flix","match":"\\b(null)\\b"},{"name":"constant.language.option.flix","match":"\\b(Some|None)\\b"},{"name":"constant.language.result.flix","match":"\\b(Ok|Err)\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.choose.flix","match":"\\b(choose\\*|choose)\\b"},{"name":"keyword.control.debug.flix","match":"\\b(dbg)\\b"},{"name":"keyword.control.applicativefor.flix","match":"\\b(forA)\\b"},{"name":"keyword.control.monadicfor.flix","match":"\\b(forM)\\b"},{"name":"keyword.control.foreach.flix","match":"\\b(foreach)\\b"},{"name":"keyword.control.handler.flix","match":"\\b(handler)\\b"},{"name":"keyword.control.yield.flix","match":"\\b(yield)\\b"},{"name":"keyword.control.if.flix","match":"\\b(if|else)\\b"},{"name":"keyword.control.match.flix","match":"\\b(case|match|typematch|ematch)\\b"},{"name":"keyword.control.run.flix","match":"\\b(run)\\b"},{"name":"keyword.control.resume.flix","match":"\\b(resume)\\b"},{"name":"keyword.control.throw.flix","match":"\\b(throw)\\b"},{"name":"keyword.control.try.flix","match":"\\b(try|catch)\\b"},{"name":"keyword.control.spawn.flix","match":"\\b(spawn)\\b"},{"name":"keyword.control.par.flix","match":"\\b(par)\\b"},{"name":"keyword.control.unsafe.flix","match":"\\b(unsafe)\\b"},{"name":"keyword.control.ast.flix","match":"\\b(branch|jumpto)\\b"},{"name":"keyword.forall.flix","match":"\\b(forall)\\b"},{"name":"keyword.operator.bool.flix","match":"\\b(not|and|or)\\b"},{"name":"keyword.operator.fix.flix","match":"\\bfix\\b"},{"name":"keyword.operator.new.flix","match":"\\b(new)\\b"},{"name":"keyword.declaration.flix","match":"\\b(eff|def|redef|law|enum|case|type|alias|trait|instance|with|without|opaque|mod|struct|handler|xvar)\\b"},{"name":"keyword.expression.cast.flix","match":"\\b(checked_cast|checked_ecast|unchecked_cast|as)\\b"},{"name":"keyword.expression.discard.flix","match":"\\b(discard)\\b"},{"name":"keyword.expression.fixpoint.flix","match":"\\b(from|into|inject|project|psolve|solve|query|pquery|where|select)\\b"},{"name":"keyword.expression.force.flix","match":"\\b(force)\\b"},{"name":"keyword.expression.hole.flix","match":"(\\?\\?\\?|\\?[a-zA-Z0-9]+)"},{"name":"keyword.expression.import.flix","match":"\\b(import)\\b"},{"name":"keyword.expression.instanceof.flix","match":"\\b(instanceof)\\b"},{"name":"keyword.expression.let.flix","match":"\\b(let)\\b"},{"name":"keyword.expression.lazy.flix","match":"\\b(lazy)\\b"},{"name":"keyword.expression.region.flix","match":"\\b(region)\\b"},{"name":"keyword.use.flix","match":"\\b(use)\\b"},{"name":"keyword.mut.flix","match":"\\b(mut)\\b"},{"name":"keyword.symbols.flix","match":"(~\u003e|\u003c\\-|=\u003e)"},{"name":"keyword.arrow.function.flix","match":"(\\s\\-\u003e\\s|\\s\\-\u003e|\\-\u003e\\s)"},{"name":"keyword.operator.arrow.struct.flix","match":"\\-\u003e"},{"name":"keyword.control.semicolon.flix","match":";"},{"name":"storage.type.modifier.flix","match":"\\b(lawful|pub|sealed|static)\\b"}]},"literal_char":{"name":"string.quoted.single.flix","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\((u[0-9a-fA-F]{4})|.)"}]},"literal_dec":{"patterns":[{"name":"constant.numeric.decimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(f32|f64)?\\b"},{"name":"constant.numeric.decimal.bigdecimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(ff)?\\b"},{"name":"constant.numeric.decimal.flix","match":"(?\u003c!\\$)\\b[0-9](_*[0-9])*(i8|i16|i32|i64|ii)?\\b"}]},"literal_hex":{"name":"constant.numeric.hex.flix","match":"\\b0x[a-fA-F0-9](_*[a-fA-F0-9])*(i8|i16|i32|i64|ii)?\\b"},"literal_string":{"name":"string.quoted.double.flix","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.flix","match":"\\\\((u[0-9a-fA-F]{4})|.)"},{"contentName":"meta.embedded.line.flix","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#all_patterns"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.flix"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.flix"}}}]},"types":{"patterns":[{"name":"entity.name.type","match":"\\b(Unit|Bool|Char|Float32|Float64|Int8|Int16|Int32|Int64|BigInt|String)\\b"}]}}}
1
+ {"name":"flix","scopeName":"source.flix","patterns":[{"include":"#all_patterns"}],"repository":{"all_patterns":{"patterns":[{"include":"#constants"},{"include":"#declarations"},{"include":"#keywords"},{"include":"#literal_char"},{"include":"#literal_string"},{"include":"#literal_dec"},{"include":"#literal_hex"},{"include":"#annotations"},{"include":"#functions"},{"include":"#types"},{"include":"#comments"}]},"annotations":{"patterns":[{"name":"storage.type.annotation.flix","match":"@Deprecated"},{"name":"storage.type.annotation.flix","match":"@Experimental"},{"name":"storage.type.annotation.flix","match":"@Internal"},{"name":"storage.type.annotation.flix","match":"@ParallelWhenPure"},{"name":"storage.type.annotation.flix","match":"@Parallel"},{"name":"storage.type.annotation.flix","match":"@LazyWhenPure"},{"name":"storage.type.annotation.flix","match":"@Lazy"},{"name":"storage.type.annotation.flix","match":"@Skip"},{"name":"storage.type.annotation.flix","match":"@Test"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.flix","match":"//.*$"},{"name":"comment.block.flix","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.unit.flix","match":"(?\u003c![a-zA-Z0-9_!])\\(\\)"},{"name":"constant.language.bool.flix","match":"\\b(true|false)\\b"},{"name":"constant.language.comparison.flix","match":"\\b(LessThan|EqualTo|GreaterThan)\\b"},{"name":"constant.language.nil.flix","match":"\\b(Nil)\\b"},{"name":"constant.language.null.flix","match":"\\b(null)\\b"},{"name":"constant.language.option.flix","match":"\\b(Some|None)\\b"},{"name":"constant.language.result.flix","match":"\\b(Ok|Err)\\b"}]},"declarations":{"patterns":[{"match":"\\b(def|redef)\\s+([a-z][a-zA-Z0-9_]*!?)","captures":{"1":{"name":"keyword.declaration.flix"},"2":{"name":"entity.name.function.flix"}}}]},"functions":{"patterns":[{"match":"\\b([A-Z][a-zA-Z0-9_]*)\\.([a-z][a-zA-Z0-9_]*!?)","captures":{"1":{"name":"entity.name.type.flix"},"2":{"name":"support.function.flix"}}},{"name":"entity.name.function.flix","match":"\\b[a-z][a-zA-Z0-9_]*!?(?=\\s*\\()"}]},"keywords":{"patterns":[{"name":"keyword.control.choose.flix","match":"\\b(choose\\*|choose)\\b"},{"name":"keyword.control.applicativefor.flix","match":"\\b(forA)\\b"},{"name":"keyword.control.monadicfor.flix","match":"\\b(forM)\\b"},{"name":"keyword.control.foreach.flix","match":"\\b(foreach)\\b"},{"name":"keyword.control.handler.flix","match":"\\b(handler)\\b"},{"name":"keyword.control.yield.flix","match":"\\b(yield)\\b"},{"name":"keyword.control.if.flix","match":"\\b(if|else)\\b"},{"name":"keyword.control.match.flix","match":"\\b(case|match|ematch)\\b"},{"name":"keyword.control.run.flix","match":"\\b(run)\\b"},{"name":"keyword.control.throw.flix","match":"\\b(throw)\\b"},{"name":"keyword.control.try.flix","match":"\\b(try|catch)\\b"},{"name":"keyword.control.spawn.flix","match":"\\b(spawn)\\b"},{"name":"keyword.control.par.flix","match":"\\b(par)\\b"},{"name":"keyword.control.unsafe.flix","match":"\\b(unsafe)\\b"},{"name":"keyword.forall.flix","match":"\\b(forall)\\b"},{"name":"keyword.operator.bool.flix","match":"\\b(not|and|or)\\b"},{"name":"keyword.operator.fix.flix","match":"\\bfix\\b"},{"name":"keyword.operator.new.flix","match":"\\b(new)\\b"},{"name":"keyword.declaration.flix","match":"\\b(eff|def|redef|enum|type|alias|trait|instance|with|mod|struct)\\b"},{"name":"keyword.expression.cast.flix","match":"\\b(checked_cast|checked_ecast|unchecked_cast|as)\\b"},{"name":"keyword.expression.discard.flix","match":"\\b(discard)\\b"},{"name":"keyword.expression.fixpoint.flix","match":"\\b(from|into|inject|project|psolve|solve|query|pquery|where|select)\\b"},{"name":"keyword.expression.force.flix","match":"\\b(force)\\b"},{"name":"keyword.expression.hole.flix","match":"(\\?\\?\\?|\\?[a-zA-Z0-9]+)"},{"name":"keyword.expression.import.flix","match":"\\b(import)\\b"},{"name":"keyword.expression.instanceof.flix","match":"\\b(instanceof)\\b"},{"name":"keyword.expression.let.flix","match":"\\b(let)\\b"},{"name":"keyword.expression.lazy.flix","match":"\\b(lazy)\\b"},{"name":"keyword.expression.region.flix","match":"\\b(region)\\b"},{"name":"keyword.use.flix","match":"\\b(use)\\b"},{"name":"keyword.mut.flix","match":"\\b(mut)\\b"},{"name":"keyword.symbols.flix","match":"(~\u003e|\u003c\\-|=\u003e)"},{"name":"keyword.arrow.function.flix","match":"(\\s\\-\u003e\\s|\\s\\-\u003e|\\-\u003e\\s)"},{"name":"keyword.operator.arrow.struct.flix","match":"\\-\u003e"},{"name":"keyword.control.semicolon.flix","match":";"},{"name":"variable.language.super.flix","match":"\\b(super)\\b"},{"name":"storage.modifier.flix","match":"\\b(pub|sealed|static)\\b"}]},"literal_char":{"name":"string.quoted.single.flix","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\((u[0-9a-fA-F]{4})|.)"}]},"literal_dec":{"patterns":[{"name":"constant.numeric.decimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(f32|f64)?\\b"},{"name":"constant.numeric.decimal.bigdecimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(ff)?\\b"},{"name":"constant.numeric.decimal.flix","match":"(?\u003c!\\$)\\b[0-9](_*[0-9])*(i8|i16|i32|i64|ii)?\\b"}]},"literal_hex":{"name":"constant.numeric.hex.flix","match":"\\b0x[a-fA-F0-9](_*[a-fA-F0-9])*(i8|i16|i32|i64|ii)?\\b"},"literal_string":{"name":"string.quoted.double.flix","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.flix","match":"\\\\((u[0-9a-fA-F]{4})|.)"},{"contentName":"meta.embedded.line.flix","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#all_patterns"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.flix"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.flix"}}}]},"types":{"patterns":[{"name":"entity.name.type.flix","match":"\\b[A-Z][a-zA-Z0-9_]*\\b"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"fpp","scopeName":"source.fpp","patterns":[{"include":"#specInitPhase"},{"include":"#keywords"},{"include":"#modifiers"},{"include":"#severity"},{"include":"#types"},{"include":"#type-builtin-literals"},{"include":"#annotations"},{"include":"#tripleString"},{"include":"#strings"},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"},{"include":"#punctuation-accessor"},{"include":"#string-character-escape"},{"include":"#numeric-literal"}],"repository":{"annotations":{"patterns":[{"name":"comment.block.documentation.fpp","match":"[@][\u003c]?[^\n]*"},{"name":"comment.line.fpp","match":"[#][^\n]*"}]},"cppTripleString":{"contentName":"meta.embedded.block.cpp","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"source.c++"}],"beginCaptures":{"0":{"name":"string.quoted.triple.fpp punctuation.definition.string.begin.fpp"}},"endCaptures":{"0":{"name":"string.quoted.triple.fpp punctuation.definition.string.end.fpp"}}},"keywords":{"patterns":[{"name":"storage.type.class.fpp","match":"\\b(?\u003c![$])(action|always|array|assert|at|base|block|bool|change|choice|command|component|connections|constant|container|cpu|default|do|drop|else|enter|entry|enum|event|exit|expand|format|get|group|guard|health|hook|id|if|import|include|initial|input|instance|interface|internal|locate|machine|match|module|omit|on|opcode|orange|output|packet|packets|param|phase|port|priority|private|product|queue|record|recv|red|ref|reg|request|resp|save|send|serial|set|severity|signal|size|sizeof|stack|state|string|struct|telemetry|template|text|throttle|time|topology|type|unmatched|update|with|yellow)\\b"}]},"line-continuation":{"name":"punctuation.separator.continuation.fpp","match":"\\\\\\s*$"},"modifiers":{"patterns":[{"name":"keyword.control.export.fpp","match":"\\b(?\u003c![$])(active|async|deployment|dictionary|sync|system|passive|queued|guarded)\\b"}]},"numeric-literal":{"patterns":[{"name":"constant.numeric.hex.ts","match":"\\b(?\u003c!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"name":"constant.numeric.binary.ts","match":"\\b(?\u003c!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"name":"constant.numeric.octal.ts","match":"\\b(?\u003c!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"match":"(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1.1E+3\n (?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1.E+3\n (?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # .1E+3\n (?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1E+3\n (?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| # 1.1\n (?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| # 1.\n (?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| # .1\n (?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) # 1\n)(?!\\$)","captures":{"0":{"name":"constant.numeric.decimal.ts"},"1":{"name":"meta.delimiter.decimal.period.ts"},"10":{"name":"meta.delimiter.decimal.period.ts"},"11":{"name":"storage.type.numeric.bigint.ts"},"12":{"name":"meta.delimiter.decimal.period.ts"},"13":{"name":"storage.type.numeric.bigint.ts"},"14":{"name":"storage.type.numeric.bigint.ts"},"2":{"name":"storage.type.numeric.bigint.ts"},"3":{"name":"meta.delimiter.decimal.period.ts"},"4":{"name":"storage.type.numeric.bigint.ts"},"5":{"name":"meta.delimiter.decimal.period.ts"},"6":{"name":"storage.type.numeric.bigint.ts"},"7":{"name":"storage.type.numeric.bigint.ts"},"8":{"name":"meta.delimiter.decimal.period.ts"},"9":{"name":"storage.type.numeric.bigint.ts"}}}]},"punctuation-accessor":{"match":"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))","captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"}}},"punctuation-comma":{"name":"punctuation.separator.comma.ts","match":","},"punctuation-semicolon":{"name":"punctuation.terminator.statement.ts","match":";"},"severity":{"patterns":[{"name":"keyword.control.trycatch.fpp","match":"\\b(?\u003c![$])(activity|diagnostic|low|fatal|high|warning)\\b"}]},"specInitPhase":{"name":"meta.spec-init.fpp","begin":"\\b(?\u003c![$])(phase)\\b","end":"(?\u003c=\")|(?=\\})","patterns":[{"include":"#cppTripleString"},{"include":"#strings"},{"include":"#line-continuation"},{"include":"#annotations"},{"include":"#numeric-literal"},{"include":"#punctuation-accessor"}],"beginCaptures":{"1":{"name":"storage.type.class.fpp"}}},"string-character-escape":{"name":"constant.character.escape.ts","match":"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)"},"strings":{"name":"string.quoted.double.fpp","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.fpp","match":"\\\\."}]},"tripleString":{"name":"string.quoted.triple.fpp","begin":"\"\"\"","end":"\"\"\"","patterns":[{"name":"constant.character.escape.fpp","match":"\\\\."}]},"type-builtin-literals":{"name":"support.type.builtin.ts","match":"\\b(?\u003c![$])(true|false)\\b"},"types":{"patterns":[{"name":"support.type.primitive.fpp","match":"\\b(U8|I8|U16|I16|U32|I32|U64|I64|F32|F64|string|bool)\\b"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"func","scopeName":"source.func","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"include":"#directives"},{"include":"#keywords"},{"include":"#types"},{"include":"#specifiers"},{"include":"#operators"},{"include":"#function-calls"},{"include":"#punctuation"},{"include":"#identifiers"}],"repository":{"comments":{"patterns":[{"name":"comment.line.double-semicolon.func","match":";;.*$"},{"name":"comment.block.func","begin":"\\{-","end":"-\\}","patterns":[{"include":"#comments"}]}]},"directives":{"patterns":[{"name":"keyword.control.directive.include.func","match":"#include"},{"name":"keyword.control.directive.pragma.func","match":"#pragma"}]},"function-calls":{"patterns":[{"name":"meta.function-call.builtin.func","match":"(?x)\\b(?:throw_unless|equal_slices|send_raw_message|accept_message)\\b(?=\\s*\\()","captures":{"0":{"name":"support.function.builtin.func"}}},{"name":"meta.function-call.method.func","begin":"(?\u003c=\\.|~)\\s*(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()","end":"(?=)","beginCaptures":{"1":{"name":"support.function.method.func"}}},{"name":"meta.function-call.func","begin":"(?x)(?\u003c![\\.\\$~])(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()","end":"(?=)","beginCaptures":{"1":{"name":"support.function.call.func"}}}]},"identifiers":{"patterns":[{"name":"entity.name.function.definition.func","match":"(?x)(?:(?\u003c=^)|(?\u003c=[;{])\\s*)(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()"},{"name":"variable.other.func","match":"`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*"}]},"keywords":{"patterns":[{"name":"keyword.control.func","match":"\\b(?:if|ifnot|elseif|elseifnot|else|while|do|until|repeat|return|try|catch)\\b"},{"name":"keyword.declaration.func","match":"\\b(?:global|const|forall)\\b"}]},"numbers":{"patterns":[{"name":"constant.numeric.hex.func","match":"(?\u003c![0-9A-Za-z_])-?0x[0-9a-fA-F]+"},{"name":"constant.numeric.dec.func","match":"(?\u003c![0-9A-Za-z_])-?[0-9]+"}]},"operators":{"patterns":[{"name":"keyword.operator.func","match":"(?:==|!=|\u003c=|\u003e=|\u003c=\u003e|\u003c\u003c=|\u003e\u003e=|~\u003e\u003e=|\\^\u003e\u003e=|\u003c\u003c|\u003e\u003e|~\u003e\u003e|\\^\u003e\u003e|-\u003e|=|\\+=|-=|\\*=|\\/=|~\\/=|\\^\\/=|%|~%=|\\^%|\u0026|\\|\\||~|\\^|\\?|\\.)"}]},"punctuation":{"patterns":[{"name":"punctuation.brackets.func","match":"[()\\[\\]{}]"},{"name":"punctuation.separator.func","match":"[,:;]"}]},"specifiers":{"patterns":[{"name":"storage.modifier.func","match":"\\b(?:impure|inline|inline_ref|method_id|asm)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.func","match":"\"(?:[^\\\"\\\\]|\\\\.)*\"[Hhcu]?"}]},"types":{"patterns":[{"name":"storage.type.primitive.func","match":"\\b(?:int|cell|slice|builder|cont|tuple)\\b"},{"name":"storage.type.modifier.func","match":"\\bvar\\b"}]}}}
@@ -1 +1 @@
1
- {"name":"GDScript","scopeName":"source.gdscript","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated_parameter":{"begin":"(?x)\n \\s* ([a-zA-Z_]\\w*) \\s* (:)\\s* ([a-zA-Z_]\\w*)? \n","end":"(,)|(?=\\))","patterns":[{"include":"#expression"},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"}],"beginCaptures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"annotations":{"match":"(@)(abstract|export|export_category|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_file_path|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_flags_avoidance|export_global_dir|export_global_file|export_group|export_multiline|export_node_path|export_placeholder|export_range|export_storage|export_subgroup|export_tool_button|icon|onready|rpc|static_unload|tool|warning_ignore|warning_ignore_restore|warning_ignore_start)\\b","captures":{"1":{"name":"entity.name.function.decorator.gdscript"},"2":{"name":"entity.name.function.decorator.gdscript"}}},"any_method":{"name":"entity.name.function.other.gdscript","match":"\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))"},"any_property":{"match":"\\b(\\.)\\s*(?\u003c![@\\$#%])(?:([A-Z_][A-Z_0-9]*)|([A-Za-z_]\\w*))\\b(?![(])","captures":{"1":{"name":"punctuation.accessor.gdscript"},"2":{"name":"constant.language.gdscript"},"3":{"name":"variable.other.property.gdscript"}}},"any_variable":{"name":"variable.other.gdscript","match":"\\b(?\u003c![@\\$#%])([A-Za-z_]\\w*)\\b(?![(])"},"arithmetic_operator":{"name":"keyword.operator.arithmetic.gdscript","match":"-\u003e|\\+=|-=|\\*\\*=|\\*=|\\^=|/=|%=|\u0026=|~=|\\|=|\\*\\*|\\*|/|%|\\+|-"},"assignment_operator":{"name":"keyword.operator.assignment.gdscript","match":"="},"base_expression":{"patterns":[{"include":"#builtin_get_node_shorthand"},{"include":"#nodepath_object"},{"include":"#nodepath_function"},{"include":"#strings"},{"include":"#builtin_classes"},{"include":"#const_vars"},{"include":"#keywords"},{"include":"#operators"},{"include":"#lambda_declaration"},{"include":"#class_declaration"},{"include":"#variable_declaration"},{"include":"#signal_declaration_bare"},{"include":"#signal_declaration"},{"include":"#function_declaration"},{"include":"#statement_keyword"},{"include":"#assignment_operator"},{"include":"#in_keyword"},{"include":"#control_flow"},{"include":"#match_keyword"},{"include":"#curly_braces"},{"include":"#square_braces"},{"include":"#round_braces"},{"include":"#function_call"},{"include":"#region"},{"include":"#comment"},{"include":"#func"},{"include":"#letter"},{"include":"#numbers"},{"include":"#pascal_case_class"},{"include":"#line_continuation"}]},"bitwise_operator":{"name":"keyword.operator.bitwise.gdscript","match":"\u0026|\\||\u003c\u003c=|\u003e\u003e=|\u003c\u003c|\u003e\u003e|\\^|~"},"boolean_operator":{"name":"keyword.operator.boolean.gdscript","match":"(\u0026\u0026|\\|\\|)"},"builtin_classes":{"name":"entity.name.type.class.builtin.gdscript","match":"(?\u003c![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS|Variant|void)\\b"},"builtin_get_node_shorthand":{"patterns":[{"include":"#builtin_get_node_shorthand_quoted"},{"include":"#builtin_get_node_shorthand_bare"},{"include":"#builtin_get_node_shorthand_bare_multi"}]},"builtin_get_node_shorthand_bare":{"name":"meta.literal.nodepath.bare.gdscript","captures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"},"4":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_bare_multi":{"name":"meta.literal.nodepath.bare.gdscript","begin":"(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)","end":"(?!\\s*/\\s*%?\\s*[a-zA-Z_]\\w*)","patterns":[{"match":"(/)\\s*(%)?\\s*([a-zA-Z_]\\w*)\\s*","captures":{"1":{"name":"constant.character.escape.gdscript"},"2":{"name":"keyword.control.flow.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_quoted":{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(?:(\\$|%)|(\u0026|\\^|@))(\"|')","end":"(\\3)","patterns":[{"name":"keyword.control.flow","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_declaration":{"match":"(?\u003c=^class)\\s+([a-zA-Z_]\\w*)\\s*(?=:)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_enum":{"match":"\\b([A-Z][a-zA-Z_0-9]*)\\.([A-Z_0-9]+)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_is":{"match":"\\s+(is)\\s+(not?)\\s+\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"storage.type.is.gdscript"},"2":{"name":"storage.type.not.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}}},"class_name":{"match":"(?\u003c=class_name)\\s+([a-zA-Z_]\\w*(\\.([a-zA-Z_]\\w*))?)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_new":{"match":"\\b([a-zA-Z_]\\w*).(new)\\(","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"storage.type.new.gdscript"},"3":{"name":"punctuation.parenthesis.begin.gdscript"}}},"comment":{"name":"comment.line.number-sign.gdscript","match":"(##|#).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.number-sign.gdscript"}}},"compare_operator":{"name":"keyword.operator.comparison.gdscript","match":"\u003c=|\u003e=|==|\u003c|\u003e|!=|!"},"const_vars":{"name":"variable.other.constant.gdscript","match":"\\b([A-Z_][A-Z_0-9]*)\\b"},"control_flow":{"name":"keyword.control.gdscript","match":"\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\b"},"curly_braces":{"begin":"\\{","end":"\\}","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dict.end.gdscript"}}},"expression":{"patterns":[{"include":"#getter_setter_godot4"},{"include":"#base_expression"},{"include":"#assignment_operator"},{"include":"#annotations"},{"include":"#class_name"},{"include":"#builtin_classes"},{"include":"#class_new"},{"include":"#class_is"},{"include":"#class_enum"},{"include":"#any_method"},{"include":"#any_variable"},{"include":"#any_property"}]},"extends_statement":{"match":"(extends)\\s+([a-zA-Z_]\\w*\\.[a-zA-Z_]\\w*)?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.other.inherited-class.gdscript"}}},"func":{"name":"keyword.language.gdscript storage.type.function.gdscript","match":"\\bfunc\\b"},"function_arguments":{"contentName":"meta.function.parameters.gdscript","begin":"(\\()","end":"(?=\\))(?!\\)\\s*\\()","patterns":[{"name":"punctuation.separator.arguments.gdscript","match":"(,)"},{"match":"\\b([a-zA-Z_]\\w*)\\s*(=)(?!=)","captures":{"1":{"name":"variable.parameter.function-call.gdscript"},"2":{"name":"keyword.operator.assignment.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"},{"include":"#base_expression"},{"match":"\\s*(\\))\\s*(\\()","captures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"}}},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.gdscript"}}},"function_call":{"name":"meta.function-call.gdscript","begin":"(?=\\b[a-zA-Z_]\\w*\\b\\()","end":"(\\))","patterns":[{"include":"#function_name"},{"include":"#function_arguments"}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"}}},"function_declaration":{"name":"meta.function.gdscript","begin":"(?x) \\s*\n (func) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"(:)|\n","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"endCaptures":{"1":{"name":"punctuation.section.function.begin.gdscript"}}},"function_name":{"patterns":[{"include":"#builtin_classes"},{"name":"keyword.language.gdscript","match":"\\b(preload)\\b"},{"name":"entity.name.function.gdscript","match":"\\b([a-zA-Z_]\\w*)\\b"}]},"getter_setter_godot4":{"patterns":[{"name":"meta.variable.declaration.getter.gdscript","match":"(get)\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"}}},{"name":"meta.variable.declaration.setter.gdscript","match":"(set)\\s*(\\()\\s*([A-Za-z_]\\w*)\\s*(\\))\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"},"3":{"name":"variable.other.gdscript"},"4":{"name":"punctuation.definition.arguments.end.gdscript"},"5":{"name":"punctuation.separator.annotation.gdscript"}}}]},"in_keyword":{"patterns":[{"begin":"\\b(for)\\b","end":":","patterns":[{"name":"keyword.control.gdscript","match":"\\bin\\b"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"captures":{"1":{"name":"keyword.control.gdscript"}}},{"name":"keyword.operator.wordlike.gdscript","match":"\\bin\\b"}]},"keywords":{"name":"keyword.language.gdscript","match":"\\b(?:class|class_name|is|onready|tool|static|export|as|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\b"},"lambda_declaration":{"name":"meta.function.gdscript","begin":"(func)\\s?(?=\\()","end":"(:|(?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"letter":{"name":"constant.language.gdscript","match":"\\b(?:true|false|null)\\b"},"line_continuation":{"patterns":[{"match":"(\\\\)\\s*(\\S.*$\\n?)","captures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"},"2":{"name":"invalid.illegal.line.continuation.gdscript"}}},{"begin":"(\\\\)\\s*$\\n?","end":"(?x)\n (?=^\\s*$)\n |\n (?! (\\s* [rR]? (\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))\n |\n (\\G $) (?# '\\G' is necessary for ST)\n )\n","patterns":[{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"}}}]},"loose_default":{"begin":"(=)","end":"(,)|(?=\\))","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"match_keyword":{"match":"^\n\\s*(match)","captures":{"1":{"name":"keyword.control.gdscript"}}},"nodepath_function":{"name":"meta.function.gdscript","contentName":"meta.function.parameters.gdscript","begin":"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(\\()","end":"(\\))","patterns":[{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]},{"include":"#expression"}],"beginCaptures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"nodepath_object":{"name":"meta.literal.nodepath.gdscript","begin":"(NodePath)\\s*(?:\\()","end":"(?:\\))","patterns":[{"name":"string.quoted.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]}],"beginCaptures":{"1":{"name":"support.class.library.gdscript"}}},"numbers":{"patterns":[{"name":"constant.numeric.integer.binary.gdscript","match":"0b[01_]+"},{"name":"constant.numeric.integer.hexadecimal.gdscript","match":"0x[0-9A-Fa-f_]+"},{"name":"constant.numeric.float.gdscript","match":"\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)\\.[0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)"},{"name":"constant.numeric.float.gdscript","match":"[0-9][0-9_]*[eE][+-]?[0-9_]+"},{"name":"constant.numeric.integer.gdscript","match":"[-]?[0-9][0-9_]*"}]},"operators":{"patterns":[{"include":"#wordlike_operator"},{"include":"#boolean_operator"},{"include":"#arithmetic_operator"},{"include":"#bitwise_operator"},{"include":"#compare_operator"}]},"parameters":{"name":"meta.function.parameters.gdscript","begin":"(\\()","end":"(\\))","patterns":[{"include":"#annotated_parameter"},{"match":"(?x)\n ([a-zA-Z_]\\w*)\n \\s* (?: (,) | (?=[)#\\n=]))\n","captures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.parameters.gdscript"}}},{"include":"#comment"},{"include":"#loose_default"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"pascal_case_class":{"name":"entity.name.type.class.gdscript","match":"\\b[A-Z]+(?:[a-z]+[A-Za-z0-9_]*)+\\b"},"region":{"name":"keyword.language.region.gdscript","match":"#(end)?region.*$\\n?"},"round_braces":{"begin":"\\(","end":"\\)","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.parenthesis.end.gdscript"}}},"signal_declaration":{"name":"meta.signal.gdscript","begin":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"((?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"signal_declaration_bare":{"name":"meta.signal.gdscript","match":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*)(?=[\\n\\s])","captures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"square_braces":{"begin":"\\[","end":"\\]","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.list.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.list.end.gdscript"}}},"statement":{"patterns":[{"include":"#extends_statement"}]},"statement_keyword":{"patterns":[{"name":"keyword.control.flow.gdscript","match":"(?x)\n \\b(?\u003c!\\.)(\n continue | assert | break | elif | else | if | pass | return | while )\\b\n"},{"name":"storage.type.class.gdscript","match":"\\b(?\u003c!\\.)(class)\\b"},{"match":"(?x)\n ^\\s*(\n case | match\n )(?=\\s*([-+\\w\\d(\\[{'\":#]|$))\\b\n","captures":{"1":{"name":"keyword.control.flow.gdscript"}}}]},"string_bracket_placeholders":{"patterns":[{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {{ | }}\n | (?:\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n ( : \\w? [\u003c\u003e=^]? [-+ ]? \\#?\n \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?\n })\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}},{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n (:)\n [^'\"{}\\n]* (?:\n \\{ [^'\"}\\n]*? \\} [^'\"{}\\n]*\n )*\n }\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}}]},"string_percent_placeholders":{"name":"meta.format.percent.gdscript","match":"(?x)\n (\n % (\\([\\w\\s]*\\))?\n [-+#0 ]*\n (\\d+|\\*)? (\\.(\\d+|\\*))?\n ([hlL])?\n [diouxXeEfFgGcrsab%]\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"}}},"strings":{"name":"string.quoted.gdscript","begin":"(r)?(\"\"\"|'''|\"|')","end":"\\2","patterns":[{"name":"constant.character.escape.gdscript","match":"\\\\."},{"include":"#string_percent_placeholders"},{"include":"#string_bracket_placeholders"}],"beginCaptures":{"1":{"name":"constant.character.escape.gdscript"}}},"variable_declaration":{"name":"meta.variable.declaration.gdscript","begin":"\\b(?:(var)|(const))\\b","end":"$|;","patterns":[{"match":"(:)?\\s*(set|get)\\s+=\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":":=|=(?!=)"},{"match":"(:)\\s*([a-zA-Z_]\\w*)?","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}}},{"match":"(setget)\\s+([a-zA-Z_]\\w*)(?:[,]\\s*([a-zA-Z_]\\w*))?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"include":"#expression"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.var.gdscript"},"2":{"name":"keyword.language.gdscript storage.type.const.gdscript"}}},"wordlike_operator":{"name":"keyword.operator.wordlike.gdscript","match":"\\b(and|or|not)\\b"}}}
1
+ {"name":"GDScript","scopeName":"source.gdscript","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated_parameter":{"begin":"(?x)\n \\s* ([a-zA-Z_]\\w*) \\s* (:)\\s* ([a-zA-Z_]\\w*)? \n","end":"(,)|(?=\\))","patterns":[{"include":"#expression"},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"}],"beginCaptures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"annotations":{"match":"(@)(abstract|export|export_category|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_file_path|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_flags_avoidance|export_global_dir|export_global_file|export_group|export_multiline|export_node_path|export_placeholder|export_range|export_storage|export_subgroup|export_tool_button|icon|onready|rpc|static_unload|tool|warning_ignore|warning_ignore_restore|warning_ignore_start)\\b","captures":{"1":{"name":"entity.name.function.decorator.gdscript"},"2":{"name":"entity.name.function.decorator.gdscript"}}},"any_method":{"name":"entity.name.function.other.gdscript","match":"\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))"},"any_property":{"match":"\\b(\\.)\\s*(?\u003c![@\\$#%])(?:([A-Z_][A-Z_0-9]*)|([A-Za-z_]\\w*))\\b(?![(])","captures":{"1":{"name":"punctuation.accessor.gdscript"},"2":{"name":"constant.language.gdscript"},"3":{"name":"variable.other.property.gdscript"}}},"any_variable":{"name":"variable.other.gdscript","match":"\\b(?\u003c![@\\$#%])([A-Za-z_]\\w*)\\b(?![(])"},"arithmetic_operator":{"name":"keyword.operator.arithmetic.gdscript","match":"-\u003e|\\+=|-=|\\*\\*=|\\*=|\\^=|/=|%=|\u0026=|~=|\\|=|\\*\\*|\\*|/|%|\\+|-"},"assignment_operator":{"name":"keyword.operator.assignment.gdscript","match":"="},"base_expression":{"patterns":[{"include":"#builtin_get_node_shorthand"},{"include":"#nodepath_object"},{"include":"#nodepath_function"},{"include":"#strings"},{"include":"#builtin_classes"},{"include":"#const_vars"},{"include":"#keywords"},{"include":"#operators"},{"include":"#lambda_declaration"},{"include":"#class_declaration"},{"include":"#variable_declaration"},{"include":"#signal_declaration_bare"},{"include":"#signal_declaration"},{"include":"#function_declaration"},{"include":"#statement_keyword"},{"include":"#assignment_operator"},{"include":"#in_keyword"},{"include":"#control_flow"},{"include":"#match_keyword"},{"include":"#curly_braces"},{"include":"#square_braces"},{"include":"#round_braces"},{"include":"#function_call"},{"include":"#region"},{"include":"#comment"},{"include":"#func"},{"include":"#letter"},{"include":"#numbers"},{"include":"#pascal_case_class"},{"include":"#line_continuation"}]},"bitwise_operator":{"name":"keyword.operator.bitwise.gdscript","match":"\u0026|\\||\u003c\u003c=|\u003e\u003e=|\u003c\u003c|\u003e\u003e|\\^|~"},"boolean_operator":{"name":"keyword.operator.boolean.gdscript","match":"(\u0026\u0026|\\|\\|)"},"builtin_classes":{"name":"entity.name.type.class.builtin.gdscript","match":"(?\u003c![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS|Variant|void)\\b"},"builtin_get_node_shorthand":{"patterns":[{"include":"#builtin_get_node_shorthand_quoted"},{"include":"#builtin_get_node_shorthand_bare"},{"include":"#builtin_get_node_shorthand_bare_multi"}]},"builtin_get_node_shorthand_bare":{"name":"meta.literal.nodepath.bare.gdscript","captures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"},"4":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_bare_multi":{"name":"meta.literal.nodepath.bare.gdscript","begin":"(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)","end":"(?!\\s*/\\s*%?\\s*[a-zA-Z_]\\w*)","patterns":[{"match":"(/)\\s*(%)?\\s*([a-zA-Z_]\\w*)\\s*","captures":{"1":{"name":"constant.character.escape.gdscript"},"2":{"name":"keyword.control.flow.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_quoted":{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(?:(\\$|%)|(\u0026|\\^|@))(\"|')","end":"(\\3)","patterns":[{"name":"keyword.control.flow","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_declaration":{"match":"(?\u003c=^class)\\s+([a-zA-Z_]\\w*)\\s*(?=:)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_enum":{"match":"\\b([A-Z][a-zA-Z_0-9]*)\\.([A-Z_0-9]+)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_is":{"match":"\\s+(is)\\s+(not?)\\s+\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"storage.type.is.gdscript"},"2":{"name":"storage.type.not.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}}},"class_name":{"match":"(?\u003c=class_name)\\s+([a-zA-Z_]\\w*(\\.([a-zA-Z_]\\w*))?)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_new":{"match":"\\b([a-zA-Z_]\\w*).(new)\\(","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"storage.type.new.gdscript"},"3":{"name":"punctuation.parenthesis.begin.gdscript"}}},"comment":{"name":"comment.line.number-sign.gdscript","match":"(##|#).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.number-sign.gdscript"}}},"compare_operator":{"name":"keyword.operator.comparison.gdscript","match":"\u003c=|\u003e=|==|\u003c|\u003e|!=|!"},"const_vars":{"name":"variable.other.constant.gdscript","match":"\\b([A-Z_][A-Z_0-9]*)\\b"},"control_flow":{"name":"keyword.control.gdscript","match":"\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\b"},"curly_braces":{"begin":"\\{","end":"\\}","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dict.end.gdscript"}}},"expression":{"patterns":[{"include":"#getter_setter_godot4"},{"include":"#base_expression"},{"include":"#assignment_operator"},{"include":"#annotations"},{"include":"#class_name"},{"include":"#builtin_classes"},{"include":"#class_new"},{"include":"#class_is"},{"include":"#class_enum"},{"include":"#any_method"},{"include":"#any_variable"},{"include":"#any_property"}]},"extends_statement":{"match":"(extends)\\s+([a-zA-Z_]\\w*\\.[a-zA-Z_]\\w*)?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.other.inherited-class.gdscript"}}},"func":{"name":"keyword.language.gdscript storage.type.function.gdscript","match":"\\bfunc\\b"},"function_arguments":{"contentName":"meta.function.parameters.gdscript","begin":"(\\()","end":"(?=\\))(?!\\)\\s*\\()","patterns":[{"name":"punctuation.separator.arguments.gdscript","match":"(,)"},{"match":"\\b([a-zA-Z_]\\w*)\\s*(=)(?!=)","captures":{"1":{"name":"variable.parameter.function-call.gdscript"},"2":{"name":"keyword.operator.assignment.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"},{"include":"#base_expression"},{"match":"\\s*(\\))\\s*(\\()","captures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"}}},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.gdscript"}}},"function_call":{"name":"meta.function-call.gdscript","begin":"(?=\\b[a-zA-Z_]\\w*\\b\\s*\\()","end":"(\\))","patterns":[{"include":"#function_name"},{"include":"#function_arguments"}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"}}},"function_declaration":{"name":"meta.function.gdscript","begin":"(?x) \\s*\n (func) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"(:)|\n","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"endCaptures":{"1":{"name":"punctuation.section.function.begin.gdscript"}}},"function_name":{"patterns":[{"include":"#builtin_classes"},{"name":"keyword.language.gdscript","match":"\\b(preload)\\b"},{"name":"entity.name.function.gdscript","match":"\\b([a-zA-Z_]\\w*)\\b"}]},"getter_setter_godot4":{"patterns":[{"name":"meta.variable.declaration.getter.gdscript","match":"(get)\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"}}},{"name":"meta.variable.declaration.setter.gdscript","match":"(set)\\s*(\\()\\s*([A-Za-z_]\\w*)\\s*(\\))\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"},"3":{"name":"variable.other.gdscript"},"4":{"name":"punctuation.definition.arguments.end.gdscript"},"5":{"name":"punctuation.separator.annotation.gdscript"}}}]},"in_keyword":{"patterns":[{"begin":"\\b(for)\\b","end":":","patterns":[{"name":"keyword.control.gdscript","match":"\\bin\\b"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"captures":{"1":{"name":"keyword.control.gdscript"}}},{"name":"keyword.operator.wordlike.gdscript","match":"\\bin\\b"}]},"keywords":{"name":"keyword.language.gdscript","match":"\\b(?:class|class_name|is|onready|tool|static|export|as|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\b"},"lambda_declaration":{"name":"meta.function.gdscript","begin":"(func)\\s?(?=\\()","end":"(:|(?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"letter":{"name":"constant.language.literal.gdscript","match":"\\b(?:true|false|null)\\b"},"line_continuation":{"patterns":[{"match":"(\\\\)\\s*(\\S.*$\\n?)","captures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"},"2":{"name":"invalid.illegal.line.continuation.gdscript"}}},{"begin":"(\\\\)\\s*$\\n?","end":"(?x)\n (?=^\\s*$)\n |\n (?! (\\s* [rR]? (\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))\n |\n (\\G $) (?# '\\G' is necessary for ST)\n )\n","patterns":[{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"}}}]},"loose_default":{"begin":"(=)","end":"(,)|(?=\\))","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"match_keyword":{"match":"(?:^|:)\\s*(match)\\b","captures":{"1":{"name":"keyword.control.flow.gdscript"}}},"nodepath_function":{"name":"meta.function.gdscript","contentName":"meta.function.parameters.gdscript","begin":"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(\\()","end":"(\\))","patterns":[{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]},{"include":"#expression"}],"beginCaptures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"nodepath_object":{"name":"meta.literal.nodepath.gdscript","begin":"(NodePath)\\s*(?:\\()","end":"(?:\\))","patterns":[{"name":"string.quoted.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]}],"beginCaptures":{"1":{"name":"support.class.library.gdscript"}}},"numbers":{"patterns":[{"name":"constant.numeric.integer.binary.gdscript","match":"0b[01_]+"},{"name":"constant.numeric.integer.hexadecimal.gdscript","match":"0x[0-9A-Fa-f_]+"},{"name":"constant.numeric.float.gdscript","match":"\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)\\.[0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)"},{"name":"constant.numeric.float.gdscript","match":"[0-9][0-9_]*[eE][+-]?[0-9_]+"},{"name":"constant.numeric.integer.gdscript","match":"[-]?[0-9][0-9_]*"}]},"operators":{"patterns":[{"include":"#wordlike_operator"},{"include":"#boolean_operator"},{"include":"#arithmetic_operator"},{"include":"#bitwise_operator"},{"include":"#compare_operator"}]},"parameters":{"name":"meta.function.parameters.gdscript","begin":"(\\()","end":"(\\))","patterns":[{"include":"#annotated_parameter"},{"match":"(?x)\n ([a-zA-Z_]\\w*)\n \\s* (?: (,) | (?=[)#\\n=]))\n","captures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.parameters.gdscript"}}},{"include":"#comment"},{"include":"#loose_default"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"pascal_case_class":{"name":"entity.name.type.class.gdscript","match":"\\b[A-Z]+(?:[a-z]+[A-Za-z0-9_]*)+\\b"},"region":{"name":"keyword.language.region.gdscript","match":"#(end)?region.*$\\n?"},"round_braces":{"begin":"\\(","end":"\\)","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.parenthesis.end.gdscript"}}},"signal_declaration":{"name":"meta.signal.gdscript","begin":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"((?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"signal_declaration_bare":{"name":"meta.signal.gdscript","match":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*)(?=[\\n\\s])","captures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"square_braces":{"begin":"\\[","end":"\\]","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.list.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.list.end.gdscript"}}},"statement":{"patterns":[{"include":"#extends_statement"}]},"statement_keyword":{"patterns":[{"name":"keyword.control.flow.gdscript","match":"(?x)\n \\b(?\u003c!\\.)(\n continue | assert | break | elif | else | if | pass | return | while )\\b\n"},{"name":"storage.type.class.gdscript","match":"\\b(?\u003c!\\.)(class)\\b"},{"match":"(?x)\n (?:^|:)\\s*(\n case | match\n )(?=\\s*([-+\\w\\d(\\[{'\":#]|$))\\b\n","captures":{"1":{"name":"keyword.control.flow.gdscript"}}}]},"string_bracket_placeholders":{"patterns":[{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {{ | }}\n | (?:\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n ( : \\w? [\u003c\u003e=^]? [-+ ]? \\#?\n \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?\n })\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}},{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n (:)\n [^'\"{}\\n]* (?:\n \\{ [^'\"}\\n]*? \\} [^'\"{}\\n]*\n )*\n }\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}}]},"string_percent_placeholders":{"name":"meta.format.percent.gdscript","match":"(?x)\n (\n % (\\([\\w\\s]*\\))?\n [-+#0 ]*\n (\\d+|\\*)? (\\.(\\d+|\\*))?\n ([hlL])?\n [diouxXeEfFgGcrsab%]\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"}}},"strings":{"name":"string.quoted.gdscript","begin":"(r)?(\"\"\"|'''|\"|')","end":"\\2","patterns":[{"name":"constant.character.escape.gdscript","match":"\\\\."},{"include":"#string_percent_placeholders"},{"include":"#string_bracket_placeholders"}],"beginCaptures":{"1":{"name":"constant.character.escape.gdscript"}}},"variable_declaration":{"name":"meta.variable.declaration.gdscript","begin":"\\b(?:(var)|(const))\\b","end":"$|;","patterns":[{"match":"(:)?\\s*(set|get)\\s+=\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":":=|=(?!=)"},{"match":"(:)\\s*([a-zA-Z_]\\w*)?","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}}},{"match":"(setget)\\s+([a-zA-Z_]\\w*)(?:[,]\\s*([a-zA-Z_]\\w*))?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"include":"#expression"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.var.gdscript"},"2":{"name":"keyword.language.gdscript storage.type.const.gdscript"}}},"wordlike_operator":{"name":"keyword.operator.wordlike.gdscript","match":"\\b(and|or|not)\\b"}}}