github-linguist 7.18.0 → 7.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +1 -0
  3. data/grammars/liquid.injection.json +1 -0
  4. data/grammars/markdown.curry.codeblock.json +1 -0
  5. data/grammars/markdown.textproto.codeblock.json +1 -0
  6. data/grammars/source.2da.json +1 -0
  7. data/grammars/source.aidl.json +1 -1
  8. data/grammars/source.ballerina.json +1 -1
  9. data/grammars/source.bnd.json +1 -0
  10. data/grammars/source.cl.json +1 -0
  11. data/grammars/source.clar.json +1 -0
  12. data/grammars/source.clarion.json +1 -1
  13. data/grammars/source.clojure.json +1 -1
  14. data/grammars/source.cmd.json +1 -0
  15. data/grammars/source.cs.json +1 -1
  16. data/grammars/source.csound.json +1 -1
  17. data/grammars/source.curry.json +1 -0
  18. data/grammars/source.data-weave.json +1 -1
  19. data/grammars/source.dds.dspf.json +1 -0
  20. data/grammars/source.dds.icff.json +1 -0
  21. data/grammars/source.dds.lf.json +1 -0
  22. data/grammars/source.dds.pf.json +1 -0
  23. data/grammars/source.dds.prtf.json +1 -0
  24. data/grammars/source.deb-control.json +1 -0
  25. data/grammars/source.debian.makefile.json +1 -0
  26. data/grammars/source.denizenscript.json +1 -0
  27. data/grammars/source.elixir.json +1 -1
  28. data/grammars/source.euphoria.json +1 -0
  29. data/grammars/source.fsharp.json +1 -1
  30. data/grammars/source.gitignore.json +1 -1
  31. data/grammars/source.gleam.json +1 -0
  32. data/grammars/source.gsc.json +1 -0
  33. data/grammars/source.hoon.json +1 -0
  34. data/grammars/source.icurry.json +1 -0
  35. data/grammars/source.janet.json +1 -0
  36. data/grammars/source.js.json +1 -1
  37. data/grammars/source.julia.json +1 -1
  38. data/grammars/source.mi.json +1 -0
  39. data/grammars/source.miniyaml.json +1 -0
  40. data/grammars/source.mint.json +1 -0
  41. data/grammars/source.mlir.json +1 -1
  42. data/grammars/source.pcb.schematic.json +1 -1
  43. data/grammars/source.pcb.sexp.json +1 -1
  44. data/grammars/source.pnlgrp.json +1 -0
  45. data/grammars/source.procfile.json +1 -0
  46. data/grammars/source.proto.json +1 -1
  47. data/grammars/source.python.kivy.json +1 -0
  48. data/grammars/source.qsharp.json +1 -1
  49. data/grammars/source.rascal.json +1 -1
  50. data/grammars/source.rescript.json +1 -1
  51. data/grammars/source.rpg.json +1 -0
  52. data/grammars/source.rpgle.json +1 -0
  53. data/grammars/source.shellcheckrc.json +1 -1
  54. data/grammars/source.smali.json +1 -1
  55. data/grammars/source.solidity.json +1 -1
  56. data/grammars/source.textproto.json +1 -0
  57. data/grammars/source.ts.json +1 -1
  58. data/grammars/source.tsx.json +1 -1
  59. data/grammars/source.vyper.json +1 -1
  60. data/grammars/source.witcherscript.json +1 -0
  61. data/grammars/source.wsd.json +1 -1
  62. data/grammars/text.html.liquid.json +1 -1
  63. data/grammars/text.rtf.json +1 -1
  64. data/grammars/version +1 -1
  65. data/lib/linguist/VERSION +1 -1
  66. data/lib/linguist/generated.rb +13 -1
  67. data/lib/linguist/heuristics.yml +51 -1
  68. data/lib/linguist/languages.json +1 -1
  69. data/lib/linguist/languages.yml +179 -1
  70. data/lib/linguist/samples.json +1 -1
  71. data/lib/linguist/vendor.yml +1 -1
  72. metadata +67 -34
