github-linguist 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/grammars/gno.mod.json +1 -0
- data/grammars/source.abl.json +1 -1
- data/grammars/source.aleo.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.baml.json +1 -1
- data/grammars/source.bird2.json +1 -0
- data/grammars/source.blueprint.json +1 -0
- data/grammars/source.bnd.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.carbon.json +1 -0
- data/grammars/source.cl.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.clarion.json +1 -1
- data/grammars/source.cmd.json +1 -1
- data/grammars/source.comment-string.wesl.json +1 -1
- data/grammars/source.comment-string.wgsl.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csswg.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.dds.dspf.json +1 -1
- data/grammars/source.dds.icff.json +1 -1
- data/grammars/source.dds.lf.json +1 -1
- data/grammars/source.dds.pf.json +1 -1
- data/grammars/source.dds.prtf.json +1 -1
- data/grammars/source.deq.json +1 -0
- data/grammars/source.fift.json +1 -0
- data/grammars/source.flix.json +1 -1
- data/grammars/source.fpp.json +1 -0
- data/grammars/source.func.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gedcom.json +1 -1
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gno.json +1 -0
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.hxml.json +1 -1
- data/grammars/source.ink.json +1 -1
- data/grammars/source.jac.json +1 -1
- data/grammars/source.jass.json +1 -0
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kcl.json +1 -1
- data/grammars/source.koka.json +1 -1
- data/grammars/source.leo.json +1 -1
- data/grammars/source.lobster.json +1 -0
- data/grammars/source.logos.json +1 -1
- data/grammars/source.luau.json +1 -1
- data/grammars/source.m2.json +1 -1
- data/grammars/source.mi.json +1 -1
- data/grammars/source.mojo.json +1 -1
- data/grammars/source.ms.json +1 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.openqasm.json +1 -1
- data/grammars/source.opy.json +1 -1
- data/grammars/source.paperspecs.json +1 -0
- data/grammars/source.pl.json +1 -0
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.rarlist.json +1 -0
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.rhai.json +1 -0
- data/grammars/source.rpg.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.spicedb.json +1 -1
- data/grammars/source.stim.json +1 -0
- data/grammars/source.surrealql.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.tasm.json +1 -0
- data/grammars/source.tlb.json +1 -0
- data/grammars/source.tolk.json +1 -0
- data/grammars/source.ucode-template.json +1 -0
- data/grammars/source.ucode.json +1 -0
- data/grammars/source.vento.json +1 -1
- data/grammars/source.verse.json +1 -0
- data/grammars/source.vespaSchema.json +1 -0
- data/grammars/source.vhs.json +1 -0
- data/grammars/source.wgsl.json +1 -1
- data/grammars/source.yaml.salt.json +1 -1
- data/grammars/text.bbcode.json +1 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.recfile.json +1 -0
- data/grammars/text.roff.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +19 -0
- data/lib/linguist/generated.rb +24 -0
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +80 -5
- data/lib/linguist/language.rb +5 -9
- data/lib/linguist/languages.yml +231 -27
- data/lib/linguist/languages_data.rb +7663 -0
- data/lib/linguist/lazy_blob.rb +6 -1
- data/lib/linguist/samples.rb +4 -10
- data/lib/linguist/samples_data.rb +196100 -0
- metadata +31 -19
- data/grammars/markdown.bicep.codeblock.json +0 -1
- data/grammars/source.baml-jinja.json +0 -1
- data/lib/linguist/languages.json +0 -1
- data/lib/linguist/samples.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"Aleo","scopeName":"source.aleo","patterns":[{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#strings"},{"include":"#identifier_literal"},{"include":"#instructions"},{"include":"#special_operands"},{"include":"#keywords"},{"include":"#visibility"},{"include":"#base_register"},{"include":"#address"},{"include":"#signature"},{"include":"#literal_type"},{"include":"#register_type"},{"include":"#boolean_literal"},{"include":"#numeric_literal"},{"include":"#punctuation"}],"repository":{"address":{"name":"constant.other.address.aleo","match":"\\baleo1[qpzry9x8gf2tvdw0s3jn54khce6mua7l_]+\\b"},"base_register":{"name":"variable.other.register.aleo","match":"\\br[0-9]+\\b"},"block_comment":{"name":"comment.block.aleo","begin":"/\\*","end":"\\*/"},"boolean_literal":{"name":"constant.language.boolean.aleo","match":"\\b(true|false)\\b"},"identifier_literal":{"name":"string.quoted.single.identifier.aleo","match":"'[A-Za-z][A-Za-z0-9_]*'"},"instructions":{"name":"entity.other.instruction.aleo","match":"\\b(abs(?:\\.w)?|add(?:\\.w)?|and|assert\\.(?:eq|neq)|async|await|branch\\.(?:eq|neq)|call(?:\\.dynamic)?|cast(?:\\.lossy)?|commit\\.(?:bhp(?:256|512|768|1024)|ped(?:64|128))(?:\\.raw)?|contains(?:\\.dynamic)?|deserialize\\.bits(?:\\.raw)?|div(?:\\.w)?|double|ecdsa\\.verify\\.(?:digest(?:\\.eth)?|(?:keccak(?:256|384|512)|sha3_(?:256|384|512))(?:\\.(?:eth|raw))?)|get(?:\\.record\\.dynamic|\\.or_use(?:\\.dynamic)?|\\.dynamic)?|gt|gte|hash\\.(?:(?:bhp(?:256|512|768|1024)|ped(?:64|128)|psd(?:2|4|8))(?:\\.raw)?|(?:keccak(?:256|384|512)|sha3_(?:256|384|512))(?:\\.native)?(?:\\.raw)?)|hash_many\\.psd(?:2|4|8)|inv|is\\.(?:eq|neq)|lt|lte|mod|mul(?:\\.w)?|nand|neg|nor|not|or|position|pow(?:\\.w)?|rand\\.chacha|rem(?:\\.w)?|remove|serialize\\.bits(?:\\.raw)?|set|shl(?:\\.w)?|shr(?:\\.w)?|sign\\.verify|snark\\.verify(?:\\.batch)?|sqrt|square|sub(?:\\.w)?|ternary|xor)(?![A-Za-z0-9_.])"},"keywords":{"name":"keyword.control.aleo","match":"\\b(as|closure|constructor|finalize|function|import|input|into|key|mapping|output|owner|program|record|self|storage|struct|to|transition|value|view|with)\\b"},"line_comment":{"name":"comment.line.double-slash.aleo","begin":"//","end":"$"},"literal_type":{"name":"storage.type.primitive.aleo","match":"\\b(address|boolean|field|group|i8|i16|i32|i64|i128|identifier|scalar|signature|string|u8|u16|u32|u64|u128)\\b"},"numeric_literal":{"name":"constant.numeric.aleo","match":"(?\u003c![A-Za-z0-9_])(?:-[0-9][0-9_]*(?:i(?:8|16|32|64|128)|field|group|scalar)|[0-9][0-9_]*(?:[iu](?:8|16|32|64|128)|field|group|scalar))(?![A-Za-z0-9_])"},"punctuation":{"name":"punctuation.aleo","match":"[()\\[\\]:;,]"},"register_type":{"name":"storage.type.register.aleo","match":"\\b(dynamic\\.(?:future|record)|future)\\b"},"signature":{"name":"constant.other.signature.aleo","match":"\\bsign1[qpzry9x8gf2tvdw0s3jn54khce6mua7l_]+\\b"},"special_operands":{"name":"constant.language.aleo","match":"\\b(aleo::GENERATOR_POWERS(?:\\[[0-9][0-9_]*u32\\])?|aleo::GENERATOR|block\\.(?:height|timestamp)|group::GEN|network\\.id|self\\.(?:caller|signer)|(?:[A-Za-z][A-Za-z0-9_]*\\.aleo/)?(?:[A-Za-z][A-Za-z0-9_]*/)?checksum|(?:[A-Za-z][A-Za-z0-9_]*\\.aleo/)?(?:edition|program_owner))(?![A-Za-z0-9_.])"},"strings":{"name":"string.quoted.double.aleo","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.aleo","match":"\\\\."}]},"visibility":{"name":"storage.modifier.aleo","match":"\\b(const|constant|private|public)\\b"}}}
|
data/grammars/source.astro.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Astro","scopeName":"source.astro","patterns":[{"include":"#scope"},{"include":"#frontmatter"},{"include":"#text"}],"repository":{"attribute-literal":{"name":"string.template.astro","begin":"(`)","end":"\\1","patterns":[{"include":"source.tsx#template-substitution-element"},{"include":"source.tsx#string-character-escape"}]},"attributes":{"patterns":[{"include":"#attributes-events"},{"include":"#attributes-keyvalue"},{"include":"#attributes-interpolated"}]},"attributes-events":{"name":"meta.attribute.$1.astro","begin":"(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![\\\\w:-])","end":"(?=\\s*+[^=\\s])","patterns":[{"begin":"=","end":"(?\u003c=[^\\s=])(?!\\s*=)|(?=/?\u003e)","patterns":[{"include":"#interpolation"},{"include":"#attribute-literal"},{"name":"meta.embedded.line.js","begin":"(?=[^\\s=\u003c\u003e`/]|/(?!\u003e))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.astro","match":"(([^\\s\\\"'=\u003c\u003e`/]|/(?!\u003e))+)","captures":{"0":{"name":"source.js"},"1":{"patterns":[{"include":"source.js"}]}}},{"name":"string.quoted.astro","begin":"([\"])","end":"\\1","patterns":[{"match":"([^\\n\\\"/]|/(?![/*]))+","captures":{"0":{"patterns":[{"include":"source.js"}]}}},{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\\\")|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"(?=\\\")|\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}},{"name":"string.quoted.astro","begin":"(['])","end":"\\1","patterns":[{"match":"([^\\n\\'/]|/(?![/*]))+","captures":{"0":{"patterns":[{"include":"source.js"}]}}},{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\\')|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"(?=\\')|\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}}]}],"beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}}}],"beginCaptures":{"0":{"patterns":[{"name":"entity.other.attribute-name.astro","match":".*"}]}}},"attributes-interpolated":{"contentName":"meta.embedded.expression.astro source.tsx","begin":"(?\u003c!:|=)\\s*({)","end":"(\\})","patterns":[{"include":"source.tsx"}]},"attributes-keyvalue":{"name":"meta.attribute.$1.astro","begin":"([_@$[:alpha:]][:._\\-$[:alnum:]]*)","end":"(?=\\s*+[^=\\s])","patterns":[{"begin":"=","end":"(?\u003c=[^\\s=])(?!\\s*=)|(?=/?\u003e)","patterns":[{"include":"#attributes-value"}],"beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}}}],"beginCaptures":{"0":{"patterns":[{"name":"entity.other.attribute-name.astro","match":".*"}]}}},"attributes-value":{"patterns":[{"include":"#interpolation"},{"name":"string.unquoted.astro","match":"([^\\s\"'=\u003c\u003e`/]|/(?!\u003e))+"},{"name":"string.quoted.astro","begin":"(['\"])","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}},{"include":"#attribute-literal"}]},"comments":{"name":"comment.block.astro","begin":"\u003c!--","end":"--\u003e","patterns":[{"name":"invalid.illegal.characters-not-allowed-here.astro","match":"\\G-?\u003e|\u003c!--(?!\u003e)|\u003c!-(?=--\u003e)|--!\u003e"}],"captures":{"0":{"name":"punctuation.definition.comment.astro"}}},"entities":{"patterns":[{"name":"constant.character.entity.named.$2.astro","match":"(?x)\n\t\t\t\t\t\t(\u0026)\t(?=[a-zA-Z])\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t(a(s(ymp(eq)?|cr|t)|n(d(slope|d|v|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a(h|c|d|e|f|a|g|b))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|e|E|acir)?|elig|f(r)?|w(conint|int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))\n\t\t\t\t\t\t | (B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h(d|u|D|U)?|times|H(d|u|D|U)?|d(R|l|r|L)|u(R|l|r|L)|plus|D(R|l|r|L)|v(R|h|H|l|r|L)?|U(R|l|r|L)|V(R|h|H|l|r|L)?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1(2|4)|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?))\n\t\t\t\t\t\t | (c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr(l|r)|p(s|c(up|ap)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w(conint|int)|lubs(uit)?|a(cute|p(s|c(up|ap)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly(DoubleQuote|Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross))\n\t\t\t\t\t\t | (d(s(c(y|r)|trok|ol)|har(l|r)|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up(DownArrow|Arrow)|VerticalBar|L(ong(RightArrow|Left(RightArrow|Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger)))\n\t\t\t\t\t\t | (e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t(h|a)|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(ot|Dot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1(3|4))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty(SmallSquare|VerySmallSquare)|acr)))\n\t\t\t\t\t\t | (f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(ig|lig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1(2|8|3|4|5|6)|78|2(3|5)|3(8|4|5)|45|5(8|6)))))|F(scr|cy|illed(SmallSquare|VerySmallSquare)|o(uriertrf|pf|rAll)|fr))\n\t\t\t\t\t\t | (G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im(e|l)?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(qless|less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l(j|E|a)?|a(cute|p|mma(d)?)|rave|g(g)?|breve))\n\t\t\t\t\t\t | (h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok(leftarrow|rightarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks(earow|warow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy))\n\t\t\t\t\t\t | (i(s(cr|in(s(v)?|dot|v|E)?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(nt|int)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f(f|r)|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?))\n\t\t\t\t\t\t | (j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr))\n\t\t\t\t\t\t | (k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa))\n\t\t\t\t\t\t | (l(s(h|cr|trok|im(e|g)?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(il|dil)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i(e|f)?|Par))?|Har|o(ng(left(arrow|rightarrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r(dhar|ushar))|ur(dshar|uhar)|jcy|par(lt)?|e(s(s(sim|dot|eq(qgtr|gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left(arrow|rightarrow)|rightarrow|Left(RightArrow|Arrow))|pf|wer(RightArrow|LeftArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot))\n\t\t\t\t\t\t | (M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u(ltimap|map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker)))\n\t\t\t\t\t\t | (n(s(hort(parallel|mid)|c(cue|e|r)?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|e|E)?|b(set(eq(q)?)?|e|E)?)|par|qsu(pe|be)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v(c|a|b))?|in(dot|v(c|a|b)|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g(t|e))|fr|w(near|ar(hk|r(ow)?)|Arr)|V(dash|Dash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft(arrow|rightarrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr(c|w)?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft(arrow|rightarrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes(SlantEqual|Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi(nSpace|ckSpace)|VeryThinSpace))|Jcy|fr|acute))\n\t\t\t\t\t\t | (o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|f|m)?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly(DoubleQuote|Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr)))\n\t\t\t\t\t\t | (p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d(o|u)|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?))\n\t\t\t\t\t\t | (q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr))\n\t\t\t\t\t\t | (R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(il|dil)|aron)|Barr|t(hree|imes|ri(e|f|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng(d|e|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr)))\n\t\t\t\t\t\t | (s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma(v|f)?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot(e|b)?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n(e|E)|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|n(e|E)|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar(e|f))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort(RightArrow|DownArrow|UpArrow|LeftArrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle))\n\t\t\t\t\t\t | (t(s(hcy|c(y|r)|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead(leftarrow|rightarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i(nSpace|ckSpace)|e(ta|refore))|c(y|edil|aron)|S(cy|Hcy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a(u|b)|ripleDot))\n\t\t\t\t\t\t | (u(scr|h(ar(l|r)|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per(RightArrow|LeftArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve)))\n\t\t\t\t\t\t | (v(s(cr|u(pn(e|E)|bn(e|E)))|nsu(p|b)|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar))\n\t\t\t\t\t\t | (w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr))\n\t\t\t\t\t\t | (X(scr|i|opf|fr)|x(s(cr|qcup)|h(arr|Arr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l(arr|Arr)|r(arr|Arr)|map))\n\t\t\t\t\t\t | (y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy))\n\t\t\t\t\t\t | (z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(nj|j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute))\n\t\t\t\t\t\t)\n\t\t\t\t\t\t(;)\n\t\t\t\t\t","captures":{"1":{"name":"punctuation.definition.entity.astro"},"912":{"name":"punctuation.definition.entity.astro"}}},{"name":"constant.character.entity.numeric.decimal.astro","match":"(\u0026)#[0-9]+(;)","captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}}},{"name":"constant.character.entity.numeric.hexadecimal.astro","match":"(\u0026)#[xX][0-9a-fA-F]+(;)","captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}}},{"name":"invalid.illegal.ambiguous-ampersand.astro","match":"\u0026(?=[a-zA-Z0-9]+;)"}]},"frontmatter":{"begin":"\\A(-{3})\\s*$","end":"(^|\\G)(-{3})|\\.{3}\\s*$","patterns":[{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\\n)(?=[^\\n]+^-{3})","end":"(?=^-{3})","patterns":[{"include":"source.ts"}]},{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\\n)","while":"^(?!\\s*-{3})","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"1":{"name":"comment"}},"endCaptures":{"2":{"name":"comment"}}},"interpolation":{"patterns":[{"contentName":"meta.embedded.expression.astro source.tsx","begin":"\\{","end":"\\}","patterns":[{"begin":"\\G\\s*(?={)","end":"(?\u003c=})","patterns":[{"include":"source.tsx#object-literal"}]},{"include":"source.tsx"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.astro"}}}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#tags"},{"include":"#interpolation"},{"include":"#entities"}]},"tags":{"patterns":[{"include":"#tags-raw"},{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"match":"(\u003c/)(.*?)\\s*(\u003e)|(/\u003e)","captures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"},"4":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}}},"tags-general-end":{"name":"meta.scope.tag.$2.astro","begin":"(\u003c/)([^/\\s\u003e]*)","end":"(\u003e)","beginCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]}},"endCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"}}},"tags-general-start":{"name":"meta.scope.tag.$2.astro","begin":"(\u003c)([^/\\s\u003e/]*)","end":"(/?\u003e)","patterns":[{"include":"#tags-start-attributes"}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"1":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}}},"tags-lang":{"name":"meta.scope.tag.$1.astro meta.$1.astro","begin":"\u003c(script|style)(?=\\s|/?\u003e)","end":"\u003c/\\1\\s*\u003e|/\u003e","patterns":[{"name":"meta.lang.json.astro","begin":"\\G(?=\\s*[^\u003e]*?(type|lang)\\s*=\\s*(['\"]|)(?:text\\/)?(application\\/ld\\+json)\\2)","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.javascript.astro","begin":"\\G(?=\\s*[^\u003e]*?(type|lang)\\s*=\\s*(['\"]|)(module)\\2)","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.$3.astro","begin":"\\G(?=\\s*[^\u003e]*?(type|lang)\\s*=\\s*(['\"]|)(?:text/|application/)?([\\w\\/+]+)\\2)","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"include":"#tags-lang-start-attributes"}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}}},"tags-lang-start-attributes":{"name":"meta.tag.start.astro","begin":"\\G","end":"(?=/\u003e)|\u003e","patterns":[{"include":"#attributes"}],"endCaptures":{"0":{"name":"punctuation.definition.tag.end.astro"}}},"tags-name":{"patterns":[{"name":"support.class.component.astro","match":"[A-Z][a-zA-Z0-9_]*"},{"name":"meta.tag.custom.astro entity.name.tag.astro","match":"[a-z][\\w0-9:]*-[\\w0-9:-]*"},{"name":"entity.name.tag.astro","match":"[a-z][\\w0-9:-]*"}]},"tags-raw":{"name":"meta.scope.tag.$1.astro meta.raw.astro","contentName":"source.unknown","begin":"\u003c([^/?!\\s\u003c\u003e]+)(?=[^\u003e]+is:raw).*?","end":"\u003c/\\1\\s*\u003e|/\u003e","patterns":[{"include":"#tags-lang-start-attributes"}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}}},"tags-start-attributes":{"name":"meta.tag.start.astro","begin":"\\G","end":"(?=/?\u003e)","patterns":[{"include":"#attributes"}]},"tags-start-node":{"name":"meta.tag.start.astro","match":"(\u003c)([^/\\s\u003e/]*)","captures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"patterns":[{"include":"#tags-name"}]}}},"tags-void":{"name":"meta.tag.void.astro","begin":"(\u003c)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\s|/?\u003e)","end":"/?\u003e","patterns":[{"include":"#attributes"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"name":"entity.name.tag.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.begin.astro"}}},"text":{"patterns":[{"name":"text.astro","begin":"(?\u003c=^|---|\u003e|})","end":"(?=\u003c|{|$)","patterns":[{"include":"#entities"}]}]}},"injections":{"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]},{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]}]},"L:(meta.script.astro) (meta.lang.json) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.json","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.json"}]}]},"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.ts"}]},{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.ts"}]}]},"L:meta.embedded.expression.astro - meta.embedded.block":{"patterns":[{"include":"#tags-lang"}]},"L:meta.script.astro - meta.lang - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]},{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]}]},"L:meta.style.astro - meta.lang - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.css - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.less - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.less","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.astro meta.lang.postcss - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.postcss","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{}]}]},"L:meta.style.astro meta.lang.sass - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.sass","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.sass"}]}]},"L:meta.style.astro meta.lang.scss - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.scss","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.astro meta.lang.stylus - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.stylus","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.stylus"}]}]}}}
|
|
1
|
+
{"name":"Astro","scopeName":"source.astro","patterns":[{"include":"#scope"},{"include":"#frontmatter"},{"include":"#text"}],"repository":{"attribute-literal":{"name":"string.template.astro","begin":"(`)","end":"\\1","patterns":[{"include":"source.tsx#template-substitution-element"},{"include":"source.tsx#string-character-escape"}]},"attributes":{"patterns":[{"include":"#attributes-events"},{"include":"#attributes-keyvalue"},{"include":"#attributes-interpolated"}]},"attributes-events":{"name":"meta.attribute.$1.astro","begin":"(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![\\\\w:-])","end":"(?=\\s*+[^=\\s])","patterns":[{"begin":"=","end":"(?\u003c=[^\\s=])(?!\\s*=)|(?=/?\u003e)","patterns":[{"include":"#interpolation"},{"include":"#attribute-literal"},{"name":"meta.embedded.line.js","begin":"(?=[^\\s=\u003c\u003e`/]|/(?!\u003e))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.astro","match":"(([^\\s\\\"'=\u003c\u003e`/]|/(?!\u003e))+)","captures":{"0":{"name":"source.js"},"1":{"patterns":[{"include":"source.js"}]}}},{"name":"string.quoted.astro","begin":"([\"])","end":"\\1","patterns":[{"match":"([^\\n\\\"/]|/(?![/*]))+","captures":{"0":{"patterns":[{"include":"source.js"}]}}},{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\\\")|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"(?=\\\")|\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}},{"name":"string.quoted.astro","begin":"(['])","end":"\\1","patterns":[{"match":"([^\\n\\'/]|/(?![/*]))+","captures":{"0":{"patterns":[{"include":"source.js"}]}}},{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\\')|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"(?=\\')|\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}}]}],"beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}}}],"beginCaptures":{"0":{"patterns":[{"name":"entity.other.attribute-name.astro","match":".*"}]}}},"attributes-interpolated":{"contentName":"meta.embedded.expression.astro source.tsx","begin":"(?\u003c!:|=)\\s*({)","end":"(\\})","patterns":[{"include":"source.tsx"}]},"attributes-keyvalue":{"name":"meta.attribute.$1.astro","begin":"([_@$[:alpha:]][:._\\-$[:alnum:]]*)","end":"(?=\\s*+[^=\\s])","patterns":[{"begin":"=","end":"(?\u003c=[^\\s=])(?!\\s*=)|(?=/?\u003e)","patterns":[{"include":"#attributes-value"}],"beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}}}],"beginCaptures":{"0":{"patterns":[{"name":"entity.other.attribute-name.astro","match":".*"}]}}},"attributes-value":{"patterns":[{"include":"#interpolation"},{"name":"string.unquoted.astro","match":"([^\\s\"'=\u003c\u003e`/]|/(?!\u003e))+"},{"name":"string.quoted.astro","begin":"(['\"])","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}}},{"include":"#attribute-literal"}]},"comments":{"name":"comment.block.astro","begin":"\u003c!--","end":"--\u003e","patterns":[{"name":"invalid.illegal.characters-not-allowed-here.astro","match":"\\G-?\u003e|\u003c!--(?!\u003e)|\u003c!-(?=--\u003e)|--!\u003e"}],"captures":{"0":{"name":"punctuation.definition.comment.astro"}}},"entities":{"patterns":[{"name":"constant.character.entity.named.$2.astro","match":"(?x)\n\t\t\t\t\t\t(\u0026)\t(?=[a-zA-Z])\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t(a(s(ymp(eq)?|cr|t)|n(d(slope|d|v|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a(h|c|d|e|f|a|g|b))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|e|E|acir)?|elig|f(r)?|w(conint|int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))\n\t\t\t\t\t\t | (B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h(d|u|D|U)?|times|H(d|u|D|U)?|d(R|l|r|L)|u(R|l|r|L)|plus|D(R|l|r|L)|v(R|h|H|l|r|L)?|U(R|l|r|L)|V(R|h|H|l|r|L)?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1(2|4)|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?))\n\t\t\t\t\t\t | (c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr(l|r)|p(s|c(up|ap)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w(conint|int)|lubs(uit)?|a(cute|p(s|c(up|ap)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly(DoubleQuote|Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross))\n\t\t\t\t\t\t | (d(s(c(y|r)|trok|ol)|har(l|r)|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up(DownArrow|Arrow)|VerticalBar|L(ong(RightArrow|Left(RightArrow|Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger)))\n\t\t\t\t\t\t | (e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t(h|a)|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(ot|Dot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1(3|4))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty(SmallSquare|VerySmallSquare)|acr)))\n\t\t\t\t\t\t | (f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(ig|lig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1(2|8|3|4|5|6)|78|2(3|5)|3(8|4|5)|45|5(8|6)))))|F(scr|cy|illed(SmallSquare|VerySmallSquare)|o(uriertrf|pf|rAll)|fr))\n\t\t\t\t\t\t | (G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im(e|l)?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(qless|less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l(j|E|a)?|a(cute|p|mma(d)?)|rave|g(g)?|breve))\n\t\t\t\t\t\t | (h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok(leftarrow|rightarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks(earow|warow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy))\n\t\t\t\t\t\t | (i(s(cr|in(s(v)?|dot|v|E)?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(nt|int)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f(f|r)|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?))\n\t\t\t\t\t\t | (j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr))\n\t\t\t\t\t\t | (k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa))\n\t\t\t\t\t\t | (l(s(h|cr|trok|im(e|g)?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(il|dil)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i(e|f)?|Par))?|Har|o(ng(left(arrow|rightarrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r(dhar|ushar))|ur(dshar|uhar)|jcy|par(lt)?|e(s(s(sim|dot|eq(qgtr|gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left(arrow|rightarrow)|rightarrow|Left(RightArrow|Arrow))|pf|wer(RightArrow|LeftArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot))\n\t\t\t\t\t\t | (M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u(ltimap|map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker)))\n\t\t\t\t\t\t | (n(s(hort(parallel|mid)|c(cue|e|r)?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|e|E)?|b(set(eq(q)?)?|e|E)?)|par|qsu(pe|be)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v(c|a|b))?|in(dot|v(c|a|b)|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g(t|e))|fr|w(near|ar(hk|r(ow)?)|Arr)|V(dash|Dash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft(arrow|rightarrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr(c|w)?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft(arrow|rightarrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes(SlantEqual|Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi(nSpace|ckSpace)|VeryThinSpace))|Jcy|fr|acute))\n\t\t\t\t\t\t | (o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|f|m)?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly(DoubleQuote|Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr)))\n\t\t\t\t\t\t | (p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d(o|u)|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?))\n\t\t\t\t\t\t | (q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr))\n\t\t\t\t\t\t | (R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(il|dil)|aron)|Barr|t(hree|imes|ri(e|f|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng(d|e|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl(d|u)|e)|ac(e|k))|brk)|A(tail|arr|rr)))\n\t\t\t\t\t\t | (s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma(v|f)?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot(e|b)?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n(e|E)|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u(p|b)|et(neq(q)?|eq(q)?)?)|n(e|E)|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar(e|f))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort(RightArrow|DownArrow|UpArrow|LeftArrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle))\n\t\t\t\t\t\t | (t(s(hcy|c(y|r)|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead(leftarrow|rightarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i(nSpace|ckSpace)|e(ta|refore))|c(y|edil|aron)|S(cy|Hcy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a(u|b)|ripleDot))\n\t\t\t\t\t\t | (u(scr|h(ar(l|r)|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per(RightArrow|LeftArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve)))\n\t\t\t\t\t\t | (v(s(cr|u(pn(e|E)|bn(e|E)))|nsu(p|b)|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar))\n\t\t\t\t\t\t | (w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr))\n\t\t\t\t\t\t | (X(scr|i|opf|fr)|x(s(cr|qcup)|h(arr|Arr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l(arr|Arr)|r(arr|Arr)|map))\n\t\t\t\t\t\t | (y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy))\n\t\t\t\t\t\t | (z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(nj|j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute))\n\t\t\t\t\t\t)\n\t\t\t\t\t\t(;)\n\t\t\t\t\t","captures":{"1":{"name":"punctuation.definition.entity.astro"},"912":{"name":"punctuation.definition.entity.astro"}}},{"name":"constant.character.entity.numeric.decimal.astro","match":"(\u0026)#[0-9]+(;)","captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}}},{"name":"constant.character.entity.numeric.hexadecimal.astro","match":"(\u0026)#[xX][0-9a-fA-F]+(;)","captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}}},{"name":"invalid.illegal.ambiguous-ampersand.astro","match":"\u0026(?=[a-zA-Z0-9]+;)"}]},"frontmatter":{"begin":"\\A(-{3})\\s*$","end":"(^|\\G)(-{3})|\\.{3}\\s*$","patterns":[{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\\n)(?=[^\\n]+^-{3})","end":"(?=^-{3})","patterns":[{"include":"source.ts"}]},{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\\n)","while":"^(?!\\s*-{3})","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"1":{"name":"comment"}},"endCaptures":{"2":{"name":"comment"}}},"interpolation":{"patterns":[{"contentName":"meta.embedded.expression.astro source.tsx","begin":"\\{","end":"\\}","patterns":[{"begin":"\\G\\s*(?={)","end":"(?\u003c=})","patterns":[{"include":"source.tsx#object-literal"}]},{"include":"source.tsx"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.astro"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.astro"}}}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#tags"},{"include":"#interpolation"},{"include":"#entities"}]},"tags":{"patterns":[{"include":"#tags-raw"},{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"match":"(\u003c/)(.*?)\\s*(\u003e)|(/\u003e)","captures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"},"4":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}}},"tags-general-end":{"name":"meta.scope.tag.$2.astro","begin":"(\u003c/)([^/\\s\u003e]*)","end":"(\u003e)","beginCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]}},"endCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"}}},"tags-general-start":{"name":"meta.scope.tag.$2.astro","begin":"(\u003c)([^/\\s\u003e/]*)","end":"(/?\u003e)","patterns":[{"include":"#tags-start-attributes"}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"1":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}}},"tags-lang":{"name":"meta.scope.tag.$1.astro meta.$1.astro","begin":"\u003c(script|style)(?=\\s|/?\u003e)","end":"\u003c/\\1\\s*\u003e|/\u003e","patterns":[{"name":"meta.lang.json.astro","begin":"\\G(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(?:text\\/)?(application\\/ld\\+json)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.javascript.astro","begin":"\\G(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(module)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.$3.astro","begin":"\\G(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(?:text/|application/)?([\\w\\/+]+)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"begin":"\\G","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes-prescan"},{"name":"meta.lang.json.astro","begin":"(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(?:text\\/)?(application\\/ld\\+json)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.javascript.astro","begin":"(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(module)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.lang.$3.astro","begin":"(?=\\s*(type|lang)\\s*=\\s*(['\"]|)(?:text/|application/)?([\\w\\/+]+)\\2(?=\\s|/?\u003e|$))","end":"(?=\u003c/|/\u003e)","patterns":[{"include":"#tags-lang-start-attributes"}]},{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro","match":"\u003e"}]}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}}},"tags-lang-start-attributes":{"name":"meta.tag.start.astro","begin":"\\G","end":"(?=/\u003e)|\u003e","patterns":[{"include":"#attributes"}],"endCaptures":{"0":{"name":"punctuation.definition.tag.end.astro"}}},"tags-lang-start-attributes-prescan":{"name":"meta.tag.start.astro","begin":"\\G","end":"(?=/\u003e)|\u003e|(?=\\s*(?:type|lang)\\s*=\\s*(?:\"(?:text/|application/)?[\\w\\/+]+\"|'(?:text/|application/)?[\\w\\/+]+'|(?:text/|application/)?[\\w\\/+]+)(?=\\s|/?\u003e|$))","patterns":[{"include":"#attributes"}],"endCaptures":{"0":{"name":"punctuation.definition.tag.end.astro"}}},"tags-name":{"patterns":[{"name":"support.class.component.astro","match":"[A-Z][a-zA-Z0-9_]*"},{"name":"meta.tag.custom.astro entity.name.tag.astro","match":"[a-z][\\w0-9:]*-[\\w0-9:-]*"},{"name":"entity.name.tag.astro","match":"[a-z][\\w0-9:-]*"}]},"tags-raw":{"name":"meta.scope.tag.$1.astro meta.raw.astro","contentName":"source.unknown","begin":"\u003c([^/?!\\s\u003c\u003e]+)(?=[^\u003e]+is:raw).*?","end":"\u003c/\\1\\s*\u003e|/\u003e","patterns":[{"include":"#tags-lang-start-attributes"}],"beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}}},"tags-start-attributes":{"name":"meta.tag.start.astro","begin":"\\G","end":"(?=/?\u003e)","patterns":[{"include":"#attributes"}]},"tags-start-node":{"name":"meta.tag.start.astro","match":"(\u003c)([^/\\s\u003e/]*)","captures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"patterns":[{"include":"#tags-name"}]}}},"tags-void":{"name":"meta.tag.void.astro","begin":"(\u003c)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\s|/?\u003e)","end":"/?\u003e","patterns":[{"include":"#attributes"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"name":"entity.name.tag.astro"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.begin.astro"}}},"text":{"patterns":[{"name":"text.astro","begin":"(?\u003c=^|---|\u003e|})","end":"(?=\u003c|{|$)","patterns":[{"include":"#entities"}]}]}},"injections":{"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]},{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]}]},"L:(meta.script.astro) (meta.lang.json) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.json","begin":"(?\u003c=\u003e)(?!\u003c/)","end":"(?=\u003c/)","patterns":[{"include":"source.json"}]}]},"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.ts"}]},{"name":"meta.embedded.block.astro","contentName":"source.ts","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.ts"}]}]},"L:meta.embedded.expression.astro - meta.embedded.block":{"patterns":[{"include":"#tags-lang"}]},"L:meta.script.astro - meta.lang - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/script[\\s\u003e])","end":"(?=\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]},{"name":"meta.embedded.block.astro","contentName":"source.js","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/script[\\s\u003e])","patterns":[{"include":"source.js"}]}]},"L:meta.style.astro - meta.lang - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.css"}]},{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.css - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.css"}]},{"name":"meta.embedded.block.astro","contentName":"source.css","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.less - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.less","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.css.less"}]},{"name":"meta.embedded.block.astro","contentName":"source.css.less","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.astro meta.lang.postcss - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.postcss","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{}]},{"name":"meta.embedded.block.astro","contentName":"source.css.postcss","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{}]}]},"L:meta.style.astro meta.lang.sass - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.sass","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.sass"}]},{"name":"meta.embedded.block.astro","contentName":"source.sass","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.sass"}]}]},"L:meta.style.astro meta.lang.scss - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.css.scss","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.css.scss"}]},{"name":"meta.embedded.block.astro","contentName":"source.css.scss","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.astro meta.lang.stylus - (meta.embedded.block source)":{"patterns":[{"name":"meta.embedded.block.astro","contentName":"source.stylus","begin":"(?\u003c=\u003e)(?=[^\\n]+\u003c/style[\\s\u003e])","end":"(?=\u003c/style[\\s\u003e])","patterns":[{"include":"source.stylus"}]},{"name":"meta.embedded.block.astro","contentName":"source.stylus","begin":"(?\u003c=\u003e)(?!\u003c/)","while":"^(?!\\s*\u003c/style[\\s\u003e])","patterns":[{"include":"source.stylus"}]}]}}}
|
data/grammars/source.baml.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"baml","scopeName":"source.baml","patterns":[{"include":"#comment"},{"include":"#schema"}],"repository":{"arrow_return_type":{"begin":"(?\u003c=\\))\\s*(-\u003e)\\s*","end":"(?=\\{)","patterns":[{"include":"#comment"},{"include":"#type_definition"}],"beginCaptures":{"1":{"name":"keyword.control.baml.arrow"}}},"block_attribute":{"patterns":[{"contentName":"string.quoted.block.thing","begin":"(@{1,2}(?:check|assert))\\s*\\(\\s*(?=\\{\\{)","end":"\\)\\s*","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"contentName":"string.quoted.block.thing","begin":"(@{1,2}(?:check|assert))\\s*\\(([^,]+)?\\s*,\\s*(?=\\{\\{)","end":"\\)\\s*","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"},"2":{"name":"variable.parameter.checkName"}}},{"contentName":"string.quoted.block.thing","begin":"(@{1,2}(?:check|assert))\\(([^,]+)?\\s*,\\s*()","end":"\\)","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"},"2":{"name":"variable.parameter.checkName"}}},{"name":"string.quoted.block.baml","begin":"(@{1,2}\\w+)\\(#\"","end":"\"#\\)","patterns":[{"include":"#comment"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#key_value"},{"include":"#block_string_pair"},{"include":"#string_literal"},{"name":"punctuation.section.parens.open","match":"\\("},{"name":"punctuation.section.parens.close","match":"\\)"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"name":"string.quoted.block.baml","begin":"(@{1,2}\\w+)\\(#{1,3}\"","end":"\"#{1,3}\\)","patterns":[{"include":"#comment"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#key_value"},{"include":"#block_string_pair"},{"include":"#string_literal"},{"name":"punctuation.section.parens.open","match":"\\("},{"name":"punctuation.section.parens.close","match":"\\)"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"begin":"(@{1,2}\\w+)\\(","end":"\\)","patterns":[{"include":"#string_unquoted"},{"include":"#comment"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#key_value"},{"include":"#block_string_pair"},{"name":"string.quoted.double","include":"#string_literal"},{"name":"punctuation.section.parens.open","match":"\\("},{"name":"punctuation.section.parens.close","match":"\\)"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"begin":"(@{1,2}\\w+)\\(\"","end":"\"\\)","patterns":[{"name":"string.quoted.double","include":"#string_literal"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"begin":"(@{1,2}\\w+)\\(","end":"\\)","patterns":[{"name":"string.unquoted","match":"\\w+"}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}},{"name":"string.quoted.block.baml","begin":"(@{1,2}\\w+)\\(#{1,3}","end":"#{1,3}\\)","patterns":[{"name":"constant.character.escape","match":"\\\\."},{"name":"meta.embedded.block_attribute","begin":"\\(","end":"\\)"},{"include":"#comment"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#key_value"},{"include":"#block_string_pair"},{"include":"#string_literal"},{"name":"text.plain","match":"."}],"beginCaptures":{"1":{"name":"entity.name.function.attribute"}}}]},"block_string_pair":{"contentName":"string.quoted.block.baml.stringpair","begin":"(\\w+)?\\s+(#{1,3}(\"){1,3})","end":"((\"){1,3}#{1,3})","patterns":[{"include":"#curly_comment"},{"name":"entity.name.type.chat","match":"\\{#chat\\([^}]*\\)}"},{"name":"keyword.special.string.code","match":"\\{#[a-zA-Z_][a-zA-Z0-9_.()\u003e\u003c]*}"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.block_string_pair"},"2":{"name":"string.quoted.block.baml.startquote"}},"endCaptures":{"1":{"name":"string.quoted.block.baml.endquote"}}},"comment":{"patterns":[{"name":"comment.line","match":"//.*"},{"name":"comment.block.documentation","begin":"///","end":"$","patterns":[{"name":"comment.block.documentation","match":".*"}]},{"include":"#curly_comment"}]},"config_block":{"begin":"(client|generator|retry_policy|printer|test)\\s*(\u003c([^\u003e]+)\u003e)?\\s+(\\w+)\\s*\\{","end":"\\}","patterns":[{"include":"#comment"},{"include":"#block_attribute"},{"include":"#type_builder"},{"include":"#property_assignment_expression"}],"beginCaptures":{"1":{"name":"storage.type.declaration"},"3":{"name":"storage.type.declaration"},"4":{"name":"entity.name.type"}}},"constant_numeric":{"name":"constant.numeric","match":"\\b\\d+\\b"},"curly_comment":{"name":"comment.line.double-slash.baml","begin":"\\{//","end":"//}","patterns":[{"include":"#language_block_python"},{"include":"#language_block_ts"}]},"dynamic_declaration":{"begin":"(dynamic)\\s+(\\w+)\\s*\\{","end":"\\}","patterns":[{"include":"#comment"},{"begin":"(\\w+)","end":"(?=$|\\n|@|\\}|/)","patterns":[{"include":"#type_definition"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.interface"}}},{"name":"variable.other.field","match":"\\b[A-Za-z_][A-Za-z0-9_]*\\b"},{"include":"#block_attribute"}],"beginCaptures":{"1":{"name":"storage.type.dynamic"},"2":{"name":"entity.name.type.dynamic"}}},"enum_declaration":{"begin":"(enum)\\s+(\\w+)","end":"\\}","patterns":[{"include":"#comment"},{"include":"#block_attribute"},{"name":"variable.other.field","match":"\\b[A-Za-z_][A-Za-z0-9_]*\\b"}],"beginCaptures":{"1":{"name":"storage.type.enum"},"2":{"name":"entity.name.type"}}},"function_body":{"begin":"(?\u003c=\\{)\\s*","end":"(?=\\})","patterns":[{"include":"#comment"},{"include":"#block_attribute"},{"patterns":[{"name":"meta.client.declaration","match":"(client)\\s+(\\w+|\"[^\"]*\")","captures":{"1":{"name":"variable.other.readwrite.client"},"2":{"patterns":[{"name":"entity.name.other.client","match":"\\w+"},{"include":"#string_literal"}]}}},{"contentName":"string.quoted.block.baml.prompt","begin":"\\s+(prompt)\\s+(#{1,5})(\")","end":"\\s*(\"\\2)","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.prompt"},"2":{"name":"string.quoted.block.baml.prompt"},"3":{"name":"string.quoted.block.baml.prompt"}},"endCaptures":{"0":{"name":"string.quoted.block.baml.prompt"}}}]}]},"function_declaration":{"begin":"(function)\\s+(\\w+)","end":"\\}","patterns":[{"include":"#comment"},{"include":"#function_parameters"},{"include":"#arrow_return_type"},{"include":"#function_body"}],"beginCaptures":{"1":{"name":"storage.type.declaration.function"},"2":{"name":"entity.name.function"}}},"function_declaration2":{"begin":"(function)\\s+(\\w+)\\(([^)]*)\\)\\s*(-\u003e)\\s*([\\w\\s\\[\\]|,?]+)\\s+\\{","end":"\\}","patterns":[{"include":"#comment"},{"name":"meta.client.declaration","match":"(client)\\s+(\\w+|\"[^\"]*\")","captures":{"1":{"name":"variable.other.readwrite.client"},"2":{"patterns":[{"name":"entity.name.other.client","match":"\\w+"},{"include":"#string_literal"}]}}},{"contentName":"string.quoted.block.baml.prompt","begin":"\\s+(prompt)\\s+(#{1,3}\")","end":"\\s*(\"#{1,3})","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.prompt"},"2":{"name":"string.quoted.block.baml.prompt"}},"endCaptures":{"1":{"name":"string.quoted.block.baml.prompt"}}},{"include":"#block_attribute"}],"beginCaptures":{"1":{"name":"storage.type.declaration.function"},"2":{"name":"entity.name.function"},"3":{"name":"variable.parameter.function"},"4":{"name":"keyword.operator"},"5":{"name":"support.type"}}},"function_name_type":{"patterns":[{"match":"(\\w+)\\s*:","captures":{"1":{"name":"variable.other.readwrite.function_name"}}},{"include":"#type_definition"}]},"function_parameters":{"contentName":"function.params","begin":"\\(","end":"\\)","patterns":[{"include":"#comment"},{"include":"#function_name_type"}]},"interface_declaration":{"begin":"(class|override)\\s+(\\w+)\\s*\\{","end":"\\}","patterns":[{"include":"#comment"},{"begin":"(\\w+)","end":"(?=$|\\n|@|\\}|/)","patterns":[{"include":"#type_definition"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.interface"}}},{"include":"#block_attribute"}],"beginCaptures":{"1":{"name":"storage.type.declaration.interface"},"2":{"name":"entity.name.type"}}},"invalid_assignment":{"name":"invalid.illegal","match":"\\b[a-zA-Z_][a-zA-Z0-9_]*\\s+[a-zA-Z_][a-zA-Z0-9_]*\\s+[a-zA-Z_][a-zA-Z0-9_]*"},"key_array_pair":{"contentName":"variable.other.readwrite.array","begin":"(\"\\w+\"|\\b\\w+\\b)\\s+\\[","end":"\\]","patterns":[{"include":"#key_array_pair"},{"include":"#string_quoted2"},{"include":"#constant_numeric"}],"captures":{"1":{"name":"variable.other.readwrite"}}},"key_boolean_pair":{"match":"(\"\\w+\"|\\b\\w+\\b)\\s+(\\btrue\\b|\\bfalse\\b)","captures":{"1":{"name":"variable.other.readwrite"},"2":{"name":"constant.language.boolean"}}},"key_custom_string_pair":{"match":"(\"\\w+\"|\\b\\w+\\b)\\s+((?!null)[^\\s\\[\\{]+)","captures":{"1":{"name":"variable.other.readwrite.custom_string"},"2":{"name":"string.unquoted"}}},"key_null_pair":{"match":"(\"\\w+\"|\\b\\w+\\b)\\s+(\\bnull\\b)","captures":{"1":{"name":"variable.other.readwrite.null"},"2":{"name":"constant.language.nil.null"}}},"key_number_pair":{"match":"(\"\\w+\"|\\b\\w+\\b)\\s+(\\b\\d+\\b)","captures":{"1":{"name":"variable.other.readwrite.number_pair"},"2":{"name":"constant.numeric"}}},"key_quoted_string_pair":{"match":"(\"[^\"]+\")\\s+(\"[^\"]+\")","captures":{"1":{"name":"string.quoted.double"},"2":{"name":"string.quoted.double"}}},"key_string_pair":{"begin":"(\"\\w+\"|\\b\\w+\\b)\\s+(\")","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\."},{"name":"string.quoted.double","match":"[^\"\\\\]+"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.key_string_pair"},"2":{"name":"string.quoted.double"}},"endCaptures":{"0":{"name":"string.quoted.double"}}},"key_value":{"begin":"\\s*\\{","end":"\\s*\\}","patterns":[{"include":"#comment"},{"include":"#property_assignment_expression"}]},"key_value_pair":{"begin":"(\\w+)\\s*","end":"(?=\\n)","patterns":[{"include":"#string_literal"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.key_value_pair"}}},"keyword":{"patterns":[{"name":"keyword.special.input-output","match":"\\b(input|output)\\b"}]},"language_block_jinja":{"contentName":"source.baml-jinja.embedded","begin":"(jinja)(#{1,3}\")","end":"\\s*(\"{1,3}#)","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"comment.line"},"2":{"name":"string.quoted"}},"endCaptures":{"1":{"name":"string.quoted"}}},"language_block_python":{"contentName":"source.python.embedded","begin":"(python)(#{1,3}\")","end":"\\s*(\"{1,3}#)","patterns":[{"include":"source.python"}],"beginCaptures":{"1":{"name":"comment.line"},"2":{"name":"string.quoted"}},"endCaptures":{"1":{"name":"string.quoted"}}},"language_block_ts":{"contentName":"source.ts.embedded","begin":"(typescript)(#{1,3}\")","end":"\\s*(\"{1,3}#)","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"comment.line"},"2":{"name":"string.quoted"}},"endCaptures":{"1":{"name":"string.quoted"}}},"nested_key_value":{"contentName":"variable.other.readwrite.nested","begin":"(\"\\w+\"|\\b\\w+\\b)\\s+\\{","end":"\\}","patterns":[{"include":"#comment"},{"include":"#key_value"},{"include":"#key_null_pair"},{"include":"#key_string_pair"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#block_string_pair"},{"include":"#key_quoted_string_pair"},{"include":"#key_number_pair"},{"include":"#key_boolean_pair"},{"include":"#key_array_pair"},{"include":"#key_custom_string_pair"}],"captures":{"1":{"name":"variable.other.readwrite.nested_key"}}},"property_assignment_expression":{"patterns":[{"include":"#key_null_pair"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#block_string_pair"},{"include":"#key_value"},{"include":"#comment"},{"include":"#key_string_pair"},{"include":"#key_quoted_string_pair"},{"include":"#key_number_pair"},{"include":"#key_boolean_pair"},{"include":"#key_array_pair"},{"include":"#key_custom_string_pair"},{"include":"#nested_key_value"}]},"schema":{"patterns":[{"include":"#enum_declaration"},{"include":"#interface_declaration"},{"include":"#template_string_declaration"},{"include":"#function_declaration"},{"include":"#config_block"},{"include":"#type_alias"},{"include":"#function"},{"include":"#language_block_python"},{"include":"#language_block_ts"},{"include":"#language_block_jinja"},{"include":"#type_builder"}]},"single_variable_no_assignment":{"name":"variable.other.readwrite.single_var","match":"^\\s*\\w+\\b"},"string_literal":{"name":"string.quoted.double","match":"\"[^\"]*\""},"string_quoted2":{"name":"string.quoted.double","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\."}]},"string_unquoted":{"name":"string.unquoted","match":"\\b[\\w-]+\\b"},"template_string_body":{"contentName":"string.quoted.block.baml.body","begin":"\\s+(#{1,3})(\")","end":"(?=\"\\1)","patterns":[{"include":"source.baml-jinja"}],"beginCaptures":{"1":{"name":"string.quoted.block.baml.body.start"},"2":{"name":"string.quoted.block.baml.body.start"}}},"template_string_declaration":{"begin":"(template_string)\\s+(\\w+)","end":"^(\"#{1,3})","patterns":[{"include":"#comment"},{"include":"#function_parameters"},{"include":"#template_string_body"}],"beginCaptures":{"1":{"name":"storage.type.declaration.function"},"2":{"name":"entity.name.function"}},"endCaptures":{"1":{"name":"string.quoted.block.baml.end"}}},"type_alias":{"begin":"(type)\\s+(\\w+)\\s*(=)","end":"(?=$|\\n)","patterns":[{"include":"#comment"},{"begin":"(?\u003c=\\=)\\s*","end":"(?=//|$|\\n)","patterns":[{"include":"#type_definition"},{"include":"#block_attribute"}]}],"beginCaptures":{"1":{"name":"storage.type.declaration"},"2":{"name":"entity.name.type"},"3":{"name":"keyword.operator.assignment"}}},"type_builder":{"begin":"(type_builder)\\s*\\{","end":"\\}","patterns":[{"include":"#interface_declaration"},{"include":"#enum_declaration"},{"include":"#dynamic_declaration"},{"include":"#type_alias"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.control.type_builder"}}},"type_definition":{"patterns":[{"name":"storage.type.baml","match":"\\b(bool|int|float|string|null|image|audio)\\b"},{"begin":"(map)\\s*\u003c","end":"\u003e","patterns":[{"include":"#type_definition"},{"include":"#type_definition"}],"beginCaptures":{"1":{"name":"storage.type.baml"}}},{"name":"constant.language.boolean","match":"\\b(true|false)\\b"},{"name":"support.type","match":"\\w+"},{"include":"#string_literal"},{"name":"keyword.control.baml","match":"\\[\\]"},{"name":"keyword.control.baml","match":"\\?"},{"name":"keyword.control.baml","match":"\\|"},{"begin":"\\(","end":"(\\))(\\[\\])*(\\?)?","patterns":[{"include":"#type_definition"}],"beginCaptures":{"0":{"name":"keyword.control"}},"endCaptures":{"1":{"name":"keyword.control"},"2":{"name":"keyword.control"},"3":{"name":"keyword.control"}}}]}}}
|
|
1
|
+
{"name":"baml","scopeName":"source.baml","patterns":[{"include":"#comments"},{"include":"#client"},{"include":"#retry-policy"},{"include":"#generator"},{"include":"#template-string"},{"include":"#block-attribute"},{"include":"#enum"},{"include":"#type-alias"},{"include":"#implements-for"},{"include":"#interface"},{"include":"#class"},{"include":"#function"},{"include":"#testset"},{"include":"#test"},{"include":"#let-statement"},{"include":"#semicolon"}],"repository":{"accessor-dot":{"name":"punctuation.accessor.baml","match":"\\."},"array-destructure-pattern":{"name":"meta.pattern.destructure.array.baml","begin":"(?:\\b((?:let|const))\\b\\s*)?(\\[)","end":"(\\])(?:\\s*(:)\\s*((?:(?!\\s*(?:in\\b|if\\b|=\u003e|=|[,}\\)])).)+))?","patterns":[{"include":"#comments"},{"include":"#array-destructure-rest-operator"},{"include":"#pattern"},{"include":"#comma"}],"beginCaptures":{"1":{"name":"keyword.declaration.binding.baml"},"2":{"name":"punctuation.definition.array.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.array.end.baml"},"2":{"name":"punctuation.separator.colon.baml"},"3":{"patterns":[{"include":"#comments"},{"include":"#type-expression"}]}}},"array-destructure-rest-operator":{"name":"keyword.operator.rest.baml","match":"\\.\\."},"array-expression":{"name":"meta.expression.array.baml","begin":"\\[","end":"\\]","patterns":[{"include":"#comments"},{"include":"#expression"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.baml"}}},"assignment-operator":{"name":"keyword.operator.assignment.baml","match":"="},"associated-type":{"name":"meta.associated-type.baml","begin":"(?:^\\s*|(?\u003c=\\{)\\s*)(type)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?\u003c=;)|(?=\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#associated-type-extends"},{"include":"#assignment-operator"},{"include":"#type-expression"},{"include":"#semicolon"}],"beginCaptures":{"1":{"name":"keyword.declaration.associated-type.baml"},"2":{"name":"entity.name.type.associated.baml"}}},"associated-type-extends":{"name":"keyword.operator.extends.baml","match":"\\bextends\\b"},"associated-type-projection":{"name":"meta.type.associated-projection.baml","begin":"\\((?=[^)\\r\\n]*\\bas\\b)","end":"(\\))\\s*(\\.)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","patterns":[{"include":"#comments"},{"include":"#type-as-operator"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.type.end.baml"},"2":{"name":"punctuation.accessor.baml"},"3":{"name":"entity.name.type.associated.baml"}}},"attribute":{"name":"meta.attribute.baml","begin":"(@)(?!@)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*)\\b","end":"(?\u003c=\\))|(?=\\s*@|\\s*,|\\s*\\}|\\s+\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|\\r?\\n\\s*(?:\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|@@|\\}))","patterns":[{"include":"#comments"},{"include":"#attribute-arguments"}],"beginCaptures":{"1":{"name":"punctuation.definition.annotation.baml storage.type.annotation.baml"},"2":{"patterns":[{"include":"#accessor-dot"},{"include":"#attribute-path-segment"}]}}},"attribute-arguments":{"name":"meta.attribute.arguments.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#attribute-expression-block"},{"include":"#literal"},{"include":"#attribute-unquoted-string"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.annotation-arguments.begin.bracket.round.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.annotation-arguments.end.bracket.round.baml"}}},"attribute-expression-block":{"name":"meta.attribute.expression.baml","begin":"\\{\\{","end":"\\}\\}","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.section.expression.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.baml"}}},"attribute-path-segment":{"name":"storage.type.annotation.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"attribute-unquoted-string":{"name":"string.unquoted.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"await-expression":{"name":"keyword.operator.await.baml","match":"\\bawait\\b"},"backtick-else":{"name":"meta.interpolation.control.else.baml","match":"(\\$\\{)\\s*(else)\\s*(\\})","captures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.conditional.baml"},"3":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-else-if":{"name":"meta.interpolation.control.else-if.baml","begin":"(\\$\\{)\\s*(else)\\b\\s*(if)\\b","end":"\\}","patterns":[{"include":"#comments"},{"include":"#backtick-else-if-condition"}],"beginCaptures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.conditional.baml"},"3":{"name":"keyword.control.conditional.baml"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-else-if-condition":{"name":"meta.if.condition.baml","begin":"\\G\\s*","end":"(?=\\})","patterns":[{"include":"#comments"},{"include":"#condition-expression"}]},"backtick-endfor":{"name":"meta.interpolation.control.endfor.baml","match":"(\\$\\{)\\s*(endfor)\\s*(\\})","captures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.loop.endfor.baml"},"3":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-endif":{"name":"meta.interpolation.control.endif.baml","match":"(\\$\\{)\\s*(endif)\\s*(\\})","captures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.conditional.endif.baml"},"3":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-expression-interpolation":{"name":"meta.interpolation.baml","begin":"(\\$\\{)","end":"\\}","patterns":[{"include":"#comments"},{"include":"#backtick-interpolation-let-statement"},{"include":"#block-contents"},{"include":"#expression"},{"include":"#semicolon"}],"beginCaptures":{"1":{"name":"punctuation.section.interpolation.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-for-c-style-let-initializer":{"name":"meta.for.initializer.baml","begin":"(?=(?:let|const)\\b)","end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#pattern"},{"include":"#let-else-clause"},{"include":"#expression"}]},"backtick-for-open":{"name":"meta.interpolation.control.for.baml","begin":"(\\$\\{)\\s*(for)\\b","end":"\\}","patterns":[{"include":"#comments"},{"include":"#backtick-for-parenthesized-in-header"},{"include":"#backtick-for-parenthesized-c-style-header"},{"include":"#backtick-for-unparenthesized-header"}],"beginCaptures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.loop.for.baml"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-for-parenthesized-c-style-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(\\()","end":"\\)(?=\\s*\\})","patterns":[{"include":"#comments"},{"include":"#backtick-for-c-style-let-initializer"},{"include":"#semicolon"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"punctuation.definition.for-header.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.for-header.end.baml"}}},"backtick-for-parenthesized-in-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(\\()(?=\\s*(?:let|const)\\b(?:(?![=;]).)*\\bin\\b)","end":"\\)(?=\\s*\\})","patterns":[{"include":"#comments"},{"include":"#for-in-pattern"},{"include":"#for-in-keyword"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"punctuation.definition.for-header.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.for-header.end.baml"}}},"backtick-for-unparenthesized-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(?=(?:let|const)\\b)","end":"(?=\\})","patterns":[{"include":"#comments"},{"include":"#for-in-pattern"},{"include":"#for-in-keyword"},{"include":"#condition-expression"}]},"backtick-if-condition":{"name":"meta.if.condition.baml","begin":"\\G\\s*","end":"(?=\\})","patterns":[{"include":"#comments"},{"include":"#condition-expression"}]},"backtick-if-open":{"name":"meta.interpolation.control.if.baml","begin":"(\\$\\{)\\s*(if)\\b(?=(?:(?![\\{\\}]).)*\\})","end":"\\}","patterns":[{"include":"#comments"},{"include":"#backtick-if-condition"}],"beginCaptures":{"1":{"name":"punctuation.section.interpolation.begin.baml"},"2":{"name":"keyword.control.conditional.baml"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.baml"}}},"backtick-interpolation":{"patterns":[{"include":"#backtick-for-open"},{"include":"#backtick-else-if"},{"include":"#backtick-if-open"},{"include":"#backtick-else"},{"include":"#backtick-endfor"},{"include":"#backtick-endif"},{"include":"#backtick-expression-interpolation"}]},"backtick-interpolation-let-pattern":{"name":"meta.pattern.statement.baml","begin":"\\G\\s*","end":"(?=\\s*=)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"backtick-interpolation-let-statement":{"name":"meta.statement.let.baml","begin":"(?=(?:let|const)\\b)","end":"(?=;|\\})","patterns":[{"include":"#comments"},{"include":"#backtick-interpolation-let-pattern"},{"include":"#assignment-operator"},{"include":"#expression"}]},"backtick-string":{"patterns":[{"include":"#backtick-string-8"},{"include":"#backtick-string-7"},{"include":"#backtick-string-6"},{"include":"#backtick-string-5"},{"include":"#backtick-string-4"},{"include":"#backtick-string-3"},{"include":"#backtick-string-2"},{"include":"#backtick-string-1"}]},"backtick-string-1":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{1})(?!\\`)","end":"(?\u003c!\\`)(\\`{1})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-2":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{2})(?!\\`)","end":"(?\u003c!\\`)(\\`{2})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-3":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{3})(?!\\`)","end":"(?\u003c!\\`)(\\`{3})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-4":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{4})(?!\\`)","end":"(?\u003c!\\`)(\\`{4})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-5":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{5})(?!\\`)","end":"(?\u003c!\\`)(\\`{5})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-6":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{6})(?!\\`)","end":"(?\u003c!\\`)(\\`{6})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-7":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{7})(?!\\`)","end":"(?\u003c!\\`)(\\`{7})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-8":{"name":"string.interpolated.baml","begin":"(?\u003c!\\`)(\\`{8})(?!\\`)","end":"(?\u003c!\\`)(\\`{8})(?!\\`)","patterns":[{"include":"#backtick-interpolation"},{"include":"#backtick-string-escape"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"backtick-string-escape":{"patterns":[{"include":"#string-escape-control"},{"include":"#string-escape-quoted-delimiter"},{"include":"#backtick-string-escape-delimiter"},{"include":"#string-escape-unknown"}]},"backtick-string-escape-delimiter":{"name":"constant.character.escape.delimiter.baml","match":"\\\\[`$]"},"bare-attribute":{"name":"meta.attribute.baml","match":"(@)(?!@)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*|skip)\\b(?=\\s*(?:@|,|\\}|$|//|/\\*))","captures":{"1":{"name":"punctuation.definition.annotation.baml storage.type.annotation.baml"},"2":{"patterns":[{"include":"#accessor-dot"},{"include":"#attribute-path-segment"}]}}},"bare-binding-pattern":{"name":"meta.pattern.binding.baml","match":"\\b((?:let|const))\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","captures":{"1":{"name":"keyword.declaration.binding.baml"},"2":{"name":"variable.other.binding.baml"}}},"bigint-literal":{"name":"constant.numeric.bigint.baml","match":"\\b[0-9]+n"},"block-attribute":{"name":"meta.attribute.block.baml","begin":"(@@)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*)\\b","end":"(?\u003c=\\))|(?=\\s*@@|\\s*@|\\s*,|\\s*\\}|\\s+\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|\\r?\\n\\s*(?:\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|@@|\\}))","patterns":[{"include":"#comments"},{"include":"#attribute-arguments"}],"beginCaptures":{"1":{"name":"punctuation.definition.annotation.baml storage.type.annotation.baml"},"2":{"patterns":[{"include":"#accessor-dot"},{"include":"#attribute-path-segment"}]}}},"block-comment":{"name":"comment.block.baml","begin":"/\\*","end":"\\*/"},"block-contents":{"patterns":[{"include":"#comments"},{"include":"#testset"},{"include":"#test"},{"include":"#watch-statement"},{"include":"#let-statement"},{"include":"#return-statement"},{"include":"#break-statement"},{"include":"#continue-statement"},{"include":"#defer-statement"},{"include":"#if-else-clause"},{"include":"#for-statement"},{"include":"#while-statement"},{"include":"#expression"},{"include":"#semicolon"}]},"boolean-literal":{"name":"constant.language.boolean.baml","match":"\\b(?:true|false)\\b"},"break-statement":{"name":"meta.statement.break.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(break)\\b","end":"(?=[;}]|$)","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.control.flow.break.baml"}}},"byte-string-escape":{"patterns":[{"include":"#byte-string-escape-hex"},{"include":"#byte-string-escape-control"},{"include":"#string-escape-quoted-delimiter"},{"include":"#byte-string-escape-invalid-hex"},{"include":"#byte-string-escape-invalid"}]},"byte-string-escape-control":{"name":"constant.character.escape.control.baml","match":"\\\\[ntr0]"},"byte-string-escape-hex":{"name":"constant.character.escape.hex.baml","match":"\\\\x[0-9A-Fa-f]{2}"},"byte-string-escape-invalid":{"name":"invalid.illegal.escape.baml","match":"\\\\."},"byte-string-escape-invalid-hex":{"name":"invalid.illegal.escape.hex.baml","match":"\\\\x(?:[0-9A-Fa-f]{0,1}(?=[\"\\\\]|$)|[0-9A-Fa-f]?[^0-9A-Fa-f\"\\\\])"},"byte-string-literal":{"name":"string.quoted.binary.double.baml","begin":"\\b(b)(\")","end":"\"","patterns":[{"include":"#byte-string-escape"}],"beginCaptures":{"1":{"name":"storage.type.string.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.baml"}}},"call-arguments":{"name":"meta.function-call.arguments.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#expression"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.arguments.end.baml"}}},"catch-binding":{"name":"variable.parameter.catch.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"catch-binding-list":{"name":"meta.catch.binding-list.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#catch-binding"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.catch-binding.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.catch-binding.end.baml"}}},"catch-block":{"name":"meta.block.catch.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#match-arm"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"catch-expression":{"name":"meta.expression.catch.baml","begin":"\\b(catch|catch_all)\\b","end":"(?\u003c=\\})|(?=,|;|$)","patterns":[{"include":"#comments"},{"include":"#catch-binding-list"},{"include":"#catch-block"}],"beginCaptures":{"1":{"name":"keyword.control.exception.catch.baml"}}},"class":{"name":"meta.class.baml","begin":"^\\s*(class)\\b","end":"(?\u003c=\\})|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#class-header"},{"include":"#class-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.class.baml"}}},"class-body":{"name":"meta.class.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#block-attribute"},{"include":"#bare-attribute"},{"include":"#attribute"},{"include":"#implements-block"},{"include":"#function"},{"include":"#field"},{"include":"#semicolon"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"class-destructure-body":{"name":"meta.pattern.destructure.class.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#class-destructure-field"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.pattern.destructure.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.pattern.destructure.end.baml"}}},"class-destructure-field":{"name":"meta.pattern.destructure.class.field.baml","begin":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b\\s*(:)?","end":"(?=,|\\})","patterns":[{"include":"#comments"},{"include":"#pattern"}],"beginCaptures":{"1":{"name":"variable.other.property.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"class-destructure-pattern":{"name":"meta.pattern.destructure.class.baml","begin":"\\b(?:((?:let|const))\\s+)?(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*)\\b\\s*(?=(?:\u003c[^{}=;\\r\\n]*\u003e\\s*)?\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#type-expression"},{"include":"#class-destructure-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.binding.baml"},"2":{"patterns":[{"include":"#type-reference"}]}}},"class-header":{"name":"meta.class.header.baml","begin":"\\G\\s*","end":"(?=\\{)|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameters"},{"include":"#class-name"}]},"class-name":{"name":"entity.name.type.class.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"client":{"name":"meta.client.baml","begin":"^\\s*(client)\\b(?:\\s*(\u003c)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(\u003e)\\s*|\\s+)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=\\s*\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#config-block"}],"beginCaptures":{"1":{"name":"keyword.declaration.client.baml"},"2":{"name":"punctuation.definition.type-parameters.begin.baml"},"3":{"name":"support.type.client.baml"},"4":{"name":"punctuation.definition.type-parameters.end.baml"},"5":{"name":"entity.name.client.baml"}}},"code-block":{"name":"meta.block.code.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#block-contents"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"colon-separator":{"name":"punctuation.separator.colon.baml","match":":"},"comma":{"name":"punctuation.separator.comma.baml","match":","},"comments":{"patterns":[{"include":"#line-comment"},{"include":"#block-comment"}]},"condition-expression":{"patterns":[{"include":"#literal"},{"include":"#array-expression"},{"include":"#lambda-expression"},{"include":"#parenthesized-expression"},{"include":"#if-expression"},{"include":"#match-expression"},{"include":"#spawn-expression"},{"include":"#map-expression"},{"include":"#code-block"},{"include":"#await-expression"},{"include":"#throw-expression"},{"include":"#catch-expression"},{"include":"#condition-is-pattern-expression"},{"include":"#optional-call-expression"},{"include":"#optional-index-expression"},{"include":"#optional-method-call-expression"},{"include":"#optional-field-access-expression"},{"include":"#upcast-expression"},{"include":"#postfix-method-call-expression"},{"include":"#field-access-expression"},{"include":"#expression-operator"},{"include":"#function-call-expression"},{"include":"#dotted-expression"}]},"condition-is-pattern-expression":{"name":"meta.expression.is.baml","begin":"\\b(is)\\b","end":"(?=\\s*(?:\u0026\u0026|\\|\\||=\u003e|[,);\\]}{]|$))","patterns":[{"include":"#comments"},{"include":"#condition-pattern"}],"beginCaptures":{"1":{"name":"keyword.operator.is.baml"}}},"condition-pattern":{"patterns":[{"include":"#comments"},{"include":"#wildcard-binding-pattern"},{"include":"#typed-binding-pattern"},{"include":"#array-destructure-pattern"},{"include":"#bare-binding-pattern"},{"include":"#wildcard-pattern"},{"include":"#type-expression"}]},"config-array":{"patterns":[{"include":"#config-array-body"}]},"config-array-body":{"name":"meta.config.array.baml","begin":"\\[","end":"\\]","patterns":[{"include":"#comments"},{"include":"#config-block"},{"include":"#config-array"},{"include":"#expression"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.baml"}}},"config-block":{"patterns":[{"include":"#config-block-body"}]},"config-block-body":{"name":"meta.config.block.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#config-field"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"config-field":{"name":"meta.field.config.baml","begin":"(?:^\\s*|(?\u003c=[\\{,])\\s*)(?:(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b|(\"(?:\\\\.|[^\"\\\\])*\"))\\s*(:)?","end":"(?=,|\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#config-block"},{"include":"#config-array"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"variable.other.property.baml"},"2":{"patterns":[{"include":"#string-literal"}]},"3":{"name":"punctuation.separator.colon.baml"}}},"constructor-body":{"name":"meta.constructor.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#constructor-field"},{"include":"#constructor-field-shorthand"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.constructor.body.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.constructor.body.end.baml"}}},"constructor-expression":{"name":"meta.constructor.expression.baml","begin":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*\\b(?=\\s*(?:\u003c[^{}=;\\r\\n]*\u003e\\s*)?\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#constructor-type-arguments"},{"include":"#constructor-body"}],"beginCaptures":{"0":{"patterns":[{"include":"#accessor-dot"},{"include":"#constructor-type"}]}}},"constructor-field":{"name":"meta.constructor.field.baml","begin":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(:)","end":"(?=,|\\})","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"variable.other.property.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"constructor-field-shorthand":{"name":"meta.constructor.field.baml","begin":"(?:^|(?\u003c=[{,])|(?\u003c=\\*/))[ \\t]*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)[ \\t]+(?=#+\"|\"|b\"|\\`|\\[|[0-9+-]|true\\b|false\\b|null\\b|env\\b)","end":"(?=,|\\})","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"variable.other.property.baml"}}},"constructor-type":{"name":"entity.name.type.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"constructor-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e(?=\\s*\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"continue-statement":{"name":"meta.statement.continue.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(continue)\\b","end":"(?=[;}]|$)","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.control.flow.continue.baml"}}},"declaration-type-parameter":{"name":"meta.type-parameter.baml","begin":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?=,|\u003e(?=\\s*(?:\\(|\\{|requires\\b|\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)))","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameter-extends"},{"include":"#declaration-type-parameter-intersection"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"entity.name.type.parameter.baml"}}},"declaration-type-parameter-extends":{"name":"keyword.operator.extends.baml","match":"\\bextends\\b"},"declaration-type-parameter-intersection":{"name":"keyword.operator.type.baml","match":"\u0026"},"declaration-type-parameters":{"name":"meta.type-parameters.baml","begin":"\u003c","end":"\u003e(?=\\s*(?:\\(|\\{|requires\\b|\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*))","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameter"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-parameters.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-parameters.end.baml"}}},"defer-statement":{"name":"meta.statement.defer.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(defer)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.control.flow.defer.baml"}}},"dotted-expression":{"name":"meta.dotted-expression.baml","match":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)((?:\\s*\\.\\s*(?!as\\b\\s*\u003c)\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*)\\b","captures":{"1":{"patterns":[{"include":"#namespace-root"},{"include":"#environment-expression-root"},{"include":"#self-expression-root"},{"include":"#expression-identifier"}]},"2":{"patterns":[{"include":"#accessor-dot"},{"include":"#expression-identifier"}]}}},"enum":{"name":"meta.enum.baml","begin":"^\\s*(enum)\\b","end":"(?\u003c=\\})|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#enum-header"},{"include":"#enum-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.enum.baml"}}},"enum-body":{"name":"meta.enum.body.baml","begin":"\\{","end":"\\}|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#block-attribute"},{"include":"#enum-variant"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"enum-header":{"name":"meta.enum.header.baml","begin":"\\G\\s*","end":"(?=\\{)|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#enum-name"}]},"enum-name":{"name":"entity.name.type.enum.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"enum-variant":{"name":"meta.enum.variant.baml","begin":"(?:^\\s*|(?\u003c=[\\{,])\\s*|\\s+)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?=,|\\s+@@|\\s*\\}|\\s+\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|\\r?\\n\\s*(?:\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b|@@|\\}))","patterns":[{"include":"#comments"},{"include":"#bare-attribute"},{"include":"#attribute"}],"beginCaptures":{"1":{"name":"variable.other.enummember.baml"}}},"environment-expression-root":{"name":"support.other.namespace.baml","match":"\\benv\\b"},"expression":{"patterns":[{"include":"#literal"},{"include":"#array-expression"},{"include":"#lambda-expression"},{"include":"#parenthesized-expression"},{"include":"#if-expression"},{"include":"#match-expression"},{"include":"#spawn-expression"},{"include":"#constructor-expression"},{"include":"#map-expression"},{"include":"#code-block"},{"include":"#await-expression"},{"include":"#throw-expression"},{"include":"#catch-expression"},{"include":"#is-pattern-expression"},{"include":"#optional-call-expression"},{"include":"#optional-index-expression"},{"include":"#optional-method-call-expression"},{"include":"#optional-field-access-expression"},{"include":"#upcast-expression"},{"include":"#postfix-method-call-expression"},{"include":"#field-access-expression"},{"include":"#expression-operator"},{"include":"#function-call-expression"},{"include":"#dotted-expression"}]},"expression-accessor-operator":{"name":"punctuation.accessor.baml","match":"\\?\\.|\\.|\\$"},"expression-arithmetic-operator":{"name":"keyword.operator.arithmetic.baml","match":"\\+\\+|--|\\+|-|\\*|/|%"},"expression-arrow-operator":{"name":"keyword.operator.arrow.baml","match":"=\u003e|-\u003e"},"expression-bitwise-operator":{"name":"keyword.operator.bitwise.baml","match":"\u0026|\\^|~|\\|"},"expression-comparison-operator":{"name":"keyword.operator.comparison.baml","match":"\u003c=|\u003e=|\u003c|\u003e"},"expression-compound-assignment-operator":{"name":"keyword.operator.assignment.baml","match":"\u003c\u003c=|\u003e\u003e=|\\+=|-=|\\*=|/=|%=|\u0026=|\\|=|\\^="},"expression-equality-operator":{"name":"keyword.operator.comparison.baml","match":"==|!="},"expression-identifier":{"name":"variable.other.readwrite.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"expression-logical-operator":{"name":"keyword.operator.logical.baml","match":"\u0026\u0026|\\|\\||!"},"expression-nullish-operator":{"name":"keyword.operator.nullish.baml","match":"\\?\\?"},"expression-operator":{"patterns":[{"include":"#expression-arrow-operator"},{"include":"#expression-compound-assignment-operator"},{"include":"#expression-nullish-operator"},{"include":"#expression-logical-operator"},{"include":"#expression-equality-operator"},{"include":"#expression-shift-operator"},{"include":"#expression-comparison-operator"},{"include":"#expression-bitwise-operator"},{"include":"#expression-arithmetic-operator"},{"include":"#assignment-operator"},{"include":"#expression-spread-operator"},{"include":"#expression-accessor-operator"}]},"expression-shift-operator":{"name":"keyword.operator.bitwise.shift.baml","match":"\u003c\u003c|\u003e\u003e"},"expression-spread-operator":{"name":"keyword.operator.spread.baml","match":"\\.\\.\\."},"field":{"name":"meta.field.baml","begin":"(?:^\\s*|(?\u003c=\\{)\\s*)(?!@)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(:)?","end":"(?=\\})|$","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"variable.other.property.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"field-access-expression":{"name":"meta.field-access.baml","match":"([.$])\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","captures":{"1":{"name":"punctuation.accessor.baml"},"2":{"name":"variable.other.readwrite.baml"}}},"float-literal":{"name":"constant.numeric.float.baml","match":"\\b[0-9]+(?:\\.[0-9]+[eE][+-]?[0-9]+|\\.[0-9]+|[eE][+-]?[0-9]+)"},"for-c-style-let-initializer":{"name":"meta.for.initializer.baml","begin":"(?=(?:let|const)\\b)","end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#pattern"},{"include":"#let-else-clause"},{"include":"#expression"}]},"for-in-keyword":{"name":"keyword.operator.in.baml","match":"\\bin\\b"},"for-in-pattern":{"name":"meta.pattern.for-in.baml","begin":"(?=(?:let|const)\\b)","end":"(?=\\s+in\\b)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"for-parenthesized-c-style-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(\\()","end":"\\)(?=\\s*\\{)","patterns":[{"include":"#comments"},{"include":"#for-c-style-let-initializer"},{"include":"#semicolon"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"punctuation.definition.for-header.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.for-header.end.baml"}}},"for-parenthesized-in-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(\\()(?=\\s*(?:let|const)\\b(?:(?![=;]).)*\\bin\\b)","end":"\\)(?=\\s*\\{)","patterns":[{"include":"#comments"},{"include":"#for-in-pattern"},{"include":"#for-in-keyword"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"punctuation.definition.for-header.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.for-header.end.baml"}}},"for-statement":{"name":"meta.statement.for.baml","begin":"\\b(for)\\b","end":"(?\u003c=\\})(?=\\s*(?:;|$))|(?=;|$)","patterns":[{"include":"#comments"},{"include":"#for-parenthesized-in-header"},{"include":"#for-parenthesized-c-style-header"},{"include":"#for-unparenthesized-header"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.control.loop.for.baml"}}},"for-unparenthesized-header":{"name":"meta.for.header.baml","begin":"\\G\\s*(?=(?:let|const)\\b)","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#for-in-pattern"},{"include":"#for-in-keyword"},{"include":"#condition-expression"}]},"function":{"name":"meta.function.baml","begin":"^\\s*(function)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameters"},{"include":"#function-parameters"},{"include":"#function-return-type"},{"include":"#function-block"}],"beginCaptures":{"1":{"name":"keyword.declaration.function.baml"},"2":{"name":"entity.name.function.baml"}}},"function-block":{"name":"meta.block.function.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#llm-client-field"},{"include":"#llm-prompt-field"},{"include":"#block-contents"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"function-call-expression":{"name":"meta.function-call.baml","begin":"\\b(?:(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(\\.)\\s*)?((?:\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\s*\\.\\s*)*)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=\\s*(?:\u003c[^(){};]*\u003e\\s*)?\\()","end":"(?\u003c=\\))","patterns":[{"include":"#comments"},{"include":"#function-call-type-arguments"},{"include":"#call-arguments"}],"beginCaptures":{"1":{"patterns":[{"include":"#namespace-root"},{"include":"#environment-expression-root"},{"include":"#self-expression-root"},{"include":"#expression-identifier"}]},"2":{"name":"punctuation.accessor.baml"},"3":{"patterns":[{"include":"#accessor-dot"},{"include":"#expression-identifier"}]},"4":{"name":"entity.name.function.baml"}}},"function-call-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e(?=\\s*\\()","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"function-parameters":{"name":"meta.parameters.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#self-parameter"},{"include":"#parameter"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.baml"}}},"function-return-type":{"name":"meta.return-type.baml","begin":"(-\u003e)","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"keyword.operator.arrow.baml"}}},"generator":{"name":"meta.generator.baml","begin":"^\\s*(generator)\\b(?:\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*))?\\s*(?=\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#config-block"}],"beginCaptures":{"1":{"name":"keyword.declaration.generator.baml"},"2":{"name":"entity.name.generator.baml"}}},"if-condition":{"name":"meta.if.condition.baml","begin":"\\G(?!\\s*else\\b)\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#condition-expression"}]},"if-else-clause":{"name":"meta.else.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(else)\\b","end":"(?!\\s*else\\b)(?:(?\u003c=\\})(?=\\s*(?:[,);]|$))|(?=,|\\)|;|$))","patterns":[{"include":"#comments"},{"include":"#if-expression"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.control.conditional.baml"}}},"if-expression":{"name":"meta.expression.if.baml","begin":"\\b(if)\\b","end":"(?!\\s*else\\b)(?:(?\u003c=\\})(?=\\s*(?:[,);]|$))|(?=,|\\)|;|$))","patterns":[{"include":"#comments"},{"include":"#if-let-pattern"},{"include":"#assignment-operator"},{"include":"#if-condition"},{"include":"#code-block"},{"include":"#if-else-clause"}],"beginCaptures":{"1":{"name":"keyword.control.conditional.baml"}}},"if-let-pattern":{"name":"meta.pattern.if-let.baml","begin":"\\G\\s*(?=(?:let|const)\\b)","end":"(?=\\s*=)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"implements-block":{"name":"meta.implements.baml","begin":"^\\s*(implements|implement)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#implements-target"},{"include":"#implements-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.implements.baml"}}},"implements-body":{"name":"meta.implements.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#function"},{"include":"#associated-type"},{"include":"#interface-field-link"},{"include":"#field"},{"include":"#semicolon"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"implements-for":{"name":"meta.implements-for.baml","begin":"^\\s*(implements|implement)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameters"},{"include":"#implements-for-interface-target"},{"include":"#implements-for-keyword"},{"include":"#implements-for-target"},{"include":"#implements-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.implements.baml"}}},"implements-for-interface-target":{"name":"meta.implements.target.baml","begin":"\\G\\s*","end":"(?=\\s+\\bfor\\b)","patterns":[{"include":"#comments"},{"include":"#type-expression"}]},"implements-for-keyword":{"name":"keyword.declaration.for.baml","match":"\\bfor\\b"},"implements-for-target":{"name":"meta.implements.for-target.baml","begin":"\\G\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"}]},"implements-target":{"name":"meta.implements.target.baml","begin":"\\G\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"}]},"integer-literal":{"name":"constant.numeric.integer.baml","match":"\\b[0-9]+\\b"},"interface":{"name":"meta.interface.baml","begin":"^\\s*(interface)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameters"},{"include":"#interface-requires-clause"},{"include":"#interface-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.interface.baml"},"2":{"name":"entity.name.type.interface.baml"}}},"interface-body":{"name":"meta.interface.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#interface-method-signature"},{"include":"#function"},{"include":"#associated-type"},{"include":"#field"},{"include":"#semicolon"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"interface-field-link":{"name":"meta.interface-field-link.baml","begin":"(?:^\\s*|(?\u003c=\\{)\\s*)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s+(as)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","end":"(?\u003c=;)|(?=\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#semicolon"}],"beginCaptures":{"1":{"name":"variable.other.property.interface.baml"},"2":{"name":"keyword.operator.as.baml"},"3":{"name":"variable.other.property.baml"}}},"interface-method-return-type":{"name":"meta.return-type.baml","begin":"(-\u003e)","end":"(?=;|\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"keyword.operator.arrow.baml"}}},"interface-method-signature":{"name":"meta.function.signature.baml","begin":"^\\s*(function)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=[^{\\r\\n]*(?:\\r?\\n|;|\\}))","end":"(?\u003c=;)|(?=\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#declaration-type-parameters"},{"include":"#function-parameters"},{"include":"#interface-method-return-type"},{"include":"#semicolon"}],"beginCaptures":{"1":{"name":"keyword.declaration.function.baml"},"2":{"name":"entity.name.function.baml"}}},"interface-requires-clause":{"name":"meta.interface.requires.baml","begin":"\\b(requires)\\b","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"},{"include":"#comma"}],"beginCaptures":{"1":{"name":"keyword.declaration.requires.baml"}}},"is-pattern-expression":{"name":"meta.expression.is.baml","begin":"\\b(is)\\b","end":"(?=\\s*(?:\u0026\u0026|\\|\\||=\u003e|[,);\\]}]|$))","patterns":[{"include":"#comments"},{"include":"#pattern"}],"beginCaptures":{"1":{"name":"keyword.operator.is.baml"}}},"lambda-arrow":{"name":"keyword.operator.arrow.baml","match":"-\u003e|=\u003e"},"lambda-expression":{"name":"meta.expression.lambda.baml","begin":"(?=\\((?:[^()]|\\([^()]*\\))*\\)\\s*(?:-\u003e|=\u003e))","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#function-parameters"},{"include":"#lambda-arrow"},{"include":"#lambda-return-type"},{"include":"#lambda-throws-clause"},{"include":"#code-block"}]},"lambda-return-type":{"name":"meta.return-type.lambda.baml","begin":"(?\u003c=-\u003e|=\u003e)\\s*(?!throws\\b)(?=[^\\s\\{])","end":"(?=\\s*(?:throws\\b|\\{))","patterns":[{"include":"#comments"},{"include":"#type-expression"}]},"lambda-throws-clause":{"name":"meta.throws.lambda.baml","begin":"\\b(throws)\\b","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"keyword.operator.throws.baml"}}},"let-else-clause":{"name":"meta.statement.let.else.baml","begin":"\\b(else)\\b(?=\\s*\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.control.conditional.else.baml"}}},"let-statement":{"name":"meta.statement.let.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(?=(?:let|const)\\b)","end":"(?=[;}]|$)","patterns":[{"include":"#comments"},{"include":"#let-statement-pattern"},{"include":"#assignment-operator"},{"include":"#let-else-clause"},{"include":"#expression"}]},"let-statement-pattern":{"name":"meta.pattern.statement.baml","begin":"\\G\\s*","end":"(?=\\s*=)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"line-comment":{"name":"comment.line.double-slash.baml","match":"//.*$"},"literal":{"patterns":[{"include":"#byte-string-literal"},{"include":"#type-literal"}]},"llm-client-field":{"name":"meta.field.llm.client.baml","begin":"^\\s*(client)\\b\\s*(:)?(?!\\s*\\.)","end":"$","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.other.llm.client.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"llm-prompt-field":{"name":"meta.field.llm.prompt.baml","begin":"^\\s*(prompt)\\b\\s*(:)?","end":"$","patterns":[{"include":"#comments"},{"include":"#template-string-body"},{"include":"#backtick-string"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.other.llm.prompt.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"map-entry":{"name":"meta.map.entry.baml","begin":"\\s*(?=(?:\"|#|\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*\\s*:))","end":"(?=,|\\})","patterns":[{"include":"#comments"},{"include":"#map-entry-key"},{"include":"#string-literal"},{"include":"#raw-string"},{"include":"#colon-separator"},{"include":"#expression"}]},"map-entry-key":{"name":"meta.map-entry-key.baml","match":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)((?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*)\\b(?=\\s*:)","captures":{"1":{"name":"variable.other.property.baml"},"2":{"patterns":[{"include":"#accessor-dot"},{"include":"#map-entry-key-segment"}]}}},"map-entry-key-segment":{"name":"variable.other.property.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"map-expression":{"name":"meta.expression.map.baml","begin":"\\{(?=\\s*(?:\\}|[\"#]|\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*(?:\\s*\\.\\s*\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)*\\s*:))","end":"\\}","patterns":[{"include":"#comments"},{"include":"#map-entry"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.map.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.map.end.baml"}}},"match-arm":{"name":"meta.match.arm.baml","begin":"(?=\\S)(?![,}])","end":"(?=,|\\r?\\n|\\})","patterns":[{"include":"#comments"},{"include":"#match-arm-pattern"},{"include":"#match-arm-guard"},{"include":"#match-arm-arrow"},{"include":"#expression"}]},"match-arm-arrow":{"name":"keyword.operator.arrow.baml","match":"=\u003e"},"match-arm-guard":{"name":"meta.match.guard.baml","begin":"\\b(if)\\b","end":"(?=\\s*=\u003e)","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.control.conditional.baml"}}},"match-arm-pattern":{"name":"meta.pattern.match.baml","begin":"\\G\\s*","end":"(?=\\s*(?:if\\b|=\u003e))","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"match-block":{"name":"meta.block.match.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#match-arm"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"match-expression":{"name":"meta.expression.match.baml","begin":"\\b(match)\\b","end":"(?\u003c=\\})|(?=,|;|$)","patterns":[{"include":"#comments"},{"include":"#match-scrutinee-group"},{"include":"#match-block"},{"include":"#match-scrutinee"}],"beginCaptures":{"1":{"name":"keyword.control.match.baml"}}},"match-scrutinee":{"name":"meta.match.scrutinee.baml","begin":"(?=[^\\s\\{])","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#literal"},{"include":"#array-expression"},{"include":"#spawn-expression"},{"include":"#await-expression"},{"include":"#throw-expression"},{"include":"#catch-expression"},{"include":"#expression-operator"},{"include":"#function-call-expression"},{"include":"#dotted-expression"}]},"match-scrutinee-group":{"name":"meta.match.scrutinee.group.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#expression"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.group.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.group.end.baml"}}},"namespace-root":{"name":"support.other.namespace.baml","match":"\\b(?:root|baml)\\b"},"namespace-segment":{"name":"entity.name.namespace.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"null-literal":{"name":"constant.language.null.baml","match":"\\bnull\\b"},"numeric-literal":{"patterns":[{"include":"#bigint-literal"},{"include":"#float-literal"},{"include":"#integer-literal"}]},"optional-call-expression":{"name":"meta.function-call.optional.baml","begin":"(\\?\\.)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#comments"},{"include":"#call-arguments"}],"beginCaptures":{"1":{"name":"punctuation.accessor.baml"}}},"optional-field-access-expression":{"name":"meta.field-access.optional.baml","match":"(\\?\\.)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","captures":{"1":{"name":"punctuation.accessor.baml"},"2":{"name":"variable.other.readwrite.baml"}}},"optional-index-arguments":{"name":"meta.index.arguments.baml","begin":"\\[","end":"\\]","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.end.baml"}}},"optional-index-expression":{"name":"meta.index.optional.baml","begin":"(\\?\\.)\\s*(?=\\[)","end":"(?\u003c=\\])","patterns":[{"include":"#comments"},{"include":"#optional-index-arguments"}],"beginCaptures":{"1":{"name":"punctuation.accessor.baml"}}},"optional-method-call-expression":{"name":"meta.function-call.optional.member.baml","begin":"(\\?\\.)\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=\\s*(?:\u003c[^(){};]*\u003e\\s*)?\\()","end":"(?\u003c=\\))","patterns":[{"include":"#comments"},{"include":"#optional-method-call-type-arguments"},{"include":"#call-arguments"}],"beginCaptures":{"1":{"name":"punctuation.accessor.baml"},"2":{"name":"entity.name.function.baml"}}},"optional-method-call-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e(?=\\s*\\()","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"optional-operator":{"name":"keyword.operator.optional.baml","match":"\\?"},"parameter":{"name":"meta.parameter.baml","begin":"\\b(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(:)?","end":"(?=,|\\))","patterns":[{"include":"#comments"},{"include":"#parameter-type-parens"},{"include":"#parameter-type-arguments"},{"include":"#parameter-default"},{"include":"#type-expression"}],"beginCaptures":{"1":{"name":"variable.parameter.baml"},"2":{"name":"punctuation.separator.colon.baml"}}},"parameter-default":{"name":"meta.parameter.default.baml","begin":"=","end":"(?=,|\\))","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"keyword.operator.assignment.baml"}}},"parameter-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"parameter-type-parens":{"name":"meta.group.type.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type.end.baml"}}},"parenthesized-expression":{"name":"meta.group.expression.baml","begin":"\\(","end":"\\)","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.group.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.group.end.baml"}}},"pattern":{"patterns":[{"include":"#comments"},{"include":"#wildcard-binding-pattern"},{"include":"#typed-binding-pattern"},{"include":"#class-destructure-pattern"},{"include":"#array-destructure-pattern"},{"include":"#bare-binding-pattern"},{"include":"#wildcard-pattern"},{"include":"#type-expression"}]},"postfix-method-call-expression":{"name":"meta.function-call.member.baml","begin":"([.$])\\s*(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=\\s*(?:\u003c[^(){};]*\u003e\\s*)?\\()","end":"(?\u003c=\\))","patterns":[{"include":"#comments"},{"include":"#postfix-method-call-type-arguments"},{"include":"#call-arguments"}],"beginCaptures":{"1":{"name":"punctuation.accessor.baml"},"2":{"name":"entity.name.function.baml"}}},"postfix-method-call-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e(?=\\s*\\()","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"primitive-type":{"name":"support.type.primitive.baml","match":"\\b(?:int|float|bigint|string|bool|image|audio|map|json|unknown|never|Self)\\b"},"raw-string":{"patterns":[{"include":"#raw-string-8"},{"include":"#raw-string-7"},{"include":"#raw-string-6"},{"include":"#raw-string-5"},{"include":"#raw-string-4"},{"include":"#raw-string-3"},{"include":"#raw-string-2"},{"include":"#raw-string-1"}]},"raw-string-1":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{1})\"","end":"\"(#{1})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-2":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{2})\"","end":"\"(#{2})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-3":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{3})\"","end":"\"(#{3})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-4":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{4})\"","end":"\"(#{4})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-5":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{5})\"","end":"\"(#{5})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-6":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{6})\"","end":"\"(#{6})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-7":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{7})\"","end":"\"(#{7})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"raw-string-8":{"name":"string.quoted.raw.baml","begin":"(?\u003c!#)(#{8})\"","end":"\"(#{8})","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"}}},"retry-policy":{"name":"meta.retry-policy.baml","begin":"^\\s*(retry_policy)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b(?=\\s*\\{)","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#config-block"}],"beginCaptures":{"1":{"name":"keyword.declaration.retry-policy.baml"},"2":{"name":"entity.name.retry-policy.baml"}}},"return-statement":{"name":"meta.statement.return.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(return)\\b","end":"(?=[;}]|$)","patterns":[{"include":"#comments"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.control.flow.return.baml"}}},"self-expression-root":{"name":"variable.language.self.baml","match":"\\bself\\b"},"self-parameter":{"name":"meta.parameter.baml","begin":"\\b(self)\\b(?=\\s*(?:,|\\)))","end":"(?=\\s*(?:,|\\)))","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"variable.language.self.baml"}}},"semicolon":{"name":"punctuation.terminator.statement.baml","match":";"},"spawn-expression":{"name":"meta.expression.spawn.baml","begin":"\\b(spawn)\\b","end":"(?\u003c=\\})|(?=,|;|$)","patterns":[{"include":"#comments"},{"include":"#spawn-header"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.operator.spawn.baml"}}},"spawn-header":{"name":"meta.spawn.header.baml","begin":"\\G\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#spawn-name"},{"include":"#spawn-with-clause"}]},"spawn-name":{"name":"meta.spawn.name.baml","begin":"\\G\\s*(?!with\\b)(?=[^\\{\\r\\n])","end":"(?=\\s+with\\b|\\s*\\{)","patterns":[{"include":"#comments"},{"include":"#condition-expression"}]},"spawn-with-clause":{"name":"meta.spawn.options.baml","begin":"\\b(with)\\b","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#condition-expression"},{"include":"#comma"}],"beginCaptures":{"1":{"name":"keyword.operator.with.baml"}}},"string-escape":{"patterns":[{"include":"#string-escape-control"},{"include":"#string-escape-quoted-delimiter"},{"include":"#string-escape-unknown"}]},"string-escape-control":{"name":"constant.character.escape.control.baml","match":"\\\\[ntr0bvf]"},"string-escape-quoted-delimiter":{"name":"constant.character.escape.delimiter.baml","match":"\\\\[\"\\\\]"},"string-escape-unknown":{"name":"constant.character.escape.unknown.baml","match":"\\\\."},"string-literal":{"name":"string.quoted.double.baml","begin":"\"","end":"\"","patterns":[{"include":"#string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.baml"}}},"template-comment":{"name":"comment.block.template.baml","begin":"\\{#","end":"#\\}","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.baml"}}},"template-control":{"name":"meta.template.control.baml","begin":"\\{%","end":"%\\}","patterns":[{"include":"#comments"},{"include":"#template-keyword"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.section.template.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.section.template.end.baml"}}},"template-interpolation":{"name":"meta.template.interpolation.baml","begin":"\\{\\{","end":"\\}\\}","patterns":[{"include":"#comments"},{"include":"#template-keyword"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.baml"}}},"template-keyword":{"name":"keyword.control.template.baml","match":"\\b(?:for|endfor|if|elif|else|endif|in|set|filter|endfilter|macro|endmacro|raw|endraw)\\b"},"template-quoted-string-body":{"name":"string.quoted.double.template.baml","begin":"\"","end":"\"","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"},{"include":"#string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-1":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{1})(\")","end":"(\")(#{1})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-2":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{2})(\")","end":"(\")(#{2})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-3":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{3})(\")","end":"(\")(#{3})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-4":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{4})(\")","end":"(\")(#{4})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-5":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{5})(\")","end":"(\")(#{5})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-6":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{6})(\")","end":"(\")(#{6})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-7":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{7})(\")","end":"(\")(#{7})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-raw-string-body-8":{"name":"string.quoted.raw.template.baml","begin":"(?\u003c!#)(#{8})(\")","end":"(\")(#{8})","patterns":[{"include":"#template-comment"},{"include":"#template-control"},{"include":"#template-interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.baml"},"2":{"name":"punctuation.definition.string.begin.baml"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.baml"},"2":{"name":"punctuation.definition.string.end.baml"}}},"template-string":{"name":"meta.template-string.baml","begin":"^\\s*(template_string)\\b","end":"(?:(?\u003c=#)|(?\u003c=\"))(?=\\s*(?:\\r?\\n|$))|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#template-string-name"},{"include":"#function-parameters"},{"include":"#template-string-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.template-string.baml"}}},"template-string-body":{"patterns":[{"include":"#template-raw-string-body-8"},{"include":"#template-raw-string-body-7"},{"include":"#template-raw-string-body-6"},{"include":"#template-raw-string-body-5"},{"include":"#template-raw-string-body-4"},{"include":"#template-raw-string-body-3"},{"include":"#template-raw-string-body-2"},{"include":"#template-raw-string-body-1"},{"include":"#template-quoted-string-body"}]},"template-string-name":{"name":"entity.name.function.template-string.baml","match":"\\b\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\b"},"test":{"name":"meta.test.baml","begin":"^\\s*(test)\\b(?!(?:[^\\S\\r\\n]+\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*[^\\S\\r\\n]*\\{[^\\S\\r\\n]*(?:functions|type_builder)\\b))","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#test-header"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.declaration.test.baml"}}},"test-header":{"name":"meta.test.header.baml","begin":"\\G\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#test-with-keyword"},{"include":"#condition-expression"}]},"test-with-keyword":{"name":"keyword.operator.with.baml","match":"\\bwith\\b"},"testset":{"name":"meta.testset.baml","begin":"^\\s*(testset)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comments"},{"include":"#test-header"},{"include":"#testset-body"}],"beginCaptures":{"1":{"name":"keyword.declaration.testset.baml"}}},"testset-body":{"name":"meta.testset.body.baml","begin":"\\{","end":"\\}","patterns":[{"include":"#comments"},{"include":"#block-contents"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.baml"}}},"throw-expression":{"name":"keyword.control.flow.throw.baml","match":"\\bthrow\\b"},"type-alias":{"name":"meta.type-alias.baml","begin":"^\\s*(type)\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(=)","end":"(?\u003c=;)|(?=^\\s*(?:client|retry_policy|generator|template_string|class|enum|interface|implements|implement|function|testset|test|type)\\b)","patterns":[{"include":"#comments"},{"include":"#type-expression"},{"include":"#semicolon"}],"beginCaptures":{"1":{"name":"keyword.declaration.type-alias.baml"},"2":{"name":"entity.name.type.alias.baml"},"3":{"name":"keyword.operator.assignment.baml"}}},"type-arrow-operator":{"name":"keyword.operator.arrow.baml","match":"-\u003e"},"type-as-operator":{"name":"keyword.operator.as.baml","match":"\\bas\\b"},"type-expression":{"patterns":[{"include":"#comments"},{"include":"#primitive-type"},{"include":"#type-literal"},{"include":"#type-arrow-operator"},{"include":"#type-throws-operator"},{"include":"#associated-type-projection"},{"include":"#type-reference"},{"include":"#bare-attribute"},{"include":"#attribute"},{"include":"#type-as-operator"},{"include":"#assignment-operator"},{"include":"#optional-operator"},{"include":"#union-operator"},{"include":"#type-punctuation"},{"include":"#colon-separator"}]},"type-literal":{"patterns":[{"include":"#boolean-literal"},{"include":"#null-literal"},{"include":"#numeric-literal"},{"include":"#string-literal"},{"include":"#raw-string"},{"include":"#backtick-string"}]},"type-punctuation":{"name":"punctuation.definition.type.baml","match":"[\\[\\]\u003c\u003e,()]"},"type-reference":{"name":"meta.type-reference.baml","match":"\\b(?:(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\s*(\\.)\\s*)?((?:\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*\\s*\\.\\s*)*)(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b","captures":{"1":{"patterns":[{"include":"#namespace-root"},{"include":"#namespace-segment"}]},"2":{"name":"punctuation.accessor.baml"},"3":{"patterns":[{"include":"#namespace-segment"},{"include":"#accessor-dot"}]},"4":{"name":"entity.name.type.baml"}}},"type-throws-operator":{"name":"keyword.operator.throws.baml","match":"\\bthrows\\b"},"typed-binding-pattern":{"name":"meta.pattern.binding.baml","match":"\\b((?:let|const))\\s+(\\$?[A-Za-z_][A-Za-z0-9_-]*(?:\\$[A-Za-z_][A-Za-z0-9_-]*)*)\\b\\s*(:)","captures":{"1":{"name":"keyword.declaration.binding.baml"},"2":{"name":"variable.other.binding.baml"},"3":{"name":"punctuation.separator.colon.baml"}}},"union-operator":{"name":"keyword.operator.type.baml","match":"\\|"},"upcast-expression":{"name":"meta.expression.upcast.baml","begin":"(\\.)\\s*(as)\\b(?=\\s*\u003c)","end":"(?\u003c=\u003e)","patterns":[{"include":"#comments"},{"include":"#upcast-type-arguments"}],"beginCaptures":{"1":{"name":"punctuation.accessor.baml"},"2":{"name":"keyword.operator.as.baml"}}},"upcast-type-arguments":{"name":"meta.type-arguments.baml","begin":"\u003c","end":"\u003e","patterns":[{"include":"#comments"},{"include":"#type-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.type-arguments.begin.baml"}},"endCaptures":{"0":{"name":"punctuation.definition.type-arguments.end.baml"}}},"watch-statement":{"name":"meta.statement.watch.baml","begin":"(?:^\\s*|\\G\\s*|(?\u003c=[{;}])\\s*)(watch)\\b","end":"(?=[;}]|$)","patterns":[{"include":"#comments"},{"include":"#watch-statement-pattern"},{"include":"#assignment-operator"},{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.control.watch.baml"}}},"watch-statement-pattern":{"name":"meta.pattern.watch.baml","begin":"\\G\\s*(?=(?:let|const)\\b)","end":"(?=\\s*=)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"while-condition":{"name":"meta.while.condition.baml","begin":"\\G\\s*","end":"(?=\\{)","patterns":[{"include":"#comments"},{"include":"#condition-expression"}]},"while-let-pattern":{"name":"meta.pattern.while-let.baml","begin":"\\G\\s*(?=(?:let|const)\\b)","end":"(?=\\s*=)","patterns":[{"include":"#comments"},{"include":"#pattern"}]},"while-statement":{"name":"meta.statement.while.baml","begin":"\\b(while)\\b","end":"(?\u003c=\\})(?=\\s*(?:;|$))|(?=;|$)","patterns":[{"include":"#comments"},{"include":"#while-let-pattern"},{"include":"#assignment-operator"},{"include":"#while-condition"},{"include":"#code-block"}],"beginCaptures":{"1":{"name":"keyword.control.loop.while.baml"}}},"wildcard-binding-pattern":{"name":"meta.pattern.wildcard.baml","match":"\\b((?:let|const))\\s+(_)\\b","captures":{"1":{"name":"keyword.declaration.binding.baml"},"2":{"name":"variable.language.wildcard.baml"}}},"wildcard-pattern":{"name":"variable.language.wildcard.baml","match":"\\b_\\b"}}}
|