@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,170 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
comments: {
|
|
3
|
+
lineComment: ";",
|
|
4
|
+
blockComment: ["#|", "|#"]
|
|
5
|
+
},
|
|
6
|
+
brackets: [
|
|
7
|
+
["(", ")"],
|
|
8
|
+
["{", "}"],
|
|
9
|
+
["[", "]"]
|
|
10
|
+
],
|
|
11
|
+
autoClosingPairs: [
|
|
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
|
+
}, language = {
|
|
48
|
+
defaultToken: "",
|
|
49
|
+
ignoreCase: !0,
|
|
50
|
+
tokenPostfix: ".scheme",
|
|
51
|
+
brackets: [
|
|
52
|
+
{
|
|
53
|
+
open: "(",
|
|
54
|
+
close: ")",
|
|
55
|
+
token: "delimiter.parenthesis"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
open: "{",
|
|
59
|
+
close: "}",
|
|
60
|
+
token: "delimiter.curly"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
open: "[",
|
|
64
|
+
close: "]",
|
|
65
|
+
token: "delimiter.square"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
keywords: [
|
|
69
|
+
"case",
|
|
70
|
+
"do",
|
|
71
|
+
"let",
|
|
72
|
+
"loop",
|
|
73
|
+
"if",
|
|
74
|
+
"else",
|
|
75
|
+
"when",
|
|
76
|
+
"cons",
|
|
77
|
+
"car",
|
|
78
|
+
"cdr",
|
|
79
|
+
"cond",
|
|
80
|
+
"lambda",
|
|
81
|
+
"lambda*",
|
|
82
|
+
"syntax-rules",
|
|
83
|
+
"format",
|
|
84
|
+
"set!",
|
|
85
|
+
"quote",
|
|
86
|
+
"eval",
|
|
87
|
+
"append",
|
|
88
|
+
"list",
|
|
89
|
+
"list?",
|
|
90
|
+
"member?",
|
|
91
|
+
"load"
|
|
92
|
+
],
|
|
93
|
+
constants: ["#t", "#f"],
|
|
94
|
+
operators: [
|
|
95
|
+
"eq?",
|
|
96
|
+
"eqv?",
|
|
97
|
+
"equal?",
|
|
98
|
+
"and",
|
|
99
|
+
"or",
|
|
100
|
+
"not",
|
|
101
|
+
"null?"
|
|
102
|
+
],
|
|
103
|
+
tokenizer: {
|
|
104
|
+
root: [
|
|
105
|
+
[/#[xXoObB][0-9a-fA-F]+/, "number.hex"],
|
|
106
|
+
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, "number.float"],
|
|
107
|
+
[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/, [
|
|
108
|
+
"keyword",
|
|
109
|
+
"white",
|
|
110
|
+
"variable"
|
|
111
|
+
]],
|
|
112
|
+
{ include: "@whitespace" },
|
|
113
|
+
{ include: "@strings" },
|
|
114
|
+
[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/, { cases: {
|
|
115
|
+
"@keywords": "keyword",
|
|
116
|
+
"@constants": "constant",
|
|
117
|
+
"@operators": "operators",
|
|
118
|
+
"@default": "identifier"
|
|
119
|
+
} }]
|
|
120
|
+
],
|
|
121
|
+
comment: [
|
|
122
|
+
[/[^\|#]+/, "comment"],
|
|
123
|
+
[
|
|
124
|
+
/#\|/,
|
|
125
|
+
"comment",
|
|
126
|
+
"@push"
|
|
127
|
+
],
|
|
128
|
+
[
|
|
129
|
+
/\|#/,
|
|
130
|
+
"comment",
|
|
131
|
+
"@pop"
|
|
132
|
+
],
|
|
133
|
+
[/[\|#]/, "comment"]
|
|
134
|
+
],
|
|
135
|
+
whitespace: [
|
|
136
|
+
[/[ \t\r\n]+/, "white"],
|
|
137
|
+
[
|
|
138
|
+
/#\|/,
|
|
139
|
+
"comment",
|
|
140
|
+
"@comment"
|
|
141
|
+
],
|
|
142
|
+
[/;.*$/, "comment"]
|
|
143
|
+
],
|
|
144
|
+
strings: [[
|
|
145
|
+
/"$/,
|
|
146
|
+
"string",
|
|
147
|
+
"@popall"
|
|
148
|
+
], [
|
|
149
|
+
/"(?=.)/,
|
|
150
|
+
"string",
|
|
151
|
+
"@multiLineString"
|
|
152
|
+
]],
|
|
153
|
+
multiLineString: [
|
|
154
|
+
[
|
|
155
|
+
/[^\\"]+$/,
|
|
156
|
+
"string",
|
|
157
|
+
"@popall"
|
|
158
|
+
],
|
|
159
|
+
[/[^\\"]+/, "string"],
|
|
160
|
+
[/\\./, "string.escape"],
|
|
161
|
+
[
|
|
162
|
+
/"/,
|
|
163
|
+
"string",
|
|
164
|
+
"@popall"
|
|
165
|
+
],
|
|
166
|
+
[/\\$/, "string"]
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`;`,blockComment:[`#|`,`|#`]},brackets:[[`(`,`)`],[`{`,`}`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}]},n={defaultToken:``,ignoreCase:!0,tokenPostfix:`.scheme`,brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],keywords:[`case`,`do`,`let`,`loop`,`if`,`else`,`when`,`cons`,`car`,`cdr`,`cond`,`lambda`,`lambda*`,`syntax-rules`,`format`,`set!`,`quote`,`eval`,`append`,`list`,`list?`,`member?`,`load`],constants:[`#t`,`#f`],operators:[`eq?`,`eqv?`,`equal?`,`and`,`or`,`not`,`null?`],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,`number.hex`],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,`number.float`],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,[`keyword`,`white`,`variable`]],{include:`@whitespace`},{include:`@strings`},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":`keyword`,"@constants":`constant`,"@operators":`operators`,"@default":`identifier`}}]],comment:[[/[^\|#]+/,`comment`],[/#\|/,`comment`,`@push`],[/\|#/,`comment`,`@pop`],[/[\|#]/,`comment`]],whitespace:[[/[ \t\r\n]+/,`white`],[/#\|/,`comment`,`@comment`],[/;.*$/,`comment`]],strings:[[/"$/,`string`,`@popall`],[/"(?=.)/,`string`,`@multiLineString`]],multiLineString:[[/[^\\"]+$/,`string`,`@popall`],[/[^\\"]+/,`string`],[/\\./,`string.escape`],[/"/,`string`,`@popall`],[/\\$/,`string`]]}};exports.conf=t,exports.language=n;
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
wordPattern: /(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,
|
|
3
|
+
comments: {
|
|
4
|
+
blockComment: ["/*", "*/"],
|
|
5
|
+
lineComment: "//"
|
|
6
|
+
},
|
|
7
|
+
brackets: [
|
|
8
|
+
["{", "}"],
|
|
9
|
+
["[", "]"],
|
|
10
|
+
["(", ")"]
|
|
11
|
+
],
|
|
12
|
+
autoClosingPairs: [
|
|
13
|
+
{
|
|
14
|
+
open: "{",
|
|
15
|
+
close: "}",
|
|
16
|
+
notIn: ["string", "comment"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "[",
|
|
20
|
+
close: "]",
|
|
21
|
+
notIn: ["string", "comment"]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
open: "(",
|
|
25
|
+
close: ")",
|
|
26
|
+
notIn: ["string", "comment"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
open: "\"",
|
|
30
|
+
close: "\"",
|
|
31
|
+
notIn: ["string", "comment"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
open: "'",
|
|
35
|
+
close: "'",
|
|
36
|
+
notIn: ["string", "comment"]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
surroundingPairs: [
|
|
40
|
+
{
|
|
41
|
+
open: "{",
|
|
42
|
+
close: "}"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
open: "[",
|
|
46
|
+
close: "]"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
open: "(",
|
|
50
|
+
close: ")"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
open: "\"",
|
|
54
|
+
close: "\""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
open: "'",
|
|
58
|
+
close: "'"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
folding: { markers: {
|
|
62
|
+
start: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
|
63
|
+
end: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
|
64
|
+
} }
|
|
65
|
+
}, language = {
|
|
66
|
+
defaultToken: "",
|
|
67
|
+
tokenPostfix: ".scss",
|
|
68
|
+
ws: "[ \n\r\f]*",
|
|
69
|
+
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])))*",
|
|
70
|
+
brackets: [
|
|
71
|
+
{
|
|
72
|
+
open: "{",
|
|
73
|
+
close: "}",
|
|
74
|
+
token: "delimiter.curly"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
open: "[",
|
|
78
|
+
close: "]",
|
|
79
|
+
token: "delimiter.bracket"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
open: "(",
|
|
83
|
+
close: ")",
|
|
84
|
+
token: "delimiter.parenthesis"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
open: "<",
|
|
88
|
+
close: ">",
|
|
89
|
+
token: "delimiter.angle"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
tokenizer: {
|
|
93
|
+
root: [{ include: "@selector" }],
|
|
94
|
+
selector: [
|
|
95
|
+
{ include: "@comments" },
|
|
96
|
+
{ include: "@import" },
|
|
97
|
+
{ include: "@variabledeclaration" },
|
|
98
|
+
{ include: "@warndebug" },
|
|
99
|
+
["[@](include)", {
|
|
100
|
+
token: "keyword",
|
|
101
|
+
next: "@includedeclaration"
|
|
102
|
+
}],
|
|
103
|
+
["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)", {
|
|
104
|
+
token: "keyword",
|
|
105
|
+
next: "@keyframedeclaration"
|
|
106
|
+
}],
|
|
107
|
+
["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
|
|
108
|
+
["[@](charset|namespace)", {
|
|
109
|
+
token: "keyword",
|
|
110
|
+
next: "@declarationbody"
|
|
111
|
+
}],
|
|
112
|
+
["[@](function)", {
|
|
113
|
+
token: "keyword",
|
|
114
|
+
next: "@functiondeclaration"
|
|
115
|
+
}],
|
|
116
|
+
["[@](mixin)", {
|
|
117
|
+
token: "keyword",
|
|
118
|
+
next: "@mixindeclaration"
|
|
119
|
+
}],
|
|
120
|
+
["url(\\-prefix)?\\(", {
|
|
121
|
+
token: "meta",
|
|
122
|
+
next: "@urldeclaration"
|
|
123
|
+
}],
|
|
124
|
+
{ include: "@controlstatement" },
|
|
125
|
+
{ include: "@selectorname" },
|
|
126
|
+
["[&\\*]", "tag"],
|
|
127
|
+
["[>\\+,]", "delimiter"],
|
|
128
|
+
["\\[", {
|
|
129
|
+
token: "delimiter.bracket",
|
|
130
|
+
next: "@selectorattribute"
|
|
131
|
+
}],
|
|
132
|
+
["{", {
|
|
133
|
+
token: "delimiter.curly",
|
|
134
|
+
next: "@selectorbody"
|
|
135
|
+
}]
|
|
136
|
+
],
|
|
137
|
+
selectorbody: [
|
|
138
|
+
[
|
|
139
|
+
"[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))",
|
|
140
|
+
"attribute.name",
|
|
141
|
+
"@rulevalue"
|
|
142
|
+
],
|
|
143
|
+
{ include: "@selector" },
|
|
144
|
+
["[@](extend)", {
|
|
145
|
+
token: "keyword",
|
|
146
|
+
next: "@extendbody"
|
|
147
|
+
}],
|
|
148
|
+
["[@](return)", {
|
|
149
|
+
token: "keyword",
|
|
150
|
+
next: "@declarationbody"
|
|
151
|
+
}],
|
|
152
|
+
["}", {
|
|
153
|
+
token: "delimiter.curly",
|
|
154
|
+
next: "@pop"
|
|
155
|
+
}]
|
|
156
|
+
],
|
|
157
|
+
selectorname: [["#{", {
|
|
158
|
+
token: "meta",
|
|
159
|
+
next: "@variableinterpolation"
|
|
160
|
+
}], ["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]],
|
|
161
|
+
selectorattribute: [{ include: "@term" }, ["]", {
|
|
162
|
+
token: "delimiter.bracket",
|
|
163
|
+
next: "@pop"
|
|
164
|
+
}]],
|
|
165
|
+
term: [
|
|
166
|
+
{ include: "@comments" },
|
|
167
|
+
["url(\\-prefix)?\\(", {
|
|
168
|
+
token: "meta",
|
|
169
|
+
next: "@urldeclaration"
|
|
170
|
+
}],
|
|
171
|
+
{ include: "@functioninvocation" },
|
|
172
|
+
{ include: "@numbers" },
|
|
173
|
+
{ include: "@strings" },
|
|
174
|
+
{ include: "@variablereference" },
|
|
175
|
+
["(and\\b|or\\b|not\\b)", "operator"],
|
|
176
|
+
{ include: "@name" },
|
|
177
|
+
["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "operator"],
|
|
178
|
+
[",", "delimiter"],
|
|
179
|
+
["!default", "literal"],
|
|
180
|
+
["\\(", {
|
|
181
|
+
token: "delimiter.parenthesis",
|
|
182
|
+
next: "@parenthizedterm"
|
|
183
|
+
}]
|
|
184
|
+
],
|
|
185
|
+
rulevalue: [
|
|
186
|
+
{ include: "@term" },
|
|
187
|
+
["!important", "literal"],
|
|
188
|
+
[
|
|
189
|
+
";",
|
|
190
|
+
"delimiter",
|
|
191
|
+
"@pop"
|
|
192
|
+
],
|
|
193
|
+
["{", {
|
|
194
|
+
token: "delimiter.curly",
|
|
195
|
+
switchTo: "@nestedproperty"
|
|
196
|
+
}],
|
|
197
|
+
["(?=})", {
|
|
198
|
+
token: "",
|
|
199
|
+
next: "@pop"
|
|
200
|
+
}]
|
|
201
|
+
],
|
|
202
|
+
nestedproperty: [
|
|
203
|
+
[
|
|
204
|
+
"[*_]?@identifier@ws:",
|
|
205
|
+
"attribute.name",
|
|
206
|
+
"@rulevalue"
|
|
207
|
+
],
|
|
208
|
+
{ include: "@comments" },
|
|
209
|
+
["}", {
|
|
210
|
+
token: "delimiter.curly",
|
|
211
|
+
next: "@pop"
|
|
212
|
+
}]
|
|
213
|
+
],
|
|
214
|
+
warndebug: [["[@](warn|debug)", {
|
|
215
|
+
token: "keyword",
|
|
216
|
+
next: "@declarationbody"
|
|
217
|
+
}]],
|
|
218
|
+
import: [["[@](import)", {
|
|
219
|
+
token: "keyword",
|
|
220
|
+
next: "@declarationbody"
|
|
221
|
+
}]],
|
|
222
|
+
variabledeclaration: [[
|
|
223
|
+
"\\$@identifier@ws:",
|
|
224
|
+
"variable.decl",
|
|
225
|
+
"@declarationbody"
|
|
226
|
+
]],
|
|
227
|
+
urldeclaration: [
|
|
228
|
+
{ include: "@strings" },
|
|
229
|
+
["[^)\r\n]+", "string"],
|
|
230
|
+
["\\)", {
|
|
231
|
+
token: "meta",
|
|
232
|
+
next: "@pop"
|
|
233
|
+
}]
|
|
234
|
+
],
|
|
235
|
+
parenthizedterm: [{ include: "@term" }, ["\\)", {
|
|
236
|
+
token: "delimiter.parenthesis",
|
|
237
|
+
next: "@pop"
|
|
238
|
+
}]],
|
|
239
|
+
declarationbody: [
|
|
240
|
+
{ include: "@term" },
|
|
241
|
+
[
|
|
242
|
+
";",
|
|
243
|
+
"delimiter",
|
|
244
|
+
"@pop"
|
|
245
|
+
],
|
|
246
|
+
["(?=})", {
|
|
247
|
+
token: "",
|
|
248
|
+
next: "@pop"
|
|
249
|
+
}]
|
|
250
|
+
],
|
|
251
|
+
extendbody: [
|
|
252
|
+
{ include: "@selectorname" },
|
|
253
|
+
["!optional", "literal"],
|
|
254
|
+
[
|
|
255
|
+
";",
|
|
256
|
+
"delimiter",
|
|
257
|
+
"@pop"
|
|
258
|
+
],
|
|
259
|
+
["(?=})", {
|
|
260
|
+
token: "",
|
|
261
|
+
next: "@pop"
|
|
262
|
+
}]
|
|
263
|
+
],
|
|
264
|
+
variablereference: [
|
|
265
|
+
["\\$@identifier", "variable.ref"],
|
|
266
|
+
["\\.\\.\\.", "operator"],
|
|
267
|
+
["#{", {
|
|
268
|
+
token: "meta",
|
|
269
|
+
next: "@variableinterpolation"
|
|
270
|
+
}]
|
|
271
|
+
],
|
|
272
|
+
variableinterpolation: [{ include: "@variablereference" }, ["}", {
|
|
273
|
+
token: "meta",
|
|
274
|
+
next: "@pop"
|
|
275
|
+
}]],
|
|
276
|
+
comments: [[
|
|
277
|
+
"\\/\\*",
|
|
278
|
+
"comment",
|
|
279
|
+
"@comment"
|
|
280
|
+
], ["\\/\\/+.*", "comment"]],
|
|
281
|
+
comment: [[
|
|
282
|
+
"\\*\\/",
|
|
283
|
+
"comment",
|
|
284
|
+
"@pop"
|
|
285
|
+
], [".", "comment"]],
|
|
286
|
+
name: [["@identifier", "attribute.value"]],
|
|
287
|
+
numbers: [["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", {
|
|
288
|
+
token: "number",
|
|
289
|
+
next: "@units"
|
|
290
|
+
}], ["#[0-9a-fA-F_]+(?!\\w)", "number.hex"]],
|
|
291
|
+
units: [[
|
|
292
|
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
|
293
|
+
"number",
|
|
294
|
+
"@pop"
|
|
295
|
+
]],
|
|
296
|
+
functiondeclaration: [["@identifier@ws\\(", {
|
|
297
|
+
token: "meta",
|
|
298
|
+
next: "@parameterdeclaration"
|
|
299
|
+
}], ["{", {
|
|
300
|
+
token: "delimiter.curly",
|
|
301
|
+
switchTo: "@functionbody"
|
|
302
|
+
}]],
|
|
303
|
+
mixindeclaration: [
|
|
304
|
+
["@identifier@ws\\(", {
|
|
305
|
+
token: "meta",
|
|
306
|
+
next: "@parameterdeclaration"
|
|
307
|
+
}],
|
|
308
|
+
["@identifier", "meta"],
|
|
309
|
+
["{", {
|
|
310
|
+
token: "delimiter.curly",
|
|
311
|
+
switchTo: "@selectorbody"
|
|
312
|
+
}]
|
|
313
|
+
],
|
|
314
|
+
parameterdeclaration: [
|
|
315
|
+
["\\$@identifier@ws:", "variable.decl"],
|
|
316
|
+
["\\.\\.\\.", "operator"],
|
|
317
|
+
[",", "delimiter"],
|
|
318
|
+
{ include: "@term" },
|
|
319
|
+
["\\)", {
|
|
320
|
+
token: "meta",
|
|
321
|
+
next: "@pop"
|
|
322
|
+
}]
|
|
323
|
+
],
|
|
324
|
+
includedeclaration: [
|
|
325
|
+
{ include: "@functioninvocation" },
|
|
326
|
+
["@identifier", "meta"],
|
|
327
|
+
[
|
|
328
|
+
";",
|
|
329
|
+
"delimiter",
|
|
330
|
+
"@pop"
|
|
331
|
+
],
|
|
332
|
+
["(?=})", {
|
|
333
|
+
token: "",
|
|
334
|
+
next: "@pop"
|
|
335
|
+
}],
|
|
336
|
+
["{", {
|
|
337
|
+
token: "delimiter.curly",
|
|
338
|
+
switchTo: "@selectorbody"
|
|
339
|
+
}]
|
|
340
|
+
],
|
|
341
|
+
keyframedeclaration: [["@identifier", "meta"], ["{", {
|
|
342
|
+
token: "delimiter.curly",
|
|
343
|
+
switchTo: "@keyframebody"
|
|
344
|
+
}]],
|
|
345
|
+
keyframebody: [
|
|
346
|
+
{ include: "@term" },
|
|
347
|
+
["{", {
|
|
348
|
+
token: "delimiter.curly",
|
|
349
|
+
next: "@selectorbody"
|
|
350
|
+
}],
|
|
351
|
+
["}", {
|
|
352
|
+
token: "delimiter.curly",
|
|
353
|
+
next: "@pop"
|
|
354
|
+
}]
|
|
355
|
+
],
|
|
356
|
+
controlstatement: [["[@](if|else|for|while|each|media)", {
|
|
357
|
+
token: "keyword.flow",
|
|
358
|
+
next: "@controlstatementdeclaration"
|
|
359
|
+
}]],
|
|
360
|
+
controlstatementdeclaration: [
|
|
361
|
+
["(in|from|through|if|to)\\b", { token: "keyword.flow" }],
|
|
362
|
+
{ include: "@term" },
|
|
363
|
+
["{", {
|
|
364
|
+
token: "delimiter.curly",
|
|
365
|
+
switchTo: "@selectorbody"
|
|
366
|
+
}]
|
|
367
|
+
],
|
|
368
|
+
functionbody: [
|
|
369
|
+
["[@](return)", { token: "keyword" }],
|
|
370
|
+
{ include: "@variabledeclaration" },
|
|
371
|
+
{ include: "@term" },
|
|
372
|
+
{ include: "@controlstatement" },
|
|
373
|
+
[";", "delimiter"],
|
|
374
|
+
["}", {
|
|
375
|
+
token: "delimiter.curly",
|
|
376
|
+
next: "@pop"
|
|
377
|
+
}]
|
|
378
|
+
],
|
|
379
|
+
functioninvocation: [["@identifier\\(", {
|
|
380
|
+
token: "meta",
|
|
381
|
+
next: "@functionarguments"
|
|
382
|
+
}]],
|
|
383
|
+
functionarguments: [
|
|
384
|
+
["\\$@identifier@ws:", "attribute.name"],
|
|
385
|
+
["[,]", "delimiter"],
|
|
386
|
+
{ include: "@term" },
|
|
387
|
+
["\\)", {
|
|
388
|
+
token: "meta",
|
|
389
|
+
next: "@pop"
|
|
390
|
+
}]
|
|
391
|
+
],
|
|
392
|
+
strings: [["~?\"", {
|
|
393
|
+
token: "string.delimiter",
|
|
394
|
+
next: "@stringenddoublequote"
|
|
395
|
+
}], ["~?'", {
|
|
396
|
+
token: "string.delimiter",
|
|
397
|
+
next: "@stringendquote"
|
|
398
|
+
}]],
|
|
399
|
+
stringenddoublequote: [
|
|
400
|
+
["\\\\.", "string"],
|
|
401
|
+
["\"", {
|
|
402
|
+
token: "string.delimiter",
|
|
403
|
+
next: "@pop"
|
|
404
|
+
}],
|
|
405
|
+
[".", "string"]
|
|
406
|
+
],
|
|
407
|
+
stringendquote: [
|
|
408
|
+
["\\\\.", "string"],
|
|
409
|
+
["'", {
|
|
410
|
+
token: "string.delimiter",
|
|
411
|
+
next: "@pop"
|
|
412
|
+
}],
|
|
413
|
+
[".", "string"]
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
export { conf, language };
|
|
@@ -0,0 +1,3 @@
|
|
|
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:`.scss`,ws:`[
|
|
2
|
+
\r\f]*`,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])))*`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{root:[{include:`@selector`}],selector:[{include:`@comments`},{include:`@import`},{include:`@variabledeclaration`},{include:`@warndebug`},[`[@](include)`,{token:`keyword`,next:`@includedeclaration`}],[`[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)`,{token:`keyword`,next:`@keyframedeclaration`}],[`[@](page|content|font-face|-moz-document)`,{token:`keyword`}],[`[@](charset|namespace)`,{token:`keyword`,next:`@declarationbody`}],[`[@](function)`,{token:`keyword`,next:`@functiondeclaration`}],[`[@](mixin)`,{token:`keyword`,next:`@mixindeclaration`}],[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@controlstatement`},{include:`@selectorname`},[`[&\\*]`,`tag`],[`[>\\+,]`,`delimiter`],[`\\[`,{token:`delimiter.bracket`,next:`@selectorattribute`}],[`{`,{token:`delimiter.curly`,next:`@selectorbody`}]],selectorbody:[[`[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))`,`attribute.name`,`@rulevalue`],{include:`@selector`},[`[@](extend)`,{token:`keyword`,next:`@extendbody`}],[`[@](return)`,{token:`keyword`,next:`@declarationbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],selectorname:[[`#{`,{token:`meta`,next:`@variableinterpolation`}],[`(\\.|#(?=[^{])|%|(@identifier)|:)+`,`tag`]],selectorattribute:[{include:`@term`},[`]`,{token:`delimiter.bracket`,next:`@pop`}]],term:[{include:`@comments`},[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@functioninvocation`},{include:`@numbers`},{include:`@strings`},{include:`@variablereference`},[`(and\\b|or\\b|not\\b)`,`operator`],{include:`@name`},[`([<>=\\+\\-\\*\\/\\^\\|\\~,])`,`operator`],[`,`,`delimiter`],[`!default`,`literal`],[`\\(`,{token:`delimiter.parenthesis`,next:`@parenthizedterm`}]],rulevalue:[{include:`@term`},[`!important`,`literal`],[`;`,`delimiter`,`@pop`],[`{`,{token:`delimiter.curly`,switchTo:`@nestedproperty`}],[`(?=})`,{token:``,next:`@pop`}]],nestedproperty:[[`[*_]?@identifier@ws:`,`attribute.name`,`@rulevalue`],{include:`@comments`},[`}`,{token:`delimiter.curly`,next:`@pop`}]],warndebug:[[`[@](warn|debug)`,{token:`keyword`,next:`@declarationbody`}]],import:[[`[@](import)`,{token:`keyword`,next:`@declarationbody`}]],variabledeclaration:[[`\\$@identifier@ws:`,`variable.decl`,`@declarationbody`]],urldeclaration:[{include:`@strings`},[`[^)\r
|
|
3
|
+
]+`,`string`],[`\\)`,{token:`meta`,next:`@pop`}]],parenthizedterm:[{include:`@term`},[`\\)`,{token:`delimiter.parenthesis`,next:`@pop`}]],declarationbody:[{include:`@term`},[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],extendbody:[{include:`@selectorname`},[`!optional`,`literal`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],variablereference:[[`\\$@identifier`,`variable.ref`],[`\\.\\.\\.`,`operator`],[`#{`,{token:`meta`,next:`@variableinterpolation`}]],variableinterpolation:[{include:`@variablereference`},[`}`,{token:`meta`,next:`@pop`}]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],name:[[`@identifier`,`attribute.value`]],numbers:[[`(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?`,{token:`number`,next:`@units`}],[`#[0-9a-fA-F_]+(?!\\w)`,`number.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|%)?`,`number`,`@pop`]],functiondeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`{`,{token:`delimiter.curly`,switchTo:`@functionbody`}]],mixindeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],parameterdeclaration:[[`\\$@identifier@ws:`,`variable.decl`],[`\\.\\.\\.`,`operator`],[`,`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],includedeclaration:[{include:`@functioninvocation`},[`@identifier`,`meta`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],keyframedeclaration:[[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@keyframebody`}]],keyframebody:[{include:`@term`},[`{`,{token:`delimiter.curly`,next:`@selectorbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],controlstatement:[[`[@](if|else|for|while|each|media)`,{token:`keyword.flow`,next:`@controlstatementdeclaration`}]],controlstatementdeclaration:[[`(in|from|through|if|to)\\b`,{token:`keyword.flow`}],{include:`@term`},[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],functionbody:[[`[@](return)`,{token:`keyword`}],{include:`@variabledeclaration`},{include:`@term`},{include:`@controlstatement`},[`;`,`delimiter`],[`}`,{token:`delimiter.curly`,next:`@pop`}]],functioninvocation:[[`@identifier\\(`,{token:`meta`,next:`@functionarguments`}]],functionarguments:[[`\\$@identifier@ws:`,`attribute.name`],[`[,]`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],strings:[[`~?"`,{token:`string.delimiter`,next:`@stringenddoublequote`}],[`~?'`,{token:`string.delimiter`,next:`@stringendquote`}]],stringenddoublequote:[[`\\\\.`,`string`],[`"`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]],stringendquote:[[`\\\\.`,`string`],[`'`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]]}};exports.conf=t,exports.language=n;
|