@@ -1 +1 @@
1
- {"name":"Csound","scopeName":"source.csound","patterns":[{"include":"#commentsAndMacroUses"},{"name":"meta.instrument-block.csound","begin":"\\b(?=instr\\b)","end":"\\bendin\\b","patterns":[{"name":"meta.instrument-declaration.csound","begin":"instr","end":"$","patterns":[{"name":"entity.name.function.csound","match":"\\d+|[A-Z_a-z]\\w*"},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"keyword.function.csound"}}},{"include":"#commentsAndMacroUses"},{"include":"#labels"},{"include":"#partialExpressions"}],"endCaptures":{"0":{"name":"keyword.other.csound"}}},{"name":"meta.opcode-definition.csound","begin":"\\b(?=opcode\\b)","end":"\\bendop\\b","patterns":[{"name":"meta.opcode-declaration.csound","begin":"opcode","end":"$","patterns":[{"name":"meta.opcode-details.csound","begin":"[A-Z_a-z]\\w*\\b","end":"$","patterns":[{"name":"meta.opcode-type-signature.csound","begin":"\\b(?:0|[aijkOPVKopS\\[\\]]+)","end":",|$","patterns":[{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"storage.type.csound"}}},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"entity.name.function.opcode.csound"}}},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"keyword.function.csound"}}},{"include":"#commentsAndMacroUses"},{"include":"#labels"},{"include":"#partialExpressions"}],"endCaptures":{"0":{"name":"keyword.other.csound"}}},{"include":"#labels"},{"include":"#partialExpressions"}],"repository":{"bracedStringContents":{"patterns":[{"include":"#escapeSequences"},{"include":"#formatSpecifiers"}]},"comments":{"patterns":[{"name":"comment.block.csound","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.csound"}}},{"name":"comment.line.double-slash.csound","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.csound"}}},{"include":"#semicolonComments"},{"include":"#lineContinuations"}]},"commentsAndMacroUses":{"patterns":[{"include":"#comments"},{"include":"#macroUses"}]},"decimalNumbers":{"patterns":[{"name":"constant.numeric.integer.decimal.csound","match":"\\d+"}]},"escapeSequences":{"patterns":[{"name":"constant.character.escape.csound","match":"\\\\(?:[abfnrtv\"\\\\]|[0-7]{1,3})"}]},"floatingPointNumbers":{"patterns":[{"name":"constant.numeric.float.csound","match":"(?:\\d+[Ee][+-]?\\d+)|(?:\\d+\\.\\d*|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?"}]},"formatSpecifiers":{"patterns":[{"name":"constant.character.placeholder.csound","match":"%[#0\\- +]*\\d*(?:\\.\\d+)?[diuoxXfFeEgGaAcs]"},{"name":"constant.character.escape.csound","match":"%%"}]},"labels":{"patterns":[{"match":"^[ \\t]*(\\w+)(:)(?:[ \\t]+|$)","captures":{"1":{"name":"entity.name.label.csound"},"2":{"name":"entity.punctuation.label.csound"}}}]},"lineContinuations":{"patterns":[{"match":"(\\\\)[ \\t]*((;).*)?$","captures":{"1":{"name":"constant.character.escape.line-continuation.csound"},"2":{"name":"comment.line.semicolon.csound"},"3":{"name":"punctuation.definition.comment.csound"}}}]},"macroNames":{"patterns":[{"match":"([A-Z_a-z]\\w*)|(\\d+\\w*)","captures":{"1":{"name":"entity.name.function.preprocessor.csound"},"2":{"name":"invalid.illegal.csound"}}}]},"macroParameterValueParenthetical":{"patterns":[{"name":"meta.macro-parameter-value-parenthetical.csound","begin":"\\(","end":"\\)","patterns":[{"include":"#macroParameterValueParenthetical"},{"name":"constant.character.escape.csound","match":"\\\\\\)"},{"include":"$self"}]}]},"macroUses":{"patterns":[{"name":"meta.function-like-macro-use.csound","begin":"(\\$[A-Z_a-z]\\w*\\.?)\\(","end":"\\)","patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"match":"([#'()])|(\\\\[#'()])","captures":{"1":{"name":"invalid.illegal.csound"},"2":{"name":"constant.character.escape.csound"}}},{"include":"#quotedStringContents"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}},{"name":"string.braced.csound","begin":"\\{\\{","end":"\\}\\}","patterns":[{"match":"([#'()])|(\\\\[#'()])","captures":{"1":{"name":"invalid.illegal.csound"},"2":{"name":"constant.character.escape.csound"}}},{"include":"#bracedStringContents"}]},{"include":"#macroParameterValueParenthetical"},{"name":"punctuation.macro-parameter-separator.csound","match":"[#']"},{"include":"$self"}],"beginCaptures":{"1":{"name":"entity.name.function.preprocessor.csound"}}},{"name":"entity.name.function.preprocessor.csound","match":"\\$[A-Z_a-z]\\w*(?:\\.|\\b)"}]},"numbers":{"patterns":[{"include":"#floatingPointNumbers"},{"match":"(0[Xx])([0-9A-Fa-f]+)","captures":{"1":{"name":"storage.type.number.csound"},"2":{"name":"constant.numeric.integer.hexadecimal.csound"}}},{"include":"#decimalNumbers"}]},"partialExpressions":{"patterns":[{"include":"#preprocessorDirectives"},{"name":"variable.language.csound","match":"\\b(?:0dbfs|A4|k(?:r|smps)|nchnls(?:_i)?|sr)\\b"},{"include":"#numbers"},{"name":"keyword.operator.csound","match":"\\+=|-=|\\*=|/=|\u003c\u003c|\u003e\u003e|\u003c=|\u003e=|==|!=|\u0026\u0026|\\|\\||[~¬]|[=!+\\-*/^%\u0026|\u003c\u003e#?:]"},{"include":"#quotedStrings"},{"name":"string.braced.csound","begin":"\\{\\{","end":"\\}\\}","patterns":[{"include":"#bracedStringContents"}]},{"name":"keyword.control.csound","match":"\\b(?:do|else(?:if)?|end(?:if|until)|fi|i(?:f|then)|kthen|od|r(?:ir)?eturn|then|until|while)\\b"},{"begin":"\\b((?:c(?:g|in?|k|nk?)goto)|goto|igoto|kgoto|loop_[gl][et]|r(?:einit|igoto)|ti(?:goto|mout))\\b","end":"(\\w+)\\s*(?:((//).*)|((;).*))?$","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#partialExpressions"}],"beginCaptures":{"1":{"name":"keyword.control.csound"}},"endCaptures":{"1":{"name":"entity.name.label.csound"},"2":{"name":"comment.line.double-slash.csound"},"3":{"name":"punctuation.definition.comment.csound"},"4":{"name":"comment.line.semicolon.csound"},"5":{"name":"punctuation.definition.comment.csound"}}},{"begin":"\\b(printk?s)[ \\t]*(?=\")","end":"(?\u003c=\")","patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"include":"#macroUses"},{"name":"constant.character.escape.csound","match":"\\\\\\\\[aAbBnNrRtT]"},{"include":"#bracedStringContents"},{"include":"#lineContinuations"},{"name":"constant.character.escape.csound","match":"%[!nNrRtT]|[~^]{1,2}"},{"name":"invalid.illegal.csound","match":"[^\"\\\\]*[^\\n\"\\\\]$"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"1":{"name":"support.function.csound"}}},{"begin":"\\b(readscore|scoreline(?:_i)?)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.csound-score"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\b(pyl?run[it]?)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.python"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\b(lua_exec)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.lua"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\blua_opdef\\b","end":"\\}\\}","patterns":[{"include":"#quotedStrings"},{"begin":"\\{\\{","end":"(?=\\}\\})","patterns":[{"include":"source.lua"}],"beginCaptures":{"0":{"name":"string.braced.csound"}}}],"beginCaptures":{"0":{"name":"support.function.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"name":"support.variable.csound","match":"\\bp\\d+\\b"},{"match":"(?:\\b(ATS(?:add(?:(?:nz)?)|bufread|cross|in(?:fo|terpread)|partialtap|read(?:(?:nz)?)|sinnoi)|FL(?:b(?:ox|ut(?:Bank|ton))|c(?:loseButton|o(?:lor(?:(?:2)?)|unt))|execButton|g(?:etsnap|roup(?:(?:(?:E|_e)nd)?))|h(?:ide|vsBox(?:(?:SetValue)?))|joy|k(?:eyIn|nob)|l(?:abel|oadsnap)|mouse|p(?:a(?:ck(?:(?:(?:E|_e)nd)?)|nel(?:(?:(?:E|_e)nd)?))|rintk(?:(?:2)?))|r(?:oller|un)|s(?:avesnap|croll(?:(?:(?:E|_e)nd)?)|et(?:Align|Box|Color(?:(?:2)?)|Font|Position|S(?:ize|napGroup)|Text(?:(?:Color|(?:Siz|Typ)e)?)|Val(?:(?:(?:(?:_)?)i)?)|snap)|how|lid(?:Bnk(?:(?:2(?:(?:Set(?:(?:k)?))?)|GetHandle|Set(?:(?:k)?))?)|er))|t(?:abs(?:(?:(?:E|_e)nd)?)|ext)|update|v(?:alue|keybd|slidBnk(?:(?:2)?))|xyin)|Jacko(?:Audio(?:In(?:(?:Connect)?)|Out(?:(?:Connect)?))|Freewheel|In(?:fo|it)|Midi(?:(?:InConnec|Ou(?:(?:tConnec)?))t)|NoteOut|On|Transport)|K35_(?:(?:[hl])pf)|Mixer(?:Clear|GetLevel|Receive|Se(?:nd|tLevel(?:(?:_i)?)))|OSC(?:bundle|count|init(?:(?:M)?)|listen|raw|send(?:(?:_lo)?))|STK(?:B(?:andedWG|eeThree|low(?:Botl|Hole)|owed|rass)|Clarinet|Drummer|F(?:MVoices|lute)|HevyMetl|M(?:andolin|o(?:dalBar|og))|P(?:ercFlut|lucked)|R(?:esonate|hodey)|S(?:axofony|hakers|i(?:mple|tar)|tifKarp)|TubeBell|VoicForm|W(?:histle|urley))|a(?:bs|ctive|ds(?:r|yn(?:(?:t(?:(?:2)?))?))|ftouch|l(?:lpole|pass|wayson)|mp(?:db(?:(?:fs)?)|midi(?:(?:curve|d)?))|poleparams|r(?:duino(?:Read(?:(?:F)?)|St(?:art|op))|eson(?:(?:k)?))|tone(?:(?:[kx])?)|utocorr)|b(?:a(?:bo|lance(?:(?:2)?)|mboo|rmodel)|bcut(?:[ms])|e(?:(?:tara|xpr)nd)|form(?:(?:de|en)c1)|i(?:nit|quad(?:(?:a)?)|rnd)|ob|pf(?:(?:cos)?)|qrez|u(?:t(?:b(?:[pr])|hp|lp|t(?:er(?:b(?:[pr])|(?:[hl])p)|on))|zz))|c(?:2r|a(?:basa|uchy(?:(?:i)?))|brt|e(?:il|ll|nt(?:(?:roid)?)|ps(?:(?:inv)?))|h(?:an(?:ctrl|ged(?:(?:2)?)|[io])|e(?:byshevpoly|ckbox)|n(?:_(?:[Sak])|clear|export|get(?:(?:ks|[aiks])?)|mix|params|set(?:(?:ks|[aiks])?))|uap)|l(?:ear|filt|ip|ocko(?:ff|n))|mp(?:(?:lxprod)?)|nt(?:C(?:reate|ycles)|Delete(?:(?:_i)?)|Re(?:ad|set)|State)|o(?:m(?:b(?:(?:inv)?)|p(?:ile(?:csd|orc|str)|ress(?:(?:2)?)))|n(?:nect|trol|v(?:(?:l|olv)e))|py(?:a2ftab|f2array)|s(?:(?:h|inv|seg(?:(?:[br])?))?)|unt(?:(?:_i)?))|p(?:s(?:2pch|midi(?:(?:b|nn)?)|oct|pch|t(?:mid|un(?:(?:i)?))|xpch)|u(?:meter|prc))|r(?:oss(?:2|fm(?:(?:i|pm(?:(?:i)?))?)|pm(?:(?:i)?))|unch)|t(?:lchn|rl(?:14|21|7|init|pr(?:eset|int(?:(?:presets)?))|s(?:ave|elect)))|userrnd)|d(?:a(?:m|te(?:(?:s)?))|b(?:(?:(?:(?:fs)?)amp)?)|c(?:block(?:(?:2)?)|onv|t(?:(?:inv)?))|e(?:interleave|l(?:ay(?:(?:[1krw])?)|tap(?:(?:xw|[3inx])?))|norm)|i(?:ff|ode_ladder|rectory|s(?:k(?:grain|in(?:(?:2)?))|p(?:fft|lay)|tort(?:(?:1)?))|vz)|o(?:ppler|t|wnsamp)|ripwater|ssi(?:a(?:ctivate|udio)|ctls|(?:ini|lis)t)|u(?:mpk(?:(?:[234])?)|s(?:errnd|t(?:(?:2)?))))|e(?:nvlpx(?:(?:r)?)|phasor|qfil|v(?:alstr|ent(?:(?:_i)?))|x(?:citer|itnow|p(?:(?:curve|on|rand(?:(?:i)?)|seg(?:(?:ba|[abr])?))?)))|f(?:a(?:reylen(?:(?:i)?)|ust(?:audio|c(?:ompile|tl)|dsp|gen|play))|ft(?:(?:inv)?)|i(?:close|l(?:e(?:bit|len|nchnls|peak|s(?:cal|r)|valid)|larray|ter2)|n(?:(?:[ik])?)|open)|l(?:a(?:nger|shtxt)|oo(?:per(?:(?:2)?)|r)|uid(?:AllOut|C(?:C(?:[ik])|ontrol)|Engine|Info|Load|Note|Out|ProgramSelect|SetInterpMethod))|m(?:a(?:nal|x)|b(?:3|ell)|in|metal|od|percfl|(?:rhod|voic|wurli)e)|o(?:f(?:2|ilter)|l(?:d|low(?:(?:2)?))|scil(?:(?:i)?)|ut(?:(?:ir|[ik])?)|[fg])|print(?:(?:(?:k)?)s)|r(?:a(?:c(?:(?:talnoise)?)|mebuffer)|eeverb)|t(?:audio|c(?:hnls|onv|ps)|exists|free|gen(?:(?:once|tmp)?)|l(?:en|oad(?:(?:k)?)|ptim)|morf|om|print|resize(?:(?:i)?)|s(?:a(?:mplebank|ve(?:(?:k)?))|et|lice(?:(?:i)?)|r)))|g(?:a(?:in(?:(?:slider)?)|uss(?:(?:i|trig)?))|buzz|e(?:n(?:array(?:(?:_i)?)|dy(?:(?:[cx])?))|t(?:c(?:fg|ol)|ftargs|row|seed))|ogobel|ra(?:in(?:(?:[23])?)|nule)|tf|uiro)|h(?:armon(?:(?:[234])?)|df5(?:read|write)|ilbert(?:(?:2)?)|rtf(?:early|move(?:(?:2)?)|reverb|stat)|sboscil|vs(?:[123])|ypot)|i(?:hold|mage(?:create|free|getpixel|load|s(?:ave|etpixel|ize))|n(?:(?:32|ch|it(?:(?:c(?:14|21|7))?)|let(?:kid|[afkv])|rg|s(?:global|remot)|te(?:g|r(?:leave|p))|value|[hoqstxz])?))|j(?:acktransport|itter(?:(?:2)?)|oystick|spline)|l(?:a(?:_(?:i_(?:a(?:dd_(?:m(?:[cr])|v(?:[cr]))|ssign_(?:m(?:[cr])|t|v(?:[cr])))|conjugate_(?:m(?:[cr])|v(?:[cr]))|d(?:i(?:stance_v(?:[cr])|vide_(?:m(?:[cr])|v(?:[cr])))|ot_(?:m(?:c_vc|r_vr|[cr])|v(?:[cr])))|get_(?:m(?:[cr])|v(?:[cr]))|invert_m(?:[cr])|l(?:ower_solve_m(?:[cr])|u_(?:det_m(?:[cr])|factor_m(?:[cr])|solve_m(?:[cr])))|m(?:c_(?:create|set)|r_(?:create|set)|ultiply_(?:m(?:[cr])|v(?:[cr])))|norm(?:1_(?:m(?:[cr])|v(?:[cr]))|_(?:euclid_(?:m(?:[cr])|v(?:[cr]))|inf_(?:m(?:[cr])|v(?:[cr]))|max_m(?:[cr])))|print_(?:m(?:[cr])|v(?:[cr]))|qr_(?:eigen_m(?:[cr])|factor_m(?:[cr])|sym_eigen_m(?:[cr]))|random_(?:m(?:[cr])|v(?:[cr]))|s(?:ize_(?:m(?:[cr])|v(?:[cr]))|ubtract_(?:m(?:[cr])|v(?:[cr])))|t(?:_assign|ra(?:ce_m(?:[cr])|nspose_m(?:[cr])))|upper_solve_m(?:[cr])|v(?:c_(?:create|set)|r_(?:create|set)))|k_(?:a(?:_assign|dd_(?:m(?:[cr])|v(?:[cr]))|ssign_(?:m(?:[cr])|v(?:[cr])|[aft]))|c(?:onjugate_(?:m(?:[cr])|v(?:[cr]))|urrent_(?:f|vr))|d(?:i(?:stance_v(?:[cr])|vide_(?:m(?:[cr])|v(?:[cr])))|ot_(?:m(?:c_vc|r_vr|[cr])|v(?:[cr])))|f_assign|get_(?:m(?:[cr])|v(?:[cr]))|invert_m(?:[cr])|l(?:ower_solve_m(?:[cr])|u_(?:det_m(?:[cr])|factor_m(?:[cr])|solve_m(?:[cr])))|m(?:c_set|r_set|ultiply_(?:m(?:[cr])|v(?:[cr])))|norm(?:1_(?:m(?:[cr])|v(?:[cr]))|_(?:euclid_(?:m(?:[cr])|v(?:[cr]))|inf_(?:m(?:[cr])|v(?:[cr]))|max_m(?:[cr])))|qr_(?:eigen_m(?:[cr])|factor_m(?:[cr])|sym_eigen_m(?:[cr]))|random_(?:m(?:[cr])|v(?:[cr]))|subtract_(?:m(?:[cr])|v(?:[cr]))|t(?:_assign|race_m(?:[cr]))|upper_solve_m(?:[cr])|v(?:(?:[cr])_set)))|g(?:(?:ud)?)|stcycle)|enarray|f(?:o|sr)|i(?:mit(?:(?:1)?)|n(?:cos|e(?:(?:n(?:(?:r)?)|to)?)|k_(?:beat_(?:force|(?:ge|reques)t)|create|enable|is_enabled|metro|peers|tempo_(?:(?:[gs])et))|lin|rand|seg(?:(?:[br])?))|veconv)|o(?:cs(?:end|ig)|g(?:(?:10|2|btwo|curve)?)|op(?:seg(?:(?:p)?)|(?:[tx])seg)|renz|scil(?:(?:(?:(?:3)?)phs|[3x])?)|w(?:pass2|res(?:(?:x)?)))|p(?:c(?:anal|filter)|f(?:18|orm|reson)|hasor|interp|oscil(?:(?:sa(?:(?:2)?)|[3a])?)|re(?:ad|son)|s(?:hold(?:(?:p)?)|lot))|ufs)|m(?:a(?:ca|dsr|gs|nd(?:(?:[eo])l)|parray(?:(?:_i)?)|rimba|ssign|x(?:_k|a(?:bs(?:(?:accum)?)|ccum|lloc|rray))|[cx])|clock|delay|e(?:dian(?:(?:k)?)|tro(?:(?:2)?))|fb|i(?:d(?:global|i(?:arp|c(?:14|21|7|h(?:annelaftertouch|n)|ontrolchange|trl)|default|filestatus|in|noteo(?:ff|n(?:cps|key|oct|pch))|o(?:n(?:(?:2)?)|ut(?:(?:_i)?))|p(?:gm|itchbend|olyaftertouch|rogramchange)|tempo)|remot)|n(?:(?:a(?:bs(?:(?:accum)?)|ccum|rray)|cer)?)|rror)|o(?:d(?:e|matrix)|nitor|og(?:(?:ladder(?:(?:2)?)|vcf(?:(?:2)?))?)|scil)|p(?:3(?:bitrate|in|len|nchnls|s(?:cal|r))|ulse)|rtmsg|s2st|to(?:[fn])|u(?:ltitap|te)|v(?:c(?:hpf|lpf(?:[1234]))|mfilter)|xadsr)|n(?:chnls_hw|estedap|l(?:alp|filt(?:(?:2)?))|o(?:ise|t(?:eo(?:ff|n(?:(?:dur(?:(?:2)?))?))|num))|r(?:everb|pn)|s(?:amp|t(?:ance|r(?:num|str)))|t(?:o(?:[fm])|rpol)|xtpow2)|o(?:ct(?:ave|cps|midi(?:(?:b|nn)?)|pch)|labuffer|sc(?:bnk|il(?:(?:1i|ikt(?:(?:[ps])?)|[13insx])?))|ut(?:(?:32|all|ch|i(?:at|c(?:(?:14)?)|p(?:at|[bc]))|k(?:at|c(?:(?:14)?)|p(?:at|[bc]))|let(?:kid|[afkv])|q(?:[1234])|rg|s(?:[12])|value|[choqsxz])?))|p(?:5g(?:connect|data)|a(?:n(?:(?:2)?)|r(?:eq|t(?:2txt|i(?:als|kkel(?:(?:get|s(?:et|ync))?))))|ssign|ulstretch)|c(?:auchy|h(?:bend|midi(?:(?:b|nn)?)|oct|tom)|o(?:nvolve|unt))|d(?:clip|half(?:(?:y)?))|eak|gm(?:(?:assig|ch)n)|h(?:as(?:er(?:[12])|or(?:(?:bnk)?))|s)|i(?:n(?:dex|k(?:er|ish))|tch(?:(?:a(?:c|mdf))?))|l(?:a(?:net|terev)|(?:ltra|u)ck)|o(?:isson|l(?:2rect|y(?:aft|nomial))|rt(?:(?:k)?)|scil(?:(?:3)?)|w(?:(?:ershape|oftwo|s)?))|r(?:e(?:alloc|piano)|int(?:(?:_type|array|f_i|k(?:s2|[2s])|ln|sk|[fks])?)|oduct)|set|t(?:ablew|rack)|uts|v(?:add|bufread|cross|interp|oc|read|s(?:2(?:array|tab)|a(?:dsyn|nal|rp)|b(?:and(?:width|[pr])|in|lur|uf(?:fer|read(?:(?:2)?)))|c(?:ale|e(?:nt|ps)|(?:f|ros)s)|d(?:emix|is(?:kin|p))|envftw|f(?:ilter|r(?:e(?:ad|eze)|omarray)|t(?:[rw])|write)|gain|hift|i(?:fd|n(?:(?:fo|it)?))|l(?:ock|pc)|m(?:aska|ix|o(?:(?:ot|rp)h))|o(?:sc|ut)|pitch|t(?:anal|encil|race)|voc|warp|ynth))|wd|y(?:assign(?:(?:[it])?)|call(?:(?:1(?:[it])|2(?:[it])|3(?:[it])|4(?:[it])|5(?:[it])|6(?:[it])|7(?:[it])|8(?:[it])|ni|[12345678int])?)|e(?:val(?:(?:[it])?)|xec(?:(?:[it])?))|init|l(?:assign(?:(?:[it])?)|call(?:(?:1(?:[it])|2(?:[it])|3(?:[it])|4(?:[it])|5(?:[it])|6(?:[it])|7(?:[it])|8(?:[it])|ni|[12345678int])?)|e(?:val(?:(?:[it])?)|xec(?:(?:[it])?))|run(?:(?:[it])?))|run(?:(?:[it])?)))|q(?:inf|nan)|r(?:2c|and(?:(?:om(?:(?:[hi])?)|[chi])?)|bjeq|e(?:ad(?:clock|fi|k(?:[234s])|sc(?:ore|ratch)|[fk])|ct2pol|lease|mo(?:teport|ve)|pluck|s(?:hapearray|on(?:(?:bnk|xk|[krxyz])?)|yn)|verb(?:(?:2|sc)?)|windscore|zzy)|fft|ifft|ms|nd(?:(?:31|seed)?)|ound|spline|tclock)|s(?:16b14|32b14|a(?:mphold|ndpaper)|c(?:_(?:lag(?:(?:ud)?)|phasor|trig)|a(?:le(?:(?:2|array)?)|n(?:hammer|table|u2|[su]))|hed(?:kwhen(?:(?:named)?)|ule(?:(?:k)?)|when)|oreline(?:(?:_i)?))|e(?:ed|kere|lect|mitone|nse(?:(?:key)?)|qtime(?:(?:2)?)|rial(?:Begin|End|Flush|Print|Read|Write(?:(?:_i)?))|t(?:c(?:(?:o|tr)l)|ksmps|row|scorepos))|f(?:i(?:list|nstr(?:(?:3m|[3m])?))|lo(?:ad|oper)|p(?:assign|l(?:ay(?:(?:3m|[3m])?)|ist)|reset))|h(?:aker|ift(?:in|out))|i(?:gnum|n(?:(?:h|inv|syn)?))|kf|l(?:eighbells|i(?:cearray(?:(?:_i)?)|der(?:16(?:(?:f|table(?:(?:f)?))?)|32(?:(?:f|table(?:(?:f)?))?)|64(?:(?:f|table(?:(?:f)?))?)|8(?:(?:f|table(?:(?:f)?))?)|Kawai)))|nd(?:loop|warp(?:(?:st)?))|o(?:ck(?:recv(?:(?:s)?)|send(?:(?:s)?))|rt(?:[ad])|undin)|p(?:a(?:ce|t3d(?:(?:[it])?))|dist|f|litrig|rintf(?:(?:k)?)|send)|q(?:rt|uinewave)|t(?:2ms|atevar|errain|ix|r(?:c(?:at(?:(?:k)?)|har(?:(?:k)?)|mp(?:(?:k)?)|py(?:(?:k)?))|e(?:cv|son)|fromurl|get|in(?:dex(?:(?:k)?)|g2array)|l(?:en(?:(?:k)?)|ower(?:(?:k)?))|rindex(?:(?:k)?)|s(?:et|trip|ub(?:(?:k)?))|to(?:(?:[dl])k|[dl])|upper(?:(?:k)?))|send)|u(?:binstr(?:(?:init)?)|m(?:(?:array)?))|v(?:filter|n)|y(?:nc(?:grain|loop|phasor)|stem(?:(?:_i)?)))|t(?:a(?:b(?:2(?:array|pvs)|_i|ifd|le(?:(?:3kt|copy|filter(?:(?:i)?)|gpw|i(?:copy|gpw|kt|mix)|kt|mix|ng|ra|s(?:eg|huffle(?:(?:i)?))|w(?:a|kt)|x(?:kt|seg)|[3iw])?)|morph(?:(?:ak|[ai])?)|play|rec|sum|w(?:(?:_i)?))|mbourine|n(?:h|inv(?:(?:2)?))|[bn])|bvcf|emp(?:est|o(?:(?:(?:sc|v)al)?))|i(?:me(?:dseq|inst(?:[ks])|[ks])|val)|lineto|one(?:(?:[kx])?)|r(?:a(?:dsyn|n(?:dom|seg(?:(?:[br])?)))|cross|filter|highest|i(?:g(?:Expseg|Linseg|ger|hold|phasor|seq)|m(?:(?:_i)?)|rand)|lowest|mix|s(?:cale|(?:hif|pli)t))|urno(?:ff(?:(?:2_i|[23])?)|n)|vconv)|u(?:n(?:irand|wrap)|psamp|r(?:andom|d))|v(?:a(?:ctrol|dd(?:(?:_i|v(?:(?:_i)?))?)|get|lpass|set)|bap(?:(?:gmove|lsinit|(?:(?:z)?)move|[gz])?)|c(?:ella|lpf|o(?:(?:2(?:(?:(?:f|i(?:f|ni))t)?)|mb|py(?:(?:_i)?))?))|d(?:el(?:_k|ay(?:(?:x(?:w(?:[qs])|[qsw])|[3kx])?))|ivv(?:(?:_i)?))|e(?:cdelay|loc|xp(?:(?:_i|seg|v(?:(?:_i)?))?))|i(?:b(?:es|r(?:(?:ato)?))|ncr)|l(?:i(?:mit|nseg)|owres)|m(?:ap|irror|ult(?:(?:_i|v(?:(?:_i)?))?))|o(?:ice|sim)|p(?:haseseg|o(?:rt|w(?:(?:_i|v(?:(?:_i)?))?))|s|voc)|rand(?:[hi])|subv(?:(?:_i)?)|tab(?:le(?:1k|w(?:[aik])|[aik])|w(?:[aik])|[aik])|wrap)|w(?:aveset|e(?:bsocket|ibull)|g(?:b(?:ow(?:(?:edbar)?)|rass)|clar|flute|pluck(?:(?:2)?)|uide(?:[12]))|i(?:i(?:connect|data|range|send)|ndow)|r(?:ap|itescratch)|terrain(?:(?:2)?))|x(?:adsr|in|out|scan(?:map|smap|[su])|tratim|yscale)|z(?:a(?:cl|kinit|mod|rg|wm|[rw])|df_(?:1pole(?:(?:_mode)?)|2pole(?:(?:_mode)?)|ladder)|filter2|i(?:wm|[rw])|k(?:cl|mod|wm|[rw]))|[Saikp])\\b|\\b(OSCsendA|array|b(?:e(?:adsynt|osc)|form(?:(?:de|en)c)|uchla)|copy2(?:(?:[ft])tab)|getrowlin|hrtfer|ktableseg|l(?:entab|ua_(?:exec|i(?:aopcall(?:(?:_off)?)|kopcall(?:(?:_off)?)|opcall(?:(?:_off)?))|opdef))|m(?:axtab|intab|p3scal_(?:check|load(?:(?:2)?)|play(?:(?:2)?)))|p(?:op(?:(?:_f)?)|table(?:(?:iw|[3i])?)|ush(?:(?:_f)?)|vsgendy)|s(?:calet|ignalflowgraph|ndload|o(?:cksend_k|undout(?:(?:s)?))|pec(?:addm|di(?:ff|sp)|filt|hist|ptrk|s(?:cal|um)|trum)|tack|um(?:TableFilter|tab)|ystime)|t(?:ab(?:gen|leiw|map(?:(?:_i)?)|rowlin|slice)|b(?:0_init|1(?:(?:(?:[012345])?)_init|[012345])|(?:[23456789])_init|[0123456789]))|vbap(?:1(?:6|move)|(?:[48])move|[48])|xyin)\\b)(?:(\\:)([A-Za-z]))?","captures":{"1":{"name":"support.function.csound"},"2":{"name":"invalid.deprecated.csound"},"3":{"name":"punctuation.type-annotation.csound"},"4":{"name":"type-annotation.storage.type.csound"}}},{"name":"meta.other.csound","match":"\\b[A-Z_a-z]\\w*\\b"}]},"preprocessorDirectives":{"patterns":[{"name":"keyword.preprocessor.csound","match":"\\#(?:e(?:lse|nd(?:if)?)\\b|\\#\\#)|@+[ \\t]*\\d*"},{"begin":"\\#includestr","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"name":"string.includestr.csound","begin":"\"","end":"\"","patterns":[{"include":"#macroUses"},{"include":"#lineContinuations"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.includestr.preprocessor.csound"}}},{"begin":"\\#include","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"name":"string.include.csound","begin":"([^ \\t])","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.include.preprocessor.csound"}}},{"begin":"\\#[ \\t]*define","end":"(?\u003c=^\\#)|(?\u003c=[^\\\\]\\#)","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#macroNames"},{"begin":"\\(","end":"\\)","patterns":[{"name":"variable.parameter.preprocessor.csound","match":"[A-Z_a-z]\\w*\\b"}]},{"begin":"\\#","end":"(?\u003c!\\\\)\\#","patterns":[{"name":"constant.character.escape.csound","match":"\\\\\\#"},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.macro.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.macro.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.define.preprocessor.csound"}}},{"begin":"\\#(?:i(?:fn?def)|undef)","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#macroNames"}],"beginCaptures":{"0":{"name":"keyword.preprocessor.csound"}}}]},"quotedStringContents":{"patterns":[{"include":"#macroUses"},{"include":"#bracedStringContents"},{"include":"#lineContinuations"},{"name":"invalid.illegal.csound","match":"[^\"\\\\]*[^\\n\"\\\\]$"}]},"quotedStrings":{"patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"include":"#quotedStringContents"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}]},"semicolonComments":{"patterns":[{"name":"comment.line.semicolon.csound","begin":";","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.csound"}}}]}}}
1
+ {"name":"Csound","scopeName":"source.csound","patterns":[{"include":"#commentsAndMacroUses"},{"name":"meta.instrument-block.csound","begin":"\\b(?=instr\\b)","end":"\\bendin\\b","patterns":[{"name":"meta.instrument-declaration.csound","begin":"instr","end":"$","patterns":[{"name":"entity.name.function.csound","match":"\\d+|[A-Z_a-z]\\w*"},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"keyword.function.csound"}}},{"include":"#commentsAndMacroUses"},{"include":"#labels"},{"include":"#partialExpressions"}],"endCaptures":{"0":{"name":"keyword.other.csound"}}},{"name":"meta.opcode-definition.csound","begin":"\\b(?=opcode\\b)","end":"\\bendop\\b","patterns":[{"name":"meta.opcode-declaration.csound","begin":"opcode","end":"$","patterns":[{"name":"meta.opcode-details.csound","begin":"[A-Z_a-z]\\w*\\b","end":"$","patterns":[{"name":"meta.opcode-type-signature.csound","begin":"\\b(?:0|[aijkOPVKopS\\[\\]]+)","end":",|$","patterns":[{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"storage.type.csound"}}},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"entity.name.function.opcode.csound"}}},{"include":"#commentsAndMacroUses"}],"beginCaptures":{"0":{"name":"keyword.function.csound"}}},{"include":"#commentsAndMacroUses"},{"include":"#labels"},{"include":"#partialExpressions"}],"endCaptures":{"0":{"name":"keyword.other.csound"}}},{"include":"#labels"},{"include":"#partialExpressions"}],"repository":{"bracedStringContents":{"patterns":[{"include":"#escapeSequences"},{"include":"#formatSpecifiers"}]},"comments":{"patterns":[{"name":"comment.block.csound","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.csound"}}},{"name":"comment.line.double-slash.csound","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.csound"}}},{"include":"#semicolonComments"},{"include":"#lineContinuations"}]},"commentsAndMacroUses":{"patterns":[{"include":"#comments"},{"include":"#macroUses"}]},"decimalNumbers":{"patterns":[{"name":"constant.numeric.integer.decimal.csound","match":"\\d+"}]},"escapeSequences":{"patterns":[{"name":"constant.character.escape.csound","match":"\\\\(?:[abfnrtv\"\\\\]|[0-7]{1,3})"}]},"floatingPointNumbers":{"patterns":[{"name":"constant.numeric.float.csound","match":"(?:\\d+[Ee][+-]?\\d+)|(?:\\d+\\.\\d*|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?"}]},"formatSpecifiers":{"patterns":[{"name":"constant.character.placeholder.csound","match":"%[#0\\- +]*\\d*(?:\\.\\d+)?[diuoxXfFeEgGaAcs]"},{"name":"constant.character.escape.csound","match":"%%"}]},"labels":{"patterns":[{"match":"^[ \\t]*(\\w+)(:)(?:[ \\t]+|$)","captures":{"1":{"name":"entity.name.label.csound"},"2":{"name":"entity.punctuation.label.csound"}}}]},"lineContinuations":{"patterns":[{"match":"(\\\\)[ \\t]*((;).*)?$","captures":{"1":{"name":"constant.character.escape.line-continuation.csound"},"2":{"name":"comment.line.semicolon.csound"},"3":{"name":"punctuation.definition.comment.csound"}}}]},"macroNames":{"patterns":[{"match":"([A-Z_a-z]\\w*)|(\\d+\\w*)","captures":{"1":{"name":"entity.name.function.preprocessor.csound"},"2":{"name":"invalid.illegal.csound"}}}]},"macroParameterValueParenthetical":{"patterns":[{"name":"meta.macro-parameter-value-parenthetical.csound","begin":"\\(","end":"\\)","patterns":[{"include":"#macroParameterValueParenthetical"},{"name":"constant.character.escape.csound","match":"\\\\\\)"},{"include":"$self"}]}]},"macroUses":{"patterns":[{"name":"meta.function-like-macro-use.csound","begin":"(\\$[A-Z_a-z]\\w*\\.?)\\(","end":"\\)","patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"match":"([#'()])|(\\\\[#'()])","captures":{"1":{"name":"invalid.illegal.csound"},"2":{"name":"constant.character.escape.csound"}}},{"include":"#quotedStringContents"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}},{"name":"string.braced.csound","begin":"\\{\\{","end":"\\}\\}","patterns":[{"match":"([#'()])|(\\\\[#'()])","captures":{"1":{"name":"invalid.illegal.csound"},"2":{"name":"constant.character.escape.csound"}}},{"include":"#bracedStringContents"}]},{"include":"#macroParameterValueParenthetical"},{"name":"punctuation.macro-parameter-separator.csound","match":"[#']"},{"include":"$self"}],"beginCaptures":{"1":{"name":"entity.name.function.preprocessor.csound"}}},{"name":"entity.name.function.preprocessor.csound","match":"\\$[A-Z_a-z]\\w*(?:\\.|\\b)"}]},"numbers":{"patterns":[{"include":"#floatingPointNumbers"},{"match":"(0[Xx])([0-9A-Fa-f]+)","captures":{"1":{"name":"storage.type.number.csound"},"2":{"name":"constant.numeric.integer.hexadecimal.csound"}}},{"include":"#decimalNumbers"}]},"partialExpressions":{"patterns":[{"include":"#preprocessorDirectives"},{"name":"variable.language.csound","match":"\\b(?:0dbfs|A4|k(?:r|smps)|nchnls(?:_i)?|sr)\\b"},{"include":"#numbers"},{"name":"keyword.operator.csound","match":"\\+=|-=|\\*=|/=|\u003c\u003c|\u003e\u003e|\u003c=|\u003e=|==|!=|\u0026\u0026|\\|\\||[~¬]|[=!+\\-*/^%\u0026|\u003c\u003e#?:]"},{"include":"#quotedStrings"},{"name":"string.braced.csound","begin":"\\{\\{","end":"\\}\\}","patterns":[{"include":"#bracedStringContents"}]},{"name":"keyword.control.csound","match":"\\b(?:do|else(?:if)?|end(?:if|until)|fi|i(?:f|then)|kthen|od|r(?:ir)?eturn|then|until|while)\\b"},{"begin":"\\b((?:c(?:g|in?|k|nk?)goto)|goto|igoto|kgoto|loop_[gl][et]|r(?:einit|igoto)|ti(?:goto|mout))\\b","end":"(\\w+)\\s*(?:((//).*)|((;).*))?$","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#partialExpressions"}],"beginCaptures":{"1":{"name":"keyword.control.csound"}},"endCaptures":{"1":{"name":"entity.name.label.csound"},"2":{"name":"comment.line.double-slash.csound"},"3":{"name":"punctuation.definition.comment.csound"},"4":{"name":"comment.line.semicolon.csound"},"5":{"name":"punctuation.definition.comment.csound"}}},{"begin":"\\b(printk?s)[ \\t]*(?=\")","end":"(?\u003c=\")","patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"include":"#macroUses"},{"name":"constant.character.escape.csound","match":"\\\\\\\\[aAbBnNrRtT]"},{"include":"#bracedStringContents"},{"include":"#lineContinuations"},{"name":"constant.character.escape.csound","match":"%[!nNrRtT]|[~^]{1,2}"},{"name":"invalid.illegal.csound","match":"[^\"\\\\]*[^\\n\"\\\\]$"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"1":{"name":"support.function.csound"}}},{"begin":"\\b(readscore|scoreline(?:_i)?)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.csound-score"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\b(pyl?run[it]?)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.python"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\b(lua_exec)[ \\t]*(\\{\\{)","end":"\\}\\}","patterns":[{"include":"source.lua"}],"beginCaptures":{"1":{"name":"support.function.csound"},"2":{"name":"string.braced.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"begin":"\\blua_opdef\\b","end":"\\}\\}","patterns":[{"include":"#quotedStrings"},{"begin":"\\{\\{","end":"(?=\\}\\})","patterns":[{"include":"source.lua"}],"beginCaptures":{"0":{"name":"string.braced.csound"}}}],"beginCaptures":{"0":{"name":"support.function.csound"}},"endCaptures":{"0":{"name":"string.braced.csound"}}},{"name":"support.variable.csound","match":"\\bp\\d+\\b"},{"match":"(?:\\b(ATS(?:add(?:(?:nz)?)|bufread|cross|in(?:fo|terpread)|partialtap|read(?:(?:nz)?)|sinnoi)|FL(?:b(?:ox|ut(?:Bank|ton))|c(?:loseButton|o(?:lor(?:(?:2)?)|unt))|execButton|g(?:etsnap|roup(?:(?:(?:E|_e)nd)?))|h(?:ide|vsBox(?:(?:SetValue)?))|joy|k(?:eyIn|nob)|l(?:abel|oadsnap)|mouse|p(?:a(?:ck(?:(?:(?:E|_e)nd)?)|nel(?:(?:(?:E|_e)nd)?))|rintk(?:(?:2)?))|r(?:oller|un)|s(?:avesnap|croll(?:(?:(?:E|_e)nd)?)|et(?:Align|Box|Color(?:(?:2)?)|Font|Position|S(?:ize|napGroup)|Text(?:(?:Color|(?:Siz|Typ)e)?)|Val(?:(?:(?:(?:_)?)i)?)|snap)|how|lid(?:Bnk(?:(?:2(?:(?:Set(?:(?:k)?))?)|GetHandle|Set(?:(?:k)?))?)|er))|t(?:abs(?:(?:(?:E|_e)nd)?)|ext)|update|v(?:alue|keybd|slidBnk(?:(?:2)?))|xyin)|Jacko(?:Audio(?:In(?:(?:Connect)?)|Out(?:(?:Connect)?))|Freewheel|In(?:fo|it)|Midi(?:(?:InConnec|Ou(?:(?:tConnec)?))t)|NoteOut|On|Transport)|K35_(?:(?:[hl])pf)|Mixer(?:Clear|GetLevel|Receive|Se(?:nd|tLevel(?:(?:_i)?)))|OSC(?:bundle|count|init(?:(?:M)?)|listen|raw|send(?:(?:_lo)?))|STK(?:B(?:andedWG|eeThree|low(?:Botl|Hole)|owed|rass)|Clarinet|Drummer|F(?:MVoices|lute)|HevyMetl|M(?:andolin|o(?:dalBar|og))|P(?:ercFlut|lucked)|R(?:esonate|hodey)|S(?:axofony|hakers|i(?:mple|tar)|tifKarp)|TubeBell|VoicForm|W(?:histle|urley))|a(?:bs|ctive|ds(?:r|yn(?:(?:t(?:(?:2)?))?))|ftouch|l(?:lpole|pass|wayson)|mp(?:db(?:(?:fs)?)|midi(?:(?:curve|d)?))|poleparams|r(?:duino(?:Read(?:(?:F)?)|St(?:art|op))|eson(?:(?:k)?))|tone(?:(?:[kx])?)|utocorr)|b(?:a(?:bo|lance(?:(?:2)?)|mboo|rmodel)|bcut(?:[ms])|e(?:(?:tara|xpr)nd)|form(?:dec(?:[12])|enc1)|i(?:nit|quad(?:(?:a)?)|rnd)|ob|pf(?:(?:cos)?)|qrez|u(?:t(?:b(?:[pr])|hp|lp|t(?:er(?:b(?:[pr])|(?:[hl])p)|on))|zz))|c(?:2r|a(?:basa|uchy(?:(?:i)?))|brt|e(?:il|ll|nt(?:(?:roid)?)|ps(?:(?:inv)?))|h(?:an(?:ctrl|ged(?:(?:2)?)|[io])|e(?:byshevpoly|ckbox)|n(?:_(?:[Sak])|clear|export|get(?:(?:ks|[aiks])?)|mix|params|set(?:(?:ks|[aiks])?))|uap)|l(?:ear|filt|ip|ocko(?:ff|n))|mp(?:(?:lxprod)?)|nt(?:C(?:reate|ycles)|Delete(?:(?:_i)?)|Re(?:ad|set)|State)|o(?:m(?:b(?:(?:inv)?)|p(?:ile(?:csd|orc|str)|ress(?:(?:2)?)))|n(?:nect|trol|v(?:(?:l|olv)e))|py(?:a2ftab|f2array)|s(?:(?:h|inv|seg(?:(?:[br])?))?)|unt(?:(?:_i)?))|p(?:s(?:2pch|midi(?:(?:b|nn)?)|oct|pch|t(?:mid|un(?:(?:i)?))|xpch)|u(?:meter|prc))|r(?:oss(?:2|fm(?:(?:i|pm(?:(?:i)?))?)|pm(?:(?:i)?))|unch)|t(?:lchn|rl(?:14|21|7|init|pr(?:eset|int(?:(?:presets)?))|s(?:ave|elect)))|userrnd)|d(?:a(?:m|te(?:(?:s)?))|b(?:(?:(?:(?:fs)?)amp)?)|c(?:block(?:(?:2)?)|onv|t(?:(?:inv)?))|e(?:interleave|l(?:ay(?:(?:[1krw])?)|tap(?:(?:xw|[3inx])?))|norm)|i(?:ff|ode_ladder|rectory|s(?:k(?:grain|in(?:(?:2)?))|p(?:fft|lay)|tort(?:(?:1)?))|vz)|o(?:ppler|t|wnsamp)|ripwater|ssi(?:a(?:ctivate|udio)|ctls|(?:ini|lis)t)|u(?:mpk(?:(?:[234])?)|s(?:errnd|t(?:(?:2)?))))|e(?:nvlpx(?:(?:r)?)|phasor|qfil|v(?:alstr|ent(?:(?:_i)?))|x(?:citer|itnow|p(?:(?:curve|on|rand(?:(?:i)?)|seg(?:(?:ba|[abr])?))?)))|f(?:a(?:reylen(?:(?:i)?)|ust(?:audio|c(?:ompile|tl)|dsp|gen|play))|ft(?:(?:inv)?)|i(?:close|l(?:e(?:bit|len|nchnls|peak|s(?:cal|r)|valid)|larray|ter2)|n(?:(?:[ik])?)|open)|l(?:a(?:nger|shtxt)|oo(?:per(?:(?:2)?)|r)|uid(?:AllOut|C(?:C(?:[ik])|ontrol)|Engine|Info|Load|Note|Out|ProgramSelect|SetInterpMethod))|m(?:a(?:nal|x)|b(?:3|ell)|in|metal|od|percfl|(?:rhod|voic|wurli)e)|o(?:f(?:2|ilter)|l(?:d|low(?:(?:2)?))|scil(?:(?:i)?)|ut(?:(?:ir|[ik])?)|[fg])|print(?:(?:(?:k)?)s)|r(?:a(?:c(?:(?:talnoise)?)|mebuffer)|eeverb)|t(?:audio|c(?:hnls|onv|ps)|exists|free|gen(?:(?:once|tmp)?)|l(?:en|oad(?:(?:k)?)|ptim)|morf|om|print|resize(?:(?:i)?)|s(?:a(?:mplebank|ve(?:(?:k)?))|et|lice(?:(?:i)?)|r)))|g(?:a(?:in(?:(?:slider)?)|uss(?:(?:i|trig)?))|buzz|e(?:n(?:array(?:(?:_i)?)|dy(?:(?:[cx])?))|t(?:c(?:fg|ol)|ftargs|row|seed))|ogobel|ra(?:in(?:(?:[23])?)|nule)|t(?:adsr|f)|uiro)|h(?:armon(?:(?:[234])?)|df5(?:read|write)|ilbert(?:(?:2)?)|rtf(?:early|move(?:(?:2)?)|reverb|stat)|sboscil|vs(?:[123])|ypot)|i(?:hold|mage(?:create|free|getpixel|load|s(?:ave|etpixel|ize))|n(?:(?:32|ch|it(?:(?:c(?:14|21|7))?)|let(?:kid|[afkv])|rg|s(?:global|remot)|te(?:g|r(?:leave|p))|value|[hoqstxz])?))|j(?:acktransport|itter(?:(?:2)?)|oystick|spline)|l(?:a(?:_(?:i_(?:a(?:dd_(?:m(?:[cr])|v(?:[cr]))|ssign_(?:m(?:[cr])|t|v(?:[cr])))|conjugate_(?:m(?:[cr])|v(?:[cr]))|d(?:i(?:stance_v(?:[cr])|vide_(?:m(?:[cr])|v(?:[cr])))|ot_(?:m(?:c_vc|r_vr|[cr])|v(?:[cr])))|get_(?:m(?:[cr])|v(?:[cr]))|invert_m(?:[cr])|l(?:ower_solve_m(?:[cr])|u_(?:det_m(?:[cr])|factor_m(?:[cr])|solve_m(?:[cr])))|m(?:c_(?:create|set)|r_(?:create|set)|ultiply_(?:m(?:[cr])|v(?:[cr])))|norm(?:1_(?:m(?:[cr])|v(?:[cr]))|_(?:euclid_(?:m(?:[cr])|v(?:[cr]))|inf_(?:m(?:[cr])|v(?:[cr]))|max_m(?:[cr])))|print_(?:m(?:[cr])|v(?:[cr]))|qr_(?:eigen_m(?:[cr])|factor_m(?:[cr])|sym_eigen_m(?:[cr]))|random_(?:m(?:[cr])|v(?:[cr]))|s(?:ize_(?:m(?:[cr])|v(?:[cr]))|ubtract_(?:m(?:[cr])|v(?:[cr])))|t(?:_assign|ra(?:ce_m(?:[cr])|nspose_m(?:[cr])))|upper_solve_m(?:[cr])|v(?:c_(?:create|set)|r_(?:create|set)))|k_(?:a(?:_assign|dd_(?:m(?:[cr])|v(?:[cr]))|ssign_(?:m(?:[cr])|v(?:[cr])|[aft]))|c(?:onjugate_(?:m(?:[cr])|v(?:[cr]))|urrent_(?:f|vr))|d(?:i(?:stance_v(?:[cr])|vide_(?:m(?:[cr])|v(?:[cr])))|ot_(?:m(?:c_vc|r_vr|[cr])|v(?:[cr])))|f_assign|get_(?:m(?:[cr])|v(?:[cr]))|invert_m(?:[cr])|l(?:ower_solve_m(?:[cr])|u_(?:det_m(?:[cr])|factor_m(?:[cr])|solve_m(?:[cr])))|m(?:c_set|r_set|ultiply_(?:m(?:[cr])|v(?:[cr])))|norm(?:1_(?:m(?:[cr])|v(?:[cr]))|_(?:euclid_(?:m(?:[cr])|v(?:[cr]))|inf_(?:m(?:[cr])|v(?:[cr]))|max_m(?:[cr])))|qr_(?:eigen_m(?:[cr])|factor_m(?:[cr])|sym_eigen_m(?:[cr]))|random_(?:m(?:[cr])|v(?:[cr]))|subtract_(?:m(?:[cr])|v(?:[cr]))|t(?:_assign|race_m(?:[cr]))|upper_solve_m(?:[cr])|v(?:(?:[cr])_set)))|g(?:(?:ud)?)|stcycle)|enarray|f(?:o|sr)|i(?:mit(?:(?:1)?)|n(?:cos|e(?:(?:n(?:(?:r)?)|to)?)|k_(?:beat_(?:force|(?:ge|reques)t)|create|enable|is_enabled|metro|peers|tempo_(?:(?:[gs])et))|lin|rand|seg(?:(?:[br])?))|veconv)|o(?:cs(?:end|ig)|g(?:(?:10|2|btwo|curve)?)|op(?:seg(?:(?:p)?)|(?:[tx])seg)|renz|scil(?:(?:(?:(?:3)?)phs|[3x])?)|w(?:pass2|res(?:(?:x)?)))|p(?:c(?:anal|filter)|f(?:18|orm|reson)|hasor|interp|oscil(?:(?:sa(?:(?:2)?)|[3a])?)|re(?:ad|son)|s(?:hold(?:(?:p)?)|lot))|ufs)|m(?:a(?:ca|dsr|gs|nd(?:(?:[eo])l)|parray(?:(?:_i)?)|rimba|ssign|x(?:_k|a(?:bs(?:(?:accum)?)|ccum|lloc|rray))|[cx])|clock|delay|e(?:dian(?:(?:k)?)|tro(?:(?:2|bpm)?))|fb|i(?:d(?:global|i(?:arp|c(?:14|21|7|h(?:annelaftertouch|n)|ontrolchange|trl)|default|filestatus|in|noteo(?:ff|n(?:cps|key|oct|pch))|o(?:n(?:(?:2)?)|ut(?:(?:_i)?))|p(?:gm|itchbend|olyaftertouch|rogramchange)|tempo)|remot)|n(?:(?:a(?:bs(?:(?:accum)?)|ccum|rray)|cer)?)|rror)|o(?:d(?:e|matrix)|nitor|og(?:(?:ladder(?:(?:2)?)|vcf(?:(?:2)?))?)|scil)|p(?:3(?:bitrate|in|len|nchnls|out|s(?:cal|r))|ulse)|rtmsg|s2st|to(?:[fn])|u(?:ltitap|te)|v(?:c(?:hpf|lpf(?:[1234]))|mfilter)|xadsr)|n(?:chnls_hw|estedap|l(?:alp|filt(?:(?:2)?))|o(?:ise|t(?:eo(?:ff|n(?:(?:dur(?:(?:2)?))?))|num))|r(?:everb|pn)|s(?:amp|t(?:ance|r(?:num|str)))|t(?:o(?:[fm])|rpol)|xtpow2)|o(?:ct(?:ave|cps|midi(?:(?:b|nn)?)|pch)|labuffer|sc(?:bnk|il(?:(?:1i|ikt(?:(?:[ps])?)|[13insx])?))|ut(?:(?:32|all|ch|i(?:at|c(?:(?:14)?)|p(?:at|[bc]))|k(?:at|c(?:(?:14)?)|p(?:at|[bc]))|let(?:kid|[afkv])|q(?:[1234])|rg|s(?:[12])|value|[choqsxz])?))|p(?:5g(?:connect|data)|a(?:n(?:(?:2)?)|r(?:eq|t(?:2txt|i(?:als|kkel(?:(?:get|s(?:et|ync))?))))|ssign|ulstretch)|c(?:auchy|h(?:bend|midi(?:(?:b|nn)?)|oct|tom)|o(?:nvolve|unt))|d(?:clip|half(?:(?:y)?))|eak|gm(?:(?:assig|ch)n)|h(?:as(?:er(?:[12])|or(?:(?:bnk)?))|s)|i(?:n(?:dex|k(?:er|ish))|tch(?:(?:a(?:c|mdf))?))|l(?:a(?:net|terev)|(?:ltra|u)ck)|o(?:isson|l(?:2rect|y(?:aft|nomial))|rt(?:(?:k)?)|scil(?:(?:3)?)|w(?:(?:ershape|oftwo|s)?))|r(?:e(?:alloc|piano)|int(?:(?:_type|array|f_i|k(?:s2|[2s])|ln|sk|[fks])?)|oduct)|set|t(?:ablew|rack)|uts|v(?:add|bufread|cross|interp|oc|read|s(?:2(?:array|tab)|a(?:dsyn|nal|rp)|b(?:and(?:width|[pr])|in|lur|uf(?:fer|read(?:(?:2)?)))|c(?:ale|e(?:nt|ps)|(?:f|ros)s)|d(?:emix|is(?:kin|p))|envftw|f(?:ilter|r(?:e(?:ad|eze)|omarray)|t(?:[rw])|write)|g(?:ain|endy)|hift|i(?:fd|n(?:(?:fo|it)?))|l(?:ock|pc)|m(?:aska|ix|o(?:(?:ot|rp)h))|o(?:sc|ut)|pitch|t(?:anal|encil|race)|voc|warp|ynth))|wd|y(?:assign(?:(?:[it])?)|call(?:(?:1(?:[it])|2(?:[it])|3(?:[it])|4(?:[it])|5(?:[it])|6(?:[it])|7(?:[it])|8(?:[it])|ni|[12345678int])?)|e(?:val(?:(?:[it])?)|xec(?:(?:[it])?))|init|l(?:assign(?:(?:[it])?)|call(?:(?:1(?:[it])|2(?:[it])|3(?:[it])|4(?:[it])|5(?:[it])|6(?:[it])|7(?:[it])|8(?:[it])|ni|[12345678int])?)|e(?:val(?:(?:[it])?)|xec(?:(?:[it])?))|run(?:(?:[it])?))|run(?:(?:[it])?)))|q(?:inf|nan)|r(?:2c|and(?:(?:om(?:(?:[hi])?)|[chi])?)|bjeq|e(?:ad(?:clock|fi|k(?:[234s])|sc(?:ore|ratch)|[fk])|ct2pol|lease|mo(?:teport|ve)|pluck|s(?:hapearray|on(?:(?:bnk|xk|[krxyz])?)|yn)|verb(?:(?:2|sc)?)|windscore|zzy)|fft|ifft|ms|nd(?:(?:31|seed)?)|ound|spline|tclock)|s(?:16b14|32b14|a(?:mphold|ndpaper)|c(?:_(?:lag(?:(?:ud)?)|phasor|trig)|a(?:le(?:(?:2|array)?)|n(?:hammer|map|smap|table|u2|[su]))|hed(?:kwhen(?:(?:named)?)|ule(?:(?:k)?)|when)|oreline(?:(?:_i)?))|e(?:ed|kere|lect|mitone|nse(?:(?:key)?)|q(?:time(?:(?:2)?)|u)|rial(?:Begin|End|Flush|Print|Read|Write(?:(?:_i)?))|t(?:c(?:(?:o|tr)l)|ksmps|row|scorepos))|f(?:i(?:list|nstr(?:(?:3m|[3m])?))|lo(?:ad|oper)|p(?:assign|l(?:ay(?:(?:3m|[3m])?)|ist)|reset))|h(?:aker|ift(?:in|out))|i(?:gnum|n(?:(?:h|inv|syn)?))|kf|l(?:eighbells|i(?:cearray(?:(?:_i)?)|der(?:16(?:(?:f|table(?:(?:f)?))?)|32(?:(?:f|table(?:(?:f)?))?)|64(?:(?:f|table(?:(?:f)?))?)|8(?:(?:f|table(?:(?:f)?))?)|Kawai)))|nd(?:loop|warp(?:(?:st)?))|o(?:ck(?:recv(?:(?:s)?)|send(?:(?:s)?))|rt(?:[ad])|undin)|p(?:a(?:ce|t3d(?:(?:[it])?))|dist|f|litrig|rintf(?:(?:k)?)|send)|q(?:rt|uinewave)|t(?:2ms|atevar|errain|ix|r(?:c(?:at(?:(?:k)?)|har(?:(?:k)?)|mp(?:(?:k)?)|py(?:(?:k)?))|e(?:cv|son)|fromurl|get|in(?:dex(?:(?:k)?)|g2array)|l(?:en(?:(?:k)?)|ower(?:(?:k)?))|rindex(?:(?:k)?)|s(?:et|trip|ub(?:(?:k)?))|to(?:(?:[dl])k|[dl])|upper(?:(?:k)?))|send)|u(?:binstr(?:(?:init)?)|m(?:(?:array)?))|v(?:filter|n)|y(?:nc(?:grain|loop|phasor)|stem(?:(?:_i)?)))|t(?:a(?:b(?:2(?:array|pvs)|_i|ifd|le(?:(?:3kt|copy|filter(?:(?:i)?)|gpw|i(?:copy|gpw|kt|mix)|kt|mix|ng|ra|s(?:eg|huffle(?:(?:i)?))|w(?:a|kt)|x(?:kt|seg)|[3iw])?)|morph(?:(?:ak|[ai])?)|play|rec|sum|w(?:(?:_i)?))|mbourine|n(?:h|inv(?:(?:2)?))|[bn])|bvcf|emp(?:est|o(?:(?:(?:sc|v)al)?))|i(?:me(?:dseq|inst(?:[ks])|[ks])|val)|lineto|one(?:(?:[kx])?)|r(?:a(?:dsyn|n(?:dom|seg(?:(?:[br])?)))|cross|filter|highest|i(?:g(?:Expseg|Linseg|expseg|ger|hold|linseg|phasor|seq)|m(?:(?:_i)?)|rand)|lowest|mix|s(?:cale|(?:hif|pli)t))|urno(?:ff(?:(?:2_i|[23])?)|n)|vconv)|u(?:n(?:irand|wrap)|psamp|r(?:andom|d))|v(?:a(?:ctrol|dd(?:(?:_i|v(?:(?:_i)?))?)|get|lpass|set)|bap(?:(?:gmove|lsinit|(?:(?:z)?)move|[gz])?)|c(?:ella|lpf|o(?:(?:2(?:(?:(?:f|i(?:f|ni))t)?)|mb|py(?:(?:_i)?))?))|d(?:el(?:_k|ay(?:(?:x(?:w(?:[qs])|[qsw])|[3kx])?))|ivv(?:(?:_i)?))|e(?:cdelay|loc|xp(?:(?:_i|seg|v(?:(?:_i)?))?))|i(?:b(?:es|r(?:(?:ato)?))|ncr)|l(?:i(?:mit|nseg)|owres)|m(?:ap|irror|ult(?:(?:_i|v(?:(?:_i)?))?))|o(?:ice|sim)|p(?:haseseg|o(?:rt|w(?:(?:_i|v(?:(?:_i)?))?))|s|voc)|rand(?:[hi])|subv(?:(?:_i)?)|tab(?:le(?:1k|w(?:[aik])|[aik])|w(?:[aik])|[aik])|wrap)|w(?:aveset|e(?:bsocket|ibull)|g(?:b(?:ow(?:(?:edbar)?)|rass)|clar|flute|pluck(?:(?:2)?)|uide(?:[12]))|i(?:i(?:connect|data|range|send)|ndow)|r(?:ap|itescratch)|terrain(?:(?:2)?))|x(?:adsr|in|out|tratim|yscale)|z(?:a(?:cl|kinit|mod|rg|wm|[rw])|df_(?:1pole(?:(?:_mode)?)|2pole(?:(?:_mode)?)|ladder)|filter2|i(?:wm|[rw])|k(?:cl|mod|wm|[rw]))|[Saikp])\\b|\\b(OSCsendA|array|b(?:e(?:adsynt|osc)|form(?:(?:de|en)c)|uchla)|copy2(?:(?:[ft])tab)|getrowlin|hrtfer|ktableseg|l(?:entab|ua_(?:exec|i(?:aopcall(?:(?:_off)?)|kopcall(?:(?:_off)?)|opcall(?:(?:_off)?))|opdef))|m(?:axtab|intab|p3scal_(?:check|load(?:(?:2)?)|play(?:(?:2)?)))|p(?:op(?:(?:_f)?)|table(?:(?:iw|[3i])?)|ush(?:(?:_f)?)|vsgendy)|s(?:calet|ignalflowgraph|ndload|o(?:cksend_k|undout(?:(?:s)?))|pec(?:addm|di(?:ff|sp)|filt|hist|ptrk|s(?:cal|um)|trum)|tack|um(?:TableFilter|tab)|ystime)|t(?:ab(?:gen|leiw|map(?:(?:_i)?)|rowlin|slice)|b(?:0_init|1(?:(?:(?:[012345])?)_init|[012345])|(?:[23456789])_init|[0123456789]))|vbap(?:1(?:6|move)|(?:[48])move|[48])|x(?:scan(?:map|smap|[su])|yin))\\b)(?:(\\:)([A-Za-z]))?","captures":{"1":{"name":"support.function.csound"},"2":{"name":"invalid.deprecated.csound"},"3":{"name":"punctuation.type-annotation.csound"},"4":{"name":"type-annotation.storage.type.csound"}}},{"name":"meta.other.csound","match":"\\b[A-Z_a-z]\\w*\\b"}]},"preprocessorDirectives":{"patterns":[{"name":"keyword.preprocessor.csound","match":"\\#(?:e(?:lse|nd(?:if)?)\\b|\\#\\#)|@+[ \\t]*\\d*"},{"begin":"\\#includestr","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"name":"string.includestr.csound","begin":"\"","end":"\"","patterns":[{"include":"#macroUses"},{"include":"#lineContinuations"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.includestr.preprocessor.csound"}}},{"begin":"\\#include","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"name":"string.include.csound","begin":"([^ \\t])","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.include.preprocessor.csound"}}},{"begin":"\\#[ \\t]*define","end":"(?\u003c=^\\#)|(?\u003c=[^\\\\]\\#)","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#macroNames"},{"begin":"\\(","end":"\\)","patterns":[{"name":"variable.parameter.preprocessor.csound","match":"[A-Z_a-z]\\w*\\b"}]},{"begin":"\\#","end":"(?\u003c!\\\\)\\#","patterns":[{"name":"constant.character.escape.csound","match":"\\\\\\#"},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.macro.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.macro.end.csound"}}}],"beginCaptures":{"0":{"name":"keyword.define.preprocessor.csound"}}},{"begin":"\\#(?:i(?:fn?def)|undef)","end":"$","patterns":[{"include":"#commentsAndMacroUses"},{"include":"#macroNames"}],"beginCaptures":{"0":{"name":"keyword.preprocessor.csound"}}}]},"quotedStringContents":{"patterns":[{"include":"#macroUses"},{"include":"#bracedStringContents"},{"include":"#lineContinuations"},{"name":"invalid.illegal.csound","match":"[^\"\\\\]*[^\\n\"\\\\]$"}]},"quotedStrings":{"patterns":[{"name":"string.quoted.csound","begin":"\"","end":"\"","patterns":[{"include":"#quotedStringContents"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound"}}}]},"semicolonComments":{"patterns":[{"name":"comment.line.semicolon.csound","begin":";","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.csound"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Curry","scopeName":"source.curry","patterns":[{"name":"meta.declaration.module.curry","begin":"^(module)\\b","end":"\\b(where)\\b|(^(?!\\s))","patterns":[{"include":"#module_name"},{"include":"#module_exports"},{"include":"#comments"},{"name":"invalid","match":"[a-z]+"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.module.curry"}},"endCaptures":{"1":{"name":"keyword.module.curry"}}},{"name":"meta.import.curry","begin":"^(import)\\b","end":"(^(?!\\s))","patterns":[{"name":"keyword.other.curry keyword.import.curry","match":"\\b(qualified|as|hiding)\\b"},{"include":"#module_name"},{"include":"#module_exports"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.import.curry"}}},{"name":"meta.preprocessor.c pragma.preprocessor.curry","begin":"^\\s*(#)\\s*\\w+","end":"$","beginCaptures":{"1":{"name":"punctuation.definition.preprocessor.c punctuation.pragma.preprocessor.curry"}}},{"include":"#pragma"},{"name":"meta.function.foreign-declaration.curry","begin":"^(foreign)\\s+(import|export)((\\s+\\w+))(\\s+\\\"(\\\\.|[^\\\"])*\\\")?\\s*","end":"^(?!\\s)","patterns":[{"include":"#foreign_function_signature"}],"beginCaptures":{"1":{"name":"keyword.declaration.foreign.curry"},"2":{"name":"keyword.declaration.foreign.curry"},"3":{"name":"keyword.declaration.foreign.curry"},"5":{"name":"string.quoted.double.curry"}}},{"include":"#type_declarations"},{"include":"#function_declarations"},{"include":"#expression_stuff"}],"repository":{"block_comment":{"name":"comment.block.curry","begin":"\\{-(?!#)","end":"(?\u003c!#)-\\}","patterns":[{"include":"#block_comment"},{"include":"#comments"}],"captures":{"0":{"name":"punctuation.comment.curry"}},"applyEndPatternLast":true},"class_declaration":{"name":"meta.declaration.class.curry","begin":"^(\\s*)(class)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.class.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.class.curry"}}},"comments":{"patterns":[{"name":"comment.line.curry","match":"(---*(?!([!#\\$%\u0026\\*\\+\\./\u003c=\u003e\\?@\\\\\\^\\|\\-~:]|[^[^\\p{S}\\p{P}]_\"'\\(\\),;\\[\\]`\\{}]))).*$\\n?","captures":{"1":{"name":"punctuation.comment.curry"}}},{"include":"#block_comment"}]},"common_keywords":{"name":"keyword.other.curry","match":"\\b(where|case|fcase|of|let|in|default|do|mdo|if|then|else|free)\\b"},"constructor_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s+)([A-Z][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\1\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"constant.other.curry entity.name.constructor.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"ctor_names":{"patterns":[{"name":"constant.other.curry entity.name.constructor.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"}]},"data_declaration":{"name":"meta.declaration.data.curry","begin":"^(\\s*)(data|newtype)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"name":"keyword.declaration.data.curry","match":"where"},{"begin":"([=\\|])","end":"(?\u003c!')\\b([A-Z][\\w']*)","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"constant.other.curry entity.name.constructor.curry"}}},{"include":"#deriving"},{"include":"#constructor_signature"},{"include":"#record_declaration"},{"include":"#comments"},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.data.curry"},"3":{"name":"constant.other.curry entity.name.type.curry"}}},"deriving":{"name":"keyword.other.curry keyword.declaration.data.curry","match":"\\b(deriving)\\b"},"expression_stuff":{"patterns":[{"name":"storage.module.curry entity.name.module.curry","match":"([A-Z][\\w']*\\.)+"},{"name":"support.function.prelude.curry","match":"\\b(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|truncate|uncurry|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b"},{"name":"support.function.prelude.curry invalid.curry","match":"\\b(error|undefined)\\b"},{"include":"#infix_op"},{"name":"keyword.operator.curry punctuation.list.curry","match":"\\[|\\]"},{"name":"punctuation.separator.comma.curry","match":","},{"name":"keyword.operator.function.infix.curry","match":"(`)([A-Z][\\w']*\\.)*[a-z][\\w']*(`)","captures":{"1":{"name":"punctuation.definition.entity.curry"},"3":{"name":"punctuation.definition.entity.curry"}}},{"name":"record.expression.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"match":"(?\u003c!')\\b[a-z][\\w']+\\s+(=)","captures":{"2":{"name":"keyword.operator.curry"}}},{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\[\\]"},{"include":"#comments"},{"name":"keyword.operator.curry","match":"[@|!%$?~+:.\\-*=\u003c/\u003e\\\\∘→⇒⇔←⇐≤≥≡⋮\\[\\]]+"},{"include":"#common_keywords"},{"include":"#literals"},{"include":"#quasi_quote"},{"include":"#ctor_names"}]},"external_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(external)\\b","end":"^(?!\\s)","beginCaptures":{"1":{"name":"entity.name.function.curry"},"2":{"name":"keyword.declaration.external.curry"}}},"field_signature":{"name":"meta.declaration.field.curry","begin":"(?=.*?((::)|∷))","end":"(?=[,}])","patterns":[{"name":"meta.declaration.field.signature.curry","begin":"((::)|∷)","end":"(?=[,}])","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.other.double-colon.curry"}}},{"name":"entity.name.function.curry","match":"((?\u003c!')\\b[a-z_][\\w']*|\\(\\W+\\))"}]},"fixity_declaration":{"name":"keyword.declaration.fixity.curry","match":"\\binfix[lr]?\\b"},"foreign_function_signature":{"name":"meta.declaration.function.curry","begin":"(\\s*)([a-z_][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"function_declarations":{"patterns":[{"include":"#function_signature"},{"include":"#function_definition"},{"include":"#infix_function_definition"},{"include":"#external_function_definition"},{"include":"#fixity_declaration"}]},"function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(?![^\\w\\s='\"\\(\\[])(?=((([\\w\\.,'\"_]+|(?:\\w+\\@)?\\(.*\\)|\\[.*\\])\\s+)*[=\\|]))","end":"(=)","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"entity.name.function.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"function_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s*)(?!--)(?:(\\(\\W\\)|[\\w']+)|[\\(\\[])(?=[\\w',\\s\\[\\]\\(\\)]*((?:::)|∷))","end":"^(?!\\1\\s)|(?=})","patterns":[{"name":"meta.declaration.function.names.curry","begin":"(?=.*((::)|∷))","end":"((::)|∷)","patterns":[{"name":"entity.name.function.curry","match":"((?\u003c!')\\b[a-z_][\\w']*|\\(\\W+\\))"}],"endCaptures":{"1":{"name":"keyword.other.double-colon.curry"}}},{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"}}},"infix_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=(([\\w'\\.'\"]+|(?:\\w+@)?\\(.*\\)|\\[.*\\])\\s+)+([^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)((\\s*[\\w'\\.'\"]+|\\s*(?:\\w+@)?\\(.*\\)|\\s*\\[.*\\]))+\\s*=)","end":"( [^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)","patterns":[{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"entity.name.function.curry"}}},"infix_op":{"name":"keyword.operator.curry","match":"(\\([^\\w \\)]+\\)|\\(,+\\))"},"instance_declaration":{"name":"meta.declaration.instance.curry","begin":"^(\\s*)(instance)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#type"},{"include":"#comments"}],"beginCaptures":{"2":{"name":"keyword.declaration.instance.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.instance.curry"}}},"literals":{"patterns":[{"name":"constant.numeric.curry","match":"\\b([0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b"},{"name":"constant.numeric.curry","match":"\\b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\\b"},{"name":"string.quoted.double.curry","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.curry","match":"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026])"},{"name":"constant.character.escape.octal.curry","match":"\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+"},{"name":"constant.character.escape.control.curry","match":"\\^[A-Z@\\[\\]\\\\\\^_]"}]},{"name":"string.quoted.single.curry","match":"(?x)\n (')\n (?:\n [\\ -\u0026(-\\[\\]-~\"] # Basic Char\n | (\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE\n |DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS\n |US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026])) # Escapes\n | (\\\\o[0-7]+) # Octal Escapes\n | (\\\\x[0-9A-Fa-f]+) # Hexadecimal Escapes\n | (\\^[A-Z@\\[\\]\\\\\\^_]) # Control Chars\n )\n (')\n ","captures":{"2":{"name":"constant.character.escape.curry"},"3":{"name":"constant.character.escape.octal.curry"},"4":{"name":"constant.character.escape.hexadecimal.curry"},"5":{"name":"constant.character.escape.control.curry"}}}]},"module_exports":{"name":"meta.declaration.exports.curry","begin":"(\\()","end":"(\\))","patterns":[{"name":"constant.character.escape.multilinestring.curry","begin":"\\\\\\s*$","end":"\\\\"},{"name":"entity.name.function.curry","match":"(?\u003c!')\\b[a-z][\\w']*"},{"name":"meta.declaration.export.data.curry","begin":"(?\u003c!')\\b([A-Z][\\w']*)\\s*(\\()","end":"(\\))","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"storage.type.curry entity.name.data.curry"},"2":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"storage.type.curry entity.name.data.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"punctuation.separator.comma.curry","match":","},{"include":"#infix_op"},{"name":"meta.other.unknown.curry","match":"\\(.*?\\)"},{"include":"#module_exports"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"storage.module.curry"}},"endCaptures":{"1":{"name":"storage.module.curry"}}},"module_name":{"name":"storage.module.curry","match":"([A-Z][\\w']*)(\\.[A-Z][\\w']*)*"},"pattern_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=\\(.*\\)|\\[.*\\]|([A-Z][\\w']*(\\s+([\\w\\s,']*|\\(.*\\)|\\[.*\\]|\\{.*\\}))*)\\s*=)","end":"(=)","patterns":[{"match":"(?\u003c!')\\b([a-z_][\\w']*)\\b","captures":{"1":{"name":"entity.name.function.curry"}}},{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"pragma":{"name":"pragma.curry","begin":"(\\{-#)\\s+([A-Z_]+)\\b","end":"#-\\}","patterns":[{"name":"keyword.other.preprocessor.curry pragma.support.language.curry","match":"\\b([A-Z][a-z]*)+\\b"},{"name":"keyword.other.preprocessor.curry pragma.support.flag.curry","match":"(-+[a-z]+)+"}],"beginCaptures":{"1":{"name":"punctuation.pragma.curry"},"2":{"name":"keyword.preprocessor.curry pragma.name.curry"}}},"quasi_quote":{"name":"string.quoted.quasi.curry","begin":"(\\[)([a-z]\\w*)?(\\|)","end":"(\\|\\])","beginCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"},"2":{"name":"entity.name.function.curry"},"3":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}},"endCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}}},"record_declaration":{"name":"meta.declaration.record.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"include":"#field_signature"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},"type":{"patterns":[{"name":"keyword.operator.arrow.curry","match":"-\u003e|→"},{"name":"keyword.operator.big-arrow.curry","match":"=\u003e|⇒"},{"name":"storage.type.curry support.type.curry","match":"\\b(Int(eger)?|Maybe|Either|Bool|Float|Double|Char|String|Ordering|ShowS|ReadS|FilePath|IO(Error)?)\\b"},{"name":"variable.generic.curry","match":"(?\u003c!')\\b[a-z][\\w']*\\b"},{"name":"storage.type.curry","match":"(?\u003c!')\\b[A-Z][\\w']*\\b"},{"name":"storage.type.curry","match":"\\(\\)"},{"name":"meta.type_signature.brace.curry","begin":"(\\()","end":"(\\))","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"meta.type_signature.list.curry","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"include":"#comments"}]},"type_declaration":{"name":"meta.declaration.type.curry","begin":"^(\\s*)(type)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"include":"#comments"},{"name":"keyword.operator.curry","match":"="},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.data.curry"},"3":{"name":"constant.other.curry entity.name.type.curry"}}},"type_declarations":{"patterns":[{"include":"#data_declaration"},{"include":"#type_declaration"},{"include":"#class_declaration"},{"include":"#instance_declaration"}]}}}
@@ -1 +1 @@
1
- {"name":"DataWeave","scopeName":"source.data-weave","patterns":[{"include":"#comments"},{"include":"#directives"},{"name":"keyword.operator.body-marker.dw","match":"(---)"},{"include":"#expressions"},{"name":"invalid","match":"([^\\s]+)"}],"repository":{"array-literal":{"name":"meta.array.literal.dw","begin":"(?\u003c!\\w|}|])(\\[)","end":"\\]","patterns":[{"include":"#expressions"},{"include":"#punctuation-comma"}],"beginCaptures":{"0":{"name":"meta.brace.square.dw"}},"endCaptures":{"0":{"name":"meta.brace.square.dw"}}},"attr-literal":{"name":"meta.attributes.dw","begin":"\\@\\(","end":"\\)","patterns":[{"include":"#object-member"}],"beginCaptures":{"0":{"name":"keyword.operator.attributes.dw"}},"endCaptures":{"0":{"name":"keyword.operator.attributes.dw"}}},"case-clause":{"name":"case-clause.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(case|else(?=\\s*-\u003e))\\b(?!\\$|\\.)","end":"\\-\\\u003e","patterns":[{"begin":"(?\u003c!\\.|\\$)\\b(is)\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.control.is.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b(matches)\\b","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.matches.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b([A-Za-z][a-zA-Z0-9_]*)\\s*:\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"entity.name.variable.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b([A-Za-z][a-zA-Z0-9_]*)\\s*(if|matches)\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"entity.name.variable.dw"},"2":{"name":"keyword.control.if.dw"}}},{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.switch.dw"}},"endCaptures":{"0":{"name":"keyword.control.switch.dw"}}},"cast":{"begin":"(?\u003c!\\.|\\$)\\b(as|is)\\s+","end":"(?=$|^|[;,:})\\]\\s])","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.control.as.dw"}}},"comments":{"patterns":[{"name":"comment.block.dw","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.dw"}}},{"match":"\\s*((//).*$\\n?)","captures":{"1":{"name":"comment.line.double-slash.dw"},"2":{"name":"punctuation.definition.comment.dw"}}}]},"constants":{"patterns":[{"name":"constant.language.dw","match":"\\b(true|false|null)\\b"},{"name":"constant.numeric.dw","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b"},{"begin":"\\|","end":"\\|","patterns":[{"name":"constant.numeric.dw","match":"([0-9]+)"},{"name":"constant.character.escape.dw","match":"([+:\\-WYMDTHSPZ\\.])"},{"name":"invalid","match":"([^\\|])"}],"beginCaptures":{"0":{"name":"constant.numeric.dw"}},"endCaptures":{"0":{"name":"constant.numeric.dw"}}}]},"directives":{"patterns":[{"include":"#dw-directive"},{"include":"#import-directive"},{"include":"#type-directive"},{"include":"#fun-directive"},{"include":"#var-directive"},{"include":"#ns-directive"},{"include":"#input-directive"},{"include":"#output-directive"}]},"do-statement":{"name":"do-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(do)\\s*(\\{)","end":"(\\})","patterns":[{"include":"#comments"},{"include":"#directives"},{"name":"keyword.operator.body-marker.dw","match":"(---)"},{"include":"#expressions"},{"name":"invalid","match":"([^\\s]+)"}],"beginCaptures":{"1":{"name":"keyword.control.do.dw"},"2":{"name":"punctuation.definitions.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definitions.end.dw"}}},"dw-directive":{"name":"meta.directive.version.dw","begin":"(?\u003c!\\.|\\$)(%dw)\\s+([0-9]\\.[0-9])(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"comment.dw"},"2":{"name":"comment.dw"}}},"expressions":{"name":"expression","patterns":[{"name":"keyword.other.dw","match":"\\b(not)\\s+"},{"include":"#paren-expression"},{"include":"#strings"},{"include":"#constants"},{"include":"#comments"},{"include":"#match-statement"},{"include":"#using-statement"},{"include":"#do-statement"},{"include":"#if-statement"},{"include":"#regex"},{"include":"#keywords"},{"include":"#object-literal"},{"include":"#array-literal"},{"include":"#cast"},{"include":"#object-member"},{"include":"#variable-reference"},{"include":"#selectors"},{"include":"#directives"},{"include":"#infix"}]},"fun-directive":{"name":"meta.directive.fun.dw","begin":"(\\s*(fun)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(=)","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"begin":"\\(","end":"\\)","patterns":[{"include":"#parameters"}]},{"begin":"(:)","end":"(?==)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.function.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"function_call":{"name":"function_call","begin":"\\s*\\(","end":"\\s*\\)","patterns":[{"include":"#punctuation-comma"},{"include":"#expressions"}]},"generics":{"patterns":[{"begin":"(:)","end":"(?=,|\u003e)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"keyword.operator.extends.dw","match":"\u003c:"},{"include":"#keywords"},{"name":"entity.name.type.parameter.dw","match":"\\w+"}]},"if-statement":{"name":"meta.if.dw","begin":"(?\u003c!\\.|\\$)\\b(if\\s*)\\(","end":"\\)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.if.dw"}}},"import-directive":{"name":"meta.directive.import.dw","begin":"(\\s*(import)\\s+)","end":"(?=(fun|input|output|type|var|ns|import|%dw|private|---)\\s|$)","patterns":[{"include":"#comments"},{"match":"(,)"},{"match":"(\\*)"},{"match":"\\b(from)\\s+","captures":{"1":{"name":"storage.type.dw"}}},{"name":"entity.name.other.dw","match":"(?:[a-zA-Z][a-zA-Z0-9]*(?:::[a-zA-Z][a-zA-Z0-9]*)*)\n"},{"match":"\\s+(as)\\s+([a-zA-Z][a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.other.dw"},"2":{"name":"entity.name.other.dw"}}}],"beginCaptures":{"2":{"name":"storage.type.dw"}}},"infix":{"name":"support.function.dw","match":"(?\u003c!^|,|\\[|\\(|=|\\+|\u003e|\u003c|\\-|\\*|:|\\{|case|is|else|not|as|and|or)(?\u003c=[a-zA-Z0-9_$\\}\\])\"'`|/])\\s*(?!(var|match|case|else|fun|input|output|is|as|default|ns|import|null|false|true|using|do|not|and|or)\\s)(\\+\\+|\\-\\-|[a-zA-Z][a-zA-Z_0-9]*)(\\s+|\\s*(?=[\"'/|{]))"},"input-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(input)\\s+([[:alpha:]][[:alnum:]]*)\\s*","end":"(?=\\n)","patterns":[{"begin":"(\\:\\s*)","end":"(\\s|\\n)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.other.dw"}}},{"name":"string.mime.dw","match":"([^{\\n\\s])"}],"beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"entity.name.variable.dw"}}},"keywords":{"patterns":[{"name":"keyword.reserved.dw","match":"\\b(throw|for|yield|enum|private|async)\\b"},{"name":"invalid","match":"\\b(not)\\b"},{"name":"keyword.control.dw","match":"\\b(if|else|while|for|do|using|unless|default)\\b"},{"name":"keyword.operator.comparison.dw","match":"(~=|==|!=|!=|\u003c=|\u003e=|\u003c|\u003e)"},{"name":"keyword.operator.assignment.dw","match":"(=)"},{"name":"keyword.operator.declaration.dw","match":"(:)"},{"name":"keyword.operator.arithmetic.dw","match":"(\\-|\\+|\\*|\\/)"},{"name":"keyword.other.dw","match":"\\b(and|or)\\b"}]},"match-block":{"name":"match-block.expr.dw","begin":"\\{","end":"(?=\\})","patterns":[{"include":"#case-clause"},{"include":"#expressions"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.dw"}}},"match-statement":{"name":"match-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(match)\\s*(?=\\{)","end":"\\}","patterns":[{"include":"#match-block"}],"beginCaptures":{"1":{"name":"keyword.control.switch.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.block.dw"}}},"ns-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(ns)\\s+([A-Za-z][a-zA-Z0-9_]*)\\s+([^\\n]*)(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"entity.name.namespace.dw"},"3":{"name":"meta.definition.ns.dw string.url.dw"}}},"object-key":{"patterns":[{"name":"meta.object.member.dw meta.object-literal.namespace.dw","match":"\\b([[:alpha:]][_[:alnum:]]+#)","captures":{"0":{"name":"variable.language.dw"}}},{"name":"meta.object.member.dw meta.object-literal.key.dw","begin":"(?=[\\'\\\"\\`])","end":"(?=@\\(|:)","patterns":[{"include":"#strings"}]},{"name":"meta.object.member.dw","match":"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:|@\\()","end":"(?=,|\\}|\\))","captures":{"1":{"name":"meta.object-literal.key.dw"}}}]},"object-literal":{"name":"meta.objectliteral.dw","begin":"\\{","end":"\\}","patterns":[{"include":"#object-member"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.dw"}},"endCaptures":{"0":{"name":"punctuation.definition.block.dw"}}},"object-member":{"patterns":[{"include":"#comments"},{"include":"#paren-expression"},{"begin":"\\s+if\\b","end":"(?=,|})","patterns":[{"include":"#expressions"}],"beginCaptures":{"0":{"name":"keyword.control.dw"}}},{"include":"#object-key"},{"include":"#attr-literal"},{"include":"#object-member-body"},{"include":"#punctuation-comma"}]},"object-member-body":{"name":"meta.object.member.dw","begin":":","end":"(?=,|\\}|\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"0":{"name":"meta.object-literal.key.dw punctuation.separator.key-value.dw"}}},"object-member-type":{"patterns":[{"include":"#comments"},{"name":"variable.language.dw","match":"_"},{"name":"variable.language.dw","match":"([a-zA-Z0-9]+#)"},{"name":"entity.name.type.dw","match":"\\(\\s*([a-zA-Z][a-zA-Z0-9]*)\\s*\\)"},{"name":"meta.object.member.dw","match":"([a-zA-Z][a-zA-Z0-9]*)"},{"include":"#strings"},{"name":"keyword.operator.optional.dw","match":"\\?"},{"name":"keyword.operator.optional.dw","match":"\\*"},{"begin":"(\\@\\()","end":"(\\))","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}],"beginCaptures":{"1":{"name":"keyword.operator.attributes.dw"}},"endCaptures":{"1":{"name":"keyword.operator.attributes.dw"}}},{"begin":"(:)","end":"(?=,|}|\\)|\\|}|\\-}|\\|\\-})","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"invalid","match":"([^\\s])"}]},"output-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(output)\\s+([^\\n{\\s]*)(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"string.other.dw"}}},"parameters":{"patterns":[{"begin":"(:)","end":"(?=,|\\)|=)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"begin":"(=)","end":"(?=,|\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"variable.parameter.dw","match":"\\w+"}]},"paren-expression":{"begin":"(\\()","end":"(\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"punctuation.expression.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.expression.end.dw"}}},"punctuation-comma":{"name":"punctuation.separator.comma.dw","match":","},"qstring-backtick":{"begin":"`","end":"`","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.template.dw","match":"([^`])"}],"beginCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.end.dw"}}},"qstring-double":{"begin":"\"","end":"\"","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.quoted.double.dw","match":"([^\"])"}],"beginCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.end.dw"}}},"qstring-single":{"begin":"'","end":"(\\')|((?:[^\\\\\\n])$)","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.quoted.single.dw","match":"([^'])"}],"beginCaptures":{"0":{"name":"string.quoted.single.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"string.quoted.single.dw punctuation.definition.string.end.dw"},"2":{"name":"invalid.illegal.newline.dw"}}},"regex":{"patterns":[{"name":"string.regexp.dw","begin":"(?\u003c=[=(:,\\[?+!]|replace|match|scan|matches|contains|---|case|-\u003e|and|or|\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\])+\\/(?![\\/*])(?!\\s*[a-zA-Z0-9_$]))","end":"(/)","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.dw"}}},{"name":"string.regexp.dw","begin":"(?\u003c![_$[:alnum:])])\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\])+\\/(?![\\/*])(?!\\s*[a-zA-Z0-9_$]))","end":"(/)","patterns":[{"include":"#regexp"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.dw"}}}]},"regex-character-class":{"patterns":[{"name":"constant.other.character-class.regexp","match":"\\\\[wWsSdDtrnvf]|\\."},{"name":"constant.character.numeric.regexp","match":"\\\\([0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]])"},{"name":"constant.character.control.regexp","match":"\\\\c[A-Z]"},{"name":"constant.character.escape.backslash.regexp","match":"\\\\."}]},"regexp":{"patterns":[{"name":"keyword.control.anchor.regexp","match":"\\\\[bB]|\\^|\\$"},{"name":"keyword.other.back-reference.regexp","match":"\\\\[1-9]\\d*"},{"name":"keyword.operator.quantifier.regexp","match":"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??"},{"name":"keyword.operator.or.regexp","match":"\\|"},{"name":"meta.group.assertion.regexp","begin":"(\\()((\\?=)|(\\?!))","end":"(\\))","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}}},{"name":"meta.group.regexp","begin":"\\((\\?:)?","end":"\\)","patterns":[{"include":"#regexp"}],"beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}}},{"name":"constant.other.character-class.set.regexp","begin":"(\\[)(\\^)?","end":"(\\])","patterns":[{"name":"constant.other.character-class.range.regexp","match":"(?:.|(\\\\(?:[0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]))|(\\\\c[A-Z])|(\\\\.))","captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}}},{"include":"#regex-character-class"}],"beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}}},{"include":"#regex-character-class"}]},"selectors":{"name":"meta.selector.data-weave","begin":"(?\u003c![\\[\\(:+*/\\-])(\\s*\\.\\.\\*|\\s*\\.\\.|\\s*\\.\\*|\\s*\\.\\@|\\s*\\.#|\\s*\\.\u0026|\\s*\\.|(?=\\[)|\\:\\:)","end":"(?=\\s|,|\\}|\\)|\\n|\\]|\\(|-|$)","patterns":[{"name":"meta.object.member.dw","match":"\\b([[:alpha:]][_[:alnum:]]+#)","captures":{"0":{"name":"variable.language.dw"}}},{"name":"meta.object.member.dw","match":"((?:[A-Za-z])([a-zA-Z0-9_]*)[?!]?|(\\$)+)"},{"include":"#strings"},{"begin":"(\\[(@|\\^)?)","end":"(\\])","patterns":[{"include":"#expressions"},{"name":"invalid","match":"([\\)])"}]},{"include":"#selectors"}]},"string-character-escape":{"name":"constant.character.escape.dw","match":"\\\\(u[[:xdigit:]]{4}|$|.)"},"strings":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#qstring-backtick"},{"include":"#template"}]},"template":{"begin":"([$[:alpha:]][_$[:alnum:]]*)\\s*(`)","end":"`","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.template.dw","match":"([^`])"}],"beginCaptures":{"1":{"name":"support.function.dw"},"2":{"name":"string.template.dw punctuation.definition.string.template.begin.dw"}},"endCaptures":{"0":{"name":"string.template.dw punctuation.definition.string.template.end.dw"}}},"template-dollar":{"patterns":[{"name":"variable.parameter.dw","match":"(\\$(\\$)+)"},{"name":"variable.parameter.dw","match":"(\\$)(?![a-zA-Z(])"},{"name":"variable.parameter.dw","match":"(\\$)([a-zA-Z][a-zA-Z0-9_]*)","captures":{"1":{"name":"keyword.other.dw"},"2":{"name":"variable.other.dw"}}}]},"template-substitution-element":{"name":"meta.template.expression.dw","begin":"\\$\\(","end":"\\)","patterns":[{"include":"#expressions"}],"beginCaptures":{"0":{"name":"keyword.other.dw"}},"endCaptures":{"0":{"name":"keyword.other.dw"}}},"type-directive":{"name":"meta.directive.type.dw","begin":"(\\s*(type)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(?=(fun|input|output|type|var|ns|import|%dw|private|---)\\s)","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"name":"keyword.other.dw","match":"\\="},{"include":"#types"}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.type.dw"}}},"types":{"patterns":[{"include":"#comments"},{"name":"support.class.dw","match":"\\b(String|Boolean|Number|Range|Namespace|Uri|DateTime|LocalDateTime|Date|LocalTime|Time|TimeZone|Period|Binary|Null|Regex|Nothing|Any|Object|Key)\\b"},{"begin":"\\b(Array|Type)\\s*\u003c\\b","end":"\u003e","patterns":[{"name":"invalid","match":","},{"include":"#types"}],"beginCaptures":{"1":{"name":"support.type.dw"}}},{"name":"keyword.operator.declaration.dw","match":"(\u0026|\\|)"},{"name":"keyword.operator.declaration.dw","match":"\u003c:"},{"name":"support.class.dw","match":"\\b([A-Z][a-zA-Z0-9_]*)"},{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#types"},{"include":"#punctuation-comma"},{"include":"#comments"}]},{"begin":"\\(","end":"(\\)\\s*\\-\\\u003e)","patterns":[{"include":"#types"},{"include":"#parameters"}],"beginCaptures":{"1":{"name":"keyword.operator.tuple.dw"}}},{"begin":"\\{\\-\\|","end":"\\|\\-\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{\\|","end":"\\|\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{\\-","end":"\\-\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{","end":"\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\(","end":"\\)","patterns":[{"include":"#types"}]},{"match":"\\b(var|fun|ns)\\b"},{"name":"invalid","match":"\\b(input|output|var|ns|import|try|catch|throw|do|for|yield|enum|private|async)\\b"},{"name":"invalid","match":"\\b(if|else|while|for|do|using|unless|default|match)\\b"},{"name":"invalid","match":"(~=|==|!=|===|!==|\u003c=|\u003e=|\u003c|\u003e|\\$+)"}]},"using-statement":{"name":"using-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(using)\\s*(\\()","end":"(\\))","patterns":[{"match":"((?:\\+\\+|\\-\\-|[A-Za-z])(?:[a-zA-Z0-9_]*))(\\s*=)","captures":{"1":{"name":"entity.name.variable.dw"},"2":{"name":"keyword.operator.dw"}}},{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.using.dw"},"2":{"name":"punctuation.definitions.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definitions.end.dw"}}},"var-directive":{"name":"meta.directive.var.dw","begin":"(\\s*(var)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(=)","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"begin":"(:)","end":"(?==|$)","patterns":[{"include":"#comments"},{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.variable.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"variable-reference":{"patterns":[{"name":"variable.other.dw","match":"\\b(?!(fun|input|output|type|var|ns|import|%dw|private|---)\\b)((\\+\\+|\\-\\-|[A-Za-z])[a-zA-Z0-9_]*)"},{"name":"invalid","match":"\\b(fun|input|output|type|var|ns|import|private)\\b"},{"name":"variable.parameter.dw","match":"(\\$+)"}]}}}
1
+ {"name":"DataWeave","scopeName":"source.data-weave","patterns":[{"include":"#comments"},{"include":"#directives"},{"name":"keyword.operator.body-marker.dw","match":"(---)"},{"include":"#expressions"},{"name":"invalid","match":"([^\\s]+)"}],"repository":{"annotation-directive":{"name":"meta.directive.annot.dw","begin":"(\\s*(annotation)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(?=\\n)","patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"#parameters"}]}],"beginCaptures":{"2":{"name":"storage.type.annotation.dw"},"3":{"name":"entity.name.function.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"annotation-usage":{"name":"meta.annot.usage.dw","begin":"(\\s*(\\@)([a-zA-Z][a-zA-Z0-9]*))","end":"(?=\\n)","patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"#parameters"}]}],"beginCaptures":{"2":{"name":"storage.type.annotation.dw"},"3":{"name":"entity.name.function.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"array-literal":{"name":"meta.array.literal.dw","begin":"(?\u003c!\\w|}|])(\\[)","end":"\\]","patterns":[{"include":"#expressions"},{"include":"#punctuation-comma"}],"beginCaptures":{"0":{"name":"meta.brace.square.dw"}},"endCaptures":{"0":{"name":"meta.brace.square.dw"}}},"attr-literal":{"name":"meta.attributes.dw","begin":"\\@\\(","end":"\\)","patterns":[{"include":"#object-member"}],"beginCaptures":{"0":{"name":"keyword.operator.attributes.dw"}},"endCaptures":{"0":{"name":"keyword.operator.attributes.dw"}}},"case-clause":{"name":"case-clause.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(case|else(?=\\s*-\u003e))\\b(?!\\$|\\.)","end":"\\-\\\u003e","patterns":[{"begin":"(?\u003c!\\.|\\$)\\b(is)\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.control.is.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b(matches)\\b","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.matches.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b([A-Za-z][a-zA-Z0-9_]*)\\s*:\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"entity.name.variable.dw"}}},{"begin":"(?\u003c!\\.|\\$)\\b([A-Za-z][a-zA-Z0-9_]*)\\s*(if|matches)\\s+","end":"(?=\\-\\\u003e)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"entity.name.variable.dw"},"2":{"name":"keyword.control.if.dw"}}},{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.switch.dw"}},"endCaptures":{"0":{"name":"keyword.control.switch.dw"}}},"cast":{"begin":"(?\u003c!\\.|\\$)\\b(as|is)\\s+","end":"(?=$|^|[;,:})\\]\\s])","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.control.as.dw"}}},"comments":{"patterns":[{"name":"comment.block.dw","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.dw"}}},{"match":"\\s*((//).*$\\n?)","captures":{"1":{"name":"comment.line.double-slash.dw"},"2":{"name":"punctuation.definition.comment.dw"}}}]},"constants":{"patterns":[{"name":"constant.language.dw","match":"\\b(true|false|null)\\b"},{"name":"constant.numeric.dw","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b"},{"begin":"\\|","end":"\\|","patterns":[{"name":"constant.numeric.dw","match":"([0-9]+)"},{"name":"constant.character.escape.dw","match":"([+:\\-WYMDTHSPZ\\.])"},{"name":"invalid","match":"([^\\|])"}],"beginCaptures":{"0":{"name":"constant.numeric.dw"}},"endCaptures":{"0":{"name":"constant.numeric.dw"}}}]},"directives":{"patterns":[{"include":"#dw-directive"},{"include":"#import-directive"},{"include":"#type-directive"},{"include":"#fun-directive"},{"include":"#var-directive"},{"include":"#ns-directive"},{"include":"#input-directive"},{"include":"#output-directive"},{"include":"#annotation-usage"},{"include":"#annotation-directive"}]},"do-statement":{"name":"do-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(do)\\s*(\\{)","end":"(\\})","patterns":[{"include":"#comments"},{"include":"#directives"},{"name":"keyword.operator.body-marker.dw","match":"(---)"},{"include":"#expressions"},{"name":"invalid","match":"([^\\s]+)"}],"beginCaptures":{"1":{"name":"keyword.control.do.dw"},"2":{"name":"punctuation.definitions.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definitions.end.dw"}}},"dw-directive":{"name":"meta.directive.version.dw","begin":"(?\u003c!\\.|\\$)(%dw)\\s+([0-9]\\.[0-9])(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"comment.dw"},"2":{"name":"comment.dw"}}},"expressions":{"name":"expression","patterns":[{"name":"keyword.other.dw","match":"\\b(not)\\s+"},{"include":"#undefined-fun-character"},{"include":"#paren-expression"},{"include":"#strings"},{"include":"#constants"},{"include":"#comments"},{"include":"#match-statement"},{"include":"#using-statement"},{"include":"#do-statement"},{"include":"#if-statement"},{"include":"#regex"},{"include":"#keywords"},{"include":"#object-literal"},{"include":"#array-literal"},{"include":"#cast"},{"include":"#object-member"},{"include":"#variable-reference"},{"include":"#selectors"},{"include":"#directives"},{"include":"#infix"}]},"fun-directive":{"name":"meta.directive.fun.dw","begin":"(\\s*(fun)\\s+([a-zA-Z][a-zA-Z0-9_]*|--|\\+\\+))","end":"(=)","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"begin":"\\(","end":"\\)","patterns":[{"include":"#parameters"}]},{"begin":"(:)","end":"(?==)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.function.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"function_call":{"name":"function_call","begin":"\\s*\\(","end":"\\s*\\)","patterns":[{"include":"#punctuation-comma"},{"include":"#expressions"}]},"generics":{"patterns":[{"begin":"(:)","end":"(?=,|\u003e)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"keyword.operator.extends.dw","match":"\u003c:"},{"include":"#keywords"},{"name":"entity.name.type.parameter.dw","match":"\\w+"}]},"if-statement":{"name":"meta.if.dw","begin":"(?\u003c!\\.|\\$)\\b(if\\s*)\\(","end":"\\)","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.if.dw"}}},"import-directive":{"name":"meta.directive.import.dw","begin":"(\\s*(import)\\s+)","end":"(?=(fun|input|output|type|var|ns|import|%dw|private|annotation|\\@|---)\\s|$)","patterns":[{"include":"#comments"},{"match":"(,)"},{"name":"entity.name.type.dw","match":"(\\*)"},{"match":"\\s+(from)\\s+","captures":{"1":{"name":"keyword.control.from"}}},{"name":"entity.name.type.dw","match":"(?:[a-zA-Z][a-zA-Z0-9]*(?:::[a-zA-Z][a-zA-Z0-9]*)+)\n"},{"name":"entity.name.function.dw","match":"(?:[a-zA-Z][a-zA-Z0-9]*)\n"},{"match":"\\s+(as)\\s+([a-zA-Z][a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.control.as"},"2":{"name":"entity.name.function.dw"}}}],"beginCaptures":{"2":{"name":"keyword.control.import"}}},"infix":{"name":"support.function.dw","match":"(?\u003c!^|,|\\[|\\(|=|\\+|\u003e|\u003c|\\-|\\*|:|\\{|case|is|else|not|as|and|or)(?\u003c=[a-zA-Z0-9_$\\}\\])\"'`|/])\\s*(?!(var|match|case|else|fun|input|output|is|as|default|ns|import|null|false|true|using|do|not|and|or)\\s)(\\+\\+|\\-\\-|[a-zA-Z][a-zA-Z_0-9]*)(\\s+|\\s*(?=[\"'/|{]))"},"input-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(input)\\s+([[:alpha:]][[:alnum:]]*)\\s*","end":"(?=\\n)","patterns":[{"begin":"(\\:\\s*)","end":"(\\s|\\n)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.other.dw"}}},{"name":"string.mime.dw","match":"([^{\\n\\s])"}],"beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"entity.name.variable.dw"}}},"keywords":{"patterns":[{"name":"keyword.reserved.dw","match":"\\b(throw|for|yield|enum|private|async)\\b"},{"name":"invalid","match":"\\b(not)\\b"},{"name":"keyword.control.dw","match":"\\b(if|else|while|for|do|using|unless|default)\\b"},{"name":"keyword.operator.comparison.dw","match":"(~=|==|!=|!=|\u003c=|\u003e=|\u003c|\u003e)"},{"name":"keyword.operator.assignment.dw","match":"(=)"},{"name":"keyword.operator.declaration.dw","match":"(:)"},{"name":"keyword.operator.arithmetic.dw","match":"(\\-|\\+|\\*|\\/)"},{"name":"keyword.other.dw","match":"\\b(and|or)\\b"}]},"match-block":{"name":"match-block.expr.dw","begin":"\\{","end":"(?=\\})","patterns":[{"include":"#case-clause"},{"include":"#expressions"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.dw"}}},"match-statement":{"name":"match-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(match)\\s*(?=\\{)","end":"\\}","patterns":[{"include":"#match-block"}],"beginCaptures":{"1":{"name":"keyword.control.switch.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.block.dw"}}},"ns-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(ns)\\s+([A-Za-z][a-zA-Z0-9_]*)\\s+([^\\n]*)(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"entity.name.namespace.dw"},"3":{"name":"meta.definition.ns.dw string.url.dw"}}},"object-key":{"patterns":[{"name":"variable.object.member.dw meta.object-literal.namespace.dw","match":"\\b([[:alpha:]][_[:alnum:]]+#)","captures":{"0":{"name":"variable.language.dw"}}},{"name":"variable.object.member.dw meta.object-literal.key.dw","begin":"(?=[\\'\\\"\\`])","end":"(?=@\\(|:)","patterns":[{"include":"#strings"}]},{"name":"variable.object.member.dw","match":"(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=:|@\\()","end":"(?=,|\\}|\\))","captures":{"1":{"name":"meta.object-literal.key.dw"}}}]},"object-literal":{"name":"meta.objectliteral.dw","begin":"\\{","end":"\\}","patterns":[{"include":"#object-member"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.dw"}},"endCaptures":{"0":{"name":"punctuation.definition.block.dw"}}},"object-member":{"name":"meta.object.member.first.dw","patterns":[{"include":"#comments"},{"include":"#paren-expression"},{"include":"#object-key"},{"include":"#attr-literal"},{"include":"#object-member-body"},{"include":"#punctuation-comma"}]},"object-member-body":{"name":"variable.object.member.dw","begin":":","end":"(?=,|\\}|\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"0":{"name":"meta.object-literal.key.dw punctuation.separator.key-value.dw"}}},"object-member-type":{"patterns":[{"include":"#comments"},{"name":"variable.language.dw","match":"_"},{"name":"variable.language.dw","match":"([a-zA-Z0-9]+#)"},{"name":"entity.name.type.dw","match":"\\(\\s*([a-zA-Z][a-zA-Z0-9]*)\\s*\\)"},{"name":"variable.object.member.dw","match":"([a-zA-Z][a-zA-Z0-9]*)"},{"include":"#strings"},{"name":"keyword.operator.optional.dw","match":"\\?"},{"name":"keyword.operator.optional.dw","match":"\\*"},{"begin":"(\\@\\()","end":"(\\))","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}],"beginCaptures":{"1":{"name":"keyword.operator.attributes.dw"}},"endCaptures":{"1":{"name":"keyword.operator.attributes.dw"}}},{"begin":"(:)","end":"(?=,|}|\\)|\\|}|\\-}|\\|\\-})","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"invalid","match":"([^\\s])"}]},"output-directive":{"name":"meta.directive.ns.dw","begin":"(?\u003c!\\.|\\$)\\b(output)\\s+([^\\n{\\s]*)(?!\\$|\\.)","end":"(?=\\n)","beginCaptures":{"1":{"name":"storage.type.dw"},"2":{"name":"string.other.dw"}}},"parameters":{"patterns":[{"begin":"(:)","end":"(?=,|\\)|=)","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"begin":"(=)","end":"(?=,|\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}},{"name":"variable.parameter.dw","match":"\\w+"}]},"paren-expression":{"begin":"(\\()","end":"(\\))","patterns":[{"include":"#expressions"}],"beginCaptures":{"1":{"name":"punctuation.expression.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.expression.end.dw"}}},"punctuation-comma":{"name":"punctuation.separator.comma.dw","match":","},"qstring-backtick":{"begin":"`","end":"`","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.template.dw","match":"([^`])"}],"beginCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.end.dw"}}},"qstring-double":{"begin":"\"","end":"\"","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.quoted.double.dw","match":"([^\"])"}],"beginCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"0":{"name":"string.quoted.double.dw punctuation.definition.string.end.dw"}}},"qstring-single":{"begin":"'","end":"(\\')|((?:[^\\\\\\n])$)","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.quoted.single.dw","match":"([^'])"}],"beginCaptures":{"0":{"name":"string.quoted.single.dw punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"string.quoted.single.dw punctuation.definition.string.end.dw"},"2":{"name":"invalid.illegal.newline.dw"}}},"regex":{"patterns":[{"name":"string.regexp.dw","begin":"(?\u003c=[=(:,\\[?+!]|replace|match|scan|matches|contains|---|case|-\u003e|and|or|\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\])+\\/(?![\\/*])(?!\\s*[a-zA-Z0-9_$]))","end":"(/)","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.dw"}}},{"name":"string.regexp.dw","begin":"(?\u003c![_$[:alnum:])])\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\])+\\/(?![\\/*])(?!\\s*[a-zA-Z0-9_$]))","end":"(/)","patterns":[{"include":"#regexp"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.dw"}}}]},"regex-character-class":{"patterns":[{"name":"constant.other.character-class.regexp","match":"\\\\[wWsSdDtrnvf]|\\."},{"name":"constant.character.numeric.regexp","match":"\\\\([0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]])"},{"name":"constant.character.control.regexp","match":"\\\\c[A-Z]"},{"name":"constant.character.escape.backslash.regexp","match":"\\\\."}]},"regexp":{"patterns":[{"name":"keyword.control.anchor.regexp","match":"\\\\[bB]|\\^|\\$"},{"name":"keyword.other.back-reference.regexp","match":"\\\\[1-9]\\d*"},{"name":"keyword.operator.quantifier.regexp","match":"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??"},{"name":"keyword.operator.or.regexp","match":"\\|"},{"name":"meta.group.assertion.regexp","begin":"(\\()((\\?=)|(\\?!))","end":"(\\))","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}}},{"name":"meta.group.regexp","begin":"\\((\\?:)?","end":"\\)","patterns":[{"include":"#regexp"}],"beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}}},{"name":"constant.other.character-class.set.regexp","begin":"(\\[)(\\^)?","end":"(\\])","patterns":[{"name":"constant.other.character-class.range.regexp","match":"(?:.|(\\\\(?:[0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[[:xdigit:]][[:xdigit:]]|u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]))|(\\\\c[A-Z])|(\\\\.))","captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}}},{"include":"#regex-character-class"}],"beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}}},{"include":"#regex-character-class"}]},"selectors":{"name":"meta.selector.data-weave","begin":"(?\u003c![\\[\\(:+*/\\-])(\\s*\\.\\.\\*|\\s*\\.\\.|\\s*\\.\\*|\\s*\\.\\@|\\s*\\.#|\\s*\\.\u0026|\\s*\\.|(?=\\[)|\\:\\:)","end":"(?=\\s|,|\\}|\\)|\\n|\\]|\\(|-|$)","patterns":[{"name":"variable.object.member.dw","match":"\\b([[:alpha:]][_[:alnum:]]+#)","captures":{"0":{"name":"variable.language.dw"}}},{"name":"variable.object.member.dw","match":"((?:[A-Za-z])([a-zA-Z0-9_]*)[?!]?|(\\$)+)"},{"include":"#strings"},{"begin":"(\\[(@|\\^)?)","end":"(\\])","patterns":[{"include":"#expressions"},{"name":"invalid","match":"([\\)])"}]},{"include":"#selectors"}]},"string-character-escape":{"name":"constant.character.escape.dw","match":"\\\\(u[[:xdigit:]]{4}|$|.)"},"strings":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"},{"include":"#qstring-backtick"},{"include":"#template"}]},"template":{"begin":"([$[:alpha:]][_$[:alnum:]]*)\\s*(`)","end":"`","patterns":[{"include":"#template-substitution-element"},{"include":"#template-dollar"},{"include":"#string-character-escape"},{"name":"string.template.dw","match":"([^`])"}],"beginCaptures":{"1":{"name":"support.function.dw"},"2":{"name":"string.template.dw punctuation.definition.string.template.begin.dw"}},"endCaptures":{"0":{"name":"string.template.dw punctuation.definition.string.template.end.dw"}}},"template-dollar":{"patterns":[{"name":"variable.parameter.dw","match":"(\\$(\\$)+)"},{"name":"variable.parameter.dw","match":"(\\$)(?![a-zA-Z(])"},{"name":"variable.parameter.dw","match":"(\\$)([a-zA-Z][a-zA-Z0-9_]*)","captures":{"1":{"name":"keyword.other.dw"},"2":{"name":"variable.other.dw"}}}]},"template-substitution-element":{"name":"meta.template.expression.dw","begin":"\\$\\(","end":"\\)","patterns":[{"include":"#expressions"}],"beginCaptures":{"0":{"name":"keyword.other.dw"}},"endCaptures":{"0":{"name":"keyword.other.dw"}}},"type-directive":{"name":"meta.directive.type.dw","begin":"(\\s*(type)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(?=(fun|input|output|type|var|ns|import|%dw|private|---)\\s|(\\@[a-zA-Z][a-zA-Z0-9]*))","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"name":"keyword.other.dw","match":"\\="},{"include":"#types"}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.type.dw"}}},"types":{"patterns":[{"include":"#comments"},{"name":"constant.language.dw","match":"\\b(true|false|null)\\b"},{"name":"constant.numeric.dw","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b"},{"include":"#strings"},{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#types"},{"include":"#punctuation-comma"},{"include":"#comments"}]},{"begin":"\\{\\-\\|","end":"\\|\\-\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{\\|","end":"\\|\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{\\-","end":"\\-\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"\\{","end":"\\}","patterns":[{"include":"#punctuation-comma"},{"include":"#object-member-type"}]},{"begin":"(\\()","end":"(\\)\\s*-\u003e|\\))","patterns":[{"include":"#types"},{"include":"#parameters"}],"beginCaptures":{"0":{"name":"keyword.operator.grouping.dw"}},"endCaptures":{"0":{"name":"keyword.operator.grouping.dw"}}},{"name":"support.class.dw","match":"(String|Boolean|Number|Range|Namespace|Uri|DateTime|LocalDateTime|Date|LocalTime|TimeZone|Time|Period|Binary|Null|Regex|Nothing|Any|Object|Key)"},{"begin":"(Array|Type)\\s*\u003c","end":"\u003e","patterns":[{"name":"invalid","match":","},{"include":"#types"}],"beginCaptures":{"1":{"name":"support.type.dw"}}},{"name":"keyword.operator.declaration.dw","match":"(\u0026|\\|)"},{"name":"keyword.operator.declaration.dw","match":"\u003c:"},{"name":"support.class.dw","match":"\\b([A-Z][a-zA-Z0-9_]*)"},{"include":"#undefined-fun-character"},{"match":"\\b(var|fun|ns)\\b"},{"name":"invalid","match":"\\b(input|output|var|ns|import|try|catch|throw|do|for|yield|enum|private|async)\\b"},{"name":"invalid","match":"\\b(if|else|while|for|do|using|unless|default|match)\\b"},{"name":"invalid","match":"(~=|==|!=|===|!==|\u003c=|\u003e=|\u003c|\u003e|\\$+)"}]},"undefined-fun-character":{"name":"constant.language.undefined.dw","match":"\\?\\?\\?"},"using-statement":{"name":"using-statement.expr.dw","begin":"(?\u003c!\\.|\\$)\\b(using)\\s*(\\()","end":"(\\))","patterns":[{"match":"((?:\\+\\+|\\-\\-|[A-Za-z])(?:[a-zA-Z0-9_]*))(\\s*=)","captures":{"1":{"name":"entity.name.variable.dw"},"2":{"name":"keyword.operator.dw"}}},{"include":"#expressions"}],"beginCaptures":{"1":{"name":"keyword.control.using.dw"},"2":{"name":"punctuation.definitions.begin.dw"}},"endCaptures":{"1":{"name":"punctuation.definitions.end.dw"}}},"var-directive":{"name":"meta.directive.var.dw","begin":"(\\s*(var)\\s+([a-zA-Z][a-zA-Z0-9]*))","end":"(=)","patterns":[{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#generics"}]},{"begin":"(:)","end":"(?==|$)","patterns":[{"include":"#comments"},{"include":"#types"}],"beginCaptures":{"1":{"name":"keyword.operator.declaration.dw"}}}],"beginCaptures":{"2":{"name":"storage.type.dw"},"3":{"name":"entity.name.variable.dw"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.dw"}}},"variable-reference":{"patterns":[{"name":"variable.other.dw","match":"\\b(?!(fun|input|output|type|var|ns|import|%dw|private|---)\\b)((\\+\\+|\\-\\-|[A-Za-z])[a-zA-Z0-9_]*)"},{"name":"invalid","match":"\\b(fun|input|output|type|var|ns|import|private)\\b"},{"name":"variable.parameter.dw","match":"(\\$+)"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DDS.DSPF","scopeName":"source.dds.dspf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.dspf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.dspf","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.dspf.andor","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{0}))(A|O)"},{"name":"constant.language.dds.dspf.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{1}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n02","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{4}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n03","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{7}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.nameType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{10}))(R|H)"},{"name":"constant.language.dds.dspf.ref","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{22}))(R)"},{"name":"constant.language.dds.dspf.len","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{23}))[0-9|\\s]{5}"},{"name":"constant.language.dds.dspf.dataType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{28}))(A|D|E|F|G|I|J|L|M|N|O|S|T|W|X|Y|Z)"},{"name":"constant.language.dds.dspf.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{29}))[0-9|\\s]{2}"},{"name":"constant.language.dds.dspf.usage","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{31}))(O|I|B|H|M|P)"},{"name":"constant.language.dds.dspf.locline","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{32}))([0-9]|\\s){3}"},{"name":"constant.language.dds.dspf.locpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{35}))([0-9]|\\s){3}"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"},{"name":"dds.dspf.check","begin":"(?i)(?\u003c=(CHECK\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.check.values","match":"(?i)(\\b(AB|ME|MF|M10F|M10|M11F|M11|VNE|VN|ER|FE|LC|RB|RZ|RLTB|RL)\\b)"}]},{"name":"dds.dspf.dspatr","begin":"(?i)(?\u003c=(DSPATR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.dspatr.values","match":"(?i)(\\b(SP|PR|OID|MDT|UL|RI|PC|ND|HI|CS|BL)\\b)"}]},{"name":"dds.dspf.color","begin":"(?i)(?\u003c=(COLOR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.color.values","match":"(?i)(\\b(BLU|PNK|YLW|TRQ|RED|WHT|GRN)\\b)"}]},{"name":"dds.dspf.comp","begin":"(?i)((?\u003c=((COMP)\\())|(?\u003c=((CMP)\\()))","end":"(?=(\\)))","patterns":[{"name":"keyword.other.dds.dspf.comp.values","match":"(?i)(\\b(GE|LE|NG|GT|NL|LT|NE|EQ)\\b)"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"}]}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"identifiers":{"patterns":[{"name":"identifier.other.dds.dspf.identifiers","match":"[a-zA-Z_#$][a-zA-Z0-9_.#$]*"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.dspf","match":"\\+"},{"name":"keyword.other.dds.dspf.func","match":"((?i)(C(A|F)))[0-9]{2}"},{"name":"keyword.other.dds.dspf.funcs","match":"(?i)(?\u003c=(.{44}))(WRDWRAP|WINDOW|WDWTITLE|WDWBORDER|VLDCMDKEY|VALUES|VALNUM|USRRSTDSP|USRDSPMGT|USRDFN|USER|UNLOCK|TIMSEP|TIMFMT|TIME|TEXT|SYSNAME|SNGCHCFLD|SLNO|SFLSNGCHC|SFLSIZ|SFLSCROLL|SFLRTNSEL|SFLROLVAL|SFLRNA|SFLRCDNBR|SFLPGMQ|SFLPAG|SFLNXTCHG|SFLMSGRCD|SFLMSGKEY|SFLMSG|SFLMODE|SFLMLTCHC|SFLLIN|SFLINZ|SFLFOLD|SFLENTER|SFLEND|SFLDSPCTL|SFLDSP|SFLDROP|SFLDLT|SFLCTL|SFLCRRRN|SFLCSRPRG|SFLCLR|SFLCHCCTL|SETOFF|SETOF|RTNDTA|RTNCSRLOC|ROLLUP|ROLLDOWN|RMVWDW|RETLCKSTS|RETKEY|REFFLD|REF|RANGE|PUTRETAIN|PUTOVR|PULLDOWN|PSHBTNFLD|PSHBTNCHC|PROTECT|PRINT|PASSRCD|PAGEDOWN|PAGEUP|OVRDTA|OVRATR|OVERLAY|OPENPRT|NOCCSID|MSGLOC|MSGID|MSGCON|MSGALARM|MOUBTN|MNUCNL|MNUBARSW|MNUBARSEP|MNUBARDSP|MNUBARCHC|MNUBAR|MLTCHFLD|MDTOFF|MAPVAL|LOWER|LOGOUT|LOGINP|LOCK|KEEP|INZRCD|INZINP|INVITE|INDTXT|INDARA|HTML|HOME|HLPTITLE|HLPSEQ|HLPSCHIDX|HLPRTN|HLPRCD|HLPPNLGRP|HLPID|HLPFULL|HLPEXCLD|HLPDOC|HLPCMDKEY|HLPCLR|HLPBDY|HLPARA|HELP|GETRETAIN|FRCDTA|FLTPCN|FLTFIXDEC|FLDCSRPRG|ERRSFL|ERRMSG|ERRMSGID|ERASEINP|ERASE|ENTFLDATR|EDTWRD|EDTMSK|EDTCDE|DUP|DSPSIZ|DSPRL|DSPMOD|DSPATR|DLTEDT|DLTCHK|DFTVAL|DFT|DATSEP|DATFMT|DATE|CSRLOC|CSRINPONLY|COMP|COLOR|CNTFLD|CLEAR|CHRID|CHOICE|CHKMSGID|CHGINPDFT|CHECK|CHCUNAVAIL|CHCSLT|CHCCTL|CHCAVAIL|CHCACCEL|CHANGE|BLKFOLD|BLINK|BLANKS|AUTO|ASSUME|ALWROL|ALWGPH|ALTPAGEDWN|ALTPAGEUP|ALTNAME|ALTHELP|ALIAS|ALARM)\\b"},{"name":"keyword.other.dds.dspf.funcs","match":"\\b(?i)(CMP|CLRL|SFL)\\b"}]},"strings":{"name":"string.quoted.single.dds.dspf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DDS.ICFF","scopeName":"source.dds.icff","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.icff","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.icff","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.icff.andor","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{0}))(A|O)"},{"name":"constant.language.dds.icff.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{1}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.icff.n02","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{4}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.icff.n03","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{7}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.icff.nameType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{10}))(R|H)"},{"name":"constant.language.dds.icff.ref","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{22}))R"},{"name":"constant.language.dds.icff.len","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{23}))[0-9|\\s]{5}"},{"name":"constant.language.dds.icff.dataType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{28}))(P|S|B|F|A|O)"},{"name":"constant.language.dds.icff.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{29}))[0-9|\\s]{2}"},{"name":"constant.language.dds.icff.usage","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{31}))(B|P)"},{"name":"constant.language.dds.icff.locline","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{32}))([0-9]|\\s){3}"},{"name":"constant.numeric.dds.icff","match":"\\b([0-9]+)\\b"}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"identifiers":{"patterns":[{"name":"identifier.other.dds.icff.identifiers","match":"[a-zA-Z_#$][a-zA-Z0-9_.#$]*"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.icff.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.icff","match":"\\+"},{"name":"keyword.other.dds.icff.func","match":"((?i)(C(A|F)))[0-9]{2}"},{"name":"keyword.other.dds.icff.funcs","match":"(?i)(?\u003c=(.{44}))(VARLEN|VARBUFMGT|TNSSYNLVL|TIMER|TEXT|SYNLVL|SUBDEV|SECURITY|RSPCONFIRM|RQSWRT|REFFLD|REF|RECID|RCVTRNDRND|RCVTKCMT|RCVROLLB|RCVNEGRSP|RCVFMH|RCVFAIL|RCVENDGRP|RCVDETACH|RCVCTLDTA|RCVCONFIRM|RCVCANCEL|PRPCMT|NEGRSP|INVITE|INDTXT|INDARA|FRCDTA|FMTNAME|FMH|FLTPCN|FAIL|EVOKE|EOS|ENDGRP|DFREVOKE|DETACH|CTLDTA|CONFIRM|CNLINVITE|CANCEL|ALWWRT|ALIAS)\\b"},{"name":"keyword.other.dds.icff.funcs","match":"\\b(?i)(CMP|CLRL|SFL)\\b"}]},"strings":{"name":"string.quoted.single.dds.icff","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.icff.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DDS.LF","scopeName":"source.dds.lf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.lf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.lf","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.lf.nametype","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{10}))(R|K|J|S|O)"},{"name":"constant.language.dds.lf.ref","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{22}))R"},{"name":"constant.language.dds.lf.len","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{23}))[0-9|\\s]{5}"},{"name":"constant.language.dds.lf.datatype","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{28}))(P|S|B|F|A|L|T|Z|H|J|E|O|G|5)"},{"name":"constant.language.dds.lf.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{29}))[0-9|\\s]{2}"},{"name":"constant.language.dds.lf.use","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{31}))(B|I|N)"},{"name":"constant.numeric.dds.lf","match":"(\\b[0-9]+)|([0-9]*[.][0-9]*)"}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"identifiers":{"patterns":[{"name":"identifier.other.dds.lf.identifiers","match":"[a-zA-Z_#$][a-zA-Z0-9_.#$]*"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.lf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.lf","match":"\\+"},{"name":"keyword.other.dds.lf.funcs","match":"(?i)(?\u003c=(.{44}))(?\u003c=((?\u003c=^[\\s]{5}[A|\\s]).{38}))((ZONE|VARLEN|VALUES|UNSIGNED|UNIQUE|TIMSEP|TIMFMT|TEXT|SST|RENAME|REFSHIFT|REFACCPTH|RANGE|PFILE|NOALTSEQ|LIFO|JREF|JOIN|JFLD|JFILE|JDUPSEQ|JDFTVAL|FORMAT|FLTPCN|FIFO|FCFO|EDTCDE|EDTWRD|DYNSLT|DIGIT|DESCEND|DATSEP|DATFMT|CONCAT|COMP|COLHDG|CMP|CHKMSGID|CHECK|CCSID|ALTSEQ|ALL|ALIAS|ABSVAL)+)\\b"},{"name":"dds.lf.comp","begin":"(?i)(?\u003c=(.{44}))((?\u003c=((COMP)\\())|(?\u003c=((CMP)\\()))","end":"(?=(\\)))","patterns":[{"name":"keyword.other.dds.lf.comp.values","match":"(?i)(\\b(GE|LE|NG|GT|NL|LT|NE|EQ)\\b)"},{"name":"constant.numeric.dds.lf","match":"\\b([0-9]+)\\b"}]}]},"strings":{"name":"string.quoted.single.dds.lf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.lf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DDS.PF","scopeName":"source.dds.pf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.pf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.pf","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.pf.nametype","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{10}))(R|K)"},{"name":"constant.language.dds.pf.ref","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{22}))(R)"},{"name":"constant.language.dds.pf.len","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{23}))[0-9|\\s]{5}"},{"name":"constant.language.dds.pf.datatype","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{28}))(P|S|B|F|A|L|T|Z|H|J|E|O|G|5)"},{"name":"constant.language.dds.pf.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{29}))[0-9|\\s]{2}"},{"name":"constant.language.dds.pf.use","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{31}))B"},{"name":"constant.numeric.dds.pf","match":"(\\b[0-9]+)|([0-9]*[.][0-9]*)"}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"identifiers":{"patterns":[{"name":"identifier.other.dds.lf.identifiers","match":"[a-zA-Z_#$][a-zA-Z0-9_.#$]*"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.pf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.pf","match":"\\+"},{"name":"keyword.other.dds.pf.funcs","match":"(?i)(?\u003c=(.{44}))(?\u003c=((?\u003c=^.{5}[A|\\s]).{38}))(ZONE|VARLEN|VALUES|UNSIGNED|UNIQUE|TIMSEP|TIMFMT|TEXT|REFSHIFT|REFFLD|REF|RANGE|NOALTSEQ|LIFO|FORMAT|FLTPCN|FIFO|FCFO|EDTCDE|EDTWRD|DIGIT|DFT|DESCEND|DATSEP|DATFMT|COMP|COLHDG|CMP|CHKMSGID|CHECK|CCSID|ALWNULL|ALTSEQ|ALIAS|ABSVAL)\\b"}]},"strings":{"name":"string.quoted.single.dds.pf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.pf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DDS.PRTF","scopeName":"source.dds.prtf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.prtf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.prtf","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.prtf.andor","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{0}))(A|O)"},{"name":"constant.language.dds.prtf.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{1}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.prtf.n02","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{4}))(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.prtf.n03","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{7}))(?i)(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.prtf.nameType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{10}))R"},{"name":"constant.language.dds.prtf.ref","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{22}))R"},{"name":"constant.language.dds.prtf.len","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{23}))[0-9|\\s]{5}"},{"name":"constant.language.dds.prtf.dataType","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{28}))(A|F|G|L|O|S|T|Z)"},{"name":"constant.language.dds.prtf.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A|\\s]).{29}))[0-9|\\s]{2}"},{"name":"constant.language.dds.prtf.usage","match":"(?i)(?\u003c=((?\u003c=^.{5}[A\\s]).{31}))O"},{"name":"constant.language.dds.prtf.locline","match":"(?i)(?\u003c=((?\u003c=^.{5}[A\\s]).{32}))([0-9]|\\s|\\+){3}"},{"name":"constant.language.dds.prtf.locpos","match":"(?i)(?\u003c=((?\u003c=^.{5}[A\\s]).{35}))([0-9]|\\s|\\+){3}"},{"name":"constant.numeric.dds.prtf","match":"\\b([0-9]+)\\b"}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"identifiers":{"patterns":[{"name":"identifier.other.dds.lf.identifiers","match":"[a-zA-Z_#$][a-zA-Z0-9_.#$]*"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.prtf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.prtf","match":"\\+"},{"name":"keyword.other.dds.prtf.func","match":"((?i)(C(A|F)))[0-9]{2}"},{"name":"keyword.other.dds.prtf.funcs","match":"(?i)(?\u003c=(.{44}))(ZFOLD|UNISCRIPT|UNDERLINE|TXTRTT|TRNSPY|TIMSEP|TIMFMT|TIME|TEXT|STRPAGGRP|STAPLE|SPACEB|SPACEA|SKIPB|SKIPA|RELPOS|REFFLD|REF|PRTQLTY|POSITION|PAGSEG|PAGRTT|PAGNBR|OVERLAY|OUTBIN|MSGCON|LPI|LINE|INVMMAP|INVDTAMAP|INDTXT|INDARA|HIGHLIGHT|GDF|FORCE|FONTNAME|FONT|FNTCHRSET|FLTPCN|FLTFIXDEC|ENDPAGGRP|ENDPAGE|EDTWRD|EDTCDE|DUPLEX|DTASTMCMD|DRAWER|DOCIDXTAG|DLTEDT|DFT|DFNCHR|DATSEP|DATFMT|DATE|CVTDTA|CPI|COLOR|CHRSIZ|CHRID|CDEFNT|BOX|BLKFOLD|BARCODE|ALIAS|AFPRSC)\\b"}]},"strings":{"name":"string.quoted.single.dds.prtf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.prtf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Debian package control file","scopeName":"source.deb-control","patterns":[{"include":"#paragraphs"}],"repository":{"comments":{"name":"comment.line.deb-control","match":"^#.*$"},"fields":{"patterns":[{"name":"meta.section.field.simple.deb-control","begin":"^(Package|Version|Architecture|Maintainer|Source|Section|Priority|Essential|Installed-Size|Homepage|Built-Using|Standards-Version)(:)","end":"\\n","patterns":[{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.section.field.simple.deb-control"},"2":{"name":"keyword.operator.deb-control"}}},{"name":"meta.section.field.folded.deb-control","begin":"^(Depends|Build-Depends)(:)","end":"^(?!\\s)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.section.field.folded.deb-control"},"2":{"name":"keyword.operator.deb-control"}}},{"name":"meta.section.field.multiline.deb-control","begin":"^(Description)(:)","end":"^(?!\\s)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.section.field.multiline.deb-control"},"2":{"name":"keyword.operator.deb-control"}}},{"name":"meta.section.field.multiline.deb-control","begin":"^([^:\\s]*)(:)","end":"^(?!\\s)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"1":{"patterns":[{"match":"^([a-zA-Z0-9][a-zA-Z0-9\\-]*)","captures":{"1":{"name":"entity.name.section.field.unknown.deb-control"},"2":{"name":"keyword.operator.deb-control"}}},{"match":"^([^a-zA-Z0-9].*)","captures":{"1":{"name":"invalid.illegal.name.section.field.deb-control"},"2":{"name":"keyword.operator.deb-control"}}},{"match":"^([a-zA-Z0-9].*[^a-zA-Z0-9\\-]*.*)","captures":{"1":{"name":"invalid.illegal.name.section.field.deb-control"},"2":{"name":"keyword.operator.deb-control"}}}]},"2":{"name":"keyword.operator.deb-control"}}}]},"paragraphs":{"patterns":[{"name":"meta.section.paragraph.deb-control","begin":"^(?!\\s)","end":"^$","patterns":[{"include":"#comments"},{"include":"#fields"}]}]},"variables":{"patterns":[{"name":"variable.other.substitution.deb-control","begin":"\\${","end":"}"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Debian package rules","scopeName":"source.debian.makefile","patterns":[{"include":"#comment"},{"include":"#variable-assignment"},{"include":"#recipe"},{"include":"#directives"}],"repository":{"comment":{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.makefile","begin":"#","end":"\\n","patterns":[{"name":"constant.character.escape.continuation.makefile","match":"\\\\\\n"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.makefile"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.makefile"}}},"directives":{"patterns":[{"begin":"^[ ]*([s\\-]?include)\\b","end":"^","patterns":[{"include":"#comment"},{"include":"#variables"},{"name":"constant.other.placeholder.makefile","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.include.makefile"}}},{"begin":"^[ ]*(vpath)\\b","end":"^","patterns":[{"include":"#comment"},{"include":"#variables"},{"name":"constant.other.placeholder.makefile","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.vpath.makefile"}}},{"name":"meta.scope.conditional.makefile","begin":"^(?:(override)\\s*)?(define)\\s*([^\\s]+)\\s*(=|\\?=|:=|\\+=)?(?=\\s)","end":"^(endef)\\b","patterns":[{"begin":"\\G(?!\\n)","end":"^","patterns":[{"include":"#comment"}]},{"include":"#variables"},{"include":"#comment"}],"captures":{"1":{"name":"keyword.control.override.makefile"},"2":{"name":"keyword.control.define.makefile"},"3":{"name":"variable.other.makefile"},"4":{"name":"punctuation.separator.key-value.makefile"}}},{"begin":"^[ ]*(export)\\b","end":"^","patterns":[{"include":"#comment"},{"include":"#variable-assignment"},{"name":"variable.other.makefile","match":"[^\\s]+"}],"beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}}},{"begin":"^[ ]*(override|private)\\b","end":"^","patterns":[{"include":"#comment"},{"include":"#variable-assignment"}],"beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}}},{"begin":"^[ ]*(unexport|undefine)\\b","end":"^","patterns":[{"include":"#comment"},{"name":"variable.other.makefile","match":"[^\\s]+"}],"beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}}},{"name":"meta.scope.conditional.makefile","begin":"^(ifdef|ifndef)\\s*([^\\s]+)(?=\\s)","end":"^(endif)\\b","patterns":[{"begin":"\\G(?!\\n)","end":"^","patterns":[{"include":"#comment"}]},{"include":"$self"}],"captures":{"1":{"name":"keyword.control.$1.makefile"},"2":{"name":"variable.other.makefile"},"3":{"name":"punctuation.separator.key-value.makefile"}}},{"name":"meta.scope.conditional.makefile","begin":"^(ifeq|ifneq)(?=\\s)","end":"^(endif)\\b","patterns":[{"name":"meta.scope.condition.makefile","begin":"\\G","end":"^","patterns":[{"include":"#variables"},{"include":"#comment"}]},{"begin":"^else(?=\\s)","end":"^","beginCaptures":{"0":{"name":"keyword.control.else.makefile"}}},{"include":"$self"}],"captures":{"1":{"name":"keyword.control.$1.makefile"}}}]},"interpolation":{"name":"meta.embedded.line.shell","begin":"(?=`)","end":"(?!\\G)","patterns":[{"name":"string.interpolated.backtick.makefile","contentName":"source.shell","begin":"`","end":"(`)","patterns":[{"include":"source.shell"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.makefile"}},"endCaptures":{"0":{"name":"punctuation.definition.string.makefile"},"1":{"name":"source.shell"}}}]},"recipe":{"name":"meta.scope.target.makefile","begin":"^(?!\\t)([^:]*)(:)(?!\\=)","end":"^(?!\\t)","patterns":[{"name":"meta.scope.prerequisites.makefile","begin":"\\G","end":"^","patterns":[{"name":"constant.character.escape.continuation.makefile","match":"\\\\\\n"},{"name":"constant.other.placeholder.makefile","match":"%|\\*"},{"include":"#comment"},{"include":"#variables"}]},{"name":"meta.scope.recipe.makefile","begin":"^\\t","end":"$","patterns":[{"name":"constant.character.escape.continuation.makefile","match":"\\\\\\n"},{"include":"#variables"},{"include":"source.shell"}]}],"beginCaptures":{"1":{"patterns":[{"match":"^\\s*(\\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\\s*$","captures":{"1":{"name":"support.function.target.$1.makefile"}}},{"name":"entity.name.function.target.makefile","begin":"(?=\\S)","end":"(?=\\s|$)","patterns":[{"include":"#variables"},{"name":"constant.other.placeholder.makefile","match":"%"}]}]},"2":{"name":"punctuation.separator.key-value.makefile"}}},"variable-assignment":{"begin":"(^[ ]*|\\G\\s*)([^\\s]+)\\s*(=|\\?=|:=|\\+=)","end":"\\n","patterns":[{"name":"constant.character.escape.continuation.makefile","match":"\\\\\\n"},{"include":"#comment"},{"include":"#variables"},{"include":"#interpolation"}],"beginCaptures":{"2":{"name":"variable.other.makefile"},"3":{"name":"punctuation.separator.key-value.makefile"}}},"variables":{"patterns":[{"name":"variable.language.makefile","match":"(\\$?\\$)[@%\u003c?^+*]","captures":{"1":{"name":"punctuation.definition.variable.makefile"}}},{"name":"string.interpolated.makefile","match":"\\b@\\w+@\\b"},{"name":"string.interpolated.makefile","begin":"\\$?\\$\\(","end":"\\)","patterns":[{"include":"#variables"},{"name":"variable.language.makefile","match":"\\G(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\.LIBPATTERNS)(?=\\s*\\))"},{"name":"meta.scope.function-call.makefile","begin":"\\G(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value)\\s","end":"(?=\\))","patterns":[{"include":"#variables"},{"name":"constant.other.placeholder.makefile","match":"%|\\*"}],"beginCaptures":{"1":{"name":"support.function.$1.makefile"}}},{"name":"meta.scope.function-call.makefile","contentName":"variable.other.makefile","begin":"\\G(origin|flavor)\\s(?=[^\\s)]+\\s*\\))","end":"\\)","patterns":[{"include":"#variables"}]},{"name":"variable.other.makefile","begin":"\\G(?!\\))","end":"(?=\\))","patterns":[{"include":"#variables"}]}],"captures":{"0":{"name":"punctuation.definition.variable.makefile"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"DenizenScript","scopeName":"source.denizenscript","patterns":[{"include":"#comments"},{"include":"#keys"},{"include":"#commands"},{"include":"#double_quotes"},{"include":"#single_quotes"},{"include":"#tags"},{"include":"#tag_brackets"}],"repository":{"commands":{"patterns":[{"begin":"(-)\\s([^\\s]+)","end":"\\s","captures":{"1":{"name":"operator.dash.denizenscript"},"2":{"name":"keyword.command.denizenscript"}}}]},"comments":{"patterns":[{"name":"comment.normal.denizenscript","begin":"^\\s*#.*$","end":"\\n"}]},"double_quotes":{"name":"string.quoted.double.denizenscript","begin":"\"","end":"\\n|\"","patterns":[{"include":"#tags"},{"include":"#tag_brackets"}]},"keys":{"patterns":[{"begin":"(^[^-#\\n]*)(:)","end":"\\s","beginCaptures":{"1":{"name":"entity.name.tag.denizenscript"},"2":{"name":"operator.colon.denizenscript"}}}]},"single_quotes":{"name":"string.quoted.single.denizenscript","begin":"'","end":"\\n|'","patterns":[{"include":"#tags"},{"include":"#tag_brackets"}]},"tag_brackets":{"name":"keyword.tag-brackets.denizenscript","begin":"\\[","end":"\\]","patterns":[{"include":"#tags"}]},"tags":{"name":"constant.language.tag.denizenscript","begin":"\u003c(?!-|\\s)","end":"\u003e","patterns":[{"include":"#tag_brackets"}]}}}
@@ -1 +1 @@
1
- {"name":"Elixir","scopeName":"source.elixir","patterns":[{"begin":"\\b(fn)\\b(?!.*-\u003e)","end":"$","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}}},{"match":"([A-Z]\\w+)\\s*(\\.)\\s*([a-z_]\\w*[!?]?)","captures":{"1":{"name":"entity.name.type.class.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}}},{"match":"(\\:\\w+)\\s*(\\.)\\s*([_]?\\w*[!?]?)","captures":{"1":{"name":"constant.other.symbol.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}}},{"match":"(\\|\\\u003e)\\s*([a-z_]\\w*[!?]?)","captures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"entity.name.function.elixir"}}},{"name":"entity.name.function.elixir","match":"\\b[a-z_]\\w*[!?]?(?=\\s*\\.?\\s*\\()"},{"begin":"\\b(fn)\\b(?=.*-\u003e)","end":"(?\u003e(-\u003e)|(when)|(\\)))","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}},"endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}}},{"include":"#core_syntax"},{"begin":"^(?=.*-\u003e)((?![^\"']*(\"|')[^\"']*-\u003e)|(?=.*-\u003e[^\"']*(\"|')[^\"']*-\u003e))((?!.*\\([^\\)]*-\u003e)|(?=[^\\(\\)]*-\u003e)|(?=\\s*\\(.*\\).*-\u003e))((?!.*\\b(fn)\\b)|(?=.*-\u003e.*\\bfn\\b))","end":"(?\u003e(-\u003e)|(when)|(\\)))","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}},"endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}}}],"repository":{"core_syntax":{"patterns":[{"name":"meta.module.elixir","begin":"^\\s*(defmodule)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.other.inherited-class.elixir","match":"\\b[A-Z]\\w*(?=\\.)"},{"name":"entity.name.type.class.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"}},"endCaptures":{"1":{"name":"keyword.control.module.elixir"}}},{"name":"meta.protocol_declaration.elixir","begin":"^\\s*(defprotocol)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.name.type.protocol.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}}},{"name":"meta.protocol_implementation.elixir","begin":"^\\s*(defimpl)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.name.type.protocol.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}}},{"name":"meta.function.public.elixir","begin":"^\\s*(def|defmacro|defdelegate|defguard)\\s+((?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))?(?\u003e[a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?|===?|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)","end":"(\\bdo:)|(\\bdo\\b)|(?=\\s+(def|defn|defmacro|defdelegate|defguard)\\b)","patterns":[{"include":"$self"},{"begin":"\\s(\\\\\\\\)","end":",|\\)|$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}}},{"name":"keyword.control.elixir","match":"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.public.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}}},{"name":"meta.function.private.elixir","begin":"^\\s*(defp|defnp|defmacrop|defguardp)\\s+((?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))?(?\u003e[a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?|===?|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)","end":"(\\bdo:)|(\\bdo\\b)|(?=\\s+(defp|defmacrop|defguardp)\\b)","patterns":[{"include":"$self"},{"begin":"\\s(\\\\\\\\)","end":",|\\)|$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}}},{"name":"keyword.control.elixir","match":"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.private.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}}},{"name":"sigil.leex","begin":"\\s*~L\"\"\"","end":"\\s*\"\"\"","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc (~[a-z])?\"\"\"","end":"\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc ~[A-Z]\"\"\"","end":"\\s*\"\"\""},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc (~[a-z])?'''","end":"\\s*'''","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc ~[A-Z]'''","end":"\\s*'''"},{"name":"comment.block.documentation.false","match":"@(module|type)?doc false"},{"name":"comment.block.documentation.string","begin":"@(module|type)?doc \"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"keyword.control.elixir","match":"(?\u003c!\\.)\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\b(?![?!:])"},{"name":"keyword.operator.elixir","match":"(?\u003c!\\.)\\b(and|not|or|when|xor|in)\\b"},{"name":"entity.name.type.class.elixir","match":"\\b[A-Z]\\w*\\b"},{"name":"constant.language.elixir","match":"\\b(nil|true|false)\\b(?![?!])"},{"name":"variable.language.elixir","match":"\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\b(?![?!])"},{"name":"variable.other.readwrite.module.elixir","match":"(@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"variable.other.anonymous.elixir","match":"(\u0026)\\d+","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"variable.other.anonymous.elixir","match":"\u0026(?![\u0026])"},{"name":"variable.other.capture.elixir","match":"\\^[a-z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"constant.numeric.hex.elixir","match":"\\b0x[0-9A-Fa-f](?\u003e_?[0-9A-Fa-f])*\\b"},{"name":"constant.numeric.float.elixir","match":"\\b\\d(?\u003e_?\\d)*(\\.(?![^[:space:][:digit:]])(?\u003e_?\\d)+)([eE][-+]?\\d(?\u003e_?\\d)*)?\\b"},{"name":"constant.numeric.integer.elixir","match":"\\b\\d(?\u003e_?\\d)*\\b"},{"name":"constant.numeric.binary.elixir","match":"\\b0b[01](?\u003e_?[01])*\\b"},{"name":"constant.numeric.octal.elixir","match":"\\b0o[0-7](?\u003e_?[0-7])*\\b"},{"name":"constant.other.symbol.single-quoted.elixir","begin":":'","end":"'","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.constant.elixir"}}},{"name":"constant.other.symbol.double-quoted.elixir","begin":":\"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.constant.elixir"}}},{"name":"string.quoted.single.heredoc.elixir","begin":"(?\u003e''')","end":"^\\s*'''","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.single.elixir","begin":"'","end":"'","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.double.heredoc.elixir","begin":"(?\u003e\"\"\")","end":"^\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.double.elixir","begin":"\"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.heredoc.elixir","begin":"~[a-z](?\u003e\"\"\")","end":"^\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\{","end":"\\}[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\[","end":"\\][a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\\u003c","end":"\\\u003e[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\(","end":"\\)[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]([^\\w])","end":"\\1[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.heredoc.literal.elixir","begin":"~[A-Z](?\u003e\"\"\")","end":"^\\s*\"\"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\{","end":"\\}[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\[","end":"\\][a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\\u003c","end":"\\\u003e[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\(","end":"\\)[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]([^\\w])","end":"\\1[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"constant.other.symbol.elixir","match":"(?\u003c!:)(:)(?\u003e[a-zA-Z_][\\w@]*(?\u003e[?!]|=(?![\u003e=]))?|\\\u003c\\\u003e|===?|!==?|\u003c\u003c\u003e\u003e|\u003c\u003c\u003c|\u003e\u003e\u003e|~~~|::|\u003c\\-|\\|\u003e|=\u003e|=~|=|/|\\\\\\\\|\\*\\*?|\\.\\.?\\.?|\\.\\.//|\u003e=?|\u003c=?|\u0026\u0026?\u0026?|\\+\\+?|\\-\\-?|\\|\\|?\\|?|\\!|@|\\%?\\{\\}|%|\\[\\]|\\^(\\^\\^)?)","captures":{"1":{"name":"punctuation.definition.constant.elixir"}}},{"name":"constant.other.keywords.elixir","match":"(?\u003e[a-zA-Z_][\\w@]*(?\u003e[?!])?)(:)(?!:)","captures":{"1":{"name":"punctuation.definition.constant.elixir"}}},{"begin":"(^[ \\t]+)?(?=##)","end":"(?!#)","patterns":[{"name":"comment.line.section.elixir","begin":"##","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}}},{"begin":"(^[ \\t]+)?(?=#)","end":"(?!#)","patterns":[{"name":"comment.line.number-sign.elixir","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}}},{"name":"comment.unused.elixir","match":"\\b_([^_][\\w]+[?!]?)"},{"name":"comment.wildcard.elixir","match":"\\b_\\b"},{"name":"constant.numeric.elixir","match":"(?\u003c!\\w)\\?(\\\\(x[0-9A-Fa-f]{1,2}(?![0-9A-Fa-f])\\b|[^xMC])|[^\\s\\\\])"},{"name":"keyword.operator.concatenation.elixir","match":"\\+\\+|\\-\\-|\u003c\\|\u003e"},{"name":"keyword.operator.sigils_1.elixir","match":"\\|\\\u003e|\u003c~\u003e|\u003c\u003e|\u003c\u003c\u003c|\u003e\u003e\u003e|~\u003e\u003e|\u003c\u003c~|~\u003e|\u003c~|\u003c\\|\u003e"},{"name":"keyword.operator.sigils_2.elixir","match":"\u0026\u0026\u0026|\u0026\u0026"},{"name":"keyword.operator.sigils_3.elixir","match":"\u003c\\-|\\\\\\\\"},{"name":"keyword.operator.comparison.elixir","match":"===?|!==?|\u003c=?|\u003e=?"},{"name":"keyword.operator.bitwise.elixir","match":"(\\|\\|\\||\u0026\u0026\u0026|\\^\\^\\^|\u003c\u003c\u003c|\u003e\u003e\u003e|~~~)"},{"name":"keyword.operator.logical.elixir","match":"(?\u003c=[ \\t])!+|\\bnot\\b|\u0026\u0026|\\band\\b|\\|\\||\\bor\\b|\\bxor\\b"},{"name":"keyword.operator.arithmetic.elixir","match":"(\\*|\\+|\\-|/)"},{"name":"keyword.operator.other.elixir","match":"\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\\u003c\\-|\\\u003c\\\u003e|\\\u003c\\\u003c|\\\u003e\\\u003e|\\:\\:|\\.\\.|//|\\|\u003e|~|=\u003e|\u0026"},{"name":"keyword.operator.assignment.elixir","match":"="},{"name":"punctuation.separator.other.elixir","match":":"},{"name":"punctuation.separator.statement.elixir","match":"\\;"},{"name":"punctuation.separator.object.elixir","match":","},{"name":"punctuation.separator.method.elixir","match":"\\."},{"name":"punctuation.section.scope.elixir","match":"\\{|\\}"},{"name":"punctuation.section.array.elixir","match":"\\[|\\]"},{"name":"punctuation.section.function.elixir","match":"\\(|\\)"}]},"escaped_char":{"name":"constant.character.escaped.elixir","match":"\\\\(x[\\da-fA-F]{1,2}|.)"},"interpolated_elixir":{"name":"meta.embedded.line.elixir","contentName":"source.elixir","begin":"#\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.elixir"}}},"nest_curly_and_self":{"patterns":[{"begin":"\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"}],"captures":{"0":{"name":"punctuation.section.scope.elixir"}}},{"include":"$self"}]}}}
1
+ {"name":"Elixir","scopeName":"source.elixir","patterns":[{"begin":"\\b(fn)\\b(?!.*-\u003e)","end":"$","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}}},{"match":"([A-Z]\\w+)\\s*(\\.)\\s*([a-z_]\\w*[!?]?)","captures":{"1":{"name":"entity.name.type.class.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}}},{"match":"(\\:\\w+)\\s*(\\.)\\s*([_]?\\w*[!?]?)","captures":{"1":{"name":"constant.other.symbol.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}}},{"match":"(\\|\\\u003e)\\s*([a-z_]\\w*[!?]?)","captures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"entity.name.function.elixir"}}},{"name":"entity.name.function.elixir","match":"\\b[a-z_]\\w*[!?]?(?=\\s*\\.?\\s*\\()"},{"begin":"\\b(fn)\\b(?=.*-\u003e)","end":"(?\u003e(-\u003e)|(when)|(\\)))","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}},"endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}}},{"include":"#core_syntax"},{"begin":"^(?=.*-\u003e)((?![^\"']*(\"|')[^\"']*-\u003e)|(?=.*-\u003e[^\"']*(\"|')[^\"']*-\u003e))((?!.*\\([^\\)]*-\u003e)|(?=[^\\(\\)]*-\u003e)|(?=\\s*\\(.*\\).*-\u003e))((?!.*\\b(fn)\\b)|(?=.*-\u003e.*\\bfn\\b))","end":"(?\u003e(-\u003e)|(when)|(\\)))","patterns":[{"include":"#core_syntax"}],"beginCaptures":{"1":{"name":"keyword.control.elixir"}},"endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}}}],"repository":{"core_syntax":{"patterns":[{"name":"meta.module.elixir","begin":"^\\s*(defmodule)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.other.inherited-class.elixir","match":"\\b[A-Z]\\w*(?=\\.)"},{"name":"entity.name.type.class.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"}},"endCaptures":{"1":{"name":"keyword.control.module.elixir"}}},{"name":"meta.protocol_declaration.elixir","begin":"^\\s*(defprotocol)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.name.type.protocol.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}}},{"name":"meta.protocol_implementation.elixir","begin":"^\\s*(defimpl)\\b","end":"\\b(do)\\b","patterns":[{"name":"entity.name.type.protocol.elixir","match":"\\b[A-Z]\\w*\\b"}],"beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}}},{"name":"meta.function.public.elixir","begin":"^\\s*(def|defmacro|defdelegate|defguard)\\s+((?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))?(?\u003e[a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?|===?|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)","end":"(\\bdo:)|(\\bdo\\b)|(?=\\s+(def|defn|defmacro|defdelegate|defguard)\\b)","patterns":[{"include":"$self"},{"begin":"\\s(\\\\\\\\)","end":",|\\)|$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}}},{"name":"keyword.control.elixir","match":"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.public.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}}},{"name":"meta.function.private.elixir","begin":"^\\s*(defp|defnp|defmacrop|defguardp)\\s+((?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))?(?\u003e[a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?|===?|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)","end":"(\\bdo:)|(\\bdo\\b)|(?=\\s+(defp|defmacrop|defguardp)\\b)","patterns":[{"include":"$self"},{"begin":"\\s(\\\\\\\\)","end":",|\\)|$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}}},{"name":"keyword.control.elixir","match":"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b"}],"beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.private.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}}},{"name":"sigil.leex","begin":"\\s*~L\"\"\"","end":"\\s*\"\"\"","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"name":"sigil.heex","begin":"\\s*~H\"\"\"","end":"\\s*\"\"\"","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc (~[a-z])?\"\"\"","end":"\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc ~[A-Z]\"\"\"","end":"\\s*\"\"\""},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc (~[a-z])?'''","end":"\\s*'''","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"comment.block.documentation.heredoc","begin":"@(module|type)?doc ~[A-Z]'''","end":"\\s*'''"},{"name":"comment.block.documentation.false","match":"@(module|type)?doc false"},{"name":"comment.block.documentation.string","begin":"@(module|type)?doc \"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"name":"keyword.control.elixir","match":"(?\u003c!\\.)\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\b(?![?!:])"},{"name":"keyword.operator.elixir","match":"(?\u003c!\\.)\\b(and|not|or|when|xor|in)\\b"},{"name":"entity.name.type.class.elixir","match":"\\b[A-Z]\\w*\\b"},{"name":"constant.language.elixir","match":"\\b(nil|true|false)\\b(?![?!])"},{"name":"variable.language.elixir","match":"\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\b(?![?!])"},{"name":"variable.other.readwrite.module.elixir","match":"(@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"variable.other.anonymous.elixir","match":"(\u0026)\\d+","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"variable.other.anonymous.elixir","match":"\u0026(?![\u0026])"},{"name":"variable.other.capture.elixir","match":"\\^[a-z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.elixir"}}},{"name":"constant.numeric.hex.elixir","match":"\\b0x[0-9A-Fa-f](?\u003e_?[0-9A-Fa-f])*\\b"},{"name":"constant.numeric.float.elixir","match":"\\b\\d(?\u003e_?\\d)*(\\.(?![^[:space:][:digit:]])(?\u003e_?\\d)+)([eE][-+]?\\d(?\u003e_?\\d)*)?\\b"},{"name":"constant.numeric.integer.elixir","match":"\\b\\d(?\u003e_?\\d)*\\b"},{"name":"constant.numeric.binary.elixir","match":"\\b0b[01](?\u003e_?[01])*\\b"},{"name":"constant.numeric.octal.elixir","match":"\\b0o[0-7](?\u003e_?[0-7])*\\b"},{"name":"constant.other.symbol.single-quoted.elixir","begin":":'","end":"'","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.constant.elixir"}}},{"name":"constant.other.symbol.double-quoted.elixir","begin":":\"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.constant.elixir"}}},{"name":"string.quoted.single.heredoc.elixir","begin":"(?\u003e''')","end":"^\\s*'''","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.single.elixir","begin":"'","end":"'","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.double.heredoc.elixir","begin":"(?\u003e\"\"\")","end":"^\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.double.elixir","begin":"\"","end":"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.heredoc.elixir","begin":"~[a-z](?\u003e\"\"\")","end":"^\\s*\"\"\"","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\{","end":"\\}[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\[","end":"\\][a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\\u003c","end":"\\\u003e[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]\\(","end":"\\)[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.elixir","begin":"~[a-z]([^\\w])","end":"\\1[a-z]*","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.heredoc.literal.elixir","begin":"~[A-Z](?\u003e\"\"\")","end":"^\\s*\"\"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\{","end":"\\}[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\[","end":"\\][a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\\u003c","end":"\\\u003e[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]\\(","end":"\\)[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"string.quoted.other.sigil.literal.elixir","begin":"~[A-Z]([^\\w])","end":"\\1[a-z]*","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}}},{"name":"constant.other.symbol.elixir","match":"(?\u003c!:)(:)(?\u003e[a-zA-Z_][\\w@]*(?\u003e[?!]|=(?![\u003e=]))?|\\\u003c\\\u003e|===?|!==?|\u003c\u003c\u003e\u003e|\u003c\u003c\u003c|\u003e\u003e\u003e|~~~|::|\u003c\\-|\\|\u003e|=\u003e|=~|=|/|\\\\\\\\|\\*\\*?|\\.\\.?\\.?|\\.\\.//|\u003e=?|\u003c=?|\u0026\u0026?\u0026?|\\+\\+?|\\-\\-?|\\|\\|?\\|?|\\!|@|\\%?\\{\\}|%|\\[\\]|\\^(\\^\\^)?)","captures":{"1":{"name":"punctuation.definition.constant.elixir"}}},{"name":"constant.other.keywords.elixir","match":"(?\u003e[a-zA-Z_][\\w@]*(?\u003e[?!])?)(:)(?!:)","captures":{"1":{"name":"punctuation.definition.constant.elixir"}}},{"begin":"(^[ \\t]+)?(?=##)","end":"(?!#)","patterns":[{"name":"comment.line.section.elixir","begin":"##","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}}},{"begin":"(^[ \\t]+)?(?=#)","end":"(?!#)","patterns":[{"name":"comment.line.number-sign.elixir","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}}},{"name":"comment.unused.elixir","match":"\\b_([^_][\\w]+[?!]?)"},{"name":"comment.wildcard.elixir","match":"\\b_\\b"},{"name":"constant.numeric.elixir","match":"(?\u003c!\\w)\\?(\\\\(x[0-9A-Fa-f]{1,2}(?![0-9A-Fa-f])\\b|[^xMC])|[^\\s\\\\])"},{"name":"keyword.operator.concatenation.elixir","match":"\\+\\+|\\-\\-|\u003c\\|\u003e"},{"name":"keyword.operator.sigils_1.elixir","match":"\\|\\\u003e|\u003c~\u003e|\u003c\u003e|\u003c\u003c\u003c|\u003e\u003e\u003e|~\u003e\u003e|\u003c\u003c~|~\u003e|\u003c~|\u003c\\|\u003e"},{"name":"keyword.operator.sigils_2.elixir","match":"\u0026\u0026\u0026|\u0026\u0026"},{"name":"keyword.operator.sigils_3.elixir","match":"\u003c\\-|\\\\\\\\"},{"name":"keyword.operator.comparison.elixir","match":"===?|!==?|\u003c=?|\u003e=?"},{"name":"keyword.operator.bitwise.elixir","match":"(\\|\\|\\||\u0026\u0026\u0026|\\^\\^\\^|\u003c\u003c\u003c|\u003e\u003e\u003e|~~~)"},{"name":"keyword.operator.logical.elixir","match":"(?\u003c=[ \\t])!+|\\bnot\\b|\u0026\u0026|\\band\\b|\\|\\||\\bor\\b|\\bxor\\b"},{"name":"keyword.operator.arithmetic.elixir","match":"(\\*|\\+|\\-|/)"},{"name":"keyword.operator.other.elixir","match":"\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\\u003c\\-|\\\u003c\\\u003e|\\\u003c\\\u003c|\\\u003e\\\u003e|\\:\\:|\\.\\.|//|\\|\u003e|~|=\u003e|\u0026"},{"name":"keyword.operator.assignment.elixir","match":"="},{"name":"punctuation.separator.other.elixir","match":":"},{"name":"punctuation.separator.statement.elixir","match":"\\;"},{"name":"punctuation.separator.object.elixir","match":","},{"name":"punctuation.separator.method.elixir","match":"\\."},{"name":"punctuation.section.scope.elixir","match":"\\{|\\}"},{"name":"punctuation.section.array.elixir","match":"\\[|\\]"},{"name":"punctuation.section.function.elixir","match":"\\(|\\)"}]},"escaped_char":{"name":"constant.character.escaped.elixir","match":"\\\\(x[\\da-fA-F]{1,2}|.)"},"interpolated_elixir":{"name":"meta.embedded.line.elixir","contentName":"source.elixir","begin":"#\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.elixir"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.elixir"}}},"nest_curly_and_self":{"patterns":[{"begin":"\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"}],"captures":{"0":{"name":"punctuation.section.scope.elixir"}}},{"include":"$self"}]}}}