@nuxt/scripts 0.4.0 → 0.4.2
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.
- package/README.md +4 -8
- package/dist/client/200.html +65 -51
- package/dist/client/404.html +65 -51
- package/dist/client/_nuxt/{CDJL3WWm.js → B3g-KkBK.js} +1 -1
- package/dist/client/_nuxt/{Di3qjVs2.js → B4ACM-c0.js} +1 -1
- package/dist/client/_nuxt/B7rNE5kf.js +1 -0
- package/dist/client/_nuxt/BBSnVM_c.js +31 -0
- package/dist/client/_nuxt/BEjL32p1.js +5754 -0
- package/dist/client/_nuxt/{CCsrmkFc.js → BJEDUQYt.js} +1 -1
- package/dist/client/_nuxt/BcF9sHHc.js +6 -0
- package/dist/client/_nuxt/{BGq4KZyx.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/BwXNTs7T.js +1 -0
- package/dist/client/_nuxt/Bx89rGXK.js +1 -0
- package/dist/client/_nuxt/{V_y36BGi.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/{CX2EUjC8.js → C3qUB5O8.js} +7 -7
- package/dist/client/_nuxt/CGmujMTu.js +1 -0
- package/dist/client/_nuxt/CO5hpdkB.js +1 -0
- package/dist/client/_nuxt/CiRxTSAc.js +1 -0
- package/dist/client/_nuxt/CpAANOdC.js +1 -0
- package/dist/client/_nuxt/DAfrLhwG.js +1 -0
- package/dist/client/_nuxt/DGMFlOLs.js +1 -0
- package/dist/client/_nuxt/DKb4lQY2.js +1 -0
- package/dist/client/_nuxt/{DIr-ordK.js → DKlGn9uv.js} +1 -1
- package/dist/client/_nuxt/Dit6kIrv.js +11 -0
- package/dist/client/_nuxt/FJDVp-XM.js +1 -0
- package/dist/client/_nuxt/KPqz0Sb3.js +1 -0
- package/dist/client/_nuxt/MS3qTAOR.js +1 -0
- package/dist/client/_nuxt/P5f3PASf.js +40 -0
- package/dist/client/_nuxt/{CFYSkdJN.js → PGJIGHGk.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/f37c599d-d78f-4a74-8eda-256234cbc028.json +1 -0
- package/dist/client/_nuxt/{C7Ygk604.js → iP9mcxdl.js} +1 -1
- package/dist/client/index.html +65 -51
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/registry.d.mts +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.mjs +1 -1
- package/dist/runtime/components/ScriptGoogleMaps.vue +2 -2
- package/dist/runtime/components/ScriptLemonSqueezyButton.vue +2 -3
- package/dist/runtime/components/ScriptStripePricingTable.vue +1 -1
- package/dist/runtime/components/ScriptVimeoPlayer.vue +45 -37
- package/dist/runtime/components/ScriptYouTubePlayer.vue +1 -1
- package/dist/runtime/composables/useAnalyticsPageEvent.d.ts +4 -1
- package/dist/runtime/composables/useElementScriptTrigger.d.ts +1 -1
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +19 -2
- package/dist/runtime/registry/fathom-analytics.d.ts +31 -2
- package/dist/runtime/registry/google-analytics.d.ts +11 -2
- package/dist/runtime/registry/google-analytics.mjs +1 -1
- package/dist/runtime/registry/google-maps.d.ts +21 -9
- package/dist/runtime/registry/google-tag-manager.d.ts +8 -2
- package/dist/runtime/registry/hotjar.d.ts +10 -2
- package/dist/runtime/registry/intercom.d.ts +23 -3
- package/dist/runtime/registry/lemon-squeezy.d.ts +3 -1
- package/dist/runtime/registry/matomo-analytics.d.ts +14 -2
- package/dist/runtime/registry/meta-pixel.d.ts +8 -2
- package/dist/runtime/registry/npm.d.ts +14 -2
- package/dist/runtime/registry/plausible-analytics.d.ts +10 -2
- package/dist/runtime/registry/segment.d.ts +10 -2
- package/dist/runtime/registry/stripe.d.ts +8 -2
- package/dist/runtime/registry/vimeo-player.d.ts +6 -3
- package/dist/runtime/registry/x-pixel.d.ts +10 -2
- package/dist/runtime/registry/youtube-player.d.ts +6 -2
- package/dist/runtime/types.d.ts +4 -2
- package/dist/runtime/utils.d.ts +4 -2
- package/package.json +12 -11
- package/dist/client/_nuxt/CudBhkk3.js +0 -1
- package/dist/client/_nuxt/DbUJKcwL.js +0 -31
- package/dist/client/_nuxt/Dszwcx0o.js +0 -1
- package/dist/client/_nuxt/DtT2Dbx_.js +0 -6
- package/dist/client/_nuxt/builds/meta/2a8bbe8d-00a2-43ea-ae62-2d603f7034d4.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./CbViG2Xw.js";import c from"./C5gCGmDW.js";import n from"./B2DkETJQ.js";import i from"./RCJZWN-0.js";import t from"./BF6G6X0H.js";import a from"./Bg0wAK5a.js";import s from"./BOnd8D4O.js";import o from"./CbYhyuC0.js";import l from"./DISxKEhY.js";import d from"./DvyTQcux.js";import u from"./DNR26wTC.js";import r from"./BaNxgKSR.js";import m from"./RE3ujT-k.js";import p from"./DS9ZWoKD.js";import b from"./BAMIS8DD.js";import k from"./wChcbJ1V.js";import $ from"./DAGYewaG.js";import g from"./ClXEvkw9.js";import h from"./Dch3xQiY.js";import f from"./CupVZNk8.js";import N from"./CsyrCbsw.js";import v from"./D_T9yQUo.js";import B from"./BIxS-Weu.js";import j from"./Du6_OKDb.js";import C from"./B9S9BZZh.js";import y from"./DHmGyzbM.js";import x from"./RqY_Nz63.js";import q from"./Dwo2i-71.js";import w from"./DwuVtWc2.js";import S from"./BXfENWL6.js";import W from"./CarfVElc.js";import A from"./DGxQkqYo.js";import T from"./CMDmr8et.js";import I from"./vMsNTMhM.js";import _ from"./BeX7Iu5M.js";import O from"./BZfs-ost.js";import z from"./DbK06e1c.js";import P from"./Dez-Qvcc.js";import R from"./BT9ZzGyQ.js";import E from"./DC8MraHL.js";import G from"./CsYA0RN7.js";import"./DouzTJIq.js";import"./BVGdgKAv.js";const M=Object.freeze({displayName:"AsciiDoc",fileTypes:["ad","asc","adoc","asciidoc","adoc.txt"],name:"asciidoc",patterns:[{include:"#comment"},{include:"#callout-list-item"},{include:"#titles"},{include:"#attribute-entry"},{include:"#blocks"},{include:"#block-title"},{include:"#tables"},{include:"#horizontal-rule"},{include:"#list"},{include:"#inlines"},{include:"#block-attribute"},{include:"#line-break"}],repository:{"admonition-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|====)$|^\\p{Blank}*$)",name:"markup.admonition.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(={4,})\\s*$",comment:"example block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]}]},{begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\\:\\p{Blank}+",captures:{1:{name:"entity.name.function.asciidoc"}},end:"^\\p{Blank}*$",name:"markup.admonition.asciidoc",patterns:[{include:"#inlines"}]}]},"anchor-macro":{patterns:[{captures:{1:{name:"support.constant.asciidoc"},2:{name:"markup.blockid.asciidoc"},3:{name:"string.unquoted.asciidoc"},4:{name:"support.constant.asciidoc"}},match:"(?<!\\\\)(?:(\\[{2})([\\p{Alpha}:_][\\p{Word}:.-]*)(?:,\\p{Blank}*(\\S.*?))?(\\]{2}))",name:"markup.other.anchor.asciidoc"},{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.blockid.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(anchor):(\\S+)\\[(.*?[^\\\\])?\\]",name:"markup.other.anchor.asciidoc"}]},"attribute-entry":{patterns:[{begin:"^(:)(!?\\w.*?)(:)(\\p{Blank}+.+\\p{Blank}(?:\\+|\\\\))$",beginCaptures:{1:{name:"punctuation.separator.attribute-entry.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"},3:{name:"punctuation.separator.attribute-entry.asciidoc"},4:{name:"string.unquoted.attribute-value.asciidoc",patterns:[{include:"#inlines"},{include:"#hard-break-backslash"},{include:"#line-break"},{include:"#line-break-backslash"}]}},contentName:"string.unquoted.attribute-value.asciidoc",end:"^\\p{Blank}+.+$(?<!\\+|\\\\)|^\\p{Blank}*$",endCaptures:{0:{name:"string.unquoted.attribute-value.asciidoc"}},name:"meta.definition.attribute-entry.asciidoc",patterns:[{include:"#inlines"},{include:"#hard-break-backslash"},{include:"#line-break"},{include:"#line-break-backslash"}]},{captures:{1:{name:"punctuation.separator.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"},3:{name:"punctuation.separator.asciidoc"},4:{name:"string.unquoted.attribute-value.asciidoc",patterns:[{include:"#inlines"},{include:"#line-break"}]}},match:"^(:)(!?\\w.*?)(:)(\\p{Blank}+(.*))?$",name:"meta.definition.attribute-entry.asciidoc"}]},"attribute-reference":{patterns:[{captures:{2:{name:"entity.name.function.asciidoc"},3:{name:"punctuation.separator.asciidoc"},4:{name:"support.constant.attribute-name.asciidoc"},6:{name:"punctuation.separator.asciidoc"},7:{name:"string.unquoted.attribute-value.asciidoc"}},match:"(?<!\\\\)(\\{)(set|counter2?)(:)([\\p{Alnum}\\-_!]+)((:)(.*?))?(?<!\\\\)(\\})",name:"markup.substitution.attribute-reference.asciidoc"},{match:"(?<!\\\\)(\\{)(\\w+(?:[\\-]\\w+)*)(?<!\\\\)(\\})",name:"markup.substitution.attribute-reference.asciidoc"}]},"bibliography-anchor":{patterns:[{captures:{1:{name:"support.constant.asciidoc"},2:{name:"markup.biblioref.asciidoc"},3:{name:"support.constant.asciidoc"}},match:"(?<!\\\\)(\\[{3})([\\p{Word}:][\\p{Word}:.-]*?)(\\]{3})",name:"bibliography-anchor.asciidoc"}]},"bibtex-macro":{patterns:[{begin:"(?<!\\\\)(citenp:)([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.bibtex.asciidoc"}]},"block-attribute":{patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:`^\\[(|\\p{Blank}*[\\p{Word}\\{,.#"'%].*)\\]$`,name:"markup.heading.block-attribute.asciidoc"}]},"block-attribute-inner":{patterns:[{comment:"separators",match:"([,.#%])",name:"punctuation.separator.asciidoc"},{captures:{0:{name:"markup.meta.attribute-list.asciidoc",patterns:[{include:"#keywords"}]}},comment:"blockname",match:"(?<=\\[)([^\\[\\],.#%=]+)"},{captures:{0:{patterns:[{include:"#attribute-reference"}]}},comment:"attributes",match:`(?<=\\{|,|.|#|"|'|%)([^\\],.#%]+)`,name:"markup.meta.attribute-list.asciidoc"}]},"block-callout":{patterns:[{captures:{2:{name:"constant.other.symbol.asciidoc"},4:{name:"constant.numeric.asciidoc"},5:{name:"constant.other.symbol.asciidoc"}},match:"(?:(?:\\/\\/|#|--|;;) ?)?( )?(?<!\\\\)(<)!?(--|)(\\d+)\\3(>)(?=(?: ?<!?\\3\\d+\\3>)*$)",name:"callout.source.code.asciidoc"}]},"block-title":{patterns:[{begin:"^\\.([^\\p{Blank}.].*)",captures:{1:{name:"markup.heading.blocktitle.asciidoc"}},end:"$"}]},blocks:{patterns:[{include:"#front-matter-block"},{include:"#comment-paragraph"},{include:"#admonition-paragraph"},{include:"#quote-paragraph"},{include:"#listing-paragraph"},{include:"#source-paragraphs"},{include:"#passthrough-paragraph"},{include:"#example-paragraph"},{include:"#sidebar-paragraph"},{include:"#literal-paragraph"},{include:"#open-block"}]},"callout-list-item":{patterns:[{captures:{1:{name:"constant.other.symbol.asciidoc"},2:{name:"constant.numeric.asciidoc"},3:{name:"constant.other.symbol.asciidoc"},4:{patterns:[{include:"#inlines"}]}},match:"^(<)(\\d+)(>)\\p{Blank}+(.*)$",name:"callout.asciidoc"}]},characters:{patterns:[{captures:{1:{name:"constant.character.asciidoc"},3:{name:"constant.character.asciidoc"}},match:"(?<!\\\\)(&)(\\S+?)(;)",name:"markup.character-reference.asciidoc"}]},comment:{patterns:[{begin:"^(/{4,})$",end:"^\\1$",name:"comment.block.asciidoc",patterns:[{include:"#inlines"}]},{match:"^/{2}([^/].*)?$",name:"comment.inline.asciidoc"}]},"comment-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(comment)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--)$|^\\p{Blank}*$)",name:"comment.block.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(comment)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$",patterns:[{include:"#inlines"},{include:"#list"}]},{include:"#inlines"}]}]},emphasis:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.italic.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[(?:[^\\]]+?)\\])?((__)((?!_).+?)(__))",name:"markup.emphasis.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.italic.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?!_{4,}\\s*$)(?<=^|[^\\p{Word};:])(\\[(?:[^\\]]+?)\\])?((_)(\\S|\\S.*?\\S)(_))(?!\\p{Word})",name:"markup.emphasis.constrained.asciidoc"}]},"example-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(example)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|====)$|^\\p{Blank}*$)",name:"markup.block.example.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(example)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(={4,})$",comment:"example block",end:"^(\\1)$",patterns:[{include:"$self"}]},{begin:"^(-{2})$",comment:"open block",end:"^(\\1)$",patterns:[{include:"$self"}]},{include:"#inlines"}]},{begin:"^(={4,})$",end:"^(\\1)$",name:"markup.block.example.asciidoc",patterns:[{include:"$self"}]}]},"footnote-macro":{patterns:[{begin:"(?<!\\\\)footnote(?:(ref):|:([\\w-]+)?)\\[(?:|(.*?[^\\\\]))\\]",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.other.footnote.asciidoc",patterns:[{include:"#inlines"}]}]},"front-matter-block":{patterns:[{begin:"\\A(-{3}$)",end:"^(\\1)$",name:"markup.block.front-matter.asciidoc",patterns:[{include:"source.yaml"}]}]},"general-block-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"punctuation.separator.asciidoc"},3:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},4:{name:"punctuation.separator.asciidoc"},5:{name:"string.unquoted.asciidoc",patterns:[{include:"#attribute-reference"}]},6:{name:"punctuation.separator.asciidoc"}},match:"^(\\p{Word}+)(::)(\\S*?)(\\[)((?:\\\\\\]|[^\\]])*?)(\\])$",name:"markup.macro.block.general.asciidoc"}]},"hard-break-backslash":{patterns:[{captures:{1:{name:"constant.other.symbol.hard-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\+ \\\\)$"}]},"horizontal-rule":{patterns:[{match:"^(?:'|<){3,}$|^ {0,3}([-\\*'])( *)\\1\\2\\1$",name:"constant.other.symbol.horizontal-rule.asciidoc"}]},"image-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(image|icon):([^:\\[][^\\[]*)\\[((?:\\\\\\]|[^\\]])*?)\\]",name:"markup.macro.image.asciidoc"}]},"include-directive":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"punctuation.separator.asciidoc"},3:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},4:{name:"punctuation.separator.asciidoc"},5:{name:"string.unquoted.asciidoc",patterns:[{include:"#attribute-reference"}]},6:{name:"punctuation.separator.asciidoc"}},match:"^(include)(::)([^\\[]+)(\\[)(.*?)(\\])$"}]},inlines:{patterns:[{include:"#typographic-quotes"},{include:"#strong"},{include:"#monospace"},{include:"#emphasis"},{include:"#superscript"},{include:"#subscript"},{include:"#mark"},{include:"#general-block-macro"},{include:"#anchor-macro"},{include:"#footnote-macro"},{include:"#image-macro"},{include:"#kbd-macro"},{include:"#link-macro"},{include:"#stem-macro"},{include:"#menu-macro"},{include:"#passthrough-macro"},{include:"#xref-macro"},{include:"#attribute-reference"},{include:"#characters"},{include:"#bibtex-macro"},{include:"#bibliography-anchor"}]},"kbd-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(kbd|btn):(\\[)((?:\\\\\\]|[^\\]])+?)(\\])",name:"markup.macro.kbd.asciidoc"}]},keywords:{patterns:[{comment:"Admonition",match:"(NOTE|TIP|IMPORTANT|WARNING|CAUTION)",name:"entity.name.function.asciidoc"},{comment:"Paragraph or verbatim",match:"(comment|example|literal|listing|normal|pass|quote|sidebar|source|verse|abstract|partintro)",name:"entity.name.function.asciidoc"},{comment:"Diagram",match:"(actdiag|blockdiag|ditaa|graphviz|meme|mermaid|nwdiag|packetdiag|pikchr|plantuml|rackdiag|seqdiag|shaape|wavedrom)",name:"entity.name.function.asciidoc"},{comment:"Others",match:"(sect[1-4]|preface|colophon|dedication|glossary|bibliography|synopsis|appendix|index|normal|partintro|music|latex|stem)",name:"entity.name.function.asciidoc"}]},"line-break":{patterns:[{captures:{1:{name:"variable.line-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\+)$"}]},"line-break-backslash":{patterns:[{captures:{1:{name:"variable.line-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\\\)$"}]},"link-macro":{patterns:[{captures:{1:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},2:{name:"string.unquoted.asciidoc"}},match:"(?:^|<|[\\s>\\(\\)\\[\\];])((?<!\\\\)(?:https?|file|ftp|irc)://[^\\s\\[\\]<]*[^\\s.,\\[\\]<\\)])(?:\\[((?:\\\\\\]|[^\\]])*?)\\])?",name:"markup.other.url.asciidoc"},{captures:{1:{name:"markup.substitution.attribute-reference.asciidoc"},2:{name:"string.unquoted.asciidoc"}},match:"(?:^|<|[\\p{Blank}>\\(\\)\\[\\];])((?<!\\\\)\\{uri-\\w+(?:[\\-]\\w+)*(?<!\\\\)\\})(?:\\[((?:\\\\\\]|[^\\]])*?)\\])",name:"markup.other.url.asciidoc"},{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(link|mailto):([^\\s\\[]+)(?:\\[((?:\\\\\\]|[^\\]])*?)\\])",name:"markup.other.url.asciidoc"},{match:"\\p{Word}[\\p{Word}.%+-]*(@)\\p{Alnum}[\\p{Alnum}.-]*(\\.)\\p{Alpha}{2,4}\\b",name:"markup.link.email.asciidoc"}]},list:{patterns:[{captures:{1:{name:"markup.list.bullet.asciidoc"},2:{name:"markup.todo.box.asciidoc"}},match:"^\\s*(-)\\p{Blank}(\\[[\\p{Blank}\\*x]\\])(?=\\p{Blank})",name:"markup.todo.asciidoc"},{captures:{1:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(-|\\*{1,5}|\\u2022{1,5})(?=\\p{Blank})",name:"markup.list.asciidoc"},{captures:{1:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(\\.{1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))(?=\\p{Blank})",name:"markup.list.asciidoc"},{captures:{1:{patterns:[{include:"#link-macro"},{include:"#attribute-reference"}]},2:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(.*?\\S)(:{2,4}|;;)($|\\p{Blank}+)",name:"markup.heading.list.asciidoc"}]},"listing-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(listing)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--)$|^\\p{Blank}*$)",name:"markup.block.listing.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(listing)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",end:"^(\\1)$"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$"},{include:"#inlines"}]}]},"literal-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(literal)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.)$|^\\p{Blank}*$)",name:"markup.block.literal.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(literal)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\.{4,})$",comment:"literal block",end:"^(\\1)$"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$"},{include:"#inlines"}]},{begin:"^(\\.{4,})$",end:"^(\\1)$",name:"markup.block.literal.asciidoc"}]},mark:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.mark.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[[^\\]]+?\\])((##)(.+?)(##))",name:"markup.mark.unconstrained.asciidoc"},{captures:{1:{name:"markup.highlight.asciidoc"},2:{name:"punctuation.definition.asciidoc"},4:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)((##)(.+?)(##))",name:"markup.mark.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.mark.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}#])(\\[[^\\]]+?\\])((#)(\\S|\\S.*?\\S)(#)(?!\\p{Word}))",name:"markup.mark.constrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.highlight.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}#])(\\[[^\\]]+?\\])?((#)(\\S|\\S.*?\\S)(#)(?!\\p{Word}))",name:"markup.mark.constrained.asciidoc"}]},"menu-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(menu):(\\p{Word}|\\p{Word}.*?\\S)\\[\\p{Blank}*(.+?)?\\]",name:"markup.other.menu.asciidoc"}]},monospace:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.raw.monospace.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((``)(.+?)(``))",name:"markup.monospace.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.raw.monospace.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}\"'`])(\\[.+?\\])?((`)(\\S|\\S.*?\\S)(`))(?![\\p{Word}\"'`])",name:"markup.monospace.constrained.asciidoc"}]},"open-block":{patterns:[{begin:"^(-{2})$",beginCaptures:{1:{name:"constant.other.symbol.asciidoc"}},end:"^(\\1)$",endCaptures:{1:{name:"constant.other.symbol.asciidoc"}},name:"markup.block.open.asciidoc",patterns:[{include:"$self"}]}]},"passthrough-macro":{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"support.constant.asciidoc"},4:{name:"string.unquoted.asciidoc",patterns:[{include:"text.html.basic"}]},5:{name:"support.constant.asciidoc"}},match:"(?:(?<!\\\\)(\\[([^\\]]+?)\\]))?(?:\\\\{0,2})(?<delim>\\+{2,3}|\\${2})(.*?)(\\k<delim>)",name:"markup.macro.inline.passthrough.asciidoc"},{begin:"(?<!\\\\)(pass:)([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.passthrough.asciidoc",patterns:[{include:"text.html.basic"}]}]},"passthrough-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(pass)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\+\\+)$|^\\p{Blank}*$)",name:"markup.block.passthrough.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(pass)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\+{4,})\\s*$",comment:"passthrough block",end:"(?<=\\1)",patterns:[{include:"text.html.basic"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)",patterns:[{include:"text.html.basic"}]}]},{begin:"(^\\+{4,}$)",end:"\\1",name:"markup.block.passthrough.asciidoc",patterns:[{include:"text.html.basic"}]}]},"quote-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(quote|verse)((?:,|#|\\.|%)([^,\\]]+))*\\]$)))",end:'((?<=____|""|--)$|^\\p{Blank}*$)',name:"markup.italic.quotes.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(quote|verse)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{include:"#inlines"},{begin:"^([_]{4,})\\s*$",comment:"quotes block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:'^("{2})\\s*$',comment:"air quotes",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)$",patterns:[{include:"#inlines"},{include:"#list"}]}]},{begin:'^("")$',end:"^\\1$",name:"markup.italic.quotes.asciidoc",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^\\p{Blank}*(>) ",end:"^\\p{Blank}*?$",name:"markup.italic.quotes.asciidoc",patterns:[{include:"#inlines"},{include:"#list"}]}]},"sidebar-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(sidebar)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\*\\*\\*\\*)$|^\\p{Blank}*$)",name:"markup.block.sidebar.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(sidebar)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\*{4,})$",comment:"sidebar block",end:"^(\\1)$",patterns:[{include:"$self"}]},{begin:"^(-{2})$",comment:"open block",end:"^(\\1)$",patterns:[{include:"$self"}]},{include:"#inlines"}]},{begin:"^(\\*{4,})$",end:"^(\\1)$",name:"markup.block.sidebar.asciidoc",patterns:[{include:"$self"}]}]},"source-asciidoctor":{patterns:[{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(c))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.c.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(c))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(clojure))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.clojure.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(clojure))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(coffee-?(script)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.coffee.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(coffee-?(script)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(c(pp|\\+\\+)))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.cpp.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(c(pp|\\+\\+)))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(css))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(css))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(cs(harp)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.cs.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(cs(harp)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(diff|patch|rej))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.diff.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(diff|patch|rej))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(docker(file)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.dockerfile.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(docker(file)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(elixir))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.elixir.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(elixir))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(elm))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.elm.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(elm))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(erlang))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.erlang.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(erlang))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(go(lang)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.go.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(go(lang)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(groovy))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.groovy.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(groovy))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(haskell))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.haskell.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(haskell))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(html))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.basic.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(html))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(java))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.java.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(java))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(javascript|js))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.js.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(javascript|js))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(json))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.json.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(json))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(jsx))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.js.jsx.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(jsx))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(julia))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.julia.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(julia))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(kotlin|kts?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.kotlin.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(kotlin|kts?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(less))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.less.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(less))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(make(file)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.makefile.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(make(file)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(markdown|mdown|md))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.gfm.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(markdown|mdown|md))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(mustache))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.mustache.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(mustache))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(objc|objective-c))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.objc.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(objc|objective-c))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ocaml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ocaml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ocaml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.perl.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl6))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.perl6.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl6))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(php))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.php.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(php))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(properties))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.asciidoc.properties.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(properties))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(py(thon)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.python.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(py(thon)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(r))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.r.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(r))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ruby|rb))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ruby.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ruby|rb))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(rust|rs))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.rust.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(rust|rs))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sass))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.sass.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sass))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(scala))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.scala.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(scala))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(scss))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.scss.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(scss))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sh|bash|shell))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.shell.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sh|bash|shell))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sql))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.sql.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sql))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(swift))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.swift.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(swift))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(toml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.toml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(toml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(typescript|ts))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ts.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(typescript|ts))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(xml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.xml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(xml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ya?ml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.yaml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ya?ml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]}]},{begin:"(?=(?>(?:^\\[(source)((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]}]},{begin:"^(-{4,})\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},end:"^(\\1)$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]}]},"source-markdown":{patterns:[{begin:"^\\s*(`{3,})\\s*(?i:(c))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.c",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.c.asciidoc",patterns:[{include:"#block-callout"},{include:"source.c"}]},{begin:"^\\s*(`{3,})\\s*(?i:(clojure))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.clojure",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.clojure.asciidoc",patterns:[{include:"#block-callout"},{include:"source.clojure"}]},{begin:"^\\s*(`{3,})\\s*(?i:(coffee-?(script)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.coffee",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.coffee.asciidoc",patterns:[{include:"#block-callout"},{include:"source.coffee"}]},{begin:"^\\s*(`{3,})\\s*(?i:(c(pp|\\+\\+)))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.cpp",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.cpp.asciidoc",patterns:[{include:"#block-callout"},{include:"source.cpp"}]},{begin:"^\\s*(`{3,})\\s*(?i:(css))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css"}]},{begin:"^\\s*(`{3,})\\s*(?i:(cs(harp)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.cs",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.cs.asciidoc",patterns:[{include:"#block-callout"},{include:"source.cs"}]},{begin:"^\\s*(`{3,})\\s*(?i:(diff|patch|rej))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.diff",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.diff.asciidoc",patterns:[{include:"#block-callout"},{include:"source.diff"}]},{begin:"^\\s*(`{3,})\\s*(?i:(docker(file)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.dockerfile",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.dockerfile.asciidoc",patterns:[{include:"#block-callout"},{include:"source.dockerfile"}]},{begin:"^\\s*(`{3,})\\s*(?i:(elixir))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.elixir",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.elixir.asciidoc",patterns:[{include:"#block-callout"},{include:"source.elixir"}]},{begin:"^\\s*(`{3,})\\s*(?i:(elm))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.elm",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.elm.asciidoc",patterns:[{include:"#block-callout"},{include:"source.elm"}]},{begin:"^\\s*(`{3,})\\s*(?i:(erlang))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.erlang",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.erlang.asciidoc",patterns:[{include:"#block-callout"},{include:"source.erlang"}]},{begin:"^\\s*(`{3,})\\s*(?i:(go(lang)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.go",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.go.asciidoc",patterns:[{include:"#block-callout"},{include:"source.go"}]},{begin:"^\\s*(`{3,})\\s*(?i:(groovy))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.groovy",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.groovy.asciidoc",patterns:[{include:"#block-callout"},{include:"source.groovy"}]},{begin:"^\\s*(`{3,})\\s*(?i:(haskell))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.haskell",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.haskell.asciidoc",patterns:[{include:"#block-callout"},{include:"source.haskell"}]},{begin:"^\\s*(`{3,})\\s*(?i:(html))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.basic",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.basic.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.basic"}]},{begin:"^\\s*(`{3,})\\s*(?i:(java))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.java",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.java.asciidoc",patterns:[{include:"#block-callout"},{include:"source.java"}]},{begin:"^\\s*(`{3,})\\s*(?i:(javascript|js))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.js",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.js.asciidoc",patterns:[{include:"#block-callout"},{include:"source.js"}]},{begin:"^\\s*(`{3,})\\s*(?i:(json))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.json",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.json.asciidoc",patterns:[{include:"#block-callout"},{include:"source.json"}]},{begin:"^\\s*(`{3,})\\s*(?i:(jsx))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.js.jsx",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.js.jsx.asciidoc",patterns:[{include:"#block-callout"},{include:"source.js.jsx"}]},{begin:"^\\s*(`{3,})\\s*(?i:(julia))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.julia",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.julia.asciidoc",patterns:[{include:"#block-callout"},{include:"source.julia"}]},{begin:"^\\s*(`{3,})\\s*(?i:(kotlin|kts?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.kotlin",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.kotlin.asciidoc",patterns:[{include:"#block-callout"},{include:"source.kotlin"}]},{begin:"^\\s*(`{3,})\\s*(?i:(less))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css.less",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.less.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css.less"}]},{begin:"^\\s*(`{3,})\\s*(?i:(make(file)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.makefile",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.makefile.asciidoc",patterns:[{include:"#block-callout"},{include:"source.makefile"}]},{begin:"^\\s*(`{3,})\\s*(?i:(markdown|mdown|md))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.gfm",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.gfm.asciidoc",patterns:[{include:"#block-callout"},{include:"source.gfm"}]},{begin:"^\\s*(`{3,})\\s*(?i:(mustache))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.mustache",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.mustache.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.mustache"}]},{begin:"^\\s*(`{3,})\\s*(?i:(objc|objective-c))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.objc",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.objc.asciidoc",patterns:[{include:"#block-callout"},{include:"source.objc"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ocaml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ocaml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ocaml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ocaml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(perl))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.perl",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.perl.asciidoc",patterns:[{include:"#block-callout"},{include:"source.perl"}]},{begin:"^\\s*(`{3,})\\s*(?i:(perl6))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.perl6",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.perl6.asciidoc",patterns:[{include:"#block-callout"},{include:"source.perl6"}]},{begin:"^\\s*(`{3,})\\s*(?i:(php))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.php",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.php.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.php"}]},{begin:"^\\s*(`{3,})\\s*(?i:(properties))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.asciidoc.properties",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.asciidoc.properties.asciidoc",patterns:[{include:"#block-callout"},{include:"source.asciidoc.properties"}]},{begin:"^\\s*(`{3,})\\s*(?i:(py(thon)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.python",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.python.asciidoc",patterns:[{include:"#block-callout"},{include:"source.python"}]},{begin:"^\\s*(`{3,})\\s*(?i:(r))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.r",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.r.asciidoc",patterns:[{include:"#block-callout"},{include:"source.r"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ruby|rb))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ruby",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ruby.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ruby"}]},{begin:"^\\s*(`{3,})\\s*(?i:(rust|rs))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.rust",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.rust.asciidoc",patterns:[{include:"#block-callout"},{include:"source.rust"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sass))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.sass",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.sass.asciidoc",patterns:[{include:"#block-callout"},{include:"source.sass"}]},{begin:"^\\s*(`{3,})\\s*(?i:(scala))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.scala",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.scala.asciidoc",patterns:[{include:"#block-callout"},{include:"source.scala"}]},{begin:"^\\s*(`{3,})\\s*(?i:(scss))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css.scss",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.scss.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css.scss"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sh|bash|shell))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.shell",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.shell.asciidoc",patterns:[{include:"#block-callout"},{include:"source.shell"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sql))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.sql",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.sql.asciidoc",patterns:[{include:"#block-callout"},{include:"source.sql"}]},{begin:"^\\s*(`{3,})\\s*(?i:(swift))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.swift",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.swift.asciidoc",patterns:[{include:"#block-callout"},{include:"source.swift"}]},{begin:"^\\s*(`{3,})\\s*(?i:(toml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.toml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.toml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.toml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(typescript|ts))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ts",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ts.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ts"}]},{begin:"^\\s*(`{3,})\\s*(?i:(xml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.xml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.xml.asciidoc",patterns:[{include:"#block-callout"},{include:"text.xml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ya?ml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.yaml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.yaml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.yaml"}]},{begin:"^\\s*(`{3,}).*$",beginCaptures:{0:{name:"support.asciidoc"}},end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"}]}]},"source-paragraphs":{patterns:[{include:"#source-asciidoctor"},{include:"#source-markdown"}]},"stem-macro":{patterns:[{begin:"(?<!\\\\)(stem|(?:latex|ascii)math):([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.stem.asciidoc"}]},strong:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.bold.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[.+?\\])?((\\*\\*)(.+?)(\\*\\*))",name:"markup.strong.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.bold.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}\\*])(\\[.+?\\])?((\\*)(\\S|\\S.*?\\S)(\\*)(?!\\p{Word}))",name:"markup.strong.constrained.asciidoc"}]},subscript:{patterns:[{captures:{1:{name:"markup.meta.sub.attribute-list.asciidoc"},2:{name:"markup.sub.subscript.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((~)(\\S+?)(~))",name:"markup.subscript.asciidoc"}]},superscript:{patterns:[{captures:{1:{name:"markup.meta.super.attribute-list.asciidoc"},2:{name:"markup.super.superscript.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((\\^)(\\S+?)(\\^))",name:"markup.superscript.asciidoc"}]},"table-csv":{patterns:[{begin:"^(,===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.csv.asciidoc",patterns:[{include:"text.csv"},{captures:{0:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator",match:","},{include:"#general-block-macro"}]}]},"table-dsv":{patterns:[{begin:"^(:===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.dsv.asciidoc",patterns:[{captures:{0:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator",match:":"},{include:"#general-block-macro"}]}]},"table-nested":{patterns:[{begin:"^(!===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"markup.table.content.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.nested.asciidoc",patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator and attributes",match:"(^|[^\\p{Blank}\\\\]*)(?<!\\\\)(!)"},{include:"#tables-includes"}]}]},"table-psv":{patterns:[{begin:"^(\\|===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"markup.table.content.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.asciidoc",patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator and attributes",match:"(^|[^\\p{Blank}\\\\]*)(?<!\\\\)(\\|)"},{include:"#tables-includes"}]}]},tables:{patterns:[{include:"#table-psv"},{include:"#table-nested"},{include:"#table-csv"},{include:"#table-dsv"}]},"tables-includes":{patterns:[{include:"#comment"},{include:"#callout-list-item"},{include:"#attribute-entry"},{include:"#block-title"},{include:"#explicit-paragraph"},{include:"#section"},{include:"#blocks"},{include:"#list"},{include:"#inlines"},{include:"#line-break"}]},titles:{patterns:[{begin:"^((?:=|#){6})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-5.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){5})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-4.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){4})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-3.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){3})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-2.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){2})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-1.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){1})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-0.asciidoc",patterns:[{include:"$self"}]}]},"typographic-quotes":{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},comment:"double-quoted",match:'(?:^|(?<!\\p{Word}|;|:))(\\[([^\\]]+?)\\])?("`)(\\S|\\S.*?\\S)(`")(?!\\p{Word})',name:"markup.italic.quote.typographic-quotes.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},comment:"single-quoted",match:"(?:^|(?<!\\p{Word}|;|:))(\\[([^\\]]+?)\\])?('`)(\\S|\\S.*?\\S)(`')(?!\\p{Word})",name:"markup.italic.quote.typographic-quotes.asciidoc"}]},"xref-macro":{patterns:[{captures:{1:{name:"constant.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"string.unquoted.asciidoc"},4:{name:"constant.asciidoc"}},match:'(?<!\\\\)(?:(<<)([\\p{Word}":./]+,)?(.*?)(>>))',name:"markup.reference.xref.asciidoc"},{begin:'(?<!\\\\)(xref:)([\\p{Word}":.\\/].*?)(\\[)',beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.reference.xref.asciidoc"}]}},scopeName:"text.asciidoc",embeddedLangs:["html","yaml","csv","c","clojure","coffee","cpp","css","csharp","diff","docker","elixir","elm","erlang","go","groovy","haskell","java","javascript","json","jsx","julia","kotlin","less","make","objective-c","ocaml","perl","python","r","ruby","rust","sass","scala","scss","shellscript","sql","swift","toml","typescript","xml"],aliases:["adoc"]});var Ae=[...e,...c,...n,...i,...t,...a,...s,...o,...l,...d,...u,...r,...m,...p,...b,...k,...$,...g,...h,...f,...N,...v,...B,...j,...C,...y,...x,...q,...w,...S,...W,...A,...T,...I,..._,...O,...z,...P,...R,...E,...G,M];export{Ae as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./CbViG2Xw.js";import"./Dch3xQiY.js";import"./CbYhyuC0.js";const n=Object.freeze({displayName:"Closure Templates",fileTypes:["soy"],injections:{"meta.tag":{patterns:[{include:"#body"}]}},name:"soy",patterns:[{include:"#alias"},{include:"#delpackage"},{include:"#namespace"},{include:"#template"},{include:"#comment"}],repository:{alias:{captures:{1:{name:"storage.type.soy"},2:{name:"entity.name.type.soy"},3:{name:"storage.type.soy"},4:{name:"entity.name.type.soy"}},match:"{(alias)\\s+([\\w\\.]+)(?:\\s+(as)\\s+(\\w+))?}"},attribute:{captures:{1:{name:"storage.other.attribute.soy"},2:{name:"string.double.quoted.soy"}},match:'(\\w+)=("(?:\\\\?.)*?")'},body:{patterns:[{include:"#comment"},{include:"#let"},{include:"#call"},{include:"#css"},{include:"#xid"},{include:"#condition"},{include:"#condition-control"},{include:"#for"},{include:"#literal"},{include:"#msg"},{include:"#special-character"},{include:"#print"},{include:"text.html.basic"}]},boolean:{match:"true|false",name:"language.constant.boolean.soy"},call:{patterns:[{begin:"{((?:del)?call)\\s+([\\w\\.]+)(?=[^/]*?})",beginCaptures:{1:{name:"storage.type.function.soy"},2:{name:"entity.name.function.soy"}},end:"{/(\\1)}",endCaptures:{1:{name:"storage.type.function.soy"}},patterns:[{include:"#comment"},{include:"#variant"},{include:"#attribute"},{include:"#param"}]},{begin:"{((?:del)?call)(\\s+[\\w\\.]+)",beginCaptures:{1:{name:"storage.type.function.soy"},2:{name:"entity.name.function.soy"}},end:"/}",patterns:[{include:"#variant"},{include:"#attribute"}]}]},comment:{patterns:[{begin:"/\\*",end:"\\*/",name:"comment.block.documentation.soy",patterns:[{captures:{1:{name:"keyword.parameter.soy"},2:{name:"variable.parameter.soy"}},match:"(@param\\??)\\s+(\\S+)"}]},{match:"^\\s*(\\/\\/.*)$",name:"comment.line.double-slash.soy"}]},condition:{begin:"{/?(if|elseif|switch|case)\\s*",beginCaptures:{1:{name:"keyword.control.soy"}},end:"}",patterns:[{include:"#attribute"},{include:"#expression"}]},"condition-control":{captures:{1:{name:"keyword.control.soy"}},match:"{(else|ifempty|default)}"},css:{begin:"{(css)\\s+",beginCaptures:{1:{name:"keyword.other.soy"}},end:"}",patterns:[{include:"#expression"}]},delpackage:{captures:{1:{name:"storage.type.soy"},2:{name:"entity.name.type.soy"}},match:"{(delpackage)\\s+([\\w\\.]+)}"},expression:{patterns:[{include:"#boolean"},{include:"#number"},{include:"#function"},{include:"#null"},{include:"#string"},{include:"#variable-ref"},{include:"#operator"}]},for:{begin:"{/?(foreach|for)(?=\\s|})",beginCaptures:{1:{name:"keyword.control.soy"}},end:"}",patterns:[{match:"in",name:"keyword.control.soy"},{include:"#expression"},{include:"#body"}]},function:{begin:"(\\w+)\\(",beginCaptures:{1:{name:"support.function.soy"}},end:"\\)",patterns:[{include:"#expression"}]},let:{patterns:[{begin:"{(let)\\s+(\\$\\w+\\s*:)",beginCaptures:{1:{name:"storage.type.soy"},2:{name:"variable.soy"}},end:"/}",patterns:[{include:"#comment"},{include:"#expression"}]},{begin:"{(let)\\s+(\\$\\w+)",beginCaptures:{1:{name:"storage.type.soy"},2:{name:"variable.soy"}},end:"{/(\\1)}",endCaptures:{1:{name:"storage.type.soy"}},patterns:[{include:"#attribute"},{include:"#body"}]}]},literal:{begin:"{(literal)}",beginCaptures:{1:{name:"keyword.other.soy"}},end:"{/(\\1)}",endCaptures:{1:{name:"keyword.other.soy"}},name:"meta.literal"},msg:{captures:{1:{name:"keyword.other.soy"}},end:"}",match:"{/?(msg|fallbackmsg)",patterns:[{include:"#attribute"}]},namespace:{captures:{1:{name:"storage.type.soy"},2:{name:"entity.name.type.soy"}},match:"{(namespace)\\s+([\\w\\.]+)}"},null:{match:"null",name:"language.constant.null.soy"},number:{match:"-?\\.?\\d+|\\d[\\.\\d]*",name:"language.constant.numeric"},operator:{match:"-|not|\\*|\\/|%|\\+|<=|>=|<|>|==|!=|and|or|\\?:|\\?|:",name:"keyword.operator.soy"},param:{patterns:[{begin:"{(param)\\s+(\\w+\\s*\\:)",beginCaptures:{1:{name:"storage.type.soy"},2:{name:"variable.parameter.soy"}},end:"/}",patterns:[{include:"#expression"}]},{begin:"{(param)\\s+(\\w+)",beginCaptures:{1:{name:"storage.type.soy"},2:{name:"variable.parameter.soy"}},end:"{/(\\1)}",endCaptures:{1:{name:"storage.type.soy"}},patterns:[{include:"#attribute"},{include:"#body"}]}]},print:{begin:"{(print)?\\s*",beginCaptures:{1:{name:"keyword.other.soy"}},end:"}",patterns:[{captures:{1:{name:"support.function.soy"}},match:"\\|\\s*(changeNewlineToBr|truncate|bidiSpanWrap|bidiUnicodeWrap)"},{include:"#expression"}]},"special-character":{captures:{1:{name:"language.support.constant"}},match:"{(sp|nil|\\\\r|\\\\n|\\\\t|lb|rb)}"},string:{begin:"'",end:"'",name:"string.quoted.single.soy",patterns:[{match:`\\\\(?:[\\\\'"nrtbf]|u[0-9a-fA-F]{4})`,name:"constant.character.escape.soy"}]},template:{begin:"{(template|deltemplate)\\s([\\w\\.]+)",beginCaptures:{1:{name:"storage.type.soy"},2:{name:"entity.name.function.soy"}},end:"{(/\\1)}",endCaptures:{1:{name:"storage.type.soy"}},patterns:[{begin:"{(@param)(\\??)\\s+(\\S+\\s*:)",beginCaptures:{1:{name:"keyword.parameter.soy"},2:{name:"storage.modifier.keyword.operator.soy"},3:{name:"variable.parameter.soy"}},end:"}",name:"meta.parameter.soy",patterns:[{include:"#type"}]},{include:"#variant"},{include:"#body"},{include:"#attribute"}]},type:{patterns:[{match:"any|null|\\?|string|bool|int|float|number|html|uri|js|css|attributes",name:"support.type.soy"},{begin:"(list|map)(<)",beginCaptures:{1:{name:"support.type.soy"},2:{name:"support.type.punctuation.soy"}},end:"(>)",endCaptures:{1:{name:"support.type.modifier.soy"}},patterns:[{include:"#type"}]}]},"variable-ref":{match:"\\$[\\a-zA-Z_][\\w\\.]*",name:"variable.other.soy"},variant:{begin:'(variant)=(")',beginCaptures:{1:{name:"storage.other.attribute.soy"},2:{name:"string.double.quoted.soy"}},contentName:"string.double.quoted.soy",end:'(")',endCaptures:{1:{name:"string.double.quoted.soy"}},patterns:[{include:"#expression"}]},xid:{begin:"{(xid)\\s+",beginCaptures:{1:{name:"keyword.other.soy"}},end:"}",patterns:[{include:"#expression"}]}},scopeName:"text.html.soy",embeddedLangs:["html"],aliases:["closure-templates"]});var r=[...e,n];export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Kusto",fileTypes:["csl","kusto","kql"],name:"kusto",patterns:[{comment:"Tabular operators: common helper operators",match:"\\b(by|from|of|to|step|with)\\b",name:"keyword.other.operator.kusto"},{comment:"Query statements: https://docs.microsoft.com/en-us/azure/kusto/query/statements",match:"\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\b",name:"keyword.control.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators",match:"\\b(and|or|has_all|has_any|matches|regex)\\b",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Strings"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/clusterfunction",match:"\\b(cluster|database)(?:\\s*\\(\\s*(.+?)\\s*\\))?(?!\\w)",name:"meta.special.database.kusto"},{comment:"Special functions: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tablefunction",match:"\\b(external_table|materialized_view|materialize|table|toscalar)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/betweenoperator",match:"(?<!\\w)(!?between)\\b",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binoperators",match:"\\b(binary_and|binary_or|binary_shift_left|binary_shift_right|binary_xor)(?:\\s*\\(\\s*(\\w+)\\s*,\\s*(\\w+)\\s*\\))?(?!\\w)",name:"meta.scalar.bitwise.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binary-notfunction",match:"\\b(binary_not|bitset_count_ones)(?:\\s*\\(\\s*(\\w+)\\s*\\))?(?!\\w)",name:"meta.scalar.bitwise.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/in-cs-operator",match:"(?<!\\w)(!?in~?)(?!\\w)",name:"keyword.other.operator.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators",match:"(?<!\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\w)",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},3:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},4:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangefunction",match:"\\b(range)\\s*\\((?:\\s*(\\w+(?:\\(.*?\\))?)\\s*,\\s*(\\w+(?:\\(.*?\\))?)\\s*,?(?:\\s*)?(\\w+(?:\\(.*?\\))?)?\\s*\\))?(?!\\w)",name:"meta.scalar.function.range.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalarfunctions",match:"\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2|atan|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2|exp|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\\b",name:"support.function.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},3:{patterns:[{include:"#TimeSpanLiterals"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binfunction",match:"\\b(bin)(?:\\s*\\(\\s*(.+?)\\s*,\\s*(.+?)\\s*\\))?(?!\\w)",name:"meta.scalar.function.bin.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/count-aggfunction",match:"\\b(count)\\s*\\(\\s*\\)(?!\\w)",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/aggregation-functions",match:"\\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles|percentile|stdevif|stdevp|stdev|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep|variance)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/geospatial-grid-systems",match:"\\b(geo_distance_2points|geo_distance_point_to_line|geo_distance_point_to_polygon|geo_intersects_2lines|geo_intersects_2polygons|geo_intersects_line_with_polygon|geo_intersection_2lines|geo_intersection_2polygons|geo_intersection_line_with_polygon|geo_line_centroid|geo_line_densify|geo_line_length|geo_line_simplify|geo_polygon_area|geo_polygon_centroid|geo_polygon_densify|geo_polygon_perimeter|geo_polygon_simplify|geo_polygon_to_s2cells|geo_point_in_circle|geo_point_in_polygon|geo_point_to_geohash|geo_point_to_h3cell|geo_point_to_s2cell|geo_geohash_to_central_point|geo_geohash_neighbors|geo_geohash_to_polygon|geo_s2cell_to_central_point|geo_s2cell_neighbors|geo_s2cell_to_polygon|geo_h3cell_to_central_point|geo_h3cell_neighbors|geo_h3cell_to_polygon|geo_h3cell_parent|geo_h3cell_children|geo_h3cell_level|geo_h3cell_rings|geo_simplify_polygons_array|geo_union_lines_array|geo_union_polygons_array)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/windowsfunctions",match:"\\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\\b",name:"support.function.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"\\.(create-or-alter|replace)",name:"keyword.control.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"(?<=let ).+(?=\\W*=)",name:"entity.function.name.lambda.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"\\b(folder|docstring|skipvalidation)\\b",name:"keyword.other.operator.kusto"},{match:"\\b(function)\\b",name:"storage.type.kusto"},{comment:"Data types: https://docs.microsoft.com/en-us/azure/kusto/query/scalar-data-types",match:"\\b(bool|decimal|dynamic|guid|int|long|real|string)\\b",name:"storage.type.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"variable.other.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/asoperator",match:"\\b(as)\\s+(\\w+)\\b",name:"meta.query.as.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatableoperator",match:"\\b(datatable)(?=\\W*\\()",name:"keyword.other.query.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/facetoperator",match:"\\b(facet)(?:\\s+(by))?\\b",name:"meta.query.facet.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"entity.name.function.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/invokeoperator",match:"\\b(invoke)(?:\\s+(\\w+))?\\b",name:"meta.query.invoke.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"},3:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/orderoperator",match:"\\b(order)(?:\\s+(by)\\s+(\\w+))?\\b",name:"meta.query.order.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"variable.other.column.kusto"},3:{name:"keyword.other.operator.kusto"},4:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},5:{name:"keyword.other.operator.kusto"},6:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},7:{name:"keyword.other.operator.kusto"},8:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangeoperator",match:"\\b(range)\\s+(\\w+)\\s+(from)\\s+(\\w+(?:\\(\\w*\\))?)\\s+(to)\\s+(\\w+(?:\\(\\w*\\))?)\\s+(step)\\s+(\\w+(?:\\(\\w*\\))?)\\b",name:"meta.query.range.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sampleoperator",match:"\\b(sample)(?:\\s+(\\d+))?(?![\\w-])",name:"meta.query.sample.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sampledistinctoperator",match:"\\b(sample-distinct)(?:\\s+(\\d+)\\s+(of)\\s+(\\w+))?\\b",name:"meta.query.sample-distinct.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sortoperator",match:"\\b(sort)(?:\\s+(by))?\\b",name:"meta.query.sort.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/takeoperator",match:"\\b(take|limit)(?:\\s+(\\d+))\\b",name:"meta.query.take.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/topoperator",match:"\\b(top)(?:\\s+(\\d+)\\s+(by)\\s+(\\w+))?(?![\\w-])\\b",name:"meta.query.top.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"},5:{name:"keyword.other.operator.kusto"},6:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tophittersoperator",match:"\\b(top-hitters)(?:\\s+(\\d+)\\s+(of)\\s+(\\w+)(?:\\s+(by)\\s+(\\w+))?)?\\b",name:"meta.query.top-hitters.kusto"},{comment:"Tabular operators: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/queries",match:"\\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\\b",name:"keyword.other.query.kusto"},{comment:"Tabular operators: evalute (plugins): https://docs.microsoft.com/en-us/azure/kusto/query/evaluateoperator",match:"\\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\\b",name:"support.function.kusto"},{comment:"Tabular operators: join: https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"\\b(on|kind|hint\\.remote|hint\\.strategy)\\b",name:"keyword.other.operator.kusto"},{comment:"Tabular operators: join ($left, $right): https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"(\\$left|\\$right)\\b",name:"keyword.other.kusto"},{comment:"Tabular operators: join (kinds, strategies): https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"\\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\\b",name:"keyword.other.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/machine-learning-and-tsa",match:"\\b(series_abs|series_acos|series_add|series_asin|series_atan|series_cos|series_decompose|series_decompose_anomalies|series_decompose_forecast|series_divide|series_equals|series_exp|series_fft|series_fill_backward|series_fill_const|series_fill_forward|series_fill_linear|series_fir|series_fit_2lines_dynamic|series_fit_2lines|series_fit_line_dynamic|series_fit_line|series_fit_poly|series_greater_equals|series_greater|series_ifft|series_iir|series_less_equals|series_less|series_multiply|series_not_equals|series_outliers|series_pearson_correlation|series_periods_detect|series_periods_validate|series_pow|series_seasonal|series_sign|series_sin|series_stats|series_stats_dynamic|series_subtract|series_tan)\\b",name:"support.function.kusto"},{comment:"Tabular operators: mv-expand (bagexpand options): https://docs.microsoft.com/en-us/azure/kusto/query/mvexpandoperator",match:"\\b(bag|array)\\b",name:"keyword.other.operator.kusto"},{comment:"Tabular operators: order: https://docs.microsoft.com/en-us/azure/kusto/query/orderoperator",match:"\\b(asc|desc|nulls first|nulls last)\\b",name:"keyword.other.kusto"},{comment:"Tabular operators: parse: https://docs.microsoft.com/en-us/azure/kusto/query/parseoperator",match:"\\b(regex|simple|relaxed)\\b",name:"keyword.other.kusto"},{match:"\\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\\b",name:"support.function.kusto"},{include:"#Strings"},{match:"\\{.*?\\}",name:"string.other.kusto"},{comment:"Comments",match:"//.*",name:"comment.line.kusto"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#DateTimeTimeSpanDataTypes"},{include:"#Numeric"},{match:"\\b(true|false|null)\\b",name:"constant.language.kusto"},{comment:"Deprecated functions",match:"\\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=\\W*\\(|\\b)",name:"invalid.deprecated.kusto"}],repository:{DateTimeTimeSpanDataTypes:{patterns:[{match:"\\b(datetime|timespan|time)\\b",name:"storage.type.kusto"}]},DateTimeTimeSpanFunctions:{patterns:[{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"}]},3:{patterns:[{include:"#Strings"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/format-datetimefunction",match:`\\b(format_datetime)(?:\\s*\\(\\s*(.+?)\\s*,\\s*(['"].*?['"])\\s*\\))?(?!\\w)`,name:"meta.scalar.function.format_datetime.kusto"},{comment:"Scalar function: DateTime/Timespan Functions: https://docs.microsoft.com/en-us/azure/kusto/query/scalarfunctions#datetimetimespan-functions",match:"\\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=\\W*\\()",name:"support.function.kusto"}]},Escapes:{patterns:[{match:`\\\\['"]`,name:"constant.character.escape.kusto"}]},Numeric:{patterns:[{match:"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*+)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?(?=\\b|\\w)",name:"constant.numeric.kusto"}]},Strings:{patterns:[{begin:'([@h]?")',beginCaptures:{1:{name:"punctuation.definition.string.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/string",end:'"',endCaptures:{0:{name:"punctuation.definition.string.kusto"}},name:"string.quoted.double.kusto",patterns:[{include:"#Escapes"}]},{begin:"([@h]?')",beginCaptures:{1:{name:"punctuation.definition.string.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/string",end:"'",endCaptures:{0:{name:"punctuation.definition.string.kusto"}},name:"string.quoted.single.kusto",patterns:[{include:"#Escapes"}]}]},TimeSpanLiterals:{patterns:[{comment:"timespan literals: https://docs.microsoft.com/en-us/azure/kusto/query/scalar-data-types/timespan#timespan-literals",match:"[+-]?(?:\\d*\\.)?\\d+(?:microseconds?|ticks?|seconds?|ms|d|h|m|s)\\b",name:"constant.numeric.kusto"}]}},scopeName:"source.kusto",aliases:["kql"]});var t=[e];export{t as default};
|
|
1
|
+
const e=Object.freeze({displayName:"Kusto",fileTypes:["csl","kusto","kql"],name:"kusto",patterns:[{comment:"Tabular operators: common helper operators",match:"\\b(by|from|of|to|step|with)\\b",name:"keyword.other.operator.kusto"},{comment:"Query statements: https://docs.microsoft.com/en-us/azure/kusto/query/statements",match:"\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\b",name:"keyword.control.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators",match:"\\b(and|or|has_all|has_any|matches|regex)\\b",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Strings"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/clusterfunction",match:"\\b(cluster|database)(?:\\s*\\(\\s*(.+?)\\s*\\))?(?!\\w)",name:"meta.special.database.kusto"},{comment:"Special functions: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tablefunction",match:"\\b(external_table|materialized_view|materialize|table|toscalar)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/betweenoperator",match:"(?<!\\w)(!?between)\\b",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binoperators",match:"\\b(binary_and|binary_or|binary_shift_left|binary_shift_right|binary_xor)(?:\\s*\\(\\s*(\\w+)\\s*,\\s*(\\w+)\\s*\\))?(?!\\w)",name:"meta.scalar.bitwise.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binary-notfunction",match:"\\b(binary_not|bitset_count_ones)(?:\\s*\\(\\s*(\\w+)\\s*\\))?(?!\\w)",name:"meta.scalar.bitwise.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/in-cs-operator",match:"(?<!\\w)(!?in~?)(?!\\w)",name:"keyword.other.operator.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators",match:"(?<!\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\w)",name:"keyword.other.operator.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},3:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},4:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangefunction",match:"\\b(range)\\s*\\((?:\\s*(\\w+(?:\\(.*?\\))?)\\s*,\\s*(\\w+(?:\\(.*?\\))?)\\s*,?(?:\\s*)?(\\w+(?:\\(.*?\\))?)?\\s*\\))?(?!\\w)",name:"meta.scalar.function.range.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalarfunctions",match:"\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2|atan|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2|exp|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\\b",name:"support.function.kusto"},{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},3:{patterns:[{include:"#TimeSpanLiterals"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binfunction",match:"\\b(bin)(?:\\s*\\(\\s*(.+?)\\s*,\\s*(.+?)\\s*\\))?(?!\\w)",name:"meta.scalar.function.bin.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/count-aggfunction",match:"\\b(count)\\s*\\(\\s*\\)(?!\\w)",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/aggregation-functions",match:"\\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles|percentile|stdevif|stdevp|stdev|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep|variance)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/geospatial-grid-systems",match:"\\b(geo_distance_2points|geo_distance_point_to_line|geo_distance_point_to_polygon|geo_intersects_2lines|geo_intersects_2polygons|geo_intersects_line_with_polygon|geo_intersection_2lines|geo_intersection_2polygons|geo_intersection_line_with_polygon|geo_line_centroid|geo_line_densify|geo_line_length|geo_line_simplify|geo_polygon_area|geo_polygon_centroid|geo_polygon_densify|geo_polygon_perimeter|geo_polygon_simplify|geo_polygon_to_s2cells|geo_point_in_circle|geo_point_in_polygon|geo_point_to_geohash|geo_point_to_h3cell|geo_point_to_s2cell|geo_geohash_to_central_point|geo_geohash_neighbors|geo_geohash_to_polygon|geo_s2cell_to_central_point|geo_s2cell_neighbors|geo_s2cell_to_polygon|geo_h3cell_to_central_point|geo_h3cell_neighbors|geo_h3cell_to_polygon|geo_h3cell_parent|geo_h3cell_children|geo_h3cell_level|geo_h3cell_rings|geo_simplify_polygons_array|geo_union_lines_array|geo_union_polygons_array)\\b",name:"support.function.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/windowsfunctions",match:"\\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\\b",name:"support.function.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"\\.(create-or-alter|replace)",name:"keyword.control.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"(?<=let ).+(?=\\W*=)",name:"entity.function.name.lambda.kusto"},{comment:"User-defined functions: https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions",match:"\\b(folder|docstring|skipvalidation)\\b",name:"keyword.other.operator.kusto"},{match:"\\b(function)\\b",name:"storage.type.kusto"},{comment:"Data types: https://docs.microsoft.com/en-us/azure/kusto/query/scalar-data-types",match:"\\b(bool|decimal|dynamic|guid|int|long|real|string)\\b",name:"storage.type.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"variable.other.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/asoperator",match:"\\b(as)\\s+(\\w+)\\b",name:"meta.query.as.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatableoperator",match:"\\b(datatable)(?=\\W*\\()",name:"keyword.other.query.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/facetoperator",match:"\\b(facet)(?:\\s+(by))?\\b",name:"meta.query.facet.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"entity.name.function.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/invokeoperator",match:"\\b(invoke)(?:\\s+(\\w+))?\\b",name:"meta.query.invoke.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"},3:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/orderoperator",match:"\\b(order)(?:\\s+(by)\\s+(\\w+))?\\b",name:"meta.query.order.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"variable.other.column.kusto"},3:{name:"keyword.other.operator.kusto"},4:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},5:{name:"keyword.other.operator.kusto"},6:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},7:{name:"keyword.other.operator.kusto"},8:{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangeoperator",match:"\\b(range)\\s+(\\w+)\\s+(from)\\s+(\\w+(?:\\(\\w*\\))?)\\s+(to)\\s+(\\w+(?:\\(\\w*\\))?)\\s+(step)\\s+(\\w+(?:\\(\\w*\\))?)\\b",name:"meta.query.range.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sampleoperator",match:"\\b(sample)(?:\\s+(\\d+))?(?![\\w-])",name:"meta.query.sample.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sampledistinctoperator",match:"\\b(sample-distinct)(?:\\s+(\\d+)\\s+(of)\\s+(\\w+))?\\b",name:"meta.query.sample-distinct.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{name:"keyword.other.operator.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/sortoperator",match:"\\b(sort)(?:\\s+(by))?\\b",name:"meta.query.sort.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/takeoperator",match:"\\b(take|limit)(?:\\s+(\\d+))\\b",name:"meta.query.take.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/topoperator",match:"\\b(top)(?:\\s+(\\d+)\\s+(by)\\s+(\\w+))?(?![\\w-])\\b",name:"meta.query.top.kusto"},{captures:{1:{name:"keyword.other.query.kusto"},2:{patterns:[{include:"#Numeric"}]},3:{name:"keyword.other.operator.kusto"},4:{name:"variable.other.column.kusto"},5:{name:"keyword.other.operator.kusto"},6:{name:"variable.other.column.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tophittersoperator",match:"\\b(top-hitters)(?:\\s+(\\d+)\\s+(of)\\s+(\\w+)(?:\\s+(by)\\s+(\\w+))?)?\\b",name:"meta.query.top-hitters.kusto"},{comment:"Tabular operators: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/queries",match:"\\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\\b",name:"keyword.other.query.kusto"},{comment:"Tabular operators: evalute (plugins): https://docs.microsoft.com/en-us/azure/kusto/query/evaluateoperator",match:"\\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\\b",name:"support.function.kusto"},{comment:"Tabular operators: join: https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"\\b(on|kind|hint\\.remote|hint\\.strategy)\\b",name:"keyword.other.operator.kusto"},{comment:"Tabular operators: join ($left, $right): https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"(\\$left|\\$right)\\b",name:"keyword.other.kusto"},{comment:"Tabular operators: join (kinds, strategies): https://docs.microsoft.com/en-us/azure/kusto/query/joinoperator",match:"\\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\\b",name:"keyword.other.kusto"},{comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/machine-learning-and-tsa",match:"\\b(series_abs|series_acos|series_add|series_asin|series_atan|series_cos|series_decompose|series_decompose_anomalies|series_decompose_forecast|series_divide|series_equals|series_exp|series_fft|series_fill_backward|series_fill_const|series_fill_forward|series_fill_linear|series_fir|series_fit_2lines_dynamic|series_fit_2lines|series_fit_line_dynamic|series_fit_line|series_fit_poly|series_greater_equals|series_greater|series_ifft|series_iir|series_less_equals|series_less|series_multiply|series_not_equals|series_outliers|series_pearson_correlation|series_periods_detect|series_periods_validate|series_pow|series_seasonal|series_sign|series_sin|series_stats|series_stats_dynamic|series_subtract|series_tan)\\b",name:"support.function.kusto"},{comment:"Tabular operators: mv-expand (bagexpand options): https://docs.microsoft.com/en-us/azure/kusto/query/mvexpandoperator",match:"\\b(bag|array)\\b",name:"keyword.other.operator.kusto"},{comment:"Tabular operators: order: https://docs.microsoft.com/en-us/azure/kusto/query/orderoperator",match:"\\b(asc|desc|nulls first|nulls last)\\b",name:"keyword.other.kusto"},{comment:"Tabular operators: parse: https://docs.microsoft.com/en-us/azure/kusto/query/parseoperator",match:"\\b(regex|simple|relaxed)\\b",name:"keyword.other.kusto"},{match:"\\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\\b",name:"support.function.kusto"},{include:"#Strings"},{match:"\\{.*?\\}",name:"string.other.kusto"},{comment:"Comments",match:"//.*",name:"comment.line.kusto"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#DateTimeTimeSpanDataTypes"},{include:"#Numeric"},{match:"\\b(true|false|null)\\b",name:"constant.language.kusto"},{comment:"Deprecated functions",match:"\\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=\\W*\\(|\\b)",name:"invalid.deprecated.kusto"}],repository:{DateTimeTimeSpanDataTypes:{patterns:[{match:"\\b(datetime|timespan|time)\\b",name:"storage.type.kusto"}]},DateTimeTimeSpanFunctions:{patterns:[{captures:{1:{name:"support.function.kusto"},2:{patterns:[{include:"#DateTimeTimeSpanDataTypes"}]},3:{patterns:[{include:"#Strings"}]}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/format-datetimefunction",match:`\\b(format_datetime)(?:\\s*\\(\\s*(.+?)\\s*,\\s*(['"].*?['"])\\s*\\))?(?!\\w)`,name:"meta.scalar.function.format_datetime.kusto"},{comment:"Scalar function: DateTime/Timespan Functions: https://docs.microsoft.com/en-us/azure/kusto/query/scalarfunctions#datetimetimespan-functions",match:"\\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=\\W*\\()",name:"support.function.kusto"}]},Escapes:{patterns:[{match:`(\\\\['"]|\\\\\\\\)`,name:"constant.character.escape.kusto"}]},Numeric:{patterns:[{match:"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*+)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?(?=\\b|\\w)",name:"constant.numeric.kusto"}]},Strings:{patterns:[{begin:'([@h]?")',beginCaptures:{1:{name:"punctuation.definition.string.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/string",end:'"',endCaptures:{0:{name:"punctuation.definition.string.kusto"}},name:"string.quoted.double.kusto",patterns:[{include:"#Escapes"}]},{begin:"([@h]?')",beginCaptures:{1:{name:"punctuation.definition.string.kusto"}},comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/string",end:"'",endCaptures:{0:{name:"punctuation.definition.string.kusto"}},name:"string.quoted.single.kusto",patterns:[{include:"#Escapes"}]}]},TimeSpanLiterals:{patterns:[{comment:"timespan literals: https://docs.microsoft.com/en-us/azure/kusto/query/scalar-data-types/timespan#timespan-literals",match:"[+-]?(?:\\d*\\.)?\\d+(?:microseconds?|ticks?|seconds?|ms|d|h|m|s)\\b",name:"constant.numeric.kusto"}]}},scopeName:"source.kusto",aliases:["kql"]});var t=[e];export{t as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Haxe",fileTypes:["hx","dump"],name:"haxe",patterns:[{include:"#all"}],repository:{abstract:{begin:"(?=abstract\\s+[A-Z])",end:"(?<=\\})|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},name:"meta.abstract.hx",patterns:[{include:"#abstract-name"},{include:"#abstract-name-post"},{include:"#abstract-block"}]},"abstract-block":{begin:"(?<=\\{)",end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.block.hx",patterns:[{include:"#method"},{include:"#modifiers"},{include:"#variable"},{include:"#block"},{include:"#block-contents"}]},"abstract-name":{begin:"\\b(abstract)\\b",beginCaptures:{1:{name:"storage.type.class.hx"}},end:"([_A-Za-z]\\w*)",endCaptures:{1:{name:"entity.name.type.class.hx"}},patterns:[{include:"#global"}]},"abstract-name-post":{begin:"(?<=\\w)",end:"([\\{;])",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},patterns:[{include:"#global"},{match:"\\b(from|to)\\b",name:"keyword.other.hx"},{include:"#type"},{match:"[\\(\\)]",name:"punctuation.definition.other.hx"}]},"accessor-method":{patterns:[{match:"\\b(get|set)_[_A-Za-z]\\w*\\b",name:"entity.name.function.hx"}]},all:{patterns:[{include:"#global"},{include:"#package"},{include:"#import"},{include:"#using"},{match:"\\b(final)\\b(?=\\s+(class|interface|extern|private)\\b)",name:"storage.modifier.hx"},{include:"#abstract"},{include:"#class"},{include:"#enum"},{include:"#interface"},{include:"#typedef"},{include:"#block"},{include:"#block-contents"}]},array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.hx"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.hx"}},name:"meta.array.literal.hx",patterns:[{include:"#block"},{include:"#block-contents"}]},"arrow-function":{begin:"(\\()(?=[^(]*?\\)\\s*->)",beginCaptures:{1:{name:"punctuation.definition.parameters.begin.hx"}},end:"(\\))\\s*(->)",endCaptures:{1:{name:"punctuation.definition.parameters.end.hx"},2:{name:"storage.type.function.arrow.hx"}},name:"meta.method.arrow.hx",patterns:[{include:"#arrow-function-parameter"}]},"arrow-function-parameter":{begin:"(?<=\\(|,)",end:"(?=\\)|,)",patterns:[{include:"#parameter-name"},{include:"#arrow-function-parameter-type-hint"},{include:"#parameter-assign"},{include:"#punctuation-comma"},{include:"#global"}]},"arrow-function-parameter-type-hint":{begin:":",beginCaptures:{0:{name:"keyword.operator.type.annotation.hx"}},end:"(?=\\)|,|=)",patterns:[{include:"#type"}]},block:{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.block.begin.hx"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.block.end.hx"}},patterns:[{include:"#block"},{include:"#block-contents"}]},"block-contents":{patterns:[{include:"#global"},{include:"#regex"},{include:"#array"},{include:"#constants"},{include:"#strings"},{include:"#metadata"},{include:"#method"},{include:"#variable"},{include:"#modifiers"},{include:"#new-expr"},{include:"#for-loop"},{include:"#keywords"},{include:"#arrow-function"},{include:"#method-call"},{include:"#enum-constructor-call"},{include:"#punctuation-braces"},{include:"#macro-reification"},{include:"#operators"},{include:"#operator-assignment"},{include:"#punctuation-terminator"},{include:"#punctuation-comma"},{include:"#punctuation-accessor"},{include:"#identifiers"}]},class:{begin:"(?=class)",end:"(?<=\\})|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},name:"meta.class.hx",patterns:[{include:"#class-name"},{include:"#class-name-post"},{include:"#class-block"}]},"class-block":{begin:"(?<=\\{)",end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.block.hx",patterns:[{include:"#method"},{include:"#modifiers"},{include:"#variable"},{include:"#block"},{include:"#block-contents"}]},"class-name":{begin:"\\b(class)\\b",beginCaptures:{1:{name:"storage.type.class.hx"}},end:"([_A-Za-z]\\w*)",endCaptures:{1:{name:"entity.name.type.class.hx"}},name:"meta.class.identifier.hx",patterns:[{include:"#global"}]},"class-name-post":{begin:"(?<=\\w)",end:"([\\{;])",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},patterns:[{include:"#modifiers-inheritance"},{include:"#type"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",beginCaptures:{0:{name:"punctuation.definition.comment.hx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.hx"}},name:"comment.block.documentation.hx",patterns:[{include:"#javadoc-tags"}]},{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.hx"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.hx"}},name:"comment.block.hx",patterns:[{include:"#javadoc-tags"}]},{captures:{1:{name:"punctuation.definition.comment.hx"}},match:"(//).*$\\n?",name:"comment.line.double-slash.hx"}]},"conditional-compilation":{patterns:[{captures:{0:{name:"punctuation.definition.tag"}},match:"((#(if|elseif))[\\s!]+([a-zA-Z_][a-zA-Z0-9_]*(\\.[a-zA-Z_][a-zA-Z0-9_]*)*)(?=\\s|/\\*|//))"},{begin:"((#(if|elseif))[\\s!]*)(?=\\()",beginCaptures:{0:{name:"punctuation.definition.tag"}},end:"(?<=\\)|\\n)",endCaptures:{0:{name:"punctuation.definition.tag"}},name:"punctuation.definition.tag",patterns:[{include:"#conditional-compilation-parens"}]},{match:"(#(end|else|error|line))",name:"punctuation.definition.tag"},{match:"(#([a-zA-Z0-9_]*))\\s",name:"punctuation.definition.tag"}]},"conditional-compilation-parens":{begin:"\\(",end:"\\)",patterns:[{include:"#conditional-compilation-parens"}]},"constant-name":{match:"\\b([_A-Z][_A-Z0-9]*)\\b",name:"variable.other.hx"},constants:{patterns:[{match:"\\b(true|false|null)\\b",name:"constant.language.hx"},{captures:{0:{name:"constant.numeric.hex.hx"},1:{name:"constant.numeric.suffix.hx"}},match:"\\b(?:0[xX][0-9a-fA-F][_0-9a-fA-F]*([iu][0-9][0-9_]*)?)\\b"},{captures:{0:{name:"constant.numeric.bin.hx"},1:{name:"constant.numeric.suffix.hx"}},match:"\\b(?:0[bB][01][_01]*([iu][0-9][0-9_]*)?)\\b"},{captures:{0:{name:"constant.numeric.decimal.hx"},1:{name:"meta.delimiter.decimal.period.hx"},2:{name:"constant.numeric.suffix.hx"},3:{name:"meta.delimiter.decimal.period.hx"},4:{name:"constant.numeric.suffix.hx"},5:{name:"meta.delimiter.decimal.period.hx"},6:{name:"constant.numeric.suffix.hx"},7:{name:"constant.numeric.suffix.hx"},8:{name:"meta.delimiter.decimal.period.hx"},9:{name:"constant.numeric.suffix.hx"},10:{name:"meta.delimiter.decimal.period.hx"},11:{name:"constant.numeric.suffix.hx"},12:{name:"meta.delimiter.decimal.period.hx"},13:{name:"constant.numeric.suffix.hx"},14:{name:"constant.numeric.suffix.hx"}},match:`(?x)
|
|
2
|
+
(?<!\\$)(?:
|
|
3
|
+
(?:\\b[0-9][0-9_]*(\\.)[0-9_]+[eE][+-]?[0-9_]+([fiu][0-9][0-9_]*)?\\b)|
|
|
4
|
+
(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9_]+([fiu][0-9][0-9_]*)?\\b)|
|
|
5
|
+
(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9_]+([fiu][0-9][0-9_]*)?\\b)|
|
|
6
|
+
(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\b)|
|
|
7
|
+
(?:\\b[0-9][0-9_]*(\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\b)|
|
|
8
|
+
(?:\\b[0-9][0-9_]*(\\.)(?!\\.)(?:\\B|([fiu][0-9][0-9_]*)\\b))|
|
|
9
|
+
(?:\\B(\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\b)|
|
|
10
|
+
(?:\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\b)
|
|
11
|
+
)(?!\\$)`}]},enum:{begin:"(?=enum\\s+[A-Z])",end:"(?<=\\})|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},name:"meta.enum.hx",patterns:[{include:"#enum-name"},{include:"#enum-name-post"},{include:"#enum-block"}]},"enum-block":{begin:"(?<=\\{)",end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.block.hx",patterns:[{include:"#global"},{include:"#metadata"},{include:"#parameters"},{include:"#identifiers"}]},"enum-constructor-call":{begin:"\\b(?<!\\.)((_*[a-z]\\w*\\.)*)(_*[A-Z]\\w*)(?:(\\.)(_*[A-Z]\\w*[a-z]\\w*))*\\s*(\\()",beginCaptures:{1:{name:"support.package.hx"},3:{name:"entity.name.type.hx"},4:{name:"support.package.hx"},5:{name:"entity.name.type.hx"},6:{name:"meta.brace.round.hx"}},end:"(\\))",endCaptures:{1:{name:"meta.brace.round.hx"}},patterns:[{include:"#block"},{include:"#block-contents"}]},"enum-name":{begin:"\\b(enum)\\b",beginCaptures:{1:{name:"storage.type.class.hx"}},end:"([_A-Za-z]\\w*)",endCaptures:{1:{name:"entity.name.type.class.hx"}},patterns:[{include:"#global"}]},"enum-name-post":{begin:"(?<=\\w)",end:"([\\{;])",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},patterns:[{include:"#type"}]},"for-loop":{begin:"\\b(for)\\b\\s*(\\()",beginCaptures:{1:{name:"keyword.control.flow-control.hx"},2:{name:"meta.brace.round.hx"}},end:"(\\))",endCaptures:{1:{name:"meta.brace.round.hx"}},patterns:[{match:"\\b(in)\\b",name:"keyword.other.in.hx"},{include:"#block"},{include:"#block-contents"}]},"function-type":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.hx"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.hx"}},patterns:[{include:"#function-type-parameter"}]},"function-type-parameter":{begin:"(?<=\\(|,)",end:"(?=\\)|,)",patterns:[{include:"#global"},{include:"#metadata"},{include:"#operator-optional"},{include:"#punctuation-comma"},{include:"#function-type-parameter-name"},{include:"#function-type-parameter-type-hint"},{include:"#parameter-assign"},{include:"#type"},{include:"#global"}]},"function-type-parameter-name":{captures:{1:{name:"variable.parameter.hx"}},match:"([_a-zA-Z]\\w*)(?=\\s*:)"},"function-type-parameter-type-hint":{begin:":",beginCaptures:{0:{name:"keyword.operator.type.annotation.hx"}},end:"(?=\\)|,|=)",patterns:[{include:"#type"}]},global:{patterns:[{include:"#comments"},{include:"#conditional-compilation"}]},"identifier-name":{match:"\\b([_A-Za-z]\\w*)\\b",name:"variable.other.hx"},identifiers:{patterns:[{include:"#constant-name"},{include:"#type-name"},{include:"#identifier-name"}]},import:{begin:"import\\b",beginCaptures:{0:{name:"keyword.control.import.hx"}},end:"$|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},patterns:[{include:"#type-path"},{match:"\\b(as)\\b",name:"keyword.control.as.hx"},{match:"\\b(in)\\b",name:"keyword.control.in.hx"},{match:"\\*",name:"constant.language.import-all.hx"},{match:"\\b([_A-Za-z]\\w*)\\b(?=\\s*(as|in|$|(;)))",name:"variable.other.hxt"},{include:"#type-path-package-name"}]},interface:{begin:"(?=interface)",end:"(?<=\\})|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},name:"meta.interface.hx",patterns:[{include:"#interface-name"},{include:"#interface-name-post"},{include:"#interface-block"}]},"interface-block":{begin:"(?<=\\{)",end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.block.hx",patterns:[{include:"#method"},{include:"#variable"},{include:"#block"},{include:"#block-contents"}]},"interface-name":{begin:"\\b(interface)\\b",beginCaptures:{1:{name:"storage.type.class.hx"}},end:"([_A-Za-z]\\w*)",endCaptures:{1:{name:"entity.name.type.class.hx"}},patterns:[{include:"#global"}]},"interface-name-post":{begin:"(?<=\\w)",end:"([\\{;])",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},patterns:[{include:"#global"},{include:"#modifiers-inheritance"},{include:"#type"}]},"javadoc-tags":{patterns:[{captures:{1:{name:"storage.type.class.javadoc"},2:{name:"variable.other.javadoc"}},match:"(@(?:param|exception|throws|event))\\s+([_A-Za-z]\\w*)\\s+"},{captures:{1:{name:"storage.type.class.javadoc"},2:{name:"constant.numeric.javadoc"}},match:"(@since)\\s+([\\w\\.-]+)\\s+"},{captures:{0:{name:"storage.type.class.javadoc"}},match:"@(param|exception|throws|deprecated|returns?|since|default|see|event)"}]},keywords:{patterns:[{begin:"(?<=trace|$type|if|while|for|super)\\s*(\\()",beginCaptures:{2:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{include:"#block-contents"}]},{begin:"(?<=catch)\\s*(\\()",beginCaptures:{2:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{include:"#block-contents"},{include:"#type-check"}]},{begin:"(?<=cast)\\s*(\\()",beginCaptures:{2:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{begin:"(?=,)",end:"(?=\\))",patterns:[{include:"#type"}]},{include:"#block-contents"}]},{match:"\\b(try|catch|throw)\\b",name:"keyword.control.catch-exception.hx"},{begin:"\\b(case|default)\\b",beginCaptures:{1:{name:"keyword.control.flow-control.hx"}},end:":|(?=if)|$",patterns:[{include:"#global"},{include:"#metadata"},{captures:{1:{name:"storage.type.variable.hx"},2:{name:"variable.other.hx"}},match:"\\b(var|final)\\b\\s*([_a-zA-Z]\\w*)\\b"},{include:"#array"},{include:"#constants"},{include:"#strings"},{match:"\\(",name:"meta.brace.round.hx"},{match:"\\)",name:"meta.brace.round.hx"},{include:"#macro-reification"},{match:"=>",name:"keyword.operator.extractor.hx"},{include:"#operator-assignment"},{include:"#punctuation-comma"},{include:"#keywords"},{include:"#method-call"},{include:"#identifiers"}]},{match:"\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\b",name:"keyword.control.flow-control.hx"},{match:"\\b(cast|untyped)\\b",name:"keyword.other.untyped.hx"},{match:"\\btrace\\b",name:"keyword.other.trace.hx"},{match:"\\$type\\b",name:"keyword.other.type.hx"},{match:"\\__(global|this)__\\b",name:"keyword.other.untyped-property.hx"},{match:"\\b(this|super)\\b",name:"variable.language.hx"},{match:"\\bnew\\b",name:"keyword.operator.new.hx"},{match:"\\b(abstract|class|enum|interface|typedef)\\b",name:"storage.type.hx"},{match:"->",name:"storage.type.function.arrow.hx"},{include:"#modifiers"},{include:"#modifiers-inheritance"}]},"keywords-accessor":{match:"\\b(default|get|set|dynamic|never|null)\\b",name:"storage.type.property.hx"},"macro-reification":{patterns:[{captures:{1:{name:"punctuation.definition.reification.hx"},2:{name:"keyword.reification.hx"}},match:"(\\$)([eabipv])\\{"},{captures:{2:{name:"punctuation.definition.reification.hx"},3:{name:"variable.reification.hx"}},match:"((\\$)([a-zA-Z]*))"}]},metadata:{patterns:[{begin:"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)\\b)\\s*(\\()",beginCaptures:{1:{name:"punctuation.metadata.hx"},2:{name:"storage.modifier.metadata.hx"},3:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{include:"#block-contents"}]},{captures:{2:{name:"punctuation.metadata.hx"},3:{name:"storage.modifier.metadata.hx"}},match:"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)\\b))"},{begin:"(@)(:?[a-zA-Z_]*)\\s*(\\()",beginCaptures:{1:{name:"punctuation.metadata.hx"},2:{name:"variable.metadata.hx"},3:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{include:"#block-contents"}]},{captures:{1:{name:"punctuation.metadata.hx"},2:{name:"variable.metadata.hx"},3:{name:"variable.metadata.hx"},4:{name:"punctuation.accessor.hx"},5:{name:"variable.metadata.hx"}},match:"(@)(:?)([a-zA-Z_]*(\\.))*([a-zA-Z_]*)?"}]},method:{begin:"(?=\\bfunction\\b)",end:"(?<=[\\};])",name:"meta.method.hx",patterns:[{include:"#macro-reification"},{include:"#method-name"},{include:"#method-name-post"},{include:"#method-block"}]},"method-block":{begin:"(?<=\\{)",beginCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.method.block.hx",patterns:[{include:"#block"},{include:"#block-contents"}]},"method-call":{begin:"\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|in|int|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\w*))\\s*(\\()",beginCaptures:{1:{name:"keyword.other.untyped-function.hx"},2:{name:"entity.name.function.hx"},3:{name:"meta.brace.round.hx"}},end:"(\\))",endCaptures:{1:{name:"meta.brace.round.hx"}},patterns:[{include:"#block"},{include:"#block-contents"}]},"method-name":{begin:"\\b(function)\\b\\s*\\b(?:(new)|([_A-Za-z]\\w*))?\\b",beginCaptures:{1:{name:"storage.type.function.hx"},2:{name:"storage.type.hx"},3:{name:"entity.name.function.hx"}},end:"(?=$|\\()",patterns:[{include:"#macro-reification"},{include:"#type-parameters"}]},"method-name-post":{begin:"(?<=[\\w\\s>])",end:"(\\{)|(;)",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"},2:{name:"punctuation.terminator.hx"}},patterns:[{include:"#parameters"},{include:"#method-return-type-hint"},{include:"#block"},{include:"#block-contents"}]},"method-return-type-hint":{begin:"(?<=\\))\\s*(:)",beginCaptures:{1:{name:"keyword.operator.type.annotation.hx"}},end:"(?=\\{|;|[a-z0-9])",patterns:[{include:"#type"}]},modifiers:{patterns:[{match:"\\b(enum)\\b",name:"storage.type.class"},{match:"\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\b",name:"storage.modifier.hx"},{match:"\\b(final)\\b(?=\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))",name:"storage.modifier.hx"}]},"modifiers-inheritance":{match:"\\b(implements|extends)\\b",name:"storage.modifier.hx"},"new-expr":{begin:"(?<!\\.)\\b(new)\\b",beginCaptures:{1:{name:"keyword.operator.new.hx"}},end:"(?=$|\\()",name:"new.expr.hx",patterns:[{include:"#type"}]},"operator-assignment":{match:"(=)",name:"keyword.operator.assignment.hx"},"operator-optional":{match:"(\\?)(?!\\s)",name:"keyword.operator.optional.hx"},"operator-type-hint":{match:"(:)",name:"keyword.operator.type.annotation.hx"},operators:{patterns:[{match:"(&&|\\|\\|)",name:"keyword.operator.logical.hx"},{match:"(~|&|\\||\\^|>>>|<<|>>)",name:"keyword.operator.bitwise.hx"},{match:"(==|!=|<=|>=|<|>)",name:"keyword.operator.comparison.hx"},{match:"(!)",name:"keyword.operator.logical.hx"},{match:"(\\-\\-|\\+\\+)",name:"keyword.operator.increment-decrement.hx"},{match:"(\\-|\\+|\\*|\\/|%)",name:"keyword.operator.arithmetic.hx"},{match:"\\.\\.\\.",name:"keyword.operator.intiterator.hx"},{match:"=>",name:"keyword.operator.arrow.hx"},{match:"\\?\\?",name:"keyword.operator.nullcoalescing.hx"},{match:"\\?\\.",name:"keyword.operator.safenavigation.hx"},{match:"\\bis\\b(?!\\()",name:"keyword.other.hx"},{begin:"\\?",beginCaptures:{0:{name:"keyword.operator.ternary.hx"}},end:":",endCaptures:{0:{name:"keyword.operator.ternary.hx"}},patterns:[{include:"#block-contents"}]}]},package:{begin:"package\\b",beginCaptures:{0:{name:"keyword.other.package.hx"}},end:"$|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},patterns:[{include:"#type-path"},{include:"#type-path-package-name"}]},parameter:{begin:"(?<=\\(|,)",end:"(?=\\)(?!\\s*->)|,)",patterns:[{include:"#parameter-name"},{include:"#parameter-type-hint"},{include:"#parameter-assign"},{include:"#punctuation-comma"},{include:"#global"}]},"parameter-assign":{begin:"=",beginCaptures:{0:{name:"keyword.operator.assignment.hx"}},end:"(?=\\)|,)",patterns:[{include:"#block"},{include:"#block-contents"}]},"parameter-name":{begin:"(?<=\\(|,)",end:"([_a-zA-Z]\\w*)",endCaptures:{1:{name:"variable.parameter.hx"}},patterns:[{include:"#global"},{include:"#metadata"},{include:"#operator-optional"}]},"parameter-type-hint":{begin:":",beginCaptures:{0:{name:"keyword.operator.type.annotation.hx"}},end:"(?=\\)(?!\\s*->)|,|=)",patterns:[{include:"#type"}]},parameters:{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.hx"}},end:"\\s*(\\)(?!\\s*->))",endCaptures:{1:{name:"punctuation.definition.parameters.end.hx"}},name:"meta.parameters.hx",patterns:[{include:"#parameter"}]},"punctuation-accessor":{match:"\\.",name:"punctuation.accessor.hx"},"punctuation-braces":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.hx"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.hx"}},patterns:[{include:"#keywords"},{include:"#block"},{include:"#block-contents"},{include:"#type-check"}]},"punctuation-comma":{match:",",name:"punctuation.separator.comma.hx"},"punctuation-terminator":{match:";",name:"punctuation.terminator.hx"},regex:{begin:"(~/)",beginCaptures:{1:{name:"punctuation.definition.string.begin.hx"}},end:"(/)([gimsu]*)",endCaptures:{1:{name:"punctuation.definition.string.end.hx"},2:{name:"keyword.other.hx"}},name:"string.regexp.hx",patterns:[{include:"#regexp"}]},"regex-character-class":{patterns:[{match:"\\\\[wWsSdDtrnvf]|\\.",name:"constant.other.character-class.regexp"},{match:"\\\\([0-7]{3}|x\\h\\h|u\\h\\h\\h\\h)",name:"constant.character.numeric.regexp"},{match:"\\\\c[A-Z]",name:"constant.character.control.regexp"},{match:"\\\\.",name:"constant.character.escape.backslash.regexp"}]},regexp:{patterns:[{match:"\\\\[bB]|\\^|\\$",name:"keyword.control.anchor.regexp"},{match:"\\\\[1-9]\\d*",name:"keyword.other.back-reference.regexp"},{match:"[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",name:"keyword.operator.quantifier.regexp"},{match:"\\|",name:"keyword.operator.or.regexp"},{begin:"(\\()((\\?=)|(\\?!))",beginCaptures:{1:{name:"punctuation.definition.group.regexp"},2:{name:"punctuation.definition.group.assertion.regexp"},3:{name:"meta.assertion.look-ahead.regexp"},4:{name:"meta.assertion.negative-look-ahead.regexp"}},end:"(\\))",endCaptures:{1:{name:"punctuation.definition.group.regexp"}},name:"meta.group.assertion.regexp",patterns:[{include:"#regexp"}]},{begin:"\\((\\?:)?",beginCaptures:{0:{name:"punctuation.definition.group.regexp"},1:{name:"punctuation.definition.group.capture.regexp"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.regexp"}},name:"meta.group.regexp",patterns:[{include:"#regexp"}]},{begin:"(\\[)(\\^)?",beginCaptures:{1:{name:"punctuation.definition.character-class.regexp"},2:{name:"keyword.operator.negation.regexp"}},end:"(\\])",endCaptures:{1:{name:"punctuation.definition.character-class.regexp"}},name:"constant.other.character-class.set.regexp",patterns:[{captures:{1:{name:"constant.character.numeric.regexp"},2:{name:"constant.character.control.regexp"},3:{name:"constant.character.escape.backslash.regexp"},4:{name:"constant.character.numeric.regexp"},5:{name:"constant.character.control.regexp"},6:{name:"constant.character.escape.backslash.regexp"}},match:"(?:.|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))",name:"constant.other.character-class.range.regexp"},{include:"#regex-character-class"}]},{include:"#regex-character-class"}]},"string-escape-sequences":{patterns:[{match:"\\\\[0-3][0-9]{2}",name:"constant.character.escape.hx"},{match:"\\\\x[0-9A-Fa-f]{2}",name:"constant.character.escape.hx"},{match:"\\\\u[0-9]{4}",name:"constant.character.escape.hx"},{match:"\\\\u\\{[0-9A-Fa-f]{1,}\\}",name:"constant.character.escape.hx"},{match:`\\\\[nrt"'\\\\]`,name:"constant.character.escape.hx"},{match:"\\\\.",name:"invalid.escape.sequence.hx"}]},strings:{patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.hx"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.hx"}},name:"string.quoted.double.hx",patterns:[{include:"#string-escape-sequences"}]},{begin:"(')",beginCaptures:{0:{name:"string.quoted.single.hx"},1:{name:"punctuation.definition.string.begin.hx"}},end:"(')",endCaptures:{0:{name:"string.quoted.single.hx"},1:{name:"punctuation.definition.string.end.hx"}},patterns:[{begin:"\\$(?=\\$)",beginCaptures:{0:{name:"constant.character.escape.hx"}},end:"\\$",endCaptures:{0:{name:"constant.character.escape.hx"}},name:"string.quoted.single.hx"},{include:"#string-escape-sequences"},{begin:"(\\${)",beginCaptures:{0:{name:"punctuation.definition.block.begin.hx"}},end:"(})",endCaptures:{0:{name:"punctuation.definition.block.end.hx"}},patterns:[{include:"#block-contents"}]},{captures:{1:{name:"punctuation.definition.block.begin.hx"},2:{name:"variable.other.hx"}},match:"(\\$)([_a-zA-Z]\\w*)"},{match:"",name:"constant.character.escape.hx"},{match:".",name:"string.quoted.single.hx"}]}]},type:{patterns:[{include:"#global"},{include:"#macro-reification"},{include:"#type-name"},{include:"#type-parameters"},{match:"->",name:"keyword.operator.type.function.hx"},{match:"&",name:"keyword.operator.type.intersection.hx"},{match:"\\?(?=\\s*[_A-Z])",name:"keyword.operator.optional"},{match:"\\?(?!\\s*[_A-Z])",name:"punctuation.definition.tag"},{begin:"(\\{)",beginCaptures:{0:{name:"punctuation.definition.block.begin.hx"}},end:"(?<=\\})",patterns:[{include:"#typedef-block"}]},{include:"#function-type"}]},"type-check":{begin:"(?<!macro)(?=:)",end:"(?=\\))",patterns:[{include:"#operator-type-hint"},{include:"#type"}]},"type-name":{patterns:[{captures:{1:{name:"support.class.builtin.hx"},2:{name:"support.package.hx"},3:{name:"entity.name.type.hx"}},match:"\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\.)(_*[A-Z]\\w*[a-z]\\w*))*\\b"},{captures:{1:{name:"support.package.hx"},3:{name:"entity.name.type.hx"},4:{name:"support.package.hx"},5:{name:"entity.name.type.hx"}},match:"\\b(?<![^.]\\.)((_*[a-z]\\w*\\.)*)(_*[A-Z]\\w*)(?:(\\.)(_*[A-Z]\\w*[a-z]\\w*))*\\b"}]},"type-parameter-constraint-new":{match:":",name:"keyword.operator.type.annotation.hxt"},"type-parameter-constraint-old":{begin:"(:)\\s*(\\()",beginCaptures:{1:{name:"keyword.operator.type.annotation.hx"},2:{name:"punctuation.definition.constraint.begin.hx"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.constraint.end.hx"}},patterns:[{include:"#type"},{include:"#punctuation-comma"}]},"type-parameters":{begin:"(<)",beginCaptures:{1:{name:"punctuation.definition.typeparameters.begin.hx"}},end:"(?=$)|(>)",endCaptures:{1:{name:"punctuation.definition.typeparameters.end.hx"}},name:"meta.type-parameters.hx",patterns:[{include:"#type"},{include:"#type-parameter-constraint-old"},{include:"#type-parameter-constraint-new"},{include:"#global"},{include:"#regex"},{include:"#array"},{include:"#constants"},{include:"#strings"},{include:"#metadata"},{include:"#punctuation-comma"}]},"type-path":{patterns:[{include:"#global"},{include:"#punctuation-accessor"},{include:"#type-path-type-name"}]},"type-path-package-name":{match:"\\b([_A-Za-z]\\w*)\\b",name:"support.package.hx"},"type-path-type-name":{match:"\\b(_*[A-Z]\\w*)\\b",name:"entity.name.type.hx"},typedef:{begin:"(?=typedef)",end:"(?<=\\})|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},name:"meta.typedef.hx",patterns:[{include:"#typedef-name"},{include:"#typedef-name-post"},{include:"#typedef-block"}]},"typedef-block":{begin:"(?<=\\{)",end:"(\\})",endCaptures:{1:{name:"punctuation.definition.block.end.hx"}},name:"meta.block.hx",patterns:[{include:"#global"},{include:"#metadata"},{include:"#method"},{include:"#variable"},{include:"#modifiers"},{include:"#punctuation-comma"},{include:"#operator-optional"},{include:"#typedef-extension"},{include:"#typedef-simple-field-type-hint"},{include:"#identifier-name"},{include:"#strings"}]},"typedef-extension":{begin:">",end:",|$",patterns:[{include:"#type"}]},"typedef-name":{begin:"\\b(typedef)\\b",beginCaptures:{1:{name:"storage.type.class.hx"}},end:"([_A-Za-z]\\w*)",endCaptures:{1:{name:"entity.name.type.class.hx"}},patterns:[{include:"#global"}]},"typedef-name-post":{begin:"(?<=\\w)",end:"(\\{)|(?=;)",endCaptures:{1:{name:"punctuation.definition.block.begin.hx"}},patterns:[{include:"#global"},{include:"#punctuation-brackets"},{include:"#punctuation-separator"},{include:"#operator-assignment"},{include:"#type"}]},"typedef-simple-field-type-hint":{begin:":",beginCaptures:{0:{name:"keyword.operator.type.annotation.hx"}},end:"(?=\\}|,|;)",patterns:[{include:"#type"}]},using:{begin:"using\\b",beginCaptures:{0:{name:"keyword.other.using.hx"}},end:"$|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},patterns:[{include:"#type-path"},{include:"#type-path-package-name"}]},variable:{begin:"(?=\\b(var|final)\\b)",end:"(?=$)|(;)",endCaptures:{1:{name:"punctuation.terminator.hx"}},patterns:[{include:"#variable-name"},{include:"#variable-name-next"},{include:"#variable-assign"},{include:"#variable-name-post"}]},"variable-accessors":{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.parameters.begin.hx"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.parameters.end.hx"}},name:"meta.parameters.hx",patterns:[{include:"#global"},{include:"#keywords-accessor"},{include:"#accessor-method"},{include:"#punctuation-comma"}]},"variable-assign":{begin:"=",beginCaptures:{0:{name:"keyword.operator.assignment.hx"}},end:"(?=;|,)",patterns:[{include:"#block"},{include:"#block-contents"}]},"variable-name":{begin:"\\b(var|final)\\b",beginCaptures:{1:{name:"storage.type.variable.hx"}},end:"(?=$)|([_a-zA-Z]\\w*)",endCaptures:{1:{name:"variable.other.hx"}},patterns:[{include:"#operator-optional"}]},"variable-name-next":{begin:",",beginCaptures:{0:{name:"punctuation.separator.comma.hx"}},end:"([_a-zA-Z]\\w*)",endCaptures:{1:{name:"variable.other.hx"}},patterns:[{include:"#global"}]},"variable-name-post":{begin:"(?<=\\w)",end:"(?=;)|(?==)",patterns:[{include:"#variable-accessors"},{include:"#variable-type-hint"},{include:"#block-contents"}]},"variable-type-hint":{begin:":",beginCaptures:{0:{name:"keyword.operator.type.annotation.hx"}},end:"(?=$|;|,|=)",patterns:[{include:"#type"}]}},scopeName:"source.hx"});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Qt Style Sheets",name:"qss",patterns:[{include:"#comment-block"},{include:"#rule-list"},{include:"#selector"}],repository:{color:{patterns:[{begin:"\\b(rgb|rgba|hsv|hsva|hsl|hsla)\\s*\\(",beginCaptures:{1:{name:"entity.name.function.qss"}},description:"Color Type",end:"\\)",patterns:[{include:"#comment-block"},{include:"#number"}]},{match:"\\b(white|black|red|darkred|green|darkgreen|blue|darkblue|cyan|darkcyan|magenta|darkmagenta|yellow|darkyellow|gray|darkgray|lightgray|transparent|color0|color1)\\b",name:"support.constant.property-value.named-color.qss"},{match:"#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b",name:"support.constant.property-value.color.qss"}]},"comment-block":{patterns:[{begin:"/\\*",end:"\\*/",name:"comment.block.qss"}]},"icon-properties":{patterns:[{match:"\\b(backward-icon|cd-icon|computer-icon|desktop-icon|dialog-apply-icon|dialog-cancel-icon|dialog-close-icon|dialog-discard-icon|dialog-help-icon|dialog-no-icon|dialog-ok-icon|dialog-open-icon|dialog-reset-icon|dialog-save-icon|dialog-yes-icon|directory-closed-icon|directory-icon|directory-link-icon|directory-open-icon|dockwidget-close-icon|downarrow-icon|dvd-icon|file-icon|file-link-icon|filedialog-contentsview-icon|filedialog-detailedview-icon|filedialog-end-icon|filedialog-infoview-icon|filedialog-listview-icon|filedialog-new-directory-icon|filedialog-parent-directory-icon|filedialog-start-icon|floppy-icon|forward-icon|harddisk-icon|home-icon|leftarrow-icon|messagebox-critical-icon|messagebox-information-icon|messagebox-question-icon|messagebox-warning-icon|network-icon|rightarrow-icon|titlebar-contexthelp-icon|titlebar-maximize-icon|titlebar-menu-icon|titlebar-minimize-icon|titlebar-normal-icon|titlebar-close-icon|titlebar-shade-icon|titlebar-unshade-icon|trash-icon|uparrow-icon)\\b",name:"support.type.property-name.qss"}]},"id-selector":{patterns:[{captures:{1:{name:"punctuation.definition.entity.qss"},2:{name:"entity.name.tag.qss"}},match:"(#)([a-zA-Z][a-zA-Z0-9_-]*)"}]},number:{patterns:[{description:"floating number",match:"\\b(\\d+)?\\.(\\d+)\\b",name:"constant.numeric.qss"},{description:"percentage",match:"\\b(\\d+)%",name:"constant.numeric.qss"},{description:"length",match:"\\b(\\d+)(px|pt|em|ex)?\\b",name:"constant.numeric.qss"},{description:"integer",match:"\\b(\\d+)\\b",name:"constant.numeric.qss"}]},properties:{patterns:[{include:"#property-values"},{match:"\\b(paint-alternating-row-colors-for-empty-area|dialogbuttonbox-buttons-have-icons|titlebar-show-tooltips-on-buttons|messagebox-text-interaction-flags|lineedit-password-mask-delay|outline-bottom-right-radius|lineedit-password-character|selection-background-color|outline-bottom-left-radius|border-bottom-right-radius|alternate-background-color|widget-animation-duration|border-bottom-left-radius|show-decoration-selected|outline-top-right-radius|outline-top-left-radius|border-top-right-radius|border-top-left-radius|background-attachment|subcontrol-position|border-bottom-width|border-bottom-style|border-bottom-color|background-position|border-right-width|border-right-style|border-right-color|subcontrol-origin|border-left-width|border-left-style|border-left-color|background-origin|background-repeat|border-top-width|border-top-style|border-top-color|background-image|background-color|text-decoration|selection-color|background-clip|padding-bottom|outline-radius|outline-offset|image-position|gridline-color|padding-right|outline-style|outline-color|margin-bottom|button-layout|border-radius|border-bottom|padding-left|margin-right|border-width|border-style|border-image|border-color|border-right|padding-top|margin-left|font-weight|font-family|border-left|text-align|min-height|max-height|margin-top|font-style|border-top|background|min-width|max-width|icon-size|font-size|position|spacing|padding|outline|opacity|margin|height|bottom|border|width|right|image|color|left|font|top)\\b",name:"support.type.property-name.qss"},{include:"#icon-properties"}]},"property-selector":{patterns:[{begin:"\\[",end:"\\]",patterns:[{include:"#comment-block"},{include:"#string"},{match:"\\b[_a-zA-Z]\\w*\\b",name:"variable.parameter.qml"}]}]},"property-values":{patterns:[{begin:":",end:";|(?=\\})",patterns:[{include:"#comment-block"},{include:"#color"},{begin:"\\b(qlineargradient|qradialgradient|qconicalgradient)\\s*\\(",beginCaptures:{1:{name:"entity.name.function.qss"}},description:"Gradient Type",end:"\\)",patterns:[{include:"#comment-block"},{match:"\\b(x1|y1|x2|y2|stop|angle|radius|cx|cy|fx|fy)\\b",name:"variable.parameter.qss"},{include:"#color"},{include:"#number"}]},{begin:"\\b(url)\\s*\\(",beginCaptures:{1:{name:"entity.name.function.qss"}},contentName:"string.unquoted.qss",description:"URL Type",end:"\\)"},{match:"\\bpalette\\s*(?=\\()\\b",name:"entity.name.function.qss"},{match:"\\b(highlighted-text|alternate-base|line-through|link-visited|dot-dot-dash|window-text|button-text|bright-text|underline|no-repeat|highlight|overline|absolute|relative|repeat-y|repeat-x|midlight|selected|disabled|dot-dash|content|padding|oblique|stretch|repeat|window|shadow|button|border|margin|active|italic|normal|outset|groove|double|dotted|dashed|repeat|scroll|center|bottom|light|solid|ridge|inset|fixed|right|text|link|dark|base|bold|none|left|mid|off|top|on)\\b",name:"support.constant.property-value.qss"},{match:"\\b(true|false)\\b",name:"constant.language.boolean.qss"},{include:"#string"},{include:"#number"}]}]},"pseudo-states":{patterns:[{match:"\\b(active|adjoins-item|alternate|bottom|checked|closable|closed|default|disabled|editable|edit-focus|enabled|exclusive|first|flat|floatable|focus|has-children|has-siblings|horizontal|hover|indeterminate|last|left|maximized|middle|minimized|movable|no-frame|non-exclusive|off|on|only-one|open|next-selected|pressed|previous-selected|read-only|right|selected|top|unchecked|vertical|window)\\b",name:"keyword.control.qss"}]},"rule-list":{patterns:[{begin:"\\{",end:"\\}",patterns:[{include:"#comment-block"},{include:"#properties"},{include:"#icon-properties"}]}]},selector:{patterns:[{include:"#stylable-widgets"},{include:"#sub-controls"},{include:"#pseudo-states"},{include:"#property-selector"},{include:"#id-selector"}]},string:{description:"String literal with double or signle quote.",patterns:[{begin:"'",end:"'",name:"string.quoted.single.qml"},{begin:'"',end:'"',name:"string.quoted.double.qml"}]},"stylable-widgets":{patterns:[{match:"\\b(QAbstractScrollArea|QAbstractItemView|QCheckBox|QColumnView|QComboBox|QDateEdit|QDateTimeEdit|QDialog|QDialogButtonBox|QDockWidget|QDoubleSpinBox|QFrame|QGroupBox|QHeaderView|QLabel|QLineEdit|QListView|QListWidget|QMainWindow|QMenu|QMenuBar|QMessageBox|QProgressBar|QPlainTextEdit|QPushButton|QRadioButton|QScrollBar|QSizeGrip|QSlider|QSpinBox|QSplitter|QStatusBar|QTabBar|QTabWidget|QTableView|QTableWidget|QTextEdit|QTimeEdit|QToolBar|QToolButton|QToolBox|QToolTip|QTreeView|QTreeWidget|QWidget)\\b",name:"entity.name.type.qss"}]},"sub-controls":{patterns:[{match:"\\b(add-line|add-page|branch|chunk|close-button|corner|down-arrow|down-button|drop-down|float-button|groove|indicator|handle|icon|item|left-arrow|left-corner|menu-arrow|menu-button|menu-indicator|right-arrow|pane|right-corner|scroller|section|separator|sub-line|sub-page|tab|tab-bar|tear|tearoff|text|title|up-arrow|up-button)\\b",name:"entity.other.inherited-class.qss"}]}},scopeName:"source.qss"});var t=[e];export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Fluent",name:"fluent",patterns:[{include:"#comment"},{include:"#message"},{include:"#wrong-line"}],repository:{attributes:{begin:"\\s*(\\.[a-zA-Z][a-zA-Z0-9_-]*\\s*=\\s*)",beginCaptures:{1:{name:"support.class.attribute-begin.fluent"}},end:"^(?=\\s*[^\\.])",patterns:[{include:"#placeable"}]},comment:{match:"^##?#?\\s.*$",name:"comment.fluent"},"function-comma":{match:",",name:"support.function.function-comma.fluent"},"function-named-argument":{begin:'([a-zA-Z0-9]+:)\\s*(["a-zA-Z0-9]+)',beginCaptures:{1:{name:"support.function.named-argument.name.fluent"},2:{name:"variable.other.named-argument.value.fluent"}},end:"(?=\\)|,|\\s)",name:"variable.other.named-argument.fluent"},"function-positional-argument":{match:"\\$[a-zA-Z0-9_-]+",name:"variable.other.function.positional-argument.fluent"},"invalid-placeable-string-missing-end-quote":{match:'"[^"]+$',name:"invalid.illegal.wrong-placeable-missing-end-quote.fluent"},"invalid-placeable-wrong-placeable-missing-end":{match:"([^}A-Z]*$|[^-][^>]$)\\b",name:"invalid.illegal.wrong-placeable-missing-end.fluent"},message:{begin:"^(-?[a-zA-Z][a-zA-Z0-9_-]*\\s*=\\s*)",beginCaptures:{1:{name:"support.class.message-identifier.fluent"}},contentName:"string.fluent",end:"^(?=\\S)",patterns:[{include:"#attributes"},{include:"#placeable"}]},placeable:{begin:"({)",beginCaptures:{1:{name:"keyword.placeable.begin.fluent"}},contentName:"variable.other.placeable.content.fluent",end:"(})",endCaptures:{1:{name:"keyword.placeable.end.fluent"}},patterns:[{include:"#placeable-string"},{include:"#placeable-function"},{include:"#placeable-reference-or-number"},{include:"#selector"},{include:"#invalid-placeable-wrong-placeable-missing-end"},{include:"#invalid-placeable-string-missing-end-quote"},{include:"#invalid-placeable-wrong-function-name"}]},"placeable-function":{begin:"([A-Z][A-Z0-9_-]*\\()",beginCaptures:{1:{name:"support.function.placeable-function.call.begin.fluent"}},contentName:"string.placeable-function.fluent",end:"(\\))",endCaptures:{1:{name:"support.function.placeable-function.call.end.fluent"}},patterns:[{include:"#function-comma"},{include:"#function-positional-argument"},{include:"#function-named-argument"}]},"placeable-reference-or-number":{match:"((-|\\$)[a-zA-Z0-9_-]+|[a-zA-Z][a-zA-Z0-9_-]*|[0-9]+)",name:"variable.other.placeable.reference-or-number.fluent"},"placeable-string":{begin:'(")(?=[^\\n]*")',beginCaptures:{1:{name:"variable.other.placeable-string-begin.fluent"}},contentName:"string.placeable-string-content.fluent",end:'(")',endCaptures:{1:{name:"variable.other.placeable-string-end.fluent"}}},selector:{begin:"(->)",beginCaptures:{1:{name:"support.function.selector.begin.fluent"}},contentName:"string.selector.content.fluent",end:"^(?=\\s*})",patterns:[{include:"#selector-item"}]},"selector-item":{begin:"(\\s*\\*?\\[)([a-zA-Z0-9_-]+)(\\]\\s*)",beginCaptures:{1:{name:"support.function.selector-item.begin.fluent"},2:{name:"variable.other.selector-item.begin.fluent"},3:{name:"support.function.selector-item.begin.fluent"}},contentName:"string.selector-item.content.fluent",end:"^(?=(\\s*})|(\\s*\\[)|(\\s*\\*))",patterns:[{include:"#placeable"}]},"wrong-line":{match:".*",name:"invalid.illegal.wrong-line.fluent"}},scopeName:"source.ftl",aliases:["ftl"]});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"QML Directory",name:"qmldir",patterns:[{include:"#comment"},{include:"#keywords"},{include:"#version"},{include:"#names"}],repository:{comment:{patterns:[{begin:"#",end:"$",name:"comment.line.number-sign.qmldir"}]},"file-name":{patterns:[{match:"\\b\\w+\\.(qmltypes|qml|js)\\b",name:"string.unquoted.qmldir"}]},identifier:{patterns:[{match:"\\b\\w+\\b",name:"variable.parameter.qmldir"}]},keywords:{patterns:[{match:"\\b(module|singleton|internal|plugin|classname|typeinfo|depends|designersupported)\\b",name:"keyword.other.qmldir"}]},"module-name":{patterns:[{match:"\\b[A-Z]\\w*\\b",name:"entity.name.type.qmldir"}]},names:{patterns:[{include:"#file-name"},{include:"#module-name"},{include:"#identifier"}]},version:{patterns:[{match:"\\b\\d+\\.\\d+\\b",name:"constant.numeric.qml"}]}},scopeName:"source.qmldir"});var n=[e];export{n as default};
|