@covalent/components 8.14.0 → 8.15.0-beta.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/abap-1354785f.mjs +1314 -0
- package/abap-c7187853.js +6 -0
- package/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/apex-279d4f27.mjs +315 -0
- package/apex-fc5f2b3e.js +6 -0
- package/app-shell.js +1 -1
- package/app-shell.mjs +8 -7
- package/assets/css.worker-1af1972f.js +84 -0
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/html.worker-38c267f1.js +456 -0
- package/assets/json.worker-bf861c27.js +39 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/azcli-ba812c55.mjs +74 -0
- package/azcli-eb191d91.js +6 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/bat-34d38df4.js +6 -0
- package/bat-4d77495d.mjs +95 -0
- package/bicep-7b240724.mjs +108 -0
- package/bicep-a8264e77.js +7 -0
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/cameligo-5d2daeb8.mjs +168 -0
- package/cameligo-6e71c8f3.js +6 -0
- package/card.js +1 -1
- package/card.mjs +4 -3
- package/cell/cell.d.ts +58 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +25 -0
- package/cell.mjs +129 -0
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -7
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -15
- package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
- package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +46 -45
- package/chip.js +1 -1
- package/chip.mjs +5 -4
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +5 -4
- package/class-map-0a4c6ca9.js +5 -0
- package/class-map-6e504a9a.mjs +38 -0
- package/clojure-355adae1.js +6 -0
- package/clojure-b7ea12a3.mjs +754 -0
- package/code-editor/code-editor.d.ts +51 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor-383a8fae.mjs +94274 -0
- package/code-editor-4cce5e5d.js +1200 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +4 -3
- package/coffee-1a8cfbf4.mjs +228 -0
- package/coffee-fd8a7421.js +6 -0
- package/cpp-642b10c4.mjs +387 -0
- package/cpp-7eec3311.js +6 -0
- package/csharp-32862cd2.js +6 -0
- package/csharp-d987ddad.mjs +320 -0
- package/csp-54919de0.js +6 -0
- package/csp-96407af0.mjs +57 -0
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/cssMode-821261c4.js +9 -0
- package/cssMode-9b89f9af.mjs +1450 -0
- package/cypher-11e5a4b6.mjs +262 -0
- package/cypher-cc849b67.js +6 -0
- package/dart-031264ea.js +6 -0
- package/dart-5d209f63.mjs +270 -0
- package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
- package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +5 -4
- package/directive-1186bc23.js +5 -0
- package/directive-daf4e9b6.mjs +27 -0
- package/dockerfile-2f8684f7.js +6 -0
- package/dockerfile-8739cff7.mjs +132 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/ecl-68a6f20f.js +6 -0
- package/ecl-a20c5155.mjs +454 -0
- package/elixir-32cc668e.js +6 -0
- package/elixir-8b028584.mjs +467 -0
- package/flow9-0dea2e73.mjs +141 -0
- package/flow9-1d2ab5f6.js +6 -0
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/freemarker2-4fc0d2e6.mjs +648 -0
- package/freemarker2-7095cbc4.js +8 -0
- package/fsharp-49a70fad.mjs +210 -0
- package/fsharp-a22f5013.js +6 -0
- package/go-46e3b371.mjs +208 -0
- package/go-cdd943fd.js +6 -0
- package/graphql-1a14eb34.js +6 -0
- package/graphql-51a577e5.mjs +141 -0
- package/handlebars-6a356ce9.js +6 -0
- package/handlebars-82c24f9d.mjs +396 -0
- package/hcl-0833427e.js +6 -0
- package/hcl-56b85754.mjs +177 -0
- package/html-a95df2b1.mjs +286 -0
- package/html-d9124a1e.js +6 -0
- package/htmlMode-3946317b.js +9 -0
- package/htmlMode-45fac07b.mjs +1460 -0
- package/icon-button-toggle/icon-button-toggle.d.ts +7 -0
- package/icon-button-toggle/icon-button-toggle.d.ts.map +1 -1
- package/icon-button-toggle.js +12 -12
- package/icon-button-toggle.mjs +57 -47
- package/icon-button.js +1 -1
- package/icon-button.mjs +6 -5
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -6
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +7 -6
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +125 -117
- package/ini-1d58d82f.mjs +68 -0
- package/ini-34a929df.js +6 -0
- package/java-32d7b433.js +6 -0
- package/java-cd017f60.mjs +221 -0
- package/javascript-0226b3a0.mjs +80 -0
- package/javascript-ec698494.js +6 -0
- package/jsonMode-a8e45f39.js +11 -0
- package/jsonMode-bdcd2ed9.mjs +1871 -0
- package/julia-7db1fb9a.js +6 -0
- package/julia-a0caf483.mjs +496 -0
- package/kotlin-4b9019e1.js +6 -0
- package/kotlin-c6e52a56.mjs +245 -0
- package/less-5219eae1.js +7 -0
- package/less-718543b4.mjs +168 -0
- package/lexon-5e6e7a44.mjs +151 -0
- package/lexon-dfd683ab.js +6 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/liquid-2dc745b6.mjs +243 -0
- package/liquid-b6e2effe.js +6 -0
- package/list-item.js +2 -2
- package/list-item.mjs +7 -6
- package/list.js +1 -1
- package/list.mjs +8 -7
- package/lua-b46719a9.js +6 -0
- package/lua-f159160b.mjs +157 -0
- package/m3-87473279.js +6 -0
- package/m3-aadaf771.mjs +210 -0
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/mips-161e49ce.mjs +194 -0
- package/mips-82a1ce59.js +6 -0
- package/msdax-b3b5017e.js +6 -0
- package/msdax-f65cb1e6.mjs +377 -0
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
- package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
- package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
- package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
- package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
- package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
- package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
- package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
- package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
- package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
- package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
- package/mysql-24549dd1.mjs +875 -0
- package/mysql-69f1c589.js +6 -0
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook/notebook.d.ts +49 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +90 -0
- package/notebook.mjs +3307 -0
- package/objective-c-c8319b65.js +6 -0
- package/objective-c-e129a5ca.mjs +188 -0
- package/package.json +16 -1
- package/pascal-4ccdf5ce.mjs +245 -0
- package/pascal-e5207a08.js +6 -0
- package/pascaligo-8eb79945.js +6 -0
- package/pascaligo-a9603dcd.mjs +158 -0
- package/perl-ba1fb97a.mjs +599 -0
- package/perl-e8264c91.js +6 -0
- package/pgsql-89978310.mjs +843 -0
- package/pgsql-c8ba6faf.js +6 -0
- package/php-987b9d87.mjs +471 -0
- package/php-a6dcde52.js +6 -0
- package/pla-96c2695d.mjs +131 -0
- package/pla-c85b0e59.js +6 -0
- package/postiats-3c2c478e.js +6 -0
- package/postiats-7b52ebac.mjs +544 -0
- package/powerquery-8954ec26.mjs +890 -0
- package/powerquery-b0d5f9e4.js +6 -0
- package/powershell-cdb88123.js +6 -0
- package/powershell-f00d0274.mjs +233 -0
- package/protobuf-3eb85f80.mjs +422 -0
- package/protobuf-a3b2ca94.js +7 -0
- package/pug-6fab415a.mjs +393 -0
- package/pug-c5df821d.js +6 -0
- package/python-7770f129.mjs +264 -0
- package/python-c7862f06.js +6 -0
- package/qsharp-4792f872.mjs +282 -0
- package/qsharp-7eddb7b9.js +6 -0
- package/r-42c6f0aa.js +6 -0
- package/r-630f5d6b.mjs +245 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -7
- package/radio.js +2 -2
- package/radio.mjs +7 -6
- package/razor-3871ef20.mjs +517 -0
- package/razor-4a6a11b1.js +6 -0
- package/redis-0d0a89dd.js +6 -0
- package/redis-276b8288.mjs +298 -0
- package/redshift-520a7359.mjs +806 -0
- package/redshift-b6bdaeca.js +6 -0
- package/restructuredtext-4676a3fc.mjs +162 -0
- package/restructuredtext-c83d56ed.js +6 -0
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/ruby-764137cd.mjs +444 -0
- package/ruby-96103dcf.js +6 -0
- package/rust-87887495.js +6 -0
- package/rust-97f8f6e1.mjs +337 -0
- package/sb-8c22f14c.mjs +110 -0
- package/sb-e2701210.js +6 -0
- package/scala-c68c650c.mjs +353 -0
- package/scala-e8b7bd42.js +6 -0
- package/scheme-b9cbf7cb.js +6 -0
- package/scheme-e6a52cb0.mjs +114 -0
- package/scss-45104c77.mjs +244 -0
- package/scss-d0f4f80e.js +8 -0
- package/select.js +1 -1
- package/select.mjs +10 -9
- package/shell-09452d42.mjs +224 -0
- package/shell-43cfbe7d.js +6 -0
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +3 -2
- package/slider-range.js +1 -1
- package/slider-range.mjs +7 -6
- package/slider.js +1 -1
- package/slider.mjs +12 -11
- package/snackbar.js +14 -18
- package/snackbar.mjs +88 -159
- package/solidity-d4979008.mjs +1351 -0
- package/solidity-f1319e8a.js +6 -0
- package/sophia-21995caf.mjs +190 -0
- package/sophia-a1ce907f.js +6 -0
- package/sparql-5088743c.mjs +193 -0
- package/sparql-98d9e092.js +6 -0
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/st-122893c4.js +6 -0
- package/st-fa9ab362.mjs +414 -0
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -6
- package/status-header.js +1 -1
- package/status-header.mjs +4 -3
- package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
- package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
- package/style.css +1 -0
- package/swift-724ff2a3.js +8 -0
- package/swift-abdf1835.mjs +315 -0
- package/switch.js +1 -1
- package/switch.mjs +6 -5
- package/systemverilog-8139818b.js +6 -0
- package/systemverilog-a4f858ed.mjs +556 -0
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/tcl-8adf937f.mjs +232 -0
- package/tcl-e49fed0b.js +6 -0
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +4 -3
- package/textarea.js +1 -1
- package/textarea.mjs +6 -5
- package/{textfield-11525c88.js → textfield-0645375b.js} +16 -16
- package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.mjs} +5 -4
- package/textfield.js +1 -1
- package/textfield.mjs +6 -5
- package/toolbar.js +1 -1
- package/toolbar.mjs +5 -4
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +5 -4
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +8 -7
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -3
- package/tsMode-426fdb34.mjs +794 -0
- package/tsMode-9087ec29.js +16 -0
- package/twig-404eb73e.mjs +323 -0
- package/twig-4bfb5b04.js +6 -0
- package/typescript-37d9bf54.mjs +332 -0
- package/typescript-eb2ab867.js +6 -0
- package/vb-8dfd000c.js +6 -0
- package/vb-e21e8153.mjs +364 -0
- package/xml-349a9a42.js +6 -0
- package/xml-9970ffe1.mjs +100 -0
- package/yaml-167e3d82.mjs +189 -0
- package/yaml-837b2090.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}};exports.conf=e;exports.language=t;
|
@@ -0,0 +1,496 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var e = {
|
8
|
+
brackets: [
|
9
|
+
["{", "}"],
|
10
|
+
["[", "]"],
|
11
|
+
["(", ")"]
|
12
|
+
],
|
13
|
+
autoClosingPairs: [
|
14
|
+
{ open: "{", close: "}" },
|
15
|
+
{ open: "[", close: "]" },
|
16
|
+
{ open: "(", close: ")" },
|
17
|
+
{ open: '"', close: '"' },
|
18
|
+
{ open: "'", close: "'" }
|
19
|
+
],
|
20
|
+
surroundingPairs: [
|
21
|
+
{ open: "{", close: "}" },
|
22
|
+
{ open: "[", close: "]" },
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: '"', close: '"' },
|
25
|
+
{ open: "'", close: "'" }
|
26
|
+
]
|
27
|
+
}, t = {
|
28
|
+
tokenPostfix: ".julia",
|
29
|
+
keywords: [
|
30
|
+
"begin",
|
31
|
+
"while",
|
32
|
+
"if",
|
33
|
+
"for",
|
34
|
+
"try",
|
35
|
+
"return",
|
36
|
+
"break",
|
37
|
+
"continue",
|
38
|
+
"function",
|
39
|
+
"macro",
|
40
|
+
"quote",
|
41
|
+
"let",
|
42
|
+
"local",
|
43
|
+
"global",
|
44
|
+
"const",
|
45
|
+
"do",
|
46
|
+
"struct",
|
47
|
+
"module",
|
48
|
+
"baremodule",
|
49
|
+
"using",
|
50
|
+
"import",
|
51
|
+
"export",
|
52
|
+
"end",
|
53
|
+
"else",
|
54
|
+
"elseif",
|
55
|
+
"catch",
|
56
|
+
"finally",
|
57
|
+
"mutable",
|
58
|
+
"primitive",
|
59
|
+
"abstract",
|
60
|
+
"type",
|
61
|
+
"in",
|
62
|
+
"isa",
|
63
|
+
"where",
|
64
|
+
"new"
|
65
|
+
],
|
66
|
+
types: [
|
67
|
+
"LinRange",
|
68
|
+
"LineNumberNode",
|
69
|
+
"LinearIndices",
|
70
|
+
"LoadError",
|
71
|
+
"MIME",
|
72
|
+
"Matrix",
|
73
|
+
"Method",
|
74
|
+
"MethodError",
|
75
|
+
"Missing",
|
76
|
+
"MissingException",
|
77
|
+
"Module",
|
78
|
+
"NTuple",
|
79
|
+
"NamedTuple",
|
80
|
+
"Nothing",
|
81
|
+
"Number",
|
82
|
+
"OrdinalRange",
|
83
|
+
"OutOfMemoryError",
|
84
|
+
"OverflowError",
|
85
|
+
"Pair",
|
86
|
+
"PartialQuickSort",
|
87
|
+
"PermutedDimsArray",
|
88
|
+
"Pipe",
|
89
|
+
"Ptr",
|
90
|
+
"QuoteNode",
|
91
|
+
"Rational",
|
92
|
+
"RawFD",
|
93
|
+
"ReadOnlyMemoryError",
|
94
|
+
"Real",
|
95
|
+
"ReentrantLock",
|
96
|
+
"Ref",
|
97
|
+
"Regex",
|
98
|
+
"RegexMatch",
|
99
|
+
"RoundingMode",
|
100
|
+
"SegmentationFault",
|
101
|
+
"Set",
|
102
|
+
"Signed",
|
103
|
+
"Some",
|
104
|
+
"StackOverflowError",
|
105
|
+
"StepRange",
|
106
|
+
"StepRangeLen",
|
107
|
+
"StridedArray",
|
108
|
+
"StridedMatrix",
|
109
|
+
"StridedVecOrMat",
|
110
|
+
"StridedVector",
|
111
|
+
"String",
|
112
|
+
"StringIndexError",
|
113
|
+
"SubArray",
|
114
|
+
"SubString",
|
115
|
+
"SubstitutionString",
|
116
|
+
"Symbol",
|
117
|
+
"SystemError",
|
118
|
+
"Task",
|
119
|
+
"Text",
|
120
|
+
"TextDisplay",
|
121
|
+
"Timer",
|
122
|
+
"Tuple",
|
123
|
+
"Type",
|
124
|
+
"TypeError",
|
125
|
+
"TypeVar",
|
126
|
+
"UInt",
|
127
|
+
"UInt128",
|
128
|
+
"UInt16",
|
129
|
+
"UInt32",
|
130
|
+
"UInt64",
|
131
|
+
"UInt8",
|
132
|
+
"UndefInitializer",
|
133
|
+
"AbstractArray",
|
134
|
+
"UndefKeywordError",
|
135
|
+
"AbstractChannel",
|
136
|
+
"UndefRefError",
|
137
|
+
"AbstractChar",
|
138
|
+
"UndefVarError",
|
139
|
+
"AbstractDict",
|
140
|
+
"Union",
|
141
|
+
"AbstractDisplay",
|
142
|
+
"UnionAll",
|
143
|
+
"AbstractFloat",
|
144
|
+
"UnitRange",
|
145
|
+
"AbstractIrrational",
|
146
|
+
"Unsigned",
|
147
|
+
"AbstractMatrix",
|
148
|
+
"AbstractRange",
|
149
|
+
"Val",
|
150
|
+
"AbstractSet",
|
151
|
+
"Vararg",
|
152
|
+
"AbstractString",
|
153
|
+
"VecElement",
|
154
|
+
"AbstractUnitRange",
|
155
|
+
"VecOrMat",
|
156
|
+
"AbstractVecOrMat",
|
157
|
+
"Vector",
|
158
|
+
"AbstractVector",
|
159
|
+
"VersionNumber",
|
160
|
+
"Any",
|
161
|
+
"WeakKeyDict",
|
162
|
+
"ArgumentError",
|
163
|
+
"WeakRef",
|
164
|
+
"Array",
|
165
|
+
"AssertionError",
|
166
|
+
"BigFloat",
|
167
|
+
"BigInt",
|
168
|
+
"BitArray",
|
169
|
+
"BitMatrix",
|
170
|
+
"BitSet",
|
171
|
+
"BitVector",
|
172
|
+
"Bool",
|
173
|
+
"BoundsError",
|
174
|
+
"CapturedException",
|
175
|
+
"CartesianIndex",
|
176
|
+
"CartesianIndices",
|
177
|
+
"Cchar",
|
178
|
+
"Cdouble",
|
179
|
+
"Cfloat",
|
180
|
+
"Channel",
|
181
|
+
"Char",
|
182
|
+
"Cint",
|
183
|
+
"Cintmax_t",
|
184
|
+
"Clong",
|
185
|
+
"Clonglong",
|
186
|
+
"Cmd",
|
187
|
+
"Colon",
|
188
|
+
"Complex",
|
189
|
+
"ComplexF16",
|
190
|
+
"ComplexF32",
|
191
|
+
"ComplexF64",
|
192
|
+
"CompositeException",
|
193
|
+
"Condition",
|
194
|
+
"Cptrdiff_t",
|
195
|
+
"Cshort",
|
196
|
+
"Csize_t",
|
197
|
+
"Cssize_t",
|
198
|
+
"Cstring",
|
199
|
+
"Cuchar",
|
200
|
+
"Cuint",
|
201
|
+
"Cuintmax_t",
|
202
|
+
"Culong",
|
203
|
+
"Culonglong",
|
204
|
+
"Cushort",
|
205
|
+
"Cvoid",
|
206
|
+
"Cwchar_t",
|
207
|
+
"Cwstring",
|
208
|
+
"DataType",
|
209
|
+
"DenseArray",
|
210
|
+
"DenseMatrix",
|
211
|
+
"DenseVecOrMat",
|
212
|
+
"DenseVector",
|
213
|
+
"Dict",
|
214
|
+
"DimensionMismatch",
|
215
|
+
"Dims",
|
216
|
+
"DivideError",
|
217
|
+
"DomainError",
|
218
|
+
"EOFError",
|
219
|
+
"Enum",
|
220
|
+
"ErrorException",
|
221
|
+
"Exception",
|
222
|
+
"ExponentialBackOff",
|
223
|
+
"Expr",
|
224
|
+
"Float16",
|
225
|
+
"Float32",
|
226
|
+
"Float64",
|
227
|
+
"Function",
|
228
|
+
"GlobalRef",
|
229
|
+
"HTML",
|
230
|
+
"IO",
|
231
|
+
"IOBuffer",
|
232
|
+
"IOContext",
|
233
|
+
"IOStream",
|
234
|
+
"IdDict",
|
235
|
+
"IndexCartesian",
|
236
|
+
"IndexLinear",
|
237
|
+
"IndexStyle",
|
238
|
+
"InexactError",
|
239
|
+
"InitError",
|
240
|
+
"Int",
|
241
|
+
"Int128",
|
242
|
+
"Int16",
|
243
|
+
"Int32",
|
244
|
+
"Int64",
|
245
|
+
"Int8",
|
246
|
+
"Integer",
|
247
|
+
"InterruptException",
|
248
|
+
"InvalidStateException",
|
249
|
+
"Irrational",
|
250
|
+
"KeyError"
|
251
|
+
],
|
252
|
+
keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"],
|
253
|
+
allops: /[^\w\d\s()\[\]{}"'#]+/,
|
254
|
+
constants: [
|
255
|
+
"true",
|
256
|
+
"false",
|
257
|
+
"nothing",
|
258
|
+
"missing",
|
259
|
+
"undef",
|
260
|
+
"Inf",
|
261
|
+
"pi",
|
262
|
+
"NaN",
|
263
|
+
"π",
|
264
|
+
"ℯ",
|
265
|
+
"ans",
|
266
|
+
"PROGRAM_FILE",
|
267
|
+
"ARGS",
|
268
|
+
"C_NULL",
|
269
|
+
"VERSION",
|
270
|
+
"DEPOT_PATH",
|
271
|
+
"LOAD_PATH"
|
272
|
+
],
|
273
|
+
operators: [
|
274
|
+
"!",
|
275
|
+
"!=",
|
276
|
+
"!==",
|
277
|
+
"%",
|
278
|
+
"&",
|
279
|
+
"*",
|
280
|
+
"+",
|
281
|
+
"-",
|
282
|
+
"/",
|
283
|
+
"//",
|
284
|
+
"<",
|
285
|
+
"<<",
|
286
|
+
"<=",
|
287
|
+
"==",
|
288
|
+
"===",
|
289
|
+
"=>",
|
290
|
+
">",
|
291
|
+
">=",
|
292
|
+
">>",
|
293
|
+
">>>",
|
294
|
+
"\\",
|
295
|
+
"^",
|
296
|
+
"|",
|
297
|
+
"|>",
|
298
|
+
"~",
|
299
|
+
"÷",
|
300
|
+
"∈",
|
301
|
+
"∉",
|
302
|
+
"∋",
|
303
|
+
"∌",
|
304
|
+
"∘",
|
305
|
+
"√",
|
306
|
+
"∛",
|
307
|
+
"∩",
|
308
|
+
"∪",
|
309
|
+
"≈",
|
310
|
+
"≉",
|
311
|
+
"≠",
|
312
|
+
"≡",
|
313
|
+
"≢",
|
314
|
+
"≤",
|
315
|
+
"≥",
|
316
|
+
"⊆",
|
317
|
+
"⊇",
|
318
|
+
"⊈",
|
319
|
+
"⊉",
|
320
|
+
"⊊",
|
321
|
+
"⊋",
|
322
|
+
"⊻"
|
323
|
+
],
|
324
|
+
brackets: [
|
325
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
326
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
327
|
+
{ open: "[", close: "]", token: "delimiter.square" }
|
328
|
+
],
|
329
|
+
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
330
|
+
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
331
|
+
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
332
|
+
tokenizer: {
|
333
|
+
root: [
|
334
|
+
[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"],
|
335
|
+
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", { token: "", next: "@typeanno" }]],
|
336
|
+
[/\b(type|struct)[ \t]+/, "keyword", "@typeanno"],
|
337
|
+
[/^\s*:@ident[!?]?/, "metatag"],
|
338
|
+
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
339
|
+
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
340
|
+
[/:\(/, "metatag", "@quote"],
|
341
|
+
[/r"""/, "regexp.delim", "@tregexp"],
|
342
|
+
[/r"/, "regexp.delim", "@sregexp"],
|
343
|
+
[/raw"""/, "string.delim", "@rtstring"],
|
344
|
+
[/[bv]?"""/, "string.delim", "@dtstring"],
|
345
|
+
[/raw"/, "string.delim", "@rsstring"],
|
346
|
+
[/[bv]?"/, "string.delim", "@dsstring"],
|
347
|
+
[
|
348
|
+
/(@ident)\{/,
|
349
|
+
{
|
350
|
+
cases: {
|
351
|
+
"$1@types": { token: "type", next: "@gen" },
|
352
|
+
"@default": { token: "type", next: "@gen" }
|
353
|
+
}
|
354
|
+
}
|
355
|
+
],
|
356
|
+
[
|
357
|
+
/@ident[!?'']?(?=\.?\()/,
|
358
|
+
{
|
359
|
+
cases: {
|
360
|
+
"@types": "type",
|
361
|
+
"@keywords": "keyword",
|
362
|
+
"@constants": "variable",
|
363
|
+
"@default": "keyword.flow"
|
364
|
+
}
|
365
|
+
}
|
366
|
+
],
|
367
|
+
[
|
368
|
+
/@ident[!?']?/,
|
369
|
+
{
|
370
|
+
cases: {
|
371
|
+
"@types": "type",
|
372
|
+
"@keywords": "keyword",
|
373
|
+
"@constants": "variable",
|
374
|
+
"@default": "identifier"
|
375
|
+
}
|
376
|
+
}
|
377
|
+
],
|
378
|
+
[/\$\w+/, "key"],
|
379
|
+
[/\$\(/, "key", "@paste"],
|
380
|
+
[/@@@ident/, "annotation"],
|
381
|
+
{ include: "@whitespace" },
|
382
|
+
[/'(?:@escapes|.)'/, "string.character"],
|
383
|
+
[/[()\[\]{}]/, "@brackets"],
|
384
|
+
[
|
385
|
+
/@allops/,
|
386
|
+
{
|
387
|
+
cases: {
|
388
|
+
"@keywordops": "keyword",
|
389
|
+
"@operators": "operator"
|
390
|
+
}
|
391
|
+
}
|
392
|
+
],
|
393
|
+
[/[;,]/, "delimiter"],
|
394
|
+
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
395
|
+
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
396
|
+
[/0[bB][01](_?[01])*/, "number.binary"],
|
397
|
+
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
398
|
+
],
|
399
|
+
typeanno: [
|
400
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"],
|
401
|
+
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
402
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"],
|
403
|
+
["", "", "@pop"]
|
404
|
+
],
|
405
|
+
gen: [
|
406
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"],
|
407
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
408
|
+
[/<:/, "keyword"],
|
409
|
+
[/(\})(\s*<:\s*)/, ["type", { token: "keyword", next: "@pop" }]],
|
410
|
+
[/\}/, "type", "@pop"],
|
411
|
+
{ include: "@root" }
|
412
|
+
],
|
413
|
+
quote: [
|
414
|
+
[/\$\(/, "key", "@paste"],
|
415
|
+
[/\(/, "@brackets", "@paren"],
|
416
|
+
[/\)/, "metatag", "@pop"],
|
417
|
+
{ include: "@root" }
|
418
|
+
],
|
419
|
+
paste: [
|
420
|
+
[/:\(/, "metatag", "@quote"],
|
421
|
+
[/\(/, "@brackets", "@paren"],
|
422
|
+
[/\)/, "key", "@pop"],
|
423
|
+
{ include: "@root" }
|
424
|
+
],
|
425
|
+
paren: [
|
426
|
+
[/\$\(/, "key", "@paste"],
|
427
|
+
[/:\(/, "metatag", "@quote"],
|
428
|
+
[/\(/, "@brackets", "@push"],
|
429
|
+
[/\)/, "@brackets", "@pop"],
|
430
|
+
{ include: "@root" }
|
431
|
+
],
|
432
|
+
sregexp: [
|
433
|
+
[/^.*/, "invalid"],
|
434
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
435
|
+
[/[()\[\]{}]/, "@brackets"],
|
436
|
+
[/\\./, "operator.scss"],
|
437
|
+
[/"[imsx]*/, "regexp.delim", "@pop"]
|
438
|
+
],
|
439
|
+
tregexp: [
|
440
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
441
|
+
[/[()\[\]{}]/, "@brackets"],
|
442
|
+
[/\\./, "operator.scss"],
|
443
|
+
[/"(?!"")/, "string"],
|
444
|
+
[/"""[imsx]*/, "regexp.delim", "@pop"]
|
445
|
+
],
|
446
|
+
rsstring: [
|
447
|
+
[/^.*/, "invalid"],
|
448
|
+
[/[^\\"]/, "string"],
|
449
|
+
[/\\./, "string.escape"],
|
450
|
+
[/"/, "string.delim", "@pop"]
|
451
|
+
],
|
452
|
+
rtstring: [
|
453
|
+
[/[^\\"]/, "string"],
|
454
|
+
[/\\./, "string.escape"],
|
455
|
+
[/"(?!"")/, "string"],
|
456
|
+
[/"""/, "string.delim", "@pop"]
|
457
|
+
],
|
458
|
+
dsstring: [
|
459
|
+
[/^.*/, "invalid"],
|
460
|
+
[/[^\\"\$]/, "string"],
|
461
|
+
[/\$/, "", "@interpolated"],
|
462
|
+
[/@escapes/, "string.escape"],
|
463
|
+
[/\\./, "string.escape.invalid"],
|
464
|
+
[/"/, "string.delim", "@pop"]
|
465
|
+
],
|
466
|
+
dtstring: [
|
467
|
+
[/[^\\"\$]/, "string"],
|
468
|
+
[/\$/, "", "@interpolated"],
|
469
|
+
[/@escapes/, "string.escape"],
|
470
|
+
[/\\./, "string.escape.invalid"],
|
471
|
+
[/"(?!"")/, "string"],
|
472
|
+
[/"""/, "string.delim", "@pop"]
|
473
|
+
],
|
474
|
+
interpolated: [
|
475
|
+
[/\(/, { token: "", switchTo: "@interpolated_compound" }],
|
476
|
+
[/[a-zA-Z_]\w*/, "identifier"],
|
477
|
+
["", "", "@pop"]
|
478
|
+
],
|
479
|
+
interpolated_compound: [[/\)/, "", "@pop"], { include: "@root" }],
|
480
|
+
whitespace: [
|
481
|
+
[/[ \t\r\n]+/, ""],
|
482
|
+
[/#=/, "comment", "@multi_comment"],
|
483
|
+
[/#.*$/, "comment"]
|
484
|
+
],
|
485
|
+
multi_comment: [
|
486
|
+
[/#=/, "comment", "@push"],
|
487
|
+
[/=#/, "comment", "@pop"],
|
488
|
+
[/=(?!#)|#(?!=)/, "comment"],
|
489
|
+
[/[^#=]+/, "comment"]
|
490
|
+
]
|
491
|
+
}
|
492
|
+
};
|
493
|
+
export {
|
494
|
+
e as conf,
|
495
|
+
t as language
|
496
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|