@codingame/monaco-editor-wrapper 3.9.3 → 4.0.0-next.1
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/C2Hs-configuration.json.js +3 -0
- package/dist/C2Hs.json.js +3 -0
- package/dist/COBOL.tmLanguage.json.js +3 -0
- package/dist/Erlang.plist.js +2 -1751
- package/dist/Hsc2Hs-configuration.json.js +3 -0
- package/dist/Hsc2Hs.json.js +3 -0
- package/dist/JavaProperties.tmLanguage.json.js +3 -0
- package/dist/Kotlin.tmLanguage.js +2 -723
- package/dist/META.json.js +3 -0
- package/dist/META.json2.js +3 -0
- package/dist/Markdown Redcarpet.json.js +3 -0
- package/dist/RMarkdown.json.js +3 -0
- package/dist/Rcpp.json.js +3 -0
- package/dist/Rd (R Documentation).json.js +3 -0
- package/dist/Scala.tmLanguage.json.js +3 -0
- package/dist/_commonjsHelpers.js +35 -0
- package/dist/_rollupPluginBabelHelpers.js +1 -1
- package/dist/add.svg.js +3 -0
- package/dist/add.svg2.js +3 -0
- package/dist/adddep-dark.svg.js +3 -0
- package/dist/adddep-light.svg.js +3 -0
- package/dist/alex.json.js +3 -0
- package/dist/angular-directives.json.js +3 -0
- package/dist/angular-interpolations.json.js +3 -0
- package/dist/angular-template-language-configuration.json.js +3 -0
- package/dist/arrow-circle-up-dark.svg.js +3 -0
- package/dist/arrow-circle-up-light.svg.js +3 -0
- package/dist/aspnetcorerazor.tmLanguage.json.js +3 -0
- package/dist/atd.json.js +3 -0
- package/dist/book-dark.svg.js +3 -0
- package/dist/book-light.svg.js +3 -0
- package/dist/book-open-dark.svg.js +3 -0
- package/dist/book-open-light.svg.js +3 -0
- package/dist/buildtarget.json.js +3 -0
- package/dist/cabal-configuration.json.js +3 -0
- package/dist/cabal.json.js +3 -0
- package/dist/codeblock-cabal.json.js +3 -0
- package/dist/codeblock-haskell.json.js +3 -0
- package/dist/codeblock-literate-haskell.json.js +3 -0
- package/dist/codeblock.json.js +3 -0
- package/dist/codeblock.json2.js +3 -0
- package/dist/configuration/index.d.ts +0 -1
- package/dist/cram.json.js +3 -0
- package/dist/csharp.json.js +3 -0
- package/dist/css.worker.js +1 -1
- package/dist/d.json.js +3 -0
- package/dist/d.json2.js +3 -0
- package/dist/dart-language-configuration.json.js +3 -0
- package/dist/dart.json.js +3 -0
- package/dist/dcf-configuration.json.js +3 -0
- package/dist/dcf.json.js +3 -0
- package/dist/diet.json.js +3 -0
- package/dist/diet.json2.js +3 -0
- package/dist/diet.json3.js +3 -0
- package/dist/django-html.tmLanguage.json.js +3 -0
- package/dist/django-txt.tmLanguage.json.js +3 -0
- package/dist/dml.json.js +3 -0
- package/dist/document-search-dark.svg.js +3 -0
- package/dist/document-search-light.svg.js +3 -0
- package/dist/documentation-inverse.svg.js +3 -0
- package/dist/documentation.svg.js +3 -0
- package/dist/dub-convert-inverse.svg.js +3 -0
- package/dist/dub-convert.svg.js +3 -0
- package/dist/dune-project.json.js +3 -0
- package/dist/dune-project.json2.js +3 -0
- package/dist/dune-workspace.json.js +3 -0
- package/dist/dune.json.js +3 -0
- package/dist/dune.json2.js +3 -0
- package/dist/dune.json3.js +3 -0
- package/dist/edit-dub-inverse.svg.js +3 -0
- package/dist/edit-dub.svg.js +3 -0
- package/dist/edit-source-inverse.svg.js +3 -0
- package/dist/edit-source.svg.js +3 -0
- package/dist/eex-language-configuration.json.js +3 -0
- package/dist/eex.json.js +3 -0
- package/dist/elixir-language-configuration.json.js +3 -0
- package/dist/elixir.json.js +3 -0
- package/dist/erlang.configuration.json.js +3 -0
- package/dist/erlang.json.js +3 -0
- package/dist/expression.json.js +3 -0
- package/dist/extension-web.js.js +3 -0
- package/dist/extension-web.js2.js +3 -0
- package/dist/extension.browser.js.js +3 -0
- package/dist/extensions.d.ts +35 -0
- package/dist/features/htmlContribution.js +0 -1
- package/dist/features/jsonContribution.d.ts +2 -4
- package/dist/features/jsonContribution.js +10 -29
- package/dist/features/typescriptContribution.js +2 -2
- package/dist/file_type_java.svg.js +3 -0
- package/dist/file_type_scala.svg.js +3 -0
- package/dist/filters.json.js +3 -0
- package/dist/focus-dark.svg.js +3 -0
- package/dist/focus-light.svg.js +3 -0
- package/dist/general.json.js +3 -0
- package/dist/get-inverse.svg.js +3 -0
- package/dist/get.svg.js +3 -0
- package/dist/go.json.js +3 -0
- package/dist/go.mod.language-configuration.json.js +3 -0
- package/dist/go.mod.tmGrammar.json.js +3 -0
- package/dist/go.sum.tmGrammar.json.js +3 -0
- package/dist/govulncheck.tmGrammar.json.js +3 -0
- package/dist/happy.json.js +3 -0
- package/dist/haskell-configuration.json.js +3 -0
- package/dist/haskell.json.js +3 -0
- package/dist/hot-reload-tb.png.js +3 -0
- package/dist/hot-reload.svg.js +3 -0
- package/dist/html-eex.json.js +3 -0
- package/dist/html.worker.js +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +9 -6
- package/dist/index2.js +2 -1351
- package/dist/inline-styles.json.js +3 -0
- package/dist/inline-template.json.js +3 -0
- package/dist/inspector.svg.js +3 -0
- package/dist/java-properties-configuration.json.js +3 -0
- package/dist/java.json.js +3 -0
- package/dist/javascript.json.js +3 -0
- package/dist/json.worker.js +1 -1
- package/dist/jvm-bytecode-verbose.json.js +3 -0
- package/dist/jvm-bytecode.json.js +3 -0
- package/dist/kotlin.configuration.json.js +3 -0
- package/dist/kotlin.json.js +3 -0
- package/dist/lang-config.json.js +3 -0
- package/dist/language-configuration.json.js +3 -0
- package/dist/language-configuration.json2.js +3 -0
- package/dist/language-configuration.json3.js +3 -0
- package/dist/language-configuration.json4.js +3 -0
- package/dist/language-configuration.json5.js +3 -0
- package/dist/language-configuration.json6.js +3 -0
- package/dist/language-configuration.json7.js +3 -0
- package/dist/language-configuration.json8.js +3 -0
- package/dist/languages/index.d.ts +0 -2
- package/dist/literate-haskell-configuration.json.js +3 -0
- package/dist/literateHaskell.json.js +3 -0
- package/dist/main.js +839 -3115
- package/dist/markdown-svelte-css.json.js +3 -0
- package/dist/markdown-svelte-js.json.js +3 -0
- package/dist/markdown-svelte.json.js +3 -0
- package/dist/menhir-action.json.js +3 -0
- package/dist/menhir.json.js +3 -0
- package/dist/menhir.json2.js +3 -0
- package/dist/merlin.json.js +3 -0
- package/dist/monaco.d.ts +6 -9
- package/dist/oasis.json.js +3 -0
- package/dist/oasis.json2.js +3 -0
- package/dist/ocaml-markdown-codeblock.json.js +3 -0
- package/dist/ocaml.interface.json.js +3 -0
- package/dist/ocaml.json.js +3 -0
- package/dist/ocaml.json2.js +3 -0
- package/dist/ocaml.json3.js +3 -0
- package/dist/ocamlbuild.json.js +3 -0
- package/dist/ocamlbuild.json2.js +3 -0
- package/dist/ocamldoc.json.js +3 -0
- package/dist/ocamlformat.json.js +3 -0
- package/dist/ocamlformat.json2.js +3 -0
- package/dist/ocamllex.json.js +3 -0
- package/dist/ocamllex.json2.js +3 -0
- package/dist/ocamllex.json3.js +3 -0
- package/dist/opam-install.json.js +3 -0
- package/dist/opam-install.json2.js +3 -0
- package/dist/opam.json.js +3 -0
- package/dist/opam.json2.js +3 -0
- package/dist/outdated-inverse.svg.js +3 -0
- package/dist/outdated.svg.js +3 -0
- package/dist/pascal.configuration.json.js +3 -0
- package/dist/pascal.json.js +3 -0
- package/dist/pascal.tmLanguage.js +2 -168
- package/dist/performance.svg.js +3 -0
- package/dist/pgsql.tmLanguage.js +2 -283
- package/dist/pip-requirements.json.js +3 -0
- package/dist/pip-requirements.tmLanguage.json.js +3 -0
- package/dist/plus-dark.svg.js +3 -0
- package/dist/plus-light.svg.js +3 -0
- package/dist/postcss.json.js +3 -0
- package/dist/preview-right-dark.svg.js +3 -0
- package/dist/preview-right-light.svg.js +3 -0
- package/dist/pug-svelte-dotblock.json.js +3 -0
- package/dist/pug-svelte-tags.json.js +3 -0
- package/dist/pug-svelte.json.js +3 -0
- package/dist/r-configuration.json.js +3 -0
- package/dist/r-snippets.json.js +3 -0
- package/dist/r.json.js +3 -0
- package/dist/rbuildignore-configuration.json.js +3 -0
- package/dist/rbuildignore.json.js +3 -0
- package/dist/rd-configuration.json.js +3 -0
- package/dist/reason-markdown-codeblock.json.js +3 -0
- package/dist/reason.json.js +3 -0
- package/dist/reason.json2.js +3 -0
- package/dist/ref-group-by-type-dark.svg.js +3 -0
- package/dist/ref-group-by-type-light.svg.js +3 -0
- package/dist/ref-ungroup-by-type-dark.svg.js +3 -0
- package/dist/ref-ungroup-by-type-light.svg.js +3 -0
- package/dist/refresh-dark.svg.js +3 -0
- package/dist/refresh-dark.svg2.js +3 -0
- package/dist/refresh-light.svg.js +3 -0
- package/dist/refresh-light.svg2.js +3 -0
- package/dist/repl.svg.js +3 -0
- package/dist/repl.svg2.js +3 -0
- package/dist/rmarkdown.json2.js +3 -0
- package/dist/rmd-configuration.json.js +3 -0
- package/dist/rnamespace-configuration.json.js +3 -0
- package/dist/rnamespace.json.js +3 -0
- package/dist/save.svg.js +3 -0
- package/dist/save.svg2.js +3 -0
- package/dist/scalameta-logo.png.js +3 -0
- package/dist/sdl.json.js +3 -0
- package/dist/semanticdb.json.js +3 -0
- package/dist/services.d.ts +4 -0
- package/dist/solidity.configuration.json.js +3 -0
- package/dist/solidity.json.js +3 -0
- package/dist/solidity.json2.js +3 -0
- package/dist/svelte.json.js +3 -0
- package/dist/svelte.tmLanguage.json.js +3 -0
- package/dist/switch-impl-intf.dark.svg.js +3 -0
- package/dist/switch-impl-intf.light.svg.js +3 -0
- package/dist/systemverilog.json.js +3 -0
- package/dist/systemverilog.tmLanguage.json.js +3 -0
- package/dist/tags.json.js +3 -0
- package/dist/tasty.json.js +3 -0
- package/dist/tcl.json.js +3 -0
- package/dist/tcl.json2.js +3 -0
- package/dist/template.json.js +3 -0
- package/dist/theme/index.d.ts +1 -4
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
- package/dist/ts.worker.js +1 -1
- package/dist/typescript.json.js +3 -0
- package/dist/upgrade-inverse.svg.js +3 -0
- package/dist/upgrade.svg.js +3 -0
- package/dist/vim.js +37 -36
- package/dist/vs2019_dark.json.js +3 -0
- package/dist/vs2019_light.json.js +3 -0
- package/dist/worker.js +14 -2
- package/dist/x-dark.svg.js +3 -0
- package/dist/x-light.svg.js +3 -0
- package/package.json +40 -42
- package/stats.html +90 -1429
- package/dist/COBOL.tmLanguage.js +0 -172
- package/dist/HTML (Eex)2.js +0 -100
- package/dist/JSON.tmLanguage.js +0 -221
- package/dist/JSONC.tmLanguage.js +0 -221
- package/dist/JavaProperties.tmLanguage.js +0 -116
- package/dist/JavaScript.tmLanguage.js +0 -5929
- package/dist/JavaScriptReact.tmLanguage.js +0 -5929
- package/dist/META.js +0 -100
- package/dist/MagicPython.tmLanguage.js +0 -4221
- package/dist/MagicRegExp.tmLanguage.js +0 -505
- package/dist/Markdown Redcarpet.js +0 -221
- package/dist/RMarkdown.js +0 -25
- package/dist/Rcpp.js +0 -50
- package/dist/Rd (R Documentation).js +0 -131
- package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
- package/dist/Scala.tmLanguage.js +0 -1324
- package/dist/TypeScript.tmLanguage.js +0 -5680
- package/dist/TypeScriptReact.tmLanguage.js +0 -5929
- package/dist/angular.js +0 -62
- package/dist/asp-vb-net.tmlanguage.js +0 -247
- package/dist/aspnetcorerazor.js +0 -72
- package/dist/aspnetcorerazor.tmLanguage.js +0 -1825
- package/dist/atd.js +0 -110
- package/dist/atd2.js +0 -114
- package/dist/buildignore.r.js +0 -5
- package/dist/buildtarget.js +0 -53
- package/dist/c.js +0 -101
- package/dist/c.tmLanguage.js +0 -3565
- package/dist/cabal.js +0 -10
- package/dist/cabal.tmLanguage.js +0 -66
- package/dist/clojure.js +0 -68
- package/dist/clojure.tmLanguage.js +0 -439
- package/dist/cobol.js +0 -6
- package/dist/cobol2.js +0 -341
- package/dist/codeblock-cabal.js +0 -42
- package/dist/codeblock-haskell.js +0 -42
- package/dist/codeblock-literate-haskell.js +0 -42
- package/dist/codeblock.js +0 -59
- package/dist/codeblock2.js +0 -36
- package/dist/codeblock3.js +0 -95
- package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
- package/dist/coffeescript.js +0 -91
- package/dist/coffeescript.tmLanguage.js +0 -1324
- package/dist/configuration/files.d.ts +0 -6
- package/dist/cpp-c.code-snippets.js +0 -18
- package/dist/cpp-cpp.code-snippets.js +0 -18
- package/dist/cpp.js +0 -101
- package/dist/cpp.tmLanguage.js +0 -16648
- package/dist/cpptools.js +0 -2631
- package/dist/cram.js +0 -257
- package/dist/csharp.js +0 -92
- package/dist/csharp.tmLanguage.js +0 -4992
- package/dist/css.js +0 -106
- package/dist/css.tmLanguage.js +0 -1873
- package/dist/cuda-cpp.js +0 -101
- package/dist/cuda-cpp.tmLanguage.js +0 -19993
- package/dist/d-diet.js +0 -92
- package/dist/d.js +0 -3212
- package/dist/d2.js +0 -97
- package/dist/d3.js +0 -609
- package/dist/dart.js +0 -543
- package/dist/dart2.js +0 -103
- package/dist/dart3.js +0 -1130
- package/dist/dcf.js +0 -93
- package/dist/debian-control.r.js +0 -69
- package/dist/diet.js +0 -758
- package/dist/diet2.js +0 -100
- package/dist/django-html.js +0 -155
- package/dist/django-html.tmLanguage.js +0 -715
- package/dist/django-txt.js +0 -155
- package/dist/django-txt.tmLanguage.js +0 -269
- package/dist/dml.js +0 -169
- package/dist/dml2.js +0 -90
- package/dist/dockercompose.js +0 -82
- package/dist/dpp.js +0 -97
- package/dist/dscript.js +0 -90
- package/dist/dune-project.js +0 -481
- package/dist/dune-project2.js +0 -65
- package/dist/dune-workspace.js +0 -298
- package/dist/dune-workspace2.js +0 -65
- package/dist/dune.js +0 -2962
- package/dist/dune2.js +0 -65
- package/dist/eex.js +0 -55
- package/dist/elixir-snippets.js +0 -184
- package/dist/elixir.js +0 -2341
- package/dist/elixir2.js +0 -69
- package/dist/elixir3.js +0 -40
- package/dist/erlang-erlang.js +0 -195
- package/dist/erlang.js +0 -81
- package/dist/erlang2.js +0 -86
- package/dist/expression.js +0 -846
- package/dist/features/extensionConfigurations.d.ts +0 -1
- package/dist/features/extensionConfigurations.js +0 -44
- package/dist/fsharp-fsharp.code-snippets.js +0 -18
- package/dist/fsharp.js +0 -80
- package/dist/fsharp.tmLanguage.js +0 -1844
- package/dist/go.js +0 -103
- package/dist/go.mod.js +0 -8
- package/dist/go.mod.tmGrammar.js +0 -182
- package/dist/go.sum.tmGrammar.js +0 -55
- package/dist/go.tmLanguage.js +0 -1025
- package/dist/go.work.js +0 -8
- package/dist/govulncheck.tmGrammar.js +0 -138
- package/dist/groovy-groovy.code-snippets.js +0 -229
- package/dist/groovy.js +0 -79
- package/dist/groovy.tmLanguage.js +0 -1391
- package/dist/haskell.js +0 -88
- package/dist/haskell.tmLanguage.js +0 -629
- package/dist/haskell2.js +0 -16
- package/dist/html (eex).js +0 -31
- package/dist/html-derivative.tmLanguage.js +0 -57
- package/dist/html-html.code-snippets.js +0 -20
- package/dist/html.js +0 -11
- package/dist/html.tmLanguage.js +0 -2652
- package/dist/html.tmLanguage2.js +0 -107
- package/dist/inline-styles.js +0 -104
- package/dist/inline-template.js +0 -88
- package/dist/jade.js +0 -11
- package/dist/java-java.js +0 -125
- package/dist/java-properties.js +0 -73
- package/dist/java.js +0 -98
- package/dist/java.tmLanguage.js +0 -1863
- package/dist/java2.js +0 -917
- package/dist/javascript-javascript.code-snippets.js +0 -205
- package/dist/javascript.js +0 -197
- package/dist/javascriptreact.js +0 -197
- package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
- package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
- package/dist/json.js +0 -75
- package/dist/jsonc.js +0 -75
- package/dist/jsx-tags.js +0 -158
- package/dist/julia.js +0 -89
- package/dist/julia.tmLanguage.js +0 -954
- package/dist/jvm-bytecode-verbose.js +0 -1231
- package/dist/jvm-bytecode.js +0 -565
- package/dist/kotlin-kotlin.js +0 -117
- package/dist/kotlin.js +0 -103
- package/dist/kotlinscript.js +0 -103
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
- package/dist/languages/extensions/grammarLoader.d.ts +0 -2
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
- package/dist/languages/extensions/snippetLoader.d.ts +0 -2
- package/dist/languages/extensions/themeLoader.d.ts +0 -2
- package/dist/languages/snippets/index.d.ts +0 -1
- package/dist/languages/textMate/index.d.ts +0 -1
- package/dist/languages/textMate/semanticTokens.d.ts +0 -1
- package/dist/literate haskell.js +0 -88
- package/dist/literateHaskell.tmLanguage.js +0 -70
- package/dist/lua.js +0 -84
- package/dist/lua.tmLanguage.js +0 -914
- package/dist/lua2.js +0 -2853
- package/dist/markdown-basics-markdown.code-snippets.js +0 -121
- package/dist/markdown-svelte-css.js +0 -37
- package/dist/markdown-svelte-js.js +0 -37
- package/dist/markdown-svelte.js +0 -59
- package/dist/markdown-vue.js +0 -54
- package/dist/markdown.js +0 -49
- package/dist/markdown.tmLanguage.js +0 -3042
- package/dist/menhir-action.js +0 -51
- package/dist/menhir.js +0 -597
- package/dist/merlin.js +0 -111
- package/dist/namespace.r.js +0 -88
- package/dist/oasis.js +0 -99
- package/dist/objective-c.js +0 -79
- package/dist/objective-c.tmLanguage.js +0 -3763
- package/dist/objective-cpp.js +0 -79
- package/dist/ocaml-dune-project.js +0 -38
- package/dist/ocaml-dune.js +0 -53
- package/dist/ocaml-markdown-codeblock.js +0 -42
- package/dist/ocaml-ocaml.js +0 -88
- package/dist/ocaml-ocamllex.js +0 -12
- package/dist/ocaml.META.js +0 -29
- package/dist/ocaml.interface.js +0 -292
- package/dist/ocaml.interface2.js +0 -114
- package/dist/ocaml.js +0 -903
- package/dist/ocaml.menhir.js +0 -81
- package/dist/ocaml.oasis.js +0 -18
- package/dist/ocaml.ocamlbuild.js +0 -45
- package/dist/ocaml.ocamlformat.js +0 -8
- package/dist/ocaml.ocamllex.js +0 -60
- package/dist/ocaml.opam-install.js +0 -49
- package/dist/ocaml.opam.js +0 -69
- package/dist/ocaml2.js +0 -114
- package/dist/ocaml3.js +0 -136
- package/dist/ocamlbuild.js +0 -189
- package/dist/ocamldoc.js +0 -54
- package/dist/ocamlformat.js +0 -206
- package/dist/ocamllex.js +0 -133
- package/dist/omnisharp-csharp.js +0 -508
- package/dist/omnisharp.js +0 -594
- package/dist/opam-install.js +0 -40
- package/dist/opam.js +0 -140
- package/dist/pascal-pascal.js +0 -382
- package/dist/pascal.js +0 -80
- package/dist/pascal2.js +0 -26
- package/dist/perl.js +0 -93
- package/dist/perl.tmLanguage.js +0 -2986
- package/dist/perl6.js +0 -86
- package/dist/perl6.tmLanguage.js +0 -323
- package/dist/php-php.code-snippets.js +0 -267
- package/dist/php.js +0 -154
- package/dist/php.tmLanguage.js +0 -4036
- package/dist/pip-requirements.js +0 -8
- package/dist/pip-requirements.tmLanguage.js +0 -89
- package/dist/plaintext.js +0 -11
- package/dist/platform.tmLanguage.js +0 -1135
- package/dist/postcss.src.yaml.js +0 -393
- package/dist/postgres.js +0 -80
- package/dist/postgresql.js +0 -75
- package/dist/powershell.js +0 -107
- package/dist/powershell.tmLanguage.js +0 -1037
- package/dist/pug-svelte-dotblock.js +0 -69
- package/dist/pug-svelte-tags.js +0 -215
- package/dist/pug-svelte.js +0 -307
- package/dist/python.js +0 -236
- package/dist/r.js +0 -664
- package/dist/r2.js +0 -88
- package/dist/rbuildignore.js +0 -39
- package/dist/rd.js +0 -81
- package/dist/reason-markdown-codeblock.js +0 -42
- package/dist/reason.js +0 -79
- package/dist/rmd.js +0 -84
- package/dist/rnamespace.js +0 -283
- package/dist/ruby.js +0 -95
- package/dist/ruby.tmLanguage.js +0 -2784
- package/dist/rust.js +0 -84
- package/dist/rust.tmLanguage.js +0 -1178
- package/dist/sassdoc.tmLanguage.js +0 -362
- package/dist/scala.js +0 -85
- package/dist/scalameta.js +0 -224
- package/dist/scss.js +0 -117
- package/dist/scss.tmLanguage.js +0 -1887
- package/dist/sdl.js +0 -162
- package/dist/sdl2.js +0 -90
- package/dist/semanticdb.js +0 -62
- package/dist/shell-unix-bash.tmLanguage.js +0 -2038
- package/dist/shellscript.js +0 -93
- package/dist/solargraph.js +0 -192
- package/dist/solidity-solidity.js +0 -213
- package/dist/solidity.js +0 -1224
- package/dist/solidity2.js +0 -71
- package/dist/solidity3.js +0 -143
- package/dist/sql.js +0 -99
- package/dist/sql.tmLanguage.js +0 -636
- package/dist/svelte.js +0 -120
- package/dist/svelte.svelte-vscode-javascript.js +0 -45
- package/dist/svelte.svelte-vscode-svelte.js +0 -46
- package/dist/svelte.svelte-vscode-typescript.js +0 -43
- package/dist/svelte.svelte-vscode.js +0 -383
- package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
- package/dist/svlangserver-systemverilog.js +0 -395
- package/dist/svlangserver.js +0 -85
- package/dist/swift-swift.code-snippets.js +0 -183
- package/dist/swift.js +0 -90
- package/dist/swift.tmLanguage.js +0 -3312
- package/dist/systemverilog.js +0 -187
- package/dist/systemverilog.tmLanguage.js +0 -1259
- package/dist/tasty.js +0 -72
- package/dist/tcl-tcl.js +0 -151
- package/dist/tcl.js +0 -78
- package/dist/tcl.tmlanguage.yaml.js +0 -5490
- package/dist/template.js +0 -207
- package/dist/theme-defaults~dark_plus.js +0 -210
- package/dist/theme-defaults~dark_plus_experimental.js +0 -145
- package/dist/theme-defaults~dark_vs.js +0 -412
- package/dist/theme-defaults~hc_black.js +0 -471
- package/dist/theme-defaults~hc_light.js +0 -595
- package/dist/theme-defaults~light_plus.js +0 -212
- package/dist/theme-defaults~light_plus_experimental.js +0 -158
- package/dist/theme-defaults~light_vs.js +0 -441
- package/dist/typescript-basics-typescript.code-snippets.js +0 -313
- package/dist/typescript-language-features.js +0 -1103
- package/dist/typescript.js +0 -216
- package/dist/typescriptreact.js +0 -216
- package/dist/vb-vb.code-snippets.js +0 -88
- package/dist/vb.js +0 -79
- package/dist/verilog.js +0 -187
- package/dist/volar-vue.js +0 -289
- package/dist/vscode-R-r-snippets.js +0 -534
- package/dist/vscode-R-rmarkdown.js +0 -461
- package/dist/vscode-R.js +0 -660
- package/dist/vscode-django-filters.js +0 -340
- package/dist/vscode-django.js +0 -37
- package/dist/vscode-go-go.js +0 -276
- package/dist/vscode-go.js +0 -1610
- package/dist/vscode-groovy.js +0 -28
- package/dist/vscode-python.js +0 -706
- package/dist/vue-directives.js +0 -25
- package/dist/vue-interpolations.js +0 -25
- package/dist/vue-sfc-style-variable-injection.js +0 -63
- package/dist/vue.js +0 -151
- package/dist/vue.tmLanguage.js +0 -1218
- package/dist/xml.js +0 -116
- package/dist/xml.tmLanguage.js +0 -395
- package/dist/xsl.js +0 -39
- package/dist/xsl.tmLanguage.js +0 -102
- package/dist/yaml.js +0 -82
- package/dist/yaml.tmLanguage.js +0 -629
- /package/dist/{extensions → editor}/autofold.d.ts +0 -0
- /package/dist/{extensions → editor}/cobol.d.ts +0 -0
- /package/dist/{extensions → editor}/index.d.ts +0 -0
package/dist/Scala.tmLanguage.js
DELETED
|
@@ -1,1324 +0,0 @@
|
|
|
1
|
-
var fileTypes = [
|
|
2
|
-
"scala"
|
|
3
|
-
];
|
|
4
|
-
var firstLineMatch = "^#!/.*\\b\\w*scala\\b";
|
|
5
|
-
var foldingStartMarker = "/\\*\\*|\\{\\s*$";
|
|
6
|
-
var foldingStopMarker = "\\*\\*/|^\\s*\\}";
|
|
7
|
-
var keyEquivalent = "^~S";
|
|
8
|
-
var repository = {
|
|
9
|
-
"empty-parentheses": {
|
|
10
|
-
match: "(\\(\\))",
|
|
11
|
-
captures: {
|
|
12
|
-
"1": {
|
|
13
|
-
name: "meta.bracket.scala"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
name: "meta.parentheses.scala"
|
|
17
|
-
},
|
|
18
|
-
imports: {
|
|
19
|
-
end: "(?<=[\\n;])",
|
|
20
|
-
begin: "\\b(import)\\s+",
|
|
21
|
-
beginCaptures: {
|
|
22
|
-
"1": {
|
|
23
|
-
name: "keyword.other.import.scala"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
patterns: [
|
|
27
|
-
{
|
|
28
|
-
include: "#comments"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
match: "\\b(given)\\b",
|
|
32
|
-
name: "keyword.other.import.given.scala"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
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}]+)?",
|
|
36
|
-
name: "entity.name.class.import.scala"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
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}]+))",
|
|
40
|
-
name: "entity.name.import.scala"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
match: "\\.",
|
|
44
|
-
name: "punctuation.definition.import"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
end: "}",
|
|
48
|
-
begin: "{",
|
|
49
|
-
beginCaptures: {
|
|
50
|
-
"0": {
|
|
51
|
-
name: "meta.bracket.scala"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
patterns: [
|
|
55
|
-
{
|
|
56
|
-
match: "(?x)(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*",
|
|
57
|
-
captures: {
|
|
58
|
-
"1": {
|
|
59
|
-
name: "keyword.other.import.given.scala"
|
|
60
|
-
},
|
|
61
|
-
"2": {
|
|
62
|
-
name: "entity.name.class.import.renamed-from.scala"
|
|
63
|
-
},
|
|
64
|
-
"3": {
|
|
65
|
-
name: "entity.name.import.renamed-from.scala"
|
|
66
|
-
},
|
|
67
|
-
"4": {
|
|
68
|
-
name: "keyword.other.arrow.scala"
|
|
69
|
-
},
|
|
70
|
-
"5": {
|
|
71
|
-
name: "entity.name.class.import.renamed-to.scala"
|
|
72
|
-
},
|
|
73
|
-
"6": {
|
|
74
|
-
name: "entity.name.import.renamed-to.scala"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
match: "\\b(given)\\b",
|
|
80
|
-
name: "keyword.other.import.given.scala"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
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}]+)))",
|
|
84
|
-
captures: {
|
|
85
|
-
"1": {
|
|
86
|
-
name: "keyword.other.import.given.scala"
|
|
87
|
-
},
|
|
88
|
-
"2": {
|
|
89
|
-
name: "entity.name.class.import.scala"
|
|
90
|
-
},
|
|
91
|
-
"3": {
|
|
92
|
-
name: "entity.name.import.scala"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
endCaptures: {
|
|
98
|
-
"0": {
|
|
99
|
-
name: "meta.bracket.scala"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
name: "meta.import.selector.scala"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
name: "meta.import.scala"
|
|
106
|
-
},
|
|
107
|
-
exports: {
|
|
108
|
-
end: "(?<=[\\n;])",
|
|
109
|
-
begin: "\\b(export)\\s+",
|
|
110
|
-
beginCaptures: {
|
|
111
|
-
"1": {
|
|
112
|
-
name: "keyword.other.export.scala"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
patterns: [
|
|
116
|
-
{
|
|
117
|
-
include: "#comments"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
match: "\\b(given)\\b",
|
|
121
|
-
name: "keyword.other.export.given.scala"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
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}]+)?",
|
|
125
|
-
name: "entity.name.class.export.scala"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
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}]+))",
|
|
129
|
-
name: "entity.name.export.scala"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
match: "\\.",
|
|
133
|
-
name: "punctuation.definition.export"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
end: "}",
|
|
137
|
-
begin: "{",
|
|
138
|
-
beginCaptures: {
|
|
139
|
-
"0": {
|
|
140
|
-
name: "meta.bracket.scala"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
patterns: [
|
|
144
|
-
{
|
|
145
|
-
match: "(?x)(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*",
|
|
146
|
-
captures: {
|
|
147
|
-
"1": {
|
|
148
|
-
name: "keyword.other.export.given.scala"
|
|
149
|
-
},
|
|
150
|
-
"2": {
|
|
151
|
-
name: "entity.name.class.export.renamed-from.scala"
|
|
152
|
-
},
|
|
153
|
-
"3": {
|
|
154
|
-
name: "entity.name.export.renamed-from.scala"
|
|
155
|
-
},
|
|
156
|
-
"4": {
|
|
157
|
-
name: "keyword.other.arrow.scala"
|
|
158
|
-
},
|
|
159
|
-
"5": {
|
|
160
|
-
name: "entity.name.class.export.renamed-to.scala"
|
|
161
|
-
},
|
|
162
|
-
"6": {
|
|
163
|
-
name: "entity.name.export.renamed-to.scala"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
match: "\\b(given)\\b",
|
|
169
|
-
name: "keyword.other.export.given.scala"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
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}]+)))",
|
|
173
|
-
captures: {
|
|
174
|
-
"1": {
|
|
175
|
-
name: "keyword.other.export.given.scala"
|
|
176
|
-
},
|
|
177
|
-
"2": {
|
|
178
|
-
name: "entity.name.class.export.scala"
|
|
179
|
-
},
|
|
180
|
-
"3": {
|
|
181
|
-
name: "entity.name.export.scala"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
endCaptures: {
|
|
187
|
-
"0": {
|
|
188
|
-
name: "meta.bracket.scala"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
name: "meta.export.selector.scala"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
name: "meta.export.scala"
|
|
195
|
-
},
|
|
196
|
-
constants: {
|
|
197
|
-
patterns: [
|
|
198
|
-
{
|
|
199
|
-
match: "\\b(false|null|true)\\b",
|
|
200
|
-
name: "constant.language.scala"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
match: "\\b(0[xX][0-9a-fA-F_]*)\\b",
|
|
204
|
-
name: "constant.numeric.scala"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
match: "\\b(([0-9][0-9_]*(\\.[0-9][0-9_]*)?)([eE](\\+|-)?[0-9][0-9_]*)?|[0-9][0-9_]*)[LlFfDd]?\\b",
|
|
208
|
-
name: "constant.numeric.scala"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
match: "(\\.[0-9][0-9_]*)([eE](\\+|-)?[0-9][0-9_]*)?[LlFfDd]?\\b",
|
|
212
|
-
name: "constant.numeric.scala"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
match: "\\b(this|super)\\b",
|
|
216
|
-
name: "variable.language.scala"
|
|
217
|
-
}
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"script-header": {
|
|
221
|
-
match: "^#!(.*)$",
|
|
222
|
-
captures: {
|
|
223
|
-
"1": {
|
|
224
|
-
name: "string.unquoted.shebang.scala"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
name: "comment.block.shebang.scala"
|
|
228
|
-
},
|
|
229
|
-
code: {
|
|
230
|
-
patterns: [
|
|
231
|
-
{
|
|
232
|
-
include: "#using-directive"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
include: "#script-header"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
include: "#storage-modifiers"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
include: "#declarations"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
include: "#inheritance"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
include: "#extension"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
include: "#imports"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
include: "#exports"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
include: "#comments"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
include: "#strings"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
include: "#initialization"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
include: "#xml-literal"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
include: "#keywords"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
include: "#using"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
include: "#constants"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
include: "#singleton-type"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
include: "#inline"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
include: "#scala-quoted-or-symbol"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
include: "#char-literal"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
include: "#empty-parentheses"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
include: "#parameter-list"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
include: "#qualifiedClassName"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
include: "#backQuotedVariable"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
include: "#curly-braces"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
include: "#meta-brackets"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
include: "#meta-bounds"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
include: "#meta-colons"
|
|
311
|
-
}
|
|
312
|
-
]
|
|
313
|
-
},
|
|
314
|
-
strings: {
|
|
315
|
-
patterns: [
|
|
316
|
-
{
|
|
317
|
-
end: "\"\"\"(?!\")",
|
|
318
|
-
begin: "\"\"\"",
|
|
319
|
-
beginCaptures: {
|
|
320
|
-
"0": {
|
|
321
|
-
name: "punctuation.definition.string.begin.scala"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
patterns: [
|
|
325
|
-
{
|
|
326
|
-
match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}",
|
|
327
|
-
name: "constant.character.escape.scala"
|
|
328
|
-
}
|
|
329
|
-
],
|
|
330
|
-
endCaptures: {
|
|
331
|
-
"0": {
|
|
332
|
-
name: "punctuation.definition.string.end.scala"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
name: "string.quoted.triple.scala"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
begin: "\\b(raw)(\"\"\")",
|
|
339
|
-
end: "(\"\"\")(?!\")|\\$\n|(\\$[^\\$\"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])",
|
|
340
|
-
beginCaptures: {
|
|
341
|
-
"1": {
|
|
342
|
-
name: "keyword.interpolation.scala"
|
|
343
|
-
},
|
|
344
|
-
"2": {
|
|
345
|
-
name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
patterns: [
|
|
349
|
-
{
|
|
350
|
-
match: "\\$[\\$\"]",
|
|
351
|
-
name: "constant.character.escape.scala"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
include: "#string-interpolation"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
match: ".",
|
|
358
|
-
name: "string.quoted.triple.interpolated.scala"
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
endCaptures: {
|
|
362
|
-
"1": {
|
|
363
|
-
name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala"
|
|
364
|
-
},
|
|
365
|
-
"2": {
|
|
366
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
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}]+)?))(\"\"\")",
|
|
372
|
-
end: "(\"\"\")(?!\")|\\$\n|(\\$[^\\$\"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])",
|
|
373
|
-
beginCaptures: {
|
|
374
|
-
"1": {
|
|
375
|
-
name: "keyword.interpolation.scala"
|
|
376
|
-
},
|
|
377
|
-
"2": {
|
|
378
|
-
name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
patterns: [
|
|
382
|
-
{
|
|
383
|
-
include: "#string-interpolation"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}",
|
|
387
|
-
name: "constant.character.escape.scala"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
match: ".",
|
|
391
|
-
name: "string.quoted.triple.interpolated.scala"
|
|
392
|
-
}
|
|
393
|
-
],
|
|
394
|
-
endCaptures: {
|
|
395
|
-
"1": {
|
|
396
|
-
name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala"
|
|
397
|
-
},
|
|
398
|
-
"2": {
|
|
399
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
end: "\"",
|
|
405
|
-
begin: "\"",
|
|
406
|
-
beginCaptures: {
|
|
407
|
-
"0": {
|
|
408
|
-
name: "punctuation.definition.string.begin.scala"
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
patterns: [
|
|
412
|
-
{
|
|
413
|
-
match: "\\\\(?:[btnfr\\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})",
|
|
414
|
-
name: "constant.character.escape.scala"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
match: "\\\\.",
|
|
418
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
419
|
-
}
|
|
420
|
-
],
|
|
421
|
-
endCaptures: {
|
|
422
|
-
"0": {
|
|
423
|
-
name: "punctuation.definition.string.end.scala"
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
name: "string.quoted.double.scala"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
begin: "\\b(raw)(\")",
|
|
430
|
-
end: "(\")|\\$\n|(\\$[^\\$\"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])",
|
|
431
|
-
beginCaptures: {
|
|
432
|
-
"1": {
|
|
433
|
-
name: "keyword.interpolation.scala"
|
|
434
|
-
},
|
|
435
|
-
"2": {
|
|
436
|
-
name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
patterns: [
|
|
440
|
-
{
|
|
441
|
-
match: "\\$[\\$\"]",
|
|
442
|
-
name: "constant.character.escape.scala"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
include: "#string-interpolation"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
match: ".",
|
|
449
|
-
name: "string.quoted.double.interpolated.scala"
|
|
450
|
-
}
|
|
451
|
-
],
|
|
452
|
-
endCaptures: {
|
|
453
|
-
"1": {
|
|
454
|
-
name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala"
|
|
455
|
-
},
|
|
456
|
-
"2": {
|
|
457
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
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}]+)?))(\")",
|
|
463
|
-
end: "(\")|\\$\n|(\\$[^\\$\"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])",
|
|
464
|
-
beginCaptures: {
|
|
465
|
-
"1": {
|
|
466
|
-
name: "keyword.interpolation.scala"
|
|
467
|
-
},
|
|
468
|
-
"2": {
|
|
469
|
-
name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
patterns: [
|
|
473
|
-
{
|
|
474
|
-
match: "\\$[\\$\"]",
|
|
475
|
-
name: "constant.character.escape.scala"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
include: "#string-interpolation"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
match: "\\\\(?:[btnfr\\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})",
|
|
482
|
-
name: "constant.character.escape.scala"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
match: "\\\\.",
|
|
486
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
match: ".",
|
|
490
|
-
name: "string.quoted.double.interpolated.scala"
|
|
491
|
-
}
|
|
492
|
-
],
|
|
493
|
-
endCaptures: {
|
|
494
|
-
"1": {
|
|
495
|
-
name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala"
|
|
496
|
-
},
|
|
497
|
-
"2": {
|
|
498
|
-
name: "invalid.illegal.unrecognized-string-escape.scala"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
},
|
|
504
|
-
using: {
|
|
505
|
-
patterns: [
|
|
506
|
-
{
|
|
507
|
-
match: "(?<=\\()\\s*(using)\\s",
|
|
508
|
-
captures: {
|
|
509
|
-
"1": {
|
|
510
|
-
name: "keyword.declaration.scala"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
]
|
|
515
|
-
},
|
|
516
|
-
"string-interpolation": {
|
|
517
|
-
patterns: [
|
|
518
|
-
{
|
|
519
|
-
name: "constant.character.escape.interpolation.scala",
|
|
520
|
-
match: "\\$\\$"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
name: "meta.template.expression.scala",
|
|
524
|
-
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]*)",
|
|
525
|
-
captures: {
|
|
526
|
-
"1": {
|
|
527
|
-
name: "punctuation.definition.template-expression.begin.scala"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
name: "meta.template.expression.scala",
|
|
533
|
-
begin: "\\$\\{",
|
|
534
|
-
beginCaptures: {
|
|
535
|
-
"0": {
|
|
536
|
-
name: "punctuation.definition.template-expression.begin.scala"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
end: "\\}",
|
|
540
|
-
endCaptures: {
|
|
541
|
-
"0": {
|
|
542
|
-
name: "punctuation.definition.template-expression.end.scala"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
patterns: [
|
|
546
|
-
{
|
|
547
|
-
include: "#code"
|
|
548
|
-
}
|
|
549
|
-
],
|
|
550
|
-
contentName: "meta.embedded.line.scala"
|
|
551
|
-
}
|
|
552
|
-
]
|
|
553
|
-
},
|
|
554
|
-
"xml-entity": {
|
|
555
|
-
match: "(&)([:a-zA-Z_][:a-zA-Z0-9_.-]*|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
|
556
|
-
captures: {
|
|
557
|
-
"1": {
|
|
558
|
-
name: "punctuation.definition.constant.xml"
|
|
559
|
-
},
|
|
560
|
-
"3": {
|
|
561
|
-
name: "punctuation.definition.constant.xml"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
name: "constant.character.entity.xml"
|
|
565
|
-
},
|
|
566
|
-
"xml-singlequotedString": {
|
|
567
|
-
end: "'",
|
|
568
|
-
begin: "'",
|
|
569
|
-
beginCaptures: {
|
|
570
|
-
"0": {
|
|
571
|
-
name: "punctuation.definition.string.begin.xml"
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
patterns: [
|
|
575
|
-
{
|
|
576
|
-
include: "#xml-entity"
|
|
577
|
-
}
|
|
578
|
-
],
|
|
579
|
-
endCaptures: {
|
|
580
|
-
"0": {
|
|
581
|
-
name: "punctuation.definition.string.end.xml"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
name: "string.quoted.single.xml"
|
|
585
|
-
},
|
|
586
|
-
"meta-colons": {
|
|
587
|
-
patterns: [
|
|
588
|
-
{
|
|
589
|
-
match: "(?<!:):(?!:)",
|
|
590
|
-
name: "meta.colon.scala"
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
comment: "For themes: Matching type colons"
|
|
594
|
-
},
|
|
595
|
-
keywords: {
|
|
596
|
-
patterns: [
|
|
597
|
-
{
|
|
598
|
-
match: "\\b(return|throw)\\b",
|
|
599
|
-
name: "keyword.control.flow.jump.scala"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
match: "\\b(classOf|isInstanceOf|asInstanceOf)\\b",
|
|
603
|
-
name: "support.function.type-of.scala"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
match: "\\b(else|if|then|do|while|for|yield|match|case)\\b",
|
|
607
|
-
name: "keyword.control.flow.scala"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
match: "^\\s*(end)\\s+(if|while|for|match)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
611
|
-
name: "keyword.control.flow.end.scala"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
match: "^\\s*(end)\\s+(val)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
615
|
-
name: "keyword.declaration.stable.end.scala"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
match: "^\\s*(end)\\s+(var)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
619
|
-
name: "keyword.declaration.volatile.end.scala"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
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.*).*)?$)",
|
|
623
|
-
captures: {
|
|
624
|
-
"1": {
|
|
625
|
-
name: "keyword.declaration.end.scala"
|
|
626
|
-
},
|
|
627
|
-
"2": {
|
|
628
|
-
name: "keyword.declaration.end.scala"
|
|
629
|
-
},
|
|
630
|
-
"3": {
|
|
631
|
-
name: "entity.name.type.declaration"
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
match: "\\b(catch|finally|try)\\b",
|
|
637
|
-
name: "keyword.control.exception.scala"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
match: "^\\s*(end)\\s+(try)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
641
|
-
name: "keyword.control.exception.end.scala"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
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.*).*)?$)",
|
|
645
|
-
captures: {
|
|
646
|
-
"1": {
|
|
647
|
-
name: "keyword.declaration.end.scala"
|
|
648
|
-
},
|
|
649
|
-
"2": {
|
|
650
|
-
name: "entity.name.declaration"
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
match: "(==?|!=|<=|>=|<>|<|>)",
|
|
656
|
-
name: "keyword.operator.comparison.scala"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
match: "(\\-|\\+|\\*|/(?![/*])|%|~)",
|
|
660
|
-
name: "keyword.operator.arithmetic.scala"
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
match: "(?<![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|_)(!|&&|\\|\\|)(?![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}])",
|
|
664
|
-
name: "keyword.operator.logical.scala"
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
match: "(<-|←|->|→|=>|⇒|\\?|\\:+|@|\\|)+",
|
|
668
|
-
name: "keyword.operator.scala"
|
|
669
|
-
}
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
|
-
"singleton-type": {
|
|
673
|
-
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])",
|
|
674
|
-
captures: {
|
|
675
|
-
"1": {
|
|
676
|
-
name: "keyword.type.scala"
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
inline: {
|
|
681
|
-
patterns: [
|
|
682
|
-
{
|
|
683
|
-
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*:)",
|
|
684
|
-
name: "storage.modifier.other"
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
match: "\\b(inline)\\b(?=(?:.(?!\\b(?:val|def|given)\\b))*\\b(if|match)\\b)",
|
|
688
|
-
name: "keyword.control.flow.scala"
|
|
689
|
-
}
|
|
690
|
-
]
|
|
691
|
-
},
|
|
692
|
-
"scala-quoted-or-symbol": {
|
|
693
|
-
patterns: [
|
|
694
|
-
{
|
|
695
|
-
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}]+)))(?!')",
|
|
696
|
-
captures: {
|
|
697
|
-
"1": {
|
|
698
|
-
name: "keyword.control.flow.staging.scala constant.other.symbol.scala"
|
|
699
|
-
},
|
|
700
|
-
"2": {
|
|
701
|
-
name: "constant.other.symbol.scala"
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
match: "'(?=\\s*\\{(?!'))",
|
|
707
|
-
name: "keyword.control.flow.staging.scala"
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
match: "'(?=\\s*\\[(?!'))",
|
|
711
|
-
name: "keyword.control.flow.staging.scala"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
match: "\\$(?=\\s*\\{)",
|
|
715
|
-
name: "keyword.control.flow.staging.scala"
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
},
|
|
719
|
-
"xml-doublequotedString": {
|
|
720
|
-
end: "\"",
|
|
721
|
-
begin: "\"",
|
|
722
|
-
beginCaptures: {
|
|
723
|
-
"0": {
|
|
724
|
-
name: "punctuation.definition.string.begin.xml"
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
patterns: [
|
|
728
|
-
{
|
|
729
|
-
include: "#xml-entity"
|
|
730
|
-
}
|
|
731
|
-
],
|
|
732
|
-
endCaptures: {
|
|
733
|
-
"0": {
|
|
734
|
-
name: "punctuation.definition.string.end.xml"
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
name: "string.quoted.double.xml"
|
|
738
|
-
},
|
|
739
|
-
declarations: {
|
|
740
|
-
patterns: [
|
|
741
|
-
{
|
|
742
|
-
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}]+)|`[^`]+`))?",
|
|
743
|
-
captures: {
|
|
744
|
-
"1": {
|
|
745
|
-
name: "keyword.declaration.scala"
|
|
746
|
-
},
|
|
747
|
-
"2": {
|
|
748
|
-
name: "entity.name.function.declaration"
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
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}]+)|`[^`]+`))?",
|
|
754
|
-
captures: {
|
|
755
|
-
"1": {
|
|
756
|
-
name: "keyword.declaration.scala"
|
|
757
|
-
},
|
|
758
|
-
"2": {
|
|
759
|
-
name: "entity.name.class.declaration"
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
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}]+)|`[^`]+`))?",
|
|
765
|
-
captures: {
|
|
766
|
-
"1": {
|
|
767
|
-
name: "keyword.declaration.scala"
|
|
768
|
-
},
|
|
769
|
-
"2": {
|
|
770
|
-
name: "keyword.declaration.scala"
|
|
771
|
-
},
|
|
772
|
-
"3": {
|
|
773
|
-
name: "entity.name.class.declaration"
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
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}]+)|`[^`]+`))?",
|
|
779
|
-
captures: {
|
|
780
|
-
"1": {
|
|
781
|
-
name: "keyword.declaration.scala"
|
|
782
|
-
},
|
|
783
|
-
"2": {
|
|
784
|
-
name: "entity.name.type.declaration"
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
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}]+)|`[^`]+`)?\\()",
|
|
790
|
-
captures: {
|
|
791
|
-
"1": {
|
|
792
|
-
name: "keyword.declaration.stable.scala"
|
|
793
|
-
},
|
|
794
|
-
"2": {
|
|
795
|
-
name: "keyword.declaration.volatile.scala"
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
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}]+)|`[^`]+`))*)?",
|
|
801
|
-
captures: {
|
|
802
|
-
"1": {
|
|
803
|
-
name: "keyword.declaration.stable.scala"
|
|
804
|
-
},
|
|
805
|
-
"2": {
|
|
806
|
-
name: "variable.stable.declaration.scala"
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
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}]+)|`[^`]+`))*)?",
|
|
812
|
-
captures: {
|
|
813
|
-
"1": {
|
|
814
|
-
name: "keyword.declaration.volatile.scala"
|
|
815
|
-
},
|
|
816
|
-
"2": {
|
|
817
|
-
name: "variable.volatile.declaration.scala"
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
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}]+)|`[^`]+`))?",
|
|
823
|
-
captures: {
|
|
824
|
-
"1": {
|
|
825
|
-
name: "keyword.other.scoping.scala"
|
|
826
|
-
},
|
|
827
|
-
"2": {
|
|
828
|
-
name: "keyword.declaration.scala"
|
|
829
|
-
},
|
|
830
|
-
"3": {
|
|
831
|
-
name: "entity.name.class.declaration"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
end: "(?<=[\\n;])",
|
|
837
|
-
begin: "\\b(package)\\s+",
|
|
838
|
-
beginCaptures: {
|
|
839
|
-
"1": {
|
|
840
|
-
name: "keyword.other.import.scala"
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
patterns: [
|
|
844
|
-
{
|
|
845
|
-
include: "#comments"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
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}]+))",
|
|
849
|
-
name: "entity.name.package.scala"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
match: "\\.",
|
|
853
|
-
name: "punctuation.definition.package"
|
|
854
|
-
}
|
|
855
|
-
],
|
|
856
|
-
name: "meta.package.scala"
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
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}]+)?|`[^`]+`)?",
|
|
860
|
-
captures: {
|
|
861
|
-
"1": {
|
|
862
|
-
name: "keyword.declaration.scala"
|
|
863
|
-
},
|
|
864
|
-
"2": {
|
|
865
|
-
name: "entity.name.given.declaration"
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
]
|
|
870
|
-
},
|
|
871
|
-
"char-literal": {
|
|
872
|
-
end: "'|$",
|
|
873
|
-
begin: "'",
|
|
874
|
-
beginCaptures: {
|
|
875
|
-
"0": {
|
|
876
|
-
name: "punctuation.definition.character.begin.scala"
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
patterns: [
|
|
880
|
-
{
|
|
881
|
-
match: "\\\\(?:[btnfr\\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})",
|
|
882
|
-
name: "constant.character.escape.scala"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
match: "\\\\.",
|
|
886
|
-
name: "invalid.illegal.unrecognized-character-escape.scala"
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
match: "[^']{2,}",
|
|
890
|
-
name: "invalid.illegal.character-literal-too-long"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
match: "(?<!')[^']",
|
|
894
|
-
name: "invalid.illegal.character-literal-too-long"
|
|
895
|
-
}
|
|
896
|
-
],
|
|
897
|
-
endCaptures: {
|
|
898
|
-
"0": {
|
|
899
|
-
name: "punctuation.definition.character.end.scala"
|
|
900
|
-
}
|
|
901
|
-
},
|
|
902
|
-
name: "string.quoted.other constant.character.literal.scala"
|
|
903
|
-
},
|
|
904
|
-
initialization: {
|
|
905
|
-
match: "\\b(new)\\b",
|
|
906
|
-
captures: {
|
|
907
|
-
"1": {
|
|
908
|
-
name: "keyword.declaration.scala"
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
"curly-braces": {
|
|
913
|
-
begin: "\\{",
|
|
914
|
-
end: "\\}",
|
|
915
|
-
beginCaptures: {
|
|
916
|
-
"0": {
|
|
917
|
-
name: "punctuation.section.block.begin.scala"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
endCaptures: {
|
|
921
|
-
"0": {
|
|
922
|
-
name: "punctuation.section.block.end.scala"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
patterns: [
|
|
926
|
-
{
|
|
927
|
-
include: "#code"
|
|
928
|
-
}
|
|
929
|
-
]
|
|
930
|
-
},
|
|
931
|
-
"meta-brackets": {
|
|
932
|
-
patterns: [
|
|
933
|
-
{
|
|
934
|
-
match: "\\{",
|
|
935
|
-
comment: "The punctuation.section.*.begin is needed for return snippet in source bundle",
|
|
936
|
-
name: "punctuation.section.block.begin.scala"
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
match: "\\}",
|
|
940
|
-
comment: "The punctuation.section.*.end is needed for return snippet in source bundle",
|
|
941
|
-
name: "punctuation.section.block.end.scala"
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
match: "{|}|\\(|\\)|\\[|\\]",
|
|
945
|
-
name: "meta.bracket.scala"
|
|
946
|
-
}
|
|
947
|
-
],
|
|
948
|
-
comment: "For themes: Brackets look nice when colored."
|
|
949
|
-
},
|
|
950
|
-
qualifiedClassName: {
|
|
951
|
-
match: "(\\b([A-Z][\\w]*)(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)",
|
|
952
|
-
captures: {
|
|
953
|
-
"1": {
|
|
954
|
-
name: "entity.name.class"
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
backQuotedVariable: {
|
|
959
|
-
match: "`[^`]+`"
|
|
960
|
-
},
|
|
961
|
-
"storage-modifiers": {
|
|
962
|
-
patterns: [
|
|
963
|
-
{
|
|
964
|
-
match: "\\b(private\\[\\S+\\]|protected\\[\\S+\\]|private|protected)\\b",
|
|
965
|
-
name: "storage.modifier.access"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
match: "\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|override|@transient|@native)\\b",
|
|
969
|
-
name: "storage.modifier.other"
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
match: "(?<=^|\\s)\\b(transparent|opaque|infix|open|inline)\\b(?=[a-z\\s]*\\b(def|val|var|given|type|class|trait|object|enum)\\b)",
|
|
973
|
-
name: "storage.modifier.other"
|
|
974
|
-
}
|
|
975
|
-
]
|
|
976
|
-
},
|
|
977
|
-
"meta-bounds": {
|
|
978
|
-
match: "<%|=:=|<:<|<%<|>:|<:",
|
|
979
|
-
comment: "For themes: Matching view bounds",
|
|
980
|
-
name: "meta.bounds.scala"
|
|
981
|
-
},
|
|
982
|
-
"using-directive": {
|
|
983
|
-
end: "\\n",
|
|
984
|
-
begin: "^\\s*(//>)\\s*(using)[^\\S\\n]+",
|
|
985
|
-
beginCaptures: {
|
|
986
|
-
"1": {
|
|
987
|
-
name: "punctuation.definition.comment.scala"
|
|
988
|
-
},
|
|
989
|
-
"2": {
|
|
990
|
-
name: "keyword.other.import.scala"
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
|
-
patterns: [
|
|
994
|
-
{
|
|
995
|
-
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}]+)",
|
|
996
|
-
name: "entity.name.import.scala"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
match: "\\.",
|
|
1000
|
-
name: "punctuation.definition.import"
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
include: "#strings"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
include: "#constants"
|
|
1007
|
-
}
|
|
1008
|
-
],
|
|
1009
|
-
name: "comment.line.shebang.scala"
|
|
1010
|
-
},
|
|
1011
|
-
comments: {
|
|
1012
|
-
patterns: [
|
|
1013
|
-
{
|
|
1014
|
-
include: "#block-comments"
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
end: "(?!\\G)",
|
|
1018
|
-
begin: "(^[ \\t]+)?(?=//)",
|
|
1019
|
-
beginCaptures: {
|
|
1020
|
-
"1": {
|
|
1021
|
-
name: "punctuation.whitespace.comment.leading.scala"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
patterns: [
|
|
1025
|
-
{
|
|
1026
|
-
end: "\\n",
|
|
1027
|
-
begin: "//",
|
|
1028
|
-
beginCaptures: {
|
|
1029
|
-
"0": {
|
|
1030
|
-
name: "punctuation.definition.comment.scala"
|
|
1031
|
-
}
|
|
1032
|
-
},
|
|
1033
|
-
name: "comment.line.double-slash.scala"
|
|
1034
|
-
}
|
|
1035
|
-
]
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
},
|
|
1039
|
-
"block-comments": {
|
|
1040
|
-
patterns: [
|
|
1041
|
-
{
|
|
1042
|
-
match: "/\\*\\*/",
|
|
1043
|
-
captures: {
|
|
1044
|
-
"0": {
|
|
1045
|
-
name: "punctuation.definition.comment.scala"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
name: "comment.block.empty.scala"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
end: "\\*/",
|
|
1052
|
-
begin: "^\\s*(/\\*\\*)(?!/)",
|
|
1053
|
-
beginCaptures: {
|
|
1054
|
-
"1": {
|
|
1055
|
-
name: "punctuation.definition.comment.scala"
|
|
1056
|
-
}
|
|
1057
|
-
},
|
|
1058
|
-
patterns: [
|
|
1059
|
-
{
|
|
1060
|
-
match: "(@param)\\s+(\\S+)",
|
|
1061
|
-
captures: {
|
|
1062
|
-
"1": {
|
|
1063
|
-
name: "keyword.other.documentation.scaladoc.scala"
|
|
1064
|
-
},
|
|
1065
|
-
"2": {
|
|
1066
|
-
name: "variable.parameter.scala"
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
match: "(@(?:tparam|throws))\\s+(\\S+)",
|
|
1072
|
-
captures: {
|
|
1073
|
-
"1": {
|
|
1074
|
-
name: "keyword.other.documentation.scaladoc.scala"
|
|
1075
|
-
},
|
|
1076
|
-
"2": {
|
|
1077
|
-
name: "entity.name.class"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
match: "@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc)\\b",
|
|
1083
|
-
name: "keyword.other.documentation.scaladoc.scala"
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
match: "(\\[\\[)([^\\]]+)(\\]\\])",
|
|
1087
|
-
captures: {
|
|
1088
|
-
"1": {
|
|
1089
|
-
name: "punctuation.definition.documentation.link.scala"
|
|
1090
|
-
},
|
|
1091
|
-
"2": {
|
|
1092
|
-
name: "string.other.link.title.markdown"
|
|
1093
|
-
},
|
|
1094
|
-
"3": {
|
|
1095
|
-
name: "punctuation.definition.documentation.link.scala"
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
include: "#block-comments"
|
|
1101
|
-
}
|
|
1102
|
-
],
|
|
1103
|
-
endCaptures: {
|
|
1104
|
-
"0": {
|
|
1105
|
-
name: "punctuation.definition.comment.scala"
|
|
1106
|
-
}
|
|
1107
|
-
},
|
|
1108
|
-
name: "comment.block.documentation.scala"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
end: "\\*/",
|
|
1112
|
-
begin: "/\\*",
|
|
1113
|
-
captures: {
|
|
1114
|
-
"0": {
|
|
1115
|
-
name: "punctuation.definition.comment.scala"
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
patterns: [
|
|
1119
|
-
{
|
|
1120
|
-
include: "#block-comments"
|
|
1121
|
-
}
|
|
1122
|
-
],
|
|
1123
|
-
name: "comment.block.scala"
|
|
1124
|
-
}
|
|
1125
|
-
]
|
|
1126
|
-
},
|
|
1127
|
-
"xml-embedded-content": {
|
|
1128
|
-
patterns: [
|
|
1129
|
-
{
|
|
1130
|
-
end: "}",
|
|
1131
|
-
begin: "{",
|
|
1132
|
-
patterns: [
|
|
1133
|
-
{
|
|
1134
|
-
include: "#code"
|
|
1135
|
-
}
|
|
1136
|
-
],
|
|
1137
|
-
captures: {
|
|
1138
|
-
"0": {
|
|
1139
|
-
name: "meta.bracket.scala"
|
|
1140
|
-
}
|
|
1141
|
-
},
|
|
1142
|
-
name: "meta.source.embedded.scala"
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
match: " (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)=",
|
|
1146
|
-
captures: {
|
|
1147
|
-
"1": {
|
|
1148
|
-
name: "entity.other.attribute-name.namespace.xml"
|
|
1149
|
-
},
|
|
1150
|
-
"2": {
|
|
1151
|
-
name: "entity.other.attribute-name.xml"
|
|
1152
|
-
},
|
|
1153
|
-
"3": {
|
|
1154
|
-
name: "punctuation.separator.namespace.xml"
|
|
1155
|
-
},
|
|
1156
|
-
"4": {
|
|
1157
|
-
name: "entity.other.attribute-name.localname.xml"
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
},
|
|
1161
|
-
{
|
|
1162
|
-
include: "#xml-doublequotedString"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
include: "#xml-singlequotedString"
|
|
1166
|
-
}
|
|
1167
|
-
]
|
|
1168
|
-
},
|
|
1169
|
-
inheritance: {
|
|
1170
|
-
patterns: [
|
|
1171
|
-
{
|
|
1172
|
-
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}]+))|(?=\"))?",
|
|
1173
|
-
captures: {
|
|
1174
|
-
"1": {
|
|
1175
|
-
name: "keyword.declaration.scala"
|
|
1176
|
-
},
|
|
1177
|
-
"2": {
|
|
1178
|
-
name: "entity.name.class"
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
]
|
|
1183
|
-
},
|
|
1184
|
-
extension: {
|
|
1185
|
-
patterns: [
|
|
1186
|
-
{
|
|
1187
|
-
match: "^\\s*(extension)\\s+(?=[\\[\\(])",
|
|
1188
|
-
captures: {
|
|
1189
|
-
"1": {
|
|
1190
|
-
name: "keyword.declaration.scala"
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
]
|
|
1195
|
-
},
|
|
1196
|
-
"parameter-list": {
|
|
1197
|
-
patterns: [
|
|
1198
|
-
{
|
|
1199
|
-
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+",
|
|
1200
|
-
captures: {
|
|
1201
|
-
"1": {
|
|
1202
|
-
name: "variable.parameter.scala"
|
|
1203
|
-
},
|
|
1204
|
-
"2": {
|
|
1205
|
-
name: "meta.colon.scala"
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
]
|
|
1210
|
-
},
|
|
1211
|
-
"xml-literal": {
|
|
1212
|
-
patterns: [
|
|
1213
|
-
{
|
|
1214
|
-
end: "(>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]*[_a-zA-Z0-9])(>)",
|
|
1215
|
-
begin: "(<)((?:([_a-zA-Z0-9][_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*))(?=(\\s[^>]*)?></\\2>)",
|
|
1216
|
-
beginCaptures: {
|
|
1217
|
-
"1": {
|
|
1218
|
-
name: "punctuation.definition.tag.xml"
|
|
1219
|
-
},
|
|
1220
|
-
"3": {
|
|
1221
|
-
name: "entity.name.tag.namespace.xml"
|
|
1222
|
-
},
|
|
1223
|
-
"4": {
|
|
1224
|
-
name: "entity.name.tag.xml"
|
|
1225
|
-
},
|
|
1226
|
-
"5": {
|
|
1227
|
-
name: "punctuation.separator.namespace.xml"
|
|
1228
|
-
},
|
|
1229
|
-
"6": {
|
|
1230
|
-
name: "entity.name.tag.localname.xml"
|
|
1231
|
-
}
|
|
1232
|
-
},
|
|
1233
|
-
patterns: [
|
|
1234
|
-
{
|
|
1235
|
-
include: "#xml-embedded-content"
|
|
1236
|
-
}
|
|
1237
|
-
],
|
|
1238
|
-
comment: "We do not allow a tag name to start with a - since this would likely conflict with the <- operator. This is not very common for tag names anyway. Also code such as -- if (val <val2 || val> val3) will falsly be recognized as an xml tag. The solution is to put a space on either side of the comparison operator",
|
|
1239
|
-
endCaptures: {
|
|
1240
|
-
"1": {
|
|
1241
|
-
name: "punctuation.definition.tag.xml"
|
|
1242
|
-
},
|
|
1243
|
-
"2": {
|
|
1244
|
-
name: "meta.scope.between-tag-pair.xml"
|
|
1245
|
-
},
|
|
1246
|
-
"3": {
|
|
1247
|
-
name: "entity.name.tag.namespace.xml"
|
|
1248
|
-
},
|
|
1249
|
-
"4": {
|
|
1250
|
-
name: "entity.name.tag.xml"
|
|
1251
|
-
},
|
|
1252
|
-
"5": {
|
|
1253
|
-
name: "punctuation.separator.namespace.xml"
|
|
1254
|
-
},
|
|
1255
|
-
"6": {
|
|
1256
|
-
name: "entity.name.tag.localname.xml"
|
|
1257
|
-
},
|
|
1258
|
-
"7": {
|
|
1259
|
-
name: "punctuation.definition.tag.xml"
|
|
1260
|
-
}
|
|
1261
|
-
},
|
|
1262
|
-
name: "meta.tag.no-content.xml"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
end: "(/?>)",
|
|
1266
|
-
begin: "(</?)(?:([_a-zA-Z0-9][-_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*)(?=[^>]*?>)",
|
|
1267
|
-
patterns: [
|
|
1268
|
-
{
|
|
1269
|
-
include: "#xml-embedded-content"
|
|
1270
|
-
}
|
|
1271
|
-
],
|
|
1272
|
-
captures: {
|
|
1273
|
-
"1": {
|
|
1274
|
-
name: "punctuation.definition.tag.xml"
|
|
1275
|
-
},
|
|
1276
|
-
"2": {
|
|
1277
|
-
name: "entity.name.tag.namespace.xml"
|
|
1278
|
-
},
|
|
1279
|
-
"3": {
|
|
1280
|
-
name: "entity.name.tag.xml"
|
|
1281
|
-
},
|
|
1282
|
-
"4": {
|
|
1283
|
-
name: "punctuation.separator.namespace.xml"
|
|
1284
|
-
},
|
|
1285
|
-
"5": {
|
|
1286
|
-
name: "entity.name.tag.localname.xml"
|
|
1287
|
-
}
|
|
1288
|
-
},
|
|
1289
|
-
name: "meta.tag.xml"
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
include: "#xml-entity"
|
|
1293
|
-
}
|
|
1294
|
-
]
|
|
1295
|
-
}
|
|
1296
|
-
};
|
|
1297
|
-
var uuid = "158C0929-299A-40C8-8D89-316BE0C446E8";
|
|
1298
|
-
var patterns = [
|
|
1299
|
-
{
|
|
1300
|
-
include: "#code"
|
|
1301
|
-
}
|
|
1302
|
-
];
|
|
1303
|
-
var name = "Scala";
|
|
1304
|
-
var scopeName = "source.scala";
|
|
1305
|
-
var information_for_contributors = [
|
|
1306
|
-
"This file has been converted from https://github.com/scala/vscode-scala-syntax/blob/master/",
|
|
1307
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
1308
|
-
"Once accepted there, we are happy to receive an update request."
|
|
1309
|
-
];
|
|
1310
|
-
var Scala_tmLanguage = {
|
|
1311
|
-
fileTypes: fileTypes,
|
|
1312
|
-
firstLineMatch: firstLineMatch,
|
|
1313
|
-
foldingStartMarker: foldingStartMarker,
|
|
1314
|
-
foldingStopMarker: foldingStopMarker,
|
|
1315
|
-
keyEquivalent: keyEquivalent,
|
|
1316
|
-
repository: repository,
|
|
1317
|
-
uuid: uuid,
|
|
1318
|
-
patterns: patterns,
|
|
1319
|
-
name: name,
|
|
1320
|
-
scopeName: scopeName,
|
|
1321
|
-
information_for_contributors: information_for_contributors
|
|
1322
|
-
};
|
|
1323
|
-
|
|
1324
|
-
export { Scala_tmLanguage as default, fileTypes, firstLineMatch, foldingStartMarker, foldingStopMarker, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName, uuid };
|