intlayer-editor 9.1.3 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/dist/assets/CodeBlockShiki-Drr0NHS1.js +2 -0
- package/client/dist/assets/{MarkDownRender-abnRFgQ-.js → MarkDownRender-BbMifpm_.js} +3 -3
- package/client/dist/assets/MarkDownRender-C4PAQjVe.js +1 -0
- package/client/dist/assets/MarkdownEditor-B6XI2D3u.js +198 -0
- package/client/dist/assets/actionscript-3-Cs6JJXT5.js +1 -0
- package/client/dist/assets/ahk-CA9gdOdF.js +1 -0
- package/client/dist/assets/ahk2-_6rzW9BS.js +1 -0
- package/client/dist/assets/{angular-html-GDUx1il_.js → angular-html-B8mrqUL5.js} +1 -1
- package/client/dist/assets/angular-html-DdvhLupu.js +1 -0
- package/client/dist/assets/{angular-ts-DxeeMHNV.js → angular-ts-Bzix210W.js} +1 -1
- package/client/dist/assets/angular-ts-D1ZzN69u.js +1 -0
- package/client/dist/assets/apex-KFGFyKwG.js +1 -0
- package/client/dist/assets/{apl-BZnWYwl_.js → apl-Dhin1L29.js} +1 -1
- package/client/dist/assets/asciidoc-SCjQUq34.js +1 -0
- package/client/dist/assets/astro-BOigG5MK.js +1 -0
- package/client/dist/assets/{astro-TFwSJeev.js → astro-CP_fXwLT.js} +1 -1
- package/client/dist/assets/bash-DJPw08Gl.js +1 -0
- package/client/dist/assets/{bat-Bo4NYOV-.js → bat-qdxAdBWQ.js} +1 -1
- package/client/dist/assets/bird2-CYIUgYqB.js +1 -0
- package/client/dist/assets/{blade-5AFNzmCV.js → blade-C9OtwYXd.js} +1 -1
- package/client/dist/assets/bsl-_VjlB9mv.js +1 -0
- package/client/dist/assets/bundle-web-2-Ie7W2V.js +2 -0
- package/client/dist/assets/{c-Blw65jlH.js → c-iCihek07.js} +1 -1
- package/client/dist/assets/c3-D0apG41V.js +1 -0
- package/client/dist/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
- package/client/dist/assets/catppuccin-latte-CtsyrtPq.js +1 -0
- package/client/dist/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
- package/client/dist/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
- package/client/dist/assets/chapel-DmtgEXO_.js +1 -0
- package/client/dist/assets/clarity-CtfBBspg.js +1 -0
- package/client/dist/assets/{cobol-XL-wCgBL.js → cobol-Cw2-KvLW.js} +1 -1
- package/client/dist/assets/{coffee-CC-CTfG5.js → coffee-CiiSLhB6.js} +1 -1
- package/client/dist/assets/coq-DuBRPxYg.js +1 -0
- package/client/dist/assets/cpp-71xkOQct.js +1 -0
- package/client/dist/assets/{crystal-Dl4-x17T.js → crystal-DGPAtLeY.js} +1 -1
- package/client/dist/assets/css-B4wZOiGx.js +1 -0
- package/client/dist/assets/{css-oq4KMCBk.js → css-CNuuLpMC.js} +1 -1
- package/client/dist/assets/{dist-oJho0qAp.js → dist-BMR831Ty.js} +1 -1
- package/client/dist/assets/dist-DBiC10jV.js +12 -0
- package/client/dist/assets/{edge-DEl7aijJ.js → edge-BssoORKC.js} +1 -1
- package/client/dist/assets/{elixir-BlYHe8Un.js → elixir-DP304Xio.js} +1 -1
- package/client/dist/assets/{elm-BfHi1MFa.js → elm-o4NJxfws.js} +1 -1
- package/client/dist/assets/emacs-lisp-c_oH4hRZ.js +1 -0
- package/client/dist/assets/{erb-CLZwFRoF.js → erb-C7MPl934.js} +1 -1
- package/client/dist/assets/{gdresource-C0sCabJj.js → gdresource-xMC7jr7x.js} +1 -1
- package/client/dist/assets/gdscript-DYvRD3hg.js +1 -0
- package/client/dist/assets/{git-rebase-09-F-Xjy.js → git-rebase-BDPpS8w6.js} +1 -1
- package/client/dist/assets/{glimmer-js-Ckf0CfcS.js → glimmer-js-BONyzAsu.js} +1 -1
- package/client/dist/assets/{glimmer-ts-DmrA1uPz.js → glimmer-ts-f9c0GCOe.js} +1 -1
- package/client/dist/assets/{glsl-CNFhMZ3o.js → glsl-D5MA2a_X.js} +1 -1
- package/client/dist/assets/{graphql-Bs_icwQf.js → graphql-Ctjuxyvl.js} +1 -1
- package/client/dist/assets/hack-Dh_ZLRbs.js +1 -0
- package/client/dist/assets/{haml-BffKgPjF.js → haml-CwEpbK1d.js} +1 -1
- package/client/dist/assets/{handlebars-CnPxLQN8.js → handlebars-ryMP1rBR.js} +1 -1
- package/client/dist/assets/haxe-C8oCnwJJ.js +1 -0
- package/client/dist/assets/html-C8J32C4L.js +1 -0
- package/client/dist/assets/{html-BBwwBXFu.js → html-XwrE-1r6.js} +1 -1
- package/client/dist/assets/{html-derivative-DlCYEGeD.js → html-derivative-CZmrFNOW.js} +1 -1
- package/client/dist/assets/{http-D8fCFQUQ.js → http-kmH8AyfE.js} +1 -1
- package/client/dist/assets/{hurl-14JhHsIH.js → hurl-DCZHXKU4.js} +1 -1
- package/client/dist/assets/hxml-Dcm88srW.js +1 -0
- package/client/dist/assets/index-BHN0yIoc.js +166 -0
- package/client/dist/assets/{java-MBw7zHAA.js → java-DdHNQ9hk.js} +1 -1
- package/client/dist/assets/javascript-D3QwfYpG.js +1 -0
- package/client/dist/assets/{javascript-BttINa8q.js → javascript-obGGvMPs.js} +1 -1
- package/client/dist/assets/{jinja-BB8I8LH4.js → jinja-B-tLrNsM.js} +1 -1
- package/client/dist/assets/{jison-DsrzMHSA.js → jison-CBjhYtSs.js} +1 -1
- package/client/dist/assets/json-BEKLEUsd.js +1 -0
- package/client/dist/assets/{json-BNRlFZ-5.js → json-DAgxKhMr.js} +1 -1
- package/client/dist/assets/{jsx-UEmBU27c.js → jsx-gTgmArGx.js} +1 -1
- package/client/dist/assets/{julia-BFXv4sM2.js → julia-CXJVy74_.js} +1 -1
- package/client/dist/assets/{just-CPBBCI7q.js → just-B9Xn_Dp4.js} +1 -1
- package/client/dist/assets/kanagawa-dragon-Bozd7klA.js +1 -0
- package/client/dist/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
- package/client/dist/assets/kanagawa-wave-BML5mF2J.js +1 -0
- package/client/dist/assets/latex-o9DRzaEe.js +1 -0
- package/client/dist/assets/{liquid-Cv-R79y_.js → liquid-G0MH4h_m.js} +1 -1
- package/client/dist/assets/{llvm-Cm23YOpf.js → llvm-DqHOMS-s.js} +1 -1
- package/client/dist/assets/{lua-Bc0cVuDM.js → lua-FONpmTUP.js} +1 -1
- package/client/dist/assets/luau-C2pBCSgt.js +1 -0
- package/client/dist/assets/{marko-Cydystb1.js → marko-DV5GrDmo.js} +1 -1
- package/client/dist/assets/mdc-DDp9N6h-.js +1 -0
- package/client/dist/assets/mermaid-BxpfTIzt.js +1 -0
- package/client/dist/assets/mojo-CFuIV2fl.js +1 -0
- package/client/dist/assets/monokai-B_bV9PQ9.js +1 -0
- package/client/dist/assets/moonbit-DgjMoLWr.js +1 -0
- package/client/dist/assets/move-BYnGhZoM.js +1 -0
- package/client/dist/assets/{nginx-BDAkFTs4.js → nginx-BTMw9COX.js} +1 -1
- package/client/dist/assets/{nim-Cr3LyLLK.js → nim-B6yJ_yaC.js} +1 -1
- package/client/dist/assets/nsis-CjNLYCLg.js +1 -0
- package/client/dist/assets/nushell-DHYfO66s.js +1 -0
- package/client/dist/assets/org-Ddi8Gs6E.js +1 -0
- package/client/dist/assets/{perl-CIkRV9Rv.js → perl-DEgXgjuC.js} +1 -1
- package/client/dist/assets/{php-Lo_cJrZw.js → php-B9UPq-vz.js} +1 -1
- package/client/dist/assets/{postcss-9tdIZBLq.js → postcss-DjpeKS93.js} +1 -1
- package/client/dist/assets/{powershell-DshXNtvi.js → powershell-CCSX75yM.js} +1 -1
- package/client/dist/assets/prisma-DMgNhnYS.js +1 -0
- package/client/dist/assets/{pug-DIfIg5aG.js → pug-DkgDHZci.js} +1 -1
- package/client/dist/assets/purify.es-JEAr64Sr.js +3 -0
- package/client/dist/assets/{qml-DGFlbsc_.js → qml-_a-QhfPD.js} +1 -1
- package/client/dist/assets/r-BHcO8Vjq.js +1 -0
- package/client/dist/assets/{razor-DYw8eU8D.js → razor-BMJ0eI3p.js} +1 -1
- package/client/dist/assets/rbs-C0MpOrj4.js +1 -0
- package/client/dist/assets/{react-6C37rxNK.js → react-CwJFpaho.js} +1 -1
- package/client/dist/assets/red-DX1BQOs8.js +1 -0
- package/client/dist/assets/{regexp-DNT4mv-6.js → regexp-DR20uMnK.js} +1 -1
- package/client/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/client/dist/assets/rose-pine-aMsaMD1D.js +1 -0
- package/client/dist/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
- package/client/dist/assets/rose-pine-moon-DO-qXg-I.js +1 -0
- package/client/dist/assets/{rst-Dk81JX5f.js → rst-D_zF0oSf.js} +1 -1
- package/client/dist/assets/{ruby-CGbPXxQs.js → ruby-B8JcIHv0.js} +1 -1
- package/client/dist/assets/{sas-DUYNvyuO.js → sas-CBpMWA2M.js} +1 -1
- package/client/dist/assets/{scala-DKOlJaKm.js → scala-BiFt_7mu.js} +1 -1
- package/client/dist/assets/{scss-uCvqxuFc.js → scss-YesllqfO.js} +1 -1
- package/client/dist/assets/{shellscript-CoI_i11P.js → shellscript-Da78Ox-3.js} +1 -1
- package/client/dist/assets/{shellsession-o4Zr-oXZ.js → shellsession-CVsQGYfZ.js} +1 -1
- package/client/dist/assets/smalltalk-BHpQb5nM.js +1 -0
- package/client/dist/assets/smithy-Dgaz7aur.js +1 -0
- package/client/dist/assets/solarized-dark-UdsmMDCL.js +1 -0
- package/client/dist/assets/solarized-light-C1IUL_tW.js +1 -0
- package/client/dist/assets/solidity-Bj7E1mRn.js +1 -0
- package/client/dist/assets/{soy-DviXHfWL.js → soy-DEd-qcad.js} +1 -1
- package/client/dist/assets/{sql-DsTevJ9n.js → sql-DdD7vxS4.js} +1 -1
- package/client/dist/assets/{stata-BoeeGEJN.js → stata-CMv7m7Gi.js} +1 -1
- package/client/dist/assets/surrealql-BZoq2lXR.js +1 -0
- package/client/dist/assets/svelte-BfB1UVP4.js +1 -0
- package/client/dist/assets/{svelte-BKCyX1Uu.js → svelte-ilNq7Lfa.js} +1 -1
- package/client/dist/assets/swift-CyEgAFGc.js +1 -0
- package/client/dist/assets/system-verilog-Dh5ihWbf.js +1 -0
- package/client/dist/assets/{templ-DEr9KWft.js → templ-TjxbArHn.js} +1 -1
- package/client/dist/assets/tex-BK-H2Wn4.js +1 -0
- package/client/dist/assets/{ts-tags-Dl7VxY0i.js → ts-tags-Cc5do7zu.js} +1 -1
- package/client/dist/assets/{tsx-HeIVaWJk.js → tsx-CUOciP0b.js} +1 -1
- package/client/dist/assets/tsx-pz6HK4Kt.js +1 -0
- package/client/dist/assets/twig-BVSnuTf-.js +1 -0
- package/client/dist/assets/{typescript-CKFhM_78.js → typescript-BydbNFcO.js} +1 -1
- package/client/dist/assets/typescript-C1HUSq0F.js +1 -0
- package/client/dist/assets/{v-DETTlOr0.js → v-DBj4K9d_.js} +1 -1
- package/client/dist/assets/{vb-Djn5o6TS.js → vb-DOwzaHZ0.js} +1 -1
- package/client/dist/assets/verilog-B2gwz-sJ.js +1 -0
- package/client/dist/assets/{vue-DTJKJr7l.js → vue-CPLyymta.js} +1 -1
- package/client/dist/assets/vue-Dp3wEN59.js +1 -0
- package/client/dist/assets/{vue-html-Bcgt8jrn.js → vue-html-DkKkQnZL.js} +1 -1
- package/client/dist/assets/{vue-vine-aDZLcOjt.js → vue-vine-BQzmGpSB.js} +1 -1
- package/client/dist/assets/{xml-Dt-VRNGg.js → xml-BlnrEAEy.js} +1 -1
- package/client/dist/assets/xml-CgBKDvjc.js +1 -0
- package/client/dist/assets/{xsl-Cfl5-n_a.js → xsl-BOPS8gLt.js} +1 -1
- package/client/dist/assets/yaml-CxGkb6KZ.js +1 -0
- package/client/dist/assets/{yaml-BFRNvut5.js → yaml-Du_6cdrH.js} +1 -1
- package/client/dist/index.html +3 -3
- package/package.json +18 -18
- package/client/dist/assets/CodeBlockShiki-ClYluZcU.js +0 -2
- package/client/dist/assets/MarkDownRender-BJOfADcY.js +0 -1
- package/client/dist/assets/MarkdownEditor-DL7pMjbA.js +0 -198
- package/client/dist/assets/actionscript-3--17pq3dv.js +0 -1
- package/client/dist/assets/angular-html-4FNbJSpd.js +0 -1
- package/client/dist/assets/angular-ts-C1tA97Pk.js +0 -1
- package/client/dist/assets/apex-VAyPSnFM.js +0 -1
- package/client/dist/assets/asciidoc-DE70LPWp.js +0 -1
- package/client/dist/assets/astro-DSk134xP.js +0 -1
- package/client/dist/assets/bash-BZ_E_HZa.js +0 -1
- package/client/dist/assets/bird2-C6vDhewU.js +0 -1
- package/client/dist/assets/bsl-BkkzgIyY.js +0 -1
- package/client/dist/assets/bundle-web-Chwh8vY9.js +0 -2
- package/client/dist/assets/c3-BFHwR3_K.js +0 -1
- package/client/dist/assets/catppuccin-frappe-3VR1Za6u.js +0 -1
- package/client/dist/assets/catppuccin-latte-DwIHMF0Q.js +0 -1
- package/client/dist/assets/catppuccin-macchiato-DYnBP6_5.js +0 -1
- package/client/dist/assets/catppuccin-mocha-DYhrFGRu.js +0 -1
- package/client/dist/assets/clarity-SemFz856.js +0 -1
- package/client/dist/assets/coq-BrsZFFmf.js +0 -1
- package/client/dist/assets/cpp-ClrH8BDm.js +0 -1
- package/client/dist/assets/css-DnwUiiQU.js +0 -1
- package/client/dist/assets/dist-T2bLS86e.js +0 -12
- package/client/dist/assets/emacs-lisp-B4R74twV.js +0 -1
- package/client/dist/assets/gdscript-Cp2uCuqX.js +0 -1
- package/client/dist/assets/hack-DDVusiAf.js +0 -1
- package/client/dist/assets/haxe-OTjmBuCE.js +0 -1
- package/client/dist/assets/html-CLUDcAUZ.js +0 -1
- package/client/dist/assets/hxml-B0Qn7Nwc.js +0 -1
- package/client/dist/assets/index-BMcHk0Ne.js +0 -166
- package/client/dist/assets/javascript-GqdpWK4X.js +0 -1
- package/client/dist/assets/json-D-W1nVm3.js +0 -1
- package/client/dist/assets/kanagawa-dragon-CXtmUGW6.js +0 -1
- package/client/dist/assets/kanagawa-lotus-BN08jTvb.js +0 -1
- package/client/dist/assets/kanagawa-wave-CTweb8Dz.js +0 -1
- package/client/dist/assets/latex-DRm4Enns.js +0 -1
- package/client/dist/assets/luau-FMPmPwt6.js +0 -1
- package/client/dist/assets/mdc-F16vulAt.js +0 -1
- package/client/dist/assets/mermaid-Bk4SNUv9.js +0 -1
- package/client/dist/assets/mojo-BgCJLMeH.js +0 -1
- package/client/dist/assets/monokai-CdkpiU2Y.js +0 -1
- package/client/dist/assets/moonbit-CaWjb8XO.js +0 -1
- package/client/dist/assets/move-B1IS1UjX.js +0 -1
- package/client/dist/assets/nushell-DcLAeLz5.js +0 -1
- package/client/dist/assets/prisma-BsRQq5mF.js +0 -1
- package/client/dist/assets/purify.es-DuRL7t6i.js +0 -3
- package/client/dist/assets/r-BrtO6otC.js +0 -1
- package/client/dist/assets/red-CJ3rzSJv.js +0 -1
- package/client/dist/assets/rolldown-runtime-CNC7AqOf.js +0 -1
- package/client/dist/assets/rose-pine-BthvhNj6.js +0 -1
- package/client/dist/assets/rose-pine-dawn-Dg85fqjY.js +0 -1
- package/client/dist/assets/rose-pine-moon-hon4tzzS.js +0 -1
- package/client/dist/assets/smalltalk-B16xEiuN.js +0 -1
- package/client/dist/assets/solarized-dark-DV17i1UV.js +0 -1
- package/client/dist/assets/solarized-light-DSh2HLQt.js +0 -1
- package/client/dist/assets/solidity-CKzVLygQ.js +0 -1
- package/client/dist/assets/surrealql-DZFWP0QQ.js +0 -1
- package/client/dist/assets/svelte-CvMdTL-3.js +0 -1
- package/client/dist/assets/swift-DonLKvLd.js +0 -1
- package/client/dist/assets/system-verilog-DJ5XKQeo.js +0 -1
- package/client/dist/assets/tex-DtyfcXbs.js +0 -1
- package/client/dist/assets/tsx-DA9DE6wS.js +0 -1
- package/client/dist/assets/twig-TIwAW_ii.js +0 -1
- package/client/dist/assets/typescript-544uMjEi.js +0 -1
- package/client/dist/assets/verilog-CiiDBU1e.js +0 -1
- package/client/dist/assets/vue-D5hTo1Bd.js +0 -1
- package/client/dist/assets/xml-BmD4dEuW.js +0 -1
- package/client/dist/assets/yaml-CFIusU1S.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"Mojo","name":"mojo","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated-parameter":{"begin":"\\\\b([_[:alpha:]]\\\\w*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.annotation.python"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"}]},"assignment-operator":{"match":"<<=|>>=|//=|\\\\*\\\\*=|\\\\+=|-=|/=|@=|\\\\*=|%=|~=|\\\\^=|&=|\\\\|=|=(?!=)","name":"keyword.operator.assignment.python"},"backticks":{"begin":"\`","end":"\`|(?<!\\\\\\\\)(\\\\n)","name":"string.quoted.single.python"},"builtin-callables":{"patterns":[{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#builtin-exceptions"},{"include":"#builtin-functions"},{"include":"#builtin-types"}]},"builtin-exceptions":{"match":"(?<!\\\\.)\\\\b((Arithmetic|Assertion|Attribute|Buffer|BlockingIO|BrokenPipe|ChildProcess|(Connection(Aborted|Refused|Reset)?)|EOF|Environment|FileExists|FileNotFound|FloatingPoint|IO|Import|Indentation|Index|Interrupted|IsADirectory|NotADirectory|Permission|ProcessLookup|Timeout|Key|Lookup|Memory|Name|NotImplemented|OS|Overflow|Reference|Runtime|Recursion|Syntax|System|Tab|Type|UnboundLocal|Unicode(Encode|Decode|Translate)?|Value|Windows|ZeroDivision|ModuleNotFound)Error|((Pending)?Deprecation|Runtime|Syntax|User|Future|Import|Unicode|Bytes|Resource)?Warning|SystemExit|Stop(Async)?Iteration|KeyboardInterrupt|GeneratorExit|(Base)?Exception)\\\\b","name":"support.type.exception.python"},"builtin-functions":{"patterns":[{"match":"(?<!\\\\.)\\\\b(__import__|abs|aiter|all|any|anext|ascii|bin|breakpoint|callable|chr|compile|copyright|credits|delattr|dir|divmod|enumerate|eval|exec|exit|filter|format|getattr|globals|hasattr|hash|help|hex|id|input|isinstance|issubclass|iter|len|license|locals|map|max|memoryview|min|next|oct|open|ord|pow|print|quit|range|reload|repr|reversed|round|setattr|sorted|sum|vars|zip)\\\\b","name":"support.function.builtin.python"},{"match":"(?<!\\\\.)\\\\b(file|reduce|intern|raw_input|unicode|cmp|basestring|execfile|long|xrange)\\\\b","name":"variable.legacy.builtin.python"}]},"builtin-possible-callables":{"patterns":[{"include":"#builtin-callables"},{"include":"#magic-names"}]},"builtin-types":{"match":"(?<!\\\\.)\\\\b(__mlir_attr|__mlir_op|__mlir_type|bool|bytearray|bytes|classmethod|complex|dict|float|frozenset|int|SIMD|list|object|property|set|slice|staticmethod|always_inline|capturing|parameter|throws|escaping|str|tuple|type|super)\\\\b","name":"support.type.python"},"call-wrapper-inheritance":{"begin":"\\\\b(?=([_[:alpha:]]\\\\w*)\\\\s*(\\\\())","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.function-call.python","patterns":[{"include":"#inheritance-name"},{"include":"#function-arguments"}]},"class-declaration":{"patterns":[{"begin":"\\\\s*(class|struct|trait)\\\\s+(?=[_[:alpha:]]\\\\w*\\\\s*([(:]))","beginCaptures":{"1":{"name":"storage.type.class.python"}},"end":"(:)","endCaptures":{"1":{"name":"punctuation.section.class.begin.python"}},"name":"meta.class.python","patterns":[{"include":"#class-name"},{"include":"#class-inheritance"}]}]},"class-inheritance":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.inheritance.begin.python"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.inheritance.end.python"}},"name":"meta.class.inheritance.python","patterns":[{"match":"(\\\\*\\\\*?)","name":"keyword.operator.unpacking.arguments.python"},{"match":",","name":"punctuation.separator.inheritance.python"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"},{"match":"\\\\bmetaclass\\\\b","name":"support.type.metaclass.python"},{"include":"#illegal-names"},{"include":"#class-kwarg"},{"include":"#call-wrapper-inheritance"},{"include":"#expression-base"},{"include":"#member-access-class"},{"include":"#inheritance-identifier"}]},"class-kwarg":{"captures":{"1":{"name":"entity.other.inherited-class.python variable.parameter.class.python"},"2":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\s*(=)(?!=)"},"class-name":{"patterns":[{"include":"#illegal-object-name"},{"include":"#builtin-possible-callables"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b","name":"entity.name.type.class.python"}]},"codetags":{"captures":{"1":{"name":"keyword.codetag.notation.python"}},"match":"\\\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\\\b"},"comments":{"patterns":[{"begin":"#\\\\s*(type:)\\\\s*+(?!$|#)","beginCaptures":{"0":{"name":"meta.typehint.comment.python"},"1":{"name":"comment.typehint.directive.notation.python"}},"contentName":"meta.typehint.comment.python","end":"$|(?=#)","name":"comment.line.number-sign.python","patterns":[{"match":"\\\\Gignore(?=\\\\s*(?:$|#))","name":"comment.typehint.ignore.notation.python"},{"match":"(?<!\\\\.)\\\\b(bool|bytes|float|int|object|str|List|Dict|Iterable|Sequence|Set|FrozenSet|Callable|Union|Tuple|Any|None)\\\\b","name":"comment.typehint.type.notation.python"},{"match":"([]()*,.=\\\\[]|(->))","name":"comment.typehint.punctuation.notation.python"},{"match":"([_[:alpha:]]\\\\w*)","name":"comment.typehint.variable.notation.python"}]},{"include":"#comments-base"}]},"comments-base":{"begin":"(#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"$()","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"comments-string-double-three":{"begin":"(#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"($|(?=\\"\\"\\"))","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"comments-string-single-three":{"begin":"(#)","beginCaptures":{"1":{"name":"punctuation.definition.comment.python"}},"end":"($|(?='''))","name":"comment.line.number-sign.python","patterns":[{"include":"#codetags"}]},"curly-braces":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.python"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dict.end.python"}},"patterns":[{"match":":","name":"punctuation.separator.dict.python"},{"include":"#expression"}]},"decorator":{"begin":"^\\\\s*((@))\\\\s*(?=[_[:alpha:]]\\\\w*)","beginCaptures":{"1":{"name":"entity.name.function.decorator.python"},"2":{"name":"punctuation.definition.decorator.python"}},"end":"(\\\\))(.*?)(?=\\\\s*(?:#|$))|(?=[\\\\n#])","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"},"2":{"name":"invalid.illegal.decorator.python"}},"name":"meta.function.decorator.python","patterns":[{"include":"#decorator-name"},{"include":"#function-arguments"}]},"decorator-name":{"patterns":[{"include":"#builtin-callables"},{"include":"#illegal-object-name"},{"captures":{"2":{"name":"punctuation.separator.period.python"}},"match":"([_[:alpha:]]\\\\w*)|(\\\\.)","name":"entity.name.function.decorator.python"},{"include":"#line-continuation"},{"captures":{"1":{"name":"invalid.illegal.decorator.python"}},"match":"\\\\s*([^#(.\\\\\\\\_[:alpha:]\\\\s].*?)(?=#|$)","name":"invalid.illegal.decorator.python"}]},"double-one-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?](?!.*?])"},{"begin":"(\\\\[)(\\\\^)?(])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(]|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-character-set-escapes"},{"match":"\\\\N","name":"constant.character.set.regexp"}]}]},"double-one-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"double-one-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+\\\\p{alnum}+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#double-one-regexp-character-set"},{"include":"#double-one-regexp-comments"},{"include":"#regexp-flags"},{"include":"#double-one-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#double-one-regexp-lookahead"},{"include":"#double-one-regexp-lookahead-negative"},{"include":"#double-one-regexp-lookbehind"},{"include":"#double-one-regexp-lookbehind-negative"},{"include":"#double-one-regexp-conditional"},{"include":"#double-one-regexp-parentheses-non-capturing"},{"include":"#double-one-regexp-parentheses"}]},"double-one-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+\\\\p{alnum}+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-one-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\"))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-one-regexp-expression"}]},"double-three-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?](?!.*?])"},{"begin":"(\\\\[)(\\\\^)?(])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(]|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-character-set-escapes"},{"match":"\\\\N","name":"constant.character.set.regexp"}]}]},"double-three-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"double-three-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+\\\\p{alnum}+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#double-three-regexp-character-set"},{"include":"#double-three-regexp-comments"},{"include":"#regexp-flags"},{"include":"#double-three-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#double-three-regexp-lookahead"},{"include":"#double-three-regexp-lookahead-negative"},{"include":"#double-three-regexp-lookbehind"},{"include":"#double-three-regexp-lookbehind-negative"},{"include":"#double-three-regexp-conditional"},{"include":"#double-three-regexp-parentheses-non-capturing"},{"include":"#double-three-regexp-parentheses"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+\\\\p{alnum}+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"double-three-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?=\\"\\"\\"))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#double-three-regexp-expression"},{"include":"#comments-string-double-three"}]},"ellipsis":{"match":"\\\\.\\\\.\\\\.","name":"constant.other.ellipsis.python"},"escape-sequence":{"match":"\\\\\\\\(x\\\\h{2}|[0-7]{1,3}|[\\"'\\\\\\\\abfnrtv])","name":"constant.character.escape.python"},"escape-sequence-unicode":{"patterns":[{"match":"\\\\\\\\(u\\\\h{4}|U\\\\h{8}|N\\\\{[\\\\w\\\\s]+?})","name":"constant.character.escape.python"}]},"expression":{"patterns":[{"include":"#expression-base"},{"include":"#member-access"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b"}]},"expression-bare":{"patterns":[{"include":"#backticks"},{"include":"#literal"},{"include":"#regexp"},{"include":"#string"},{"include":"#lambda"},{"include":"#generator"},{"include":"#illegal-operator"},{"include":"#operator"},{"include":"#curly-braces"},{"include":"#item-access"},{"include":"#list"},{"include":"#odd-function-call"},{"include":"#round-braces"},{"include":"#function-call"},{"include":"#builtin-functions"},{"include":"#builtin-types"},{"include":"#builtin-exceptions"},{"include":"#magic-names"},{"include":"#special-names"},{"include":"#illegal-names"},{"include":"#special-variables"},{"include":"#ellipsis"},{"include":"#punctuation"},{"include":"#line-continuation"}]},"expression-base":{"patterns":[{"include":"#comments"},{"include":"#expression-bare"},{"include":"#line-continuation"}]},"f-expression":{"patterns":[{"include":"#expression-bare"},{"include":"#member-access"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b"}]},"fregexp-base-expression":{"patterns":[{"include":"#fregexp-quantifier"},{"include":"#fstring-formatting-braces"},{"match":"\\\\{.*?}"},{"include":"#regexp-base-common"}]},"fregexp-quantifier":{"match":"\\\\{\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)}}","name":"keyword.operator.quantifier.regexp"},"fstring-fnorm-quoted-multi-line":{"begin":"\\\\b([Ff])([BUbu])?('''|\\"\\"\\")","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.multi.python storage.type.string.python"},"2":{"name":"invalid.illegal.prefix.python"},"3":{"name":"punctuation.definition.string.begin.python string.interpolated.python string.quoted.multi.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-multi-core"}]},"fstring-fnorm-quoted-single-line":{"begin":"\\\\b([Ff])([BUbu])?(([\\"']))","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.single.python storage.type.string.python"},"2":{"name":"invalid.illegal.prefix.python"},"3":{"name":"punctuation.definition.string.begin.python string.interpolated.python string.quoted.single.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-single-core"}]},"fstring-formatting":{"patterns":[{"include":"#fstring-formatting-braces"},{"include":"#fstring-formatting-singe-brace"}]},"fstring-formatting-braces":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"2":{"name":"invalid.illegal.brace.python"},"3":{"name":"constant.character.format.placeholder.other.python"}},"match":"(\\\\{)(\\\\s*?)(})"},{"match":"(\\\\{\\\\{|}})","name":"constant.character.escape.python"}]},"fstring-formatting-singe-brace":{"match":"(}(?!}))","name":"invalid.illegal.brace.python"},"fstring-guts":{"patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"},{"include":"#fstring-formatting"}]},"fstring-illegal-multi-brace":{"patterns":[{"include":"#impossible"}]},"fstring-illegal-single-brace":{"begin":"(\\\\{)(?=[^\\\\n}]*$\\\\n?)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"end":"(})|(?=\\\\n)","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-single"},{"include":"#f-expression"}]},"fstring-multi-brace":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"end":"(})","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-multi"},{"include":"#f-expression"}]},"fstring-multi-core":{"match":"(.+?)($(\\\\n?)|(?=[\\\\\\\\{}]|'''|\\"\\"\\"))|\\\\n","name":"string.interpolated.python string.quoted.multi.python"},"fstring-normf-quoted-multi-line":{"begin":"\\\\b([BUbu])([Ff])('''|\\"\\"\\")","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"string.interpolated.python string.quoted.multi.python storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python string.quoted.multi.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-multi-core"}]},"fstring-normf-quoted-single-line":{"begin":"\\\\b([BUbu])([Ff])(([\\"']))","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"string.interpolated.python string.quoted.single.python storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python string.quoted.single.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-single-core"}]},"fstring-raw-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#fstring-formatting"}]},"fstring-raw-multi-core":{"match":"(.+?)($(\\\\n?)|(?=[\\\\\\\\{}]|'''|\\"\\"\\"))|\\\\n","name":"string.interpolated.python string.quoted.raw.multi.python"},"fstring-raw-quoted-multi-line":{"begin":"\\\\b([Rr][Ff]|[Ff][Rr])('''|\\"\\"\\")","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.raw.multi.python storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python string.quoted.raw.multi.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.multi.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-raw-guts"},{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"include":"#fstring-raw-multi-core"}]},"fstring-raw-quoted-single-line":{"begin":"\\\\b([Rr][Ff]|[Ff][Rr])(([\\"']))","beginCaptures":{"1":{"name":"string.interpolated.python string.quoted.raw.single.python storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python string.quoted.raw.single.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python string.interpolated.python string.quoted.raw.single.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.fstring.python","patterns":[{"include":"#fstring-raw-guts"},{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"include":"#fstring-raw-single-core"}]},"fstring-raw-single-core":{"match":"(.+?)($(\\\\n?)|(?=[\\\\\\\\{}]|([\\"'])|((?<!\\\\\\\\)\\\\n)))|\\\\n","name":"string.interpolated.python string.quoted.raw.single.python"},"fstring-single-brace":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"end":"(})|(?=\\\\n)","endCaptures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"patterns":[{"include":"#fstring-terminator-single"},{"include":"#f-expression"}]},"fstring-single-core":{"match":"(.+?)($(\\\\n?)|(?=[\\\\\\\\{}]|([\\"'])|((?<!\\\\\\\\)\\\\n)))|\\\\n","name":"string.interpolated.python string.quoted.single.python"},"fstring-terminator-multi":{"patterns":[{"match":"(=(![ars])?)(?=})","name":"storage.type.format.python"},{"match":"(=?![ars])(?=})","name":"storage.type.format.python"},{"captures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"match":"(=?(?:![ars])?)(:\\\\w?[<=>^]?[- +]?#?\\\\d*,?(\\\\.\\\\d+)?[%EFGXb-gnosx]?)(?=})"},{"include":"#fstring-terminator-multi-tail"}]},"fstring-terminator-multi-tail":{"begin":"(=?(?:![ars])?)(:)(?=.*?\\\\{)","beginCaptures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"end":"(?=})","patterns":[{"include":"#fstring-illegal-multi-brace"},{"include":"#fstring-multi-brace"},{"match":"([%EFGXb-gnosx])(?=})","name":"storage.type.format.python"},{"match":"(\\\\.\\\\d+)","name":"storage.type.format.python"},{"match":"(,)","name":"storage.type.format.python"},{"match":"(\\\\d+)","name":"storage.type.format.python"},{"match":"(#)","name":"storage.type.format.python"},{"match":"([- +])","name":"storage.type.format.python"},{"match":"([<=>^])","name":"storage.type.format.python"},{"match":"(\\\\w)","name":"storage.type.format.python"}]},"fstring-terminator-single":{"patterns":[{"match":"(=(![ars])?)(?=})","name":"storage.type.format.python"},{"match":"(=?![ars])(?=})","name":"storage.type.format.python"},{"captures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"match":"(=?(?:![ars])?)(:\\\\w?[<=>^]?[- +]?#?\\\\d*,?(\\\\.\\\\d+)?[%EFGXb-gnosx]?)(?=})"},{"include":"#fstring-terminator-single-tail"}]},"fstring-terminator-single-tail":{"begin":"(=?(?:![ars])?)(:)(?=.*?\\\\{)","beginCaptures":{"1":{"name":"storage.type.format.python"},"2":{"name":"storage.type.format.python"}},"end":"(?=})|(?=\\\\n)","patterns":[{"include":"#fstring-illegal-single-brace"},{"include":"#fstring-single-brace"},{"match":"([%EFGXb-gnosx])(?=})","name":"storage.type.format.python"},{"match":"(\\\\.\\\\d+)","name":"storage.type.format.python"},{"match":"(,)","name":"storage.type.format.python"},{"match":"(\\\\d+)","name":"storage.type.format.python"},{"match":"(#)","name":"storage.type.format.python"},{"match":"([- +])","name":"storage.type.format.python"},{"match":"([<=>^])","name":"storage.type.format.python"},{"match":"(\\\\w)","name":"storage.type.format.python"}]},"function-arguments":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python"}},"contentName":"meta.function-call.arguments.python","end":"(?=\\\\))(?!\\\\)\\\\s*\\\\()","patterns":[{"match":"(,)","name":"punctuation.separator.arguments.python"},{"captures":{"1":{"name":"keyword.operator.unpacking.arguments.python"}},"match":"(?:(?<=[(,])|^)\\\\s*(\\\\*{1,2})"},{"include":"#lambda-incomplete"},{"include":"#illegal-names"},{"captures":{"1":{"name":"variable.parameter.function-call.python"},"2":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\s*(=)(?!=)"},{"match":"=(?!=)","name":"keyword.operator.assignment.python"},{"include":"#expression"},{"captures":{"1":{"name":"punctuation.definition.arguments.end.python"},"2":{"name":"punctuation.definition.arguments.begin.python"}},"match":"\\\\s*(\\\\))\\\\s*(\\\\()"}]},"function-call":{"begin":"\\\\b(?=([_[:alpha:]]\\\\w*)\\\\s*(\\\\())","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.function-call.python","patterns":[{"include":"#special-variables"},{"include":"#function-name"},{"include":"#function-arguments"}]},"function-declaration":{"begin":"\\\\s*(?:\\\\b(async)\\\\s+)?\\\\b(def|fn)\\\\s+(?=[_[:alpha:]]\\\\p{word}*\\\\s*[(\\\\[])","beginCaptures":{"1":{"name":"storage.type.function.async.python"},"2":{"name":"storage.type.function.python"}},"end":"(:|(?=[\\\\n\\"#']))","endCaptures":{"1":{"name":"punctuation.section.function.begin.python"}},"name":"meta.function.python","patterns":[{"include":"#function-modifier"},{"include":"#function-def-name"},{"include":"#parameters"},{"include":"#meta_parameters"},{"include":"#line-continuation"},{"include":"#return-annotation"}]},"function-def-name":{"patterns":[{"include":"#illegal-object-name"},{"include":"#builtin-possible-callables"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b","name":"entity.name.function.python"}]},"function-modifier":{"match":"\\\\b(raises|capturing)\\\\b","name":"storage.modifier"},"function-name":{"patterns":[{"include":"#builtin-possible-callables"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b","name":"meta.function-call.generic.python"}]},"generator":{"begin":"\\\\bfor\\\\b","beginCaptures":{"0":{"name":"keyword.control.flow.python"}},"end":"\\\\bin\\\\b","endCaptures":{"0":{"name":"keyword.control.flow.python"}},"patterns":[{"include":"#expression"}]},"illegal-names":{"captures":{"1":{"name":"keyword.control.flow.python"},"2":{"name":"storage.type.function.python"},"3":{"name":"keyword.control.import.python"}},"match":"\\\\b(?:(and|assert|async|await|break|class|struct|trait|continue|del|__disable_del|elif|else|except|finally|for|from|global|if|in|is|(?<=\\\\.)lambda|lambda(?=\\\\s*[.=])|nonlocal|not|or|pass|raise|return|try|while|with|yield)|(def|fn|capturing|raises)|(as|import))\\\\b"},"illegal-object-name":{"match":"\\\\b(True|False|None)\\\\b","name":"keyword.illegal.name.python"},"illegal-operator":{"patterns":[{"match":"&&|\\\\|\\\\||--|\\\\+\\\\+","name":"invalid.illegal.operator.python"},{"match":"[$?]","name":"invalid.illegal.operator.python"},{"match":"!\\\\b","name":"invalid.illegal.operator.python"}]},"import":{"patterns":[{"begin":"\\\\b(?<!\\\\.)(from)\\\\b(?=.+import)","beginCaptures":{"1":{"name":"keyword.control.import.python"}},"end":"$|(?=import)","patterns":[{"match":"\\\\.+","name":"punctuation.separator.period.python"},{"include":"#expression"}]},{"begin":"\\\\b(?<!\\\\.)(import)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import.python"}},"end":"$","patterns":[{"match":"\\\\b(?<!\\\\.)as\\\\b","name":"keyword.control.import.python"},{"include":"#expression"}]}]},"impossible":{"match":"$.^"},"inheritance-identifier":{"captures":{"1":{"name":"entity.other.inherited-class.python"}},"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b"},"inheritance-name":{"patterns":[{"include":"#lambda-incomplete"},{"include":"#builtin-possible-callables"},{"include":"#inheritance-identifier"}]},"item-access":{"patterns":[{"begin":"\\\\b(?=[_[:alpha:]]\\\\w*\\\\s*\\\\[)","end":"(])","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"name":"meta.item-access.python","patterns":[{"include":"#item-name"},{"include":"#item-index"},{"include":"#expression"}]}]},"item-index":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python"}},"contentName":"meta.item-access.arguments.python","end":"(?=])","patterns":[{"match":":","name":"punctuation.separator.slice.python"},{"include":"#expression"}]},"item-name":{"patterns":[{"include":"#special-variables"},{"include":"#builtin-functions"},{"include":"#special-names"},{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b","name":"meta.indexed-name.python"}]},"lambda":{"patterns":[{"captures":{"1":{"name":"keyword.control.flow.python"}},"match":"((?<=\\\\.)lambda|lambda(?=\\\\s*[.=]))"},{"captures":{"1":{"name":"storage.type.function.lambda.python"}},"match":"\\\\b(lambda)\\\\s*?(?=[\\\\n,]|$)"},{"begin":"\\\\b(lambda)\\\\b","beginCaptures":{"1":{"name":"storage.type.function.lambda.python"}},"contentName":"meta.function.lambda.parameters.python","end":"(:)|(\\\\n)","endCaptures":{"1":{"name":"punctuation.section.function.lambda.begin.python"}},"name":"meta.lambda-function.python","patterns":[{"match":"\\\\b(var|read|mut|out|ref)\\\\b","name":"storage.modifier"},{"match":"/","name":"keyword.operator.positional.parameter.python"},{"match":"(\\\\*\\\\*?)","name":"keyword.operator.unpacking.parameter.python"},{"include":"#lambda-nested-incomplete"},{"include":"#illegal-names"},{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.parameters.python"}},"match":"([_[:alpha:]]\\\\w*)\\\\s*(?:(,)|(?=:|$))"},{"include":"#comments"},{"include":"#backticks"},{"include":"#lambda-parameter-with-default"},{"include":"#line-continuation"},{"include":"#illegal-operator"}]}]},"lambda-incomplete":{"match":"\\\\blambda(?=\\\\s*[),])","name":"storage.type.function.lambda.python"},"lambda-nested-incomplete":{"match":"\\\\blambda(?=\\\\s*[),:])","name":"storage.type.function.lambda.python"},"lambda-parameter-with-default":{"begin":"\\\\b([_[:alpha:]]\\\\w*)\\\\s*(=)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"keyword.operator.python"}},"end":"(,)|(?=:|$)","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},"line-continuation":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.continuation.line.python"},"2":{"name":"invalid.illegal.line.continuation.python"}},"match":"(\\\\\\\\)\\\\s*(\\\\S.*$\\\\n?)"},{"begin":"(\\\\\\\\)\\\\s*$\\\\n?","beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.python"}},"end":"(?=^\\\\s*$)|(?!(\\\\s*[Rr]?('''|\\"\\"\\"|[\\"']))|\\\\G()$)","patterns":[{"include":"#regexp"},{"include":"#string"}]}]},"list":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.list.begin.python"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.list.end.python"}},"patterns":[{"include":"#expression"}]},"literal":{"patterns":[{"match":"\\\\b(True|False|None|NotImplemented|Ellipsis)\\\\b","name":"constant.language.python"},{"include":"#number"}]},"loose-default":{"begin":"(=)","beginCaptures":{"1":{"name":"keyword.operator.python"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},"magic-function-names":{"captures":{"1":{"name":"support.function.magic.python"}},"match":"\\\\b(__(?:abs|add|aenter|aexit|aiter|and|anext|await|bool|call|ceil|class_getitem|cmp|coerce|complex|contains|copy|deepcopy|del|__disable_del|delattr|delete|delitem|delslice|dir|div|divmod|enter|eq|exit|float|floor|floordiv|format|get??|getattr|getattribute|getinitargs|getitem|getnewargs|getslice|getstate|gt|hash|hex|iadd|iand|idiv|ifloordiv||ilshift|imod|imul|index|init|instancecheck|int|invert|ior|ipow|irshift|isub|iter|itruediv|ixor|len??|long|lshift|lt|missing|mod|mul|neg??|new|next|nonzero|oct|or|pos|pow|radd|rand|rdiv|rdivmod|reduce|reduce_ex|repr|reversed|rfloordiv||rlshift|rmod|rmul|ror|round|rpow|rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|set_name|setslice|setstate|sizeof|str|sub|subclasscheck|truediv|trunc|unicode|xor|matmul|rmatmul|imatmul|init_subclass|set_name|fspath|bytes|prepare|length_hint)__)\\\\b"},"magic-names":{"patterns":[{"include":"#magic-function-names"},{"include":"#magic-variable-names"}]},"magic-variable-names":{"captures":{"1":{"name":"support.variable.magic.python"}},"match":"\\\\b(__(?:all|annotations|bases|builtins|class|struct|trait|closure|code|debug|defaults|dict|doc|file|func|globals|kwdefaults|match_args|members|metaclass|methods|module|mro|mro_entries|name|qualname|post_init|self|signature|slots|subclasses|version|weakref|wrapped|classcell|spec|path|package|future|traceback)__)\\\\b"},"member-access":{"begin":"(\\\\.)\\\\s*(?!\\\\.)","beginCaptures":{"1":{"name":"punctuation.separator.period.python"}},"end":"(?<=\\\\S)(?=\\\\W)|(^|(?<=\\\\s))(?=[^\\\\\\\\\\\\w\\\\s])|$","name":"meta.member.access.python","patterns":[{"include":"#function-call"},{"include":"#member-access-base"},{"include":"#member-access-attribute"}]},"member-access-attribute":{"match":"\\\\b([_[:alpha:]]\\\\w*)\\\\b","name":"meta.attribute.python"},"member-access-base":{"patterns":[{"include":"#magic-names"},{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#special-names"},{"include":"#line-continuation"},{"include":"#item-access"}]},"member-access-class":{"begin":"(\\\\.)\\\\s*(?!\\\\.)","beginCaptures":{"1":{"name":"punctuation.separator.period.python"}},"end":"(?<=\\\\S)(?=\\\\W)|$","name":"meta.member.access.python","patterns":[{"include":"#call-wrapper-inheritance"},{"include":"#member-access-base"},{"include":"#inheritance-identifier"}]},"meta_parameters":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python"}},"name":"meta.function.parameters.python","patterns":[{"begin":"\\\\b([_[:alpha:]]\\\\w*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.annotation.python"}},"end":"(,)|(?=])","endCaptures":{"1":{"name":"punctuation.separator.parameters.python"}},"patterns":[{"include":"#expression"}]},{"include":"#comments"}]},"number":{"name":"constant.numeric.python","patterns":[{"include":"#number-float"},{"include":"#number-dec"},{"include":"#number-hex"},{"include":"#number-oct"},{"include":"#number-bin"},{"include":"#number-long"},{"match":"\\\\b[0-9]+\\\\w+","name":"invalid.illegal.name.python"}]},"number-bin":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![.\\\\w])(0[Bb])(_?[01])+\\\\b","name":"constant.numeric.bin.python"},"number-dec":{"captures":{"1":{"name":"storage.type.imaginary.number.python"},"2":{"name":"invalid.illegal.dec.python"}},"match":"(?<![.\\\\w])(?:[1-9](?:_?[0-9])*|0+|[0-9](?:_?[0-9])*([Jj])|0([0-9]+)(?![.Ee]))\\\\b","name":"constant.numeric.dec.python"},"number-float":{"captures":{"1":{"name":"storage.type.imaginary.number.python"}},"match":"(?<!\\\\w)(?:(?:\\\\.[0-9](?:_?[0-9])*|[0-9](?:_?[0-9])*\\\\.[0-9](?:_?[0-9])*|[0-9](?:_?[0-9])*\\\\.)(?:[Ee][-+]?[0-9](?:_?[0-9])*)?|[0-9](?:_?[0-9])*[Ee][-+]?[0-9](?:_?[0-9])*)([Jj])?\\\\b","name":"constant.numeric.float.python"},"number-hex":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![.\\\\w])(0[Xx])(_?\\\\h)+\\\\b","name":"constant.numeric.hex.python"},"number-long":{"captures":{"2":{"name":"storage.type.number.python"}},"match":"(?<![.\\\\w])([1-9][0-9]*|0)([Ll])\\\\b","name":"constant.numeric.bin.python"},"number-oct":{"captures":{"1":{"name":"storage.type.number.python"}},"match":"(?<![.\\\\w])(0[Oo])(_?[0-7])+\\\\b","name":"constant.numeric.oct.python"},"odd-function-call":{"begin":"(?<=[])])\\\\s*(?=\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python"}},"patterns":[{"include":"#function-arguments"}]},"operator":{"captures":{"1":{"name":"keyword.operator.logical.python"},"2":{"name":"keyword.control.flow.python"},"3":{"name":"keyword.operator.bitwise.python"},"4":{"name":"keyword.operator.arithmetic.python"},"5":{"name":"keyword.operator.comparison.python"},"6":{"name":"keyword.operator.assignment.python"}},"match":"\\\\b(?<!\\\\.)(?:(and|or|not|in|is)|(for|if|else|await|yield(?:\\\\s+from)?))(?!\\\\s*:)\\\\b|(<<|>>|[\\\\&^|~])|(\\\\*\\\\*|[-%*+]|//|[/@])|(!=|==|>=|<=|[<>])|(:=)"},"parameter-special":{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"variable.parameter.function.language.special.self.python"},"3":{"name":"variable.parameter.function.language.special.cls.python"},"4":{"name":"punctuation.separator.parameters.python"}},"match":"\\\\b((self)|(cls))\\\\b\\\\s*(?:(,)|(?=\\\\)))"},"parameters":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python"}},"name":"meta.function.parameters.python","patterns":[{"match":"\\\\b(var|read|mut|out|ref)\\\\b","name":"storage.modifier"},{"match":"/","name":"keyword.operator.positional.parameter.python"},{"match":"(\\\\*\\\\*?)","name":"keyword.operator.unpacking.parameter.python"},{"include":"#lambda-incomplete"},{"include":"#illegal-names"},{"include":"#illegal-object-name"},{"include":"#parameter-special"},{"captures":{"1":{"name":"variable.parameter.function.language.python"},"2":{"name":"punctuation.separator.parameters.python"}},"match":"([_[:alpha:]]\\\\w*)\\\\s*(?:(,)|(?=[\\\\n#)=]))"},{"include":"#comments"},{"include":"#loose-default"},{"include":"#annotated-parameter"}]},"punctuation":{"patterns":[{"match":":","name":"punctuation.separator.colon.python"},{"match":",","name":"punctuation.separator.element.python"}]},"regexp":{"patterns":[{"include":"#regexp-single-three-line"},{"include":"#regexp-double-three-line"},{"include":"#regexp-single-one-line"},{"include":"#regexp-double-one-line"}]},"regexp-backreference":{"captures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"},"2":{"name":"entity.name.tag.named.backreference.regexp"},"3":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"}},"match":"(\\\\()(\\\\?P=\\\\w+(?:\\\\s+\\\\p{alnum}+)?)(\\\\))","name":"meta.backreference.named.regexp"},"regexp-backreference-number":{"captures":{"1":{"name":"entity.name.tag.backreference.regexp"}},"match":"(\\\\\\\\[1-9]\\\\d?)","name":"meta.backreference.regexp"},"regexp-base-common":{"patterns":[{"match":"\\\\.","name":"support.other.match.any.regexp"},{"match":"\\\\^","name":"support.other.match.begin.regexp"},{"match":"\\\\$","name":"support.other.match.end.regexp"},{"match":"[*+?]\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.disjunction.regexp"},{"include":"#regexp-escape-sequence"}]},"regexp-base-expression":{"patterns":[{"include":"#regexp-quantifier"},{"include":"#regexp-base-common"}]},"regexp-character-set-escapes":{"patterns":[{"match":"\\\\\\\\[\\\\\\\\abfnrtv]","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-special"},{"match":"\\\\\\\\([0-7]{1,3})","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-escape-catchall"}]},"regexp-double-one-line":{"begin":"\\\\b(([Uu]r)|([Bb]r)|(r[Bb]?))(\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\")|(?<!\\\\\\\\)(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.single.python","patterns":[{"include":"#double-one-regexp-expression"}]},"regexp-double-three-line":{"begin":"\\\\b(([Uu]r)|([Bb]r)|(r[Bb]?))(\\"\\"\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.multi.python","patterns":[{"include":"#double-three-regexp-expression"}]},"regexp-escape-catchall":{"match":"\\\\\\\\(.|\\\\n)","name":"constant.character.escape.regexp"},"regexp-escape-character":{"match":"\\\\\\\\(x\\\\h{2}|0[0-7]{1,2}|[0-7]{3})","name":"constant.character.escape.regexp"},"regexp-escape-sequence":{"patterns":[{"include":"#regexp-escape-special"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-backreference-number"},{"include":"#regexp-escape-catchall"}]},"regexp-escape-special":{"match":"\\\\\\\\([ABDSWZbdsw])","name":"support.other.escape.special.regexp"},"regexp-escape-unicode":{"match":"\\\\\\\\(u\\\\h{4}|U\\\\h{8})","name":"constant.character.unicode.regexp"},"regexp-flags":{"match":"\\\\(\\\\?[Laimsux]+\\\\)","name":"storage.modifier.flag.regexp"},"regexp-quantifier":{"match":"\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)}","name":"keyword.operator.quantifier.regexp"},"regexp-single-one-line":{"begin":"\\\\b(([Uu]r)|([Bb]r)|(r[Bb]?))(')","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(')|(?<!\\\\\\\\)(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.single.python","patterns":[{"include":"#single-one-regexp-expression"}]},"regexp-single-three-line":{"begin":"\\\\b(([Uu]r)|([Bb]r)|(r[Bb]?))(''')","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"storage.type.string.python"},"5":{"name":"punctuation.definition.string.begin.python"}},"end":"(''')","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.regexp.quoted.multi.python","patterns":[{"include":"#single-three-regexp-expression"}]},"return-annotation":{"begin":"(->)","beginCaptures":{"1":{"name":"punctuation.separator.annotation.result.python"}},"end":"(?=:)","patterns":[{"include":"#expression"}]},"round-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.python"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.end.python"}},"patterns":[{"include":"#expression"}]},"semicolon":{"patterns":[{"match":";$","name":"invalid.deprecated.semicolon.python"}]},"single-one-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?](?!.*?])"},{"begin":"(\\\\[)(\\\\^)?(])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(]|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-character-set-escapes"},{"match":"\\\\N","name":"constant.character.set.regexp"}]}]},"single-one-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"single-one-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+\\\\p{alnum}+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#single-one-regexp-character-set"},{"include":"#single-one-regexp-comments"},{"include":"#regexp-flags"},{"include":"#single-one-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#single-one-regexp-lookahead"},{"include":"#single-one-regexp-lookahead-negative"},{"include":"#single-one-regexp-lookbehind"},{"include":"#single-one-regexp-lookbehind-negative"},{"include":"#single-one-regexp-conditional"},{"include":"#single-one-regexp-parentheses-non-capturing"},{"include":"#single-one-regexp-parentheses"}]},"single-one-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+\\\\p{alnum}+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-one-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?='))|((?=(?<!\\\\\\\\)\\\\n))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-one-regexp-expression"}]},"single-three-regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?](?!.*?])"},{"begin":"(\\\\[)(\\\\^)?(])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(]|(?='''))","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-character-set-escapes"},{"match":"\\\\N","name":"constant.character.set.regexp"}]}]},"single-three-regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"single-three-regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+\\\\p{alnum}+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#single-three-regexp-character-set"},{"include":"#single-three-regexp-comments"},{"include":"#regexp-flags"},{"include":"#single-three-regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#single-three-regexp-lookahead"},{"include":"#single-three-regexp-lookahead-negative"},{"include":"#single-three-regexp-lookbehind"},{"include":"#single-three-regexp-lookbehind-negative"},{"include":"#single-three-regexp-conditional"},{"include":"#single-three-regexp-parentheses-non-capturing"},{"include":"#single-three-regexp-parentheses"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+\\\\p{alnum}+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"single-three-regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\)|(?='''))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#single-three-regexp-expression"},{"include":"#comments-string-single-three"}]},"special-names":{"match":"\\\\b(_*\\\\p{upper}[_\\\\d]*\\\\p{upper})[[:upper:]\\\\d]*(_\\\\w*)?\\\\b","name":"constant.other.caps.python"},"special-variables":{"captures":{"1":{"name":"variable.language.special.self.python"},"2":{"name":"variable.language.special.cls.python"}},"match":"\\\\b(?<!\\\\.)(?:(self)|(cls))\\\\b"},"statement":{"patterns":[{"match":"^\\\\s*%#","name":"comment.line.mojo"},{"match":"^%[0-9A-Z_a-z]+","name":"entity.name.function.decorator.python"},{"include":"#import"},{"include":"#class-declaration"},{"include":"#function-declaration"},{"include":"#generator"},{"include":"#statement-keyword"},{"include":"#assignment-operator"},{"include":"#decorator"},{"include":"#semicolon"}]},"statement-keyword":{"patterns":[{"match":"\\\\b((async\\\\s+)?\\\\s*(def|fn))\\\\b","name":"storage.type.function.python"},{"match":"\\\\b(?<!\\\\.)as\\\\b(?=.*[:\\\\\\\\])","name":"keyword.control.flow.python"},{"match":"\\\\b(?<!\\\\.)as\\\\b","name":"keyword.control.import.python"},{"match":"\\\\b(?<!\\\\.)(async|continue|del|__disable_del|assert|break|finally|for|from|elif|else|if|except|pass|raise|return|try|while|with)\\\\b","name":"keyword.control.flow.python"},{"match":"\\\\b(?<!\\\\.)(global|nonlocal)\\\\b","name":"storage.modifier.declaration.python"},{"match":"\\\\b(?<!\\\\.)(class|struct|trait)\\\\b","name":"storage.type.class.python"},{"captures":{"1":{"name":"keyword.control.flow.python"}},"match":"^\\\\s*(case|match)(?=\\\\s*([-\\"#'(+:\\\\[{\\\\w\\\\d]|$))\\\\b"},{"captures":{"1":{"name":"storage.modifier.declaration.python"},"2":{"name":"variable.other.python"}},"match":"\\\\b(var|let|alias|comptime) \\\\s*([_[:alpha:]]\\\\w*)\\\\b"}]},"string":{"patterns":[{"include":"#string-quoted-multi-line"},{"include":"#string-quoted-single-line"},{"include":"#string-bin-quoted-multi-line"},{"include":"#string-bin-quoted-single-line"},{"include":"#string-raw-quoted-multi-line"},{"include":"#string-raw-quoted-single-line"},{"include":"#string-raw-bin-quoted-multi-line"},{"include":"#string-raw-bin-quoted-single-line"},{"include":"#fstring-fnorm-quoted-multi-line"},{"include":"#fstring-fnorm-quoted-single-line"},{"include":"#fstring-normf-quoted-multi-line"},{"include":"#fstring-normf-quoted-single-line"},{"include":"#fstring-raw-quoted-multi-line"},{"include":"#fstring-raw-quoted-single-line"}]},"string-bin-quoted-multi-line":{"begin":"\\\\b([Bb])('''|\\"\\"\\")","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.binary.multi.python","patterns":[{"include":"#string-entity"}]},"string-bin-quoted-single-line":{"begin":"\\\\b([Bb])(([\\"']))","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.binary.single.python","patterns":[{"include":"#string-entity"}]},"string-brace-formatting":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"3":{"name":"storage.type.format.python"},"4":{"name":"storage.type.format.python"}},"match":"(\\\\{\\\\{|}}|\\\\{\\\\w*(\\\\.[_[:alpha:]]\\\\w*|\\\\[[^]\\"']+])*(![ars])?(:\\\\w?[<=>^]?[- +]?#?\\\\d*,?(\\\\.\\\\d+)?[%EFGXb-gnosx]?)?})","name":"meta.format.brace.python"},{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"3":{"name":"storage.type.format.python"},"4":{"name":"storage.type.format.python"}},"match":"(\\\\{\\\\w*(\\\\.[_[:alpha:]]\\\\w*|\\\\[[^]\\"']+])*(![ars])?(:)[^\\\\n\\"'{}]*(?:\\\\{[^\\\\n\\"'}]*?}[^\\\\n\\"'{}]*)*})","name":"meta.format.brace.python"}]},"string-consume-escape":{"match":"\\\\\\\\[\\\\n\\"'\\\\\\\\]"},"string-entity":{"patterns":[{"include":"#escape-sequence"},{"include":"#string-line-continuation"},{"include":"#string-formatting"}]},"string-formatting":{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"}},"match":"(%(\\\\([\\\\w\\\\s]*\\\\))?[- #+0]*(\\\\d+|\\\\*)?(\\\\.(\\\\d+|\\\\*))?([Lhl])?[%EFGXa-giorsux])","name":"meta.format.percent.python"},"string-line-continuation":{"match":"\\\\\\\\$","name":"constant.language.python"},"string-mojo-code-block":{"begin":"^(\\\\s*\`{3,})(mojo)$","beginCaptures":{"1":{"name":"string.quoted.single.python"},"2":{"name":"string.quoted.single.python"}},"contentName":"source.mojo","end":"^(\\\\1)$","endCaptures":{"1":{"name":"string.quoted.single.python"}},"name":"meta.embedded.block.mojo","patterns":[{"include":"source.mojo"}]},"string-multi-bad-brace1-formatting-raw":{"begin":"(?=\\\\{%(.*?(?!'''|\\"\\"\\"))%})","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#string-consume-escape"}]},"string-multi-bad-brace1-formatting-unicode":{"begin":"(?=\\\\{%(.*?(?!'''|\\"\\"\\"))%})","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"}]},"string-multi-bad-brace2-formatting-raw":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!'''|\\"\\"\\")[^!.:\\\\[}\\\\w]).*?(?!'''|\\"\\"\\")})","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-multi-bad-brace2-formatting-unicode":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!'''|\\"\\"\\")[^!.:\\\\[}\\\\w]).*?(?!'''|\\"\\"\\")})","end":"(?='''|\\"\\"\\")","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#string-entity"}]},"string-quoted-multi-line":{"begin":"(?:\\\\b([Rr])(?=[Uu]))?([Uu])?('''|\\"\\"\\")","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\3)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.multi.python","patterns":[{"include":"#string-multi-bad-brace1-formatting-unicode"},{"include":"#string-multi-bad-brace2-formatting-unicode"},{"include":"#string-unicode-guts"}]},"string-quoted-single-line":{"begin":"(?:\\\\b([Rr])(?=[Uu]))?([Uu])?(([\\"']))","beginCaptures":{"1":{"name":"invalid.illegal.prefix.python"},"2":{"name":"storage.type.string.python"},"3":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\3)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.single.python","patterns":[{"include":"#string-single-bad-brace1-formatting-unicode"},{"include":"#string-single-bad-brace2-formatting-unicode"},{"include":"#string-unicode-guts"}]},"string-raw-bin-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-raw-bin-quoted-multi-line":{"begin":"\\\\b(R[Bb]|[Bb]R)('''|\\"\\"\\")","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.binary.multi.python","patterns":[{"include":"#string-raw-bin-guts"}]},"string-raw-bin-quoted-single-line":{"begin":"\\\\b(R[Bb]|[Bb]R)(([\\"']))","beginCaptures":{"1":{"name":"storage.type.string.python"},"2":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\2)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.binary.single.python","patterns":[{"include":"#string-raw-bin-guts"}]},"string-raw-guts":{"patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"},{"include":"#string-brace-formatting"}]},"string-raw-quoted-multi-line":{"begin":"\\\\b(([Uu]R)|(R))('''|\\"\\"\\")","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\4)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.multi.python","patterns":[{"include":"#string-multi-bad-brace1-formatting-raw"},{"include":"#string-multi-bad-brace2-formatting-raw"},{"include":"#string-raw-guts"}]},"string-raw-quoted-single-line":{"begin":"\\\\b(([Uu]R)|(R))(([\\"']))","beginCaptures":{"2":{"name":"invalid.deprecated.prefix.python"},"3":{"name":"storage.type.string.python"},"4":{"name":"punctuation.definition.string.begin.python"}},"end":"(\\\\4)|((?<!\\\\\\\\)\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.python"},"2":{"name":"invalid.illegal.newline.python"}},"name":"string.quoted.raw.single.python","patterns":[{"include":"#string-single-bad-brace1-formatting-raw"},{"include":"#string-single-bad-brace2-formatting-raw"},{"include":"#string-raw-guts"}]},"string-single-bad-brace1-formatting-raw":{"begin":"(?=\\\\{%(.*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n)))%})","end":"(?=([\\"'])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#string-consume-escape"}]},"string-single-bad-brace1-formatting-unicode":{"begin":"(?=\\\\{%(.*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n)))%})","end":"(?=([\\"'])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#escape-sequence"},{"include":"#string-line-continuation"}]},"string-single-bad-brace2-formatting-raw":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n))[^!.:\\\\[}\\\\w]).*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n))})","end":"(?=([\\"'])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#string-consume-escape"},{"include":"#string-formatting"}]},"string-single-bad-brace2-formatting-unicode":{"begin":"(?!\\\\{\\\\{)(?=\\\\{(\\\\w*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n))[^!.:\\\\[}\\\\w]).*?(?!([\\"'])|((?<!\\\\\\\\)\\\\n))})","end":"(?=([\\"'])|((?<!\\\\\\\\)\\\\n))","patterns":[{"include":"#escape-sequence-unicode"},{"include":"#string-entity"}]},"string-unicode-guts":{"patterns":[{"include":"#string-mojo-code-block"},{"include":"#escape-sequence-unicode"},{"include":"#string-entity"},{"include":"#string-brace-formatting"}]}},"scopeName":"source.mojo"}`))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.freeze(JSON.parse(`{"colors":{"activityBar.background":"#272822","activityBar.foreground":"#f8f8f2","agentsChatInput.border":"#414339","agentsChatInput.focusBorder":"#99947c","agentsNewSessionButton.border":"#414339","agentsPanel.border":"#414339","badge.background":"#75715E","badge.foreground":"#f8f8f2","button.background":"#75715E","debugToolBar.background":"#1e1f1c","diffEditor.insertedTextBackground":"#4b661680","diffEditor.removedTextBackground":"#90274A70","dropdown.background":"#414339","dropdown.listBackground":"#1e1f1c","editor.background":"#272822","editor.foreground":"#f8f8f2","editor.lineHighlightBackground":"#3e3d32","editor.selectionBackground":"#878b9180","editor.selectionHighlightBackground":"#575b6180","editor.wordHighlightBackground":"#4a4a7680","editor.wordHighlightStrongBackground":"#6a6a9680","editorCursor.foreground":"#f8f8f0","editorGroup.border":"#34352f","editorGroup.dropBackground":"#41433980","editorGroupHeader.tabsBackground":"#1e1f1c","editorHoverWidget.background":"#414339","editorHoverWidget.border":"#75715E","editorIndentGuide.activeBackground":"#767771","editorIndentGuide.background":"#464741","editorLineNumber.activeForeground":"#c2c2bf","editorLineNumber.foreground":"#90908a","editorSuggestWidget.background":"#272822","editorSuggestWidget.border":"#75715E","editorWhitespace.foreground":"#464741","editorWidget.background":"#1e1f1c","focusBorder":"#99947c","input.background":"#414339","inputOption.activeBorder":"#75715E","inputValidation.errorBackground":"#90274A","inputValidation.errorBorder":"#f92672","inputValidation.infoBackground":"#546190","inputValidation.infoBorder":"#819aff","inputValidation.warningBackground":"#848528","inputValidation.warningBorder":"#e2e22e","list.activeSelectionBackground":"#75715E","list.dropBackground":"#414339","list.highlightForeground":"#f8f8f2","list.hoverBackground":"#3e3d32","list.inactiveSelectionBackground":"#414339","menu.background":"#1e1f1c","menu.foreground":"#cccccc","minimap.selectionHighlight":"#878b9180","panel.border":"#414339","panelTitle.activeBorder":"#75715E","panelTitle.activeForeground":"#f8f8f2","panelTitle.inactiveForeground":"#75715E","peekView.border":"#75715E","peekViewEditor.background":"#272822","peekViewEditor.matchHighlightBackground":"#75715E","peekViewResult.background":"#1e1f1c","peekViewResult.matchHighlightBackground":"#75715E","peekViewResult.selectionBackground":"#414339","peekViewTitle.background":"#1e1f1c","pickerGroup.foreground":"#75715E","ports.iconRunningProcessForeground":"#ccccc7","progressBar.background":"#75715E","quickInputList.focusBackground":"#414339","selection.background":"#878b9180","settings.focusedRowBackground":"#4143395A","sideBar.background":"#1e1f1c","sideBarSectionHeader.background":"#272822","statusBar.background":"#414339","statusBar.debuggingBackground":"#75715E","statusBar.noFolderBackground":"#414339","statusBarItem.remoteBackground":"#AC6218","tab.border":"#1e1f1c","tab.inactiveBackground":"#34352f","tab.inactiveForeground":"#ccccc7","tab.lastPinnedBorder":"#414339","terminal.ansiBlack":"#333333","terminal.ansiBlue":"#6A7EC8","terminal.ansiBrightBlack":"#666666","terminal.ansiBrightBlue":"#819aff","terminal.ansiBrightCyan":"#66D9EF","terminal.ansiBrightGreen":"#A6E22E","terminal.ansiBrightMagenta":"#AE81FF","terminal.ansiBrightRed":"#f92672","terminal.ansiBrightWhite":"#f8f8f2","terminal.ansiBrightYellow":"#e2e22e","terminal.ansiCyan":"#56ADBC","terminal.ansiGreen":"#86B42B","terminal.ansiMagenta":"#8C6BC8","terminal.ansiRed":"#C4265E","terminal.ansiWhite":"#e3e3dd","terminal.ansiYellow":"#B3B42B","titleBar.activeBackground":"#1e1f1c","widget.shadow":"#00000098"},"displayName":"Monokai","name":"monokai","semanticHighlighting":true,"tokenColors":[{"settings":{"foreground":"#F8F8F2"}},{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#F8F8F2"}},{"scope":"comment","settings":{"foreground":"#88846f"}},{"scope":"string","settings":{"foreground":"#E6DB74"}},{"scope":["punctuation.definition.template-expression","punctuation.section.embedded"],"settings":{"foreground":"#F92672"}},{"scope":["meta.template.expression"],"settings":{"foreground":"#F8F8F2"}},{"scope":"constant.numeric","settings":{"foreground":"#AE81FF"}},{"scope":"constant.language","settings":{"foreground":"#AE81FF"}},{"scope":"constant.character, constant.other","settings":{"foreground":"#AE81FF"}},{"scope":"variable","settings":{"fontStyle":"","foreground":"#F8F8F2"}},{"scope":"keyword","settings":{"foreground":"#F92672"}},{"scope":"storage","settings":{"fontStyle":"","foreground":"#F92672"}},{"scope":"storage.type","settings":{"fontStyle":"italic","foreground":"#66D9EF"}},{"scope":"entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution","settings":{"fontStyle":"underline","foreground":"#A6E22E"}},{"scope":["entity.other.inherited-class","punctuation.separator.namespace.ruby"],"settings":{"fontStyle":"italic underline","foreground":"#A6E22E"}},{"scope":"entity.name.function","settings":{"fontStyle":"","foreground":"#A6E22E"}},{"scope":"variable.parameter","settings":{"fontStyle":"italic","foreground":"#FD971F"}},{"scope":"entity.name.tag","settings":{"fontStyle":"","foreground":"#F92672"}},{"scope":"entity.other.attribute-name","settings":{"fontStyle":"","foreground":"#A6E22E"}},{"scope":"support.function","settings":{"fontStyle":"","foreground":"#66D9EF"}},{"scope":"support.constant","settings":{"fontStyle":"","foreground":"#66D9EF"}},{"scope":"support.type, support.class","settings":{"fontStyle":"italic","foreground":"#66D9EF"}},{"scope":"support.other.variable","settings":{"fontStyle":""}},{"scope":"invalid","settings":{"fontStyle":"","foreground":"#F44747"}},{"scope":"invalid.deprecated","settings":{"foreground":"#F44747"}},{"scope":"meta.structure.dictionary.json string.quoted.double.json","settings":{"foreground":"#CFCFC2"}},{"scope":"meta.diff, meta.diff.header","settings":{"foreground":"#75715E"}},{"scope":"markup.deleted","settings":{"foreground":"#F92672"}},{"scope":"markup.inserted","settings":{"foreground":"#A6E22E"}},{"scope":"markup.changed","settings":{"foreground":"#E6DB74"}},{"scope":"constant.numeric.line-number.find-in-files - match","settings":{"foreground":"#AE81FFA0"}},{"scope":"entity.name.filename.find-in-files","settings":{"foreground":"#E6DB74"}},{"scope":"markup.quote","settings":{"foreground":"#F92672"}},{"scope":"markup.list","settings":{"foreground":"#E6DB74"}},{"scope":"markup.bold, markup.italic","settings":{"foreground":"#66D9EF"}},{"scope":"markup.inline.raw","settings":{"fontStyle":"","foreground":"#FD971F"}},{"scope":"markup.heading","settings":{"foreground":"#A6E22E"}},{"scope":"markup.heading.setext","settings":{"fontStyle":"bold","foreground":"#A6E22E"}},{"scope":"markup.heading.markdown","settings":{"fontStyle":"bold"}},{"scope":"markup.quote.markdown","settings":{"fontStyle":"italic","foreground":"#75715E"}},{"scope":"markup.bold.markdown","settings":{"fontStyle":"bold"}},{"scope":"string.other.link.title.markdown,string.other.link.description.markdown","settings":{"foreground":"#AE81FF"}},{"scope":"markup.underline.link.markdown,markup.underline.link.image.markdown","settings":{"foreground":"#E6DB74"}},{"scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.list.unnumbered.markdown, markup.list.numbered.markdown","settings":{"foreground":"#f8f8f2"}},{"scope":["punctuation.definition.list.begin.markdown"],"settings":{"foreground":"#A6E22E"}},{"scope":"token.info-token","settings":{"foreground":"#6796e6"}},{"scope":"token.warn-token","settings":{"foreground":"#cd9731"}},{"scope":"token.error-token","settings":{"foreground":"#f44747"}},{"scope":"token.debug-token","settings":{"foreground":"#b267e6"}},{"scope":"variable.language","settings":{"foreground":"#FD971F"}}],"type":"dark"}`));export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"MoonBit","fileTypes":["mbt","mbtx","mbtp"],"name":"moonbit","patterns":[{"include":"#doccomment"},{"include":"#linecomment"},{"include":"#regexliteral"},{"include":"#bytes"},{"include":"#string-double"},{"include":"#string-single"},{"include":"#multilineinterp"},{"include":"#multilinestring"},{"include":"#attributename"},{"include":"#type-annotation-var"},{"include":"#type-annotation-return"},{"include":"#object-method-key"},{"include":"#ternary-expression"},{"include":"#fn-definition"},{"include":"#let-destructure"},{"include":"#const-destructure"},{"include":"#as-typekw"},{"include":"#dotint"},{"include":"#float"},{"include":"#double"},{"include":"#int"},{"include":"#scope-keyword-operator-expression-as"},{"include":"#scope-keyword-operator-expression-is"},{"include":"#scope-keyword-operator-expression-not"},{"include":"#tryquestion"},{"include":"#trybang"},{"include":"#lexmatchquestion"},{"include":"#scope-keyword-control-flow"},{"include":"#scope-keyword-control-conditional"},{"include":"#scope-keyword-control-loop-for"},{"include":"#scope-keyword-control-loop-in"},{"include":"#scope-keyword-control-loop-loop"},{"include":"#scope-keyword-control-loop-while"},{"include":"#scope-keyword-control-loop-break"},{"include":"#scope-keyword-control-loop-continue"},{"include":"#scope-keyword-control-exception"},{"include":"#scope-keyword-control-import"},{"include":"#scope-keyword-control-proof"},{"include":"#uident"},{"include":"#prooflabel"},{"include":"#scope-keyword-other"},{"include":"#scope-storage-modifier"},{"include":"#scope-storage-modifier-accessibility"},{"include":"#scope-storage-type-function"},{"include":"#moonbit-impl-header"},{"include":"#scope-storage-type"},{"include":"#scope-storage-type-function-arrow"},{"include":"#scope-constant-language-boolean-true"},{"include":"#scope-constant-language-boolean-false"},{"include":"#method-call"},{"include":"#known-property-access"},{"include":"#property-access"},{"include":"#forall"},{"include":"#exists"},{"include":"#implies"},{"include":"#operator-overrides"},{"include":"#operators"},{"include":"#scope-punctuation-accessor"},{"include":"#scope-punctuation-separator-colon"},{"include":"#scope-punctuation-bracket-square"},{"include":"#scope-punctuation-separator-comma"},{"include":"#scope-punctuation-bracket-round"},{"include":"#scope-punctuation-bracket-curly"},{"include":"#scope-punctuation-terminator-statement"},{"include":"#punctuation"},{"include":"#function-call"},{"include":"#ident"},{"include":"#packagename"},{"include":"#byte"},{"include":"#char"}],"repository":{"as-typekw":{"begin":"\\\\b(as)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)","beginCaptures":{"1":{"name":"keyword.operator.expression.as.moonbit"}},"end":"(?=[]),;=>{}]|\\\\b(?:as|if|else|match|guard|lexmatch|for|while|loop|in|break|continue|return|raise|throw|defer|try|catch|import|using|fn|predicate|lemma|let|letrec|const|type|struct|enum|enumview|extenum|trait|impl|typealias|traitalias|fnalias|suberror|test|pub|priv|readonly|extern|mut|async|declare|noraise|nobreak|proof_assert|proof_let|is|not)\\\\b)","name":"meta.type.as.moonbit","patterns":[{"include":"#type-inner"}]},"attributename":{"match":"#[A-Z_a-z][0-9A-Z_a-z]*(?:\\\\.[A-Z_a-z][0-9A-Z_a-z]*)?","name":"entity.name.function.decorator.moonbit"},"bind-default":{"begin":"(=)","beginCaptures":{"1":{"name":"keyword.operator.assignment.moonbit"}},"end":"(?=[]),}])","patterns":[{"include":"$self"}]},"byte":{"match":"b'(?:\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)|[^\\\\n'\\\\\\\\])+'","name":"constant.character.byte.moonbit"},"bytes":{"match":"b\\"(?:[^\\\\n\\"\\\\\\\\]|\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.))*\\"","name":"string.quoted.double.bytes.moonbit"},"char":{"match":"'(?:\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)|[^\\\\n'\\\\\\\\])+'","name":"constant.character.moonbit"},"const-bind-array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.moonbit"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.moonbit"}},"patterns":[{"include":"#const-bind-elem"}]},"const-bind-elem":{"patterns":[{"match":"(\\\\.\\\\.\\\\.)","name":"keyword.operator.rest.moonbit"},{"include":"#bind-default"},{"include":"#const-bind-object"},{"include":"#const-bind-array"},{"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)","name":"variable.other.constant.moonbit"},{"match":",","name":"punctuation.separator.comma.moonbit"}]},"const-bind-object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.moonbit"}},"patterns":[{"include":"#const-bind-prop"}]},"const-bind-prop":{"patterns":[{"match":"(\\\\.\\\\.\\\\.)","name":"keyword.operator.rest.moonbit"},{"captures":{"1":{"name":"variable.object.property.moonbit"},"3":{"name":"punctuation.destructuring.moonbit"}},"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*)(:)"},{"include":"#bind-default"},{"include":"#const-bind-object"},{"include":"#const-bind-array"},{"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)","name":"variable.other.constant.moonbit"},{"match":",","name":"punctuation.separator.comma.moonbit"}]},"const-destructure":{"begin":"\\\\b(const)\\\\s+(?=[\\\\[{])","beginCaptures":{"1":{"name":"storage.type.moonbit"}},"end":"(?<=[]}])","patterns":[{"include":"#mut-bind-object"},{"include":"#mut-bind-array"}]},"doccomment":{"match":"///[^\\\\n]*","name":"comment.line.documentation.moonbit"},"dotint":{"match":"\\\\.[0-9]+","name":"constant.numeric.integer.tuple-index.moonbit"},"double":{"match":"0[Xx]\\\\h[_\\\\h]*\\\\.[_\\\\h]*(?:[Pp][-+]?[0-9][0-9_]*)?(?!\\\\.)|[0-9][0-9_]*\\\\.[0-9_]*(?:[Ee][-+]?[0-9][0-9_]*)?(?!\\\\.)","name":"constant.numeric.double.moonbit"},"exists":{"match":"∃","name":"keyword.operator.quantifier.moonbit"},"expr-scope-keyword-control-flow":{"match":"\\\\b(raise|throw|return)\\\\b","name":"keyword.control.flow.moonbit"},"expr-scope-storage-modifier":{"match":"\\\\b(async)\\\\b","name":"storage.modifier.moonbit"},"expr-scope-storage-modifier-accessibility":{"match":"\\\\b(no(?:raise|break))\\\\b(?=\\\\s+(?:\\\\.\\\\.\\\\.|[\\"#'*0-9\\\\[_{[:alpha:]]))","name":"storage.modifier.moonbit"},"expression":{"patterns":[{"include":"#doccomment"},{"include":"#linecomment"},{"include":"#regexliteral"},{"include":"#bytes"},{"include":"#string-double"},{"include":"#string-single"},{"include":"#multilineinterp"},{"include":"#multilinestring"},{"include":"#attributename"},{"include":"#type-annotation-return"},{"include":"#object-method-key"},{"include":"#ternary-expression"},{"include":"#fn-definition"},{"include":"#as-typekw"},{"include":"#dotint"},{"include":"#float"},{"include":"#double"},{"include":"#int"},{"include":"#scope-keyword-operator-expression-as"},{"include":"#scope-keyword-operator-expression-is"},{"include":"#scope-keyword-operator-expression-not"},{"include":"#tryquestion"},{"include":"#trybang"},{"include":"#lexmatchquestion"},{"include":"#expr-scope-keyword-control-flow"},{"include":"#scope-keyword-control-conditional"},{"include":"#scope-keyword-control-loop-for"},{"include":"#scope-keyword-control-loop-in"},{"include":"#scope-keyword-control-loop-loop"},{"include":"#scope-keyword-control-loop-while"},{"include":"#scope-keyword-control-loop-break"},{"include":"#scope-keyword-control-loop-continue"},{"include":"#scope-keyword-control-exception"},{"include":"#uident"},{"include":"#prooflabel"},{"include":"#scope-keyword-other"},{"include":"#expr-scope-storage-modifier"},{"include":"#expr-scope-storage-modifier-accessibility"},{"include":"#scope-storage-type-function"},{"include":"#scope-storage-type-function-arrow"},{"include":"#scope-constant-language-boolean-true"},{"include":"#scope-constant-language-boolean-false"},{"include":"#method-call"},{"include":"#known-property-access"},{"include":"#property-access"},{"include":"#forall"},{"include":"#exists"},{"include":"#implies"},{"include":"#operator-overrides"},{"include":"#operators"},{"include":"#scope-punctuation-accessor"},{"include":"#scope-punctuation-separator-colon"},{"include":"#scope-punctuation-bracket-square"},{"include":"#scope-punctuation-separator-comma"},{"include":"#scope-punctuation-bracket-round"},{"include":"#scope-punctuation-bracket-curly"},{"include":"#scope-punctuation-terminator-statement"},{"include":"#punctuation"},{"include":"#function-call"},{"include":"#ident"},{"include":"#packagename"},{"include":"#byte"},{"include":"#char"}]},"float":{"match":"0[Xx]\\\\h[_\\\\h]*\\\\.[_\\\\h]*[Pp][-+]?[0-9][0-9_]*F|[0-9][0-9_]*\\\\.[0-9_]*(?:[Ee][-+]?[0-9][0-9_]*)?F","name":"constant.numeric.float.moonbit"},"fn-definition":{"captures":{"1":{"name":"storage.type.function.moonbit"},"2":{"name":"entity.name.function.moonbit"}},"match":"\\\\b(fn)\\\\s+([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)"},"forall":{"match":"∀","name":"keyword.operator.quantifier.moonbit"},"function-call":{"captures":{"1":{"name":"entity.name.function.moonbit"}},"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*\\\\()"},"ident":{"match":"[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*","name":"variable.other.readwrite.moonbit"},"implies":{"match":"→","name":"keyword.operator.logical.implication.moonbit"},"int":{"match":"(?:0[Xx]\\\\h[_\\\\h]*|0[Oo][0-7][0-7_]*|0[Bb][01][01_]*|[0-9][0-9_]*)(?:UL|[LNU])?","name":"constant.numeric.integer.moonbit"},"known-property-access":{"captures":{"1":{"name":"punctuation.accessor.moonbit"},"2":{"name":"keyword.operator.range.moonbit"}},"match":"(?<=[])\\\\w])(\\\\.)\\\\s*(\\\\.(?:|=|<=??|\\\\.))\\\\b"},"let-destructure":{"begin":"\\\\b(let)\\\\s+(?=[\\\\[{])","beginCaptures":{"1":{"name":"storage.type.moonbit"}},"end":"(?<=[]}])","patterns":[{"include":"#mut-bind-object"},{"include":"#mut-bind-array"}]},"lexmatchquestion":{"match":"lexmatch\\\\?","name":"keyword.control.conditional.moonbit"},"linecomment":{"match":"//[^\\\\n]*","name":"comment.line.double-slash.moonbit"},"method-call":{"captures":{"1":{"name":"punctuation.accessor.moonbit"},"2":{"name":"entity.name.function.moonbit"}},"match":"(?<=[])\\\\w])(\\\\.)\\\\s*([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*\\\\()"},"moonbit-impl-header":{"begin":"\\\\b(impl)\\\\b","beginCaptures":{"1":{"name":"storage.type.moonbit"}},"end":"(?=\\\\bwith\\\\b|[;{]|$)","name":"meta.impl.header.moonbit","patterns":[{"match":"\\\\b(for)\\\\b","name":"keyword.other.impl.moonbit"},{"include":"#type-inner"},{"include":"$self"}]},"moonbit-interpolation-braces":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.moonbit"}},"patterns":[{"include":"#moonbit-interpolation-braces"},{"include":"$self"}]},"multilineinterp":{"begin":"\\\\$\\\\|","beginCaptures":{"0":{"name":"string.quoted.other.multiline.interpolated.moonbit punctuation.definition.string.begin.moonbit"}},"end":"$","patterns":[{"begin":"\\\\\\\\\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.moonbit"}},"name":"meta.embedded.expression.moonbit","patterns":[{"include":"#moonbit-interpolation-braces"},{"include":"$self"}]},{"match":"(?:\\\\\\\\(?!\\\\{)|[^\\\\n\\\\\\\\])+","name":"string.quoted.other.multiline.interpolated.moonbit"}]},"multilinestring":{"match":"#\\\\|[^\\\\n]*","name":"string.quoted.other.multiline.moonbit"},"mut-bind-array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.moonbit"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.array.moonbit"}},"patterns":[{"include":"#mut-bind-elem"}]},"mut-bind-elem":{"patterns":[{"match":"(\\\\.\\\\.\\\\.)","name":"keyword.operator.rest.moonbit"},{"include":"#bind-default"},{"include":"#mut-bind-object"},{"include":"#mut-bind-array"},{"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)","name":"variable.other.readwrite.moonbit"},{"match":",","name":"punctuation.separator.comma.moonbit"}]},"mut-bind-object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.binding-pattern.object.moonbit"}},"patterns":[{"include":"#mut-bind-prop"}]},"mut-bind-prop":{"patterns":[{"match":"(\\\\.\\\\.\\\\.)","name":"keyword.operator.rest.moonbit"},{"captures":{"1":{"name":"variable.object.property.moonbit"},"3":{"name":"punctuation.destructuring.moonbit"}},"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*)(:)"},{"include":"#bind-default"},{"include":"#mut-bind-object"},{"include":"#mut-bind-array"},{"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)","name":"variable.other.readwrite.moonbit"},{"match":",","name":"punctuation.separator.comma.moonbit"}]},"object-method-key":{"captures":{"1":{"name":"entity.name.function.moonbit"}},"match":"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*:\\\\s*(?:\\\\w+\\\\s+)?\\\\()"},"operator-overrides":{"captures":{"1":{"name":"keyword.operator.range.moonbit"},"2":{"name":"keyword.operator.range.moonbit"},"3":{"name":"keyword.operator.range.moonbit"},"4":{"name":"keyword.operator.range.moonbit"},"5":{"name":"keyword.operator.range.moonbit"},"6":{"name":"keyword.operator.range.moonbit"},"7":{"name":"keyword.operator.range.moonbit"},"8":{"name":"keyword.operator.comparison.moonbit"},"9":{"name":"keyword.operator.assignment.moonbit"},"10":{"name":"keyword.operator.assignment.moonbit"},"11":{"name":"keyword.operator.assignment.moonbit"},"12":{"name":"keyword.operator.assignment.moonbit"},"13":{"name":"keyword.operator.assignment.moonbit"},"14":{"name":"keyword.operator.pipe.moonbit"},"15":{"name":"keyword.operator.pipe.moonbit"},"16":{"name":"keyword.operator.logical.moonbit"},"17":{"name":"keyword.operator.logical.moonbit"},"18":{"name":"keyword.operator.comparison.moonbit"},"19":{"name":"keyword.operator.comparison.moonbit"},"20":{"name":"keyword.operator.comparison.moonbit"},"21":{"name":"keyword.operator.comparison.moonbit"},"22":{"name":"keyword.operator.bitwise.moonbit"},"23":{"name":"keyword.operator.bitwise.moonbit"},"24":{"name":"keyword.operator.bitwise.moonbit"},"25":{"name":"keyword.operator.arithmetic.moonbit"},"26":{"name":"keyword.operator.assignment.moonbit"},"27":{"name":"keyword.operator.arithmetic.moonbit"},"28":{"name":"keyword.operator.bitwise.moonbit"},"29":{"name":"keyword.operator.bitwise.moonbit"},"30":{"name":"keyword.operator.comparison.moonbit"},"31":{"name":"keyword.operator.comparison.moonbit"},"32":{"name":"keyword.operator.arithmetic.moonbit"},"33":{"name":"keyword.operator.arithmetic.moonbit"},"34":{"name":"keyword.operator.arithmetic.moonbit"}},"match":"(\\\\.\\\\.<=)|(>=\\\\.\\\\.)|(\\\\.\\\\.\\\\.)|(\\\\.\\\\.<)|(\\\\.\\\\.=)|(>\\\\.\\\\.)|(\\\\.\\\\.)|(=~)|(\\\\+=)|(-=)|(\\\\*=)|(/=)|(%=)|(\\\\|>)|(<\\\\|)|(\\\\|\\\\|)|(&&)|(==)|(!=)|(<=)|(>=)|(<<)|(>>)|(&)|(\\\\+)|(=)|(-)|(\\\\|)|(\\\\^)|(<)|(>)|(\\\\*)|(/)|(%)"},"operators":{"match":"!","name":"keyword.operator.moonbit"},"packagename":{"match":"@[A-Z_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*(?:/[A-Z_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)*","name":"entity.name.namespace.moonbit"},"prooflabel":{"match":"proof_(?:require|ensure|invariant|yield|decrease|reasoning|axiomatized)(?=\\\\s*:)","name":"keyword.other.proof-label.moonbit"},"property-access":{"captures":{"1":{"name":"punctuation.accessor.moonbit"},"2":{"name":"variable.other.property.moonbit"}},"match":"(?<=[])\\\\w])(\\\\.)\\\\s*([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)"},"punctuation":{"match":"<\\\\+|<\\\\?|[?~]","name":"punctuation.moonbit"},"regexliteral":{"begin":"(re)(\\")","beginCaptures":{"1":{"name":"string.regexp.moonbit"},"2":{"name":"string.regexp.moonbit punctuation.definition.string.begin.moonbit"}},"end":"\\"|$","endCaptures":{"0":{"name":"string.regexp.moonbit punctuation.definition.string.end.moonbit"}},"patterns":[{"begin":"\\\\\\\\\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.moonbit"}},"name":"meta.embedded.expression.moonbit","patterns":[{"include":"#moonbit-interpolation-braces"},{"include":"$self"}]},{"match":"\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)","name":"constant.character.escape.moonbit"},{"match":"(?:\\\\\\\\(?!\\\\{)|[^\\"\\\\\\\\])+","name":"string.regexp.moonbit"}]},"scope-constant-language-boolean-false":{"match":"\\\\b(false)\\\\b","name":"constant.language.boolean.false.moonbit"},"scope-constant-language-boolean-true":{"match":"\\\\b(true)\\\\b","name":"constant.language.boolean.true.moonbit"},"scope-keyword-control-conditional":{"match":"\\\\b(if|else|guard|match|lexmatch)\\\\b","name":"keyword.control.conditional.moonbit"},"scope-keyword-control-exception":{"match":"\\\\b(try|catch)\\\\b","name":"keyword.control.exception.moonbit"},"scope-keyword-control-flow":{"match":"\\\\b(raise|throw|return|defer)\\\\b","name":"keyword.control.flow.moonbit"},"scope-keyword-control-import":{"match":"\\\\b(import|using)\\\\b","name":"keyword.control.import.moonbit"},"scope-keyword-control-loop-break":{"match":"\\\\b(break)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-loop-continue":{"match":"\\\\b(continue)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-loop-for":{"match":"\\\\b(for)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-loop-in":{"match":"\\\\b(in)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-loop-loop":{"match":"\\\\b(loop)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-loop-while":{"match":"\\\\b(while)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\"(\\\\[{])","name":"keyword.control.loop.moonbit"},"scope-keyword-control-proof":{"match":"\\\\b(proof_(?:assert|let))\\\\b","name":"keyword.control.proof.moonbit"},"scope-keyword-operator-expression-as":{"match":"\\\\b(as)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)","name":"keyword.operator.expression.moonbit"},"scope-keyword-operator-expression-is":{"match":"\\\\b(is)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)","name":"keyword.operator.expression.moonbit"},"scope-keyword-operator-expression-not":{"match":"\\\\b(not)\\\\b(?=\\\\s+[\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)","name":"keyword.operator.expression.moonbit"},"scope-keyword-other":{"match":"\\\\b(_|Unit|Bool|Byte|Char|Int|Int64|UInt|UInt64|Float|Double|String|Bytes|Array|FixedArray|Option|Result|Json|where|with|all|open|derive|and)\\\\b","name":"keyword.other.moonbit"},"scope-punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.moonbit"},"scope-punctuation-bracket-curly":{"match":"[{}]","name":"punctuation.bracket.curly.moonbit"},"scope-punctuation-bracket-round":{"match":"[()]","name":"punctuation.bracket.round.moonbit"},"scope-punctuation-bracket-square":{"match":"[]\\\\[]","name":"punctuation.bracket.square.moonbit"},"scope-punctuation-separator-colon":{"match":":","name":"punctuation.separator.colon.moonbit"},"scope-punctuation-separator-comma":{"match":",","name":"punctuation.separator.comma.moonbit"},"scope-punctuation-terminator-statement":{"match":";","name":"punctuation.terminator.statement.moonbit"},"scope-storage-modifier":{"match":"\\\\b(async|pub|priv|readonly|extern)\\\\b","name":"storage.modifier.moonbit"},"scope-storage-modifier-accessibility":{"match":"\\\\b(noraise|mut|nobreak|declare)\\\\b(?=\\\\s+(?:\\\\.\\\\.\\\\.|[\\"#'*0-9\\\\[_{[:alpha:]]))","name":"storage.modifier.moonbit"},"scope-storage-type":{"match":"\\\\b(let|const|letrec|type|struct|enum|extenum|suberror|enumview|typealias|traitalias|fnalias|trait|impl|test)\\\\b","name":"storage.type.moonbit"},"scope-storage-type-function":{"match":"\\\\b(fn|predicate|lemma)\\\\b","name":"storage.type.function.moonbit"},"scope-storage-type-function-arrow":{"match":"[-=]>","name":"storage.type.function.arrow.moonbit"},"simple-type":{"match":"[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*","name":"entity.name.type.moonbit"},"string-double":{"begin":"\\"","beginCaptures":{"0":{"name":"string.quoted.double.moonbit punctuation.definition.string.begin.moonbit"}},"end":"\\"|$","endCaptures":{"0":{"name":"string.quoted.double.moonbit punctuation.definition.string.end.moonbit"}},"patterns":[{"begin":"\\\\\\\\\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.moonbit"}},"name":"meta.embedded.expression.moonbit","patterns":[{"include":"#moonbit-interpolation-braces"},{"include":"$self"}]},{"match":"\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)","name":"constant.character.escape.moonbit"},{"match":"[^\\"\\\\\\\\]+","name":"string.quoted.double.moonbit"}]},"string-single":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.moonbit"}},"end":"'|$","endCaptures":{"0":{"name":"punctuation.definition.string.end.moonbit"}},"name":"string.quoted.single.moonbit","patterns":[{"match":"\\\\\\\\(?:[ \\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)","name":"constant.character.escape.moonbit"}]},"ternary-expression":{"begin":"(\\\\?)(?!:)","beginCaptures":{"1":{"name":"keyword.operator.ternary.moonbit"}},"end":"(:)","endCaptures":{"1":{"name":"keyword.operator.ternary.moonbit"}},"name":"meta.ternary-expression.moonbit","patterns":[{"include":"#ternary-expression"},{"include":"$self"}]},"trybang":{"match":"try!","name":"keyword.control.exception.moonbit"},"tryquestion":{"match":"try\\\\?","name":"keyword.control.exception.moonbit"},"type-annotation-return":{"begin":"(?<=\\\\))(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.moonbit"}},"end":"(?=[;{]|=>)","name":"meta.type.annotation.return.moonbit","patterns":[{"include":"#type-inner"}]},"type-annotation-var":{"begin":"\\\\b(let|const|letrec|type|struct|enum|extenum|suberror|enumview|typealias|traitalias|fnalias|trait|impl|test)\\\\s+([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*:)","beginCaptures":{"1":{"name":"storage.type.moonbit"},"2":{"name":"variable.other.moonbit"},"3":{"name":"keyword.operator.type.annotation.moonbit"}},"end":"(?=[,;=])|^\\\\s*(?=if|else|match|guard|lexmatch|for|while|loop|in|break|continue|return|throw|defer|try|catch|import|using|fn|predicate|lemma|let|letrec|const|type|struct|enum|enumview|extenum|trait|impl|typealias|traitalias|fnalias|suberror|test|pub|priv|readonly|extern|mut|declare|nobreak|proof_assert|proof_let)\\\\b","name":"meta.type.annotation.moonbit","patterns":[{"include":"#type-inner"}]},"type-inner":{"patterns":[{"include":"#type-object-type"},{"include":"#type-paren"},{"include":"#uident"},{"include":"#doccomment"},{"include":"#linecomment"},{"include":"#scope-constant-language-boolean-true"},{"include":"#scope-constant-language-boolean-false"},{"include":"#scope-keyword-operator-expression-as"},{"include":"#scope-keyword-operator-expression-is"},{"include":"#scope-keyword-operator-expression-not"},{"include":"#simple-type"},{"match":"\\\\[]","name":"keyword.operator.type.array.moonbit"},{"match":",","name":"punctuation.separator.comma.moonbit"}]},"type-object-member":{"begin":"(#?[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\??)(\\\\s*:)","beginCaptures":{"1":{"name":"variable.object.property.moonbit"},"2":{"name":"keyword.operator.optional.moonbit"},"3":{"name":"keyword.operator.type.annotation.moonbit"}},"end":"(?=[,;}])","name":"meta.type.annotation.member.moonbit","patterns":[{"include":"#type-inner"}]},"type-object-type":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.moonbit"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.moonbit"}},"name":"meta.object-type.moonbit","patterns":[{"include":"#type-object-member"},{"include":"#type-inner"},{"match":";","name":"punctuation.separator.moonbit"}]},"type-paren":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#type-inner"}]},"uident":{"match":"[A-Z][0-9A-Z_a-z]*\\\\??","name":"entity.name.type.moonbit"}},"scopeName":"source.moonbit","aliases":["mbt","mbti"]}`))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse('{"displayName":"Move","name":"move","patterns":[{"include":"#address"},{"include":"#comments"},{"include":"#extend_module"},{"include":"#module"},{"include":"#script"},{"include":"#annotation"},{"include":"#entry"},{"include":"#public-scope"},{"include":"#public"},{"include":"#native"},{"include":"#import"},{"include":"#friend"},{"include":"#const"},{"include":"#struct"},{"include":"#has_ability"},{"include":"#enum"},{"include":"#macro"},{"include":"#fun"},{"include":"#spec"}],"repository":{"=== DEPRECATED_BELOW ===":{},"abilities":{"match":"\\\\b(store|key|drop|copy)\\\\b","name":"support.type.ability.move"},"address":{"begin":"\\\\b(address)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.address.keyword.move"}},"end":"(?<=})","name":"meta.address_block.move","patterns":[{"include":"#comments"},{"begin":"(?<=address)","end":"(?=\\\\{)","name":"meta.address.definition.move","patterns":[{"include":"#comments"},{"include":"#address_literal"},{"match":"\\\\b(\\\\w+)\\\\b","name":"entity.name.type.move"}]},{"include":"#module"}]},"address_literal":{"match":"\\\\b0x\\\\h+\\\\b","name":"support.constant.address.base16.move"},"annotation":{"begin":"#\\\\[","end":"]","name":"support.constant.annotation.move","patterns":[{"include":"#comments"},{"match":"\\\\b(\\\\w+)\\\\s*(?==)","name":"meta.annotation.name.move"},{"begin":"=","end":"(?=[],])","name":"meta.annotation.value.move","patterns":[{"include":"#literals"}]}]},"as":{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.move"},"as-import":{"match":"\\\\b(as)\\\\b","name":"meta.import.as.move"},"block":{"begin":"\\\\{","end":"}","name":"meta.block.move","patterns":[{"include":"#expr"}]},"block-comments":{"patterns":[{"begin":"/\\\\*[!*](?![*/])","end":"\\\\*/","name":"comment.block.documentation.move"},{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.move"}]},"capitalized":{"match":"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.type.use.move"},"comments":{"name":"meta.comments.move","patterns":[{"include":"#doc-comments"},{"include":"#line-comments"},{"include":"#block-comments"}]},"const":{"begin":"\\\\b(const)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.const.move"}},"end":";","name":"meta.const.move","patterns":[{"include":"#comments"},{"include":"#primitives"},{"include":"#literals"},{"include":"#types"},{"match":"\\\\b([A-Z][0-9A-Z_]+)\\\\b","name":"constant.other.move"},{"include":"#error_const"}]},"control":{"match":"\\\\b(return|while|loop|if|else|break|continue|abort)\\\\b","name":"keyword.control.move"},"doc-comments":{"begin":"///","end":"$","name":"comment.block.documentation.move","patterns":[{"captures":{"1":{"name":"markup.underline.link.move"}},"match":"`(\\\\w+)`"}]},"entry":{"match":"\\\\b(entry)\\\\b","name":"storage.modifier.visibility.entry.move"},"enum":{"begin":"\\\\b(enum)\\\\b","beginCaptures":{"1":{"name":"keyword.control.enum.move"}},"end":"(?<=})","name":"meta.enum.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"include":"#type_param"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.enum.move"},{"include":"#has"},{"include":"#abilities"},{"begin":"\\\\{","end":"}","name":"meta.enum.definition.move","patterns":[{"include":"#comments"},{"match":"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*\\\\()","name":"entity.name.function.enum.move"},{"match":"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.type.enum.move"},{"begin":"\\\\(","end":"\\\\)","name":"meta.enum.tuple.move","patterns":[{"include":"#comments"},{"include":"#expr_generic"},{"include":"#capitalized"},{"include":"#types"}]},{"begin":"\\\\{","end":"}","name":"meta.enum.struct.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"include":"#expr_generic"},{"include":"#capitalized"},{"include":"#types"}]}]}]},"error_const":{"match":"\\\\b(E[A-Z][0-9A-Z_a-z]*)\\\\b","name":"variable.other.error.const.move"},"escaped_identifier":{"begin":"`","end":"`","name":"variable.language.escaped.move"},"expr":{"name":"meta.expression.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"include":"#expr_generic"},{"include":"#packed_field"},{"include":"#import"},{"include":"#as"},{"include":"#mut"},{"include":"#let"},{"include":"#types"},{"include":"#literals"},{"include":"#control"},{"include":"#move_copy"},{"include":"#self_access"},{"include":"#module_access"},{"include":"#label"},{"include":"#macro_call"},{"include":"#local_call"},{"include":"#method_call"},{"include":"#path_access"},{"include":"#match_expression"},{"match":"\\\\$(?=[a-z])","name":"keyword.operator.macro.dollar.move"},{"match":"(?<=\\\\$)[a-z][0-9A-Z_a-z]*","name":"variable.other.meta.move"},{"match":"\\\\b([A-Z][A-Z_]+)\\\\b","name":"constant.other.move"},{"include":"#error_const"},{"match":"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.type.move"},{"include":"#paren"},{"include":"#block"}]},"expr_generic":{"begin":"<(?=([,0-9<>A-Z_a-z\\\\s]+>))","end":">","name":"meta.expression.generic.type.move","patterns":[{"include":"#comments"},{"include":"#types"},{"include":"#capitalized"},{"include":"#expr_generic"}]},"extend_module":{"begin":"\\\\b(extend)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.extend.move"}},"end":"(?<=[;}])","name":"meta.extend_module.move","patterns":[{"include":"#comments"},{"include":"#module"}]},"friend":{"begin":"\\\\b(friend)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.move"}},"end":";","name":"meta.friend.move","patterns":[{"include":"#comments"},{"include":"#address_literal"},{"match":"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.type.module.move"}]},"fun":{"patterns":[{"include":"#fun_signature"},{"include":"#block"}]},"fun_body":{"begin":"\\\\{","end":"(?<=})","name":"meta.fun_body.move","patterns":[{"include":"#expr"}]},"fun_call":{"begin":"\\\\b(\\\\w+)\\\\s*(?:<[,\\\\w\\\\s]+>)?\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.call.move"}},"end":"\\\\)","name":"meta.fun_call.move","patterns":[{"include":"#comments"},{"include":"#self_access"},{"include":"#module_access"},{"include":"#move_copy"},{"include":"#literals"},{"include":"#fun_call"},{"include":"#block"},{"include":"#mut"},{"include":"#as"}]},"fun_signature":{"begin":"\\\\b(fun)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.fun.move"}},"end":"(?=[;{])","name":"meta.fun_signature.move","patterns":[{"include":"#comments"},{"include":"#module_access"},{"include":"#capitalized"},{"include":"#types"},{"include":"#mut"},{"begin":"(?<=\\\\bfun)","end":"(?=[(<])","name":"meta.function_name.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"match":"\\\\b(\\\\w+)\\\\b","name":"entity.name.function.move"}]},{"include":"#fun_type_param"},{"begin":"\\\\(","end":"\\\\)","name":"meta.parentheses.move","patterns":[{"include":"#comments"},{"include":"#self_access"},{"include":"#expr_generic"},{"include":"#escaped_identifier"},{"include":"#module_access"},{"include":"#capitalized"},{"include":"#types"},{"include":"#mut"}]},{"match":"\\\\b(acquires)\\\\b","name":"storage.modifier"}]},"fun_type_param":{"begin":"<","end":">","name":"meta.fun_generic_param.move","patterns":[{"include":"#comments"},{"include":"#types"},{"include":"#phantom"},{"include":"#capitalized"},{"include":"#module_access"},{"include":"#abilities"}]},"has":{"match":"\\\\b(has)\\\\b","name":"keyword.control.ability.has.move"},"has_ability":{"begin":"(?<=[)}])\\\\s+(has)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.move"}},"end":";","name":"meta.has.ability.move","patterns":[{"include":"#comments"},{"include":"#abilities"}]},"ident":{"match":"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b","name":"meta.identifier.move"},"import":{"begin":"\\\\b(use)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.move"}},"end":";","name":"meta.import.move","patterns":[{"include":"#comments"},{"include":"#use_fun"},{"include":"#address_literal"},{"include":"#as-import"},{"match":"\\\\b([A-Z]\\\\w*)\\\\b","name":"entity.name.type.move"},{"begin":"\\\\{","end":"}","patterns":[{"include":"#comments"},{"include":"#as-import"},{"match":"\\\\b([A-Z]\\\\w*)\\\\b","name":"entity.name.type.move"}]},{"match":"\\\\b(\\\\w+)\\\\b","name":"meta.entity.name.type.module.move"}]},"label":{"match":"\'[a-z][0-9_a-z]*","name":"string.quoted.single.label.move"},"let":{"match":"\\\\b(let)\\\\b","name":"keyword.control.move"},"line-comments":{"begin":"//","end":"$","name":"comment.line.double-slash.move"},"literals":{"name":"meta.literal.move","patterns":[{"match":"@[0-9][0-9_]*","name":"support.constant.address.decimal.move"},{"match":"@0x\\\\h+","name":"support.constant.address.base16.move"},{"match":"@[A-Za-z][0-9A-Z_a-z]*","name":"support.constant.address.name.move"},{"captures":{"1":{"name":"constant.numeric.hex.move"},"2":{"name":"entity.name.type.integer.move"}},"match":"\\\\b(0x[_\\\\h]+)([iu](8|16|32|64|128|256))?\\\\b","name":"meta.constant.numeric.hex.move"},{"captures":{"1":{"name":"constant.numeric.decimal.move"},"2":{"name":"entity.name.type.integer.move"}},"match":"\\\\b([0-9][0-9_]*)([iu](8|16|32|64|128|256))?\\\\b","name":"meta.constant.numeric.move"},{"begin":"\\"","end":"\\"","name":"meta.string.literal.move","patterns":[{"match":"\\\\\\\\x\\\\h\\\\h","name":"constant.character.escape.hex.move"},{"match":"\\\\\\\\.","name":"constant.character.escape.move"},{"match":".","name":"string.quoted.double.raw.move"}]},{"begin":"\\\\bb\\"","end":"\\"","name":"meta.vector.literal.ascii.move","patterns":[{"match":"\\\\\\\\x\\\\h\\\\h","name":"constant.character.escape.hex.move"},{"match":"\\\\\\\\.","name":"constant.character.escape.move"},{"match":".","name":"string.quoted.double.raw.move"}]},{"begin":"x\\"","end":"\\"","name":"meta.vector.literal.hex.move","patterns":[{"match":"\\\\h+","name":"constant.character.move"}]},{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.boolean.move"},{"begin":"\\\\b(vector)\\\\b\\\\[","captures":{"1":{"name":"support.type.vector.move"}},"end":"]","name":"meta.vector.literal.move","patterns":[{"include":"#expr"}]}]},"local_call":{"match":"\\\\b([a-z][0-9_a-z]*)(?=[(<])","name":"entity.name.function.call.local.move"},"macro":{"begin":"\\\\b(macro)\\\\b","beginCaptures":{"1":{"name":"keyword.control.macro.move"}},"end":"(?<=})","name":"meta.macro.move","patterns":[{"include":"#comments"},{"include":"#fun"}]},"macro_call":{"captures":{"2":{"name":"support.function.macro.move"},"3":{"name":"support.function.operator.macro.move"}},"match":"(\\\\b|\\\\.)([a-z][0-9A-Z_a-z]*)(!)","name":"meta.macro.call"},"match_expression":{"begin":"\\\\b(match)\\\\b","beginCaptures":{"1":{"name":"keyword.control.match.move"}},"end":"(?<=})","name":"meta.match.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"include":"#types"},{"begin":"\\\\{","end":"}","name":"meta.match.block.move","patterns":[{"match":"=>","name":"operator.match.move"},{"include":"#expr"}]},{"include":"#expr"}]},"method_call":{"captures":{"1":{"name":"entity.name.function.call.path.move"}},"match":"\\\\.([a-z][0-9_a-z]*)(?=[(<])","name":"meta.path.call.move"},"module":{"begin":"\\\\b(module)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.move"}},"end":"(?<=[;}])","name":"meta.module.move","patterns":[{"include":"#comments"},{"begin":"(?<=\\\\b(module)\\\\b)","end":"(?=[;{])","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"begin":"(?<=\\\\b(module))","end":"(?=[():{])","name":"constant.other.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"}]},{"begin":"(?<=::)","end":"(?=[;{\\\\s])","name":"entity.name.type.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"}]}]},{"begin":"\\\\{","end":"}","name":"meta.module_scope.move","patterns":[{"include":"#comments"},{"include":"#annotation"},{"include":"#entry"},{"include":"#public-scope"},{"include":"#public"},{"include":"#native"},{"include":"#import"},{"include":"#friend"},{"include":"#const"},{"include":"#struct"},{"include":"#has_ability"},{"include":"#enum"},{"include":"#macro"},{"include":"#fun"},{"include":"#spec"}]}]},"module_access":{"captures":{"1":{"name":"meta.entity.name.type.accessed.module.move"},"2":{"name":"entity.name.function.call.move"}},"match":"\\\\b(\\\\w+)::(\\\\w+)\\\\b","name":"meta.module_access.move"},"move_copy":{"match":"\\\\b(move|copy)\\\\b","name":"variable.language.move"},"mut":{"match":"\\\\b(mut)\\\\b","name":"storage.modifier.mut.move"},"native":{"match":"\\\\b(native)\\\\b","name":"storage.modifier.visibility.native.move"},"packed_field":{"match":"[a-z][0-9_a-z]+\\\\s*:\\\\s*(?=\\\\s)","name":"meta.struct.field.move"},"paren":{"begin":"\\\\(","end":"\\\\)","name":"meta.paren.move","patterns":[{"include":"#expr"}]},"path_access":{"match":"\\\\.[a-z][0-9_a-z]*\\\\b","name":"meta.path.access.move"},"phantom":{"match":"\\\\b(phantom)\\\\b","name":"keyword.control.phantom.move"},"primitives":{"match":"\\\\b([iu](8|16|32|64|128|256)|address|bool|signer)\\\\b","name":"support.type.primitives.move"},"public":{"match":"\\\\b(public)\\\\b","name":"storage.modifier.visibility.public.move"},"public-scope":{"begin":"(?<=\\\\b(public))\\\\s*\\\\(","end":"\\\\)","name":"meta.public.scoped.move","patterns":[{"include":"#comments"},{"match":"\\\\b(friend|script|package)\\\\b","name":"keyword.control.public.scope.move"}]},"resource_methods":{"match":"\\\\b(borrow_global|borrow_global_mut|exists|move_from|move_to_sender|move_to)\\\\b","name":"support.function.typed.move"},"script":{"begin":"\\\\b(script)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.script.move"}},"end":"(?<=})","name":"meta.script.move","patterns":[{"include":"#comments"},{"begin":"\\\\{","end":"}","name":"meta.script_scope.move","patterns":[{"include":"#const"},{"include":"#comments"},{"include":"#import"},{"include":"#fun"}]}]},"self_access":{"captures":{"1":{"name":"variable.language.self.move"},"2":{"name":"entity.name.function.call.move"}},"match":"\\\\b(Self)::(\\\\w+)\\\\b","name":"meta.self_access.move"},"spec":{"begin":"\\\\b(spec)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.spec.move"}},"end":"(?<=[;}])","name":"meta.spec.move","patterns":[{"match":"\\\\b(module|schema|struct|fun)","name":"storage.modifier.spec.target.move"},{"match":"\\\\b(define)","name":"storage.modifier.spec.define.move"},{"match":"\\\\b(\\\\w+)\\\\b","name":"entity.name.function.move"},{"begin":"\\\\{","end":"}","patterns":[{"include":"#comments"},{"include":"#spec_block"},{"include":"#spec_types"},{"include":"#spec_define"},{"include":"#spec_keywords"},{"include":"#control"},{"include":"#fun_call"},{"include":"#literals"},{"include":"#types"},{"include":"#let"}]}]},"spec_block":{"begin":"\\\\{","end":"}","name":"meta.spec_block.move","patterns":[{"include":"#comments"},{"include":"#spec_block"},{"include":"#spec_types"},{"include":"#fun_call"},{"include":"#literals"},{"include":"#control"},{"include":"#types"},{"include":"#let"}]},"spec_define":{"begin":"\\\\b(define)\\\\b","beginCaptures":{"1":{"name":"keyword.control.move.spec"}},"end":"(?=[;{])","name":"meta.spec_define.move","patterns":[{"include":"#comments"},{"include":"#spec_types"},{"include":"#types"},{"begin":"(?<=\\\\bdefine)","end":"(?=\\\\()","patterns":[{"include":"#comments"},{"match":"\\\\b(\\\\w+)\\\\b","name":"entity.name.function.move"}]}]},"spec_keywords":{"match":"\\\\b(global|pack|unpack|pragma|native|include|ensures|requires|invariant|apply|aborts_if|modifies)\\\\b","name":"keyword.control.move.spec"},"spec_types":{"match":"\\\\b(range|num|vector|bool|u8|u16|u32|u64|u128|u256|address)\\\\b","name":"support.type.vector.move"},"struct":{"begin":"\\\\b(struct)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.type.move"}},"end":"(?<=[);}])","name":"meta.struct.move","patterns":[{"include":"#comments"},{"include":"#escaped_identifier"},{"include":"#has"},{"include":"#abilities"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.struct.move"},{"begin":"\\\\(","end":"\\\\)","name":"meta.struct.paren.move","patterns":[{"include":"#comments"},{"include":"#capitalized"},{"include":"#types"}]},{"include":"#type_param"},{"begin":"\\\\(","end":"(?<=\\\\))","name":"meta.struct.paren.move","patterns":[{"include":"#comments"},{"include":"#types"}]},{"begin":"\\\\{","end":"}","name":"meta.struct.body.move","patterns":[{"include":"#comments"},{"include":"#self_access"},{"include":"#escaped_identifier"},{"include":"#module_access"},{"include":"#expr_generic"},{"include":"#capitalized"},{"include":"#types"}]},{"include":"#has_ability"}]},"struct_pack":{"begin":"(?<=[0-9>A-Z_a-z])\\\\s*\\\\{","end":"}","name":"meta.struct.pack.move","patterns":[{"include":"#comments"}]},"type_param":{"begin":"<","end":">","name":"meta.generic_param.move","patterns":[{"include":"#comments"},{"include":"#phantom"},{"include":"#capitalized"},{"include":"#module_access"},{"include":"#abilities"}]},"types":{"name":"meta.types.move","patterns":[{"include":"#primitives"},{"include":"#vector"}]},"use_fun":{"begin":"\\\\b(fun)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.fun.move"}},"end":"(?=;)","name":"meta.import.fun.move","patterns":[{"include":"#comments"},{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.move"},{"match":"\\\\b(Self)\\\\b","name":"variable.language.self.use.fun.move"},{"match":"\\\\b([a-z][0-9_a-z]*)\\\\b","name":"meta.entity.name.function.use.move"},{"include":"#types"},{"include":"#escaped_identifier"},{"include":"#capitalized"}]},"vector":{"match":"\\\\b(vector)\\\\b","name":"support.type.vector.move"}},"scopeName":"source.move"}'))];export{e as default};
|