github-linguist 9.5.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/etc.json +1 -1
- data/grammars/gno.mod.json +1 -0
- data/grammars/markdown.mojo.codeblock.json +1 -0
- data/grammars/markdown.move.codeblock.json +1 -1
- data/grammars/source.4dm.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.aleo.json +1 -0
- data/grammars/source.apex.json +1 -1
- data/grammars/source.astro.json +1 -1
- data/grammars/source.baml.json +1 -0
- data/grammars/source.bb.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.brs.embedded.xml.json +1 -0
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.c++.json +1 -1
- data/grammars/source.c.json +1 -1
- data/grammars/source.c3.json +1 -1
- data/grammars/source.carbon.json +1 -0
- data/grammars/source.cel.json +1 -0
- data/grammars/source.cl.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cmake.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.csv.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.daslang.json +1 -1
- data/grammars/source.data-weave.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.emacs.lisp.json +1 -1
- 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.gimprc.json +1 -0
- data/grammars/source.gimpres.json +1 -0
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gno.json +1 -0
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.gtkrc.json +1 -0
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hosts.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.hxml.json +1 -1
- data/grammars/source.il.json +1 -0
- data/grammars/source.interp.json +1 -0
- data/grammars/source.jac.json +1 -1
- data/grammars/source.jactoml.json +1 -0
- data/grammars/source.jai.json +1 -1
- data/grammars/source.jass.json +1 -0
- data/grammars/source.julia.json +1 -1
- data/grammars/source.just.json +1 -1
- data/grammars/source.kcl.json +1 -1
- data/grammars/source.koka.json +1 -1
- data/grammars/source.lean4.markdown.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.m3u.json +1 -1
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mdx.astro.json +1 -1
- data/grammars/source.mi.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.mojo.json +1 -1
- data/grammars/source.moonbit.config.json +1 -0
- data/grammars/source.moonbit.json +1 -1
- data/grammars/source.move.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 -0
- data/grammars/source.paperspecs.json +1 -0
- data/grammars/source.pic.json +1 -1
- data/grammars/source.pkgconf.json +1 -0
- data/grammars/source.pl.json +1 -0
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.powerquery.json +1 -0
- data/grammars/source.powershell.json +1 -1
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.quint.json +1 -0
- data/grammars/source.rarlist.json +1 -0
- data/grammars/source.rascript.json +1 -1
- data/grammars/source.record-jar.json +1 -1
- data/grammars/source.redscript.json +1 -0
- 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.slang.json +1 -1
- data/grammars/source.slint.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.soql.json +1 -1
- data/grammars/source.spicedb-yaml.json +1 -0
- data/grammars/source.spicedb.json +1 -0
- data/grammars/source.stan.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.uri-list.json +1 -0
- data/grammars/source.v.json +1 -1
- 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/spicedb-yaml.injection.json +1 -0
- data/grammars/text.bbcode.json +1 -0
- data/grammars/text.cachedir.json +1 -0
- data/grammars/text.cookie-jar.json +1 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.html.vue.json +1 -1
- data/grammars/text.mac-tts.json +1 -0
- 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/classifier.rb +2 -1
- data/lib/linguist/generated.rb +40 -0
- data/lib/linguist/generic.yml +3 -0
- data/lib/linguist/heuristics.yml +97 -5
- data/lib/linguist/language.rb +13 -9
- data/lib/linguist/languages.yml +368 -37
- data/lib/linguist/languages_data.rb +7663 -0
- data/lib/linguist/lazy_blob.rb +25 -2
- data/lib/linguist/samples.rb +4 -10
- data/lib/linguist/samples_data.rb +196100 -0
- data/lib/linguist/vendor.yml +3 -0
- metadata +54 -18
- data/grammars/markdown.bicep.codeblock.json +0 -1
- data/lib/linguist/languages.json +0 -1
- data/lib/linguist/samples.json +0 -1
data/grammars/source.julia.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Julia","scopeName":"source.julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"name":"meta.array.julia","begin":"\\[","end":"(\\])((?:\\.)?'*)","patterns":[{"name":"constant.numeric.julia","match":"\\bbegin\\b"},{"name":"constant.numeric.julia","match":"\\bend\\b"},{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"bracket":{"patterns":[{"begin":"\\{","end":"(\\})((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"comment":{"patterns":[{"include":"#comment_block"},{"name":"comment.line.number-sign.julia","begin":"#","end":"\\n","patterns":[{"include":"#comment_tags"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}}}]},"comment_block":{"patterns":[{"name":"comment.block.number-sign-equals.julia","begin":"#=","end":"=#","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}}}]},"comment_tags":{"patterns":[{"name":"keyword.other.comment-annotation.julia","match":"\\bTODO\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bFIXME\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bCHANGED\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bXXX\\b"}]},"for_block":{"patterns":[{"begin":"\\b(for)\\b","end":"(?\u003c!,|\\s)(\\s*\\n)","patterns":[{"name":"keyword.other.julia","match":"\\bouter\\b"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.julia"}}}]},"function_call":{"patterns":[{"begin":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()","end":"\\)(('|(\\.'))*\\.?')?","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}}}]},"function_decl":{"patterns":[{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=\u003e]))","captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}}},{"match":"\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()","captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}}}]},"keyword":{"patterns":[{"name":"keyword.other.julia","match":"\\b(?\u003c![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|typegroup|module|baremodule|where)\\b"},{"name":"keyword.control.julia","match":"\\b(?\u003c![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b"},{"name":"keyword.control.end.julia","match":"\\b(?\u003c![:_])end\\b"},{"name":"keyword.storage.modifier.julia","match":"\\b(?\u003c![:_])(?:global|local|const)\\b"},{"name":"keyword.control.export.julia","match":"\\b(?\u003c![:_])(?:export)\\b"},{"name":"keyword.control.public.julia","match":"^(?:public)\\b"},{"name":"keyword.control.import.julia","match":"\\b(?\u003c![:_])(?:import)\\b"},{"name":"keyword.control.using.julia","match":"\\b(?\u003c![:_])(?:using)\\b"},{"name":"keyword.control.as.julia"},{"name":"support.function.macro.julia","match":"@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*|[\\p{S}\\p{P}\u0026\u0026[^\\s@]]+)"}]},"number":{"patterns":[{"match":"((?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)","captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}}},{"name":"constant.global.julia","match":"\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b"},{"name":"constant.language.julia","match":"\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b"}]},"operator":{"patterns":[{"name":"keyword.operator.arrow.julia","match":"\\.?(?:\u003c--\u003e|-\u003e|--\u003e|\u003c--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=\u003e)"},{"name":"keyword.operator.update.julia","match":"(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|\u0026=|\\.\u0026=|⊻=|\\.⊻=|\\$=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|=(?!=))"},{"name":"keyword.operator.shift.julia","match":"(?:\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e|\\.\u003e\u003e\u003e|\\.\u003e\u003e|\\.\u003c\u003c)"},{"match":"(?:\\s*(::|\u003e:|\u003c:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?\u003c!\\\\)\"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)","captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}}},{"name":"keyword.operator.relation.julia","match":"(\\.?((?\u003c!\u003c)\u003c=|(?\u003c!\u003e)\u003e=|\u003e|\u003c|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|\u003c:|\u003e:))"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\?)(?=\\s)"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\:)(?=\\s)"},{"name":"keyword.operator.boolean.julia","match":"(?:\\|\\||\u0026\u0026|(?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)"},{"name":"keyword.operator.range.julia","match":"(?\u003c=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)"},{"name":"keyword.operator.applies.julia","match":"(?:\\|\u003e)"},{"name":"keyword.operator.bitwise.julia","match":"(?:\\||\\.\\||\\\u0026|\\.\\\u0026|~|¬|\\.~|⊻|\\.⊻)"},{"name":"keyword.operator.arithmetic.julia","match":"\\.?(?:\\+\\+|\\-\\-|\\+|\\-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|\u0026|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)"},{"name":"keyword.operator.compose.julia","match":"(?:∘)"},{"name":"keyword.operator.isa.julia","match":"(?:::|(?\u003c=\\s)isa(?=\\s))"},{"name":"keyword.operator.relation.in.julia","match":"(?:(?\u003c=\\s)in(?=\\s))"},{"name":"keyword.operator.dots.julia","match":"(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)"},{"name":"keyword.operator.interpolation.julia","match":"(?:\\$)(?=.+)"},{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')","captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}}},{"match":"(\\])((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}}},{"match":"(\\))((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}}}]},"parentheses":{"patterns":[{"begin":"\\(","end":"(\\))((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"punctuation":{"patterns":[{"name":"punctuation.separator.comma.julia","match":","},{"name":"punctuation.separator.semicolon.julia","match":";"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"name":"string.docstring.julia","begin":"(?:(@doc)\\s((?:doc)?\"\"\")|(doc\"\"\"))","end":"(\"\"\") ?(-\u003e)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}}},{"name":"embed.cxx.julia","contentName":"source.cpp","begin":"(i?cxx)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.c++"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.python.julia","contentName":"source.python","begin":"(py)(\"\"\")","end":"([\\s\\w]*)(\"\"\")","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.js.julia","contentName":"source.js","begin":"(js)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.R.julia","contentName":"source.r","begin":"(R)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\"\"\")","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\")","end":"\"","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.sql.julia","contentName":"meta.embedded.inline.sql","begin":"(sql)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"constant.other.symbol.julia","begin":"var\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"constant.other.symbol.julia","begin":"var\"","end":"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"string.docstring.julia","begin":"^\\s?(doc)?(\"\"\")\\s?$","end":"(\"\"\")","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.single.julia","begin":"'","end":"'(?!')","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.triple.double.julia","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}}},{"name":"string.quoted.double.julia","begin":"\"(?!\"\")","end":"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.regexp.julia","begin":"r\"\"\"","end":"(\"\"\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.regexp.julia","begin":"r\"","end":"(\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"\"\"","end":"(\"\"\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"","end":"(?\u003c![^\\\\]\\\\)(\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```","end":"(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`","end":"(?\u003c![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}}]},"string_dollar_sign_interpolate":{"patterns":[{"name":"variable.interpolation.julia","match":"\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*"},{"name":"variable.interpolation.julia","begin":"\\$(\\()","end":"\\)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"}}}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.julia","match":"\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)"}]},"symbol":{"patterns":[{"name":"constant.other.symbol.julia","match":"(?\u003c![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?![\"`])"}]},"type_decl":{"patterns":[{"name":"meta.type.julia","match":"(?\u003e!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(\u003c:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?","captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}}}]}}}
|
|
1
|
+
{"name":"Julia","scopeName":"source.julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"name":"meta.array.julia","begin":"\\[","end":"(\\])((?:\\.)?'*)","patterns":[{"name":"constant.numeric.julia","match":"\\bbegin\\b"},{"name":"constant.numeric.julia","match":"\\bend\\b"},{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"bracket":{"patterns":[{"begin":"\\{","end":"(\\})((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"comment":{"patterns":[{"include":"#comment_block"},{"name":"comment.line.number-sign.julia","begin":"#","end":"\\n","patterns":[{"include":"#comment_tags"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}}}]},"comment_block":{"patterns":[{"name":"comment.block.number-sign-equals.julia","begin":"#=","end":"=#","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}}}]},"comment_tags":{"patterns":[{"name":"keyword.other.comment-annotation.julia","match":"\\bTODO\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bFIXME\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bCHANGED\\b"},{"name":"keyword.other.comment-annotation.julia","match":"\\bXXX\\b"}]},"for_block":{"patterns":[{"begin":"\\b(for)\\b","end":"(?\u003c!,|\\s)(\\s*\\n)","patterns":[{"name":"keyword.other.julia","match":"\\bouter\\b"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.julia"}}}]},"function_call":{"patterns":[{"begin":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()","end":"\\)(('|(\\.'))*\\.?')?","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}}}]},"function_decl":{"patterns":[{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=\u003e]))","captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}}},{"match":"\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()","captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}}}]},"keyword":{"patterns":[{"name":"keyword.other.julia","match":"\\b(?\u003c![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|typegroup|module|baremodule|where)\\b"},{"name":"keyword.control.julia","match":"\\b(?\u003c![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b"},{"name":"keyword.control.end.julia","match":"\\b(?\u003c![:_])end\\b"},{"name":"keyword.storage.modifier.julia","match":"\\b(?\u003c![:_])(?:global|local|const)\\b"},{"name":"keyword.control.export.julia","match":"\\b(?\u003c![:_])(?:export)\\b"},{"name":"keyword.control.public.julia","match":"^(?:public)\\b"},{"name":"keyword.control.import.julia","match":"\\b(?\u003c![:_])(?:import)\\b"},{"name":"keyword.control.using.julia","match":"\\b(?\u003c![:_])(?:using)\\b"},{"name":"keyword.control.as.julia"},{"name":"support.function.macro.julia","match":"@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*|[\\p{S}\\p{P}\u0026\u0026[^\\s@]]+)"}]},"number":{"patterns":[{"match":"((?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)","captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}}},{"name":"constant.global.julia","match":"\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b"},{"name":"constant.language.julia","match":"\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b"}]},"operator":{"patterns":[{"name":"keyword.operator.arrow.julia","match":"\\.?(?:\u003c--\u003e|-\u003e|--\u003e|\u003c--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=\u003e)"},{"name":"keyword.operator.update.julia","match":"(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|\u0026=|\\.\u0026=|⊻=|\\.⊻=|\\$=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|=(?!=))"},{"name":"keyword.operator.shift.julia","match":"(?:\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e|\\.\u003e\u003e\u003e|\\.\u003e\u003e|\\.\u003c\u003c)"},{"match":"(?:\\s*(::|\u003e:|\u003c:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?\u003c!\\\\)\"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)","captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}}},{"name":"keyword.operator.relation.julia","match":"(\\.?((?\u003c!\u003c)\u003c=|(?\u003c!\u003e)\u003e=|\u003e|\u003c|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|\u003c:|\u003e:))"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\?)(?=\\s)"},{"name":"keyword.operator.ternary.julia","match":"(?\u003c=\\s)(?:\\:)(?=\\s)"},{"name":"keyword.operator.boolean.julia","match":"(?:\\|\\||\u0026\u0026|(?\u003c!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)"},{"name":"keyword.operator.range.julia","match":"(?\u003c=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)"},{"name":"keyword.operator.applies.julia","match":"(?:\\|\u003e)"},{"name":"keyword.operator.bitwise.julia","match":"(?:\\||\\.\\||\\\u0026|\\.\\\u0026|~|¬|\\.~|⊻|\\.⊻)"},{"name":"keyword.operator.arithmetic.julia","match":"\\.?(?:\\+\\+|\\-\\-|\\+|\\-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|\u0026|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)"},{"name":"keyword.operator.compose.julia","match":"(?:∘)"},{"name":"keyword.operator.isa.julia","match":"(?:::|(?\u003c=\\s)isa(?=\\s))"},{"name":"keyword.operator.relation.in.julia","match":"(?:(?\u003c=\\s)in(?=\\s))"},{"name":"keyword.operator.dots.julia","match":"(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)"},{"name":"keyword.operator.interpolation.julia","match":"(?:\\$)(?=.+)"},{"match":"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')","captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}}},{"match":"(\\])((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}}},{"match":"(\\))((?:'|(?:\\.'))*\\.?')","captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}}}]},"parentheses":{"patterns":[{"begin":"\\(","end":"(\\))((?:\\.)?'*)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"0":{"name":"meta.bracket.julia"}},"endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}}}]},"punctuation":{"patterns":[{"name":"punctuation.separator.comma.julia","match":","},{"name":"punctuation.separator.semicolon.julia","match":";"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"name":"string.docstring.julia","begin":"(?:(@doc)\\s((?:doc)?\"\"\")|(doc\"\"\"))","end":"(\"\"\") ?(-\u003e)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}}},{"name":"embed.cxx.julia","contentName":"source.cpp","begin":"(i?cxx)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.c++"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.python.julia","contentName":"source.python","begin":"(py)(\"\"\")","end":"([\\s\\w]*)(\"\"\")","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.js.julia","contentName":"source.js","begin":"(js)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.R.julia","contentName":"source.r","begin":"(R)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\"\"\")","end":"\"\"\"","patterns":[{"include":"#string_escaped_char_raw"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.other.julia","begin":"(raw)(\")","end":"\"","patterns":[{"include":"#string_escaped_char_raw"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"embed.sql.julia","contentName":"meta.embedded.inline.sql","begin":"(sql)(\"\"\")","end":"\"\"\"","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"constant.other.symbol.julia","begin":"var\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"constant.other.symbol.julia","begin":"var\"","end":"\"","patterns":[{"include":"#string_escaped_char"}]},{"name":"string.docstring.julia","begin":"^\\s?(doc)?(\"\"\")\\s?$","end":"(\"\"\")","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.single.julia","begin":"'","end":"'(?!')","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.quoted.triple.double.julia","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}}},{"name":"string.quoted.double.julia","begin":"\"(?!\"\")","end":"\"","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}}},{"name":"string.regexp.julia","begin":"r\"\"\"","end":"(\"\"\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.regexp.julia","begin":"r\"","end":"(\")([imsx]{0,4})?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"\"\"","end":"(\"\"\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.quoted.other.julia","begin":"(?\u003c!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"","end":"(?\u003c![^\\\\]\\\\)(\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```","end":"(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}},{"name":"string.interpolated.backtick.julia","begin":"(?\u003c!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`","end":"(?\u003c![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}}}]},"string_dollar_sign_interpolate":{"patterns":[{"name":"variable.interpolation.julia","match":"\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*"},{"name":"variable.interpolation.julia","begin":"\\$(\\()","end":"\\)","patterns":[{"include":"#self_no_for_block"}],"beginCaptures":{"1":{"name":"meta.bracket.julia"}},"endCaptures":{"0":{"name":"meta.bracket.julia"}}}]},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.julia","match":"\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)"}]},"string_escaped_char_raw":{"patterns":[{"name":"constant.character.escape.julia","match":"(\\\\\\\\)*\\\\\""},{"name":"constant.character.escape.julia","match":"(\\\\\\\\)+(?=\")"}]},"symbol":{"patterns":[{"name":"constant.other.symbol.julia","match":"(?\u003c![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?![\"`])"}]},"type_decl":{"patterns":[{"name":"meta.type.julia","match":"(?\u003e!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(\u003c:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?","captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}}}]}}}
|
data/grammars/source.just.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Just","scopeName":"source.just","patterns":[{"include":"#comments"},{"include":"#import"},{"include":"#module"},{"include":"#alias"},{"include":"#assignment"},{"include":"#builtins"},{"include":"#keywords"},{"include":"#expression-operators"},{"include":"#backtick"},{"include":"#strings"},{"include":"#parenthesis"},{"include":"#recipes"},{"include":"#recipe-operators"},{"include":"#embedded-languages"},{"include":"#escaping"}],"repository":{"alias":{"match":"(?x)\n ^\n (alias) \\s+ \n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s* \n (:=) \\s* \n ([a-zA-Z_][a-zA-Z0-9_-]*)\n","captures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.name.alias.just"},"3":{"name":"keyword.operator.assignment.just"},"4":{"name":"variable.other.just"}}},"assignment":{"patterns":[{"include":"#variable-assignment"},{"include":"#setting-assignment"}]},"backtick":{"patterns":[{"contentName":"source.shell","begin":"(```)","end":"(```)","patterns":[{"include":"source.shell"}],"beginCaptures":{"1":{"name":"string.interpolated.just"}},"endCaptures":{"1":{"name":"string.interpolated.just"}}},{"match":"(`)([^`]*)(`)","captures":{"1":{"name":"string.interpolated.just"},"2":{"name":"source.shell","patterns":[{"include":"source.shell"}]},"3":{"name":"string.interpolated.just"}}}]},"boolean":{"patterns":[{"name":"constant.language.boolean.just","match":"\\b(true|false)\\b"}]},"builtin-functions":{"patterns":[{"name":"support.function.builtin.just","match":"(?x) \\b(\n arch|num_cpus|os|os_family|shell|env_var|env_var_or_default|env|\n is_dependency|invocation_directory|invocation_dir|invocation_directory_native|\n invocation_dir_native|justfile|justfile_directory|justfile_dir|just_executable|\n just_pid|source_file|source_directory|source_dir|module_file|module_directory|\n module_dir|append|prepend|encode_uri_component|quote|replace|replace_regex|\n trim|trim_end|trim_end_match|trim_end_matches|trim_start|trim_start_match|\n trim_start_matches|capitalize|kebabcase|lowercamelcase|lowercase|\n shoutykebabcase|shoutysnakecase|snakecase|titlecase|uppercamelcase|\n uppercase|absolute_path|blake3|blake3_file|canonicalize|extension|\n file_name|file_stem|parent_directory|parent_dir|without_extension|clean|join|\n path_exists|error|assert|sha256|sha256_file|uuid|choose|datetime|\n datetime_utc|semver_matches|style|cache_directory|cache_dir|config_directory|config_dir|\n config_local_directory|config_local_dir|data_directory|data_dir|data_local_directory|\n data_local_dir|executable_directory|executable_dir|home_directory|home_dir|which|require|read\n)\\b\n"}]},"builtins":{"patterns":[{"name":"constant.language.const.just","match":"(?x) \\b(\n HEX|HEXLOWER|HEXUPPER|PATH_SEP|PATH_VAR_SEP|CLEAR|NORMAL|BOLD|ITALIC|UNDERLINE|INVERT|HIDE|\n STRIKETHROUGH|BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|BG_BLACK|\n BG_RED|BG_GREEN|BG_YELLOW|BG_BLUE|BG_MAGENTA|BG_CYAN|BG_WHITE\n)\\b\n"},{"include":"#builtin-functions"},{"include":"#literal"}]},"comments":{"patterns":[{"name":"comment.line.number-sign.just","match":"#(?!\\!).*$"}]},"control-keywords":{"patterns":[{"name":"keyword.control.conditional.just","match":"\\b(if|else)\\b"}]},"embedded-languages":{"patterns":[{"contentName":"source.js","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?node.*)$","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.ts","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?deno.*)$","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.perl","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?perl.*)$","patterns":[{"include":"source.perl"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.python","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?python.*)$","patterns":[{"include":"source.python"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.ruby","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?ruby.*)$","patterns":[{"include":"source.ruby"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.shell","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?(?:sh|bash|zsh|fish).*)$","patterns":[{"include":"source.shell"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}}]},"escaping":{"patterns":[{"name":"string.interpolated.escaping.just","match":"(?x)\n (?\u003c!\\{)\n (\\{\\{)\n \\{? (?!\\{)\n (.*?)\n (\\}\\})\n","captures":{"1":{"name":"string.interpolated.escape.just"},"2":{"patterns":[{"include":"#expression"}]},"3":{"name":"string.interpolated.escape.just"}}}]},"expression":{"patterns":[{"include":"#backtick"},{"include":"#builtins"},{"include":"#control-keywords"},{"include":"#expression-operators"},{"include":"#parenthesis"},{"include":"#strings"}]},"expression-operators":{"patterns":[{"name":"keyword.operator.path-join.just","match":"\\/"},{"name":"keyword.operator.concat.just","match":"\\+"},{"name":"keyword.operator.and.just","match":"\u0026\u0026"},{"name":"keyword.operator.or.just","match":"\\|\\|"},{"name":"keyword.operator.equality.just","match":"(\\=\\=|\\=\\~|\\!\\=)"}]},"import":{"begin":"(?x)\n ^\n (import)\n (\\?)? \\s+\n","end":"$","patterns":[{"include":"#strings"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"punctuation.optional.just"}}},"keywords":{"patterns":[{"include":"#reserved-keywords"},{"include":"#control-keywords"}]},"literal":{"patterns":[{"include":"#boolean"},{"include":"#number"}]},"module":{"begin":"(?x)\n ^\n (mod)\n (\\?)? \\s+\n ([a-zA-Z_][a-zA-Z0-9_-]*)\n (?=[$\\s])\n","end":"$","patterns":[{"include":"#strings"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"punctuation.optional.just"},"3":{"name":"variable.name.module.just"}}},"number":{"patterns":[{"name":"constant.numeric.just","match":"(?x)\n (?\u003c! [a-zA-Z_\\-])(?:\n \\. \\d+\n |\n \\d+ \\. \\d+\n |\n \\d+ \\.\n |\n [1-9] \\d*\n )\n"},{"name":"invalid.illegal.name.just","match":"\\b[0-9]+[a-zA-Z_\\-]+\\b"}]},"parenthesis":{"begin":"\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#parenthesis"}]},"recipe-attributes":{"patterns":[{"match":"(?x)\n ^\n \\[ \n ([a-zA-z\\-]+) \\s*\n (?: , ( \\s* [a-zA-z\\-]+ \\s* ) )*\n ] \\s*\n $\n","captures":{"1":{"name":"support.function.system.just"},"2":{"name":"support.function.system.just"}}},{"match":"(?x)\n ^\n \\[\n ([a-zA-z\\-]+)\n (?: \n (?: (:) (.*?) ) | (\\( (.*?) \\))\n )?\n ] \\s*\n $\n","captures":{"1":{"name":"support.function.system.just"},"2":{"name":"keyword.operator.attribute.end.just"},"3":{"patterns":[{"include":"#strings"}]},"4":{"patterns":[{"include":"#strings"}]}}}]},"recipe-dependencies":{"match":"(?x)\n (?:\n ([a-zA-Z_][a-zA-Z0-9_\\-]*)\n | ( \\( \n (?: [^\\(\\)]+ | \\( [^\\)]* \\))* \n \\) )\n | (\u0026\u0026)\n )\n","captures":{"1":{"name":"entity.name.function.just"},"2":{"patterns":[{"match":"(?x)\n \\( \n (?: \n ([a-zA-Z_][a-zA-Z0-9_\\-]*)\n (.*)\n )\n \\)\n","captures":{"1":{"name":"entity.name.function.just"},"2":{"patterns":[{"include":"#expression"}]}}}]},"3":{"name":"keyword.operator.and.just"}}},"recipe-operators":{"patterns":[{"match":"^\\s+(@)","captures":{"1":{"name":"keyword.operator.quiet.just"}}},{"match":"^\\s+(\\-)","captures":{"1":{"name":"keyword.operator.error-suppression.just"}}}]},"recipe-params":{"match":"(?x)\n (?: \n (\\+|\\*|\\$)?\n ([a-zA-Z_][a-zA-Z_0-9]*\n )\n (?:\n (=)\n (?: \n [a-zA-Z_][a-zA-Z_0-9]* \n | (\\\".*?\\\" | '.*?') \n | (`.*?`) \n | ( \\( \n (?: \n [^\\(\\)]+ \n | \\( [^)]* \\)\n )* \\) ) \n ) \n )?\n )\n","captures":{"1":{"name":"keyword.other.recipe.variadic.just"},"2":{"name":"variable.parameter.recipe.just"},"3":{"name":"keyword.operator.default.just"},"4":{"patterns":[{"include":"#strings"}]},"5":{"patterns":[{"include":"#backtick"}]},"6":{"patterns":[{"include":"#parenthesis"}]}}},"recipes":{"patterns":[{"match":"(?x)\n ^\n (@_|_@|@|_)?\n ([a-zA-Z][a-zA-Z0-9_\\-]*)\n (?: \\s+ (.*?) )?\n \\s* (:)\n (.*)\n","captures":{"1":{"name":"keyword.other.recipe.prefix.just"},"2":{"name":"entity.name.function.just"},"3":{"patterns":[{"include":"#recipe-params"}]},"4":{"name":"keyword.operator.recipe.end.just"},"5":{"patterns":[{"include":"#recipe-dependencies"}]}}},{"include":"#recipe-operators"},{"include":"#recipe-attributes"},{"include":"#embedded-languages"}]},"reserved-keywords":{"patterns":[{"match":"^(alias|export|unexport|import|mod|set)\\s+","captures":{"1":{"name":"keyword.other.reserved.just"}}}]},"setting-assignment":{"patterns":[{"begin":"(?x) \n ^\n (set) \\s+\n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s*\n (:=)?\n","end":"$","patterns":[{"include":"#expression"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"},"3":{"name":"keyword.operator.assignment.just"}}}]},"strings":{"patterns":[{"name":"string.quoted.double.indented.just","match":"([\\\"']{1,3})[\\{]+(\\1)"},{"name":"string.quoted.double.indented.just","begin":"(f|x)?(\"\"\")","end":"\"\"\"","patterns":[{"name":"constant.character.escape.just","match":"\\\\.(?:(?\u003c=u)\\{.+?\\})?"},{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.double.indented.just"}}},{"name":"string.quoted.double.just","begin":"(f|x)?(\")","end":"\"","patterns":[{"name":"constant.character.escape.just","match":"\\\\.(?:(?\u003c=u)\\{.+?\\})?"},{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.double.just"}}},{"name":"string.quoted.single.indented.just","begin":"(f|x)?(''')","end":"'''","patterns":[{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.single.indented.just"}}},{"name":"string.quoted.single.just","begin":"(f|x)?(')","end":"'","patterns":[{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.single.just"}}}]},"variable-assignment":{"patterns":[{"match":"^(unexport)\\s+([a-zA-Z_][a-zA-Z0-9_-]*)","captures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"}}},{"begin":"(?x) \n ^\n (?: (export) \\s+)?\n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s*\n (:=)\n","end":"$","patterns":[{"include":"#expression"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"},"3":{"name":"keyword.operator.assignment.just"}}}]}}}
|
|
1
|
+
{"name":"Just","scopeName":"source.just","patterns":[{"include":"#comments"},{"include":"#import"},{"include":"#module"},{"include":"#alias"},{"include":"#assignment"},{"include":"#builtins"},{"include":"#keywords"},{"include":"#expression-operators"},{"include":"#backtick"},{"include":"#strings"},{"include":"#parenthesis"},{"include":"#recipes"},{"include":"#recipe-operators"},{"include":"#embedded-languages"},{"include":"#escaping"}],"repository":{"alias":{"match":"(?x)\n ^\n (alias) \\s+ \n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s* \n (:=) \\s* \n ([a-zA-Z_][a-zA-Z0-9_-]*)\n","captures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.name.alias.just"},"3":{"name":"keyword.operator.assignment.just"},"4":{"name":"variable.other.just"}}},"assignment":{"patterns":[{"include":"#variable-assignment"},{"include":"#setting-assignment"}]},"backtick":{"patterns":[{"contentName":"source.shell","begin":"(```)","end":"(```)","patterns":[{"include":"source.shell"}],"beginCaptures":{"1":{"name":"string.interpolated.just"}},"endCaptures":{"1":{"name":"string.interpolated.just"}}},{"match":"(`)([^`]*)(`)","captures":{"1":{"name":"string.interpolated.just"},"2":{"name":"source.shell","patterns":[{"include":"source.shell"}]},"3":{"name":"string.interpolated.just"}}}]},"boolean":{"patterns":[{"name":"constant.language.boolean.just","match":"\\b(true|false)\\b"}]},"builtin-functions":{"patterns":[{"name":"support.function.builtin.just","match":"(?x) \\b(\n arch|num_cpus|os|os_family|shell|env_var|env_var_or_default|env|\n is_dependency|invocation_directory|invocation_dir|invocation_directory_native|\n invocation_dir_native|justfile|justfile_directory|justfile_dir|just_executable|\n just_pid|source_file|source_directory|source_dir|module_file|module_directory|\n module_dir|append|prepend|encode_uri_component|quote|replace|replace_regex|\n trim|trim_end|trim_end_match|trim_end_matches|trim_start|trim_start_match|\n trim_start_matches|capitalize|kebabcase|lowercamelcase|lowercase|\n shoutykebabcase|shoutysnakecase|snakecase|titlecase|uppercamelcase|\n uppercase|absolute_path|blake3|blake3_file|canonicalize|extension|\n file_name|file_stem|parent_directory|parent_dir|without_extension|clean|join|\n path_exists|error|assert|sha256|sha256_file|uuid|choose|datetime|\n datetime_utc|semver_matches|style|cache_directory|cache_dir|config_directory|config_dir|\n config_local_directory|config_local_dir|data_directory|data_dir|data_local_directory|\n data_local_dir|executable_directory|executable_dir|home_directory|home_dir|which|require|read\n)\\b\n"}]},"builtins":{"patterns":[{"name":"constant.language.const.just","match":"(?x) \\b(\n HEX|HEXLOWER|HEXUPPER|PATH_SEP|PATH_VAR_SEP|CLEAR|NORMAL|BOLD|ITALIC|UNDERLINE|INVERT|HIDE|\n STRIKETHROUGH|BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|BG_BLACK|\n BG_RED|BG_GREEN|BG_YELLOW|BG_BLUE|BG_MAGENTA|BG_CYAN|BG_WHITE\n)\\b\n"},{"include":"#builtin-functions"},{"include":"#literal"}]},"comments":{"patterns":[{"name":"comment.line.number-sign.just","match":"#(?!\\!).*$"}]},"control-keywords":{"patterns":[{"name":"keyword.control.conditional.just","match":"\\b(if|else)\\b"}]},"embedded-languages":{"patterns":[{"contentName":"source.js","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?node.*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.ts","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?deno.*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.perl","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?perl.*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.perl"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.python","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?python.*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.python"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.ruby","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?ruby.*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.ruby"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}},{"contentName":"source.shell","begin":"^\\s+(#!/usr/bin/env\\s+(?:-S\\s+)?(?:sh|bash|zsh|fish).*)$","while":"^(?=\\s*$|\\s)","patterns":[{"include":"source.shell"}],"beginCaptures":{"1":{"name":"comment.line.number-sign.shebang.just"}}}]},"escaping":{"patterns":[{"name":"string.interpolated.escaping.just","match":"(?x)\n (?\u003c!\\{)\n (\\{\\{)\n \\{? (?!\\{)\n (.*?)\n (\\}\\})\n","captures":{"1":{"name":"string.interpolated.escape.just"},"2":{"patterns":[{"include":"#expression"}]},"3":{"name":"string.interpolated.escape.just"}}}]},"expression":{"patterns":[{"include":"#backtick"},{"include":"#builtins"},{"include":"#control-keywords"},{"include":"#expression-operators"},{"include":"#parenthesis"},{"include":"#strings"}]},"expression-operators":{"patterns":[{"name":"keyword.operator.path-join.just","match":"\\/"},{"name":"keyword.operator.concat.just","match":"\\+"},{"name":"keyword.operator.and.just","match":"\u0026\u0026"},{"name":"keyword.operator.or.just","match":"\\|\\|"},{"name":"keyword.operator.equality.just","match":"(\\=\\=|\\=\\~|\\!\\=)"}]},"import":{"begin":"(?x)\n ^\n (import)\n (\\?)? \\s+\n","end":"$","patterns":[{"include":"#strings"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"punctuation.optional.just"}}},"keywords":{"patterns":[{"include":"#reserved-keywords"},{"include":"#control-keywords"}]},"literal":{"patterns":[{"include":"#boolean"},{"include":"#number"}]},"module":{"begin":"(?x)\n ^\n (mod)\n (\\?)? \\s+\n ([a-zA-Z_][a-zA-Z0-9_-]*)\n (?=[$\\s])\n","end":"$","patterns":[{"include":"#strings"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"punctuation.optional.just"},"3":{"name":"variable.name.module.just"}}},"number":{"patterns":[{"name":"constant.numeric.just","match":"(?x)\n (?\u003c! [a-zA-Z_\\-])(?:\n \\. \\d+\n |\n \\d+ \\. \\d+\n |\n \\d+ \\.\n |\n [1-9] \\d*\n )\n"},{"name":"invalid.illegal.name.just","match":"\\b[0-9]+[a-zA-Z_\\-]+\\b"}]},"parenthesis":{"begin":"\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#parenthesis"}]},"recipe-attributes":{"patterns":[{"match":"(?x)\n ^\n \\[ \n ([a-zA-z\\-]+) \\s*\n (?: , ( \\s* [a-zA-z\\-]+ \\s* ) )*\n ] \\s*\n $\n","captures":{"1":{"name":"support.function.system.just"},"2":{"name":"support.function.system.just"}}},{"match":"(?x)\n ^\n \\[\n ([a-zA-z\\-]+)\n (?: \n (?: (:) (.*?) ) | (\\( (.*?) \\))\n )?\n ] \\s*\n $\n","captures":{"1":{"name":"support.function.system.just"},"2":{"name":"keyword.operator.attribute.end.just"},"3":{"patterns":[{"include":"#strings"}]},"4":{"patterns":[{"include":"#strings"}]}}}]},"recipe-dependencies":{"match":"(?x)\n (?:\n ([a-zA-Z_][a-zA-Z0-9_\\-]*)\n | ( \\( \n (?: [^\\(\\)]+ | \\( [^\\)]* \\))* \n \\) )\n | (\u0026\u0026)\n )\n","captures":{"1":{"name":"entity.name.function.just"},"2":{"patterns":[{"match":"(?x)\n \\( \n (?: \n ([a-zA-Z_][a-zA-Z0-9_\\-]*)\n (.*)\n )\n \\)\n","captures":{"1":{"name":"entity.name.function.just"},"2":{"patterns":[{"include":"#expression"}]}}}]},"3":{"name":"keyword.operator.and.just"}}},"recipe-operators":{"patterns":[{"match":"^\\s+(@)","captures":{"1":{"name":"keyword.operator.quiet.just"}}},{"match":"^\\s+(\\-)","captures":{"1":{"name":"keyword.operator.error-suppression.just"}}}]},"recipe-params":{"match":"(?x)\n (?: \n (\\+|\\*|\\$)?\n ([a-zA-Z_][a-zA-Z_0-9]*\n )\n (?:\n (=)\n (?: \n [a-zA-Z_][a-zA-Z_0-9]* \n | (\\\".*?\\\" | '.*?') \n | (`.*?`) \n | ( \\( \n (?: \n [^\\(\\)]+ \n | \\( [^)]* \\)\n )* \\) ) \n ) \n )?\n )\n","captures":{"1":{"name":"keyword.other.recipe.variadic.just"},"2":{"name":"variable.parameter.recipe.just"},"3":{"name":"keyword.operator.default.just"},"4":{"patterns":[{"include":"#strings"}]},"5":{"patterns":[{"include":"#backtick"}]},"6":{"patterns":[{"include":"#parenthesis"}]}}},"recipes":{"patterns":[{"match":"(?x)\n ^\n (@_|_@|@|_)?\n ([a-zA-Z][a-zA-Z0-9_\\-]*)\n (?: \\s+ (.*?) )?\n \\s* (:)\n (.*)\n","captures":{"1":{"name":"keyword.other.recipe.prefix.just"},"2":{"name":"entity.name.function.just"},"3":{"patterns":[{"include":"#recipe-params"}]},"4":{"name":"keyword.operator.recipe.end.just"},"5":{"patterns":[{"include":"#recipe-dependencies"}]}}},{"include":"#recipe-operators"},{"include":"#recipe-attributes"},{"include":"#embedded-languages"}]},"reserved-keywords":{"patterns":[{"match":"^(alias|export|unexport|import|mod|set)\\s+","captures":{"1":{"name":"keyword.other.reserved.just"}}}]},"setting-assignment":{"patterns":[{"begin":"(?x) \n ^\n (set) \\s+\n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s*\n (:=)?\n","end":"$","patterns":[{"include":"#expression"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"},"3":{"name":"keyword.operator.assignment.just"}}}]},"strings":{"patterns":[{"name":"string.quoted.double.indented.just","match":"([\\\"']{1,3})[\\{]+(\\1)"},{"name":"string.quoted.double.indented.just","begin":"(f|x)?(\"\"\")","end":"\"\"\"","patterns":[{"name":"constant.character.escape.just","match":"\\\\.(?:(?\u003c=u)\\{.+?\\})?"},{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.double.indented.just"}}},{"name":"string.quoted.double.just","begin":"(f|x)?(\")","end":"\"","patterns":[{"name":"constant.character.escape.just","match":"\\\\.(?:(?\u003c=u)\\{.+?\\})?"},{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.double.just"}}},{"name":"string.quoted.single.indented.just","begin":"(f|x)?(''')","end":"'''","patterns":[{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.single.indented.just"}}},{"name":"string.quoted.single.just","begin":"(f|x)?(')","end":"'","patterns":[{"include":"#escaping"}],"beginCaptures":{"1":{"name":"constant.character.expanded.just"},"2":{"name":"string.quoted.single.just"}}}]},"variable-assignment":{"patterns":[{"match":"^(unexport)\\s+([a-zA-Z_][a-zA-Z0-9_-]*)","captures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"}}},{"begin":"(?x) \n ^\n (?: (export) \\s+)?\n ([a-zA-Z_][a-zA-Z0-9_-]*) \\s*\n (:=)\n","end":"$","patterns":[{"include":"#expression"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.reserved.just"},"2":{"name":"variable.other.just"},"3":{"name":"keyword.operator.assignment.just"}}}]}}}
|
data/grammars/source.kcl.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"KCL","scopeName":"source.kcl","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"#builtin-literals"},{"include":"#triple-double-quoted-strings"},{"include":"#triple-single-quoted-strings"},{"include":"#single-quoted-strings"},{"include":"#double-quoted-strings"},{"include":"#comment"},{"include":"#number"}],"repository":{"builtin-literals":{"patterns":[{"name":"constant.language.KCL","match":"\\b(True|False|None|Undefined)\\b"}]},"comment":{"name":"comment.line.number-sign.KCL","patterns":[{"name":"comment.line.number-sign.KCL","match":"#.*"}]},"double-quoted-strings":{"name":"string.quoted.double.KCL","begin":"\"","end":"\""},"keywords":{"patterns":[{"name":"keyword.control.KCL","match":"\\b(as|assert|if|elif|else|lambda|for|import|schema|protocol|rule|mixin|check|and|in|is|not|or|all|any|map|filter|type)\\b"}]},"number":{"name":"constant.numeric.KCL","patterns":[{"name":"constant.numeric.list.number.KCL","match":"\\-?[1-9]\\d*"},{"name":"constant.numeric.list.number.KCL","match":"\\-?0[xX][0-9a-fA-F]
|
|
1
|
+
{"name":"KCL","scopeName":"source.kcl","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"#builtin-literals"},{"include":"#triple-double-quoted-strings"},{"include":"#triple-single-quoted-strings"},{"include":"#single-quoted-strings"},{"include":"#double-quoted-strings"},{"include":"#comment"},{"include":"#number"}],"repository":{"builtin-literals":{"patterns":[{"name":"constant.language.KCL","match":"\\b(True|False|None|Undefined)\\b"}]},"comment":{"name":"comment.line.number-sign.KCL","patterns":[{"name":"comment.line.number-sign.KCL","match":"#.*"}]},"double-quoted-strings":{"name":"string.quoted.double.KCL","begin":"\"","end":"\""},"keywords":{"patterns":[{"name":"keyword.control.KCL","match":"\\b(as|assert|if|elif|else|lambda|for|import|schema|protocol|rule|mixin|check|and|in|is|not|or|all|any|map|filter|type)\\b"}]},"number":{"name":"constant.numeric.KCL","patterns":[{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)\\.\\d*([eE][-+]?\\d+)?"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?\\.\\d+([eE][-+]?\\d+)?"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)[eE][-+]?\\d+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[xX][0-9a-fA-F]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[oO][0-7]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?0[bB][0-1]+\\b"},{"name":"constant.numeric.list.number.KCL","match":"(?\u003c![\\w.])\\-?(?:[1-9]\\d*|0)\\b"}]},"single-quoted-strings":{"name":"string.quoted.single.KCL","begin":"'","end":"'"},"triple-double-quoted-strings":{"name":"string.quoted.double.triple.KCL","begin":"\"\"\"","end":"\"\"\""},"triple-single-quoted-strings":{"name":"string.quoted.single.triple.KCL","begin":"'''","end":"'''"},"types":{"patterns":[{"name":"entity.name.type.KCL","match":"\\b(str|int|float|bool)\\b"}]}}}
|
data/grammars/source.koka.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"koka","scopeName":"source.koka","patterns":[{"include":"#line_comment"},{"include":"#line_directive"},{"include":"#block_comment"},{"include":"#string"},{"include":"#rawstring"},{"include":"#rawstring1"},{"include":"#rawstring2"},{"include":"#character"},{"include":"#characteresc"},{"include":"#type_app"},{"include":"#top_type"},{"include":"#top_type_type"},{"include":"#top_type_alias"},{"include":"#top_type_struct_args"},{"include":"#top_type_struct"},{"include":"#top_type_quantifier"},{"include":"#decl_function"},{"include":"#decl_external_import"},{"include":"#decl_external"},{"include":"#decl_toplevel_val"},{"include":"#decl_val"},{"include":"#decl_var"},{"include":"#decl_hover_expr"},{"include":"#decl_hover_implicit"},{"include":"#decl_param"},{"include":"#module_id"},{"include":"#import_id"},{"include":"#import_id2"},{"include":"#branch"},{"include":"#dot"},{"include":"#reservedid"},{"include":"#reservedcontrol"},{"include":"#reservedop"},{"include":"#libraryid"},{"include":"#externid"},{"include":"#qconstructor"},{"include":"#qoperator"},{"include":"#qidentifier"},{"include":"#identifier"},{"include":"#constructor"},{"include":"#special"},{"include":"#minus"},{"include":"#operator"},{"include":"#wildcard"},{"include":"#number"},{"include":"#inv_character"},{"include":"#whitespace"}],"repository":{"block_comment":{"name":"comment.block koka.comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block_comment"},{"name":"koka.comment.doc.pre.block","begin":"^```+.*$","end":"^```+\\s*$"},{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}},"endCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}}},"branch":{"name":"keyword.other koka.id.library.$1","match":"(finally|initially)\\s*(?=-\u003e|[\\{\\(])"},"character":{"name":"string.quoted.single koka.char","match":"'[^\\'\\\\$]'","beginCaptures":{"0":{"name":"punctuation.definition.character koka.char"}},"endCaptures":{"0":{"name":"punctuation.definition.character koka.char"}}},"characteresc":{"match":"(')(\\\\([abfnrtv0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6}))(')","captures":{"1":{"name":"string.quoted.single koka.char"},"2":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"3":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"4":{"name":"string.quoted.single koka.char"}}},"constructor":{"name":"entity.name.tag.css.constant.other.constructor koka.conid","match":"[@A-Z][\\w\\-@]*[\\']*"},"decl_external":{"match":"((?:(?:inline|noinline)\\s+)?(?:(?:fip|fbip)\\s+)?extern)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")?","captures":{"1":{"name":"keyword.declaration.function koka.keyword.extern"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_external_import":{"name":"keyword.declaration.import koka.keyword.extern","match":"(extern\\s+import)"},"decl_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun|fn|ctl|ret))\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")","captures":{"1":{"name":"keyword.declaration.function koka.keyword.fun"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_hover_expr":{"name":"keyword.declaration koka.keyword.expr","match":"^expr"},"decl_hover_implicit":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))(?=\\s*[=])","captures":{"1":{"name":"entity.name.label source.typeparam koka.param.implicit"},"2":{"name":"entity.name.label source.typeparam koka.param.implicit"}}},"decl_param":{"name":"entity.name koka.id.param","match":"([a-z][\\w\\-]*[\\']*)\\s*(?=:)"},"decl_toplevel_val":{"match":"(^(?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.val"}}},"decl_val":{"match":"((?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name koka.id.decl.val"}}},"decl_var":{"match":"(var)\\s+([a-z][\\w\\-]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))","captures":{"1":{"name":"keyword.declaration koka.keyword.var"},"2":{"name":"entity.name koka.id.decl.var"}}},"dot":{"name":"source.dot koka.special.dot","match":"\\."},"externid":{"name":"keyword.control koka.id.extern.$1","match":"(?:c|cs|js|inline)\\s+(?:inline\\s+)?(?:(?:file|header-file|header-end-file)\\s+)?(?=[\\\"\\{]|r#*\")"},"identifier":{"name":"source koka.id","match":"@?[a-z][\\w\\-@]*[\\']*"},"import_id":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)(\\s+(=)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))?))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"},"6":{"name":"keyword koka.keyword.op"},"8":{"name":"entity.name.variable koka.moduleid"}}},"import_id2":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"}}},"inv_character":{"name":"invalid.string.quoted.single koka.char.invalid","match":"'([^'\\\\\\n]|\\\\(.|x..|u....|U......))'|'$|''?"},"libraryid":{"name":"keyword.control koka.id.library.$1","match":"(resume|resume-shallow|rcontext)(?![\\w\\-?'])"},"libraryop":{"name":"keyword.control koka.op.library","match":"(!)(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"line_comment":{"name":"comment.line.double-slash koka.comment.line","begin":"//","end":"$","patterns":[{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.line"}}},"line_directive":{"name":"meta.preprocessor koka.preprocessor","match":"^\\s*#.*$"},"minus":{"name":"source.operator.minus koka.op.minus","match":"-(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"module_id":{"match":"(module)\\s*((interface)?)\\s*(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)","captures":{"1":{"name":"keyword.other koka.keyword.module"},"3":{"name":"keyword.other koka.keyword.interface"},"4":{"name":"entity.name.variable koka.moduleid"}}},"number":{"name":"constant.numeric koka.number","match":"-?(?:0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*(\\.[\\da-fA-F]+(?:_[\\da-fA-F]+)*)?([pP][\\-+]?\\d+)?|0[bB][01][01_]*|(?:0|[1-9]\\d*)(?:_\\d+)*(\\.\\d+(?:_\\d+)*([eE][\\-+]?\\d+)?)?)"},"operator":{"name":"source.operator koka.op","match":"[$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+"},"param_identifier":{"match":"([^]\\s+)?(\\?[\\?]?\\s*)?([@a-z][\\w\\-@]*[\\']*)\\s*(?=[:,\\)])","captures":{"1":{"name":"koka.keyword.borrow"},"2":{"name":"koka.keyword.implicit"},"3":{"name":"source koka.id.param"}}},"qconstructor":{"match":"((?:[@a-z][\\w\\-@]*/#?)+)(@?[A-Z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"entity.name.tag.css.constant.other.constructor koka.conid"}}},"qidentifier":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source koka.id"}}},"qoperator":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(\\([^\\n\\r\\)]+\\))","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source.operator koka.op"}}},"rawstring":{"name":"string.quoted.double koka.string.raw","begin":"r\"","end":"\"","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring1":{"name":"string.quoted.double koka.string.raw","begin":"r#\"","end":"\"#","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!#)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring2":{"name":"string.quoted.double koka.string.raw","begin":"r##\"","end":"\"##","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!##)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"reservedcontrol":{"name":"keyword.control koka.keyword.control.$1","match":"(if|then|else|elif|match|return)(?![\\w\\-'])"},"reservedid":{"name":"keyword.other koka.keyword","match":"(return(?=(?:\\(|\\s+\\(?)\\w[\\w\\-]*\\s*(?:\\)\\s*(?:[^;])))|infix|infixr|infixl|type|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?|rec|struct|alias|forall|exists|some|extern|fun|fn|val|var|con|with(?:\\s+override)?|module|import|as|in|ctx|hole|pub|abstract|effect|named|(?:raw\\s+|final\\s+)ctl|break|continue|unsafe|mask(?:\\s+behind)?|handle|handler)(?![\\w\\-'])"},"reservedop":{"name":"keyword koka.keyword.op","match":"(=|=\u003e|\\-\u003e|\u003c\\-|\\||\\.|:|:=)(?![$%\u0026\\*\\+!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"special":{"name":"punctuation.separator koka.special","match":"[{}\\(\\)\\[\\];,]"},"string":{"name":"string.quoted.double koka.string","begin":"\"","end":"\"|$","patterns":[{"name":"invalid.string.quoted.double koka.string.invalid","match":"([^\"\\\\]|\\\\.)+$"},{"name":"string.quoted.double.regular koka.string","match":"[^\"\\\\]+"},{"name":"string.quoted.double constant.character.escape koka.string.escape","match":"\\\\([abfnrtvz0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6})"},{"name":"invalid.string.quoted.double koka.string","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"top_type":{"begin":"(:(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\|\u003c\u003e]))|(where|iff|when)(?![\\w\\-])","end":"(?=[,\\)\\{\\}\\[\\]=;\"`A-Z]| |(infix|infixr|infixl|inline|noinline|fip|fbip|tail|value|reference|open|extend|rec|co|lazy|type|linear|effect|ambient|alias|extern|fn|fun|function|val|raw|final|ctl|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"constant.numeric.type support.type koka.type"},"2":{"name":"keyword koka.keyword.$2"}},"endCaptures":{"0":{"name":"invalid.keyword koka.invalid"}}},"top_type_alias":{"begin":"(alias)\\s+([a-z][\\w\\-]+)","end":"(?=[,\\)\\{\\}\\[\\];\"`A-Z]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|linear|alias|effect|ambient|extern|fn|fun|function|val|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"name":"keyword.other koka.keyword.op","match":"="},{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_quantifier":{"begin":"(exists|forall|some)(\\s*)(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword koka.keyword"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_struct":{"match":"((?:(?:value|ref)\\s*)?struct)\\s+((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}}},"top_type_struct_args":{"begin":"((?:(?:value|ref)\\s*)?struct)\\s+([a-z][\\w\\-]*|\\(,*\\))\\s*(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_type":{"begin":"((?:(?:value|reference|open|extend|rec|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?)?\\s*type)|(?:named\\s+)?(?:scoped\\s+)?(?:linear\\s+)?(?:rec\\s+)?(?:effect|ambient))\\s+(?!fn|fun|val|raw|final|ctl|ret)((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","end":"(?=[\\)\\{\\}\\[\\]=;\"`A-Z]| [\\r\\n]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|raw|final|ctl|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract|value|reference|open|extend)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration.type koka.keyword"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"punctuation.separator koka.special"}}},"type_app":{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\\s\\d])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},"type_content":{"patterns":[{"include":"#type_implicit_parameter"},{"include":"#type_parameter"},{"include":"#type_content_top"}]},"type_content_top":{"patterns":[{"name":"keyword.other koka.keyword.$1","match":"(forall|exists|some|with|in|iff|when|is|if)(?![\\w\\-])"},{"name":"constant.numeric.type support.type koka.type.special","match":"(\\-\u003e|::?|\\.)(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},{"include":"#type_qidentifier"},{"include":"#type_variable"},{"include":"#type_identifier"},{"include":"#type_kind"},{"name":"constant.numeric.type support.type koka.type.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\\[","end":"\\]","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"include":"#line_comment"},{"include":"#block_comment"},{"name":"constant.numeric.type support.type koka.type.special","match":"[;,]|:"}]},"type_identifier":{"name":"constant.numeric.type support.type koka.type.typecon","match":"[\\$]?[@a-z][\\w\\-@]*[\\']*"},"type_implicit_parameter":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))\\s*(?=:(?!:))","captures":{"1":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"}}},"type_kind":{"name":"constant.numeric.type support.type koka.type.kind","match":"[A-Z](?![\\w\\-])"},"type_parameter":{"match":"([\\^]\\s+)?((?:[\\?][\\?]?\\s*)?[@a-z][\\w\\-@]*[\\']*)\\s*(?=:(?!:))","captures":{"1":{"name":"keyword.other koka.keyword.borrow"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam"}}},"type_qidentifier":{"name":"entity.name.variable koka.moduleid","match":"([@a-z][\\w\\-@]*[\\']*/#?)+"},"type_variable":{"name":"markup.italic constant.numeric.type support.type koka.type.typevar","match":"([_]?[a-z][0-9]*|_[\\w\\-]*[\\']*|self)(?!\\w)"},"whitespace":{"name":"source koka.white","match":"[ \\t]+"},"wildcard":{"name":"source.wildcard koka.id.wildcard","match":"@?_[\\w\\-@]*[\\']*"}}}
|
|
1
|
+
{"name":"koka","scopeName":"source.koka","patterns":[{"include":"#line_comment"},{"include":"#line_directive"},{"include":"#block_comment"},{"include":"#string"},{"include":"#rawstring"},{"include":"#rawstring1"},{"include":"#rawstring2"},{"include":"#character"},{"include":"#characteresc"},{"include":"#type_app"},{"include":"#top_type"},{"include":"#top_type_type"},{"include":"#top_type_alias"},{"include":"#top_type_struct_args"},{"include":"#top_type_struct"},{"include":"#top_type_quantifier"},{"include":"#decl_wrong_function"},{"include":"#decl_function"},{"include":"#decl_external_import"},{"include":"#decl_external"},{"include":"#decl_toplevel_val"},{"include":"#decl_val"},{"include":"#decl_var"},{"include":"#decl_hover_expr"},{"include":"#decl_hover_implicit"},{"include":"#decl_param"},{"include":"#module_id"},{"include":"#import_id"},{"include":"#import_id2"},{"include":"#branch"},{"include":"#dot"},{"include":"#reservedid"},{"include":"#reservedcontrol"},{"include":"#reservedop"},{"include":"#libraryid"},{"include":"#externid"},{"include":"#qconstructor"},{"include":"#qoperator"},{"include":"#qidentifier"},{"include":"#identifier"},{"include":"#constructor"},{"include":"#special"},{"include":"#minus"},{"include":"#operator"},{"include":"#wildcard"},{"include":"#number"},{"include":"#inv_character"},{"include":"#whitespace"}],"repository":{"block_comment":{"name":"comment.block koka.comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block_comment"},{"name":"koka.comment.doc.pre.block","begin":"^```+.*$","end":"^```+\\s*$"},{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}},"endCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.block"}}},"branch":{"name":"keyword.other koka.id.library.$1","match":"(finally|initially)\\s*(?=-\u003e|[\\{\\(])"},"character":{"name":"string.quoted.single koka.char","match":"'[^\\'\\\\$]'","beginCaptures":{"0":{"name":"punctuation.definition.character koka.char"}},"endCaptures":{"0":{"name":"punctuation.definition.character koka.char"}}},"characteresc":{"match":"(')(\\\\([abfnrtv0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6}))(')","captures":{"1":{"name":"string.quoted.single koka.char"},"2":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"3":{"name":"string.quoted.single constant.character.escape koka.char.escape"},"4":{"name":"string.quoted.single koka.char"}}},"constructor":{"name":"entity.name.tag.css.constant.other.constructor koka.conid","match":"[@A-Z][\\w\\-@]*[\\']*"},"decl_external":{"match":"((?:(?:inline|noinline)\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?extern)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")?","captures":{"1":{"name":"keyword.declaration.function koka.keyword.extern"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_external_import":{"name":"keyword.declaration.import koka.keyword.extern","match":"(extern\\s+import)"},"decl_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun|fn|ctl|ret))\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\)|\\[\\]|\\\"[^\\s\\\"]+\\\")","captures":{"1":{"name":"keyword.declaration.function koka.keyword.fun"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"decl_hover_expr":{"name":"keyword.declaration koka.keyword.expr","match":"^expr"},"decl_hover_implicit":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))(?=\\s*[=])","captures":{"1":{"name":"entity.name.label source.typeparam koka.param.implicit"},"2":{"name":"entity.name.label source.typeparam koka.param.implicit"}}},"decl_param":{"name":"entity.name koka.id.param","match":"([a-z][\\w\\-]*[\\']*)\\s*(?=:)"},"decl_toplevel_val":{"match":"(^(?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.val"}}},"decl_val":{"match":"((?:(?:inline|noinline)\\s+)?val)\\s+((?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))?","captures":{"1":{"name":"keyword.declaration koka.keyword.val"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"entity.name koka.id.decl.val"}}},"decl_var":{"match":"(var)\\s+([a-z][\\w\\-]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))","captures":{"1":{"name":"keyword.declaration koka.keyword.var"},"2":{"name":"entity.name koka.id.decl.var"}}},"decl_wrong_function":{"match":"((?:(?:inline|noinline)\\s+)?(?:tail\\s+)?(?:(?:fip|fbip)(?:\\(\\d+\\))?\\s+)?(?:fun))\\s+((?:wrong/|default/)(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration.function"},"2":{"name":"keyword.declaration.function koka.moduleid"},"3":{"name":"entity.name.function koka.id.decl.function"}}},"dot":{"name":"source.dot koka.special.dot","match":"\\."},"externid":{"name":"keyword.control koka.id.extern.$1","match":"(?:c|cs|js|inline)\\s+(?:inline\\s+)?(?:(?:file|header-file|header-end-file)\\s+)?(?=[\\\"\\{]|r#*\")"},"identifier":{"name":"source koka.id","match":"@?[a-z][\\w\\-@]*[\\']*"},"import_id":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)(\\s+(=)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))?))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"},"6":{"name":"keyword koka.keyword.op"},"8":{"name":"entity.name.variable koka.moduleid"}}},"import_id2":{"match":"(import)(\\s+(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*))","captures":{"1":{"name":"keyword koka.keyword.import"},"3":{"name":"entity.name.variable koka.moduleid"}}},"inv_character":{"name":"invalid.string.quoted.single koka.char.invalid","match":"'([^'\\\\\\n]|\\\\(.|x..|u....|U......))'|'$|''?"},"libraryid":{"name":"keyword.control koka.id.library.$1","match":"(resume|resume-shallow|rcontext)(?![\\w\\-?'])"},"libraryop":{"name":"keyword.control koka.op.library","match":"(!)(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"line_comment":{"name":"comment.line.double-slash koka.comment.line","begin":"//","end":"$","patterns":[{"match":"`(:[^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.type"}}},{"match":"`(module [^\\`\\n]+)`","captures":{"1":{"name":"koka.comment.doc.pre.module"}}},{"match":"`+([^\\`\\n]*)`+","captures":{"1":{"name":"koka.comment.doc.pre.source"}}},{"match":"\\*([^\\*]*)\\*","captures":{"1":{"name":"koka.comment.doc.emph"}}},{"match":"_([^_]*)_","captures":{"1":{"name":"markup.italic koka.comment.doc.emph"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment koka.comment.line"}}},"line_directive":{"name":"meta.preprocessor koka.preprocessor","match":"^\\s*#.*$"},"minus":{"name":"source.operator.minus koka.op.minus","match":"-(?![$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"module_id":{"match":"(module)\\s*((interface)?)\\s*(([a-z][\\w\\-]*/)*[a-z][\\w\\-]*)","captures":{"1":{"name":"keyword.other koka.keyword.module"},"3":{"name":"keyword.other koka.keyword.interface"},"4":{"name":"entity.name.variable koka.moduleid"}}},"number":{"name":"constant.numeric koka.number","match":"-?(?:0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*(\\.[\\da-fA-F]+(?:_[\\da-fA-F]+)*)?([pP][\\-+]?\\d+)?|0[bB][01][01_]*|(?:0|[1-9]\\d*)(?:_\\d+)*(\\.\\d+(?:_\\d+)*([eE][\\-+]?\\d+)?)?)"},"operator":{"name":"source.operator koka.op","match":"[$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+"},"param_identifier":{"match":"([^]\\s+)?(\\?[\\?]?\\s*)?([@a-z][\\w\\-@]*[\\']*)\\s*(?=[:,\\)])","captures":{"1":{"name":"koka.keyword.borrow"},"2":{"name":"koka.keyword.implicit"},"3":{"name":"source koka.id.param"}}},"qconstructor":{"match":"((?:[@a-z][\\w\\-@]*/#?)+)(@?[A-Z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"entity.name.tag.css.constant.other.constructor koka.conid"}}},"qidentifier":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source koka.id"}}},"qoperator":{"match":"([\\?]?(?:[@a-z][\\w\\-@]*/#?)+)(\\([^\\n\\r\\)]+\\))","captures":{"1":{"name":"entity.name.variable koka.moduleid"},"2":{"name":"source.operator koka.op"}}},"rawstring":{"name":"string.quoted.double koka.string.raw","begin":"r\"","end":"\"","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring1":{"name":"string.quoted.double koka.string.raw","begin":"r#\"","end":"\"#","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!#)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"rawstring2":{"name":"string.quoted.double koka.string.raw","begin":"r##\"","end":"\"##","patterns":[{"name":"string.quoted.double koka.string.raw","match":"[^\"]+"},{"name":"string.quoted.double koka.string.raw","match":"\"(?!##)"},{"name":"invalid.string.quoted.double koka.string.raw","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"reservedcontrol":{"name":"keyword.control koka.keyword.control.$1","match":"(if|then|else|elif|match|return)(?![\\w\\-'])"},"reservedid":{"name":"keyword.other koka.keyword","match":"(return(?=(?:\\(|\\s+\\(?)\\w[\\w\\-]*\\s*(?:\\)\\s*(?:[^;])))|infix|infixr|infixl|type|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?|rec|struct|alias|forall|exists|some|extern|fun|fn|val|var|con|with(?:\\s+override)?|module|import|as|in|ctx|hole|pub|abstract|effect|named|(?:raw\\s+|final\\s+)ctl|break|continue|unsafe|mask(?:\\s+behind)?|handle|handler)(?![\\w\\-'])"},"reservedop":{"name":"keyword koka.keyword.op","match":"(=|=\u003e|\\-\u003e|\u003c\\-|\\||\\.|:|:=)(?![$%\u0026\\*\\+!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},"special":{"name":"punctuation.separator koka.special","match":"[{}\\(\\)\\[\\];,]"},"string":{"name":"string.quoted.double koka.string","begin":"\"","end":"\"|$","patterns":[{"name":"invalid.string.quoted.double koka.string.invalid","match":"([^\"\\\\]|\\\\.)+$"},{"name":"string.quoted.double.regular koka.string","match":"[^\"\\\\]+"},{"name":"string.quoted.double constant.character.escape koka.string.escape","match":"\\\\([abfnrtvz0\\\\\"'\\?]|x[\\da-fA-F]{2}|u[\\da-fA-F]{4}|U[\\da-fA-F]{6})"},{"name":"invalid.string.quoted.double koka.string","match":"."}],"beginCaptures":{"0":{"name":"punctuation.definition.string koka.string"}},"endCaptures":{"0":{"name":"punctuation.definition.string koka.string"}}},"top_type":{"begin":"(:(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\|\u003c\u003e]))|(where|iff|when)(?![\\w\\-])","end":"(?=[,\\)\\{\\}\\[\\]=;\"`A-Z]| |(infix|infixr|infixl|inline|noinline|fip|fbip|tail|value|reference|open|extend|rec|co|lazy|type|linear|effect|ambient|alias|extern|fn|fun|function|val|raw|final|ctl|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"constant.numeric.type support.type koka.type"},"2":{"name":"keyword koka.keyword.$2"}},"endCaptures":{"0":{"name":"invalid.keyword koka.invalid"}}},"top_type_alias":{"begin":"(alias)\\s+([a-z][\\w\\-]+)","end":"(?=[,\\)\\{\\}\\[\\];\"`A-Z]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|linear|alias|effect|ambient|extern|fn|fun|function|val|var|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"name":"keyword.other koka.keyword.op","match":"="},{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_quantifier":{"begin":"(exists|forall|some)(\\s*)(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword koka.keyword"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_struct":{"match":"((?:(?:value|ref)\\s*)?struct)\\s+((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","captures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}}},"top_type_struct_args":{"begin":"((?:(?:value|ref)\\s*)?struct)\\s+([a-z][\\w\\-]*|\\(,*\\))\\s*(\u003c)","end":"(\u003e)|(?=[\\)\\{\\}\\[\\]=;\"`]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract)(?![\\w\\-?']))","patterns":[{"include":"#type_content"}],"beginCaptures":{"1":{"name":"keyword.declaration koka.keyword.struct"},"2":{"name":"constant.numeric.type support.type koka.type.typecon"},"3":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"1":{"name":"constant.numeric.type support.type koka.type.special"},"2":{"name":"invalid.keyword koka.keyword.invalid"}}},"top_type_type":{"begin":"((?:(?:value|reference|open|extend|rec|co|lazy(?:\\s+tail)?(?:\\s+(?:fip|fbip)(?:\\(\\d+\\))?)?)?\\s*type)|(?:named\\s+)?(?:scoped\\s+)?(?:linear\\s+)?(?:rec\\s+)?(?:effect|ambient))\\s+(?!fn|fun|val|raw|final|ctl|ret)((?:[@a-z][\\w\\-@]*/#?)*)(@?[a-z][\\w\\-@]*[\\']*)","end":"(?=[\\)\\{\\}\\[\\]=;\"`A-Z]| [\\r\\n]|(infix|infixr|infixl|inline|noinline|fip|fbip|tail|type|co|lazy|rec|effect|ambient|alias|extern|fn|fun|function|val|var|raw|final|ctl|con|if|then|else|elif|match|inject|mask|named|handle|handler|return|module|import|as|pub|abstract|value|reference|open|extend)(?![\\w\\-?']))","patterns":[{"include":"#type_content_top"}],"beginCaptures":{"1":{"name":"keyword.declaration.type koka.keyword"},"2":{"name":"entity.name.variable koka.moduleid"},"3":{"name":"constant.numeric.type support.type koka.type.typecon"}},"endCaptures":{"0":{"name":"punctuation.separator koka.special"}}},"type_app":{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\\s\\d])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},"type_content":{"patterns":[{"include":"#type_implicit_parameter"},{"include":"#type_parameter"},{"include":"#type_content_top"}]},"type_content_top":{"patterns":[{"name":"keyword.other koka.keyword.$1","match":"(forall|exists|some|with|in|iff|when|is|if)(?![\\w\\-])"},{"name":"constant.numeric.type support.type koka.type.special","match":"(\\-\u003e|::?|\\.)(?![$%\u0026\\*\\+@!\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e])"},{"include":"#type_qidentifier"},{"include":"#type_variable"},{"include":"#type_identifier"},{"include":"#type_kind"},{"name":"constant.numeric.type support.type koka.type.parens","begin":"\\(","end":"\\)","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\u003c(?![%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|])","end":"\u003e|\\n| ","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"name":"constant.numeric.type support.type koka.type.special","begin":"\\[","end":"\\]","patterns":[{"include":"#type_content"}],"beginCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}},"endCaptures":{"0":{"name":"constant.numeric.type support.type koka.type.special"}}},{"include":"#line_comment"},{"include":"#block_comment"},{"name":"constant.numeric.type support.type koka.type.special","match":"[;,]|:"}]},"type_identifier":{"name":"constant.numeric.type support.type koka.type.typecon","match":"[\\$]?[@a-z][\\w\\-@]*[\\']*"},"type_implicit_parameter":{"match":"(\\?(?:[@a-z][\\w\\-@]*/#?)*)([@a-z][\\w\\-@]*[\\']*|\\([$%\u0026\\*\\+@!/\\\\\\^~=\\.:\\-\\?\\|\u003c\u003e]+\\))\\s*(?=:(?!:))","captures":{"1":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam.implicit"}}},"type_kind":{"name":"constant.numeric.type support.type koka.type.kind","match":"[A-Z](?![\\w\\-])"},"type_parameter":{"match":"([\\^]\\s+)?((?:[\\?][\\?]?\\s*)?[@a-z][\\w\\-@]*[\\']*)\\s*(?=:(?!:))","captures":{"1":{"name":"keyword.other koka.keyword.borrow"},"2":{"name":"entity.name.label source.typeparam koka.type.typeparam"}}},"type_qidentifier":{"name":"entity.name.variable koka.moduleid","match":"([@a-z][\\w\\-@]*[\\']*/#?)+"},"type_variable":{"name":"markup.italic constant.numeric.type support.type koka.type.typevar","match":"([_]?[a-z][0-9]*|_[\\w\\-]*[\\']*|self)(?!\\w)"},"whitespace":{"name":"source koka.white","match":"[ \\t]+"},"wildcard":{"name":"source.wildcard koka.id.wildcard","match":"@?_[\\w\\-@]*[\\']*"}}}
|