github-linguist 9.7.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 (152) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/documentation.markdown.injection.haxe.json +1 -1
  3. data/grammars/inline.hbs.json +1 -1
  4. data/grammars/inline.template.json +1 -1
  5. data/grammars/markdown.glimmer.codeblock.json +1 -1
  6. data/grammars/markdown.goose.codeblock.json +1 -0
  7. data/grammars/markdown.nextflow.codeblock.json +1 -0
  8. data/grammars/markdown.ocaml.codeblock.json +1 -0
  9. data/grammars/markdown.reason.codeblock.json +1 -0
  10. data/grammars/markdown.roc.codeblock.json +1 -0
  11. data/grammars/nextflow.interpolation.injection.json +1 -0
  12. data/grammars/nextflow.script.injection.json +1 -0
  13. data/grammars/source.abl.json +1 -1
  14. data/grammars/source.abnf.json +1 -1
  15. data/grammars/source.action.menhir.json +1 -0
  16. data/grammars/source.ampl.dat.json +1 -0
  17. data/grammars/source.ampl.json +1 -1
  18. data/grammars/source.apl.json +1 -1
  19. data/grammars/source.armasm.json +1 -0
  20. data/grammars/source.astylerc.json +1 -0
  21. data/grammars/source.atd.json +1 -0
  22. data/grammars/source.avisynth.json +1 -0
  23. data/grammars/source.baml.json +1 -1
  24. data/grammars/source.bbcbasic.json +1 -0
  25. data/grammars/source.bend.json +1 -0
  26. data/grammars/source.c++.json +1 -1
  27. data/grammars/source.c.json +1 -1
  28. data/grammars/source.c3.json +1 -1
  29. data/grammars/source.carbon.json +1 -1
  30. data/grammars/source.cedar.json +1 -0
  31. data/grammars/source.cj.json +1 -1
  32. data/grammars/source.clarion.json +1 -1
  33. data/grammars/source.cmake.json +1 -1
  34. data/grammars/source.cmhg.json +1 -0
  35. data/grammars/source.compact.json +1 -0
  36. data/grammars/source.cram.json +1 -0
  37. data/grammars/source.cs.json +1 -1
  38. data/grammars/source.cue.json +1 -1
  39. data/grammars/source.dart.json +1 -1
  40. data/grammars/source.dataflex.json +1 -0
  41. data/grammars/source.dax.json +1 -0
  42. data/grammars/source.ditroff.desc.json +1 -1
  43. data/grammars/source.dm.json +1 -1
  44. data/grammars/source.dml.json +1 -0
  45. data/grammars/source.dune-project.json +1 -0
  46. data/grammars/source.dune-workspace.json +1 -0
  47. data/grammars/source.dune.json +1 -1
  48. data/grammars/source.easycrypt.json +1 -0
  49. data/grammars/source.emacs.lisp.json +1 -1
  50. data/grammars/source.env-spec.json +1 -0
  51. data/grammars/source.erlang.json +1 -1
  52. data/grammars/source.ets.json +1 -0
  53. data/grammars/source.fpp.json +1 -1
  54. data/grammars/source.gjs.json +1 -1
  55. data/grammars/source.goose.json +1 -0
  56. data/grammars/source.graphql.json +1 -1
  57. data/grammars/source.gts.json +1 -1
  58. data/grammars/source.ice.json +1 -1
  59. data/grammars/source.ifc.json +1 -0
  60. data/grammars/source.indent-profile.json +1 -0
  61. data/grammars/source.jac.json +1 -1
  62. data/grammars/source.julia.console.json +1 -1
  63. data/grammars/source.kerml.json +1 -0
  64. data/grammars/source.liquidsoap.json +1 -1
  65. data/grammars/source.lsf.json +1 -0
  66. data/grammars/source.luau.json +1 -1
  67. data/grammars/source.lumscript.json +1 -0
  68. data/grammars/source.m2.json +1 -1
  69. data/grammars/source.maple.json +1 -0
  70. data/grammars/source.metafont.json +1 -0
  71. data/grammars/source.metapost.json +1 -0
  72. data/grammars/source.mo.json +1 -1
  73. data/grammars/source.moonbit.config.json +1 -1
  74. data/grammars/source.moonbit.json +1 -1
  75. data/grammars/source.nextflow-config.json +1 -0
  76. data/grammars/source.nextflow-groovy.json +1 -1
  77. data/grammars/source.nextflow-log.json +1 -0
  78. data/grammars/source.nextflow.json +1 -1
  79. data/grammars/source.nim.json +1 -1
  80. data/grammars/source.nushell.json +1 -1
  81. data/grammars/source.ocaml.META.json +1 -0
  82. data/grammars/source.ocaml.interface.json +1 -0
  83. data/grammars/source.ocaml.json +1 -1
  84. data/grammars/source.ocaml.menhir.json +1 -0
  85. data/grammars/source.ocaml.merlin.json +1 -0
  86. data/grammars/source.ocaml.mlx.json +1 -0
  87. data/grammars/source.ocaml.oasis.json +1 -0
  88. data/grammars/source.ocaml.ocamlbuild.json +1 -0
  89. data/grammars/source.ocaml.ocamldoc.json +1 -0
  90. data/grammars/source.ocaml.ocamlformat.json +1 -0
  91. data/grammars/source.ocaml.ocamllex.json +1 -0
  92. data/grammars/source.ocaml.opam-install.json +1 -0
  93. data/grammars/source.ocaml.opam.json +1 -0
  94. data/grammars/source.pkl.json +1 -1
  95. data/grammars/source.pl.json +1 -1
  96. data/grammars/source.prisma.json +1 -1
  97. data/grammars/source.quint.json +1 -1
  98. data/grammars/source.rascript.json +1 -1
  99. data/grammars/source.reason.json +1 -1
  100. data/grammars/source.roc.json +1 -1
  101. data/grammars/source.ron.json +1 -1
  102. data/grammars/source.rpgle.json +1 -1
  103. data/grammars/source.rpm-spec.json +1 -1
  104. data/grammars/source.skip.json +1 -0
  105. data/grammars/source.skript.json +1 -0
  106. data/grammars/source.slice.json +1 -1
  107. data/grammars/source.smithy.json +1 -1
  108. data/grammars/source.stim.json +1 -1
  109. data/grammars/source.surrealql.json +1 -1
  110. data/grammars/source.sysml.json +1 -0
  111. data/grammars/source.tablegen.json +1 -0
  112. data/grammars/source.tsp.json +1 -1
  113. data/grammars/source.tsq.json +1 -0
  114. data/grammars/source.tsrx.json +1 -0
  115. data/grammars/source.uiua.json +1 -0
  116. data/grammars/source.veryl.json +1 -0
  117. data/grammars/source.vespaSchema.json +1 -1
  118. data/grammars/source.vespaYQL.json +1 -0
  119. data/grammars/source.vim9.json +1 -0
  120. data/grammars/source.wdl.json +1 -1
  121. data/grammars/source.webassembly.json +1 -1
  122. data/grammars/source.wesl.json +1 -1
  123. data/grammars/text.html.cobmd.json +1 -0
  124. data/grammars/text.html.ember-handlebars.json +1 -1
  125. data/grammars/text.html.jte.json +1 -1
  126. data/grammars/text.html.markdown.json +1 -0
  127. data/grammars/text.html.pfm.json +1 -0
  128. data/grammars/text.html.ss.json +1 -0
  129. data/grammars/text.html.statamic.json +1 -1
  130. data/grammars/text.marko.json +1 -1
  131. data/grammars/text.roff.json +1 -1
  132. data/grammars/text.valve-cfg.json +1 -1
  133. data/grammars/text.vtt.json +1 -1
  134. data/grammars/version +1 -1
  135. data/lib/linguist/VERSION +1 -1
  136. data/lib/linguist/blob_helper.rb +2 -2
  137. data/lib/linguist/documentation.yml +3 -0
  138. data/lib/linguist/generated.rb +75 -8
  139. data/lib/linguist/generic.yml +2 -0
  140. data/lib/linguist/heuristics.yml +159 -57
  141. data/lib/linguist/languages.yml +382 -6
  142. data/lib/linguist/languages_data.rb +318 -16
  143. data/lib/linguist/samples_data.rb +201875 -193977
  144. data/lib/linguist/strategy/modeline.rb +0 -1
  145. data/lib/linguist/vendor.yml +3 -0
  146. metadata +65 -7
  147. data/grammars/source.camlp4.ocaml.json +0 -1
  148. data/grammars/source.ocamllex.json +0 -1
  149. data/grammars/source.ocamlyacc.json +0 -1
  150. data/grammars/source.reason.hover.type.json +0 -1
  151. data/grammars/source.scm.json +0 -1
  152. data/grammars/text.plain.json +0 -1
