@infinilabs/discover 0.0.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/LICENSE +9 -0
- package/README.md +8 -0
- package/dist/abap-B988NUrV.js +122 -0
- package/dist/abap-obercqiY.cjs +1 -0
- package/dist/apex-B0_UGK1B.cjs +1 -0
- package/dist/apex-BlHPPQK-.js +168 -0
- package/dist/azcli-C7iyZFGk.js +53 -0
- package/dist/azcli-CEoytwx_.cjs +1 -0
- package/dist/bat-Buc0l0C3.js +123 -0
- package/dist/bat-D65OC-jj.cjs +1 -0
- package/dist/bicep-DvD_e5vW.cjs +2 -0
- package/dist/bicep-U66iJ-pV.js +219 -0
- package/dist/cameligo-C9Dwkdmm.js +189 -0
- package/dist/cameligo-DzMHfeEs.cjs +1 -0
- package/dist/chunk-BjqF3vbe.cjs +1 -0
- package/dist/chunk-CIp4IH9D.js +21 -0
- package/dist/classnames-BXjDNQ6Q.cjs +1 -0
- package/dist/classnames-eUba3oot.js +29 -0
- package/dist/clojure-BC7BzAFK.cjs +1 -0
- package/dist/clojure-DDWmWbSx.js +146 -0
- package/dist/coffee-7Sx2S8NH.js +260 -0
- package/dist/coffee-Ca9F0OWZ.cjs +1 -0
- package/dist/common-BeXEy5sz.cjs +18 -0
- package/dist/common-BlOHZJzI.js +64 -0
- package/dist/common-DuYIpe6b.cjs +1 -0
- package/dist/common-Tr1I-HCs.js +6725 -0
- package/dist/cpp-CHjqaSPQ.js +230 -0
- package/dist/cpp-DKy9h6xR.cjs +1 -0
- package/dist/createLucideIcon-239Z-2by.cjs +1 -0
- package/dist/createLucideIcon-BO6TDGE7.js +43 -0
- package/dist/csharp-CkbgT9vH.cjs +1 -0
- package/dist/csharp-jwStnVeK.js +260 -0
- package/dist/csp-C2qFd6iv.cjs +1 -0
- package/dist/csp-DkO8Np0h.js +46 -0
- package/dist/css-BFvwcljm.js +284 -0
- package/dist/css-DCKUCzD6.cjs +3 -0
- package/dist/cssMode-CU2AJQMM.js +1509 -0
- package/dist/cssMode-l7eR8WSG.cjs +4 -0
- package/dist/cypher-122TYSjJ.cjs +1 -0
- package/dist/cypher-DaQ7hFRL.js +212 -0
- package/dist/dart-D8p_2HKP.js +236 -0
- package/dist/dart-DshcPGU8.cjs +1 -0
- package/dist/dist-DCz_Qv0B.js +884 -0
- package/dist/dist-D_2dZQH5.cjs +11 -0
- package/dist/dockerfile-CL8dwZCe.cjs +1 -0
- package/dist/dockerfile-DKWOQrwp.js +191 -0
- package/dist/ecl-DP3PNWGB.js +226 -0
- package/dist/ecl-DVx2J_EE.cjs +1 -0
- package/dist/editor.api-CbUDOph7.js +70302 -0
- package/dist/editor.api-lY2thcaq.cjs +644 -0
- package/dist/elixir-Xgx_1krO.cjs +1 -0
- package/dist/elixir-e9tDp1p1.js +523 -0
- package/dist/filter_label-DRJC3vpe.js +58 -0
- package/dist/filter_label-DssaWGpx.cjs +1 -0
- package/dist/filter_operators-C-TaTcNc.js +70 -0
- package/dist/filter_operators-D0kyB-XI.cjs +1 -0
- package/dist/flow9-C9BjpX8h.js +176 -0
- package/dist/flow9-DR-EyjYV.cjs +1 -0
- package/dist/freemarker2-BTGUjvgA.cjs +3 -0
- package/dist/freemarker2-C6Iq5MB-.js +724 -0
- package/dist/fsharp-BWm_FISn.js +147 -0
- package/dist/fsharp-DaBEigN7.cjs +1 -0
- package/dist/go-Xyq33f0v.cjs +1 -0
- package/dist/go-cmqV0Vy_.js +165 -0
- package/dist/graphql-BkFHHVmI.js +174 -0
- package/dist/graphql-Cj7XAy25.cjs +1 -0
- package/dist/handlebars-B2b1q7PA.cjs +1 -0
- package/dist/handlebars-DGGN9u4Y.js +418 -0
- package/dist/hcl-5I-P7bYX.js +219 -0
- package/dist/hcl-C3dpBsgU.cjs +1 -0
- package/dist/html-RJa-j-qT.js +339 -0
- package/dist/html-qfcUzk8e.cjs +1 -0
- package/dist/htmlMode-CYIxo4hc.cjs +4 -0
- package/dist/htmlMode-DDZ48mdp.js +1520 -0
- package/dist/index.cjs +303 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +72895 -0
- package/dist/index_pattern_select--iGeA3sP.js +93 -0
- package/dist/index_pattern_select-BeN5049F.cjs +1 -0
- package/dist/ini-ChENqKh8.cjs +1 -0
- package/dist/ini-DSIAxBZt.js +94 -0
- package/dist/java-DGeAxsRb.js +173 -0
- package/dist/java-LZ6g7weJ.cjs +1 -0
- package/dist/javascript-CN5gTHH2.js +19 -0
- package/dist/javascript-CZ97a-BN.cjs +1 -0
- package/dist/jsonMode-BZDeJMLL.cjs +10 -0
- package/dist/jsonMode-DraOl-ka.js +1885 -0
- package/dist/julia-BeebccKw.cjs +1 -0
- package/dist/julia-CU4CtsP4.js +414 -0
- package/dist/kotlin-B8NxXJ89.js +183 -0
- package/dist/kotlin-M82nl514.cjs +1 -0
- package/dist/less-B4Q3fV9Y.cjs +2 -0
- package/dist/less-DbeQQzer.js +242 -0
- package/dist/lexon-CXQaaecE.cjs +1 -0
- package/dist/lexon-Cw9JuAKc.js +185 -0
- package/dist/lib-C9j_E-l0.js +47 -0
- package/dist/lib-Chy_6VKj.cjs +1 -0
- package/dist/liquid-BYNEOJvX.cjs +1 -0
- package/dist/liquid-DvB-d2w7.js +205 -0
- package/dist/lodash-C_2NO1eK.cjs +35 -0
- package/dist/lodash-D-qGlPRW.js +3769 -0
- package/dist/lua-CnG8Tpu2.cjs +1 -0
- package/dist/lua-yl5NzA_S.js +200 -0
- package/dist/m3-CVcm-OIn.cjs +1 -0
- package/dist/m3-CdNAqvIX.js +193 -0
- package/dist/markdown-C1h-EuiT.js +262 -0
- package/dist/markdown-DrRHDVSU.cjs +1 -0
- package/dist/mdx-BbiOYPr2.cjs +1 -0
- package/dist/mdx-Fk8VTCUK.js +335 -0
- package/dist/mips-DIWpzGF0.js +128 -0
- package/dist/mips-D_p8UYQb.cjs +1 -0
- package/dist/monaco.contribution-BpuUCejv.cjs +1 -0
- package/dist/monaco.contribution-Cq4QrMn0.js +134 -0
- package/dist/msdax-BiazpDQ1.js +156 -0
- package/dist/msdax-xM1_j20x.cjs +1 -0
- package/dist/mysql-DMsJkSnA.cjs +1 -0
- package/dist/mysql-DphBFJlP.js +168 -0
- package/dist/objective-c-BG02Lrht.cjs +1 -0
- package/dist/objective-c-DWZ8Qpyc.js +144 -0
- package/dist/pascal-BcvlMOdu.js +176 -0
- package/dist/pascal-CnP2Fqes.cjs +1 -0
- package/dist/pascaligo-BzDEm-l_.cjs +1 -0
- package/dist/pascaligo-DHEp4kzh.js +201 -0
- package/dist/perl-USYKPHpO.js +316 -0
- package/dist/perl-nIxw-e4R.cjs +1 -0
- package/dist/pgsql-Buk6XzVf.cjs +1 -0
- package/dist/pgsql-DzPhAh9W.js +158 -0
- package/dist/php-B3sFYUqV.cjs +1 -0
- package/dist/php-PfpSTefE.js +471 -0
- package/dist/pla-CZtnfWl6.cjs +1 -0
- package/dist/pla-DrFOZwDB.js +146 -0
- package/dist/postiats-4OGxVVUT.js +504 -0
- package/dist/postiats-CgJZf83Q.cjs +1 -0
- package/dist/powerquery-D9gzk2Dq.cjs +1 -0
- package/dist/powerquery-_h9-HEnY.js +190 -0
- package/dist/powershell-CZHaQY6z.cjs +1 -0
- package/dist/powershell-nOzcY8gy.js +211 -0
- package/dist/protobuf-DAgxhnea.js +659 -0
- package/dist/protobuf-D_C8Guej.cjs +2 -0
- package/dist/public-1PveQco4.js +1756 -0
- package/dist/public-D1K7oN7t.cjs +3 -0
- package/dist/pug-quEtG4rz.cjs +1 -0
- package/dist/pug-raGZNmZ1.js +300 -0
- package/dist/python-C45c7K7W.js +260 -0
- package/dist/python-CQX8JcT4.cjs +1 -0
- package/dist/qsharp-C2jz5tuo.js +143 -0
- package/dist/qsharp-CX1SSV_j.cjs +1 -0
- package/dist/query_bar_top_row-3UclS1nm.cjs +1 -0
- package/dist/query_bar_top_row-CfV4Iu71.cjs +1 -0
- package/dist/query_bar_top_row-D6a48VTk.js +11 -0
- package/dist/query_bar_top_row-DonV1OzY.js +2930 -0
- package/dist/query_string_input-75waAcWy.js +9 -0
- package/dist/query_string_input-CHG9w1ze.cjs +1 -0
- package/dist/query_string_input-CyPZVKif.js +366 -0
- package/dist/query_string_input-SOULY6dl.cjs +1 -0
- package/dist/r-CXkPcYYf.js +189 -0
- package/dist/r-DpVDQTST.cjs +1 -0
- package/dist/razor-BnoJmj1k.js +525 -0
- package/dist/razor-DYx4yJJn.cjs +1 -0
- package/dist/redis-DsCuCZIT.cjs +1 -0
- package/dist/redis-giKZvbbg.js +123 -0
- package/dist/redshift-qKVxBsP_.js +158 -0
- package/dist/redshift-z5_aUfdC.cjs +1 -0
- package/dist/restructuredtext-D0n4pabr.js +287 -0
- package/dist/restructuredtext-DdXoKocW.cjs +1 -0
- package/dist/ruby-BNrBlpcw.js +527 -0
- package/dist/ruby-Dj0sNBey.cjs +1 -0
- package/dist/rust-D6mpPoli.js +178 -0
- package/dist/rust-DjkW1U4M.cjs +1 -0
- package/dist/sb-BCN0JcpS.cjs +1 -0
- package/dist/sb-DhS9GhXl.js +143 -0
- package/dist/scala-BqxBEpi8.js +551 -0
- package/dist/scala-CyXWhZaJ.cjs +1 -0
- package/dist/scheme-Bh4oGAk3.js +170 -0
- package/dist/scheme-Cs9G6QEE.cjs +1 -0
- package/dist/scss-Byf08jwC.js +417 -0
- package/dist/scss-Fl7taPuq.cjs +3 -0
- package/dist/search_bar-Caqi1NVo.js +1815 -0
- package/dist/search_bar-DyO_WsC5.cjs +1 -0
- package/dist/services-9wPHk1eh.js +2350 -0
- package/dist/services-BPC3fXx4.cjs +7 -0
- package/dist/shard_failure_open_modal_button-BYTThYch.js +199 -0
- package/dist/shard_failure_open_modal_button-Dx8ML4VE.cjs +2 -0
- package/dist/shell-Cw5yNfC4.cjs +1 -0
- package/dist/shell-UoRv_tpG.js +223 -0
- package/dist/solidity-B5t7Lkol.js +147 -0
- package/dist/solidity-BoAzg9X_.cjs +1 -0
- package/dist/sophia-BrXXWhvp.js +147 -0
- package/dist/sophia-L84Jz6Ow.cjs +1 -0
- package/dist/sparql-B8ZTY48u.js +124 -0
- package/dist/sparql-D6lnG7vO.cjs +1 -0
- package/dist/sql-D_74hUL-.js +171 -0
- package/dist/sql-VXdYzIyz.cjs +1 -0
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/ResultHeader/Info.d.ts +30 -0
- package/dist/src/components/ResultHeader/index.d.ts +13 -0
- package/dist/src/components/context.d.ts +82 -0
- package/dist/src/components/euiicons.d.ts +1 -0
- package/dist/src/components/index.d.ts +8 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/request.d.ts +1 -0
- package/dist/src/utils/utils.d.ts +1 -0
- package/dist/st-CxJLwAAK.cjs +1 -0
- package/dist/st-D8Rdx9Bz.js +476 -0
- package/dist/suggestions_component-BBHwbjYT.js +1243 -0
- package/dist/suggestions_component-CF4sehth.cjs +77 -0
- package/dist/swift-ZBC6wQdc.cjs +1 -0
- package/dist/swift-s19Ivx3X.js +213 -0
- package/dist/systemverilog-DoSgAb1I.cjs +1 -0
- package/dist/systemverilog-fA72PnKj.js +298 -0
- package/dist/tcl-B8QLbcxi.js +223 -0
- package/dist/tcl-IXmy-lJ0.cjs +1 -0
- package/dist/tsMode-BrPRpJvb.js +597 -0
- package/dist/tsMode-CNvH6xuC.cjs +11 -0
- package/dist/tsup.config.d.ts +2 -0
- package/dist/twig-CT2RXmm0.cjs +1 -0
- package/dist/twig-Dy7NkzKI.js +388 -0
- package/dist/typescript-BRKHcp4S.js +263 -0
- package/dist/typescript-Bbw9fxuo.cjs +1 -0
- package/dist/typescript-CQjO9XnF.js +3 -0
- package/dist/typescript-D6q4AO2z.cjs +1 -0
- package/dist/typespec-CkKpvaMv.cjs +1 -0
- package/dist/typespec-ndyv0mQx.js +234 -0
- package/dist/vb-DET0NIW-.js +260 -0
- package/dist/vb-R3Kcrzvd.cjs +1 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/wgsl-D5TeQchR.js +145 -0
- package/dist/wgsl-FTDBzylH.cjs +298 -0
- package/dist/xml-BZjE3dtf.js +136 -0
- package/dist/xml-CxbMIueA.cjs +1 -0
- package/dist/yaml-Di_6aXC4.js +229 -0
- package/dist/yaml-DvaGkWBl.cjs +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},n={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`.split(`.`),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`.split(`.`),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:`!.!=.!==.%.&.*.+.-././/.<.<<.<=.==.===.=>.>.>=.>>.>>>.\\.^.|.|>.~.÷.∈.∉.∋.∌.∘.√.∛.∩.∪.≈.≉.≠.≡.≢.≤.≥.⊆.⊇.⊈.⊉.⊊.⊋.⊻`.split(`.`),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=t,exports.language=n;
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
brackets: [
|
|
3
|
+
["{", "}"],
|
|
4
|
+
["[", "]"],
|
|
5
|
+
["(", ")"]
|
|
6
|
+
],
|
|
7
|
+
autoClosingPairs: [
|
|
8
|
+
{
|
|
9
|
+
open: "{",
|
|
10
|
+
close: "}"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
open: "[",
|
|
14
|
+
close: "]"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
open: "(",
|
|
18
|
+
close: ")"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
open: "\"",
|
|
22
|
+
close: "\""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
open: "'",
|
|
26
|
+
close: "'"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
surroundingPairs: [
|
|
30
|
+
{
|
|
31
|
+
open: "{",
|
|
32
|
+
close: "}"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
open: "[",
|
|
36
|
+
close: "]"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
open: "(",
|
|
40
|
+
close: ")"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
open: "\"",
|
|
44
|
+
close: "\""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
open: "'",
|
|
48
|
+
close: "'"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}, language = {
|
|
52
|
+
tokenPostfix: ".julia",
|
|
53
|
+
keywords: /* @__PURE__ */ "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".split("."),
|
|
54
|
+
types: /* @__PURE__ */ "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".split("."),
|
|
55
|
+
keywordops: [
|
|
56
|
+
"<:",
|
|
57
|
+
">:",
|
|
58
|
+
":",
|
|
59
|
+
"=>",
|
|
60
|
+
"...",
|
|
61
|
+
".",
|
|
62
|
+
"->",
|
|
63
|
+
"?"
|
|
64
|
+
],
|
|
65
|
+
allops: /[^\w\d\s()\[\]{}"'#]+/,
|
|
66
|
+
constants: [
|
|
67
|
+
"true",
|
|
68
|
+
"false",
|
|
69
|
+
"nothing",
|
|
70
|
+
"missing",
|
|
71
|
+
"undef",
|
|
72
|
+
"Inf",
|
|
73
|
+
"pi",
|
|
74
|
+
"NaN",
|
|
75
|
+
"π",
|
|
76
|
+
"ℯ",
|
|
77
|
+
"ans",
|
|
78
|
+
"PROGRAM_FILE",
|
|
79
|
+
"ARGS",
|
|
80
|
+
"C_NULL",
|
|
81
|
+
"VERSION",
|
|
82
|
+
"DEPOT_PATH",
|
|
83
|
+
"LOAD_PATH"
|
|
84
|
+
],
|
|
85
|
+
operators: /* @__PURE__ */ "!.!=.!==.%.&.*.+.-././/.<.<<.<=.==.===.=>.>.>=.>>.>>>.\\.^.|.|>.~.÷.∈.∉.∋.∌.∘.√.∛.∩.∪.≈.≉.≠.≡.≢.≤.≥.⊆.⊇.⊈.⊉.⊊.⊋.⊻".split("."),
|
|
86
|
+
brackets: [
|
|
87
|
+
{
|
|
88
|
+
open: "(",
|
|
89
|
+
close: ")",
|
|
90
|
+
token: "delimiter.parenthesis"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
open: "{",
|
|
94
|
+
close: "}",
|
|
95
|
+
token: "delimiter.curly"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
open: "[",
|
|
99
|
+
close: "]",
|
|
100
|
+
token: "delimiter.square"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
|
104
|
+
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
|
105
|
+
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
|
106
|
+
tokenizer: {
|
|
107
|
+
root: [
|
|
108
|
+
[
|
|
109
|
+
/(::)\s*|\b(isa)\s+/,
|
|
110
|
+
"keyword",
|
|
111
|
+
"@typeanno"
|
|
112
|
+
],
|
|
113
|
+
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", {
|
|
114
|
+
token: "",
|
|
115
|
+
next: "@typeanno"
|
|
116
|
+
}]],
|
|
117
|
+
[
|
|
118
|
+
/\b(type|struct)[ \t]+/,
|
|
119
|
+
"keyword",
|
|
120
|
+
"@typeanno"
|
|
121
|
+
],
|
|
122
|
+
[/^\s*:@ident[!?]?/, "metatag"],
|
|
123
|
+
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
|
124
|
+
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
|
125
|
+
[
|
|
126
|
+
/:\(/,
|
|
127
|
+
"metatag",
|
|
128
|
+
"@quote"
|
|
129
|
+
],
|
|
130
|
+
[
|
|
131
|
+
/r"""/,
|
|
132
|
+
"regexp.delim",
|
|
133
|
+
"@tregexp"
|
|
134
|
+
],
|
|
135
|
+
[
|
|
136
|
+
/r"/,
|
|
137
|
+
"regexp.delim",
|
|
138
|
+
"@sregexp"
|
|
139
|
+
],
|
|
140
|
+
[
|
|
141
|
+
/raw"""/,
|
|
142
|
+
"string.delim",
|
|
143
|
+
"@rtstring"
|
|
144
|
+
],
|
|
145
|
+
[
|
|
146
|
+
/[bv]?"""/,
|
|
147
|
+
"string.delim",
|
|
148
|
+
"@dtstring"
|
|
149
|
+
],
|
|
150
|
+
[
|
|
151
|
+
/raw"/,
|
|
152
|
+
"string.delim",
|
|
153
|
+
"@rsstring"
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
/[bv]?"/,
|
|
157
|
+
"string.delim",
|
|
158
|
+
"@dsstring"
|
|
159
|
+
],
|
|
160
|
+
[/(@ident)\{/, { cases: {
|
|
161
|
+
"$1@types": {
|
|
162
|
+
token: "type",
|
|
163
|
+
next: "@gen"
|
|
164
|
+
},
|
|
165
|
+
"@default": {
|
|
166
|
+
token: "type",
|
|
167
|
+
next: "@gen"
|
|
168
|
+
}
|
|
169
|
+
} }],
|
|
170
|
+
[/@ident[!?'']?(?=\.?\()/, { cases: {
|
|
171
|
+
"@types": "type",
|
|
172
|
+
"@keywords": "keyword",
|
|
173
|
+
"@constants": "variable",
|
|
174
|
+
"@default": "keyword.flow"
|
|
175
|
+
} }],
|
|
176
|
+
[/@ident[!?']?/, { cases: {
|
|
177
|
+
"@types": "type",
|
|
178
|
+
"@keywords": "keyword",
|
|
179
|
+
"@constants": "variable",
|
|
180
|
+
"@default": "identifier"
|
|
181
|
+
} }],
|
|
182
|
+
[/\$\w+/, "key"],
|
|
183
|
+
[
|
|
184
|
+
/\$\(/,
|
|
185
|
+
"key",
|
|
186
|
+
"@paste"
|
|
187
|
+
],
|
|
188
|
+
[/@@@ident/, "annotation"],
|
|
189
|
+
{ include: "@whitespace" },
|
|
190
|
+
[/'(?:@escapes|.)'/, "string.character"],
|
|
191
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
192
|
+
[/@allops/, { cases: {
|
|
193
|
+
"@keywordops": "keyword",
|
|
194
|
+
"@operators": "operator"
|
|
195
|
+
} }],
|
|
196
|
+
[/[;,]/, "delimiter"],
|
|
197
|
+
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
|
198
|
+
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
|
199
|
+
[/0[bB][01](_?[01])*/, "number.binary"],
|
|
200
|
+
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
|
201
|
+
],
|
|
202
|
+
typeanno: [
|
|
203
|
+
[
|
|
204
|
+
/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,
|
|
205
|
+
"type",
|
|
206
|
+
"@gen"
|
|
207
|
+
],
|
|
208
|
+
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
|
209
|
+
[
|
|
210
|
+
/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,
|
|
211
|
+
"type",
|
|
212
|
+
"@pop"
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
"",
|
|
216
|
+
"",
|
|
217
|
+
"@pop"
|
|
218
|
+
]
|
|
219
|
+
],
|
|
220
|
+
gen: [
|
|
221
|
+
[
|
|
222
|
+
/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,
|
|
223
|
+
"type",
|
|
224
|
+
"@push"
|
|
225
|
+
],
|
|
226
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
|
227
|
+
[/<:/, "keyword"],
|
|
228
|
+
[/(\})(\s*<:\s*)/, ["type", {
|
|
229
|
+
token: "keyword",
|
|
230
|
+
next: "@pop"
|
|
231
|
+
}]],
|
|
232
|
+
[
|
|
233
|
+
/\}/,
|
|
234
|
+
"type",
|
|
235
|
+
"@pop"
|
|
236
|
+
],
|
|
237
|
+
{ include: "@root" }
|
|
238
|
+
],
|
|
239
|
+
quote: [
|
|
240
|
+
[
|
|
241
|
+
/\$\(/,
|
|
242
|
+
"key",
|
|
243
|
+
"@paste"
|
|
244
|
+
],
|
|
245
|
+
[
|
|
246
|
+
/\(/,
|
|
247
|
+
"@brackets",
|
|
248
|
+
"@paren"
|
|
249
|
+
],
|
|
250
|
+
[
|
|
251
|
+
/\)/,
|
|
252
|
+
"metatag",
|
|
253
|
+
"@pop"
|
|
254
|
+
],
|
|
255
|
+
{ include: "@root" }
|
|
256
|
+
],
|
|
257
|
+
paste: [
|
|
258
|
+
[
|
|
259
|
+
/:\(/,
|
|
260
|
+
"metatag",
|
|
261
|
+
"@quote"
|
|
262
|
+
],
|
|
263
|
+
[
|
|
264
|
+
/\(/,
|
|
265
|
+
"@brackets",
|
|
266
|
+
"@paren"
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
/\)/,
|
|
270
|
+
"key",
|
|
271
|
+
"@pop"
|
|
272
|
+
],
|
|
273
|
+
{ include: "@root" }
|
|
274
|
+
],
|
|
275
|
+
paren: [
|
|
276
|
+
[
|
|
277
|
+
/\$\(/,
|
|
278
|
+
"key",
|
|
279
|
+
"@paste"
|
|
280
|
+
],
|
|
281
|
+
[
|
|
282
|
+
/:\(/,
|
|
283
|
+
"metatag",
|
|
284
|
+
"@quote"
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
/\(/,
|
|
288
|
+
"@brackets",
|
|
289
|
+
"@push"
|
|
290
|
+
],
|
|
291
|
+
[
|
|
292
|
+
/\)/,
|
|
293
|
+
"@brackets",
|
|
294
|
+
"@pop"
|
|
295
|
+
],
|
|
296
|
+
{ include: "@root" }
|
|
297
|
+
],
|
|
298
|
+
sregexp: [
|
|
299
|
+
[/^.*/, "invalid"],
|
|
300
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
|
301
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
302
|
+
[/\\./, "operator.scss"],
|
|
303
|
+
[
|
|
304
|
+
/"[imsx]*/,
|
|
305
|
+
"regexp.delim",
|
|
306
|
+
"@pop"
|
|
307
|
+
]
|
|
308
|
+
],
|
|
309
|
+
tregexp: [
|
|
310
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
|
311
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
312
|
+
[/\\./, "operator.scss"],
|
|
313
|
+
[/"(?!"")/, "string"],
|
|
314
|
+
[
|
|
315
|
+
/"""[imsx]*/,
|
|
316
|
+
"regexp.delim",
|
|
317
|
+
"@pop"
|
|
318
|
+
]
|
|
319
|
+
],
|
|
320
|
+
rsstring: [
|
|
321
|
+
[/^.*/, "invalid"],
|
|
322
|
+
[/[^\\"]/, "string"],
|
|
323
|
+
[/\\./, "string.escape"],
|
|
324
|
+
[
|
|
325
|
+
/"/,
|
|
326
|
+
"string.delim",
|
|
327
|
+
"@pop"
|
|
328
|
+
]
|
|
329
|
+
],
|
|
330
|
+
rtstring: [
|
|
331
|
+
[/[^\\"]/, "string"],
|
|
332
|
+
[/\\./, "string.escape"],
|
|
333
|
+
[/"(?!"")/, "string"],
|
|
334
|
+
[
|
|
335
|
+
/"""/,
|
|
336
|
+
"string.delim",
|
|
337
|
+
"@pop"
|
|
338
|
+
]
|
|
339
|
+
],
|
|
340
|
+
dsstring: [
|
|
341
|
+
[/^.*/, "invalid"],
|
|
342
|
+
[/[^\\"\$]/, "string"],
|
|
343
|
+
[
|
|
344
|
+
/\$/,
|
|
345
|
+
"",
|
|
346
|
+
"@interpolated"
|
|
347
|
+
],
|
|
348
|
+
[/@escapes/, "string.escape"],
|
|
349
|
+
[/\\./, "string.escape.invalid"],
|
|
350
|
+
[
|
|
351
|
+
/"/,
|
|
352
|
+
"string.delim",
|
|
353
|
+
"@pop"
|
|
354
|
+
]
|
|
355
|
+
],
|
|
356
|
+
dtstring: [
|
|
357
|
+
[/[^\\"\$]/, "string"],
|
|
358
|
+
[
|
|
359
|
+
/\$/,
|
|
360
|
+
"",
|
|
361
|
+
"@interpolated"
|
|
362
|
+
],
|
|
363
|
+
[/@escapes/, "string.escape"],
|
|
364
|
+
[/\\./, "string.escape.invalid"],
|
|
365
|
+
[/"(?!"")/, "string"],
|
|
366
|
+
[
|
|
367
|
+
/"""/,
|
|
368
|
+
"string.delim",
|
|
369
|
+
"@pop"
|
|
370
|
+
]
|
|
371
|
+
],
|
|
372
|
+
interpolated: [
|
|
373
|
+
[/\(/, {
|
|
374
|
+
token: "",
|
|
375
|
+
switchTo: "@interpolated_compound"
|
|
376
|
+
}],
|
|
377
|
+
[/[a-zA-Z_]\w*/, "identifier"],
|
|
378
|
+
[
|
|
379
|
+
"",
|
|
380
|
+
"",
|
|
381
|
+
"@pop"
|
|
382
|
+
]
|
|
383
|
+
],
|
|
384
|
+
interpolated_compound: [[
|
|
385
|
+
/\)/,
|
|
386
|
+
"",
|
|
387
|
+
"@pop"
|
|
388
|
+
], { include: "@root" }],
|
|
389
|
+
whitespace: [
|
|
390
|
+
[/[ \t\r\n]+/, ""],
|
|
391
|
+
[
|
|
392
|
+
/#=/,
|
|
393
|
+
"comment",
|
|
394
|
+
"@multi_comment"
|
|
395
|
+
],
|
|
396
|
+
[/#.*$/, "comment"]
|
|
397
|
+
],
|
|
398
|
+
multi_comment: [
|
|
399
|
+
[
|
|
400
|
+
/#=/,
|
|
401
|
+
"comment",
|
|
402
|
+
"@push"
|
|
403
|
+
],
|
|
404
|
+
[
|
|
405
|
+
/=#/,
|
|
406
|
+
"comment",
|
|
407
|
+
"@pop"
|
|
408
|
+
],
|
|
409
|
+
[/=(?!#)|#(?!=)/, "comment"],
|
|
410
|
+
[/[^#=]+/, "comment"]
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
export { conf, language };
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
3
|
+
comments: {
|
|
4
|
+
lineComment: "//",
|
|
5
|
+
blockComment: ["/*", "*/"]
|
|
6
|
+
},
|
|
7
|
+
brackets: [
|
|
8
|
+
["{", "}"],
|
|
9
|
+
["[", "]"],
|
|
10
|
+
["(", ")"]
|
|
11
|
+
],
|
|
12
|
+
autoClosingPairs: [
|
|
13
|
+
{
|
|
14
|
+
open: "{",
|
|
15
|
+
close: "}"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
open: "[",
|
|
19
|
+
close: "]"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
open: "(",
|
|
23
|
+
close: ")"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
open: "\"",
|
|
27
|
+
close: "\""
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
open: "'",
|
|
31
|
+
close: "'"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
surroundingPairs: [
|
|
35
|
+
{
|
|
36
|
+
open: "{",
|
|
37
|
+
close: "}"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
open: "[",
|
|
41
|
+
close: "]"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
open: "(",
|
|
45
|
+
close: ")"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
open: "\"",
|
|
49
|
+
close: "\""
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
open: "'",
|
|
53
|
+
close: "'"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
open: "<",
|
|
57
|
+
close: ">"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
folding: { markers: {
|
|
61
|
+
start: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
62
|
+
end: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
63
|
+
} }
|
|
64
|
+
}, language = {
|
|
65
|
+
defaultToken: "",
|
|
66
|
+
tokenPostfix: ".kt",
|
|
67
|
+
keywords: /* @__PURE__ */ "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".split("."),
|
|
68
|
+
operators: /* @__PURE__ */ "+,-,*,/,%,=,+=,-=,*=,/=,%=,++,--,&&,||,!,==,!=,===,!==,>,<,<=,>=,[,],!!,?.,?:,::,..,:,?,->,@,;,$,_".split(","),
|
|
69
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
70
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
71
|
+
digits: /\d+(_+\d+)*/,
|
|
72
|
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
|
73
|
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
|
74
|
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
75
|
+
tokenizer: {
|
|
76
|
+
root: [
|
|
77
|
+
[/[A-Z][\w\$]*/, "type.identifier"],
|
|
78
|
+
[/[a-zA-Z_$][\w$]*/, { cases: {
|
|
79
|
+
"@keywords": { token: "keyword.$0" },
|
|
80
|
+
"@default": "identifier"
|
|
81
|
+
} }],
|
|
82
|
+
{ include: "@whitespace" },
|
|
83
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
84
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
85
|
+
[/@symbols/, { cases: {
|
|
86
|
+
"@operators": "delimiter",
|
|
87
|
+
"@default": ""
|
|
88
|
+
} }],
|
|
89
|
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
|
90
|
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
91
|
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
92
|
+
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
|
93
|
+
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
|
94
|
+
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
|
95
|
+
[/(@digits)[fFdD]/, "number.float"],
|
|
96
|
+
[/(@digits)[lL]?/, "number"],
|
|
97
|
+
[/[;,.]/, "delimiter"],
|
|
98
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
99
|
+
[
|
|
100
|
+
/"""/,
|
|
101
|
+
"string",
|
|
102
|
+
"@multistring"
|
|
103
|
+
],
|
|
104
|
+
[
|
|
105
|
+
/"/,
|
|
106
|
+
"string",
|
|
107
|
+
"@string"
|
|
108
|
+
],
|
|
109
|
+
[/'[^\\']'/, "string"],
|
|
110
|
+
[/(')(@escapes)(')/, [
|
|
111
|
+
"string",
|
|
112
|
+
"string.escape",
|
|
113
|
+
"string"
|
|
114
|
+
]],
|
|
115
|
+
[/'/, "string.invalid"]
|
|
116
|
+
],
|
|
117
|
+
whitespace: [
|
|
118
|
+
[/[ \t\r\n]+/, ""],
|
|
119
|
+
[
|
|
120
|
+
/\/\*\*(?!\/)/,
|
|
121
|
+
"comment.doc",
|
|
122
|
+
"@javadoc"
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
/\/\*/,
|
|
126
|
+
"comment",
|
|
127
|
+
"@comment"
|
|
128
|
+
],
|
|
129
|
+
[/\/\/.*$/, "comment"]
|
|
130
|
+
],
|
|
131
|
+
comment: [
|
|
132
|
+
[/[^\/*]+/, "comment"],
|
|
133
|
+
[
|
|
134
|
+
/\/\*/,
|
|
135
|
+
"comment",
|
|
136
|
+
"@comment"
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
/\*\//,
|
|
140
|
+
"comment",
|
|
141
|
+
"@pop"
|
|
142
|
+
],
|
|
143
|
+
[/[\/*]/, "comment"]
|
|
144
|
+
],
|
|
145
|
+
javadoc: [
|
|
146
|
+
[/[^\/*]+/, "comment.doc"],
|
|
147
|
+
[
|
|
148
|
+
/\/\*/,
|
|
149
|
+
"comment.doc",
|
|
150
|
+
"@push"
|
|
151
|
+
],
|
|
152
|
+
[/\/\*/, "comment.doc.invalid"],
|
|
153
|
+
[
|
|
154
|
+
/\*\//,
|
|
155
|
+
"comment.doc",
|
|
156
|
+
"@pop"
|
|
157
|
+
],
|
|
158
|
+
[/[\/*]/, "comment.doc"]
|
|
159
|
+
],
|
|
160
|
+
string: [
|
|
161
|
+
[/[^\\"]+/, "string"],
|
|
162
|
+
[/@escapes/, "string.escape"],
|
|
163
|
+
[/\\./, "string.escape.invalid"],
|
|
164
|
+
[
|
|
165
|
+
/"/,
|
|
166
|
+
"string",
|
|
167
|
+
"@pop"
|
|
168
|
+
]
|
|
169
|
+
],
|
|
170
|
+
multistring: [
|
|
171
|
+
[/[^\\"]+/, "string"],
|
|
172
|
+
[/@escapes/, "string.escape"],
|
|
173
|
+
[/\\./, "string.escape.invalid"],
|
|
174
|
+
[
|
|
175
|
+
/"""/,
|
|
176
|
+
"string",
|
|
177
|
+
"@pop"
|
|
178
|
+
],
|
|
179
|
+
[/./, "string"]
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={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:RegExp(`^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))`),end:RegExp(`^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))`)}}},n={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`.split(`.`),operators:`+,-,*,/,%,=,+=,-=,*=,/=,%=,++,--,&&,||,!,==,!=,===,!==,>,<,<=,>=,[,],!!,?.,?:,::,..,:,?,->,@,;,$,_`.split(`,`),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=t,exports.language=n;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:[`/*`,`*/`],lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/`),end:RegExp(`^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/`)}}},n={defaultToken:``,tokenPostfix:`.less`,identifier:`-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*`,identifierPlus:`-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{root:[{include:`@nestedJSBegin`},[`[ \\t\\r\\n]+`,``],{include:`@comments`},{include:`@keyword`},{include:`@strings`},{include:`@numbers`},[`[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))`,`attribute.name`,`@attribute`],[`url(\\-prefix)?\\(`,{token:`tag`,next:`@urldeclaration`}],[`[{}()\\[\\]]`,`@brackets`],[`[,:;]`,`delimiter`],[`#@identifierPlus`,`tag.id`],[`&`,`tag`],[`\\.@identifierPlus(?=\\()`,`tag.class`,`@attribute`],[`\\.@identifierPlus`,`tag.class`],[`@identifierPlus`,`tag`],{include:`@operators`},[`@(@identifier(?=[:,\\)]))`,`variable`,`@attribute`],[`@(@identifier)`,`variable`],[`@`,`key`,`@atRules`]],nestedJSBegin:[["``",`delimiter.backtick`],["`",{token:`delimiter.backtick`,next:`@nestedJSEnd`,nextEmbedded:`text/javascript`}]],nestedJSEnd:[["`",{token:`delimiter.backtick`,next:`@pop`,nextEmbedded:`@pop`}]],operators:[[`[<>=\\+\\-\\*\\/\\^\\|\\~]`,`operator`]],keyword:[[`(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b`,`keyword`]],urldeclaration:[{include:`@strings`},[`[^)\r
|
|
2
|
+
]+`,`string`],[`\\)`,{token:`tag`,next:`@pop`}]],attribute:[{include:`@nestedJSBegin`},{include:`@comments`},{include:`@strings`},{include:`@numbers`},{include:`@keyword`},[`[a-zA-Z\\-]+(?=\\()`,`attribute.value`,`@attribute`],[`>`,`operator`,`@pop`],[`@identifier`,`attribute.value`],{include:`@operators`},[`@(@identifier)`,`variable`],[`[)\\}]`,`@brackets`,`@pop`],[`[{}()\\[\\]>]`,`@brackets`],[`[;]`,`delimiter`,`@pop`],[`[,=:]`,`delimiter`],[`\\s`,``],[`.`,`attribute.value`]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],numbers:[[`(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?`,{token:`attribute.value.number`,next:`@units`}],[`#[0-9a-fA-F_]+(?!\\w)`,`attribute.value.hex`]],units:[[`(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?`,`attribute.value.unit`,`@pop`]],strings:[[`~?"`,{token:`string.delimiter`,next:`@stringsEndDoubleQuote`}],[`~?'`,{token:`string.delimiter`,next:`@stringsEndQuote`}]],stringsEndDoubleQuote:[[`\\\\"`,`string`],[`"`,{token:`string.delimiter`,next:`@popall`}],[`.`,`string`]],stringsEndQuote:[[`\\\\'`,`string`],[`'`,{token:`string.delimiter`,next:`@popall`}],[`.`,`string`]],atRules:[{include:`@comments`},{include:`@strings`},[`[()]`,`delimiter`],[`[\\{;]`,`delimiter`,`@pop`],[`.`,`key`]]}};exports.conf=t,exports.language=n;
|