@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,551 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
wordPattern: /(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/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
|
+
folding: { markers: {
|
|
57
|
+
start: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
58
|
+
end: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
59
|
+
} }
|
|
60
|
+
}, language = {
|
|
61
|
+
tokenPostfix: ".scala",
|
|
62
|
+
keywords: /* @__PURE__ */ "asInstanceOf.catch.class.classOf.def.do.else.extends.finally.for.foreach.forSome.if.import.isInstanceOf.macro.match.new.object.package.return.throw.trait.try.type.until.val.var.while.with.yield.given.enum.then".split("."),
|
|
63
|
+
softKeywords: [
|
|
64
|
+
"as",
|
|
65
|
+
"export",
|
|
66
|
+
"extension",
|
|
67
|
+
"end",
|
|
68
|
+
"derives",
|
|
69
|
+
"on"
|
|
70
|
+
],
|
|
71
|
+
constants: [
|
|
72
|
+
"true",
|
|
73
|
+
"false",
|
|
74
|
+
"null",
|
|
75
|
+
"this",
|
|
76
|
+
"super"
|
|
77
|
+
],
|
|
78
|
+
modifiers: [
|
|
79
|
+
"abstract",
|
|
80
|
+
"final",
|
|
81
|
+
"implicit",
|
|
82
|
+
"lazy",
|
|
83
|
+
"override",
|
|
84
|
+
"private",
|
|
85
|
+
"protected",
|
|
86
|
+
"sealed"
|
|
87
|
+
],
|
|
88
|
+
softModifiers: [
|
|
89
|
+
"inline",
|
|
90
|
+
"opaque",
|
|
91
|
+
"open",
|
|
92
|
+
"transparent",
|
|
93
|
+
"using"
|
|
94
|
+
],
|
|
95
|
+
name: /(?:[a-z_$][\w$]*|`[^`]+`)/,
|
|
96
|
+
type: /(?:[A-Z][\w$]*)/,
|
|
97
|
+
symbols: /[=><!~?:&|+\-*\/^\\%@#]+/,
|
|
98
|
+
digits: /\d+(_+\d+)*/,
|
|
99
|
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
100
|
+
escapes: /\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
101
|
+
fstring_conv: /[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,
|
|
102
|
+
tokenizer: {
|
|
103
|
+
root: [
|
|
104
|
+
[/\braw"""/, {
|
|
105
|
+
token: "string.quote",
|
|
106
|
+
bracket: "@open",
|
|
107
|
+
next: "@rawstringt"
|
|
108
|
+
}],
|
|
109
|
+
[/\braw"/, {
|
|
110
|
+
token: "string.quote",
|
|
111
|
+
bracket: "@open",
|
|
112
|
+
next: "@rawstring"
|
|
113
|
+
}],
|
|
114
|
+
[/\bs"""/, {
|
|
115
|
+
token: "string.quote",
|
|
116
|
+
bracket: "@open",
|
|
117
|
+
next: "@sstringt"
|
|
118
|
+
}],
|
|
119
|
+
[/\bs"/, {
|
|
120
|
+
token: "string.quote",
|
|
121
|
+
bracket: "@open",
|
|
122
|
+
next: "@sstring"
|
|
123
|
+
}],
|
|
124
|
+
[/\bf""""/, {
|
|
125
|
+
token: "string.quote",
|
|
126
|
+
bracket: "@open",
|
|
127
|
+
next: "@fstringt"
|
|
128
|
+
}],
|
|
129
|
+
[/\bf"/, {
|
|
130
|
+
token: "string.quote",
|
|
131
|
+
bracket: "@open",
|
|
132
|
+
next: "@fstring"
|
|
133
|
+
}],
|
|
134
|
+
[/"""/, {
|
|
135
|
+
token: "string.quote",
|
|
136
|
+
bracket: "@open",
|
|
137
|
+
next: "@stringt"
|
|
138
|
+
}],
|
|
139
|
+
[/"/, {
|
|
140
|
+
token: "string.quote",
|
|
141
|
+
bracket: "@open",
|
|
142
|
+
next: "@string"
|
|
143
|
+
}],
|
|
144
|
+
[
|
|
145
|
+
/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,
|
|
146
|
+
"number.float",
|
|
147
|
+
"@allowMethod"
|
|
148
|
+
],
|
|
149
|
+
[
|
|
150
|
+
/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,
|
|
151
|
+
"number.float",
|
|
152
|
+
"@allowMethod"
|
|
153
|
+
],
|
|
154
|
+
[
|
|
155
|
+
/0[xX](@hexdigits)[Ll]?/,
|
|
156
|
+
"number.hex",
|
|
157
|
+
"@allowMethod"
|
|
158
|
+
],
|
|
159
|
+
[
|
|
160
|
+
/(@digits)[fFdD]/,
|
|
161
|
+
"number.float",
|
|
162
|
+
"@allowMethod"
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
/(@digits)[lL]?/,
|
|
166
|
+
"number",
|
|
167
|
+
"@allowMethod"
|
|
168
|
+
],
|
|
169
|
+
[/\b_\*/, "key"],
|
|
170
|
+
[
|
|
171
|
+
/\b(_)\b/,
|
|
172
|
+
"keyword",
|
|
173
|
+
"@allowMethod"
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
/\bimport\b/,
|
|
177
|
+
"keyword",
|
|
178
|
+
"@import"
|
|
179
|
+
],
|
|
180
|
+
[/\b(case)([ \t]+)(class)\b/, [
|
|
181
|
+
"keyword.modifier",
|
|
182
|
+
"white",
|
|
183
|
+
"keyword"
|
|
184
|
+
]],
|
|
185
|
+
[
|
|
186
|
+
/\bcase\b/,
|
|
187
|
+
"keyword",
|
|
188
|
+
"@case"
|
|
189
|
+
],
|
|
190
|
+
[
|
|
191
|
+
/\bva[lr]\b/,
|
|
192
|
+
"keyword",
|
|
193
|
+
"@vardef"
|
|
194
|
+
],
|
|
195
|
+
[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/, [
|
|
196
|
+
"keyword",
|
|
197
|
+
"white",
|
|
198
|
+
"identifier"
|
|
199
|
+
]],
|
|
200
|
+
[/@name(?=[ \t]*:(?!:))/, "variable"],
|
|
201
|
+
[/(\.)(@name|@symbols)/, ["operator", {
|
|
202
|
+
token: "@rematch",
|
|
203
|
+
next: "@allowMethod"
|
|
204
|
+
}]],
|
|
205
|
+
[/([{(])(\s*)(@name(?=\s*=>))/, [
|
|
206
|
+
"@brackets",
|
|
207
|
+
"white",
|
|
208
|
+
"variable"
|
|
209
|
+
]],
|
|
210
|
+
[/@name/, { cases: {
|
|
211
|
+
"@keywords": "keyword",
|
|
212
|
+
"@softKeywords": "keyword",
|
|
213
|
+
"@modifiers": "keyword.modifier",
|
|
214
|
+
"@softModifiers": "keyword.modifier",
|
|
215
|
+
"@constants": {
|
|
216
|
+
token: "constant",
|
|
217
|
+
next: "@allowMethod"
|
|
218
|
+
},
|
|
219
|
+
"@default": {
|
|
220
|
+
token: "identifier",
|
|
221
|
+
next: "@allowMethod"
|
|
222
|
+
}
|
|
223
|
+
} }],
|
|
224
|
+
[
|
|
225
|
+
/@type/,
|
|
226
|
+
"type",
|
|
227
|
+
"@allowMethod"
|
|
228
|
+
],
|
|
229
|
+
{ include: "@whitespace" },
|
|
230
|
+
[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/, "annotation"],
|
|
231
|
+
[/[{(]/, "@brackets"],
|
|
232
|
+
[
|
|
233
|
+
/[})]/,
|
|
234
|
+
"@brackets",
|
|
235
|
+
"@allowMethod"
|
|
236
|
+
],
|
|
237
|
+
[/\[/, "operator.square"],
|
|
238
|
+
[
|
|
239
|
+
/](?!\s*(?:va[rl]|def|type)\b)/,
|
|
240
|
+
"operator.square",
|
|
241
|
+
"@allowMethod"
|
|
242
|
+
],
|
|
243
|
+
[/]/, "operator.square"],
|
|
244
|
+
[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/, "keyword"],
|
|
245
|
+
[/@symbols/, "operator"],
|
|
246
|
+
[/[;,\.]/, "delimiter"],
|
|
247
|
+
[/'[a-zA-Z$][\w$]*(?!')/, "attribute.name"],
|
|
248
|
+
[
|
|
249
|
+
/'[^\\']'/,
|
|
250
|
+
"string",
|
|
251
|
+
"@allowMethod"
|
|
252
|
+
],
|
|
253
|
+
[/(')(@escapes)(')/, [
|
|
254
|
+
"string",
|
|
255
|
+
"string.escape",
|
|
256
|
+
{
|
|
257
|
+
token: "string",
|
|
258
|
+
next: "@allowMethod"
|
|
259
|
+
}
|
|
260
|
+
]],
|
|
261
|
+
[/'/, "string.invalid"]
|
|
262
|
+
],
|
|
263
|
+
import: [
|
|
264
|
+
[
|
|
265
|
+
/;/,
|
|
266
|
+
"delimiter",
|
|
267
|
+
"@pop"
|
|
268
|
+
],
|
|
269
|
+
[
|
|
270
|
+
/^|$/,
|
|
271
|
+
"",
|
|
272
|
+
"@pop"
|
|
273
|
+
],
|
|
274
|
+
[/[ \t]+/, "white"],
|
|
275
|
+
[
|
|
276
|
+
/[\n\r]+/,
|
|
277
|
+
"white",
|
|
278
|
+
"@pop"
|
|
279
|
+
],
|
|
280
|
+
[
|
|
281
|
+
/\/\*/,
|
|
282
|
+
"comment",
|
|
283
|
+
"@comment"
|
|
284
|
+
],
|
|
285
|
+
[/@name|@type/, "type"],
|
|
286
|
+
[/[(){}]/, "@brackets"],
|
|
287
|
+
[/[[\]]/, "operator.square"],
|
|
288
|
+
[/[\.,]/, "delimiter"]
|
|
289
|
+
],
|
|
290
|
+
allowMethod: [
|
|
291
|
+
[
|
|
292
|
+
/^|$/,
|
|
293
|
+
"",
|
|
294
|
+
"@pop"
|
|
295
|
+
],
|
|
296
|
+
[/[ \t]+/, "white"],
|
|
297
|
+
[
|
|
298
|
+
/[\n\r]+/,
|
|
299
|
+
"white",
|
|
300
|
+
"@pop"
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
/\/\*/,
|
|
304
|
+
"comment",
|
|
305
|
+
"@comment"
|
|
306
|
+
],
|
|
307
|
+
[
|
|
308
|
+
/(?==>[\s\w([{])/,
|
|
309
|
+
"keyword",
|
|
310
|
+
"@pop"
|
|
311
|
+
],
|
|
312
|
+
[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/, { cases: {
|
|
313
|
+
"@keywords": {
|
|
314
|
+
token: "keyword",
|
|
315
|
+
next: "@pop"
|
|
316
|
+
},
|
|
317
|
+
"->|<-|>:|<:|<%": {
|
|
318
|
+
token: "keyword",
|
|
319
|
+
next: "@pop"
|
|
320
|
+
},
|
|
321
|
+
"@default": {
|
|
322
|
+
token: "@rematch",
|
|
323
|
+
next: "@pop"
|
|
324
|
+
}
|
|
325
|
+
} }],
|
|
326
|
+
[
|
|
327
|
+
"",
|
|
328
|
+
"",
|
|
329
|
+
"@pop"
|
|
330
|
+
]
|
|
331
|
+
],
|
|
332
|
+
comment: [
|
|
333
|
+
[/[^\/*]+/, "comment"],
|
|
334
|
+
[
|
|
335
|
+
/\/\*/,
|
|
336
|
+
"comment",
|
|
337
|
+
"@push"
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
/\*\//,
|
|
341
|
+
"comment",
|
|
342
|
+
"@pop"
|
|
343
|
+
],
|
|
344
|
+
[/[\/*]/, "comment"]
|
|
345
|
+
],
|
|
346
|
+
case: [
|
|
347
|
+
[/\b_\*/, "key"],
|
|
348
|
+
[
|
|
349
|
+
/\b(_|true|false|null|this|super)\b/,
|
|
350
|
+
"keyword",
|
|
351
|
+
"@allowMethod"
|
|
352
|
+
],
|
|
353
|
+
[
|
|
354
|
+
/\bif\b|=>/,
|
|
355
|
+
"keyword",
|
|
356
|
+
"@pop"
|
|
357
|
+
],
|
|
358
|
+
[
|
|
359
|
+
/`[^`]+`/,
|
|
360
|
+
"identifier",
|
|
361
|
+
"@allowMethod"
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
/@name/,
|
|
365
|
+
"variable",
|
|
366
|
+
"@allowMethod"
|
|
367
|
+
],
|
|
368
|
+
[/:::?|\||@(?![a-z_$])/, "keyword"],
|
|
369
|
+
{ include: "@root" }
|
|
370
|
+
],
|
|
371
|
+
vardef: [
|
|
372
|
+
[/\b_\*/, "key"],
|
|
373
|
+
[/\b(_|true|false|null|this|super)\b/, "keyword"],
|
|
374
|
+
[/@name/, "variable"],
|
|
375
|
+
[/:::?|\||@(?![a-z_$])/, "keyword"],
|
|
376
|
+
[
|
|
377
|
+
/=|:(?!:)/,
|
|
378
|
+
"operator",
|
|
379
|
+
"@pop"
|
|
380
|
+
],
|
|
381
|
+
[
|
|
382
|
+
/$/,
|
|
383
|
+
"white",
|
|
384
|
+
"@pop"
|
|
385
|
+
],
|
|
386
|
+
{ include: "@root" }
|
|
387
|
+
],
|
|
388
|
+
string: [
|
|
389
|
+
[/[^\\"\n\r]+/, "string"],
|
|
390
|
+
[/@escapes/, "string.escape"],
|
|
391
|
+
[/\\./, "string.escape.invalid"],
|
|
392
|
+
[/"/, {
|
|
393
|
+
token: "string.quote",
|
|
394
|
+
bracket: "@close",
|
|
395
|
+
switchTo: "@allowMethod"
|
|
396
|
+
}]
|
|
397
|
+
],
|
|
398
|
+
stringt: [
|
|
399
|
+
[/[^\\"\n\r]+/, "string"],
|
|
400
|
+
[/@escapes/, "string.escape"],
|
|
401
|
+
[/\\./, "string.escape.invalid"],
|
|
402
|
+
[/"(?=""")/, "string"],
|
|
403
|
+
[/"""/, {
|
|
404
|
+
token: "string.quote",
|
|
405
|
+
bracket: "@close",
|
|
406
|
+
switchTo: "@allowMethod"
|
|
407
|
+
}],
|
|
408
|
+
[/"/, "string"]
|
|
409
|
+
],
|
|
410
|
+
fstring: [
|
|
411
|
+
[/@escapes/, "string.escape"],
|
|
412
|
+
[/"/, {
|
|
413
|
+
token: "string.quote",
|
|
414
|
+
bracket: "@close",
|
|
415
|
+
switchTo: "@allowMethod"
|
|
416
|
+
}],
|
|
417
|
+
[/\$\$/, "string"],
|
|
418
|
+
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
419
|
+
[
|
|
420
|
+
/\$\{/,
|
|
421
|
+
"operator",
|
|
422
|
+
"@interp"
|
|
423
|
+
],
|
|
424
|
+
[/%%/, "string"],
|
|
425
|
+
[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, [
|
|
426
|
+
"metatag",
|
|
427
|
+
"keyword.modifier",
|
|
428
|
+
"number",
|
|
429
|
+
"metatag"
|
|
430
|
+
]],
|
|
431
|
+
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, [
|
|
432
|
+
"metatag",
|
|
433
|
+
"number",
|
|
434
|
+
"metatag"
|
|
435
|
+
]],
|
|
436
|
+
[/(%)([\-#+ 0,(])(@fstring_conv)/, [
|
|
437
|
+
"metatag",
|
|
438
|
+
"keyword.modifier",
|
|
439
|
+
"metatag"
|
|
440
|
+
]],
|
|
441
|
+
[/(%)(@fstring_conv)/, ["metatag", "metatag"]],
|
|
442
|
+
[/./, "string"]
|
|
443
|
+
],
|
|
444
|
+
fstringt: [
|
|
445
|
+
[/@escapes/, "string.escape"],
|
|
446
|
+
[/"(?=""")/, "string"],
|
|
447
|
+
[/"""/, {
|
|
448
|
+
token: "string.quote",
|
|
449
|
+
bracket: "@close",
|
|
450
|
+
switchTo: "@allowMethod"
|
|
451
|
+
}],
|
|
452
|
+
[/\$\$/, "string"],
|
|
453
|
+
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
454
|
+
[
|
|
455
|
+
/\$\{/,
|
|
456
|
+
"operator",
|
|
457
|
+
"@interp"
|
|
458
|
+
],
|
|
459
|
+
[/%%/, "string"],
|
|
460
|
+
[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, [
|
|
461
|
+
"metatag",
|
|
462
|
+
"keyword.modifier",
|
|
463
|
+
"number",
|
|
464
|
+
"metatag"
|
|
465
|
+
]],
|
|
466
|
+
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, [
|
|
467
|
+
"metatag",
|
|
468
|
+
"number",
|
|
469
|
+
"metatag"
|
|
470
|
+
]],
|
|
471
|
+
[/(%)([\-#+ 0,(])(@fstring_conv)/, [
|
|
472
|
+
"metatag",
|
|
473
|
+
"keyword.modifier",
|
|
474
|
+
"metatag"
|
|
475
|
+
]],
|
|
476
|
+
[/(%)(@fstring_conv)/, ["metatag", "metatag"]],
|
|
477
|
+
[/./, "string"]
|
|
478
|
+
],
|
|
479
|
+
sstring: [
|
|
480
|
+
[/@escapes/, "string.escape"],
|
|
481
|
+
[/"/, {
|
|
482
|
+
token: "string.quote",
|
|
483
|
+
bracket: "@close",
|
|
484
|
+
switchTo: "@allowMethod"
|
|
485
|
+
}],
|
|
486
|
+
[/\$\$/, "string"],
|
|
487
|
+
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
488
|
+
[
|
|
489
|
+
/\$\{/,
|
|
490
|
+
"operator",
|
|
491
|
+
"@interp"
|
|
492
|
+
],
|
|
493
|
+
[/./, "string"]
|
|
494
|
+
],
|
|
495
|
+
sstringt: [
|
|
496
|
+
[/@escapes/, "string.escape"],
|
|
497
|
+
[/"(?=""")/, "string"],
|
|
498
|
+
[/"""/, {
|
|
499
|
+
token: "string.quote",
|
|
500
|
+
bracket: "@close",
|
|
501
|
+
switchTo: "@allowMethod"
|
|
502
|
+
}],
|
|
503
|
+
[/\$\$/, "string"],
|
|
504
|
+
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
505
|
+
[
|
|
506
|
+
/\$\{/,
|
|
507
|
+
"operator",
|
|
508
|
+
"@interp"
|
|
509
|
+
],
|
|
510
|
+
[/./, "string"]
|
|
511
|
+
],
|
|
512
|
+
interp: [
|
|
513
|
+
[
|
|
514
|
+
/{/,
|
|
515
|
+
"operator",
|
|
516
|
+
"@push"
|
|
517
|
+
],
|
|
518
|
+
[
|
|
519
|
+
/}/,
|
|
520
|
+
"operator",
|
|
521
|
+
"@pop"
|
|
522
|
+
],
|
|
523
|
+
{ include: "@root" }
|
|
524
|
+
],
|
|
525
|
+
rawstring: [[/[^"]/, "string"], [/"/, {
|
|
526
|
+
token: "string.quote",
|
|
527
|
+
bracket: "@close",
|
|
528
|
+
switchTo: "@allowMethod"
|
|
529
|
+
}]],
|
|
530
|
+
rawstringt: [
|
|
531
|
+
[/[^"]/, "string"],
|
|
532
|
+
[/"(?=""")/, "string"],
|
|
533
|
+
[/"""/, {
|
|
534
|
+
token: "string.quote",
|
|
535
|
+
bracket: "@close",
|
|
536
|
+
switchTo: "@allowMethod"
|
|
537
|
+
}],
|
|
538
|
+
[/"/, "string"]
|
|
539
|
+
],
|
|
540
|
+
whitespace: [
|
|
541
|
+
[/[ \t\r\n]+/, "white"],
|
|
542
|
+
[
|
|
543
|
+
/\/\*/,
|
|
544
|
+
"comment",
|
|
545
|
+
"@comment"
|
|
546
|
+
],
|
|
547
|
+
[/\/\/.*$/, "comment"]
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/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:`'`}],folding:{markers:{start:RegExp(`^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))`),end:RegExp(`^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))`)}}},n={tokenPostfix:`.scala`,keywords:`asInstanceOf.catch.class.classOf.def.do.else.extends.finally.for.foreach.forSome.if.import.isInstanceOf.macro.match.new.object.package.return.throw.trait.try.type.until.val.var.while.with.yield.given.enum.then`.split(`.`),softKeywords:[`as`,`export`,`extension`,`end`,`derives`,`on`],constants:[`true`,`false`,`null`,`this`,`super`],modifiers:[`abstract`,`final`,`implicit`,`lazy`,`override`,`private`,`protected`,`sealed`],softModifiers:[`inline`,`opaque`,`open`,`transparent`,`using`],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:`string.quote`,bracket:`@open`,next:`@rawstringt`}],[/\braw"/,{token:`string.quote`,bracket:`@open`,next:`@rawstring`}],[/\bs"""/,{token:`string.quote`,bracket:`@open`,next:`@sstringt`}],[/\bs"/,{token:`string.quote`,bracket:`@open`,next:`@sstring`}],[/\bf""""/,{token:`string.quote`,bracket:`@open`,next:`@fstringt`}],[/\bf"/,{token:`string.quote`,bracket:`@open`,next:`@fstring`}],[/"""/,{token:`string.quote`,bracket:`@open`,next:`@stringt`}],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/0[xX](@hexdigits)[Ll]?/,`number.hex`,`@allowMethod`],[/(@digits)[fFdD]/,`number.float`,`@allowMethod`],[/(@digits)[lL]?/,`number`,`@allowMethod`],[/\b_\*/,`key`],[/\b(_)\b/,`keyword`,`@allowMethod`],[/\bimport\b/,`keyword`,`@import`],[/\b(case)([ \t]+)(class)\b/,[`keyword.modifier`,`white`,`keyword`]],[/\bcase\b/,`keyword`,`@case`],[/\bva[lr]\b/,`keyword`,`@vardef`],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,[`keyword`,`white`,`identifier`]],[/@name(?=[ \t]*:(?!:))/,`variable`],[/(\.)(@name|@symbols)/,[`operator`,{token:`@rematch`,next:`@allowMethod`}]],[/([{(])(\s*)(@name(?=\s*=>))/,[`@brackets`,`white`,`variable`]],[/@name/,{cases:{"@keywords":`keyword`,"@softKeywords":`keyword`,"@modifiers":`keyword.modifier`,"@softModifiers":`keyword.modifier`,"@constants":{token:`constant`,next:`@allowMethod`},"@default":{token:`identifier`,next:`@allowMethod`}}}],[/@type/,`type`,`@allowMethod`],{include:`@whitespace`},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,`annotation`],[/[{(]/,`@brackets`],[/[})]/,`@brackets`,`@allowMethod`],[/\[/,`operator.square`],[/](?!\s*(?:va[rl]|def|type)\b)/,`operator.square`,`@allowMethod`],[/]/,`operator.square`],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,`keyword`],[/@symbols/,`operator`],[/[;,\.]/,`delimiter`],[/'[a-zA-Z$][\w$]*(?!')/,`attribute.name`],[/'[^\\']'/,`string`,`@allowMethod`],[/(')(@escapes)(')/,[`string`,`string.escape`,{token:`string`,next:`@allowMethod`}]],[/'/,`string.invalid`]],import:[[/;/,`delimiter`,`@pop`],[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/@name|@type/,`type`],[/[(){}]/,`@brackets`],[/[[\]]/,`operator.square`],[/[\.,]/,`delimiter`]],allowMethod:[[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/(?==>[\s\w([{])/,`keyword`,`@pop`],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:`keyword`,next:`@pop`},"->|<-|>:|<:|<%":{token:`keyword`,next:`@pop`},"@default":{token:`@rematch`,next:`@pop`}}}],[``,``,`@pop`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],case:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`,`@allowMethod`],[/\bif\b|=>/,`keyword`,`@pop`],[/`[^`]+`/,`identifier`,`@allowMethod`],[/@name/,`variable`,`@allowMethod`],[/:::?|\||@(?![a-z_$])/,`keyword`],{include:`@root`}],vardef:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`],[/@name/,`variable`],[/:::?|\||@(?![a-z_$])/,`keyword`],[/=|:(?!:)/,`operator`,`@pop`],[/$/,`white`,`@pop`],{include:`@root`}],string:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],stringt:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],fstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],fstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],sstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],sstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],interp:[[/{/,`operator`,`@push`],[/}/,`operator`,`@pop`],{include:`@root`}],rawstring:[[/[^"]/,`string`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],rawstringt:[[/[^"]/,`string`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]]}};exports.conf=t,exports.language=n;
|