@@ -1 +1 @@
1
- {"name":"CUE","scopeName":"source.cue","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(package)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)(?![\\p{L}\\p{Nd}_\\$\\#])","captures":{"1":{"name":"keyword.other.package"},"2":{"name":"entity.name.namespace"}}},{"patterns":[{"name":"meta.imports","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"name":"meta.import-spec","match":"(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")","captures":{"1":{"name":"entity.name.namespace"},"2":{"name":"punctuation.definition.string.begin"},"3":{"name":"string.quoted.double-import"},"4":{"name":"punctuation.colon"},"5":{"name":"entity.name"},"6":{"name":"punctuation.definition.string.end"}}},{"name":"punctuation.separator","match":";"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"keyword.other.import"},"2":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}},{"name":"meta.import","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")","captures":{"1":{"name":"keyword.other.import"},"2":{"name":"entity.name.namespace"},"3":{"name":"punctuation.definition.string.begin"},"4":{"name":"string.quoted.double-import"},"5":{"name":"punctuation.colon"},"6":{"name":"entity.name"},"7":{"name":"punctuation.definition.string.end"}}}]},{"include":"#punctuation_comma"},{"include":"#declaration"},{"include":"#invalid_in_braces"}],"repository":{"attribute_element":{"patterns":[{"begin":"([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(=)","end":"(?=[,\\)])","patterns":[{"include":"#attribute_string"}],"beginCaptures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.bind"}}},{"begin":"([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\()","end":"\\)","patterns":[{"include":"#punctuation_comma"},{"include":"#attribute_element"}],"beginCaptures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.attribute-elements.begin"}},"endCaptures":{"0":{"name":"punctuation.attribute-elements.end"}}},{"include":"#attribute_string"}]},"attribute_string":{"patterns":[{"include":"#string"},{"name":"string.unquoted","match":"[^\\n,\"'#=\\(\\)]+"},{"name":"invalid","match":"[^,\\)]+"}]},"comment":{"patterns":[{"name":"comment.line","match":"(//).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment"}}},{"name":"comment.block","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment"}}}]},"declaration":{"patterns":[{"name":"meta.annotation","begin":"(@)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\()","end":"\\)","patterns":[{"include":"#punctuation_comma"},{"include":"#attribute_element"}],"beginCaptures":{"1":{"name":"punctuation.definition.annotation"},"2":{"name":"variable.annotation"},"3":{"name":"punctuation.attribute-elements.begin"}},"endCaptures":{"0":{"name":"punctuation.attribute-elements.end"}}},{"name":"punctuation.isa","match":"(?\u003c!:)::(?!:)"},{"include":"#punctuation_colon"},{"name":"punctuation.option","match":"\\?"},{"name":"punctuation.bind","match":"(?\u003c![=!\u003e\u003c])=(?![=~])"},{"name":"punctuation.arrow","match":"\u003c-"},{"include":"#expression"}]},"expression":{"patterns":[{"patterns":[{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(for)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?:[ \\t]*(,)[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+))?[ \\t]+(in)(?![\\p{L}\\p{Nd}_\\$\\#])","captures":{"1":{"name":"keyword.control.for"},"2":{"name":"variable.other"},"3":{"name":"punctuation.separator"},"4":{"name":"variable.other"},"5":{"name":"keyword.control.in"}}},{"name":"keyword.control.conditional","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])if(?![\\p{L}\\p{Nd}_\\$\\#])"},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(let)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*(=)(?![=])","captures":{"1":{"name":"keyword.control.let"},"2":{"name":"variable.other"},"3":{"name":"punctuation.bind"}}}]},{"patterns":[{"name":"keyword.operator","match":"[\\+\\-\\*]|/(?![/*])"},{"name":"keyword.operator.word","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:div|mod|quo|rem)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"keyword.operator.comparison","match":"=[=~]|![=~]|\u003c=|\u003e=|[\u003c](?![-=])|[\u003e](?![=])"},{"name":"keyword.operator.logical","match":"\u0026{2}|\\|{2}|!(?![=~])"},{"name":"keyword.operator.set","match":"\u0026(?!\u0026)|\\|(?!\\|)"}]},{"match":"(?\u003c!\\.)(\\.)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?![\\p{L}\\p{Nd}_\\$\\#])","captures":{"1":{"name":"punctuation.accessor"},"2":{"name":"variable.other.member"}}},{"patterns":[{"name":"constant.language.top","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])_(?!\\|)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.bottom","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])_\\|_(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.null","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])null(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.bool","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:true|false)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"patterns":[{"patterns":[{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])[0-9](?:_?[0-9])*\\.(?:[0-9](?:_?[0-9])*)?(?:[eE][\\+\\-]?[0-9](?:_?[0-9])*)?(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])[0-9](?:_?[0-9])*[eE][\\+\\-]?[0-9](?:_?[0-9])*(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])\\.[0-9](?:_?[0-9])*(?:[eE][\\+\\-]?[0-9](?:_?[0-9])*)?(?![\\p{L}\\p{Nd}_\\.])"}]},{"patterns":[{"patterns":[{"name":"constant.numeric.integer.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?[0-9])*)(?:\\.[0-9](?:_?[0-9])*)?(?:[KMGTPEYZ]i?)(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.integer.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])\\.[0-9](?:_?[0-9])*(?:[KMGTPEYZ]i?)(?![\\p{L}\\p{Nd}_\\.])"}]},{"name":"constant.numeric.integer.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?[0-9])*)(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.integer.binary","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0b[0-1](?:_?[0-1])*(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.integer.hexadecimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0[xX][0-9a-fA-F](?:_?[0-9a-fA-F])*(?![\\p{L}\\p{Nd}_\\.])"},{"name":"constant.numeric.integer.octal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0o?[0-7](?:_?[0-7])*(?![\\p{L}\\p{Nd}_\\.])"}]}]},{"include":"#string"},{"name":"support.type","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:bool|u?int(?:8|16|32|64|128)?|float(?:32|64)?|string|bytes|number|rune)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"patterns":[{"name":"meta.function-call","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(len|close|and|or)(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"support.function"},"2":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}},{"name":"meta.function-call","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)(\\.)(\\p{Lu}[\\p{L}\\p{Nd}_\\$\\#]*)(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"support.module"},"2":{"name":"punctuation"},"3":{"name":"support.function"},"4":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}}]},{"name":"variable.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:[\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"meta.struct","begin":"\\{","end":"\\}","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#punctuation_ellipsis"},{"include":"#declaration"},{"include":"#invalid_in_braces"}],"beginCaptures":{"0":{"name":"punctuation.definition.struct.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.struct.end"}}},{"name":"meta.brackets","begin":"\\[","end":"\\]","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_colon"},{"include":"#punctuation_comma"},{"include":"#punctuation_ellipsis"},{"match":"([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*(=)","captures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.alias"}}},{"include":"#expression"},{"name":"invalid","match":"[^\\]]+"}],"beginCaptures":{"0":{"name":"punctuation.section.brackets.begin"}},"endCaptures":{"0":{"name":"punctuation.section.brackets.end"}}},{"name":"meta.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}}]}]},"invalid_in_braces":{"name":"invalid","match":"[^\\}]+"},"invalid_in_parens":{"name":"invalid","match":"[^\\)]+"},"punctuation_colon":{"name":"punctuation.colon","match":"(?\u003c!:):(?!:)"},"punctuation_comma":{"name":"punctuation.separator","match":","},"punctuation_ellipsis":{"name":"punctuation.ellipsis","match":"(?\u003c!\\.)\\.{3}(?!\\.)"},"string":{"patterns":[{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"#\"\"\"","end":"\"\"\"#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:\"\"\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"#\"","end":"\"#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"#'''","end":"'''#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:'''|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"#'","end":"'#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"\"\"\"","end":"\"\"\"","patterns":[{"name":"constant.character.escape","match":"\\\\(?:\"\"\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"'''","end":"'''","patterns":[{"name":"constant.character.escape","match":"\\\\(?:'''|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.backtick","begin":"`","end":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}}]},"whitespace":{"match":"[ \\t\\r\\n]+"}}}
1
+ {"name":"CUE","scopeName":"source.cue","patterns":[{"include":"#invalid_slash"},{"include":"#whitespace"},{"include":"#comment"},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(package)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)(?![\\p{L}\\p{Nd}_\\$\\#])","captures":{"1":{"name":"keyword.other.package"},"2":{"name":"entity.name.namespace"}}},{"patterns":[{"name":"meta.imports","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"name":"meta.import-spec","match":"(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")","captures":{"1":{"name":"entity.name.namespace"},"2":{"name":"punctuation.definition.string.begin"},"3":{"name":"string.quoted.double-import"},"4":{"name":"punctuation.colon"},"5":{"name":"entity.name"},"6":{"name":"punctuation.definition.string.end"}}},{"name":"punctuation.separator","match":";"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"keyword.other.import"},"2":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}},{"name":"meta.import","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")","captures":{"1":{"name":"keyword.other.import"},"2":{"name":"entity.name.namespace"},"3":{"name":"punctuation.definition.string.begin"},"4":{"name":"string.quoted.double-import"},"5":{"name":"punctuation.colon"},"6":{"name":"entity.name"},"7":{"name":"punctuation.definition.string.end"}}}]},{"include":"#punctuation_comma"},{"include":"#declaration"},{"include":"#invalid_in_braces"}],"repository":{"alias":{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*(=)(?![=~])","captures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.alias"}}},"alias_postfix":{"match":"(~)[ \\t]*(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)|(\\()[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)(?:[ \\t]*(,)[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_))?[ \\t]*(\\)))","captures":{"1":{"name":"punctuation.alias"},"2":{"name":"variable.other"},"3":{"name":"punctuation.section.parens.begin"},"4":{"name":"variable.other"},"5":{"name":"punctuation.separator"},"6":{"name":"variable.other"},"7":{"name":"punctuation.section.parens.end"}}},"attribute":{"name":"meta.annotation","begin":"(@)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\()","end":"\\)","patterns":[{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#attribute_element"}],"beginCaptures":{"1":{"name":"punctuation.definition.annotation"},"2":{"name":"variable.annotation"},"3":{"name":"punctuation.attribute-elements.begin"}},"endCaptures":{"0":{"name":"punctuation.attribute-elements.end"}}},"attribute_element":{"patterns":[{"begin":"[ \\t]*(?\u003c![\\p{L}\\p{Nd}_\\$\\#])((?:[\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?:\\.(?:[\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+))*)[ \\t]*(=)(?!=)","end":"(?=[,\\)])","patterns":[{"include":"#comment"},{"include":"#attribute_nested"},{"include":"#attribute_string"}],"beginCaptures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.bind"}}},{"include":"#attribute_nested"},{"include":"#attribute_string"}]},"attribute_nested":{"begin":"[ \\t]*(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*)?(\\()","end":"\\)","patterns":[{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#attribute_element"}],"beginCaptures":{"1":{"name":"variable.other"},"2":{"name":"punctuation.attribute-elements.begin"}},"endCaptures":{"0":{"name":"punctuation.attribute-elements.end"}}},"attribute_string":{"patterns":[{"include":"#string"},{"name":"string.unquoted","match":"(?:[^\\n,\"'#\\(\\)/]|/(?!/)|(?\u003c!#)#++(?![\"']))+"},{"name":"invalid","match":"[^,\\)]+"}]},"comment":{"patterns":[{"name":"comment.line","match":"(//).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment"}}}]},"declaration":{"patterns":[{"name":"invalid.illegal","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])__[\\p{L}\\p{Nd}_\\$\\#]*+(?=[ \\t]*+(?:~[ \\t]*+(?:[\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_|\\([^)]*\\)))?[ \\t]*+[?!]?[ \\t]*+:(?!:))"},{"include":"#attribute"},{"include":"#alias_postfix"},{"include":"#punctuation_ellipsis"},{"include":"#punctuation_colon"},{"include":"#punctuation_option"},{"include":"#punctuation_bind"},{"include":"#expression"}]},"expression":{"patterns":[{"patterns":[{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(for)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)(?:[ \\t]*(,)[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_))?[ \\t]+(in)(?![\\p{L}\\p{Nd}_\\$\\#])(?:[ \\t]+(else|otherwise|fallback|try)(?![\\p{L}\\p{Nd}_\\$\\#]))?","captures":{"1":{"name":"keyword.control.for"},"2":{"name":"variable.other"},"3":{"name":"punctuation.separator"},"4":{"name":"variable.other"},"5":{"name":"keyword.control.in"},"6":{"name":"variable.other"}}},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(if)(?![\\p{L}\\p{Nd}_\\$\\#])(?:[ \\t]+(else|otherwise|fallback|try)(?![\\p{L}\\p{Nd}_\\$\\#]))?","captures":{"1":{"name":"keyword.control.conditional"},"2":{"name":"variable.other"}}},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(try)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+|_)[ \\t]*(=)(?![=~])","captures":{"1":{"name":"keyword.control.try"},"2":{"name":"variable.other"},"3":{"name":"punctuation.bind"}}},{"name":"keyword.control.try","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])try(?=[ \\t]*\\{|[ \\t]+(?:for|if|let|try)(?![\\p{L}\\p{Nd}_\\$\\#]))"},{"name":"keyword.control.conditional","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:else|otherwise|fallback)(?=[ \\t]*\\{)"},{"name":"keyword.function","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])func(?=[ \\t]*\\()"},{"match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(let)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*(=)(?![=])","captures":{"1":{"name":"keyword.control.let"},"2":{"name":"variable.other"},"3":{"name":"punctuation.bind"}}}]},{"patterns":[{"name":"keyword.operator.arrow","match":"-\u003e"},{"name":"keyword.operator","match":"[\\+\\-\\*]|/(?!/)"},{"name":"keyword.operator.comparison","match":"=[=~]|![=~]|\u003c=|\u003e=|[\u003c](?!=)|[\u003e](?![=])"},{"name":"keyword.operator.logical","match":"\u0026{2}|\\|{2}|!(?![=~])"},{"name":"keyword.operator.set","match":"\u0026(?!\u0026)|\\|(?!\\|)"}]},{"patterns":[{"match":"(?\u003c!\\.)(\\.)[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?![\\p{L}\\p{Nd}_\\$\\#])","captures":{"1":{"name":"punctuation.accessor"},"2":{"name":"variable.other.member"}}},{"match":"(?\u003c!\\.)(\\.)(?=[ \\t]*(?:#*\"|//|$))","captures":{"1":{"name":"punctuation.accessor"}}}]},{"patterns":[{"name":"constant.language.top","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])_(?!\\|)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.bottom","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])_\\|_(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.null","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])null(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"constant.language.bool","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:true|false)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"patterns":[{"patterns":[{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])[0-9](?:_?[0-9])*\\.(?:[0-9](?:_?[0-9])*)?(?:[eE][\\+\\-]?[0-9](?:_?[0-9])*)?(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])[0-9](?:_?[0-9])*[eE][\\+\\-]?[0-9](?:_?[0-9])*(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.float.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])\\.[0-9](?:_?[0-9])*(?:[eE][\\+\\-]?[0-9](?:_?[0-9])*)?(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"}]},{"patterns":[{"patterns":[{"name":"constant.numeric.integer.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?[0-9])*)(?:\\.[0-9](?:_?[0-9])*)?(?:[KMGTP]i?)(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.integer.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])\\.[0-9](?:_?[0-9])*(?:[KMGTP]i?)(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"}]},{"name":"constant.numeric.integer.decimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])(?:0|[1-9](?:_?[0-9])*)(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.integer.binary","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0b_?[0-1](?:_?[0-1])*(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.integer.hexadecimal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0[xX]_?[0-9a-fA-F](?:_?[0-9a-fA-F])*(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"},{"name":"constant.numeric.integer.octal","match":"(?\u003c![\\p{L}\\p{Nd}_\\.])0o_?[0-7](?:_?[0-7])*(?![\\p{L}\\p{Nd}_]|\\.(?!\\.\\.))"}]}]},{"include":"#string"},{"name":"support.type","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:bool|u?int(?:8|16|32|64|128)?|float(?:32|64)?|string|bytes|number|rune)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"variable.language.self","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:__)?self(?![\\p{L}\\p{Nd}_\\$\\#])(?![ \\t]*+(?:[?!][ \\t]*+)?:|[ \\t]*+~|[ \\t]*+=(?![=~]))"},{"patterns":[{"name":"meta.function-call","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(len|close|and|or|div|mod|quo|rem|matchN|matchIf|error|validator)(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#attribute"},{"include":"#alias_postfix"},{"include":"#punctuation_colon"},{"include":"#punctuation_option"},{"include":"#punctuation_bind"},{"include":"#punctuation_ellipsis"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"support.function"},"2":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}},{"name":"meta.function-call","begin":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\.)(\\p{Lu}[\\p{L}\\p{Nd}_\\$\\#]*)(\\()","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#attribute"},{"include":"#alias_postfix"},{"include":"#punctuation_colon"},{"include":"#punctuation_option"},{"include":"#punctuation_bind"},{"include":"#punctuation_ellipsis"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"1":{"name":"support.module"},"2":{"name":"punctuation"},"3":{"name":"support.function"},"4":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}}]},{"name":"variable.other","match":"(?\u003c![\\p{L}\\p{Nd}_\\$\\#])(?:[\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?![\\p{L}\\p{Nd}_\\$\\#])"},{"name":"meta.struct","begin":"\\{","end":"\\}","patterns":[{"include":"#invalid_slash"},{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#punctuation_ellipsis"},{"include":"#declaration"},{"include":"#invalid_in_braces"}],"beginCaptures":{"0":{"name":"punctuation.definition.struct.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.struct.end"}}},{"name":"meta.brackets","begin":"(?\u003c=^#|[^\\p{L}\\p{Nd}_\\$\\#]#)(\\[)(?:[ \\t]*+(\\.{3})(?!\\.))?","end":"\\]","patterns":[{"match":"(,)[ \\t]*+(\\.{3})(?!\\.)","captures":{"1":{"name":"punctuation.separator"},"2":{"name":"invalid.illegal"}}},{"match":"^[ \\t]*+(\\.{3})(?!\\.)","captures":{"1":{"name":"invalid.illegal"}}},{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_colon"},{"include":"#punctuation_comma"},{"include":"#punctuation_ellipsis"},{"include":"#punctuation_option"},{"include":"#alias"},{"include":"#expression"},{"include":"#invalid_in_brakets"}],"beginCaptures":{"1":{"name":"punctuation.section.brackets.begin"},"2":{"name":"invalid.illegal"}},"endCaptures":{"0":{"name":"punctuation.section.brackets.end"}}},{"name":"meta.brackets","begin":"\\[","end":"\\]","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_colon"},{"include":"#punctuation_comma"},{"include":"#punctuation_ellipsis"},{"include":"#punctuation_option"},{"include":"#alias"},{"include":"#expression"},{"include":"#invalid_in_brakets"}],"beginCaptures":{"0":{"name":"punctuation.section.brackets.begin"}},"endCaptures":{"0":{"name":"punctuation.section.brackets.end"}}},{"name":"meta.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#comment"},{"include":"#punctuation_comma"},{"include":"#attribute"},{"include":"#alias_postfix"},{"include":"#punctuation_colon"},{"include":"#punctuation_option"},{"include":"#punctuation_bind"},{"include":"#punctuation_ellipsis"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.parens.begin"}},"endCaptures":{"0":{"name":"punctuation.section.parens.end"}}}]}]},"invalid_in_braces":{"name":"invalid","match":"[^\\s\\}]"},"invalid_in_brakets":{"name":"invalid","match":"[^\\s\\]]"},"invalid_in_parens":{"name":"invalid","match":"[^\\s\\)]"},"invalid_slash":{"match":"(?\u003c=^|[\\{,:])[ \\t]*+(/)(?!/)","captures":{"1":{"name":"invalid"}}},"punctuation_bind":{"name":"punctuation.bind","match":"(?\u003c![=!\u003e\u003c])=(?![=~])"},"punctuation_colon":{"name":"punctuation.colon","match":"(?\u003c!:):(?!:)"},"punctuation_comma":{"name":"punctuation.separator","match":","},"punctuation_ellipsis":{"name":"punctuation.ellipsis","match":"(?\u003c!\\.)\\.{3}(?!\\.)"},"punctuation_option":{"name":"punctuation.option","match":"\\?"},"string":{"patterns":[{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"####\"\"\"","end":"\"\"\"####","patterns":[{"name":"constant.character.escape","match":"\\\\####(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\####(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\####\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\####$"},{"name":"invalid.illegal","match":"\\\\####."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"####\"","end":"\"####","patterns":[{"name":"constant.character.escape","match":"\\\\####(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\####(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\####\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\####."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"####'''","end":"'''####","patterns":[{"name":"constant.character.escape","match":"\\\\####(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\####(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\####\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\####$"},{"name":"invalid.illegal","match":"\\\\####."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"####'","end":"'####","patterns":[{"name":"constant.character.escape","match":"\\\\####(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\####(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\####\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\####."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"###\"\"\"","end":"\"\"\"###","patterns":[{"name":"constant.character.escape","match":"\\\\###(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\###(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\###\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\###$"},{"name":"invalid.illegal","match":"\\\\###."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"###\"","end":"\"###","patterns":[{"name":"constant.character.escape","match":"\\\\###(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\###(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\###\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\###."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"###'''","end":"'''###","patterns":[{"name":"constant.character.escape","match":"\\\\###(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\###(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\###\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\###$"},{"name":"invalid.illegal","match":"\\\\###."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"###'","end":"'###","patterns":[{"name":"constant.character.escape","match":"\\\\###(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\###(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\###\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\###."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"##\"\"\"","end":"\"\"\"##","patterns":[{"name":"constant.character.escape","match":"\\\\##(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\##(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\##\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\##$"},{"name":"invalid.illegal","match":"\\\\##."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"##\"","end":"\"##","patterns":[{"name":"constant.character.escape","match":"\\\\##(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\##(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\##\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\##."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"##'''","end":"'''##","patterns":[{"name":"constant.character.escape","match":"\\\\##(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\##(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\##\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\##$"},{"name":"invalid.illegal","match":"\\\\##."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"##'","end":"'##","patterns":[{"name":"constant.character.escape","match":"\\\\##(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\##(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\##\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\##."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"#\"\"\"","end":"\"\"\"#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\#$"},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"#\"","end":"\"#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"#'''","end":"'''#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\#$"},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"#'","end":"'#","patterns":[{"name":"constant.character.escape","match":"\\\\#(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\#(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\#\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\#."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double-multiline","begin":"\"\"\"","end":"\"\"\"","patterns":[{"name":"constant.character.escape","match":"\\\\(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\$"},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.double","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\(?:\"|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"invalid.illegal","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single-multiline","begin":"'''","end":"'''","patterns":[{"name":"constant.character.escape","match":"\\\\(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"constant.character.escape","match":"\\\\$"},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},{"name":"meta.string","contentName":"string.quoted.single","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\(?:'|/|\\\\|[abfnrtv]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"},{"name":"constant.character.escape","match":"\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2})"},{"name":"meta.interpolation","contentName":"source.cue.embedded","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#whitespace"},{"include":"#punctuation_option"},{"include":"#expression"},{"include":"#invalid_in_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end"}}},{"name":"invalid.illegal","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}}]},"whitespace":{"match":"[ \\t\\r\\n]+"}}}
@@ -1 +1 @@
1
- {"name":"Dart","scopeName":"source.dart","patterns":[{"name":"meta.preprocessor.script.dart","match":"^(#!.*)$"},{"name":"meta.declaration.dart","begin":"^\\w*\\b(augment\\s+library|library|import\\s+augment|import|part\\s+of|part|export)\\b","end":";","patterns":[{"include":"#strings"},{"include":"#comments"},{"name":"keyword.other.import.dart","match":"\\b(as|show|hide)\\b"},{"name":"keyword.control.dart","match":"\\b(if)\\b"}],"beginCaptures":{"0":{"name":"keyword.other.import.dart"}},"endCaptures":{"0":{"name":"punctuation.terminator.dart"}}},{"include":"#comments"},{"include":"#punctuation"},{"include":"#annotations"},{"include":"#keywords"},{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#operators"},{"include":"#strings"}],"repository":{"annotations":{"patterns":[{"name":"storage.type.annotation.dart","match":"@[a-zA-Z]+"}]},"class-identifier":{"patterns":[{"name":"support.class.dart","match":"(?\u003c!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)"},{"name":"storage.type.primitive.dart","match":"(?\u003c!\\$)\\bvoid\\b(?!\\$)"},{"begin":"(?\u003c![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b","end":"(?!\u003c)","patterns":[{"include":"#type-args"}],"beginCaptures":{"1":{"name":"support.class.dart"}}}]},"class-identifier-with-optional-factory-method":{"patterns":[{"match":"(?\u003c!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}}},{"match":"(?\u003c!\\$)\\b(void)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"storage.type.primitive.dart"},"2":{"name":"entity.name.function.dart"}}},{"begin":"(?\u003c![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b\\s*(factory\\b)?","end":"(?!\u003c)","patterns":[{"include":"#type-args"}],"beginCaptures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}}}]},"comments":{"patterns":[{"name":"comment.block.empty.dart","match":"/\\*\\*/","captures":{"0":{"name":"punctuation.definition.comment.dart"}}},{"include":"#comments-doc-oldschool"},{"include":"#comments-doc"},{"include":"#comments-inline"}]},"comments-block":{"patterns":[{"name":"comment.block.dart","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments-block"}]}]},"comments-doc":{"patterns":[{"name":"comment.block.documentation.dart","begin":"///","end":"^(?!\\s*///)","patterns":[{"include":"#dartdoc"}]}]},"comments-doc-oldschool":{"patterns":[{"name":"comment.block.documentation.dart","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#comments-doc-oldschool"},{"include":"#comments-block"},{"include":"#dartdoc"}]}]},"comments-inline":{"patterns":[{"include":"#comments-block"},{"match":"((//).*)$","captures":{"1":{"name":"comment.line.double-slash.dart"}}}]},"constants-and-special-vars":{"patterns":[{"name":"constant.language.dart","match":"(?\u003c!\\$)\\b(true|false|null)\\b(?!\\$)"},{"name":"variable.language.dart","match":"(?\u003c!\\$)\\b(this|super|augmented)\\b(?!\\$)"},{"name":"constant.numeric.dart","match":"(?\u003c!\\$)\\b((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(([0-9][0-9_]*\\.?[0-9_]*)|(\\.[0-9][0-9_]*))((e|E)(\\+|-)?[0-9][0-9_]*)?)\\b(?!\\$)"}]},"dartdoc":{"patterns":[{"match":"(\\[.*?\\])","captures":{"0":{"name":"variable.name.source.dart"}}},{"begin":"^\\s*///\\s*(```)","end":"^\\s*///\\s*(```)|^(?!\\s*///)","patterns":[{"include":"#dartdoc-codeblock-triple"}]},{"begin":"^\\s*\\*\\s*(```)","end":"^\\s*\\*\\s*(```)|^(?=\\s*\\*/)","patterns":[{"include":"#dartdoc-codeblock-block"}]},{"name":"variable.other.source.dart","match":"`[^`\n]+`"},{"match":"(?:\\*|\\/\\/)\\s{4,}(.*?)(?=($|\\*\\/))","captures":{"1":{"name":"variable.other.source.dart"}}}]},"dartdoc-codeblock-block":{"contentName":"variable.other.source.dart","begin":"^\\s*\\*\\s*(?!(\\s*```|/))","end":"$"},"dartdoc-codeblock-triple":{"contentName":"variable.other.source.dart","begin":"^\\s*///\\s*(?!\\s*```)","end":"$"},"expression":{"patterns":[{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#strings"},{"name":"variable.parameter.dart","match":"[a-zA-Z0-9_]+"},{"begin":"\\{","end":"\\}","patterns":[{"include":"#expression"}]}]},"function-identifier":{"patterns":[{"match":"([_$]*[a-z][a-zA-Z0-9_$]*)(\u003c(?:[a-zA-Z0-9_$\u003c\u003e?]|,\\s*|\\s+extends\\s+)+\u003e)?[!?]?\\(","captures":{"1":{"name":"entity.name.function.dart"},"2":{"patterns":[{"include":"#type-args"}]}}},{"name":"entity.name.function.dart","match":"(?\u003c=\\.)new\\b"}]},"keywords":{"patterns":[{"name":"keyword.cast.dart","match":"(?\u003c!\\$)\\bas\\b(?!\\$)"},{"name":"keyword.control.catch-exception.dart","match":"(?\u003c!\\$)\\b(try|on|catch|finally|throw|rethrow)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\b(sync(\\*)?|async(\\*)?|await|yield(\\*)?)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\bassert\\b(?!\\$)"},{"name":"keyword.new.dart","match":"(?\u003c![\\$\\.])\\b(new)\\b(?!\\$)"},{"name":"keyword.control.return.dart","match":"(?\u003c!\\$)\\b(return)\\b(?!\\$)"},{"name":"keyword.declaration.dart","match":"(?\u003c!\\$)\\b(abstract|sealed|base|interface|class|enum|extends|extension\\s+type|extension|external|factory|implements|get(?![(\u003c])|mixin|native|operator|set(?![(\u003c])|typedef|with|covariant)\\b(?!\\$)"},{"name":"storage.modifier.dart","match":"(?\u003c!\\$)\\b(macro|augment|static|final|const|required|late)\\b(?!\\$)"},{"name":"storage.type.primitive.dart","match":"(?\u003c!\\$)\\b(?:var)\\b(?!\\$)"}]},"operators":{"patterns":[{"name":"keyword.operator.dart","match":"(?\u003c!\\$)\\b(is\\!?)\\b(?!\\$)"},{"name":"keyword.operator.ternary.dart","match":"\\?|:"},{"name":"keyword.operator.bitwise.dart","match":"(\u003c\u003c|\u003e\u003e\u003e?|~|\\^|\\||\u0026)"},{"name":"keyword.operator.assignment.bitwise.dart","match":"((\u0026|\\^|\\||\u003c\u003c|\u003e\u003e\u003e?)=)"},{"name":"keyword.operator.closure.dart","match":"(=\u003e)"},{"name":"keyword.operator.comparison.dart","match":"(==|!=|\u003c=?|\u003e=?)"},{"name":"keyword.operator.assignment.arithmetic.dart","match":"(([+*/%-]|\\~)=)"},{"name":"keyword.operator.assignment.dart","match":"(=)"},{"name":"keyword.operator.increment-decrement.dart","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.dart","match":"(\\-|\\+|\\*|\\/|\\~\\/|%)"},{"name":"keyword.operator.logical.dart","match":"(!|\u0026\u0026|\\|\\|)"}]},"punctuation":{"patterns":[{"name":"punctuation.comma.dart","match":","},{"name":"punctuation.terminator.dart","match":";"},{"name":"punctuation.dot.dart","match":"\\."}]},"string-interp":{"patterns":[{"name":"meta.embedded.expression.dart","match":"\\$([a-zA-Z0-9_]+)","captures":{"1":{"name":"variable.parameter.dart"}}},{"name":"meta.embedded.expression.dart","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#expression"}]},{"name":"constant.character.escape.dart","match":"\\\\."}]},"strings":{"patterns":[{"name":"string.interpolated.triple.double.dart","begin":"(?\u003c!r)\"\"\"","end":"\"\"\"(?!\")","patterns":[{"include":"#string-interp"}]},{"name":"string.interpolated.triple.single.dart","begin":"(?\u003c!r)'''","end":"'''(?!')","patterns":[{"include":"#string-interp"}]},{"name":"string.quoted.triple.double.dart","begin":"r\"\"\"","end":"\"\"\"(?!\")"},{"name":"string.quoted.triple.single.dart","begin":"r'''","end":"'''(?!')"},{"name":"string.interpolated.double.dart","begin":"(?\u003c!\\|r)\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.double.dart","begin":"r\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"}]},{"name":"string.interpolated.single.dart","begin":"(?\u003c!\\|r)'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.single.dart","begin":"r'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"}]}]},"type-args":{"begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#class-identifier"},{"match":","},{"name":"keyword.declaration.dart","match":"extends"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"other.source.dart"}},"endCaptures":{"1":{"name":"other.source.dart"}}}}}
1
+ {"name":"Dart","scopeName":"source.dart","patterns":[{"name":"meta.preprocessor.script.dart","match":"^(#!.*)$"},{"name":"meta.declaration.dart","begin":"^\\w*\\b(augment\\s+library|library|import\\s+augment|import|part\\s+of|part|export)\\b","end":";","patterns":[{"include":"#strings"},{"include":"#comments"},{"name":"keyword.other.import.dart","match":"\\b(as|show|hide)\\b"},{"name":"keyword.control.dart","match":"\\b(if)\\b"}],"beginCaptures":{"0":{"name":"keyword.other.import.dart"}},"endCaptures":{"0":{"name":"punctuation.terminator.dart"}}},{"include":"#comments"},{"include":"#punctuation"},{"include":"#annotations"},{"include":"#keywords"},{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#operators"},{"include":"#strings"}],"repository":{"annotations":{"patterns":[{"name":"storage.type.annotation.dart","match":"@[a-zA-Z]+"}]},"class-identifier":{"patterns":[{"name":"support.class.dart","match":"(?\u003c!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)"},{"name":"storage.type.primitive.dart","match":"(?\u003c!\\$)\\bvoid\\b(?!\\$)"},{"begin":"(?\u003c![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b","end":"(?!\u003c)","patterns":[{"include":"#type-args"}],"beginCaptures":{"1":{"name":"support.class.dart"}}}]},"class-identifier-with-optional-factory-method":{"patterns":[{"match":"(?\u003c!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}}},{"match":"(?\u003c!\\$)\\b(void)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"storage.type.primitive.dart"},"2":{"name":"entity.name.function.dart"}}},{"begin":"(?\u003c![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b\\s*(factory\\b)?","end":"(?!\u003c)","patterns":[{"include":"#type-args"}],"beginCaptures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}}}]},"comments":{"patterns":[{"name":"comment.block.empty.dart","match":"/\\*\\*/","captures":{"0":{"name":"punctuation.definition.comment.dart"}}},{"include":"#comments-doc-oldschool"},{"include":"#comments-doc"},{"include":"#comments-inline"}]},"comments-block":{"patterns":[{"name":"comment.block.dart","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments-block"}]}]},"comments-doc":{"patterns":[{"name":"comment.block.documentation.dart","begin":"///","end":"^(?!\\s*///)","patterns":[{"include":"#dartdoc"}]}]},"comments-doc-oldschool":{"patterns":[{"name":"comment.block.documentation.dart","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#comments-doc-oldschool"},{"include":"#comments-block"},{"include":"#dartdoc"}]}]},"comments-inline":{"patterns":[{"include":"#comments-block"},{"match":"((//).*)$","captures":{"1":{"name":"comment.line.double-slash.dart"}}}]},"constants-and-special-vars":{"patterns":[{"name":"constant.language.dart","match":"(?\u003c!\\$)\\b(true|false|null)\\b(?!\\$)"},{"name":"variable.language.dart","match":"(?\u003c!\\$)\\b(this|super|augmented)\\b(?!\\$)"},{"name":"constant.numeric.dart","match":"(?\u003c!\\$)\\b((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(([0-9][0-9_]*\\.?[0-9_]*)|(\\.[0-9][0-9_]*))((e|E)(\\+|-)?[0-9][0-9_]*)?)\\b(?!\\$)"}]},"dartdoc":{"patterns":[{"match":"(\\[.*?\\])","captures":{"0":{"name":"variable.name.source.dart"}}},{"begin":"^\\s*///\\s*(`{3,})","end":"^\\s*///\\s*(?=\\1)`*|^(?!\\s*///)","patterns":[{"include":"#dartdoc-codeblock-triple"}]},{"begin":"^\\s*\\*\\s*(`{3,})","end":"^\\s*\\*\\s*(?=\\1)`*|^(?=\\s*\\*/)","patterns":[{"include":"#dartdoc-codeblock-block"}]},{"name":"variable.other.source.dart","match":"`[^`\n]+`"},{"match":"(?:\\*|\\/\\/)\\s{5,}(.*?)(?=($|\\*\\/))","captures":{"1":{"name":"variable.other.source.dart"}}}]},"dartdoc-codeblock-block":{"contentName":"variable.other.source.dart","begin":"^\\s*\\*\\s*","end":"$"},"dartdoc-codeblock-triple":{"contentName":"variable.other.source.dart","begin":"^\\s*///\\s*","end":"$"},"expression":{"patterns":[{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#strings"},{"name":"variable.parameter.dart","match":"[a-zA-Z0-9_]+"},{"begin":"\\{","end":"\\}","patterns":[{"include":"#expression"}]}]},"function-identifier":{"patterns":[{"match":"([_$]*[a-z][a-zA-Z0-9_$]*)(\u003c(?:[a-zA-Z0-9_$\u003c\u003e?]|,\\s*|\\s+extends\\s+)+\u003e)?[!?]?\\(","captures":{"1":{"name":"entity.name.function.dart"},"2":{"patterns":[{"include":"#type-args"}]}}},{"name":"entity.name.function.dart","match":"(?\u003c=\\.)new\\b"}]},"keywords":{"patterns":[{"name":"keyword.cast.dart","match":"(?\u003c!\\$)\\bas\\b(?!\\$)"},{"name":"keyword.control.catch-exception.dart","match":"(?\u003c!\\$)\\b(try|on|catch|finally|throw|rethrow)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\b(sync(\\*)?|async(\\*)?|await|yield(\\*)?)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?\u003c!\\$)\\bassert\\b(?!\\$)"},{"name":"keyword.new.dart","match":"(?\u003c![\\$\\.])\\b(new)\\b(?!\\$)"},{"name":"keyword.control.return.dart","match":"(?\u003c!\\$)\\b(return)\\b(?!\\$)"},{"name":"keyword.declaration.dart","match":"(?\u003c!\\$)\\b(abstract|sealed|base|interface|class|enum|extends|extension\\s+type|extension|external|factory|implements|get(?![(\u003c])|mixin|native|operator|set(?![(\u003c])|typedef|with|covariant)\\b(?!\\$)"},{"name":"storage.modifier.dart","match":"(?\u003c!\\$)\\b(macro|augment|static|final|const|required|late)\\b(?!\\$)"},{"name":"storage.type.primitive.dart","match":"(?\u003c!\\$)\\b(?:var)\\b(?!\\$)"}]},"operators":{"patterns":[{"name":"keyword.operator.dart","match":"(?\u003c!\\$)\\b(is\\!?)\\b(?!\\$)"},{"name":"keyword.operator.ternary.dart","match":"\\?|:"},{"name":"keyword.operator.bitwise.dart","match":"(\u003c\u003c|\u003e\u003e\u003e?|~|\\^|\\||\u0026)"},{"name":"keyword.operator.assignment.bitwise.dart","match":"((\u0026|\\^|\\||\u003c\u003c|\u003e\u003e\u003e?)=)"},{"name":"keyword.operator.closure.dart","match":"(=\u003e)"},{"name":"keyword.operator.comparison.dart","match":"(==|!=|\u003c=?|\u003e=?)"},{"name":"keyword.operator.assignment.arithmetic.dart","match":"(([+*/%-]|\\~)=)"},{"name":"keyword.operator.assignment.dart","match":"(=)"},{"name":"keyword.operator.increment-decrement.dart","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.dart","match":"(\\-|\\+|\\*|\\/|\\~\\/|%)"},{"name":"keyword.operator.logical.dart","match":"(!|\u0026\u0026|\\|\\|)"}]},"punctuation":{"patterns":[{"name":"punctuation.comma.dart","match":","},{"name":"punctuation.terminator.dart","match":";"},{"name":"punctuation.dot.dart","match":"\\."}]},"string-interp":{"patterns":[{"name":"meta.embedded.expression.dart","match":"\\$([a-zA-Z0-9_]+)","captures":{"1":{"name":"variable.parameter.dart"}}},{"name":"meta.embedded.expression.dart","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#expression"}]},{"name":"constant.character.escape.dart","match":"\\\\."}]},"strings":{"patterns":[{"name":"string.interpolated.triple.double.dart","begin":"(?\u003c!r)\"\"\"","end":"\"\"\"(?!\")","patterns":[{"include":"#string-interp"}]},{"name":"string.interpolated.triple.single.dart","begin":"(?\u003c!r)'''","end":"'''(?!')","patterns":[{"include":"#string-interp"}]},{"name":"string.quoted.triple.double.dart","begin":"r\"\"\"","end":"\"\"\"(?!\")"},{"name":"string.quoted.triple.single.dart","begin":"r'''","end":"'''(?!')"},{"name":"string.interpolated.double.dart","begin":"(?\u003c!\\|r)\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.double.dart","begin":"r\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"}]},{"name":"string.interpolated.single.dart","begin":"(?\u003c!\\|r)'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.single.dart","begin":"r'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"}]}]},"type-args":{"begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#class-identifier"},{"match":","},{"name":"keyword.declaration.dart","match":"extends"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"other.source.dart"}},"endCaptures":{"1":{"name":"other.source.dart"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"source.dataflex","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"#strings"},{"include":"#numbers"},{"include":"#comments"},{"include":"#constants"}],"repository":{"comments":{"patterns":[{"name":"comment.line.double-slash.dataflex","match":"(//).*$"},{"name":"comment.block.dataflex","match":"/\\*\\*/"},{"name":"comment.block.dataflex","begin":"/\\*(?!\\*)","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.dataflex","match":"(?i)(?\u003c![a-z0-9_@#$])(True|False)(?![a-z0-9_@#$])"}]},"keywords":{"patterns":[{"name":"keyword.control.structure.dataflex","match":"(?i)(?\u003c![a-z0-9_@#$])(Begin|Begin_Row|Begin_Transaction|Case Begin|Cd_Popup_Object|Class|Deferred_View|DFBeginHeader|DFCreate_Menu|Enum_List|Enumeration_List|For|For_All|Function|Object|Composite|Procedure|Procedure_Section|Repeat|Struct|Entity|While|#HEADER|End|Loop|Until|End_Row|End_Transaction|Case End|Cd_End_Object|End_Class|DFEndHeader|End_Pull_Down|End_Menu|End_Enum_List|End_Enumeration_List|End_For_All|End_Function|End_Object|End_Composite|End_Procedure|End_Struct|End_Entity|#ENDHEADER)(?![a-z0-9_@#$])"},{"name":"keyword.control.commands.dataflex","match":"(?i)(?\u003c![a-z0-9_@#$])(Abort|Abort_Transaction|Activate_View|Add|Add_Index|Add_Relation|All|AmbiguousFunctions|Append|Append_Output|Attach|Between|Break|Broadcast|Broadcast_Focus|by|ByRef|Call_Driver|CallStackDump|Case|channel|Clear|Close|Close_Input|Close_Output|CompilerWarnings|CompilerLevelWarning|Constrain|Constrained_Clear|Constrained_Find|Constraint_Set|Constraint_Validate|Copy_db|Copy_Records|CopyFile|Create_Field|Create_Index|Declare_Datafile|Decrement|Define|Delegate|Delete|Delete_db|Delete_Field|Delete_Index|Do|DFFont|DFFontSize|DFHeaderFrame|DFHeaderLineCheck|DFHeaderMargin|DFHeaderPos|DFHeaderWrap|DFLineCheck|DFTopMargin|DFBottomMargin|DFLeftMargin|DFRightMargin|DFWrite|DFWriteBMP|DFWriteEllip|DFWriteLine|DFWriteLn|DFWriteLnPos|DFWritePos|DFWriteRect|DFWriteXYLine|Direct_Input|Direct_Output|Diskfree|Else|Entry_Item|EraseFile|Error|External_Function|Field|Field_Map|File_Exist|File_Field|Fill_Field|Find|Flush_Output|for|Forward|Found|from|Function_Return|General|Get|Get_Argument_Size|Get_Attribute|Get_Channel_Position|Get_Channel_Size|Get_Current_Directory|Get_Current_Input_Channel|Get_Current_Output_Channel|Get_Current_User_Count|Get_Date_Attribute|Get_Directory|Get_Environment|Get_FieldNumber|Get_Field_Value|Get_FileNumber|Get_File_Mod_Time|Get_File_Path|Get_Icon_Count|Get_Licensed_Max_Users|Get_StrictEval|Get_Transaction_Retry|Get_Windows_Directory|GetDskInfo|Global|Global_Variable|Goto|If|IfExp|IfLine|Import_Class_Protocol|Include_Resource|Include_Text|Increment|Index|Item|Load_Def|Load_Driver|Lock|Login|Logout|Make_Directory|Make_File|Make_Temp_File|Move|NewRecord|Nothing|On_Item|On_Key|Open|Output|Output_Aux_File|Output_Wrap|Overloaded|Playwave|Print|Print_Wrap|Procedure_Return|Property|Read|Read_Block|Read_Hex|Readln|Recursive|Register_Function|Register_Object|Register_Procedure|Registration|Relate|Remove_Directory|RenameFile|Report_Breaks|Reread|Returns|Runprogram|Save|SaveRecord|Self|Send|SeqEof|SeqEol|Set|Set_Argument_Size|Set_Attribute|Set_Channel_Position|Set_Date_Attribute|Set_Directory|Set_Field_Value|Set_File_Mod_Time|Set_Relate|Set_StrictEval|Set_Transaction_Retry|Show|Showln|Sleep|Sort|Start_UI|Structure_Abort|Structure_Copy|Structure_End|Structure_Start|Subtract|Sysdate|Unicode|Unload_Driver|Unlock|Use|Include|Valid_Drive|Vconstrain|Version_Information|Vfind|Wait|WebGet|WebPublishFunction|WebPublishProcedure|WebSet|WebSetResponsive|WebRegisterPath|Write|Write_Hex|Writeln|ZeroFile|ZeroString|#COMMAND|#ENDCOMMAND|#Replace|#Include|#CHKSUB|#IF|#IFSUB|#IFDEF|#IFNDEF|#ELSE|#ENDIF|#Warning)(?![a-z0-9_@#$])"},{"name":"keyword.control.preposition.dataflex","match":"(?i)(?\u003c![a-z0-9_@#$])(to|of|is a|is an)(?![a-z0-9_@#$])"}]},"numbers":{"patterns":[{"name":"constant.numeric.decimal.dataflex","match":"(?\u003c![a-z0-9_@#$])[0-9]+(\\.[0-9]+)?"},{"name":"constant.numeric.hexadecimal.dataflex","match":"(?\u003c![a-zA-Z0-9_@#])\\$[0-9a-fA-F]+"},{"name":"constant.numeric.hexadecimal.dataflex","match":"(?\u003c![a-zA-Z0-9_@#])\\|CI\\$[0-9a-fA-F]+"}]},"strings":{"patterns":[{"name":"string.quoted.triple.dataflex","begin":"\"\"\"","end":"\"\"\""},{"name":"string.quoted.multiline.dataflex","begin":"@\"","end":"\""},{"name":"string.quoted.double.dataflex","match":"\"[^\"]*\""},{"name":"string.quoted.single.dataflex","match":"'[^']*'"}]},"types":{"patterns":[{"name":"storage.type.dataflex","match":"(?i)(?\u003c![a-z0-9_@#$])(Boolean|Date|Integer|Number|Real|RowID|String|Address|BigInt|Char|Currency|DateTime|Decimal|DWord|Float|Handle|LongPtr|Pointer|Short|Time|Timespan|UBigInt|UChar|UInteger|ULongPtr|UShort|WString|Variant)(?![a-z0-9_@#$])"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DAX","scopeName":"source.dax","patterns":[{"include":"#comment-doc"},{"include":"#comment-line"},{"include":"#comment-block"},{"include":"#literal-datetime"},{"include":"#string"},{"include":"#literal-number"},{"include":"#constant"},{"include":"#definition-function"},{"include":"#definition-var"},{"include":"#definition-mparameter"},{"include":"#statement-visual-shape"},{"include":"#statement"},{"include":"#definition-model"},{"include":"#operator-word"},{"include":"#table-constructor"},{"include":"#function-builtin"},{"include":"#function-call"},{"include":"#sort-direction"},{"include":"#enum-argument"},{"include":"#table-quoted"},{"include":"#table-unquoted"},{"include":"#column"},{"include":"#xmla-parameter"},{"include":"#operator"},{"include":"#punctuation"},{"include":"#identifier"},{"include":"#sort-direction"}],"repository":{"column":{"name":"variable.other.column.dax","begin":"\\[","end":"\\]","patterns":[{"name":"constant.character.escape.dax","match":"\\]\\]"}],"beginCaptures":{"0":{"name":"punctuation.definition.column.begin.dax"}},"endCaptures":{"0":{"name":"punctuation.definition.column.end.dax"}},"applyEndPatternLast":true},"comment-block":{"name":"comment.block.dax","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.dax"}}},"comment-doc":{"name":"comment.block.documentation.dax","begin":"(?\u003c!/)///(?!/)","end":"$","patterns":[{"match":"(@param)\\s*(\\{[^}]*\\})?\\s*(\\[?[\\p{L}_][\\p{L}\\p{N}_]*\\]?)?","captures":{"1":{"name":"storage.type.class.jsdoc"},"2":{"name":"entity.name.type.instance.jsdoc"},"3":{"name":"variable.other.jsdoc"}}},{"name":"storage.type.class.jsdoc","match":"@returns?\\b"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.dax"}}},"comment-line":{"patterns":[{"name":"comment.line.double-slash.dax","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.dax"}}},{"name":"comment.line.double-dash.dax","begin":"--","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.dax"}}}]},"constant":{"match":"(?i)\\b(TRUE|FALSE|BLANK)\\b(\\s*\\(\\s*\\))?","captures":{"1":{"name":"constant.language.dax"},"2":{"name":"constant.language.dax"}}},"definition-function":{"name":"meta.function.definition.dax","begin":"(?i)\\b(FUNCTION)\\s+([\\p{L}_][\\p{L}\\p{N}_.]*)\\s*(=)\\s*(\\()","end":"(\\))\\s*(=\u003e)","patterns":[{"include":"#comment-line"},{"include":"#comment-block"},{"name":"storage.type.dax","match":"(?i)(?\u003c=[:\\s])(ANYVAL|SCALAR|TABLE|ANYREF|CALENDARREF|COLUMNREF|MEASUREREF|TABLEREF)\\b"},{"name":"storage.type.primitive.dax","match":"(?i)\\b(BOOLEAN|DATETIME|DECIMAL|DOUBLE|INT64|NUMERIC|STRING|VARIANT)\\b"},{"name":"storage.modifier.dax","match":"(?i)\\b(VAL|EXPR)\\b"},{"name":"variable.parameter.dax","match":"\\b([\\p{L}_][\\p{L}\\p{N}_]*)\\b(?=\\s*[:,=)])"},{"name":"punctuation.separator.type.dax","match":":"},{"name":"punctuation.separator.comma.dax","match":","},{"begin":"=","end":"(?=[,)])","patterns":[{"include":"#parens"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.assignment.default.dax"}}}],"beginCaptures":{"1":{"name":"keyword.control.statement.dax"},"2":{"name":"entity.name.function.definition.dax"},"3":{"name":"keyword.operator.assignment.dax"},"4":{"name":"punctuation.definition.parameters.begin.dax"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.dax"},"2":{"name":"keyword.operator.arrow.dax"}}},"definition-model":{"patterns":[{"match":"^\\s*(\\[?[^\\[\\]:=\\n]+?\\]?)\\s*(:=)","captures":{"1":{"name":"entity.name.measure.dax"},"2":{"name":"keyword.operator.assignment.dax"}}}]},"definition-mparameter":{"match":"(?i)\\b(MPARAMETER)\\s+([\\p{L}_][\\p{L}\\p{N}_]*)?","captures":{"1":{"name":"keyword.control.statement.dax"},"2":{"name":"variable.other.declaration.dax"}}},"definition-var":{"match":"(?i)\\b(VAR)\\s+([\\p{L}_][\\p{L}\\p{N}_]*)","captures":{"1":{"name":"keyword.control.statement.dax"},"2":{"name":"variable.other.declaration.dax"}}},"enum-argument":{"match":"(?i)\\b((?:ROWPAGES|COLUMNS|ROWS)(?:\\s+(?:ROWPAGES|COLUMNS|ROWS)){0,2}|BLANKS\\s+DEFAULT|BLANKS\\s+FIRST|BLANKS\\s+LAST|ONEWAY_LEFTFILTERSRIGHT|ONEWAY_RIGHTFILTERSLEFT|MINIMALLYESCAPED|PHRASEMATCHING|FUZZYMATCHING|HIGHESTPARENT|ALPHABETICAL|LOWESTPARENT|TEXTMATCHING|ENDALIGNED|EXTENDING|UNESCAPED|ANCHORED|CALENDAR|CURRENCY|DATETIME|EXPLICIT|INFERRED|ROWPAGES|BOOLEAN|COLUMNS|DECIMAL|DEFAULT|ESCAPED|INTEGER|LOGICAL|MEASURE|PRECISE|QUARTER|VARIANT|BLANKS|COLUMN|DOUBLE|MINUTE|ONEWAY|PARENT|SECOND|STRING|DENSE|FIRST|INT64|MONTH|TABLE|BOTH|DESC|FULL|HOUR|LAST|NONE|ROWS|SELF|SKIP|TEXT|WEEK|YEAR|ABS|ASC|DAY|REL)\\b(?=\\s*[,)])","captures":{"1":{"name":"constant.language.enum.dax"}}},"function-builtin":{"match":"(?i)(?\u003c![\\p{L}\\p{N}_.])(INFO\\.GENERALSEGMENTMAPSEGMENTMETADATASTORAGES|INFO\\.ATTRIBUTEHIERARCHYSTORAGES|INFO\\.DELTATABLEMETADATASTORAGES|INFO\\.STORAGETABLECOLUMNSEGMENTS|INFO\\.RELATIONSHIPINDEXSTORAGES|INFO\\.CALENDARCOLUMNREFERENCES|INFO\\.COLUMNPARTITIONSTORAGES|INFO\\.DATACOVERAGEDEFINITIONS|INFO\\.FORMATSTRINGDEFINITIONS|SAMPLECARTESIANPOINTSBYCOVER|INFO\\.ALTERNATEOFDEFINITIONS|INFO\\.PERSPECTIVEHIERARCHIES|SELECTEDMEASUREFORMATSTRING|INFO\\.DETAILROWSDEFINITIONS|INFO\\.ATTRIBUTEHIERARCHIES|INFO\\.CALENDARCOLUMNGROUPS|INFO\\.RELATEDCOLUMNDETAILS|INFO\\.RELATIONSHIPSTORAGES|INFO\\.USERDEFINEDFUNCTIONS|SAMPLEAXISWITHLOCALMINMAX|APPROXIMATEDISTINCTCOUNT|INFO\\.PARQUETFILESTORAGES|INFO\\.PERSPECTIVEMEASURES|INFO\\.STORAGETABLECOLUMNS|INFO\\.DICTIONARYSTORAGES|INFO\\.EXTENDEDPROPERTIES|INFO\\.LINGUISTICMETADATA|INFO\\.OBJECTTRANSLATIONS|INFO\\.PERSPECTIVECOLUMNS|INFO\\.SEGMENTMAPSTORAGES|INFO\\.VIEW\\.RELATIONSHIPS|INFO\\.CALCULATIONGROUPS|INFO\\.CHANGEDPROPERTIES|INFO\\.COLUMNPERMISSIONS|INFO\\.EXCLUDEDARTIFACTS|INFO\\.HIERARCHYSTORAGES|INFO\\.PARTITIONSTORAGES|INFO\\.PERSPECTIVETABLES|CLOSINGBALANCEQUARTER|INFO\\.CALCULATIONITEMS|INFO\\.TABLEPERMISSIONS|OPENINGBALANCEQUARTER|DISTINCTCOUNTNOBLANK|GROUPCROSSAPPLYTABLE|INFO\\.REFRESHPOLICIES|INFO\\.ROLEMEMBERSHIPS|INFO\\.SEGMENTSTORAGES|NATURALLEFTOUTERJOIN|CLOSINGBALANCEMONTH|CONTAINSSTRINGEXACT|INFO\\.CALCDEPENDENCY|INFO\\.COLUMNSTORAGES|INFO\\.GROUPBYCOLUMNS|INFO\\.STORAGEFOLDERS|OPENINGBALANCEMONTH|ROLLUPADDISSUBTOTAL|SELECTEDMEASURENAME|SUBSTITUTEWITHINDEX|CLOSINGBALANCEWEEK|CLOSINGBALANCEYEAR|FIRSTNONBLANKVALUE|INFO\\.RELATIONSHIPS|INFO\\.STORAGETABLES|INFO\\.TABLESTORAGES|INFO\\.VIEW\\.MEASURES|OPENINGBALANCEWEEK|OPENINGBALANCEYEAR|SAMEPERIODLASTYEAR|ALLSELECTEDREMOVE|INFO\\.CSDLMETADATA|INFO\\.DEPENDENCIES|INFO\\.PERSPECTIVES|INFO\\.STORAGEFILES|INFO\\.VIEW\\.COLUMNS|ISSELECTEDMEASURE|LASTNONBLANKVALUE|USERPRINCIPALNAME|ALLCROSSFILTERED|ALLSELECTEDAPPLY|COLUMNSTATISTICS|INFO\\.ANNOTATIONS|INFO\\.DATASOURCES|INFO\\.EXPRESSIONS|INFO\\.HIERARCHIES|INFO\\.QUERYGROUPS|INFO\\.VIEW\\.TABLES|LOOKUPWITHTOTALS|NATURALINNERJOIN|NATURALJOINUSAGE|ROLLUPISSUBTOTAL|SUMMARIZECOLUMNS|ADDMISSINGITEMS|CONFIDENCE\\.NORM|EXTERNALMEASURE|GROUPCROSSAPPLY|INFO\\.PARTITIONS|INFO\\.PROPERTIES|INFO\\.VARIATIONS|ISCROSSFILTERED|PATHITEMREVERSE|PERCENTILEX\\.EXC|PERCENTILEX\\.INC|PREVIOUSQUARTER|SELECTEDMEASURE|USERELATIONSHIP|CALCULATETABLE|CONTAINSSTRING|EVALUATEANDLOG|GENERATESERIES|INFO\\.CALENDARS|INFO\\.FUNCTIONS|PARALLELPERIOD|PERCENTILE\\.EXC|PERCENTILE\\.INC|STARTOFQUARTER|TEXTSIMILARITY|ALLNOBLANKROW|CHISQ\\.DIST\\.RT|COMBINEVALUES|DATESINPERIOD|DISTINCTCOUNT|FILTERCLUSTER|FIRSTNONBLANK|INFO\\.CATALOGS|INFO\\.CULTURES|INFO\\.MEASURES|MOVINGAVERAGE|PREVIOUSMONTH|REMOVEFILTERS|SELECTCOLUMNS|SELECTEDVALUE|SHADOWCLUSTER|CALENDARAUTO|CHISQ\\.INV\\.RT|CONCATENATEX|CONFIDENCE\\.T|CURRENTGROUP|DATESBETWEEN|ENDOFQUARTER|HASONEFILTER|INFO\\.COLUMNS|KEYWORDMATCH|LASTNONBLANK|PATHCONTAINS|POISSON\\.DIST|PREVIOUSWEEK|PREVIOUSYEAR|RELATEDTABLE|STARTOFMONTH|TEXTCONTAINS|TOPNPERLEVEL|USEROBJECTID|ALLSELECTED|ALWAYSAPPLY|COLLAPSEALL|CONCATENATE|CONTAINSROW|CROSSFILTER|GENERATEALL|HASONEVALUE|INFO\\.LEVELS|INFO\\.TABLES|ISO\\.CEILING|ISONORAFTER|KEEPFILTERS|LOOKUPVALUE|NETWORKDAYS|NEXTQUARTER|NORM\\.S\\.DIST|PARTITIONBY|PREVIOUSDAY|RANDBETWEEN|ROLLUPGROUP|STARTOFWEEK|STARTOFYEAR|USERCULTURE|ADDCOLUMNS|CHISQ\\.DIST|COUNTBLANK|COUPDAYSNC|CUSTOMDATA|DETAILROWS|ENDOFMONTH|EXPON\\.DIST|INFO\\.MODEL|INFO\\.ROLES|ISCURRENCY|ISDATETIME|ISFILTERED|ISSUBTOTAL|NORM\\.S\\.INV|PATHLENGTH|RUNNINGSUM|SUBSTITUTE|TBILLPRICE|TBILLYIELD|ALLEXCEPT|AMORDEGRC|BETA\\.DIST|BITLSHIFT|BITRSHIFT|CALCULATE|CHISQ\\.INV|COUNTROWS|COUPDAYBS|CROSSJOIN|DATATABLE|DATEVALUE|ENDOFWEEK|ENDOFYEAR|EXPANDALL|FIRSTDATE|INFO\\.KPIS|INTERSECT|ISATLEVEL|ISBOOLEAN|ISDECIMAL|ISINSCOPE|ISINTEGER|ISLOGICAL|ISNONTEXT|ISNUMERIC|MDURATION|NEXTMONTH|NONFILTER|NONVISUAL|NORM\\.DIST|ODDFPRICE|ODDFYIELD|ODDLPRICE|ODDLYIELD|PDURATION|PRICEDISC|ROUNDDOWN|ROWNUMBER|SUMMARIZE|T\\.DIST\\.2T|T\\.DIST\\.RT|TIMEVALUE|YIELDDISC|ACCRINTM|AMORLINC|AVERAGEA|AVERAGEX|BETA\\.INV|CALENDAR|COALESCE|COLLAPSE|CONTAINS|COUPDAYS|CUMPRINC|CURRENCY|DATEDIFF|DATESMTD|DATESQTD|DATESWTD|DATESYTD|DISTINCT|DOLLARDE|DOLLARFR|DURATION|EARLIEST|GENERATE|GEOMEANX|IF\\.EAGER|ISDOUBLE|ISNUMBER|ISSTRING|LASTDATE|NEXTWEEK|NEXTYEAR|NORM\\.INV|PATHITEM|PREVIOUS|PRICEMAT|PRODUCTX|QUOTIENT|RECEIVED|STDEVX\\.P|STDEVX\\.S|T\\.INV\\.2T|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALWTD|TOTALYTD|USERNAME|UTCTODAY|YEARFRAC|YIELDMAT|ACCRINT|AVERAGE|CEILING|COMBINA|CONVERT|COUNTAX|COUPNCD|COUPNUM|COUPPCD|CUMIPMT|DATEADD|DEGREES|EARLIER|EOMONTH|FILTERS|GEOMEAN|GROUPBY|IFERROR|INTRATE|ISAFTER|ISBLANK|ISEMPTY|ISERROR|ISINT64|LINESTX|MATCHBY|MEDIANX|NEXTDAY|NOMINAL|ORDERBY|PRODUCT|QUARTER|RADIANS|RANK\\.EQ|RELATED|REPLACE|ROUNDUP|STDEV\\.P|STDEV\\.S|TABLEOF|TBILLEQ|TREATAS|UNICHAR|UNICODE|WEEKDAY|WEEKNUM|BITAND|BITXOR|COMBIN|COUNTA|COUNTX|DIVIDE|EFFECT|EXCEPT|EXPAND|FILTER|FORMAT|IGNORE|ISEVEN|ISTEXT|LINEST|LOOKUP|MEDIAN|MINUTE|MROUND|NAMEOF|OFFSET|PERMUT|ROLLUP|SAMPLE|SEARCH|SECOND|SQRTPI|SWITCH|T\\.DIST|TOJSON|UTCNOW|VALUES|VARX\\.P|VARX\\.S|WINDOW|ACOSH|ACOTH|ASINH|ATANH|BITOR|COUNT|EDATE|ERROR|EXACT|FIRST|FIXED|FLOOR|INDEX|ISODD|ISPMT|LOG10|LOWER|MONTH|POWER|PRICE|RANGE|RANKX|RIGHT|ROUND|T\\.INV|TOCSV|TODAY|TRUNC|UNION|UPPER|VALUE|VAR\\.P|VAR\\.S|YIELD|ACOS|ACOT|ASIN|ATAN|COSH|COTH|DATE|DISC|EVEN|FACT|FIND|HASH|HOUR|IPMT|LAST|LEFT|MAXA|MAXX|MINA|MINX|NEXT|NPER|PATH|PPMT|RAND|RANK|RATE|REPT|SIGN|SINH|SQRT|SUMX|TANH|TIME|TOPN|TRIM|XIRR|XNPV|YEAR|ABS|ALL|AND|COS|COT|DAY|DDB|EXP|GCD|INT|LCM|LEN|LOG|MAX|MID|MIN|MOD|NOT|NOW|ODD|PMT|ROW|RRI|SIN|SLN|SUM|SYD|TAN|VDB|DB|FV|IF|LN|OR|PI|PV)(?![\\p{L}\\p{N}_.])(?=\\s*\\()","captures":{"1":{"name":"support.function.dax"}}},"function-call":{"name":"entity.name.function.dax","match":"\\b[\\p{L}_][\\p{L}\\p{N}_.]*(?=\\s*\\()"},"identifier":{"name":"variable.other.dax","match":"\\b[\\p{L}_][\\p{L}\\p{N}_]*\\b"},"literal-datetime":{"name":"meta.literal.datetime.dax","match":"(?i)\\b(dt)(\")([^\"]*)(\")","captures":{"1":{"name":"storage.type.datetime.dax"},"2":{"name":"punctuation.definition.string.begin.dax"},"3":{"name":"constant.other.datetime.dax"},"4":{"name":"punctuation.definition.string.end.dax"}}},"literal-number":{"name":"constant.numeric.dax","match":"(?\u003c![\\p{L}\\p{N}_.])(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?(?![\\p{L}\\p{N}_])"},"operator":{"patterns":[{"name":"keyword.operator.assignment.dax","match":":="},{"name":"keyword.operator.arrow.dax","match":"=\u003e"},{"name":"keyword.operator.comparison.dax","match":"\u003c\u003e|\u003c=|\u003e=|==|=|\u003c|\u003e"},{"name":"keyword.operator.logical.dax","match":"\u0026\u0026|\\|\\|"},{"name":"keyword.operator.concatenation.dax","match":"\u0026"},{"name":"keyword.operator.arithmetic.dax","match":"[-+*/^]"}]},"operator-word":{"name":"keyword.operator.logical.word.dax","match":"(?i)\\b(IN|NOT)\\b(?!\\s*\\()"},"parens":{"begin":"\\(","end":"\\)","patterns":[{"include":"#parens"},{"include":"$self"}],"beginCaptures":{"0":{"name":"meta.brace.round.begin.dax"}},"endCaptures":{"0":{"name":"meta.brace.round.end.dax"}}},"punctuation":{"patterns":[{"name":"punctuation.accessor.dax","match":"\\.(?=\\[)"},{"name":"punctuation.separator.comma.dax","match":","},{"name":"meta.brace.round.begin.dax","match":"\\("},{"name":"meta.brace.round.end.dax","match":"\\)"},{"name":"punctuation.separator.type.dax","match":":"}]},"sort-direction":{"name":"constant.language.enum.dax","match":"(?i)\\b(ASC|DESC)\\b(?=\\s*(?:[,)]|$|BLANKS\\b))"},"statement":{"name":"keyword.control.statement.dax","match":"(?i)(?\u003c![\\p{L}\\p{N}_.])(DEFINE|EVALUATE|MEASURE|COLUMN|TABLE|VAR|RETURN|FUNCTION|MPARAMETER|ORDER\\s+BY|START\\s+AT)(?![\\p{L}\\p{N}_.])"},"statement-visual-shape":{"patterns":[{"match":"(?i)^\\s*(WITH\\s+VISUAL\\s+SHAPE|AXIS\\s+(?:ROWS|COLUMNS)|DENSIFY)\\b","captures":{"1":{"name":"keyword.control.statement.visual-shape.dax"}}},{"begin":"(?i)^\\s*(GROUP)\\b","end":"$","patterns":[{"name":"keyword.control.statement.visual-shape.dax","match":"(?i)\\b(TOTAL)\\b"},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.statement.visual-shape.dax"}}}]},"string":{"name":"string.quoted.double.dax","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.dax","match":"\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dax"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dax"}},"applyEndPatternLast":true},"table-constructor":{"name":"meta.table-constructor.dax","begin":"\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.table-constructor.begin.dax"}},"endCaptures":{"0":{"name":"punctuation.definition.table-constructor.end.dax"}}},"table-quoted":{"name":"entity.name.table.dax","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.dax","match":"''"}],"beginCaptures":{"0":{"name":"punctuation.definition.table.begin.dax"}},"endCaptures":{"0":{"name":"punctuation.definition.table.end.dax"}},"applyEndPatternLast":true},"table-unquoted":{"name":"entity.name.table.dax","match":"\\b[\\p{L}_][\\p{L}\\p{N}_]*(?=\\s*\\[)"},"xmla-parameter":{"name":"variable.parameter.xmla.dax","match":"@[\\p{L}_][\\p{L}\\p{N}_]*"}}}
@@ -1 +1 @@
1
- {"name":"Roff (Device Description)","scopeName":"source.ditroff.desc","patterns":[{"begin":"(?=^\\s*(?:fonts|res|hor|vert|unitwidth|biggestfont)(?:\\s|$))","end":"(?=A)B","patterns":[{"name":"meta.charset.ditroff.desc","begin":"^(charset)\\s*$","end":"(?=A)B","patterns":[{"include":"#comment"},{"name":"entity.name.glyph.ditroff.desc","match":"\\S+"}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},{"include":"#main"}]},{"include":"#main"}],"repository":{"charset":{"name":"meta.charset.ditroff.desc","begin":"^(charset)\\s*$","end":"^(?=kernpairs|\\s*$)","patterns":[{"name":"meta.glyph.ditroff.desc","match":"(?x) ^\n\\s* ((---)|\\S+) # Name\n\\s+ ([-\\d]+(?:,[-\\d]+){0,5}) # Metrics\n\\s+ (\\d) # Glyph type\n\\s+ (0[Xx][0-9A-Fa-f]+|\\d+) # Code\n(?:\\s+(?!--)(\\S+))? # Entity name","captures":{"1":{"name":"entity.name.glyph.ditroff.desc"},"2":{"name":"punctuation.definition.unnamed.glyph.ditroff.desc"},"3":{"patterns":[{"name":"constant.numeric.integer.ditroff.desc","match":"-?\\d+"},{"name":"punctuation.delimiter.comma.ditroff.desc","match":","}]},"4":{"name":"constant.numeric.integer.ditroff.desc"},"5":{"name":"constant.numeric.integer.ditroff.desc"},"6":{"name":"variable.other.ditroff.desc"}}},{"name":"meta.glyph.alias.ditroff.desc","match":"^\\s*(\\S+)\\s+(\")(?=\\s|$)","captures":{"1":{"name":"entity.type.var.ditroff.desc"},"2":{"name":"keyword.operator.ditroff.desc"}}},{"name":"comment.line.double-dash.ditroff.desc","begin":"(?\u003c=\\s)--(?!-)","end":"(?=$)","beginCaptures":{"0":{"name":"punctuation.definition.comment.ditroff.desc"}}},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},"comment":{"name":"comment.line.number-sign.ditroff.desc","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.ditroff.desc"}}},"fields":{"patterns":[{"name":"meta.$1-list.ditroff.desc","begin":"^\\s*(ligatures|sizes)(?=\\s)","end":"(?\u003c=\\s)0(?=\\s*$)|(?=^(?!\\s*$)(?!\\s*[\\d#]))","patterns":[{"name":"constant.numeric.range.ditroff.desc","match":"\\d+(-)\\d+","captures":{"1":{"name":"punctuation.separator.range.dash.ditroff.desc"}}},{"include":"#comment"},{"name":"constant.numeric.integer.desc","match":"\\d+"},{"name":"variable.parameter.ditroff.desc","match":"\\S{2,}"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}},"endCaptures":{"0":{"name":"punctuation.terminator.statement.ditroff.desc"}}},{"name":"meta.papersize.ditroff.desc","begin":"^\\s*(papersize)(?=\\s)","end":"(?=$|#)","patterns":[{"include":"#paperSizes"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}}},{"begin":"(?x)^\\s*\n(afmfonts|allpunct|anysize|biggestfont|broken|checksum|designsize|encoding|family\n|fonts|hor|image_generator|internalname|lc_ctype|name|orientation|paper(?:length|width)\n|pass_filenames|postpro|prepro|print|res|sizescale|slant|spacewidth|spare\\d|special\n|styles|tcommand|unicode|unitwidth|unscaled_charwidths|use_charnames_in_special|vert\n|X11|(?:lbp|pcl)[a-z]+)\n(?=\\s)","end":"(?=$|#)","patterns":[{"name":"constant.numeric.ditroff.desc","match":"-?[\\d.]+(?=\\s|$)"},{"name":"variable.parameter.ditroff.desc","match":"\\S+"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}}}]},"fontPath":{"match":"^(?:(\\w+)?\\t+)?(\\S+)\\t+(\\*)?(\\S+(?:\\.pf[ab]|[\\/]Resource[\\/]Font[\\/]\\S+))\\s*$","captures":{"1":{"name":"variable.other.foundry.ditroff.desc"},"2":{"name":"entity.name.var.ditroff.desc"},"3":{"name":"keyword.operator.globstar.ditroff.desc"},"4":{"name":"string.quoted.double.filename.ditroff.desc"}}},"foundry":{"name":"meta.foundry-data.ditroff.desc","begin":"^(#)Foundry\\|Name\\|Searchpath\\s*$","end":"(?=A)B","patterns":[{"include":"#comment"},{"match":"^([^\\s|]+)(\\|)([YN])(\\|)([rins]+)?(\\|)(?:([.\\w]*)(\\|)([.\\w]*)(?=\\|))?","captures":{"1":{"name":"entity.name.var.ditroff.desc"},"2":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"3":{"name":"constant.boolean.is-base64.ditroff.desc"},"4":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"5":{"name":"constant.language.flags.ditroff.desc"},"6":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"7":{"name":"variable.parameter.ditroff.desc"},"8":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"9":{"name":"variable.parameter.ditroff.desc"}}},{"match":"^(foundry)(\\|)(\\w*)(\\|)((\\()\\w+(\\)))?([^|#]+)","captures":{"1":{"name":"storage.type.foundry.ditroff.desc"},"2":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"3":{"name":"variable.other.foundry.ditroff.desc"},"4":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"5":{"name":"string.interpolated.ditroff.desc"},"6":{"name":"punctuation.definition.arguments.begin.ditroff.desc"},"7":{"name":"punctuation.definition.arguments.end.ditroff.desc"},"8":{"name":"string.quoted.double.filename.ditroff.desc","patterns":[{"name":"punctuation.separator.key-value.colon.ditroff.desc","match":":"}]}}},{"name":"meta.foundry-font.ditroff.desc","match":"(?\u003c=\\|)(?:([^|!]+\\.pf[ab])|([^|!]+)(!)([^|!]+\\.pf[ab]))$","captures":{"1":{"name":"string.quoted.double.filename.ditroff.desc"},"2":{"name":"variable.parameter.ditroff.desc"},"3":{"name":"punctuation.separator.fontname.ditroff.desc"},"4":{"name":"string.quoted.double.filename.ditroff.desc"}}},{"name":"meta.afmtodit-flag.ditroff.desc","match":"^([a-z])(=)(?=-)([^#]+)(?=$|#)","captures":{"1":{"name":"variable.other.ditroff.desc"},"2":{"name":"keyword.operator.assignment.ditroff.desc"},"3":{"name":"constant.other.ditroff.desc"}}},{"name":"punctuation.delimiter.pipe.ditroff.desc","match":"\\|"}],"beginCaptures":{"0":{"name":"comment.line.number-sign.ditroff.desc"},"1":{"name":"punctuation.definition.comment.ditroff.desc"}}},"kernpairs":{"name":"meta.kernpairs.ditroff.desc","begin":"^(kernpairs)\\s*$","end":"^(?=charset|\\s*$)","patterns":[{"name":"meta.kerning-pair.ditroff.desc","match":"^\\s*(\\S+)\\s+(\\S+)\\s+(-?\\d+)","captures":{"1":{"name":"entity.name.var.ditroff.desc"},"2":{"name":"entity.name.var.ditroff.desc"},"3":{"name":"constant.numeric.integer.ditroff.desc"}}}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},"main":{"patterns":[{"include":"#foundry"},{"include":"#comment"},{"include":"#charset"},{"include":"#fields"},{"include":"#kernpairs"},{"include":"#fontPath"}]},"paperSizes":{"patterns":[{"name":"support.constant.papersize.ditroff.desc","match":"(?i)(?:[A-D][0-7]|DL|letter|legal|tabloid|ledger|statement|executive|com10|monarch)(?=$|[\\s#])"},{"name":"meta.custom-papersize.ditroff.desc","match":"(?\u003c=\\s)([\\d.]+)([icpP])(,)([\\d.]+)([icpP])(?=\\s|$)","captures":{"1":{"name":"constant.numeric.ditroff.desc"},"2":{"name":"keyword.other.unit.ditroff.desc"},"3":{"name":"punctuation.delimiter.comma.ditroff.desc"},"4":{"name":"constant.numeric.ditroff.desc"},"5":{"name":"keyword.other.unit.ditroff.desc"}}}]}}}
1
+ {"name":"Roff (Device Description)","scopeName":"source.ditroff.desc","patterns":[{"begin":"(?=^\\s*(?:fonts|res|hor|vert|unitwidth|biggestfont)(?:\\s|$))","end":"(?=A)B","patterns":[{"name":"meta.charset.ditroff.desc","begin":"^(charset)\\s*$","end":"(?=A)B","patterns":[{"include":"#comment"},{"name":"entity.name.glyph.ditroff.desc","match":"\\S+"}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},{"include":"#main"}]},{"include":"#main"}],"repository":{"charset":{"name":"meta.charset.ditroff.desc","begin":"^(charset)\\s*$","end":"^(?=(?:kernpairs|charset(?:-range)?)(?:$|\\s)|\\s*$)","patterns":[{"name":"meta.glyph.ditroff.desc","match":"(?x) ^\n\\s* ((---)|\\S+) # Name\n\\s+ ([-\\d]+(?:,[-\\d]+){0,5}) # Metrics\n\\s+ (\\d) # Glyph type\n\\s+ (0[Xx][0-9A-Fa-f]+|\\d+) # Code\n(?:\\s+(?!--)(\\S+))? # Entity name","captures":{"1":{"name":"entity.name.glyph.ditroff.desc"},"2":{"name":"punctuation.definition.unnamed.glyph.ditroff.desc"},"3":{"patterns":[{"include":"#charset-metrics"}]},"4":{"patterns":[{"include":"#charset-glyph-type"}]},"5":{"name":"constant.numeric.integer.code.ditroff.desc"},"6":{"name":"variable.other.ditroff.desc"}}},{"name":"meta.glyph.alias.ditroff.desc","match":"^\\s*(\\S+)\\s+(\")(?=\\s|$)","captures":{"1":{"name":"entity.type.var.ditroff.desc"},"2":{"name":"keyword.operator.ditroff.desc"}}},{"include":"#charset-comment"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},"charset-comment":{"name":"comment.line.double-dash.ditroff.desc","begin":"(?\u003c=\\s)(?\u003c!^)--+","end":"(?=$)","beginCaptures":{"0":{"name":"punctuation.definition.comment.ditroff.desc"}}},"charset-glyph-type":{"name":"constant.numeric.integer.glyph-type.ditroff.desc","match":"(?:^|\\G)\\d(?=$|\\s)"},"charset-metrics":{"patterns":[{"name":"constant.numeric.integer.ditroff.desc","match":"-?\\d+"},{"name":"punctuation.delimiter.comma.ditroff.desc","match":","}]},"charset-range":{"name":"meta.charset-range.ditroff.desc","begin":"^(charset-range)\\s*$","end":"^(?=(?:charset(?:-range)?|kernpairs)(?:$|\\s)|\\s*$)","patterns":[{"name":"meta.glyph-range.ditroff.desc","begin":"^(u[0-9A-Fa-f]+)(\\.\\.)(u[0-9A-Fa-f]+)(?=[ \\t]|$)","end":"(?=\\s*$)","patterns":[{"match":"(?x)\n\\G \\s+([-\\d]+(?:,[-\\d]+){0,5}) # Metrics\n\\s+ (\\d) # Glyph type\n(\\s+ --+ \\s* [^\\r\\n]+?)? # Comment\n(?=\\s*$)","captures":{"1":{"patterns":[{"include":"#charset-metrics"}]},"2":{"patterns":[{"include":"#charset-glyph-type"}]},"3":{"patterns":[{"include":"#charset-comment"}]}}},{"include":"#charset-comment"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"entity.other.glyph.range.begin.ditroff.desc"},"2":{"name":"keyword.operator.punctuation.dots.splat.range.ditroff.desc"},"3":{"name":"entity.other.glyph.range.end.ditroff.desc"}}}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},"comment":{"name":"comment.line.number-sign.ditroff.desc","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.ditroff.desc"}}},"fieldArgs":{"patterns":[{"name":"constant.numeric.ditroff.desc","match":"-?[\\d.]+(?=\\s|$)"},{"name":"variable.parameter.ditroff.desc","match":"\\S+"}]},"fields":{"patterns":[{"name":"meta.$1-list.ditroff.desc","begin":"^\\s*(ligatures|sizes)(?=\\s)","end":"(?\u003c=\\s)0(?=\\s*$)|(?=^(?!\\s*$)(?!\\s*[\\d#]))","patterns":[{"name":"constant.numeric.range.ditroff.desc","match":"\\d+(-)\\d+","captures":{"1":{"name":"punctuation.separator.range.dash.ditroff.desc"}}},{"include":"#comment"},{"name":"constant.numeric.integer.desc","match":"\\d+"},{"name":"variable.parameter.ditroff.desc","match":"\\S{2,}"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}},"endCaptures":{"0":{"name":"punctuation.terminator.statement.ditroff.desc"}}},{"name":"meta.papersize.ditroff.desc","begin":"^\\s*(papersize)(?=\\s)","end":"(?=$|#)","patterns":[{"include":"#paperSizes"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}}},{"name":"meta.orientation.ditroff.desc","match":"^\\s*(orientation)(?:\\s+(landscape|portrait))?(?=$|\\s|#)","captures":{"1":{"name":"entity.type.var.ditroff.desc"},"2":{"name":"constant.language.orientation.$2.ditroff.desc"}}},{"begin":"(?x)^\\s*\n(afmfonts|allpunct|anysize|biggestfont|broken|checksum|designsize|encoding|family\n|fonts|hor|image_generator|internalname|lc_ctype|name|paper(?:length|width)\n|pass_filenames|postpro|prepro|print|res|sizescale|slant|spacewidth|spare\\d|special\n|styles|tcommand|unicode|unitwidth|unscaled_charwidths|use_charnames_in_special|vert\n|X11|(?:lbp|pcl)[a-z]+)\n(?=\\s)","end":"(?=$|#)","patterns":[{"include":"#fieldArgs"}],"beginCaptures":{"1":{"name":"entity.type.var.ditroff.desc"}}}]},"fontPath":{"match":"^(?:(\\w+)?\\t+)?(\\S+)\\t+(\\*)?(\\S+(?:\\.pf[ab]|[\\/]Resource[\\/]Font[\\/]\\S+))\\s*$","captures":{"1":{"name":"variable.other.foundry.ditroff.desc"},"2":{"name":"entity.name.var.ditroff.desc"},"3":{"name":"keyword.operator.globstar.ditroff.desc"},"4":{"name":"string.quoted.double.filename.ditroff.desc"}}},"foundry":{"name":"meta.foundry-data.ditroff.desc","begin":"^(#)Foundry\\|Name\\|Searchpath\\s*$","end":"(?=A)B","patterns":[{"include":"#comment"},{"match":"^([^\\s|]+)(\\|)([YN])(\\|)([rins]+)?(\\|)(?:([.\\w]*)(\\|)([.\\w]*)(?=\\|))?","captures":{"1":{"name":"entity.name.var.ditroff.desc"},"2":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"3":{"name":"constant.boolean.is-base64.ditroff.desc"},"4":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"5":{"name":"constant.language.flags.ditroff.desc"},"6":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"7":{"name":"variable.parameter.ditroff.desc"},"8":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"9":{"name":"variable.parameter.ditroff.desc"}}},{"match":"^(foundry)(\\|)(\\w*)(\\|)((\\()\\w+(\\)))?([^|#]+)","captures":{"1":{"name":"storage.type.foundry.ditroff.desc"},"2":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"3":{"name":"variable.other.foundry.ditroff.desc"},"4":{"name":"punctuation.delimiter.pipe.ditroff.desc"},"5":{"name":"string.interpolated.ditroff.desc"},"6":{"name":"punctuation.definition.arguments.begin.ditroff.desc"},"7":{"name":"punctuation.definition.arguments.end.ditroff.desc"},"8":{"name":"string.quoted.double.filename.ditroff.desc","patterns":[{"name":"punctuation.separator.key-value.colon.ditroff.desc","match":":"}]}}},{"name":"meta.foundry-font.ditroff.desc","match":"(?\u003c=\\|)(?:([^|!]+\\.pf[ab])|([^|!]+)(!)([^|!]+\\.pf[ab]))$","captures":{"1":{"name":"string.quoted.double.filename.ditroff.desc"},"2":{"name":"variable.parameter.ditroff.desc"},"3":{"name":"punctuation.separator.fontname.ditroff.desc"},"4":{"name":"string.quoted.double.filename.ditroff.desc"}}},{"name":"meta.afmtodit-flag.ditroff.desc","match":"^([a-z])(=)(?=-)([^#]+)(?=$|#)","captures":{"1":{"name":"variable.other.ditroff.desc"},"2":{"name":"keyword.operator.assignment.ditroff.desc"},"3":{"name":"constant.other.ditroff.desc"}}},{"name":"punctuation.delimiter.pipe.ditroff.desc","match":"\\|"}],"beginCaptures":{"0":{"name":"comment.line.number-sign.ditroff.desc"},"1":{"name":"punctuation.definition.comment.ditroff.desc"}}},"kernpairs":{"name":"meta.kernpairs.ditroff.desc","begin":"^(kernpairs)\\s*$","end":"^(?=charset|\\s*$)","patterns":[{"name":"meta.kerning-pair.ditroff.desc","match":"^\\s*(\\S+)\\s+(\\S+)\\s+(-?\\d+)","captures":{"1":{"name":"entity.name.var.ditroff.desc"},"2":{"name":"entity.name.var.ditroff.desc"},"3":{"name":"constant.numeric.integer.ditroff.desc"}}}],"beginCaptures":{"1":{"name":"keyword.control.section.ditroff.desc"}}},"main":{"patterns":[{"include":"#foundry"},{"include":"#comment"},{"include":"#charset"},{"include":"#charset-range"},{"include":"#fields"},{"include":"#kernpairs"},{"include":"#fontPath"}]},"paperSizes":{"patterns":[{"name":"support.constant.papersize.ditroff.desc","match":"(?i)(?:[A-D][0-7]|DL|letter|legal|tabloid|ledger|statement|executive|com10|monarch)(?=$|[\\s#])"},{"name":"meta.custom-papersize.ditroff.desc","match":"(?\u003c=\\s)([\\d.]+)([icpP])(,)([\\d.]+)([icpP])(?=\\s|$)","captures":{"1":{"name":"constant.numeric.ditroff.desc"},"2":{"name":"keyword.other.unit.ditroff.desc"},"3":{"name":"punctuation.delimiter.comma.ditroff.desc"},"4":{"name":"constant.numeric.ditroff.desc"},"5":{"name":"keyword.other.unit.ditroff.desc"}}}]}}}
@@ -1 +1 @@
1
- {"name":"DreamMaker","scopeName":"source.dm","patterns":[{"include":"#preprocessor-rule-enabled"},{"include":"#preprocessor-rule-disabled"},{"include":"#preprocessor-rule-other"},{"include":"#comments"},{"name":"meta.initialization.dm","match":"\\b(var)[\\/ ](?:(static|global|tmp|const)\\/)?(?:(area|atom(?:/movable)?|client|database(?:/query)?|datum|exception|generator|icon|image|list|matrix|mob|mutable_appearance|obj|particles|regex|savefile|sound|turf|world)\\/)?(?:([a-zA-Z0-9_\\-$]*)\\/)*([A-Za-z0-9_$]*)\\b","captures":{"1":{"name":"storage.type.dm"},"2":{"name":"storage.modifier.dm"},"3":{"name":"support.class.dm"},"5":{"name":"variable.other.dm"}}},{"name":"constant.numeric.dm","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},{"name":"keyword.control.dm","match":"\\b(sleep|spawn|break|continue|do|else|for|goto|if|return|switch|while|try|catch|throw)\\b"},{"name":"keyword.other.dm","match":"\\b(del|new)\\b"},{"name":"storage.type.dm","match":"\\b(proc|verb|operator)\\b"},{"name":"storage.modifier.dm","match":"\\b(as|const|global|set|static|tmp)\\b"},{"match":"(/)(area|atom(/movable)?|client|database(/query)?|datum|exception|generator|icon|image|list|matrix|mob|mutable_appearance|obj|particles|regex|savefile|sound|turf|world)\\b","captures":{"1":{"name":"keyword.operator.dm"},"2":{"name":"support.class.dm"}}},{"match":"(\\(|,)\\s*(area|atom(/movable)?|client|database(/query)?|datum|exception|generator|icon|image|list|matrix|mob|mutable_appearance|obj|particles|regex|savefile|sound|turf|world)(?=/)","captures":{"1":{"name":"keyword.operator.dm"},"2":{"name":"support.class.dm"}}},{"match":"\\b(list|call|input|locate|pick|arglist|CRASH|ASSERT|EXCEPTION|REGEX_QUOTE|REGEX_QUOTE_REPLACEMENT)(?\u003e\\s*\\()","captures":{"1":{"name":"support.function.dm"}}},{"name":"variable.language.dm","match":"\\b(usr|world|src|args|vars)\\b"},{"name":"keyword.operator.dm","match":"(\\?|(\u003e|\u003c)(=)?|\\.|:|/(=)?|~|\\+(\\+|=)?|-(-|=)?|\\*(\\*|=)?|%|\u003e\u003e|\u003c\u003c|=(=)?|!(=)?|\u003c\u003e|\u0026|\u0026\u0026|\\^|\\||\\|\\||\\b(to|in|step)\\b)"},{"name":"constant.language.dm","match":"\\b(DM_BUILD|DM_VERSION|__FILE__|__LINE__|__MAIN__|DEBUG|FILE_DIR|TRUE|FALSE)\\b"},{"name":"constant.language.dm","match":"\\b([A-Z_][A-Z_0-9]+)\\b"},{"name":"constant.language.dm","match":"\\bnull\\b"},{"name":"string.quoted.other.dm","begin":"@{\"","end":"\"}","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.unquoted.dm","begin":"@\\(([^)]+)\\)","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.quoted.other.dm","begin":"@(.)","end":"\\1|$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.interpstring.dm","begin":"({\")","end":"(\"})","patterns":[{"include":"#string_escaped_char"},{"include":"#string_embedded_expression"},{"name":"string.quoted.triple.dm","match":"."}],"beginCaptures":{"0":{"name":"string.quoted.triple.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"string.quoted.triple.dm"},"1":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.interpstring.dm","begin":"(\")","end":"(\"|[^\\\\]$)","patterns":[{"include":"#string_escaped_char"},{"include":"#string_embedded_expression"},{"name":"string.quoted.double.dm","match":"."}],"beginCaptures":{"0":{"name":"string.quoted.double.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"string.quoted.double.dm"},"1":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.quoted.single.dm","begin":"'","end":"'|[^\\\\]$","patterns":[{"name":"constant.character.escape.dm","match":"\\\\(.|\\n)"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.preprocessor.macro.dm","begin":"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?\u003cid\u003e[a-zA-Z_][a-zA-Z0-9_]*)) # macro name\n(?:\n\t(\\()\n\t\t(\n\t\t\t\\s* \\g\u003cid\u003e \\s* # first argument\n\t\t\t((,) \\s* \\g\u003cid\u003e \\s*)* # additional arguments\n\t\t\t(?:\\.\\.\\.)? # varargs ellipsis?\n\t\t)\n\t(\\))\n)","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"keyword.control.directive.define.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"entity.name.function.preprocessor.dm"},"5":{"name":"punctuation.definition.parameters.begin.dm"},"6":{"name":"variable.parameter.preprocessor.dm"},"8":{"name":"punctuation.separator.parameters.dm"},"9":{"name":"punctuation.definition.parameters.end.dm"}}},{"name":"meta.preprocessor.macro.dm","begin":"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?\u003cid\u003e[a-zA-Z_][a-zA-Z0-9_]*)) # macro name","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"keyword.control.directive.define.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"variable.other.preprocessor.dm"}}},{"name":"meta.preprocessor.diagnostic.dm","begin":"^\\s*(#\\s*(error|warn))\\b","end":"$","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"captures":{"1":{"name":"keyword.control.import.error.dm"}}},{"name":"meta.preprocessor.dm","begin":"^\\s*(?:((#)\\s*(?:elif|else|if|ifdef|ifndef))|((#)\\s*(undef|include)))\\b","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"beginCaptures":{"1":{"name":"keyword.control.directive.conditional.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"keyword.control.directive.$5.dm"},"4":{"name":"punctuation.definition.directive.dm"}}},{"include":"#block"},{"name":"meta.function.dm","begin":"(?x)\n\t\t\t\t(?: ^ # begin-of-line\n\t\t\t\t\t|\n\t\t\t\t\t\t (?: (?= \\s ) (?\u003c!else|new|return) (?\u003c=\\w) # or word + space before name\n\t\t\t\t\t\t\t | (?= \\s*[A-Za-z_] ) (?\u003c!\u0026\u0026) (?\u003c=[*\u0026\u003e]) # or type modifier before name\n\t\t\t\t\t\t )\n\t\t\t\t)\n\t\t\t\t(\\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()\n\t\t\t\t(\n\t\t\t\t\t(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name\n\t\t\t\t\t(?: (?\u003c=operator) (?: [-*\u0026\u003c\u003e=+!]+ | \\(\\) | \\[\\] ) ) # if it is a C++ operator\n\t\t\t\t)\n\t\t\t\t \\s*(?=\\()","end":"(?\u003c=\\})|(?=#)|(;)?","patterns":[{"include":"#comments"},{"include":"#parens"},{"name":"storage.modifier.dm","match":"\\bconst\\b"},{"include":"#block"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.function.leading.dm"},"3":{"name":"entity.name.function.dm"},"4":{"name":"punctuation.definition.parameters.dm"}}}],"repository":{"access":{"name":"variable.other.dot-access.dm","match":"\\.[a-zA-Z_][a-zA-Z_0-9]*\\b(?!\\s*\\()"},"block":{"name":"meta.block.dm","begin":"\\{","end":"\\}","patterns":[{"include":"#block_innards"}]},"block_innards":{"patterns":[{"include":"#preprocessor-rule-enabled-block"},{"include":"#preprocessor-rule-disabled-block"},{"include":"#preprocessor-rule-other-block"},{"include":"#access"},{"name":"meta.function-call.dm","match":"(?x) (?: (?= \\s ) (?:(?\u003c=else|new|return) | (?\u003c!\\w)) (\\s+))?\n\t\t\t(\\b\n\t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n\t\t\t)\n\t\t\t \\s*(\\()","captures":{"1":{"name":"punctuation.whitespace.function-call.leading.dm"},"2":{"name":"support.function.any-method.dm"},"3":{"name":"punctuation.definition.parameters.dm"}}},{"include":"#block"},{"include":"$base"}]},"comments":{"patterns":[{"name":"comment.block.dm","match":"^/\\* =(\\s*.*?)\\s*= \\*/$\\n?","captures":{"1":{"name":"meta.toc-list.banner.block.dm"}}},{"name":"comment.block.dm","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments"}],"captures":{"0":{"name":"punctuation.definition.comment.dm"}}},{"name":"invalid.illegal.stray-comment-end.dm","match":"\\*/.*\\n"},{"name":"comment.line.banner.dm","match":"^// =(\\s*.*?)\\s*=\\s*$\\n?","captures":{"1":{"name":"meta.toc-list.banner.line.dm"}}},{"name":"comment.line.double-slash.dm","begin":"//","end":"[^\\\\]$","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.dm"}}}]},"disabled":{"begin":"^\\s*#\\s*if(n?def)?\\b.*$","end":"^\\s*#\\s*endif\\b","patterns":[{"include":"#disabled"}]},"parens":{"name":"meta.parens.dm","begin":"\\(","end":"\\)","patterns":[{"include":"$base"}]},"preprocessor-rule-disabled":{"begin":"^\\s*(#(if)\\s+(0+|FALSE)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"name":"comment.block.preprocessor.if-branch","end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#disabled"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-disabled-block":{"begin":"^\\s*(#(if)\\s+(0+|FALSE)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"name":"comment.block.preprocessor.if-branch.in-block","end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#disabled"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-enabled":{"begin":"^\\s*(#(if)\\s+(0*1|TRUE)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#disabled"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"$base"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-enabled-block":{"begin":"^\\s*(#(if)\\s+(0*1|TRUE)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch.in-block","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#disabled"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#block_innards"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-other":{"begin":"^\\s*((#\\s*(if(n?def)?))\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*((#\\s*(endif))\\b)","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.dm"}}},"preprocessor-rule-other-block":{"begin":"^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.dm"}}},"string_embedded_expression":{"patterns":[{"name":"meta.interpolation.dm","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#string_embedded_expression_2"},{"include":"$base"}],"beginCaptures":{"0":{"name":"string.quoted.other.dm"},"1":{"name":"punctuation.definition.string.end.dm"}},"endCaptures":{"0":{"name":"string.quoted.other.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}}}]},"string_embedded_expression_2":{"begin":"(\\[)","end":"(\\])","patterns":[{"include":"#string_embedded_expression_2"},{"include":"$base"}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.dm","match":"\\\\([Tt]he|[Aa]|[Aa]n|[Hh]e|[Ss]he|[Hh]is|him|himself|herself|hers|proper|improper|th|s|(icon|ref|[Rr]oman)(?=\\[)|\\.\\.\\.|t|n|\"|\\\\|\u003c|\u003e| |\n|\\[|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{6})"},{"name":"invalid.illegal.unknown-escape.dm","match":"\\\\."}]}}}
1
+ {"name":"DreamMaker","scopeName":"source.dm","patterns":[{"include":"#preprocessor-rule-enabled"},{"include":"#preprocessor-rule-disabled"},{"include":"#preprocessor-rule-other"},{"include":"#comments"},{"name":"meta.initialization.dm","match":"\\b(var)[\\/ ](?:(static|global|tmp|const|final)\\/)?(?:(area|atom(?:/movable)?|client|database(?:/query)?|datum|exception|generator|icon|image|a?list|matrix|mob|mutable_appearance|obj|particles|pixloc|regex|savefile|sound|turf|vector|world)\\/)?(?:([a-zA-Z0-9_\\-$]*)\\/)*([A-Za-z0-9_$]*)\\b","captures":{"1":{"name":"storage.type.dm"},"2":{"name":"storage.modifier.dm"},"3":{"name":"support.class.dm"},"5":{"name":"variable.other.dm"}}},{"name":"constant.numeric.dm","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},{"name":"keyword.control.dm","match":"\\b(sleep|spawn|break|continue|do|else|for|goto|if|return|switch|while|try|catch|throw)\\b"},{"name":"keyword.other.dm","match":"\\b(del|new)\\b"},{"name":"storage.type.dm","match":"\\b(proc|verb|operator)\\b"},{"name":"storage.modifier.dm","match":"\\b(as|const|global|set|static|tmp|final)\\b"},{"match":"(/)(area|atom(/movable)?|client|database(/query)?|datum|exception|generator|icon|image|a?list|matrix|mob|mutable_appearance|obj|particles|pixloc|regex|savefile|sound|turf|vector|world)\\b","captures":{"1":{"name":"keyword.operator.dm"},"2":{"name":"support.class.dm"}}},{"match":"(\\(|,)\\s*(area|atom(/movable)?|client|database(/query)?|datum|exception|generator|icon|image|a?list|matrix|mob|mutable_appearance|obj|particles|pixloc|regex|savefile|sound|turf|vector|world)(?=/)","captures":{"1":{"name":"keyword.operator.dm"},"2":{"name":"support.class.dm"}}},{"match":"\\b(a?list|call|input|locate|pick|arglist|CRASH|ASSERT|EXCEPTION|REGEX_QUOTE|REGEX_QUOTE_REPLACEMENT)(?\u003e\\s*\\()","captures":{"1":{"name":"support.function.dm"}}},{"name":"variable.language.dm","match":"\\b(usr|world|src|args|vars)\\b"},{"name":"keyword.operator.dm","match":"(\\?|(\u003e|\u003c)(=)?|\\.|:|/(=)?|~|\\+(\\+|=)?|-(-|=)?|\\*(\\*|=)?|%|\u003e\u003e|\u003c\u003c|=(=)?|!(=)?|\u003c\u003e|\u0026|\u0026\u0026|\\^|\\||\\|\\||\\b(to|in|step)\\b)"},{"name":"constant.language.dm","match":"\\b(DM_BUILD|DM_VERSION|__FILE__|__LINE__|__MAIN__|DEBUG|FILE_DIR|TRUE|FALSE)\\b"},{"name":"constant.language.dm","match":"\\b([A-Z_][A-Z_0-9]+)\\b"},{"name":"constant.language.dm","match":"\\bnull\\b"},{"name":"string.quoted.other.dm","begin":"@{\"","end":"\"}","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.unquoted.dm","begin":"@\\(([^)]+)\\)","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.quoted.other.dm","begin":"@(.)","end":"\\1|$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.interpstring.dm","begin":"({\")","end":"(\"})","patterns":[{"include":"#string_escaped_char"},{"include":"#string_embedded_expression"},{"name":"string.quoted.triple.dm","match":"."}],"beginCaptures":{"0":{"name":"string.quoted.triple.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"string.quoted.triple.dm"},"1":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.interpstring.dm","begin":"(\")","end":"(\"|[^\\\\]$)","patterns":[{"include":"#string_escaped_char"},{"include":"#string_embedded_expression"},{"name":"string.quoted.double.dm","match":"."}],"beginCaptures":{"0":{"name":"string.quoted.double.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"string.quoted.double.dm"},"1":{"name":"punctuation.definition.string.end.dm"}}},{"name":"string.quoted.single.dm","begin":"'","end":"'|[^\\\\]$","patterns":[{"name":"constant.character.escape.dm","match":"\\\\(.|\\n)"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dm"}}},{"name":"meta.preprocessor.macro.dm","begin":"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?\u003cid\u003e[a-zA-Z_][a-zA-Z0-9_]*)) # macro name\n(?:\n\t(\\()\n\t\t(\n\t\t\t\\s* \\g\u003cid\u003e \\s* # first argument\n\t\t\t((,) \\s* \\g\u003cid\u003e \\s*)* # additional arguments\n\t\t\t(?:\\.\\.\\.)? # varargs ellipsis?\n\t\t)\n\t(\\))\n)","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"keyword.control.directive.define.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"entity.name.function.preprocessor.dm"},"5":{"name":"punctuation.definition.parameters.begin.dm"},"6":{"name":"variable.parameter.preprocessor.dm"},"8":{"name":"punctuation.separator.parameters.dm"},"9":{"name":"punctuation.definition.parameters.end.dm"}}},{"name":"meta.preprocessor.macro.dm","begin":"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?\u003cid\u003e[a-zA-Z_][a-zA-Z0-9_]*)) # macro name","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"keyword.control.directive.define.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"variable.other.preprocessor.dm"}}},{"name":"meta.preprocessor.diagnostic.dm","begin":"^\\s*(#\\s*(error|warn))\\b","end":"$","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"captures":{"1":{"name":"keyword.control.import.error.dm"}}},{"name":"meta.preprocessor.diagnostic.dm","begin":"^\\s*(#\\s*pragma)\\b","end":"$","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"captures":{"1":{"name":"keyword.control.directive.pragma.dm"}}},{"name":"meta.preprocessor.dm","begin":"^\\s*(?:((#)\\s*(?:elif|else|if|ifdef|ifndef))|((#)\\s*(undef|include)))\\b","end":"(?=(?://|/\\*))|(?\u003c!\\\\)(?=\\n)","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"beginCaptures":{"1":{"name":"keyword.control.directive.conditional.dm"},"2":{"name":"punctuation.definition.directive.dm"},"3":{"name":"keyword.control.directive.$5.dm"},"4":{"name":"punctuation.definition.directive.dm"}}},{"include":"#block"},{"name":"meta.function.dm","begin":"(?x)\n\t\t\t\t(?: ^ # begin-of-line\n\t\t\t\t\t|\n\t\t\t\t\t\t (?: (?= \\s ) (?\u003c!else|new|return) (?\u003c=\\w) # or word + space before name\n\t\t\t\t\t\t\t | (?= \\s*[A-Za-z_] ) (?\u003c!\u0026\u0026) (?\u003c=[*\u0026\u003e]) # or type modifier before name\n\t\t\t\t\t\t )\n\t\t\t\t)\n\t\t\t\t(\\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()\n\t\t\t\t(\n\t\t\t\t\t(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name\n\t\t\t\t\t(?: (?\u003c=operator) (?: [-*\u0026\u003c\u003e=+!]+ | \\(\\) | \\[\\] ) ) # if it is a C++ operator\n\t\t\t\t)\n\t\t\t\t \\s*(?=\\()","end":"(?\u003c=\\})|(?=#)|(;)?","patterns":[{"include":"#comments"},{"include":"#parens"},{"name":"storage.modifier.dm","match":"\\bconst\\b"},{"include":"#block"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.function.leading.dm"},"3":{"name":"entity.name.function.dm"},"4":{"name":"punctuation.definition.parameters.dm"}}}],"repository":{"access":{"name":"variable.other.dot-access.dm","match":"\\.[a-zA-Z_][a-zA-Z_0-9]*\\b(?!\\s*\\()"},"block":{"name":"meta.block.dm","begin":"\\{","end":"\\}","patterns":[{"include":"#block_innards"}]},"block_innards":{"patterns":[{"include":"#preprocessor-rule-enabled-block"},{"include":"#preprocessor-rule-disabled-block"},{"include":"#preprocessor-rule-other-block"},{"include":"#access"},{"name":"meta.function-call.dm","match":"(?x) (?: (?= \\s ) (?:(?\u003c=else|new|return) | (?\u003c!\\w)) (\\s+))?\n\t\t\t(\\b\n\t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n\t\t\t)\n\t\t\t \\s*(\\()","captures":{"1":{"name":"punctuation.whitespace.function-call.leading.dm"},"2":{"name":"support.function.any-method.dm"},"3":{"name":"punctuation.definition.parameters.dm"}}},{"include":"#block"},{"include":"$base"}]},"comments":{"patterns":[{"name":"comment.block.dm","match":"^/\\* =(\\s*.*?)\\s*= \\*/$\\n?","captures":{"1":{"name":"meta.toc-list.banner.block.dm"}}},{"name":"comment.block.dm","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments"}],"captures":{"0":{"name":"punctuation.definition.comment.dm"}}},{"name":"invalid.illegal.stray-comment-end.dm","match":"\\*/.*\\n"},{"name":"comment.line.banner.dm","match":"^// =(\\s*.*?)\\s*=\\s*$\\n?","captures":{"1":{"name":"meta.toc-list.banner.line.dm"}}},{"name":"comment.line.double-slash.dm","begin":"//","end":"[^\\\\]$","patterns":[{"name":"punctuation.separator.continuation.dm","match":"(?\u003e\\\\\\s*\\n)"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.dm"}}}]},"disabled":{"begin":"^\\s*#\\s*if(n?def)?\\b.*$","end":"^\\s*#\\s*endif\\b","patterns":[{"include":"#disabled"}]},"parens":{"name":"meta.parens.dm","begin":"\\(","end":"\\)","patterns":[{"include":"$base"}]},"preprocessor-rule-disabled":{"begin":"^\\s*(#(if)\\s+(0+|FALSE)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"name":"comment.block.preprocessor.if-branch","end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#disabled"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-disabled-block":{"begin":"^\\s*(#(if)\\s+(0+|FALSE)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"name":"comment.block.preprocessor.if-branch.in-block","end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#disabled"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-enabled":{"begin":"^\\s*(#(if)\\s+(0*1|TRUE)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#disabled"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"$base"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-enabled-block":{"begin":"^\\s*(#(if)\\s+(0*1|TRUE)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch.in-block","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b)","patterns":[{"include":"#disabled"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.else.dm"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b)","patterns":[{"include":"#block_innards"}]}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.if.dm"},"3":{"name":"constant.numeric.preprocessor.dm"}}},"preprocessor-rule-other":{"begin":"^\\s*((#\\s*(if(n?def)?))\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*((#\\s*(endif))\\b)","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.dm"}}},"preprocessor-rule-other-block":{"begin":"^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.dm"},"2":{"name":"keyword.control.import.dm"}}},"string_embedded_expression":{"patterns":[{"name":"meta.interpolation.dm","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#string_embedded_expression_2"},{"include":"$base"}],"beginCaptures":{"0":{"name":"string.quoted.other.dm"},"1":{"name":"punctuation.definition.string.end.dm"}},"endCaptures":{"0":{"name":"string.quoted.other.dm"},"1":{"name":"punctuation.definition.string.begin.dm"}}}]},"string_embedded_expression_2":{"begin":"(\\[)","end":"(\\])","patterns":[{"include":"#string_embedded_expression_2"},{"include":"$base"}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.dm","match":"\\\\([Tt]he|[Aa]|[Aa]n|[Hh]e|[Ss]he|[Hh]is|him|himself|herself|hers|proper|improper|th|s|(icon|ref|[Rr]oman)(?=\\[)|\\.\\.\\.|t|n|\"|\\\\|\u003c|\u003e| |\n|\\[|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{6})"},{"name":"invalid.illegal.unknown-escape.dm","match":"\\\\."}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Dml","scopeName":"source.dml","patterns":[{"include":"#preprocessor-rule-enabled"},{"include":"#preprocessor-rule-disabled"},{"include":"#preprocessor-rule-other"},{"include":"#comments"},{"name":"keyword.control.c","match":"\\b(break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|foreach|select|where)\\b"},{"name":"storage.type.c","match":"\\b(asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\b"},{"name":"storage.modifier.c","match":"\\b(const|extern|bank|register|field|restrict|static|volatile|layout|bitfields)\\b"},{"name":"keyword.control.dml","match":"\\b(#if|#else|connect|constant|device|dml|bank|bitorder|param|import|interface|loggroup|log|local|template|is|implement|method|independent|memoized|saved|startup|inline|event|attribute|throw|try|catch|nothrow|delete|group|port|size|sizeoftype|shared|#select|%header|%footer|subdevice|then|provisional)\\b"},{"name":"keyword.cast.types.dml","match":"\\b[a-zA-Z_][0-9a-zA-Z_]*_t\\b"},{"name":"constant.other.variable.mac-classic.c","match":"\\bk[A-Z]\\w*\\b"},{"name":"variable.other.readwrite.global.mac-classic.c","match":"\\bg[A-Z]\\w*\\b"},{"name":"variable.other.readwrite.static.mac-classic.c","match":"\\bs[A-Z]\\w*\\b"},{"name":"constant.language.c","match":"\\b(NULL|true|false|TRUE|FALSE)\\b"},{"name":"constant.language.c","match":"\\b(this)\\b"},{"include":"#sizeof"},{"name":"constant.numeric.c","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{"name":"constant.numeric.dml","match":"\\b(0(b|B)[0-1]+)\\b"},{"name":"string.quoted.double.c","begin":"\"","end":"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_placeholder"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}}},{"name":"string.quoted.single.c","begin":"'","end":"'","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}}},{"name":"meta.preprocessor.macro.c","begin":"(?x)\n \t\t^\\s*\\#\\s*(define)\\s+ # define\n \t\t((?\u003cid\u003e[a-zA-Z_][a-zA-Z0-9_]*)) # macro name\n \t\t(?: # and optionally:\n \t\t (\\() # an open parenthesis\n \t\t (\n \t\t \\s* \\g\u003cid\u003e \\s* # first argument\n \t\t ((,) \\s* \\g\u003cid\u003e \\s*)* # additional arguments\n \t\t (?:\\.\\.\\.)? # varargs ellipsis?\n \t\t )\n \t\t (\\)) # a close parenthesis\n \t\t)?\n \t","end":"(?=(?://|/\\*))|$","patterns":[{"name":"punctuation.separator.continuation.c","match":"(?\u003e\\\\\\s*\\n)"},{"include":"$base"}],"beginCaptures":{"1":{"name":"keyword.control.import.define.c"},"2":{"name":"entity.name.function.preprocessor.c"},"4":{"name":"punctuation.definition.parameters.c"},"5":{"name":"variable.parameter.preprocessor.c"},"7":{"name":"punctuation.separator.parameters.c"},"8":{"name":"punctuation.definition.parameters.c"}}},{"name":"meta.preprocessor.diagnostic.c","begin":"^\\s*#\\s*(error|warning)\\b","end":"$","patterns":[{"name":"punctuation.separator.continuation.c","match":"(?\u003e\\\\\\s*\\n)"}],"captures":{"1":{"name":"keyword.control.import.error.c"}}},{"name":"meta.preprocessor.c.include","begin":"^\\s*#\\s*(include|import)\\b\\s+","end":"(?=(?://|/\\*))|$","patterns":[{"name":"punctuation.separator.continuation.c","match":"(?\u003e\\\\\\s*\\n)"},{"name":"string.quoted.double.include.c","begin":"\"","end":"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}}},{"name":"string.quoted.other.lt-gt.include.c","begin":"\u003c","end":"\u003e","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.c"}}}],"captures":{"1":{"name":"keyword.control.import.include.c"}}},{"include":"#pragma-mark"},{"name":"meta.preprocessor.c","begin":"^\\s*#\\s*(define|defined|elif|else|if|ifdef|ifndef|line|pragma|undef)\\b","end":"(?=(?://|/\\*))|$","patterns":[{"name":"punctuation.separator.continuation.c","match":"(?\u003e\\\\\\s*\\n)"}],"captures":{"1":{"name":"keyword.control.import.c"}}},{"name":"support.type.sys-types.c","match":"\\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\\b"},{"name":"support.type.pthread.c","match":"\\b(pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t)\\b"},{"name":"support.type.stdint.c","match":"\\b(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t)\\b"},{"name":"keyword.type.stdint.dml","match":"\\b([u]?int([0-9]|[1-5][0-9]|6[0-4]))\\b"},{"name":"support.type.stdint.dml","match":"\\b([u]?int(8|16|24|32|40|48|56|64)_(be|le)_t)\\b"},{"name":"support.constant.mac-classic.c","match":"\\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\\b"},{"name":"support.type.mac-classic.c","match":"\\b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\\b"},{"include":"#block"},{"name":"meta.function.c","begin":"(?x)\n \t\t(?: ^ # begin-of-line\n \t\t |\n \t\t (?: (?= \\s ) (?\u003c!else|new|return) (?\u003c=\\w) # or word + space before name\n \t\t | (?= \\s*[A-Za-z_] ) (?\u003c!\u0026\u0026) (?\u003c=[*\u0026\u003e]) # or type modifier before name\n \t\t )\n \t\t)\n \t\t(\\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()\n \t\t(\n \t\t\t(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name\n \t\t\t(?: (?\u003c=operator) (?: [-*\u0026\u003c\u003e=+!]+ | \\(\\) | \\[\\] ) ) # if it is a C++ operator\n \t\t)\n \t\t \\s*(?=\\()","end":"(?\u003c=\\})|(?=#)|(;)","patterns":[{"include":"#comments"},{"include":"#parens"},{"name":"storage.modifier.c","match":"\\bconst\\b"},{"include":"#block"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.function.leading.c"},"3":{"name":"entity.name.function.c"},"4":{"name":"punctuation.definition.parameters.c"}}}],"repository":{"access":{"name":"variable.other.dot-access.c","match":"\\.[a-zA-Z_][a-zA-Z_0-9]*\\b(?!\\s*\\()"},"block":{"name":"meta.block.c","begin":"\\{","end":"\\}","patterns":[{"include":"#block_innards"}]},"block_innards":{"patterns":[{"include":"#preprocessor-rule-enabled-block"},{"include":"#preprocessor-rule-disabled-block"},{"include":"#preprocessor-rule-other-block"},{"include":"#sizeof"},{"include":"#access"},{"match":"(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b","captures":{"1":{"name":"punctuation.whitespace.support.function.leading.c"},"2":{"name":"support.function.C99.c"}}},{"name":"meta.function-call.c","match":"(?x) (?: (?= \\s ) (?:(?\u003c=else|new|return) | (?\u003c!\\w)) (\\s+))?\n\t\t\t(\\b\n\t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n\t\t\t)\n\t\t\t \\s*(\\()","captures":{"1":{"name":"punctuation.whitespace.function-call.leading.c"},"2":{"name":"support.function.any-method.c"},"3":{"name":"punctuation.definition.parameters.c"}}},{"name":"meta.initialization.c","match":"(?x)\n\t\t\t (?x)\n\t\t\t(?:\n\t\t\t (?: (?= \\s ) (?\u003c!else|new|return) (?\u003c=\\w)\\s+ # or word + space before name\n\t\t\t )\n\t\t\t)\n\t\t\t(\n\t\t\t\t(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name\n\t\t\t\t(?: (?\u003c=operator) (?: [-*\u0026\u003c\u003e=+!]+ | \\(\\) | \\[\\] ) )? # if it is a C++ operator\n\t\t\t)\n\t\t\t \\s*(\\()","captures":{"1":{"name":"variable.other.c"},"2":{"name":"punctuation.definition.parameters.c"}}},{"include":"#block"},{"include":"$base"}]},"comments":{"patterns":[{"name":"comment.block.c","match":"^/\\* =(\\s*.*?)\\s*= \\*/$\\n?","captures":{"1":{"name":"meta.toc-list.banner.block.c"}}},{"name":"comment.block.c","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.c"}}},{"name":"invalid.illegal.stray-comment-end.c","match":"\\*/.*\\n"},{"name":"comment.line.banner.c++","match":"^// =(\\s*.*?)\\s*=\\s*$\\n?","captures":{"1":{"name":"meta.toc-list.banner.line.c"}}},{"name":"comment.line.double-slash.c++","begin":"//","end":"$\\n?","patterns":[{"name":"punctuation.separator.continuation.c++","match":"(?\u003e\\\\\\s*\\n)"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.c"}}}]},"disabled":{"begin":"^\\s*#\\s*if(n?def)?\\b.*$","end":"^\\s*#\\s*endif\\b.*$","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]},"parens":{"name":"meta.parens.c","begin":"\\(","end":"\\)","patterns":[{"include":"$base"}]},"pragma-mark":{"name":"meta.section","match":"^\\s*(#\\s*(pragma\\s+mark)\\s+(.*))","captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.pragma.c"},"3":{"name":"meta.toc-list.pragma-mark.c"}}},"preprocessor-rule-disabled":{"begin":"^\\s*(#(if)\\s+(0)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b.*$)","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.else.c"}}},{"name":"comment.block.preprocessor.if-branch","end":"(?=^\\s*#\\s*(else|endif)\\b.*$)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.if.c"},"3":{"name":"constant.numeric.preprocessor.c"}}},"preprocessor-rule-disabled-block":{"begin":"^\\s*(#(if)\\s+(0)\\b).*","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"begin":"^\\s*(#\\s*(else)\\b)","end":"(?=^\\s*#\\s*endif\\b.*$)","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.else.c"}}},{"name":"comment.block.preprocessor.if-branch.in-block","end":"(?=^\\s*#\\s*(else|endif)\\b.*$)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}]}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.if.c"},"3":{"name":"constant.numeric.preprocessor.c"}}},"preprocessor-rule-enabled":{"begin":"^\\s*(#(if)\\s+(0*1)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b.*$)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.else.c"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b.*$)","patterns":[{"include":"$base"}]}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.if.c"},"3":{"name":"constant.numeric.preprocessor.c"}}},"preprocessor-rule-enabled-block":{"begin":"^\\s*(#(if)\\s+(0*1)\\b)","end":"^\\s*(#\\s*(endif)\\b)","patterns":[{"contentName":"comment.block.preprocessor.else-branch.in-block","begin":"^\\s*(#\\s*(else)\\b).*","end":"(?=^\\s*#\\s*endif\\b.*$)","patterns":[{"include":"#disabled"},{"include":"#pragma-mark"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.else.c"}}},{"end":"(?=^\\s*#\\s*(else|endif)\\b.*$)","patterns":[{"include":"#block_innards"}]}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.if.c"},"3":{"name":"constant.numeric.preprocessor.c"}}},"preprocessor-rule-other":{"begin":"^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*(#\\s*(endif)\\b).*$","patterns":[{"include":"$base"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.c"}}},"preprocessor-rule-other-block":{"begin":"^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))","end":"^\\s*(#\\s*(endif)\\b).*$","patterns":[{"include":"#block_innards"}],"captures":{"1":{"name":"meta.preprocessor.c"},"2":{"name":"keyword.control.import.c"}}},"sizeof":{"name":"keyword.operator.sizeof.c","match":"\\b(sizeof)\\b"},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.c","match":"\\\\(\\\\|[abefnprtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8})"},{"name":"invalid.illegal.unknown-escape.c","match":"\\\\."}]},"string_placeholder":{"patterns":[{"name":"constant.other.placeholder.c","match":"(?x)%\n \t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n \t\t\t\t\t\t[#0\\- +']* # flags\n \t\t\t\t\t\t[,;:_]? # separator character (AltiVec)\n \t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n \t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n \t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n \t\t\t\t\t\t[diouxXDOUeEfFgGaACcSspn%] # conversion type\n \t\t\t\t\t"},{"name":"invalid.illegal.placeholder.c","match":"%"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"dune-project","scopeName":"source.dune-project","patterns":[{"include":"#stanzas"},{"include":"source.dune#general"}],"repository":{"opam-metadata":{"patterns":[{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(license)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(authors|maintainers)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(source)\\b","end":"\\)","patterns":[{"contentName":"string.other.line.dune-project","begin":"\\([[:space:]]*(bitbucket|github|gitlab|sourcehut)\\b","end":"\\)","patterns":[{"name":"keyword.language.dune-project","match":"/"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(uri)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(bug_reports|homepage|documentation)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(maintenance_intent)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}}]},"stanzas":{"patterns":[{"begin":"\\([[:space:]]*(lang)[[:space:]]+(dune)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"},"2":{"name":"keyword.language.dune-project"}}},{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(version)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(implicit_transitive_deps)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(wrapped_executables)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"match":"\\([[:space:]]*(explicit_js_mode)[[:space:]]*\\)","captures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(dialect)\\b","end":"\\)","patterns":[{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(implementation|interface)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(extension|preprocess|format)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(formatting)\\b","end":"\\)","patterns":[{"name":"constant.language.dune-project","match":"\\b(disabled)\\b"},{"begin":"\\([[:space:]]*(enabled_for)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(generate_opam_files)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(package)\\b","end":"\\)","patterns":[{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(version)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(synopsis|description)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(depends|conflicts|depopts)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b([[:word:]-]+)\\b"},{"begin":"\\([[:space:]]*([[:word:]-]+)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"variable.other.declaration.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(tags)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(deprecated_package_names)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(allow_empty)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"#opam-metadata"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(using)([[:space:]]+menhir)?\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"},"2":{"name":"variable.other.declaration.dune-project"}}},{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(cram)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(accept_alternative_dune_file_name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(executables_implicit_empty_intf)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(expand_aliases_in_sandbox)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(opam_file_location)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(relative_to_project|inside_opam_directory)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(subst)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(enabled|disabled)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(use_standard_c_and_cxx_flags)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(map_workspace_root)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(warnings)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(maintenance_intent)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(pin)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(url)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"begin":"\\([[:space:]]*(package)\\b","end":"\\)","patterns":[{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(version)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-project"}}},{"include":"#opam-metadata"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"dune-workspace","scopeName":"source.dune-workspace","patterns":[{"include":"#stanzas"},{"include":"source.dune#general"}],"repository":{"stanzas":{"patterns":[{"begin":"\\([[:space:]]*(lang)[[:space:]]+(dune)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"},"2":{"name":"keyword.language.dune-workspace"}}},{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(profile)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(env)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(lock_dir)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(path)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(repositories)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(solver_env)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(unset_variables)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(pins)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(version_preference)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(newest|oldest)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(constraints)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(depopts)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(pin)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(url)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(package)\\b","end":"\\)","patterns":[{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(version)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(repository)\\b","end":"\\)","patterns":[{"contentName":"variable.other.declaration.dune-project","begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(url)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(context)\\b","end":"\\)","patterns":[{"name":"keyword.language.dune-workspace","match":"\\b(default)\\b"},{"begin":"\\([[:space:]]*(opam|default)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(switch)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(name)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(root)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(merlin)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(profile)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(env)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(toolchain)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(host)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(paths)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(fdo)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(disable_dynamically_linked_foreign_archives)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(targets)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(action_stderr_on_success|action_stdout_on_success)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(print|swallow|must-be-empty)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(cache-check-probability)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(cache-storage-mode)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(auto|hardlink|copy)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(cache)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(enabled|disabled)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(jobs)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(auto)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(display)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(progress|verbose|short|quiet)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(sandboxing_preference)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(none|hardlink|copy|symlink)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(terminal-persistence)\\b","end":"\\)","patterns":[{"name":"variable.other.declaration.dune-project","match":"\\b(preserve|clear-on-rebuild-and-flush-history|clear-on-rebuild)\\b"},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"begin":"\\([[:space:]]*(project_defaults)\\b","end":"\\)","patterns":[{"begin":"\\([[:space:]]*(authors|maintainers)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"contentName":"constant.language.dune-project","begin":"\\([[:space:]]*(license)\\b","end":"\\)","patterns":[{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}},{"include":"source.dune#general"}],"beginCaptures":{"1":{"name":"keyword.language.dune-workspace"}}}]}}}