@shikijs/langs 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abap.mjs +1 -1
- package/dist/actionscript-3.mjs +1 -1
- package/dist/ada.mjs +1 -1
- package/dist/angular-expression.mjs +1 -1
- package/dist/angular-let-declaration.mjs +1 -1
- package/dist/angular-template-blocks.mjs +1 -1
- package/dist/angular-ts.mjs +1 -1
- package/dist/apex.mjs +1 -1
- package/dist/apl.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/asm.mjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/awk.mjs +1 -1
- package/dist/ballerina.mjs +1 -1
- package/dist/bat.mjs +1 -1
- package/dist/beancount.mjs +1 -1
- package/dist/berry.mjs +1 -1
- package/dist/bibtex.mjs +1 -1
- package/dist/bicep.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/c.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/cairo.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/clojure.mjs +1 -1
- package/dist/cmake.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/coffee.mjs +1 -1
- package/dist/common-lisp.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/cpp-macro.mjs +1 -1
- package/dist/cpp.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/csharp.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/cue.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/d.mjs +1 -1
- package/dist/dart.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/erb.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/fennel.mjs +1 -1
- package/dist/fish.mjs +1 -1
- package/dist/fluent.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/gdshader.mjs +1 -1
- package/dist/genie.mjs +1 -1
- package/dist/gherkin.mjs +1 -1
- package/dist/gleam.mjs +1 -1
- package/dist/glimmer-js.mjs +1 -1
- package/dist/glimmer-ts.mjs +1 -1
- package/dist/gnuplot.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/graphql.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/haml.mjs +1 -1
- package/dist/handlebars.mjs +1 -1
- package/dist/haskell.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/hcl.mjs +1 -1
- package/dist/hjson.mjs +1 -1
- package/dist/html-derivative.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/http.mjs +1 -1
- package/dist/hy.mjs +1 -1
- package/dist/imba.mjs +1 -1
- package/dist/ini.mjs +1 -1
- package/dist/java.mjs +1 -1
- package/dist/javascript.mjs +1 -1
- package/dist/jinja.mjs +1 -1
- package/dist/jison.mjs +1 -1
- package/dist/json.mjs +1 -1
- package/dist/json5.mjs +1 -1
- package/dist/jsonc.mjs +1 -1
- package/dist/jsonl.mjs +1 -1
- package/dist/jsonnet.mjs +1 -1
- package/dist/jsx.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/kotlin.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/liquid.mjs +1 -1
- package/dist/llvm.mjs +1 -1
- package/dist/log.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/lua.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/make.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mdc.mjs +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/move.mjs +1 -1
- package/dist/narrat.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nix.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/ocaml.mjs +1 -1
- package/dist/pascal.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/plsql.mjs +1 -1
- package/dist/polar.mjs +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/powerquery.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/prisma.mjs +1 -1
- package/dist/prolog.mjs +1 -1
- package/dist/proto.mjs +1 -1
- package/dist/pug.mjs +1 -1
- package/dist/puppet.mjs +1 -1
- package/dist/purescript.mjs +1 -1
- package/dist/python.mjs +1 -1
- package/dist/qss.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/racket.mjs +1 -1
- package/dist/raku.mjs +1 -1
- package/dist/rel.mjs +1 -1
- package/dist/rst.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/rust.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/sass.mjs +1 -1
- package/dist/scala.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/scss.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/solidity.mjs +1 -1
- package/dist/sparql.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/swift.mjs +1 -1
- package/dist/system-verilog.mjs +1 -1
- package/dist/systemd.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/tcl.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/tsx.mjs +1 -1
- package/dist/turtle.mjs +1 -1
- package/dist/twig.mjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/dist/typespec.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/v.mjs +1 -1
- package/dist/vala.mjs +1 -1
- package/dist/vb.mjs +1 -1
- package/dist/vhdl.mjs +1 -1
- package/dist/vue-html.mjs +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wgsl.mjs +1 -1
- package/dist/wikitext.mjs +1 -1
- package/dist/wit.mjs +1 -1
- package/dist/wolfram.mjs +1 -1
- package/dist/xml.mjs +1 -1
- package/dist/xsl.mjs +1 -1
- package/dist/yaml.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +3 -3
package/dist/rust.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Rust\",\"name\":\"rust\",\"patterns\":[{\"begin\":\"(<)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.brackets.angle.rust\"},\"2\":{\"name\":\"punctuation.brackets.square.rust\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#gtypes\"},{\"include\":\"#lvariables\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.operator.macro.dollar.rust\"},\"3\":{\"name\":\"keyword.other.crate.rust\"},\"4\":{\"name\":\"entity.name.type.metavariable.rust\"},\"6\":{\"name\":\"keyword.operator.key-value.rust\"},\"7\":{\"name\":\"variable.other.metavariable.specifier.rust\"}},\"match\":\"(\\\\$)((crate)|([A-Z][A-Za-z0-9_]*))((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?\",\"name\":\"meta.macro.metavariable.type.rust\",\"patterns\":[{\"include\":\"#keywords\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.operator.macro.dollar.rust\"},\"2\":{\"name\":\"variable.other.metavariable.name.rust\"},\"4\":{\"name\":\"keyword.operator.key-value.rust\"},\"5\":{\"name\":\"variable.other.metavariable.specifier.rust\"}},\"match\":\"(\\\\$)([a-z][A-Za-z0-9_]*)((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?\",\"name\":\"meta.macro.metavariable.rust\",\"patterns\":[{\"include\":\"#keywords\"}]},{\"captures\":{\"1\":{\"name\":\"entity.name.function.macro.rules.rust\"},\"3\":{\"name\":\"entity.name.function.macro.rust\"},\"4\":{\"name\":\"entity.name.type.macro.rust\"},\"5\":{\"name\":\"punctuation.brackets.curly.rust\"}},\"match\":\"\\\\b(macro_rules!)\\\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\\\s+(\\\\{)\",\"name\":\"meta.macro.rules.rust\"},{\"captures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"entity.name.module.rust\"}},\"match\":\"(mod)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)\"},{\"begin\":\"\\\\b(extern)\\\\s+(crate)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"keyword.other.crate.rust\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.import.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#punctuation\"}]},{\"begin\":\"\\\\b(use)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.rust\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.use.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"},{\"include\":\"#lvariables\"}]},{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#types\"},{\"include\":\"#keywords\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#variables\"}],\"repository\":{\"attributes\":{\"begin\":\"(#)(!?)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.attribute.rust\"},\"3\":{\"name\":\"punctuation.brackets.attribute.rust\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.attribute.rust\"}},\"name\":\"meta.attribute.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#gtypes\"},{\"include\":\"#types\"}]},\"block-comments\":{\"patterns\":[{\"match\":\"/\\\\*\\\\*/\",\"name\":\"comment.block.rust\"},{\"begin\":\"/\\\\*\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.rust\",\"patterns\":[{\"include\":\"#block-comments\"}]},{\"begin\":\"/\\\\*(?!\\\\*)\",\"end\":\"\\\\*/\",\"name\":\"comment.block.rust\",\"patterns\":[{\"include\":\"#block-comments\"}]}]},\"comments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.rust\"}},\"match\":\"(///).*$\",\"name\":\"comment.line.documentation.rust\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.rust\"}},\"match\":\"(//).*$\",\"name\":\"comment.line.double-slash.rust\"}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b[A-Z]{2}[A-Z0-9_]*\\\\b\",\"name\":\"constant.other.caps.rust\"},{\"captures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"constant.other.caps.rust\"}},\"match\":\"\\\\b(const)\\\\s+([A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.dot.decimal.rust\"},\"2\":{\"name\":\"keyword.operator.exponent.rust\"},\"3\":{\"name\":\"keyword.operator.exponent.sign.rust\"},\"4\":{\"name\":\"constant.numeric.decimal.exponent.mantissa.rust\"},\"5\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b\\\\d[\\\\d_]*(\\\\.?)[\\\\d_]*(?:([Ee])([+\\\\-]?)([\\\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.decimal.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0x[\\\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.hex.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.oct.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.bin.rust\"},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.bool.rust\"}]},\"escapes\":{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.rust\"},\"2\":{\"name\":\"constant.character.escape.bit.rust\"},\"3\":{\"name\":\"constant.character.escape.unicode.rust\"},\"4\":{\"name\":\"constant.character.escape.unicode.punctuation.rust\"},\"5\":{\"name\":\"constant.character.escape.unicode.punctuation.rust\"}},\"match\":\"(\\\\\\\\)(?:(x[0-7][\\\\da-fA-F])|(u(\\\\{)[\\\\da-fA-F]{4,6}(}))|.)\",\"name\":\"constant.character.escape.rust\"},\"functions\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.rust\"},\"2\":{\"name\":\"punctuation.brackets.round.rust\"}},\"match\":\"\\\\b(pub)(\\\\()\"},{\"begin\":\"\\\\b(fn)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\\\()|(<))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.fn.rust\"},\"2\":{\"name\":\"entity.name.function.rust\"},\"4\":{\"name\":\"punctuation.brackets.round.rust\"},\"5\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"end\":\"(\\\\{)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.brackets.curly.rust\"},\"2\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.function.definition.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"begin\":\"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.rust\"},\"2\":{\"name\":\"punctuation.brackets.round.rust\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.round.rust\"}},\"name\":\"meta.function.call.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"begin\":\"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.rust\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.round.rust\"}},\"name\":\"meta.function.call.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]}]},\"gtypes\":{\"patterns\":[{\"match\":\"\\\\b(Some|None)\\\\b\",\"name\":\"entity.name.type.option.rust\"},{\"match\":\"\\\\b(Ok|Err)\\\\b\",\"name\":\"entity.name.type.result.rust\"}]},\"interpolations\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.interpolation.rust\"},\"2\":{\"name\":\"punctuation.definition.interpolation.rust\"}},\"match\":\"(\\\\{)[^\\\"{}]*(})\",\"name\":\"meta.interpolation.rust\"},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\\\b\",\"name\":\"keyword.control.rust\"},{\"match\":\"\\\\b(extern|let|macro|mod)\\\\b\",\"name\":\"keyword.other.rust storage.type.rust\"},{\"match\":\"\\\\b(const)\\\\b\",\"name\":\"storage.modifier.rust\"},{\"match\":\"\\\\b(type)\\\\b\",\"name\":\"keyword.declaration.type.rust storage.type.rust\"},{\"match\":\"\\\\b(enum)\\\\b\",\"name\":\"keyword.declaration.enum.rust storage.type.rust\"},{\"match\":\"\\\\b(trait)\\\\b\",\"name\":\"keyword.declaration.trait.rust storage.type.rust\"},{\"match\":\"\\\\b(struct)\\\\b\",\"name\":\"keyword.declaration.struct.rust storage.type.rust\"},{\"match\":\"\\\\b(abstract|static)\\\\b\",\"name\":\"storage.modifier.rust\"},{\"match\":\"\\\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\\\b\",\"name\":\"keyword.other.rust\"},{\"match\":\"\\\\bfn\\\\b\",\"name\":\"keyword.other.fn.rust\"},{\"match\":\"\\\\bcrate\\\\b\",\"name\":\"keyword.other.crate.rust\"},{\"match\":\"\\\\bmut\\\\b\",\"name\":\"storage.modifier.mut.rust\"},{\"match\":\"([\\\\^|]|\\\\|\\\\||&&|<<|>>|!)(?!=)\",\"name\":\"keyword.operator.logical.rust\"},{\"match\":\"&(?![\\\\&=])\",\"name\":\"keyword.operator.borrow.and.rust\"},{\"match\":\"(\\\\+=|-=|\\\\*=|/=|%=|\\\\^=|&=|\\\\|=|<<=|>>=)\",\"name\":\"keyword.operator.assignment.rust\"},{\"match\":\"(?<![<>])=(?![=>])\",\"name\":\"keyword.operator.assignment.equal.rust\"},{\"match\":\"(=(=)?(?!>)|!=|<=|(?<!=)>=)\",\"name\":\"keyword.operator.comparison.rust\"},{\"match\":\"(([+%]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))\",\"name\":\"keyword.operator.math.rust\"},{\"captures\":{\"1\":{\"name\":\"punctuation.brackets.round.rust\"},\"2\":{\"name\":\"punctuation.brackets.square.rust\"},\"3\":{\"name\":\"punctuation.brackets.curly.rust\"},\"4\":{\"name\":\"keyword.operator.comparison.rust\"},\"5\":{\"name\":\"punctuation.brackets.round.rust\"},\"6\":{\"name\":\"punctuation.brackets.square.rust\"},\"7\":{\"name\":\"punctuation.brackets.curly.rust\"}},\"match\":\"(?:\\\\b|(?:(\\\\))|(])|(})))[ \\\\t]+([<>])[ \\\\t]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))\"},{\"match\":\"::\",\"name\":\"keyword.operator.namespace.rust\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.dereference.rust\"}},\"match\":\"(\\\\*)(?=\\\\w+)\"},{\"match\":\"@\",\"name\":\"keyword.operator.subpattern.rust\"},{\"match\":\"\\\\.(?!\\\\.)\",\"name\":\"keyword.operator.access.dot.rust\"},{\"match\":\"\\\\.{2}([=.])?\",\"name\":\"keyword.operator.range.rust\"},{\"match\":\":(?!:)\",\"name\":\"keyword.operator.key-value.rust\"},{\"match\":\"->|<-\",\"name\":\"keyword.operator.arrow.skinny.rust\"},{\"match\":\"=>\",\"name\":\"keyword.operator.arrow.fat.rust\"},{\"match\":\"\\\\$\",\"name\":\"keyword.operator.macro.dollar.rust\"},{\"match\":\"\\\\?\",\"name\":\"keyword.operator.question.rust\"}]},\"lifetimes\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.lifetime.rust\"},\"2\":{\"name\":\"entity.name.type.lifetime.rust\"}},\"match\":\"(')([a-zA-Z_][0-9a-zA-Z_]*)(?!')\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.borrow.rust\"},\"2\":{\"name\":\"punctuation.definition.lifetime.rust\"},\"3\":{\"name\":\"entity.name.type.lifetime.rust\"}},\"match\":\"(&)(')([a-zA-Z_][0-9a-zA-Z_]*)(?!')\\\\b\"}]},\"lvariables\":{\"patterns\":[{\"match\":\"\\\\b[Ss]elf\\\\b\",\"name\":\"variable.language.self.rust\"},{\"match\":\"\\\\bsuper\\\\b\",\"name\":\"variable.language.super.rust\"}]},\"macros\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"entity.name.function.macro.rust\"},\"3\":{\"name\":\"entity.name.type.macro.rust\"}},\"match\":\"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))\",\"name\":\"meta.macro.rust\"}]},\"namespaces\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.rust\"},\"2\":{\"name\":\"keyword.operator.namespace.rust\"}},\"match\":\"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!s(?:uper|elf))::)\"}]},\"punctuation\":{\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.comma.rust\"},{\"match\":\"[{}]\",\"name\":\"punctuation.brackets.curly.rust\"},{\"match\":\"[()]\",\"name\":\"punctuation.brackets.round.rust\"},{\"match\":\";\",\"name\":\"punctuation.semi.rust\"},{\"match\":\"[\\\\[\\\\]]\",\"name\":\"punctuation.brackets.square.rust\"},{\"match\":\"(?<!=)[<>]\",\"name\":\"punctuation.brackets.angle.rust\"}]},\"strings\":{\"patterns\":[{\"begin\":\"(b?)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.string.rust\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.rust\"}},\"name\":\"string.quoted.double.rust\",\"patterns\":[{\"include\":\"#escapes\"},{\"include\":\"#interpolations\"}]},{\"begin\":\"(b?r)(#*)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.string.raw.rust\"},\"3\":{\"name\":\"punctuation.definition.string.rust\"}},\"end\":\"(\\\")(\\\\2)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.rust\"},\"2\":{\"name\":\"punctuation.definition.string.raw.rust\"}},\"name\":\"string.quoted.double.rust\"},{\"begin\":\"(b)?(')\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.char.rust\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.char.rust\"}},\"name\":\"string.quoted.single.char.rust\",\"patterns\":[{\"include\":\"#escapes\"}]}]},\"types\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\\\b\"},{\"begin\":\"\\\\b(_?[A-Z][A-Za-z0-9_]*)(<)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.rust\"},\"2\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"match\":\"\\\\b(bool|char|str)\\\\b\",\"name\":\"entity.name.type.primitive.rust\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.trait.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.trait.rust\"}},\"match\":\"\\\\b(trait)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.struct.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.struct.rust\"}},\"match\":\"\\\\b(struct)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.enum.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.enum.rust\"}},\"match\":\"\\\\b(enum)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.type.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.declaration.rust\"}},\"match\":\"\\\\b(type)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"match\":\"\\\\b_?[A-Z][A-Za-z0-9_]*\\\\b(?!!)\",\"name\":\"entity.name.type.rust\"}]},\"variables\":{\"patterns\":[{\"match\":\"\\\\b(?<!(?<!\\\\.)\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\\\b\",\"name\":\"variable.other.rust\"}]}},\"scopeName\":\"source.rust\",\"aliases\":[\"rs\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Rust\",\"name\":\"rust\",\"patterns\":[{\"begin\":\"(<)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.brackets.angle.rust\"},\"2\":{\"name\":\"punctuation.brackets.square.rust\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#gtypes\"},{\"include\":\"#lvariables\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.operator.macro.dollar.rust\"},\"3\":{\"name\":\"keyword.other.crate.rust\"},\"4\":{\"name\":\"entity.name.type.metavariable.rust\"},\"6\":{\"name\":\"keyword.operator.key-value.rust\"},\"7\":{\"name\":\"variable.other.metavariable.specifier.rust\"}},\"match\":\"(\\\\$)((crate)|([A-Z]\\\\w*))(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?\",\"name\":\"meta.macro.metavariable.type.rust\",\"patterns\":[{\"include\":\"#keywords\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.operator.macro.dollar.rust\"},\"2\":{\"name\":\"variable.other.metavariable.name.rust\"},\"4\":{\"name\":\"keyword.operator.key-value.rust\"},\"5\":{\"name\":\"variable.other.metavariable.specifier.rust\"}},\"match\":\"(\\\\$)([a-z]\\\\w*)(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?\",\"name\":\"meta.macro.metavariable.rust\",\"patterns\":[{\"include\":\"#keywords\"}]},{\"captures\":{\"1\":{\"name\":\"entity.name.function.macro.rules.rust\"},\"3\":{\"name\":\"entity.name.function.macro.rust\"},\"4\":{\"name\":\"entity.name.type.macro.rust\"},\"5\":{\"name\":\"punctuation.brackets.curly.rust\"}},\"match\":\"\\\\b(macro_rules!)\\\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\\\s+(\\\\{)\",\"name\":\"meta.macro.rules.rust\"},{\"captures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"entity.name.module.rust\"}},\"match\":\"(mod)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)\"},{\"begin\":\"\\\\b(extern)\\\\s+(crate)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"keyword.other.crate.rust\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.import.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#punctuation\"}]},{\"begin\":\"\\\\b(use)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.rust\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.use.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"},{\"include\":\"#lvariables\"}]},{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#types\"},{\"include\":\"#keywords\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#variables\"}],\"repository\":{\"attributes\":{\"begin\":\"(#)(!?)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.attribute.rust\"},\"3\":{\"name\":\"punctuation.brackets.attribute.rust\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.attribute.rust\"}},\"name\":\"meta.attribute.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#gtypes\"},{\"include\":\"#types\"}]},\"block-comments\":{\"patterns\":[{\"match\":\"/\\\\*\\\\*/\",\"name\":\"comment.block.rust\"},{\"begin\":\"/\\\\*\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.rust\",\"patterns\":[{\"include\":\"#block-comments\"}]},{\"begin\":\"/\\\\*(?!\\\\*)\",\"end\":\"\\\\*/\",\"name\":\"comment.block.rust\",\"patterns\":[{\"include\":\"#block-comments\"}]}]},\"comments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.rust\"}},\"match\":\"(///).*$\",\"name\":\"comment.line.documentation.rust\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.rust\"}},\"match\":\"(//).*$\",\"name\":\"comment.line.double-slash.rust\"}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b[A-Z]{2}[A-Z0-9_]*\\\\b\",\"name\":\"constant.other.caps.rust\"},{\"captures\":{\"1\":{\"name\":\"storage.type.rust\"},\"2\":{\"name\":\"constant.other.caps.rust\"}},\"match\":\"\\\\b(const)\\\\s+([A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.dot.decimal.rust\"},\"2\":{\"name\":\"keyword.operator.exponent.rust\"},\"3\":{\"name\":\"keyword.operator.exponent.sign.rust\"},\"4\":{\"name\":\"constant.numeric.decimal.exponent.mantissa.rust\"},\"5\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b\\\\d[\\\\d_]*(\\\\.?)[\\\\d_]*(?:([Ee])([+-]?)([\\\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.decimal.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0x[\\\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.hex.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.oct.rust\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"\\\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b\",\"name\":\"constant.numeric.bin.rust\"},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.bool.rust\"}]},\"escapes\":{\"captures\":{\"1\":{\"name\":\"constant.character.escape.backslash.rust\"},\"2\":{\"name\":\"constant.character.escape.bit.rust\"},\"3\":{\"name\":\"constant.character.escape.unicode.rust\"},\"4\":{\"name\":\"constant.character.escape.unicode.punctuation.rust\"},\"5\":{\"name\":\"constant.character.escape.unicode.punctuation.rust\"}},\"match\":\"(\\\\\\\\)(?:(x[0-7][\\\\da-fA-F])|(u(\\\\{)[\\\\da-fA-F]{4,6}(}))|.)\",\"name\":\"constant.character.escape.rust\"},\"functions\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.rust\"},\"2\":{\"name\":\"punctuation.brackets.round.rust\"}},\"match\":\"\\\\b(pub)(\\\\()\"},{\"begin\":\"\\\\b(fn)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\\\()|(<))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.fn.rust\"},\"2\":{\"name\":\"entity.name.function.rust\"},\"4\":{\"name\":\"punctuation.brackets.round.rust\"},\"5\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"end\":\"(\\\\{)|(;)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.brackets.curly.rust\"},\"2\":{\"name\":\"punctuation.semi.rust\"}},\"name\":\"meta.function.definition.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"begin\":\"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.rust\"},\"2\":{\"name\":\"punctuation.brackets.round.rust\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.round.rust\"}},\"name\":\"meta.function.call.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"begin\":\"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.rust\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.round.rust\"}},\"name\":\"meta.function.call.rust\",\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#attributes\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#constants\"},{\"include\":\"#gtypes\"},{\"include\":\"#functions\"},{\"include\":\"#lifetimes\"},{\"include\":\"#macros\"},{\"include\":\"#namespaces\"},{\"include\":\"#punctuation\"},{\"include\":\"#strings\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]}]},\"gtypes\":{\"patterns\":[{\"match\":\"\\\\b(Some|None)\\\\b\",\"name\":\"entity.name.type.option.rust\"},{\"match\":\"\\\\b(Ok|Err)\\\\b\",\"name\":\"entity.name.type.result.rust\"}]},\"interpolations\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.interpolation.rust\"},\"2\":{\"name\":\"punctuation.definition.interpolation.rust\"}},\"match\":\"(\\\\{)[^\\\"{}]*(})\",\"name\":\"meta.interpolation.rust\"},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\\\b\",\"name\":\"keyword.control.rust\"},{\"match\":\"\\\\b(extern|let|macro|mod)\\\\b\",\"name\":\"keyword.other.rust storage.type.rust\"},{\"match\":\"\\\\b(const)\\\\b\",\"name\":\"storage.modifier.rust\"},{\"match\":\"\\\\b(type)\\\\b\",\"name\":\"keyword.declaration.type.rust storage.type.rust\"},{\"match\":\"\\\\b(enum)\\\\b\",\"name\":\"keyword.declaration.enum.rust storage.type.rust\"},{\"match\":\"\\\\b(trait)\\\\b\",\"name\":\"keyword.declaration.trait.rust storage.type.rust\"},{\"match\":\"\\\\b(struct)\\\\b\",\"name\":\"keyword.declaration.struct.rust storage.type.rust\"},{\"match\":\"\\\\b(abstract|static)\\\\b\",\"name\":\"storage.modifier.rust\"},{\"match\":\"\\\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\\\b\",\"name\":\"keyword.other.rust\"},{\"match\":\"\\\\bfn\\\\b\",\"name\":\"keyword.other.fn.rust\"},{\"match\":\"\\\\bcrate\\\\b\",\"name\":\"keyword.other.crate.rust\"},{\"match\":\"\\\\bmut\\\\b\",\"name\":\"storage.modifier.mut.rust\"},{\"match\":\"([\\\\^|]|\\\\|\\\\||&&|<<|>>|!)(?!=)\",\"name\":\"keyword.operator.logical.rust\"},{\"match\":\"&(?![\\\\&=])\",\"name\":\"keyword.operator.borrow.and.rust\"},{\"match\":\"(\\\\+=|-=|\\\\*=|/=|%=|\\\\^=|&=|\\\\|=|<<=|>>=)\",\"name\":\"keyword.operator.assignment.rust\"},{\"match\":\"(?<![<>])=(?![=>])\",\"name\":\"keyword.operator.assignment.equal.rust\"},{\"match\":\"(=(=)?(?!>)|!=|<=|(?<!=)>=)\",\"name\":\"keyword.operator.comparison.rust\"},{\"match\":\"(([+%]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))\",\"name\":\"keyword.operator.math.rust\"},{\"captures\":{\"1\":{\"name\":\"punctuation.brackets.round.rust\"},\"2\":{\"name\":\"punctuation.brackets.square.rust\"},\"3\":{\"name\":\"punctuation.brackets.curly.rust\"},\"4\":{\"name\":\"keyword.operator.comparison.rust\"},\"5\":{\"name\":\"punctuation.brackets.round.rust\"},\"6\":{\"name\":\"punctuation.brackets.square.rust\"},\"7\":{\"name\":\"punctuation.brackets.curly.rust\"}},\"match\":\"(?:\\\\b|(?:(\\\\))|(])|(})))[ \\\\t]+([<>])[ \\\\t]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))\"},{\"match\":\"::\",\"name\":\"keyword.operator.namespace.rust\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.dereference.rust\"}},\"match\":\"(\\\\*)(?=\\\\w+)\"},{\"match\":\"@\",\"name\":\"keyword.operator.subpattern.rust\"},{\"match\":\"\\\\.(?!\\\\.)\",\"name\":\"keyword.operator.access.dot.rust\"},{\"match\":\"\\\\.{2}([=.])?\",\"name\":\"keyword.operator.range.rust\"},{\"match\":\":(?!:)\",\"name\":\"keyword.operator.key-value.rust\"},{\"match\":\"->|<-\",\"name\":\"keyword.operator.arrow.skinny.rust\"},{\"match\":\"=>\",\"name\":\"keyword.operator.arrow.fat.rust\"},{\"match\":\"\\\\$\",\"name\":\"keyword.operator.macro.dollar.rust\"},{\"match\":\"\\\\?\",\"name\":\"keyword.operator.question.rust\"}]},\"lifetimes\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.lifetime.rust\"},\"2\":{\"name\":\"entity.name.type.lifetime.rust\"}},\"match\":\"(')([a-zA-Z_][0-9a-zA-Z_]*)(?!')\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.borrow.rust\"},\"2\":{\"name\":\"punctuation.definition.lifetime.rust\"},\"3\":{\"name\":\"entity.name.type.lifetime.rust\"}},\"match\":\"(&)(')([a-zA-Z_][0-9a-zA-Z_]*)(?!')\\\\b\"}]},\"lvariables\":{\"patterns\":[{\"match\":\"\\\\b[Ss]elf\\\\b\",\"name\":\"variable.language.self.rust\"},{\"match\":\"\\\\bsuper\\\\b\",\"name\":\"variable.language.super.rust\"}]},\"macros\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"entity.name.function.macro.rust\"},\"3\":{\"name\":\"entity.name.type.macro.rust\"}},\"match\":\"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))\",\"name\":\"meta.macro.rust\"}]},\"namespaces\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.rust\"},\"2\":{\"name\":\"keyword.operator.namespace.rust\"}},\"match\":\"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!s(?:uper|elf))::)\"}]},\"punctuation\":{\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.comma.rust\"},{\"match\":\"[{}]\",\"name\":\"punctuation.brackets.curly.rust\"},{\"match\":\"[()]\",\"name\":\"punctuation.brackets.round.rust\"},{\"match\":\";\",\"name\":\"punctuation.semi.rust\"},{\"match\":\"[\\\\[\\\\]]\",\"name\":\"punctuation.brackets.square.rust\"},{\"match\":\"(?<!=)[<>]\",\"name\":\"punctuation.brackets.angle.rust\"}]},\"strings\":{\"patterns\":[{\"begin\":\"(b?)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.string.rust\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.rust\"}},\"name\":\"string.quoted.double.rust\",\"patterns\":[{\"include\":\"#escapes\"},{\"include\":\"#interpolations\"}]},{\"begin\":\"(b?r)(#*)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.string.raw.rust\"},\"3\":{\"name\":\"punctuation.definition.string.rust\"}},\"end\":\"(\\\")(\\\\2)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.rust\"},\"2\":{\"name\":\"punctuation.definition.string.raw.rust\"}},\"name\":\"string.quoted.double.rust\"},{\"begin\":\"(b)?(')\",\"beginCaptures\":{\"1\":{\"name\":\"string.quoted.byte.raw.rust\"},\"2\":{\"name\":\"punctuation.definition.char.rust\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.char.rust\"}},\"name\":\"string.quoted.single.char.rust\",\"patterns\":[{\"include\":\"#escapes\"}]}]},\"types\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.type.numeric.rust\"}},\"match\":\"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\\\b\"},{\"begin\":\"\\\\b(_?[A-Z][A-Za-z0-9_]*)(<)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.rust\"},\"2\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.angle.rust\"}},\"patterns\":[{\"include\":\"#block-comments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#lvariables\"},{\"include\":\"#lifetimes\"},{\"include\":\"#punctuation\"},{\"include\":\"#types\"},{\"include\":\"#variables\"}]},{\"match\":\"\\\\b(bool|char|str)\\\\b\",\"name\":\"entity.name.type.primitive.rust\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.trait.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.trait.rust\"}},\"match\":\"\\\\b(trait)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.struct.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.struct.rust\"}},\"match\":\"\\\\b(struct)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.enum.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.enum.rust\"}},\"match\":\"\\\\b(enum)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.type.rust storage.type.rust\"},\"2\":{\"name\":\"entity.name.type.declaration.rust\"}},\"match\":\"\\\\b(type)\\\\s+(_?[A-Z][A-Za-z0-9_]*)\\\\b\"},{\"match\":\"\\\\b_?[A-Z][A-Za-z0-9_]*\\\\b(?!!)\",\"name\":\"entity.name.type.rust\"}]},\"variables\":{\"patterns\":[{\"match\":\"\\\\b(?<!(?<!\\\\.)\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\\\b\",\"name\":\"variable.other.rust\"}]}},\"scopeName\":\"source.rust\",\"aliases\":[\"rs\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/sas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import sql from './sql.mjs'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"SAS\",\"fileTypes\":[\"sas\"],\"foldingStartMarker\":\"(?i:(proc|data|%macro).*;$)\",\"foldingStopMarker\":\"(?i:(run|quit|%mend)\\\\s?);\",\"name\":\"sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"#macro\"},{\"include\":\"#constant\"},{\"include\":\"#quote\"},{\"include\":\"#operator\"},{\"begin\":\"\\\\b(?i:(data))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.sas\"},\"2\":{\"name\":\"keyword.other.sas\"}},\"match\":\"(?i:(stack|pgm|view|source)\\\\s?=\\\\s?|(debug|nesting|nolist))\"}]},{\"begin\":\"\\\\b(?i:(set|update|modify|merge))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"entity.name.class.sas\"},\"3\":{\"name\":\"entity.name.class.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"}]},{\"match\":\"(?i:\\\\b(if|while|until|for|do|end|then|else|run|quit|cancel|options)\\\\b)\",\"name\":\"keyword.control.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"},\"3\":{\"name\":\"entity.name.function.sas\"}},\"match\":\"(?i:(%(bquote|do|else|end|eval|global|goto|if|inc|include|index|input|length|let|list|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qscan|qsysfunc|quote|run|scan|str|substr|syscall|sysevalf|sysexec|sysfunc|sysrc|then|to|unquote|upcase|until|while|window)\\\\b))\\\\s*(\\\\w*)\",\"name\":\"keyword.other.sas\"},{\"begin\":\"(?i:\\\\b(proc\\\\s*(sql))\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"end\":\"(?i:\\\\b(quit)\\\\s*;)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.sas\"}},\"name\":\"meta.sql.sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"source.sql\"}]},{\"match\":\"(?i:\\\\b(by|label|format)\\\\b)\",\"name\":\"keyword.datastep.sas\"},{\"captures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"match\":\"(?i:\\\\b(proc (\\\\w+))\\\\b)\",\"name\":\"meta.function-call.sas\"},{\"match\":\"(?i:\\\\b(_(?:n_|error_))\\\\b)\",\"name\":\"variable.language.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"}},\"match\":\"\\\\b(?i:(_all_|_character_|_cmd_|_freq_|_i_|_infile_|_last_|_msg_|_null_|_numeric_|_temporary_|_type_|abort|abs|addr|adjrsq|airy|alpha|alter|altlog|altprint|and|arcos|array|arsin|as|atan|attrc|attrib|attrn|authserver|autoexec|awscontrol|awsdef|awsmenu|awsmenumerge|awstitle|backward|band|base|betainv|between|blocksize|blshift|bnot|bor|brshift|bufno|bufsize|bxor|by|byerr|byline|byte|calculated|call|cards|cards4|case|catcache|cbufno|cdf|ceil|center|cexist|change|chisq|cinv|class|cleanup|close|cnonct|cntllev|coalesce|codegen|col|collate|collin|column|comamid|comaux1|comaux2|comdef|compbl|compound|compress|config|continue|convert|cos|cosh|cpuid|create|cross|crosstab|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|datalines|datalines4|date|datejul|datepart|datetime|day|dbcslang|dbcstype|dclose|ddm|delete|delimiter|depdb|depdbsl|depsl|depsyd|deptab|dequote|descending|descript|design=|device|dflang|dhms|dif|digamma|dim|dinfo|display|distinct|dkricond|dkrocond|dlm|dnum|do|dopen|doptname|doptnum|dread|drop|dropnote|dsname|dsnferr|echo|else|emaildlg|emailid|emailpw|emailserver|emailsys|encrypt|end|endsas|engine|eof|eov|erf|erfc|error|errorcheck|errors|exist|exp|fappend|fclose|fcol|fdelete|feedback|fetch|fetchobs|fexist|fget|file|fileclose|fileexist|filefmt|filename|fileref|filevar|finfo|finv|fipname|fipnamel|fipstate|first|firstobs|floor|fmterr|fmtsearch|fnonct|fnote|font|fontalias|footnote[1-9]?|fopen|foptname|foptnum|force|formatted|formchar|formdelim|formdlim|forward|fpoint|fpos|fput|fread|frewind|frlen|from|fsep|full|fullstimer|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|go|goto|group|gwindow|hbar|hbound|helpenv|helploc|hms|honorappearance|hosthelp|hostprint|hour|hpct|html|hvar|ibessel|ibr|id|if|index|indexc|indexw|infile|informat|initcmd|initstmt|inner|input|inputc|inputn|inr|insert|int|intck|intnx|into|intrr|invaliddata|irr|is|jbessel|join|juldate|keep|kentb|kurtosis|label|lag|last|lbound|leave|left|length|levels|lgamma|lib|libname|library|libref|line|linesize|link|list|log|log10|log2|logpdf|logpmf|logsdf|lostcard|lowcase|lrecl|ls|macro|macrogen|maps|mautosource|max|maxdec|maxr|mdy|mean|measures|median|memtype|merge|merror|min|minute|missing|missover|mlogic|mod|mode|model|modify|month|mopen|mort|mprint|mrecall|msglevel|msymtabmax|mvarsize|myy|n|nest|netpv|new|news|nmiss|no|nobatch|nobs|nocaps|nocardimage|nocenter|nocharcode|nocmdmac|nocol|nocum|nodate|nodbcs|nodetails|nodmr|nodms|nodmsbatch|nodup|nodupkey|noduplicates|noechoauto|noequals|noerrorabend|noexitwindows|nofullstimer|noicon|noimplmac|noint|nolist|noloadlist|nomiss|nomlogic|nomprint|nomrecall|nomsgcase|nomstored|nomultenvappl|nonotes|nonumber|noobs|noovp|nopad|nopercent|noprint|noprintinit|normal|norow|norsasuser|nosetinit|nosource|nosource2|nosplash|nosymbolgen|note|notes|notitle|notitles|notsorted|noverbose|noxsync|noxwait|npv|null|number|numkeys|nummousekeys|nway|obs|ods|on|open|option|order|ordinal|otherwise|out|outer|outp=|output|over|ovp|p([15]|10|25|50|75|90|95|99)|pad|pad2|page|pageno|pagesize|paired|parm|parmcards|path|pathdll|pathname|pdf|peek|peekc|pfkey|pmf|point|poisson|poke|position|printer|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probsig|probt|procleave|project|prt|propcase|prxmatch|prxparse|prxchange|prxposn|ps|put|putc|putn|pw|pwreq|qtr|quote|r|ranbin|rancau|ranexp|rangam|range|ranks|rannor|ranpoi|rantbl|rantri|ranuni|read|recfm|register|regr|remote|remove|rename|repeat|replace|resolve|retain|return|reuse|reverse|rewind|right|round|rsquare|rtf|rtrace|rtraceloc|s|s2|samploc|sasautos|sascontrol|sasfrscr|sashelp|sasmsg|sasmstore|sasscript|sasuser|saving|scan|sdf|second|select|selection|separated|seq|serror|set|setcomm|setot|sign|simple|sin|sinh|siteinfo|skewness|skip|sle|sls|sortedby|sortpgm|sortseq|sortsize|soundex|source2|spedis|splashlocation|split|spool|sqrt|start|std|stderr|stdin|stfips|stimer|stname|stnamel|stop|stopover|strip|subgroup|subpopn|substr|sum|sumwgt|symbol|symbolgen|symget|symput|sysget|sysin|sysleave|sysmsg|sysparm|sysprint|sysprintfont|sysprod|sysrc|system|t|table|tables|tan|tanh|tapeclose|tbufsize|terminal|test|then|time|timepart|tinv|title[1-9]?|tnonct|to|today|tol|tooldef|totper|transformout|translate|trantab|tranwrd|trigamma|trim|trimn|trunc|truncover|type|unformatted|uniform|union|until|upcase|update|user|usericon|uss|validate|value|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vnferr|vtype|vtypex|weekday|weight|when|where|while|wincharset|window|work|workinit|workterm|write|wsum|wsumx|x|xsync|xwait|year|yearcutoff|yes|yyq|zipfips|zipname|zipnamel|zipstate))\\\\b\",\"name\":\"support.function.sas\"}],\"repository\":{\"blockComment\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.slashstar.sas\"}]},\"constant\":{\"patterns\":[{\"match\":\"(?<![\\\\&}])\\\\b[0-9]*\\\\.?[0-9]+([eEdD][
|
|
3
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"SAS\",\"fileTypes\":[\"sas\"],\"foldingStartMarker\":\"(?i:(proc|data|%macro).*;$)\",\"foldingStopMarker\":\"(?i:(run|quit|%mend)\\\\s?);\",\"name\":\"sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"#macro\"},{\"include\":\"#constant\"},{\"include\":\"#quote\"},{\"include\":\"#operator\"},{\"begin\":\"\\\\b(?i:(data))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.sas\"},\"2\":{\"name\":\"keyword.other.sas\"}},\"match\":\"(?i:(stack|pgm|view|source)\\\\s?=\\\\s?|(debug|nesting|nolist))\"}]},{\"begin\":\"\\\\b(?i:(set|update|modify|merge))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"entity.name.class.sas\"},\"3\":{\"name\":\"entity.name.class.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"}]},{\"match\":\"(?i:\\\\b(if|while|until|for|do|end|then|else|run|quit|cancel|options)\\\\b)\",\"name\":\"keyword.control.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"},\"3\":{\"name\":\"entity.name.function.sas\"}},\"match\":\"(?i:(%(bquote|do|else|end|eval|global|goto|if|inc|include|index|input|length|let|list|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qscan|qsysfunc|quote|run|scan|str|substr|syscall|sysevalf|sysexec|sysfunc|sysrc|then|to|unquote|upcase|until|while|window)\\\\b))\\\\s*(\\\\w*)\",\"name\":\"keyword.other.sas\"},{\"begin\":\"(?i:\\\\b(proc\\\\s*(sql))\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"end\":\"(?i:\\\\b(quit)\\\\s*;)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.sas\"}},\"name\":\"meta.sql.sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"source.sql\"}]},{\"match\":\"(?i:\\\\b(by|label|format)\\\\b)\",\"name\":\"keyword.datastep.sas\"},{\"captures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"match\":\"(?i:\\\\b(proc (\\\\w+))\\\\b)\",\"name\":\"meta.function-call.sas\"},{\"match\":\"(?i:\\\\b(_(?:n_|error_))\\\\b)\",\"name\":\"variable.language.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"}},\"match\":\"\\\\b(?i:(_all_|_character_|_cmd_|_freq_|_i_|_infile_|_last_|_msg_|_null_|_numeric_|_temporary_|_type_|abort|abs|addr|adjrsq|airy|alpha|alter|altlog|altprint|and|arcos|array|arsin|as|atan|attrc|attrib|attrn|authserver|autoexec|awscontrol|awsdef|awsmenu|awsmenumerge|awstitle|backward|band|base|betainv|between|blocksize|blshift|bnot|bor|brshift|bufno|bufsize|bxor|by|byerr|byline|byte|calculated|call|cards|cards4|case|catcache|cbufno|cdf|ceil|center|cexist|change|chisq|cinv|class|cleanup|close|cnonct|cntllev|coalesce|codegen|col|collate|collin|column|comamid|comaux1|comaux2|comdef|compbl|compound|compress|config|continue|convert|cos|cosh|cpuid|create|cross|crosstab|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|datalines|datalines4|date|datejul|datepart|datetime|day|dbcslang|dbcstype|dclose|ddm|delete|delimiter|depdb|depdbsl|depsl|depsyd|deptab|dequote|descending|descript|design=|device|dflang|dhms|dif|digamma|dim|dinfo|display|distinct|dkricond|dkrocond|dlm|dnum|do|dopen|doptname|doptnum|dread|drop|dropnote|dsname|dsnferr|echo|else|emaildlg|emailid|emailpw|emailserver|emailsys|encrypt|end|endsas|engine|eof|eov|erf|erfc|error|errorcheck|errors|exist|exp|fappend|fclose|fcol|fdelete|feedback|fetch|fetchobs|fexist|fget|file|fileclose|fileexist|filefmt|filename|fileref|filevar|finfo|finv|fipname|fipnamel|fipstate|first|firstobs|floor|fmterr|fmtsearch|fnonct|fnote|font|fontalias|footnote[1-9]?|fopen|foptname|foptnum|force|formatted|formchar|formdelim|formdlim|forward|fpoint|fpos|fput|fread|frewind|frlen|from|fsep|full|fullstimer|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|go|goto|group|gwindow|hbar|hbound|helpenv|helploc|hms|honorappearance|hosthelp|hostprint|hour|hpct|html|hvar|ibessel|ibr|id|if|index|indexc|indexw|infile|informat|initcmd|initstmt|inner|input|inputc|inputn|inr|insert|int|intck|intnx|into|intrr|invaliddata|irr|is|jbessel|join|juldate|keep|kentb|kurtosis|label|lag|last|lbound|leave|left|length|levels|lgamma|lib|libname|library|libref|line|linesize|link|list|log|log10|log2|logpdf|logpmf|logsdf|lostcard|lowcase|lrecl|ls|macro|macrogen|maps|mautosource|max|maxdec|maxr|mdy|mean|measures|median|memtype|merge|merror|min|minute|missing|missover|mlogic|mod|mode|model|modify|month|mopen|mort|mprint|mrecall|msglevel|msymtabmax|mvarsize|myy|n|nest|netpv|new|news|nmiss|no|nobatch|nobs|nocaps|nocardimage|nocenter|nocharcode|nocmdmac|nocol|nocum|nodate|nodbcs|nodetails|nodmr|nodms|nodmsbatch|nodup|nodupkey|noduplicates|noechoauto|noequals|noerrorabend|noexitwindows|nofullstimer|noicon|noimplmac|noint|nolist|noloadlist|nomiss|nomlogic|nomprint|nomrecall|nomsgcase|nomstored|nomultenvappl|nonotes|nonumber|noobs|noovp|nopad|nopercent|noprint|noprintinit|normal|norow|norsasuser|nosetinit|nosource|nosource2|nosplash|nosymbolgen|note|notes|notitle|notitles|notsorted|noverbose|noxsync|noxwait|npv|null|number|numkeys|nummousekeys|nway|obs|ods|on|open|option|order|ordinal|otherwise|out|outer|outp=|output|over|ovp|p([15]|10|25|50|75|90|95|99)|pad|pad2|page|pageno|pagesize|paired|parm|parmcards|path|pathdll|pathname|pdf|peek|peekc|pfkey|pmf|point|poisson|poke|position|printer|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probsig|probt|procleave|project|prt|propcase|prxmatch|prxparse|prxchange|prxposn|ps|put|putc|putn|pw|pwreq|qtr|quote|r|ranbin|rancau|ranexp|rangam|range|ranks|rannor|ranpoi|rantbl|rantri|ranuni|read|recfm|register|regr|remote|remove|rename|repeat|replace|resolve|retain|return|reuse|reverse|rewind|right|round|rsquare|rtf|rtrace|rtraceloc|s|s2|samploc|sasautos|sascontrol|sasfrscr|sashelp|sasmsg|sasmstore|sasscript|sasuser|saving|scan|sdf|second|select|selection|separated|seq|serror|set|setcomm|setot|sign|simple|sin|sinh|siteinfo|skewness|skip|sle|sls|sortedby|sortpgm|sortseq|sortsize|soundex|source2|spedis|splashlocation|split|spool|sqrt|start|std|stderr|stdin|stfips|stimer|stname|stnamel|stop|stopover|strip|subgroup|subpopn|substr|sum|sumwgt|symbol|symbolgen|symget|symput|sysget|sysin|sysleave|sysmsg|sysparm|sysprint|sysprintfont|sysprod|sysrc|system|t|table|tables|tan|tanh|tapeclose|tbufsize|terminal|test|then|time|timepart|tinv|title[1-9]?|tnonct|to|today|tol|tooldef|totper|transformout|translate|trantab|tranwrd|trigamma|trim|trimn|trunc|truncover|type|unformatted|uniform|union|until|upcase|update|user|usericon|uss|validate|value|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vnferr|vtype|vtypex|weekday|weight|when|where|while|wincharset|window|work|workinit|workterm|write|wsum|wsumx|x|xsync|xwait|year|yearcutoff|yes|yyq|zipfips|zipname|zipnamel|zipstate))\\\\b\",\"name\":\"support.function.sas\"}],\"repository\":{\"blockComment\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.slashstar.sas\"}]},\"constant\":{\"patterns\":[{\"match\":\"(?<![\\\\&}])\\\\b[0-9]*\\\\.?[0-9]+([eEdD][-+]?[0-9]+)?\\\\b\",\"name\":\"constant.numeric.sas\"},{\"match\":\"(')([^']+)(')(dt|[dt])\",\"name\":\"constant.numeric.quote.single.sas\"},{\"match\":\"(\\\")([^\\\"]+)(\\\")(dt|[dt])\",\"name\":\"constant.numeric.quote.double.sas\"}]},\"dataSet\":{\"patterns\":[{\"begin\":\"((\\\\w+)\\\\.)?(\\\\w+)\\\\s?\\\\(\",\"beginCaptures\":{\"2\":{\"name\":\"entity.name.class.libref.sas\"},\"3\":{\"name\":\"entity.name.class.dsname.sas\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#dataSetOptions\"},{\"include\":\"#blockComment\"},{\"include\":\"#macro\"},{\"include\":\"#constant\"},{\"include\":\"#quote\"},{\"include\":\"#operator\"}]},{\"captures\":{\"2\":{\"name\":\"entity.name.class.libref.sas\"},\"3\":{\"name\":\"entity.name.class.dsname.sas\"}},\"match\":\"\\\\b((\\\\w+)\\\\.)?(\\\\w+)\\\\b\"}]},\"dataSetOptions\":{\"patterns\":[{\"match\":\"(?<=[\\\\s()])(?i:ALTER|BUFNO|BUFSIZE|CNTLLEV|COMPRESS|DLDMGACTION|ENCRYPT|ENCRYPTKEY|EXTENDOBSCOUNTER|GENMAX|GENNUM|INDEX|LABEL|OBSBUF|OUTREP|PW|PWREQ|READ|REPEMPTY|REPLACE|REUSE|ROLE|SORTEDBY|SPILL|TOBSNO|TYPE|WRITE|FILECLOSE|FIRSTOBS|IN|OBS|POINTOBS|WHERE|WHEREUP|IDXNAME|IDXWHERE|DROP|KEEP|RENAME)\\\\s?=\",\"name\":\"keyword.other.sas\"}]},\"macro\":{\"patterns\":[{\"match\":\"(&+(?i:[a-z_]([a-z0-9_]+)?)(\\\\.+)?)\\\\b\",\"name\":\"variable.other.macro.sas\"}]},\"operator\":{\"patterns\":[{\"match\":\"([+\\\\-*^/])\",\"name\":\"keyword.operator.arithmetic.sas\"},{\"match\":\"\\\\b(?i:(eq|ne|gt|lt|ge|le|in|not|&|and|or|min|max))\\\\b\",\"name\":\"keyword.operator.comparison.sas\"},{\"match\":\"([¬<>^~]?=(:)?|[><|!¦¬]|^|~|<>|><|\\\\|\\\\|)\",\"name\":\"keyword.operator.sas\"}]},\"quote\":{\"patterns\":[{\"begin\":\"(?<!%)(')\",\"end\":\"(')([bx])?\",\"name\":\"string.quoted.single.sas\"},{\"begin\":\"(\\\")\",\"end\":\"(\\\")([bx])?\",\"name\":\"string.quoted.double.sas\"}]},\"starComment\":{\"patterns\":[{\"include\":\"#blockcomment\"},{\"begin\":\"(?<=;)[\\\\s%]*\\\\*\",\"end\":\";\",\"name\":\"comment.line.inline.star.sas\"},{\"begin\":\"^[\\\\s%]*\\\\*\",\"end\":\";\",\"name\":\"comment.line.start.sas\"}]}},\"scopeName\":\"source.sas\",\"embeddedLangs\":[\"sql\"]}"))
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
...sql,
|
package/dist/sass.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Sass\",\"fileTypes\":[\"sass\"],\"foldingStartMarker\":\"/\\\\*|^#|^\\\\*|^\\\\b|\\\\*#?region|^\\\\.\",\"foldingStopMarker\":\"\\\\*/|\\\\*#?endregion|^\\\\s*$\",\"name\":\"sass\",\"patterns\":[{\"begin\":\"^(\\\\s*)(/\\\\*)\",\"end\":\"(\\\\*/)|^(?!\\\\s\\\\1)\",\"name\":\"comment.block.sass\",\"patterns\":[{\"include\":\"#comment-tag\"},{\"include\":\"#comment-param\"}]},{\"match\":\"^[\\\\t ]*/?//[\\\\t ]*[SRI][\\\\t ]*$\",\"name\":\"keyword.other.sass.formatter.action\"},{\"begin\":\"^[\\\\t ]*//[\\\\t ]*(import)[\\\\t ]*(css-variables)[\\\\t ]*(from)\",\"captures\":{\"1\":{\"name\":\"keyword.control\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control\"}},\"end\":\"$\\\\n?\",\"name\":\"comment.import.css.variables\",\"patterns\":[{\"include\":\"#import-quotes\"}]},{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#curly-brackets\"},{\"include\":\"#placeholder-selector\"},{\"begin\":\"\\\\$[a-zA-Z0-9_\\\\-]+(?=:)\",\"captures\":{\"0\":{\"name\":\"variable.other.name\"}},\"end\":\"$\\\\n?|(?=\\\\)(?:\\\\s\\\\)|\\\\n))\",\"name\":\"sass.script.maps\",\"patterns\":[{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#variable\"},{\"include\":\"#rgb-value\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"include\":\"#operator\"},{\"include\":\"#reserved-words\"},{\"include\":\"#parent-selector\"},{\"include\":\"#property-value\"},{\"include\":\"#semicolon\"},{\"include\":\"#dotdotdot\"}]},{\"include\":\"#variable-root\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#semicolon\"},{\"include\":\"#dotdotdot\"},{\"begin\":\"@include|\\\\+(?![\\\\W\\\\d])\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass\"}},\"end\":\"(?=[\\\\n(])\",\"name\":\"support.function.name.sass.library\"},{\"begin\":\"^(@use)\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass.use\"}},\"end\":\"(?=\\\\n)\",\"name\":\"sass.use\",\"patterns\":[{\"match\":\"as|with\",\"name\":\"support.type.css.sass\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#variable-root\"},{\"include\":\"#rgb-value\"},{\"include\":\"#comma\"},{\"include\":\"#parenthesis-open\"},{\"include\":\"#parenthesis-close\"},{\"include\":\"#colon\"},{\"include\":\"#import-quotes\"}]},{\"begin\":\"^@import(.*?)( as.*)?$\",\"captures\":{\"1\":{\"name\":\"constant.character.css.sass\"},\"2\":{\"name\":\"invalid\"}},\"end\":\"(?=\\\\n)\",\"name\":\"keyword.control.at-rule.use\"},{\"begin\":\"@mixin|^[\\\\t ]*=|@function\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass\"}},\"end\":\"$\\\\n?|(?=\\\\()\",\"name\":\"support.function.name.sass\",\"patterns\":[{\"match\":\"[\\\\w\\\\-]+\",\"name\":\"entity.name.function\"}]},{\"begin\":\"@\",\"end\":\"$\\\\n?|\\\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)([\\\\s,]))\",\"name\":\"keyword.control.at-rule.css.sass\"},{\"begin\":\"(?<![\\\\-(])\\\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|slot)\\\\b(?![\\\\-)]|:\\\\s)|&\",\"end\":\"$\\\\n?|(?=[\\\\s,().#\\\\[>\\\\-_])\",\"name\":\"entity.name.tag.css.sass.symbol\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"#\",\"end\":\"$\\\\n?|(?=[\\\\s,().\\\\[>])\",\"name\":\"entity.other.attribute-name.id.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\.|(?<=&)([\\\\-_])\",\"end\":\"$\\\\n?|(?=[\\\\s,()\\\\[>])\",\"name\":\"entity.other.attribute-name.class.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\[\",\"end\":\"]\",\"name\":\"entity.other.attribute-selector.sass\",\"patterns\":[{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"match\":\"[\\\\^$*~]\",\"name\":\"keyword.other.regex.sass\"}]},{\"match\":\"^((?<=[\\\\])]|not\\\\(|[*>]|>\\\\s)|\\\\n*):[a-z:\\\\-]+|(:[:\\\\-])[a-z:\\\\-]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.sass\"},{\"include\":\"#module\"},{\"match\":\"[\\\\w\\\\-]*\\\\(\",\"name\":\"entity.name.function\"},{\"match\":\"\\\\)\",\"name\":\"entity.name.function.close\"},{\"begin\":\":\",\"end\":\"$\\\\n?|(?=\\\\s\\\\(|and\\\\(|\\\\),)\",\"name\":\"meta.property-list.css.sass.prop\",\"patterns\":[{\"match\":\"(?<=:)[a-z\\\\-]+\\\\s\",\"name\":\"support.type.property-name.css.sass.prop.name\"},{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#curly-brackets\"},{\"include\":\"#variable\"},{\"include\":\"#rgb-value\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#module\"},{\"match\":\"--.+?(?=\\\\))\",\"name\":\"variable.css\"},{\"match\":\"[\\\\w\\\\-]*\\\\(\",\"name\":\"entity.name.function\"},{\"match\":\"\\\\)\",\"name\":\"entity.name.function.close\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#semicolon\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"include\":\"#operator\"},{\"include\":\"#parent-selector\"},{\"include\":\"#property-value\"}]},{\"include\":\"#rgb-value\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"begin\":\"(?<=})(?![\\\\n()]|[a-zA-Z0-9_\\\\-]+:)\",\"end\":\"\\\\s|(?=[,.\\\\[)\\\\n])\",\"name\":\"entity.name.tag.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"include\":\"#operator\"},{\"match\":\"[a-z\\\\-]+((?=:|#\\\\{))\",\"name\":\"support.type.property-name.css.sass.prop.name\"},{\"include\":\"#reserved-words\"},{\"include\":\"#property-value\"}],\"repository\":{\"colon\":{\"match\":\":\",\"name\":\"meta.property-list.css.sass.colon\"},\"comma\":{\"match\":\"\\\\band\\\\b|\\\\bor\\\\b|,\",\"name\":\"comment.punctuation.comma.sass\"},\"comment-param\":{\"match\":\"@(\\\\w+)\",\"name\":\"storage.type.class.jsdoc\"},\"comment-tag\":{\"begin\":\"(?<=\\\\{\\\\{)\",\"end\":\"(?=}})\",\"name\":\"comment.tag.sass\"},\"curly-brackets\":{\"match\":\"[{}]\",\"name\":\"invalid\"},\"dotdotdot\":{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.other\"},\"double-quoted\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.css.sass\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"double-slash\":{\"begin\":\"//\",\"end\":\"$\\\\n?\",\"name\":\"comment.line.sass\",\"patterns\":[{\"include\":\"#comment-tag\"}]},\"flag\":{\"match\":\"!(important|default|optional|global)\",\"name\":\"keyword.other.important.css.sass\"},\"function\":{\"match\":\"(?<=[\\\\s|(,:])(?!url|format|attr)[a-zA-Z0-9_\\\\-][\\\\w\\\\-]*(?=\\\\()\",\"name\":\"support.function.name.sass\"},\"function-content\":{\"begin\":\"(?<=url\\\\(|format\\\\(|attr\\\\()\",\"end\":\".(?=\\\\))\",\"name\":\"string.quoted.double.css.sass\"},\"import-quotes\":{\"match\":\"[\\\"']?\\\\.{0,2}[\\\\w/]+[\\\"']?\",\"name\":\"constant.character.css.sass\"},\"interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.sass\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"},{\"include\":\"#comma\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"}]},\"module\":{\"captures\":{\"1\":{\"name\":\"constant.character.module.name\"},\"2\":{\"name\":\"constant.numeric.module.dot\"}},\"match\":\"([\\\\w\\\\-]+?)(\\\\.)\",\"name\":\"constant.character.module\"},\"numeric\":{\"match\":\"([\\\\-.])?[0-9]+(\\\\.[0-9]+)?\",\"name\":\"constant.numeric.css.sass\"},\"operator\":{\"match\":\"\\\\+|\\\\s-\\\\s|\\\\s-(?=\\\\$)|(?<=\\\\()-(?=\\\\$)|\\\\s-(?=\\\\()|[*/%=!<>~]\",\"name\":\"keyword.operator.sass\"},\"parent-selector\":{\"match\":\"&\",\"name\":\"entity.name.tag.css.sass\"},\"parenthesis-close\":{\"match\":\"\\\\)\",\"name\":\"entity.name.function.parenthesis.close\"},\"parenthesis-open\":{\"match\":\"\\\\(\",\"name\":\"entity.name.function.parenthesis.open\"},\"placeholder-selector\":{\"begin\":\"(?<!\\\\d)%(?!\\\\d)\",\"end\":\"$\\\\n?|\\\\s\",\"name\":\"entity.other.inherited-class.placeholder-selector.css.sass\"},\"property-value\":{\"match\":\"[a-zA-Z0-9_\\\\-]+\",\"name\":\"meta.property-value.css.sass support.constant.property-value.css.sass\"},\"pseudo-class\":{\"match\":\":[a-z:\\\\-]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.sass\"},\"quoted-interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.sass\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"},{\"include\":\"#comma\"}]},\"reserved-words\":{\"match\":\"\\\\b(false|from|in|not|null|through|to|true)\\\\b\",\"name\":\"support.type.property-name.css.sass\"},\"rgb-value\":{\"match\":\"(#)(\\\\h{3,4}|\\\\h{6}|\\\\h{8})\\\\b\",\"name\":\"constant.language.color.rgb-value.css.sass\"},\"semicolon\":{\"match\":\";\",\"name\":\"invalid\"},\"single-quoted\":{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.css.sass\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"unit\":{\"match\":\"(?<=[\\\\d}])(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|fr|%)\",\"name\":\"keyword.control.unit.css.sass\"},\"variable\":{\"match\":\"\\\\$[a-zA-Z0-9_\\\\-]+\",\"name\":\"variable.other.value\"},\"variable-root\":{\"match\":\"\\\\$[a-zA-Z0-9_\\\\-]+\",\"name\":\"variable.other.root\"}},\"scopeName\":\"source.sass\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Sass\",\"fileTypes\":[\"sass\"],\"foldingStartMarker\":\"/\\\\*|^#|^\\\\*|^\\\\b|\\\\*#?region|^\\\\.\",\"foldingStopMarker\":\"\\\\*/|\\\\*#?endregion|^\\\\s*$\",\"name\":\"sass\",\"patterns\":[{\"begin\":\"^(\\\\s*)(/\\\\*)\",\"end\":\"(\\\\*/)|^(?!\\\\s\\\\1)\",\"name\":\"comment.block.sass\",\"patterns\":[{\"include\":\"#comment-tag\"},{\"include\":\"#comment-param\"}]},{\"match\":\"^[\\\\t ]*/?//[\\\\t ]*[SRI][\\\\t ]*$\",\"name\":\"keyword.other.sass.formatter.action\"},{\"begin\":\"^[\\\\t ]*//[\\\\t ]*(import)[\\\\t ]*(css-variables)[\\\\t ]*(from)\",\"captures\":{\"1\":{\"name\":\"keyword.control\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control\"}},\"end\":\"$\\\\n?\",\"name\":\"comment.import.css.variables\",\"patterns\":[{\"include\":\"#import-quotes\"}]},{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#curly-brackets\"},{\"include\":\"#placeholder-selector\"},{\"begin\":\"\\\\$[a-zA-Z0-9_-]+(?=:)\",\"captures\":{\"0\":{\"name\":\"variable.other.name\"}},\"end\":\"$\\\\n?|(?=\\\\)(?:\\\\s\\\\)|\\\\n))\",\"name\":\"sass.script.maps\",\"patterns\":[{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#variable\"},{\"include\":\"#rgb-value\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"include\":\"#operator\"},{\"include\":\"#reserved-words\"},{\"include\":\"#parent-selector\"},{\"include\":\"#property-value\"},{\"include\":\"#semicolon\"},{\"include\":\"#dotdotdot\"}]},{\"include\":\"#variable-root\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#semicolon\"},{\"include\":\"#dotdotdot\"},{\"begin\":\"@include|\\\\+(?![\\\\W\\\\d])\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass\"}},\"end\":\"(?=[\\\\n(])\",\"name\":\"support.function.name.sass.library\"},{\"begin\":\"^(@use)\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass.use\"}},\"end\":\"(?=\\\\n)\",\"name\":\"sass.use\",\"patterns\":[{\"match\":\"as|with\",\"name\":\"support.type.css.sass\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#variable-root\"},{\"include\":\"#rgb-value\"},{\"include\":\"#comma\"},{\"include\":\"#parenthesis-open\"},{\"include\":\"#parenthesis-close\"},{\"include\":\"#colon\"},{\"include\":\"#import-quotes\"}]},{\"begin\":\"^@import(.*?)( as.*)?$\",\"captures\":{\"1\":{\"name\":\"constant.character.css.sass\"},\"2\":{\"name\":\"invalid\"}},\"end\":\"(?=\\\\n)\",\"name\":\"keyword.control.at-rule.use\"},{\"begin\":\"@mixin|^[\\\\t ]*=|@function\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.sass\"}},\"end\":\"$\\\\n?|(?=\\\\()\",\"name\":\"support.function.name.sass\",\"patterns\":[{\"match\":\"[\\\\w-]+\",\"name\":\"entity.name.function\"}]},{\"begin\":\"@\",\"end\":\"$\\\\n?|\\\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)([\\\\s,]))\",\"name\":\"keyword.control.at-rule.css.sass\"},{\"begin\":\"(?<![-(])\\\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|slot)\\\\b(?![-)]|:\\\\s)|&\",\"end\":\"$\\\\n?|(?=[\\\\s,().#\\\\[>\\\\-_])\",\"name\":\"entity.name.tag.css.sass.symbol\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"#\",\"end\":\"$\\\\n?|(?=[\\\\s,().\\\\[>])\",\"name\":\"entity.other.attribute-name.id.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\.|(?<=&)([-_])\",\"end\":\"$\\\\n?|(?=[\\\\s,()\\\\[>])\",\"name\":\"entity.other.attribute-name.class.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\[\",\"end\":\"]\",\"name\":\"entity.other.attribute-selector.sass\",\"patterns\":[{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"match\":\"[\\\\^$*~]\",\"name\":\"keyword.other.regex.sass\"}]},{\"match\":\"^((?<=[\\\\])]|not\\\\(|[*>]|>\\\\s)|\\\\n*):[a-z:-]+|(:[:-])[a-z:-]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.sass\"},{\"include\":\"#module\"},{\"match\":\"[\\\\w-]*\\\\(\",\"name\":\"entity.name.function\"},{\"match\":\"\\\\)\",\"name\":\"entity.name.function.close\"},{\"begin\":\":\",\"end\":\"$\\\\n?|(?=\\\\s\\\\(|and\\\\(|\\\\),)\",\"name\":\"meta.property-list.css.sass.prop\",\"patterns\":[{\"match\":\"(?<=:)[a-z-]+\\\\s\",\"name\":\"support.type.property-name.css.sass.prop.name\"},{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#curly-brackets\"},{\"include\":\"#variable\"},{\"include\":\"#rgb-value\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#module\"},{\"match\":\"--.+?(?=\\\\))\",\"name\":\"variable.css\"},{\"match\":\"[\\\\w-]*\\\\(\",\"name\":\"entity.name.function\"},{\"match\":\"\\\\)\",\"name\":\"entity.name.function.close\"},{\"include\":\"#flag\"},{\"include\":\"#comma\"},{\"include\":\"#semicolon\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"include\":\"#operator\"},{\"include\":\"#parent-selector\"},{\"include\":\"#property-value\"}]},{\"include\":\"#rgb-value\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"begin\":\"(?<=})(?![\\\\n()]|[a-zA-Z0-9_-]+:)\",\"end\":\"\\\\s|(?=[,.\\\\[)\\\\n])\",\"name\":\"entity.name.tag.css.sass\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"include\":\"#operator\"},{\"match\":\"[a-z-]+((?=:|#\\\\{))\",\"name\":\"support.type.property-name.css.sass.prop.name\"},{\"include\":\"#reserved-words\"},{\"include\":\"#property-value\"}],\"repository\":{\"colon\":{\"match\":\":\",\"name\":\"meta.property-list.css.sass.colon\"},\"comma\":{\"match\":\"\\\\band\\\\b|\\\\bor\\\\b|,\",\"name\":\"comment.punctuation.comma.sass\"},\"comment-param\":{\"match\":\"@(\\\\w+)\",\"name\":\"storage.type.class.jsdoc\"},\"comment-tag\":{\"begin\":\"(?<=\\\\{\\\\{)\",\"end\":\"(?=}})\",\"name\":\"comment.tag.sass\"},\"curly-brackets\":{\"match\":\"[{}]\",\"name\":\"invalid\"},\"dotdotdot\":{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.other\"},\"double-quoted\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.css.sass\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"double-slash\":{\"begin\":\"//\",\"end\":\"$\\\\n?\",\"name\":\"comment.line.sass\",\"patterns\":[{\"include\":\"#comment-tag\"}]},\"flag\":{\"match\":\"!(important|default|optional|global)\",\"name\":\"keyword.other.important.css.sass\"},\"function\":{\"match\":\"(?<=[\\\\s|(,:])(?!url|format|attr)[a-zA-Z0-9_-][\\\\w-]*(?=\\\\()\",\"name\":\"support.function.name.sass\"},\"function-content\":{\"begin\":\"(?<=url\\\\(|format\\\\(|attr\\\\()\",\"end\":\".(?=\\\\))\",\"name\":\"string.quoted.double.css.sass\"},\"import-quotes\":{\"match\":\"[\\\"']?\\\\.{0,2}[\\\\w/]+[\\\"']?\",\"name\":\"constant.character.css.sass\"},\"interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.sass\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"},{\"include\":\"#comma\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"}]},\"module\":{\"captures\":{\"1\":{\"name\":\"constant.character.module.name\"},\"2\":{\"name\":\"constant.numeric.module.dot\"}},\"match\":\"([\\\\w-]+?)(\\\\.)\",\"name\":\"constant.character.module\"},\"numeric\":{\"match\":\"([-.])?[0-9]+(\\\\.[0-9]+)?\",\"name\":\"constant.numeric.css.sass\"},\"operator\":{\"match\":\"\\\\+|\\\\s-\\\\s|\\\\s-(?=\\\\$)|(?<=\\\\()-(?=\\\\$)|\\\\s-(?=\\\\()|[*/%=!<>~]\",\"name\":\"keyword.operator.sass\"},\"parent-selector\":{\"match\":\"&\",\"name\":\"entity.name.tag.css.sass\"},\"parenthesis-close\":{\"match\":\"\\\\)\",\"name\":\"entity.name.function.parenthesis.close\"},\"parenthesis-open\":{\"match\":\"\\\\(\",\"name\":\"entity.name.function.parenthesis.open\"},\"placeholder-selector\":{\"begin\":\"(?<!\\\\d)%(?!\\\\d)\",\"end\":\"$\\\\n?|\\\\s\",\"name\":\"entity.other.inherited-class.placeholder-selector.css.sass\"},\"property-value\":{\"match\":\"[a-zA-Z0-9_-]+\",\"name\":\"meta.property-value.css.sass support.constant.property-value.css.sass\"},\"pseudo-class\":{\"match\":\":[a-z:-]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.sass\"},\"quoted-interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.sass\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"},{\"include\":\"#comma\"}]},\"reserved-words\":{\"match\":\"\\\\b(false|from|in|not|null|through|to|true)\\\\b\",\"name\":\"support.type.property-name.css.sass\"},\"rgb-value\":{\"match\":\"(#)(\\\\h{3,4}|\\\\h{6}|\\\\h{8})\\\\b\",\"name\":\"constant.language.color.rgb-value.css.sass\"},\"semicolon\":{\"match\":\";\",\"name\":\"invalid\"},\"single-quoted\":{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.css.sass\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"unit\":{\"match\":\"(?<=[\\\\d}])(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|fr|%)\",\"name\":\"keyword.control.unit.css.sass\"},\"variable\":{\"match\":\"\\\\$[a-zA-Z0-9_-]+\",\"name\":\"variable.other.value\"},\"variable-root\":{\"match\":\"\\\\$[a-zA-Z0-9_-]+\",\"name\":\"variable.other.root\"}},\"scopeName\":\"source.sass\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/scala.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Scala\",\"fileTypes\":[\"scala\"],\"firstLineMatch\":\"^#!/.*\\\\b\\\\w*scala\\\\b\",\"foldingStartMarker\":\"/\\\\*\\\\*|\\\\{\\\\s*$\",\"foldingStopMarker\":\"\\\\*\\\\*/|^\\\\s*}\",\"name\":\"scala\",\"patterns\":[{\"include\":\"#code\"}],\"repository\":{\"backQuotedVariable\":{\"match\":\"`[^`]+`\"},\"block-comments\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"match\":\"/\\\\*\\\\*/\",\"name\":\"comment.block.empty.scala\"},{\"begin\":\"^\\\\s*(/\\\\*\\\\*)(?!/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"name\":\"comment.block.documentation.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.scaladoc.scala\"},\"2\":{\"name\":\"variable.parameter.scala\"}},\"match\":\"(@param)\\\\s+(\\\\S+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.scaladoc.scala\"},\"2\":{\"name\":\"entity.name.class\"}},\"match\":\"(@t(?:param|hrows))\\\\s+(\\\\S+)\"},{\"match\":\"@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc|groupname|groupprio|groupdesc|group|contentDiagram|documentable|syntax)\\\\b\",\"name\":\"keyword.other.documentation.scaladoc.scala\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.documentation.link.scala\"},\"2\":{\"name\":\"string.other.link.title.markdown\"},\"3\":{\"name\":\"punctuation.definition.documentation.link.scala\"}},\"match\":\"(\\\\[\\\\[)([^\\\\]]+)(]])\"},{\"include\":\"#block-comments\"}]},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block.scala\",\"patterns\":[{\"include\":\"#block-comments\"}]}]},\"char-literal\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.character.begin.scala\"},\"2\":{\"name\":\"punctuation.definition.character.end.scala\"}},\"match\":\"(')'(')\",\"name\":\"string.quoted.other constant.character.literal.scala\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.character.begin.scala\"}},\"end\":\"'|$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.character.end.scala\"}},\"name\":\"string.quoted.other constant.character.literal.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-character-escape.scala\"},{\"match\":\"[^']{2,}\",\"name\":\"invalid.illegal.character-literal-too-long\"},{\"match\":\"(?<!')[^']\",\"name\":\"invalid.illegal.character-literal-too-long\"}]}]},\"code\":{\"patterns\":[{\"include\":\"#using-directive\"},{\"include\":\"#script-header\"},{\"include\":\"#storage-modifiers\"},{\"include\":\"#declarations\"},{\"include\":\"#inheritance\"},{\"include\":\"#extension\"},{\"include\":\"#imports\"},{\"include\":\"#exports\"},{\"include\":\"#comments\"},{\"include\":\"#strings\"},{\"include\":\"#initialization\"},{\"include\":\"#xml-literal\"},{\"include\":\"#namedBounds\"},{\"include\":\"#keywords\"},{\"include\":\"#using\"},{\"include\":\"#constants\"},{\"include\":\"#singleton-type\"},{\"include\":\"#inline\"},{\"include\":\"#scala-quoted-or-symbol\"},{\"include\":\"#char-literal\"},{\"include\":\"#empty-parentheses\"},{\"include\":\"#parameter-list\"},{\"include\":\"#qualifiedClassName\"},{\"include\":\"#backQuotedVariable\"},{\"include\":\"#curly-braces\"},{\"include\":\"#meta-brackets\"},{\"include\":\"#meta-bounds\"},{\"include\":\"#meta-colons\"}]},\"comments\":{\"patterns\":[{\"include\":\"#block-comments\"},{\"begin\":\"(^[ \\\\t]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.scala\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-slash.scala\"}]}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(false|null|true)\\\\b\",\"name\":\"constant.language.scala\"},{\"match\":\"\\\\b(0[xX][_\\\\h]*)\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b(([0-9][0-9_]*(\\\\.[0-9][0-9_]*)?)([eE]([+\\\\-])?[0-9][0-9_]*)?|[0-9][0-9_]*)[LlFfDd]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"(\\\\.[0-9][0-9_]*)([eE]([+\\\\-])?[0-9][0-9_]*)?[LlFfDd]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b0[bB][01]([01_]*[01])?[Ll]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b(this|super)\\\\b\",\"name\":\"variable.language.scala\"}]},\"curly-braces\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.block.begin.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.scala\"}},\"patterns\":[{\"include\":\"#code\"}]},\"declarations\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.function.declaration\"}},\"match\":\"\\\\b(def)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(trait)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"keyword.declaration.scala\"},\"3\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(?:(case)\\\\s+)?(class|object|enum)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.type.declaration\"}},\"match\":\"(?<!\\\\.)\\\\b(type)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.stable.scala\"},\"2\":{\"name\":\"keyword.declaration.volatile.scala\"}},\"match\":\"\\\\b(?:(val)|(var))\\\\b\\\\s*(?!/[/*])(?=(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)?\\\\()\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.stable.scala\"},\"2\":{\"name\":\"variable.stable.declaration.scala\"}},\"match\":\"\\\\b(val)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)(?:\\\\s*,\\\\s*(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))*)?(?!\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.volatile.scala\"},\"2\":{\"name\":\"variable.volatile.declaration.scala\"}},\"match\":\"\\\\b(var)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)(?:\\\\s*,\\\\s*(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))*)?(?!\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.package.scala\"},\"2\":{\"name\":\"keyword.declaration.scala\"},\"3\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(package)\\\\s+(object)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"begin\":\"\\\\b(package)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.package.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.package.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.package.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.package\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.given.declaration\"}},\"match\":\"\\\\b(given)\\\\b\\\\s*([_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`)?\"}]},\"empty-parentheses\":{\"captures\":{\"1\":{\"name\":\"meta.bracket.scala\"}},\"match\":\"(\\\\(\\\\))\",\"name\":\"meta.parentheses.scala\"},\"exports\":{\"begin\":\"\\\\b(export)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.export.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.export.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.export.given.scala\"},{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?\",\"name\":\"entity.name.class.export.scala\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.export.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.export\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"name\":\"meta.export.selector.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.export.given.scala\"},\"2\":{\"name\":\"entity.name.class.export.renamed-from.scala\"},\"3\":{\"name\":\"entity.name.export.renamed-from.scala\"},\"4\":{\"name\":\"keyword.other.arrow.scala\"},\"5\":{\"name\":\"entity.name.class.export.renamed-to.scala\"},\"6\":{\"name\":\"entity.name.export.renamed-to.scala\"}},\"match\":\"(given\\\\s)?\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*(=>)\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.export.given.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.export.given.scala\"},\"2\":{\"name\":\"entity.name.class.export.scala\"},\"3\":{\"name\":\"entity.name.export.scala\"}},\"match\":\"(given\\\\s+)?(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\"}]}]},\"extension\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"^\\\\s*(extension)\\\\s+(?=[\\\\[(])\"}]},\"imports\":{\"begin\":\"\\\\b(import)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.import.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.import.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.import.given.scala\"},{\"match\":\"\\\\s(as)\\\\s\",\"name\":\"keyword.other.import.as.scala\"},{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?\",\"name\":\"entity.name.class.import.scala\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.import.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.import\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"name\":\"meta.import.selector.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.import.given.scala\"},\"2\":{\"name\":\"entity.name.class.import.renamed-from.scala\"},\"3\":{\"name\":\"entity.name.import.renamed-from.scala\"},\"4\":{\"name\":\"keyword.other.arrow.scala\"},\"5\":{\"name\":\"entity.name.class.import.renamed-to.scala\"},\"6\":{\"name\":\"entity.name.import.renamed-to.scala\"}},\"match\":\"(given\\\\s)?\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*(=>)\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.import.given.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.import.given.scala\"},\"2\":{\"name\":\"entity.name.class.import.scala\"},\"3\":{\"name\":\"entity.name.import.scala\"}},\"match\":\"(given\\\\s+)?(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))\"}]}]},\"inheritance\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.class\"}},\"match\":\"\\\\b(extends|with|derives)\\\\b\\\\s*([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`|(?=\\\\([^)]+=>)|(?=(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+))|(?=\\\"))?\"}]},\"initialization\":{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"\\\\b(new)\\\\b\"},\"inline\":{\"patterns\":[{\"match\":\"\\\\b(inline)(?=\\\\s+((?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)\\\\s*:)\",\"name\":\"storage.modifier.other\"},{\"match\":\"\\\\b(inline)\\\\b(?=(?:.(?!\\\\b(?:val|def|given)\\\\b))*\\\\b(if|match)\\\\b)\",\"name\":\"keyword.control.flow.scala\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(return|throw)\\\\b\",\"name\":\"keyword.control.flow.jump.scala\"},{\"match\":\"\\\\b(classOf|isInstanceOf|asInstanceOf)\\\\b\",\"name\":\"support.function.type-of.scala\"},{\"match\":\"\\\\b(else|if|then|do|while|for|yield|match|case)\\\\b\",\"name\":\"keyword.control.flow.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(if|while|for|match)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.control.flow.end.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(val)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.declaration.stable.end.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(var)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.declaration.volatile.end.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.end.scala\"},\"2\":{\"name\":\"keyword.declaration.end.scala\"},\"3\":{\"name\":\"entity.name.type.declaration\"}},\"match\":\"^\\\\s*(end)\\\\s+(?:(new|extension)|([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?))(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\"},{\"match\":\"\\\\b(catch|finally|try)\\\\b\",\"name\":\"keyword.control.exception.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(try)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.control.exception.end.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.end.scala\"},\"2\":{\"name\":\"entity.name.declaration\"}},\"match\":\"^\\\\s*(end)\\\\s+(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+))?(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\"},{\"match\":\"([!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}\\\\\\\\]){3,}\",\"name\":\"keyword.operator.scala\"},{\"captures\":{\"1\":{\"patterns\":[{\"match\":\"(\\\\|\\\\||&&)\",\"name\":\"keyword.operator.logical.scala\"},{\"match\":\"(!=|==|<=|>=)\",\"name\":\"keyword.operator.comparison.scala\"},{\"match\":\"..\",\"name\":\"keyword.operator.scala\"}]}},\"match\":\"([!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}\\\\\\\\]{2,}|_\\\\*)\"},{\"captures\":{\"1\":{\"patterns\":[{\"match\":\"(!)\",\"name\":\"keyword.operator.logical.scala\"},{\"match\":\"([*\\\\-+/%~])\",\"name\":\"keyword.operator.arithmetic.scala\"},{\"match\":\"([=<>])\",\"name\":\"keyword.operator.comparison.scala\"},{\"match\":\".\",\"name\":\"keyword.operator.scala\"}]}},\"match\":\"(?<!_)([!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}\\\\\\\\])\"}]},\"meta-bounds\":{\"match\":\"<%|=:=|<:<|<%<|>:|<:\",\"name\":\"meta.bounds.scala\"},\"meta-brackets\":{\"patterns\":[{\"match\":\"\\\\{\",\"name\":\"punctuation.section.block.begin.scala\"},{\"match\":\"}\",\"name\":\"punctuation.section.block.end.scala\"},{\"match\":\"[{}()\\\\[\\\\]]\",\"name\":\"meta.bracket.scala\"}]},\"meta-colons\":{\"patterns\":[{\"match\":\"(?<!:):(?!:)\",\"name\":\"meta.colon.scala\"}]},\"namedBounds\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.import.as.scala\"},\"2\":{\"name\":\"variable.stable.declaration.scala\"}},\"match\":\"\\\\s+(as)\\\\s+([_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)\\\\b\"}]},\"parameter-list\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.scala\"},\"2\":{\"name\":\"meta.colon.scala\"}},\"match\":\"(?<=[^._$a-zA-Z0-9])(`[^`]+`|[_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)\\\\s*(:)\\\\s+\"}]},\"qualifiedClassName\":{\"captures\":{\"1\":{\"name\":\"entity.name.class\"}},\"match\":\"(\\\\b([A-Z]\\\\w*)(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)\"},\"scala-quoted-or-symbol\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.staging.scala constant.other.symbol.scala\"},\"2\":{\"name\":\"constant.other.symbol.scala\"}},\"match\":\"(')((?>(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)))(?!')\"},{\"match\":\"'(?=\\\\s*\\\\{(?!'))\",\"name\":\"keyword.control.flow.staging.scala\"},{\"match\":\"'(?=\\\\s*\\\\[(?!'))\",\"name\":\"keyword.control.flow.staging.scala\"},{\"match\":\"\\\\$(?=\\\\s*\\\\{)\",\"name\":\"keyword.control.flow.staging.scala\"}]},\"script-header\":{\"captures\":{\"1\":{\"name\":\"string.unquoted.shebang.scala\"}},\"match\":\"^#!(.*)$\",\"name\":\"comment.block.shebang.scala\"},\"singleton-type\":{\"captures\":{\"1\":{\"name\":\"keyword.type.scala\"}},\"match\":\"\\\\.(type)(?![A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[0-9])\"},\"storage-modifiers\":{\"patterns\":[{\"match\":\"\\\\b(pr(?:ivate\\\\[\\\\S+]|otected\\\\[\\\\S+]|ivate|otected))\\\\b\",\"name\":\"storage.modifier.access\"},{\"match\":\"\\\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|override|@transient|@native)\\\\b\",\"name\":\"storage.modifier.other\"},{\"match\":\"(?<=^|\\\\s)\\\\b(transparent|opaque|infix|open|inline)\\\\b(?=[a-z\\\\s]*\\\\b(def|val|var|given|type|class|trait|object|enum)\\\\b)\",\"name\":\"storage.modifier.other\"}]},\"string-interpolation\":{\"patterns\":[{\"match\":\"\\\\$\\\\$\",\"name\":\"constant.character.escape.interpolation.scala\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.scala\"}},\"match\":\"(\\\\$)([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*)\",\"name\":\"meta.template.expression.scala\"},{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.scala\"}},\"contentName\":\"meta.embedded.line.scala\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.scala\"}},\"name\":\"meta.template.expression.scala\",\"patterns\":[{\"include\":\"#code\"}]}]},\"strings\":{\"patterns\":[{\"begin\":\"\\\"\\\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.scala\"}},\"end\":\"\\\"\\\"\\\"(?!\\\")\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.scala\"}},\"name\":\"string.quoted.triple.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:\\\\\\\\|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"}]},{\"begin\":\"\\\\b(raw)(\\\"\\\"\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\"\\\"\\\")(?!\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\".\",\"name\":\"string.quoted.triple.interpolated.scala\"}]},{\"begin\":\"\\\\b([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)(\\\"\\\"\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\"\\\"\\\")(?!\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"include\":\"#string-interpolation\"},{\"match\":\"\\\\\\\\(?:\\\\\\\\|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\".\",\"name\":\"string.quoted.triple.interpolated.scala\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.scala\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.scala\"}},\"name\":\"string.quoted.double.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}]},{\"begin\":\"\\\\b(raw)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\".\",\"name\":\"string.quoted.double.interpolated.scala\"}]},{\"begin\":\"\\\\b([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"},{\"match\":\".\",\"name\":\"string.quoted.double.interpolated.scala\"}]}]},\"using\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"(?<=\\\\()\\\\s*(using)\\\\s\"}]},\"using-directive\":{\"begin\":\"^\\\\s*(//>)\\\\s*(using)[^\\\\S\\\\n]+(\\\\S+)?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.scala\"},\"2\":{\"name\":\"keyword.other.import.scala\"},\"3\":{\"patterns\":[{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@\\\\^|~\\\\p{Sm}\\\\p{So}]+)\",\"name\":\"entity.name.import.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.import\"}]}},\"end\":\"\\\\n\",\"name\":\"comment.line.shebang.scala\",\"patterns\":[{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"match\":\"[^\\\\s,]+\",\"name\":\"string.quoted.double.scala\"}]},\"xml-doublequotedString\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.double.xml\",\"patterns\":[{\"include\":\"#xml-entity\"}]},\"xml-embedded-content\":{\"patterns\":[{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"name\":\"meta.source.embedded.scala\",\"patterns\":[{\"include\":\"#code\"}]},{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.namespace.xml\"},\"2\":{\"name\":\"entity.other.attribute-name.xml\"},\"3\":{\"name\":\"punctuation.separator.namespace.xml\"},\"4\":{\"name\":\"entity.other.attribute-name.localname.xml\"}},\"match\":\" (?:([\\\\-_a-zA-Z0-9]+)((:)))?([_a-zA-Z\\\\-]+)=\"},{\"include\":\"#xml-doublequotedString\"},{\"include\":\"#xml-singlequotedString\"}]},\"xml-entity\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.xml\"},\"3\":{\"name\":\"punctuation.definition.constant.xml\"}},\"match\":\"(&)([:a-zA-Z_][:a-zA-Z0-9_.\\\\-]*|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.xml\"},\"xml-literal\":{\"patterns\":[{\"begin\":\"(<)((?:([_a-zA-Z0-9][_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][\\\\-_a-zA-Z0-9:]*))(?=(\\\\s[^>]*)?></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"3\":{\"name\":\"entity.name.tag.namespace.xml\"},\"4\":{\"name\":\"entity.name.tag.xml\"},\"5\":{\"name\":\"punctuation.separator.namespace.xml\"},\"6\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(>(<))/(?:([\\\\-_a-zA-Z0-9]+)((:)))?([\\\\-_a-zA-Z0-9:]*[_a-zA-Z0-9])(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"meta.scope.between-tag-pair.xml\"},\"3\":{\"name\":\"entity.name.tag.namespace.xml\"},\"4\":{\"name\":\"entity.name.tag.xml\"},\"5\":{\"name\":\"punctuation.separator.namespace.xml\"},\"6\":{\"name\":\"entity.name.tag.localname.xml\"},\"7\":{\"name\":\"punctuation.definition.tag.xml\"}},\"name\":\"meta.tag.no-content.xml\",\"patterns\":[{\"include\":\"#xml-embedded-content\"}]},{\"begin\":\"(</?)(?:([_a-zA-Z0-9][\\\\-_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][\\\\-_a-zA-Z0-9:]*)(?=[^>]*?>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.namespace.xml\"},\"3\":{\"name\":\"entity.name.tag.xml\"},\"4\":{\"name\":\"punctuation.separator.namespace.xml\"},\"5\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(/?>)\",\"name\":\"meta.tag.xml\",\"patterns\":[{\"include\":\"#xml-embedded-content\"}]},{\"include\":\"#xml-entity\"}]},\"xml-singlequotedString\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.single.xml\",\"patterns\":[{\"include\":\"#xml-entity\"}]}},\"scopeName\":\"source.scala\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Scala\",\"fileTypes\":[\"scala\"],\"firstLineMatch\":\"^#!/.*\\\\b\\\\w*scala\\\\b\",\"foldingStartMarker\":\"/\\\\*\\\\*|\\\\{\\\\s*$\",\"foldingStopMarker\":\"\\\\*\\\\*/|^\\\\s*}\",\"name\":\"scala\",\"patterns\":[{\"include\":\"#code\"}],\"repository\":{\"backQuotedVariable\":{\"match\":\"`[^`]+`\"},\"block-comments\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"match\":\"/\\\\*\\\\*/\",\"name\":\"comment.block.empty.scala\"},{\"begin\":\"^\\\\s*(/\\\\*\\\\*)(?!/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"name\":\"comment.block.documentation.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.scaladoc.scala\"},\"2\":{\"name\":\"variable.parameter.scala\"}},\"match\":\"(@param)\\\\s+(\\\\S+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.documentation.scaladoc.scala\"},\"2\":{\"name\":\"entity.name.class\"}},\"match\":\"(@t(?:param|hrows))\\\\s+(\\\\S+)\"},{\"match\":\"@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc|groupname|groupprio|groupdesc|group|contentDiagram|documentable|syntax)\\\\b\",\"name\":\"keyword.other.documentation.scaladoc.scala\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.documentation.link.scala\"},\"2\":{\"name\":\"string.other.link.title.markdown\"},\"3\":{\"name\":\"punctuation.definition.documentation.link.scala\"}},\"match\":\"(\\\\[\\\\[)([^\\\\]]+)(]])\"},{\"include\":\"#block-comments\"}]},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block.scala\",\"patterns\":[{\"include\":\"#block-comments\"}]}]},\"char-literal\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.character.begin.scala\"},\"2\":{\"name\":\"punctuation.definition.character.end.scala\"}},\"match\":\"(')'(')\",\"name\":\"string.quoted.other constant.character.literal.scala\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.character.begin.scala\"}},\"end\":\"'|$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.character.end.scala\"}},\"name\":\"string.quoted.other constant.character.literal.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-character-escape.scala\"},{\"match\":\"[^']{2,}\",\"name\":\"invalid.illegal.character-literal-too-long\"},{\"match\":\"(?<!')[^']\",\"name\":\"invalid.illegal.character-literal-too-long\"}]}]},\"code\":{\"patterns\":[{\"include\":\"#using-directive\"},{\"include\":\"#script-header\"},{\"include\":\"#storage-modifiers\"},{\"include\":\"#declarations\"},{\"include\":\"#inheritance\"},{\"include\":\"#extension\"},{\"include\":\"#imports\"},{\"include\":\"#exports\"},{\"include\":\"#comments\"},{\"include\":\"#strings\"},{\"include\":\"#initialization\"},{\"include\":\"#xml-literal\"},{\"include\":\"#namedBounds\"},{\"include\":\"#keywords\"},{\"include\":\"#using\"},{\"include\":\"#constants\"},{\"include\":\"#singleton-type\"},{\"include\":\"#inline\"},{\"include\":\"#scala-quoted-or-symbol\"},{\"include\":\"#char-literal\"},{\"include\":\"#empty-parentheses\"},{\"include\":\"#parameter-list\"},{\"include\":\"#qualifiedClassName\"},{\"include\":\"#backQuotedVariable\"},{\"include\":\"#curly-braces\"},{\"include\":\"#meta-brackets\"},{\"include\":\"#meta-bounds\"},{\"include\":\"#meta-colons\"}]},\"comments\":{\"patterns\":[{\"include\":\"#block-comments\"},{\"begin\":\"(^[ \\\\t]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.scala\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scala\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-slash.scala\"}]}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(false|null|true)\\\\b\",\"name\":\"constant.language.scala\"},{\"match\":\"\\\\b(0[xX][_\\\\h]*)\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b(([0-9][0-9_]*(\\\\.[0-9][0-9_]*)?)([eE]([+-])?[0-9][0-9_]*)?|[0-9][0-9_]*)[LlFfDd]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"(\\\\.[0-9][0-9_]*)([eE]([+-])?[0-9][0-9_]*)?[LlFfDd]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b0[bB][01]([01_]*[01])?[Ll]?\\\\b\",\"name\":\"constant.numeric.scala\"},{\"match\":\"\\\\b(this|super)\\\\b\",\"name\":\"variable.language.scala\"}]},\"curly-braces\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.block.begin.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.scala\"}},\"patterns\":[{\"include\":\"#code\"}]},\"declarations\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.function.declaration\"}},\"match\":\"\\\\b(def)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(trait)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"keyword.declaration.scala\"},\"3\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(?:(case)\\\\s+)?(class|object|enum)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.type.declaration\"}},\"match\":\"(?<!\\\\.)\\\\b(type)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.stable.scala\"},\"2\":{\"name\":\"keyword.declaration.volatile.scala\"}},\"match\":\"\\\\b(?:(val)|(var))\\\\b\\\\s*(?!/[/*])(?=(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)?\\\\()\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.stable.scala\"},\"2\":{\"name\":\"variable.stable.declaration.scala\"}},\"match\":\"\\\\b(val)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)(?:\\\\s*,\\\\s*(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))*)?(?!\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.volatile.scala\"},\"2\":{\"name\":\"variable.volatile.declaration.scala\"}},\"match\":\"\\\\b(var)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)(?:\\\\s*,\\\\s*(?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))*)?(?!\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.package.scala\"},\"2\":{\"name\":\"keyword.declaration.scala\"},\"3\":{\"name\":\"entity.name.class.declaration\"}},\"match\":\"\\\\b(package)\\\\s+(object)\\\\b\\\\s*(?!/[/*])((?:(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`))?\"},{\"begin\":\"\\\\b(package)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.package.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.package.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.package.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.package\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.given.declaration\"}},\"match\":\"\\\\b(given)\\\\b\\\\s*([_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`)?\"}]},\"empty-parentheses\":{\"captures\":{\"1\":{\"name\":\"meta.bracket.scala\"}},\"match\":\"(\\\\(\\\\))\",\"name\":\"meta.parentheses.scala\"},\"exports\":{\"begin\":\"\\\\b(export)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.export.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.export.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.export.given.scala\"},{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?\",\"name\":\"entity.name.class.export.scala\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.export.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.export\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"name\":\"meta.export.selector.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.export.given.scala\"},\"2\":{\"name\":\"entity.name.class.export.renamed-from.scala\"},\"3\":{\"name\":\"entity.name.export.renamed-from.scala\"},\"4\":{\"name\":\"keyword.other.arrow.scala\"},\"5\":{\"name\":\"entity.name.class.export.renamed-to.scala\"},\"6\":{\"name\":\"entity.name.export.renamed-to.scala\"}},\"match\":\"(given\\\\s)?\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*(=>)\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.export.given.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.export.given.scala\"},\"2\":{\"name\":\"entity.name.class.export.scala\"},\"3\":{\"name\":\"entity.name.export.scala\"}},\"match\":\"(given\\\\s+)?(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\"}]}]},\"extension\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"^\\\\s*(extension)\\\\s+(?=[\\\\[(])\"}]},\"imports\":{\"begin\":\"\\\\b(import)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.import.scala\"}},\"end\":\"(?<=[\\\\n;])\",\"name\":\"meta.import.scala\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.import.given.scala\"},{\"match\":\"\\\\s(as)\\\\s\",\"name\":\"keyword.other.import.as.scala\"},{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?\",\"name\":\"entity.name.class.import.scala\"},{\"match\":\"(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+))\",\"name\":\"entity.name.import.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.import\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"name\":\"meta.import.selector.scala\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.import.given.scala\"},\"2\":{\"name\":\"entity.name.class.import.renamed-from.scala\"},\"3\":{\"name\":\"entity.name.import.renamed-from.scala\"},\"4\":{\"name\":\"keyword.other.arrow.scala\"},\"5\":{\"name\":\"entity.name.class.import.renamed-to.scala\"},\"6\":{\"name\":\"entity.name.import.renamed-to.scala\"}},\"match\":\"(given\\\\s)?\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*(=>)\\\\s*(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\\\\s*\"},{\"match\":\"\\\\b(given)\\\\b\",\"name\":\"keyword.other.import.given.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.import.given.scala\"},\"2\":{\"name\":\"entity.name.class.import.scala\"},\"3\":{\"name\":\"entity.name.import.scala\"}},\"match\":\"(given\\\\s+)?(?:([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))\"}]}]},\"inheritance\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"},\"2\":{\"name\":\"entity.name.class\"}},\"match\":\"\\\\b(extends|with|derives)\\\\b\\\\s*([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`|(?=\\\\([^)]+=>)|(?=(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+))|(?=\\\"))?\"}]},\"initialization\":{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"\\\\b(new)\\\\b\"},\"inline\":{\"patterns\":[{\"match\":\"\\\\b(inline)(?=\\\\s+((?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)|`[^`]+`)\\\\s*:)\",\"name\":\"storage.modifier.other\"},{\"match\":\"\\\\b(inline)\\\\b(?=(?:.(?!\\\\b(?:val|def|given)\\\\b))*\\\\b(if|match)\\\\b)\",\"name\":\"keyword.control.flow.scala\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(return|throw)\\\\b\",\"name\":\"keyword.control.flow.jump.scala\"},{\"match\":\"\\\\b(classOf|isInstanceOf|asInstanceOf)\\\\b\",\"name\":\"support.function.type-of.scala\"},{\"match\":\"\\\\b(else|if|then|do|while|for|yield|match|case)\\\\b\",\"name\":\"keyword.control.flow.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(if|while|for|match)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.control.flow.end.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(val)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.declaration.stable.end.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(var)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.declaration.volatile.end.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.end.scala\"},\"2\":{\"name\":\"keyword.declaration.end.scala\"},\"3\":{\"name\":\"entity.name.type.declaration\"}},\"match\":\"^\\\\s*(end)\\\\s+(?:(new|extension)|([A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?))(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\"},{\"match\":\"\\\\b(catch|finally|try)\\\\b\",\"name\":\"keyword.control.exception.scala\"},{\"match\":\"^\\\\s*(end)\\\\s+(try)(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\",\"name\":\"keyword.control.exception.end.scala\"},{\"captures\":{\"1\":{\"name\":\"keyword.declaration.end.scala\"},\"2\":{\"name\":\"entity.name.declaration\"}},\"match\":\"^\\\\s*(end)\\\\s+(`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+))?(?=\\\\s*(/(?:/.*|\\\\*(?!.*\\\\*/\\\\s*\\\\S.*).*))?$)\"},{\"match\":\"([!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}\\\\\\\\]){3,}\",\"name\":\"keyword.operator.scala\"},{\"captures\":{\"1\":{\"patterns\":[{\"match\":\"(\\\\|\\\\||&&)\",\"name\":\"keyword.operator.logical.scala\"},{\"match\":\"(!=|==|<=|>=)\",\"name\":\"keyword.operator.comparison.scala\"},{\"match\":\"..\",\"name\":\"keyword.operator.scala\"}]}},\"match\":\"([!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}\\\\\\\\]{2,}|_\\\\*)\"},{\"captures\":{\"1\":{\"patterns\":[{\"match\":\"(!)\",\"name\":\"keyword.operator.logical.scala\"},{\"match\":\"([*\\\\-+/%~])\",\"name\":\"keyword.operator.arithmetic.scala\"},{\"match\":\"([=<>])\",\"name\":\"keyword.operator.comparison.scala\"},{\"match\":\".\",\"name\":\"keyword.operator.scala\"}]}},\"match\":\"(?<!_)([!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}\\\\\\\\])\"}]},\"meta-bounds\":{\"match\":\"<%|=:=|<:<|<%<|>:|<:\",\"name\":\"meta.bounds.scala\"},\"meta-brackets\":{\"patterns\":[{\"match\":\"\\\\{\",\"name\":\"punctuation.section.block.begin.scala\"},{\"match\":\"}\",\"name\":\"punctuation.section.block.end.scala\"},{\"match\":\"[{}()\\\\[\\\\]]\",\"name\":\"meta.bracket.scala\"}]},\"meta-colons\":{\"patterns\":[{\"match\":\"(?<!:):(?!:)\",\"name\":\"meta.colon.scala\"}]},\"namedBounds\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.import.as.scala\"},\"2\":{\"name\":\"variable.stable.declaration.scala\"}},\"match\":\"\\\\s+(as)\\\\s+([_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)\\\\b\"}]},\"parameter-list\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.scala\"},\"2\":{\"name\":\"meta.colon.scala\"}},\"match\":\"(?<=[^._$a-zA-Z0-9])(`[^`]+`|[_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)\\\\s*(:)\\\\s+\"}]},\"qualifiedClassName\":{\"captures\":{\"1\":{\"name\":\"entity.name.class\"}},\"match\":\"(\\\\b([A-Z]\\\\w*)(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)\"},\"scala-quoted-or-symbol\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.staging.scala constant.other.symbol.scala\"},\"2\":{\"name\":\"constant.other.symbol.scala\"}},\"match\":\"(')((?>(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)))(?!')\"},{\"match\":\"'(?=\\\\s*\\\\{(?!'))\",\"name\":\"keyword.control.flow.staging.scala\"},{\"match\":\"'(?=\\\\s*\\\\[(?!'))\",\"name\":\"keyword.control.flow.staging.scala\"},{\"match\":\"\\\\$(?=\\\\s*\\\\{)\",\"name\":\"keyword.control.flow.staging.scala\"}]},\"script-header\":{\"captures\":{\"1\":{\"name\":\"string.unquoted.shebang.scala\"}},\"match\":\"^#!(.*)$\",\"name\":\"comment.block.shebang.scala\"},\"singleton-type\":{\"captures\":{\"1\":{\"name\":\"keyword.type.scala\"}},\"match\":\"\\\\.(type)(?![A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[0-9])\"},\"storage-modifiers\":{\"patterns\":[{\"match\":\"\\\\b(pr(?:ivate\\\\[\\\\S+]|otected\\\\[\\\\S+]|ivate|otected))\\\\b\",\"name\":\"storage.modifier.access\"},{\"match\":\"\\\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|override|@transient|@native)\\\\b\",\"name\":\"storage.modifier.other\"},{\"match\":\"(?<=^|\\\\s)\\\\b(transparent|opaque|infix|open|inline)\\\\b(?=[a-z\\\\s]*\\\\b(def|val|var|given|type|class|trait|object|enum)\\\\b)\",\"name\":\"storage.modifier.other\"}]},\"string-interpolation\":{\"patterns\":[{\"match\":\"\\\\$\\\\$\",\"name\":\"constant.character.escape.interpolation.scala\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.scala\"}},\"match\":\"(\\\\$)([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*)\",\"name\":\"meta.template.expression.scala\"},{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.scala\"}},\"contentName\":\"meta.embedded.line.scala\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.scala\"}},\"name\":\"meta.template.expression.scala\",\"patterns\":[{\"include\":\"#code\"}]}]},\"strings\":{\"patterns\":[{\"begin\":\"\\\"\\\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.scala\"}},\"end\":\"\\\"\\\"\\\"(?!\\\")\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.scala\"}},\"name\":\"string.quoted.triple.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:\\\\\\\\|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"}]},{\"begin\":\"\\\\b(raw)(\\\"\\\"\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\"\\\"\\\")(?!\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\".\",\"name\":\"string.quoted.triple.interpolated.scala\"}]},{\"begin\":\"\\\\b([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)(\\\"\\\"\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\"\\\"\\\")(?!\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"include\":\"#string-interpolation\"},{\"match\":\"\\\\\\\\(?:\\\\\\\\|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\".\",\"name\":\"string.quoted.triple.interpolated.scala\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.scala\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.scala\"}},\"name\":\"string.quoted.double.scala\",\"patterns\":[{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}]},{\"begin\":\"\\\\b(raw)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\".\",\"name\":\"string.quoted.double.interpolated.scala\"}]},{\"begin\":\"\\\\b([A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.interpolation.scala\"},\"2\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala\"}},\"end\":\"(\\\")|\\\\$\\\\n|(\\\\$[^$\\\"_{A-Z\\\\p{Lt}\\\\p{Lu}a-z\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}])\",\"endCaptures\":{\"1\":{\"name\":\"string.quoted.double.interpolated.scala punctuation.definition.string.end.scala\"},\"2\":{\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"}},\"patterns\":[{\"match\":\"\\\\$[$\\\"]\",\"name\":\"constant.character.escape.scala\"},{\"include\":\"#string-interpolation\"},{\"match\":\"\\\\\\\\(?:[btnfr\\\\\\\\\\\"']|[0-7]{1,3}|u\\\\h{4})\",\"name\":\"constant.character.escape.scala\"},{\"match\":\"\\\\\\\\.\",\"name\":\"invalid.illegal.unrecognized-string-escape.scala\"},{\"match\":\".\",\"name\":\"string.quoted.double.interpolated.scala\"}]}]},\"using\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.declaration.scala\"}},\"match\":\"(?<=\\\\()\\\\s*(using)\\\\s\"}]},\"using-directive\":{\"begin\":\"^\\\\s*(//>)\\\\s*(using)[^\\\\S\\\\n]+(\\\\S+)?\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.scala\"},\"2\":{\"name\":\"keyword.other.import.scala\"},\"3\":{\"patterns\":[{\"match\":\"[A-Z\\\\p{Lt}\\\\p{Lu}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|`[^`]+`|(?:[A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}][A-Z\\\\p{Lt}\\\\p{Lu}_a-z$\\\\p{Lo}\\\\p{Nl}\\\\p{Ll}0-9]*(?:(?<=_)[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)?|[!#%\\\\&*+\\\\-/:<>=?@^|~\\\\p{Sm}\\\\p{So}]+)\",\"name\":\"entity.name.import.scala\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.definition.import\"}]}},\"end\":\"\\\\n\",\"name\":\"comment.line.shebang.scala\",\"patterns\":[{\"include\":\"#constants\"},{\"include\":\"#strings\"},{\"match\":\"[^\\\\s,]+\",\"name\":\"string.quoted.double.scala\"}]},\"xml-doublequotedString\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.double.xml\",\"patterns\":[{\"include\":\"#xml-entity\"}]},\"xml-embedded-content\":{\"patterns\":[{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"meta.bracket.scala\"}},\"end\":\"}\",\"name\":\"meta.source.embedded.scala\",\"patterns\":[{\"include\":\"#code\"}]},{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.namespace.xml\"},\"2\":{\"name\":\"entity.other.attribute-name.xml\"},\"3\":{\"name\":\"punctuation.separator.namespace.xml\"},\"4\":{\"name\":\"entity.other.attribute-name.localname.xml\"}},\"match\":\" (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)=\"},{\"include\":\"#xml-doublequotedString\"},{\"include\":\"#xml-singlequotedString\"}]},\"xml-entity\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.constant.xml\"},\"3\":{\"name\":\"punctuation.definition.constant.xml\"}},\"match\":\"(&)([:a-zA-Z_][:a-zA-Z0-9_.-]*|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.xml\"},\"xml-literal\":{\"patterns\":[{\"begin\":\"(<)((?:([_a-zA-Z0-9][_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*))(?=(\\\\s[^>]*)?></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"3\":{\"name\":\"entity.name.tag.namespace.xml\"},\"4\":{\"name\":\"entity.name.tag.xml\"},\"5\":{\"name\":\"punctuation.separator.namespace.xml\"},\"6\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]*[_a-zA-Z0-9])(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"meta.scope.between-tag-pair.xml\"},\"3\":{\"name\":\"entity.name.tag.namespace.xml\"},\"4\":{\"name\":\"entity.name.tag.xml\"},\"5\":{\"name\":\"punctuation.separator.namespace.xml\"},\"6\":{\"name\":\"entity.name.tag.localname.xml\"},\"7\":{\"name\":\"punctuation.definition.tag.xml\"}},\"name\":\"meta.tag.no-content.xml\",\"patterns\":[{\"include\":\"#xml-embedded-content\"}]},{\"begin\":\"(</?)(?:([_a-zA-Z0-9][-_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*)(?=[^>]*?>)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.xml\"},\"2\":{\"name\":\"entity.name.tag.namespace.xml\"},\"3\":{\"name\":\"entity.name.tag.xml\"},\"4\":{\"name\":\"punctuation.separator.namespace.xml\"},\"5\":{\"name\":\"entity.name.tag.localname.xml\"}},\"end\":\"(/?>)\",\"name\":\"meta.tag.xml\",\"patterns\":[{\"include\":\"#xml-embedded-content\"}]},{\"include\":\"#xml-entity\"}]},\"xml-singlequotedString\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.xml\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.xml\"}},\"name\":\"string.quoted.single.xml\",\"patterns\":[{\"include\":\"#xml-entity\"}]}},\"scopeName\":\"source.scala\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/scheme.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Scheme\",\"fileTypes\":[\"scm\",\"ss\",\"sch\",\"rkt\"],\"name\":\"scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#block-comment\"},{\"include\":\"#sexp\"},{\"include\":\"#string\"},{\"include\":\"#language-functions\"},{\"include\":\"#quote\"},{\"include\":\"#illegal\"}],\"repository\":{\"block-comment\":{\"begin\":\"#\\\\|\",\"contentName\":\"comment\",\"end\":\"\\\\|#\",\"name\":\"comment\",\"patterns\":[{\"include\":\"#block-comment\",\"name\":\"comment\"}]},\"comment\":{\"begin\":\"(^[ \\\\t]+)?(?=;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.scheme\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\";\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scheme\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.semicolon.scheme\"}]},\"constants\":{\"patterns\":[{\"match\":\"#[t|f]\",\"name\":\"constant.language.boolean.scheme\"},{\"match\":\"(?<=[(\\\\s])((#[ei])?[0-9]+(\\\\.[0-9]+)?|(#x)\\\\h+|(#o)[0-7]+|(#b)[01]+)(?=[\\\\s;()'\\\",\\\\[\\\\]])\",\"name\":\"constant.numeric.scheme\"}]},\"illegal\":{\"match\":\"[()\\\\[\\\\]]\",\"name\":\"invalid.illegal.parenthesis.scheme\"},\"language-functions\":{\"patterns\":[{\"match\":\"(?<=([\\\\s(\\\\[]))(do|or|and|else|quasiquote|begin|if|case|set!|cond|let|unquote|define|let\\\\*|unquote-splicing|delay|letrec)(?=([\\\\s(]))\",\"name\":\"keyword.control.scheme\"},{\"match\":\"(?<=([\\\\s(]))(char-alphabetic|char-lower-case|char-numeric|char-ready|char-upper-case|char-whitespace|(?:char|string)(?:-ci)?(?:=|<=?|>=?)|atom|boolean|bound-identifier=|char|complex|identifier|integer|symbol|free-identifier=|inexact|eof-object|exact|list|(?:input|output)-port|pair|real|rational|zero|vector|negative|odd|null|string|eq|equal|eqv|even|number|positive|procedure)(\\\\?)(?=([\\\\s(]))\",\"name\":\"support.function.boolean-test.scheme\"},{\"match\":\"(?<=([\\\\s(]))(char->integer|exact->inexact|inexact->exact|integer->char|symbol->string|list->vector|list->string|identifier->symbol|vector->list|string->list|string->number|string->symbol|number->string)(?=([\\\\s(]))\",\"name\":\"support.function.convert-type.scheme\"},{\"match\":\"(?<=([\\\\s(]))(set-c(?:ar|dr)|(?:vector|string)-(?:fill|set))(!)(?=([\\\\s(]))\",\"name\":\"support.function.with-side-effects.scheme\"},{\"match\":\"(?<=([\\\\s(]))(>=?|<=?|[
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Scheme\",\"fileTypes\":[\"scm\",\"ss\",\"sch\",\"rkt\"],\"name\":\"scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#block-comment\"},{\"include\":\"#sexp\"},{\"include\":\"#string\"},{\"include\":\"#language-functions\"},{\"include\":\"#quote\"},{\"include\":\"#illegal\"}],\"repository\":{\"block-comment\":{\"begin\":\"#\\\\|\",\"contentName\":\"comment\",\"end\":\"\\\\|#\",\"name\":\"comment\",\"patterns\":[{\"include\":\"#block-comment\",\"name\":\"comment\"}]},\"comment\":{\"begin\":\"(^[ \\\\t]+)?(?=;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.scheme\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\";\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.scheme\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.semicolon.scheme\"}]},\"constants\":{\"patterns\":[{\"match\":\"#[t|f]\",\"name\":\"constant.language.boolean.scheme\"},{\"match\":\"(?<=[(\\\\s])((#[ei])?[0-9]+(\\\\.[0-9]+)?|(#x)\\\\h+|(#o)[0-7]+|(#b)[01]+)(?=[\\\\s;()'\\\",\\\\[\\\\]])\",\"name\":\"constant.numeric.scheme\"}]},\"illegal\":{\"match\":\"[()\\\\[\\\\]]\",\"name\":\"invalid.illegal.parenthesis.scheme\"},\"language-functions\":{\"patterns\":[{\"match\":\"(?<=([\\\\s(\\\\[]))(do|or|and|else|quasiquote|begin|if|case|set!|cond|let|unquote|define|let\\\\*|unquote-splicing|delay|letrec)(?=([\\\\s(]))\",\"name\":\"keyword.control.scheme\"},{\"match\":\"(?<=([\\\\s(]))(char-alphabetic|char-lower-case|char-numeric|char-ready|char-upper-case|char-whitespace|(?:char|string)(?:-ci)?(?:=|<=?|>=?)|atom|boolean|bound-identifier=|char|complex|identifier|integer|symbol|free-identifier=|inexact|eof-object|exact|list|(?:input|output)-port|pair|real|rational|zero|vector|negative|odd|null|string|eq|equal|eqv|even|number|positive|procedure)(\\\\?)(?=([\\\\s(]))\",\"name\":\"support.function.boolean-test.scheme\"},{\"match\":\"(?<=([\\\\s(]))(char->integer|exact->inexact|inexact->exact|integer->char|symbol->string|list->vector|list->string|identifier->symbol|vector->list|string->list|string->number|string->symbol|number->string)(?=([\\\\s(]))\",\"name\":\"support.function.convert-type.scheme\"},{\"match\":\"(?<=([\\\\s(]))(set-c(?:ar|dr)|(?:vector|string)-(?:fill|set))(!)(?=([\\\\s(]))\",\"name\":\"support.function.with-side-effects.scheme\"},{\"match\":\"(?<=([\\\\s(]))(>=?|<=?|[=*/+-])(?=([\\\\s(]))\",\"name\":\"keyword.operator.arithmetic.scheme\"},{\"match\":\"(?<=([\\\\s(]))(append|apply|approximate|call-with-current-continuation|call/cc|catch|construct-identifier|define-syntax|display|foo|for-each|force|format|cd|gen-counter|gen-loser|generate-identifier|last-pair|length|let-syntax|letrec-syntax|list|list-ref|list-tail|load|log|macro|magnitude|map|map-streams|max|member|memq|memv|min|newline|nil|not|peek-char|rationalize|read|read-char|return|reverse|sequence|substring|syntax|syntax-rules|transcript-off|transcript-on|truncate|unwrap-syntax|values-list|write|write-char|cons|c([ad]){1,4}r|abs|acos|angle|asin|assoc|assq|assv|atan|ceiling|cos|floor|round|sin|sqrt|tan|(?:real|imag)-part|numerator|denominatormodulo|exp|expt|remainder|quotient|lcm|call-with-(?:input|output)-file|c(?:lose|urrent)-(?:input|output)-port|with-(?:input|output)-from-file|open-(?:input|output)-file|char-(?:downcase|upcase|ready)|make-(?:polar|promise|rectangular|string|vector)string(?:-(?:append|copy|length|ref))?|vector-(?:length|ref))(?=([\\\\s(]))\",\"name\":\"support.function.general.scheme\"}]},\"quote\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.section.quoted.symbol.scheme\"}},\"match\":\"(')\\\\s*(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*)\",\"name\":\"constant.other.symbol.scheme\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.quoted.empty-list.scheme\"},\"2\":{\"name\":\"meta.expression.scheme\"},\"3\":{\"name\":\"punctuation.section.expression.begin.scheme\"},\"4\":{\"name\":\"punctuation.section.expression.end.scheme\"}},\"match\":\"(')\\\\s*((\\\\()\\\\s*(\\\\)))\",\"name\":\"constant.other.empty-list.schem\"},{\"begin\":\"(')\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.quoted.scheme\"}},\"end\":\"(?=[\\\\s()])|(?<=\\\\n)\",\"name\":\"string.other.quoted-object.scheme\",\"patterns\":[{\"include\":\"#quoted\"}]}]},\"quote-sexp\":{\"begin\":\"(?<=\\\\()\\\\s*(quote)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.quote.scheme\"}},\"contentName\":\"string.other.quote.scheme\",\"end\":\"(?=[\\\\s)])|(?<=\\\\n)\",\"patterns\":[{\"include\":\"#quoted\"}]},\"quoted\":{\"patterns\":[{\"include\":\"#string\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.begin.scheme\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.end.scheme\"}},\"name\":\"meta.expression.scheme\",\"patterns\":[{\"include\":\"#quoted\"}]},{\"include\":\"#quote\"},{\"include\":\"#illegal\"}]},\"sexp\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.begin.scheme\"}},\"end\":\"(\\\\))(\\\\n)?\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.end.scheme\"},\"2\":{\"name\":\"meta.after-expression.scheme\"}},\"name\":\"meta.expression.scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"begin\":\"(?<=\\\\()(define)\\\\s+(\\\\()(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*)((\\\\s+(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*|[._]))*)\\\\s*(\\\\))\",\"captures\":{\"1\":{\"name\":\"keyword.control.scheme\"},\"2\":{\"name\":\"punctuation.definition.function.scheme\"},\"3\":{\"name\":\"entity.name.function.scheme\"},\"4\":{\"name\":\"variable.parameter.function.scheme\"},\"7\":{\"name\":\"punctuation.definition.function.scheme\"}},\"end\":\"(?=\\\\))\",\"name\":\"meta.declaration.procedure.scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#sexp\"},{\"include\":\"#illegal\"}]},{\"begin\":\"(?<=\\\\()(lambda)\\\\s+(\\\\()((?:(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*|[._])\\\\s+)*(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*|[._])?)(\\\\))\",\"captures\":{\"1\":{\"name\":\"keyword.control.scheme\"},\"2\":{\"name\":\"punctuation.definition.variable.scheme\"},\"3\":{\"name\":\"variable.parameter.scheme\"},\"6\":{\"name\":\"punctuation.definition.variable.scheme\"}},\"end\":\"(?=\\\\))\",\"name\":\"meta.declaration.procedure.scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#sexp\"},{\"include\":\"#illegal\"}]},{\"begin\":\"(?<=\\\\()(define)\\\\s(\\\\p{alnum}[[:alnum:]!$%\\\\&*+-./:<=>?@^_~]*)\\\\s*.*?\",\"captures\":{\"1\":{\"name\":\"keyword.control.scheme\"},\"2\":{\"name\":\"variable.other.scheme\"}},\"end\":\"(?=\\\\))\",\"name\":\"meta.declaration.variable.scheme\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#sexp\"},{\"include\":\"#illegal\"}]},{\"include\":\"#quote-sexp\"},{\"include\":\"#quote\"},{\"include\":\"#language-functions\"},{\"include\":\"#string\"},{\"include\":\"#constants\"},{\"match\":\"(?<=[(\\\\s])(#\\\\\\\\)(space|newline|tab)(?=[\\\\s)])\",\"name\":\"constant.character.named.scheme\"},{\"match\":\"(?<=[(\\\\s])(#\\\\\\\\)x[0-9A-F]{2,4}(?=[\\\\s)])\",\"name\":\"constant.character.hex-literal.scheme\"},{\"match\":\"(?<=[(\\\\s])(#\\\\\\\\).(?=[\\\\s)])\",\"name\":\"constant.character.escape.scheme\"},{\"match\":\"(?<=[ ()])\\\\.(?=[ ()])\",\"name\":\"punctuation.separator.cons.scheme\"},{\"include\":\"#sexp\"},{\"include\":\"#illegal\"}]},\"string\":{\"begin\":\"(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.scheme\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.scheme\"}},\"name\":\"string.quoted.double.scheme\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.scheme\"}]}},\"scopeName\":\"source.scheme\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|