@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,298 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`}]};function n(e){let t=[],n=e.split(/\t+|\r+|\n+| +/);for(let e=0;e<n.length;++e)n[e].length>0&&t.push(n[e]);return t}var r=n(`true false`),i=n(`
|
|
2
|
+
alias
|
|
3
|
+
break
|
|
4
|
+
case
|
|
5
|
+
const
|
|
6
|
+
const_assert
|
|
7
|
+
continue
|
|
8
|
+
continuing
|
|
9
|
+
default
|
|
10
|
+
diagnostic
|
|
11
|
+
discard
|
|
12
|
+
else
|
|
13
|
+
enable
|
|
14
|
+
fn
|
|
15
|
+
for
|
|
16
|
+
if
|
|
17
|
+
let
|
|
18
|
+
loop
|
|
19
|
+
override
|
|
20
|
+
requires
|
|
21
|
+
return
|
|
22
|
+
struct
|
|
23
|
+
switch
|
|
24
|
+
var
|
|
25
|
+
while
|
|
26
|
+
`),a=n(`
|
|
27
|
+
NULL
|
|
28
|
+
Self
|
|
29
|
+
abstract
|
|
30
|
+
active
|
|
31
|
+
alignas
|
|
32
|
+
alignof
|
|
33
|
+
as
|
|
34
|
+
asm
|
|
35
|
+
asm_fragment
|
|
36
|
+
async
|
|
37
|
+
attribute
|
|
38
|
+
auto
|
|
39
|
+
await
|
|
40
|
+
become
|
|
41
|
+
binding_array
|
|
42
|
+
cast
|
|
43
|
+
catch
|
|
44
|
+
class
|
|
45
|
+
co_await
|
|
46
|
+
co_return
|
|
47
|
+
co_yield
|
|
48
|
+
coherent
|
|
49
|
+
column_major
|
|
50
|
+
common
|
|
51
|
+
compile
|
|
52
|
+
compile_fragment
|
|
53
|
+
concept
|
|
54
|
+
const_cast
|
|
55
|
+
consteval
|
|
56
|
+
constexpr
|
|
57
|
+
constinit
|
|
58
|
+
crate
|
|
59
|
+
debugger
|
|
60
|
+
decltype
|
|
61
|
+
delete
|
|
62
|
+
demote
|
|
63
|
+
demote_to_helper
|
|
64
|
+
do
|
|
65
|
+
dynamic_cast
|
|
66
|
+
enum
|
|
67
|
+
explicit
|
|
68
|
+
export
|
|
69
|
+
extends
|
|
70
|
+
extern
|
|
71
|
+
external
|
|
72
|
+
fallthrough
|
|
73
|
+
filter
|
|
74
|
+
final
|
|
75
|
+
finally
|
|
76
|
+
friend
|
|
77
|
+
from
|
|
78
|
+
fxgroup
|
|
79
|
+
get
|
|
80
|
+
goto
|
|
81
|
+
groupshared
|
|
82
|
+
highp
|
|
83
|
+
impl
|
|
84
|
+
implements
|
|
85
|
+
import
|
|
86
|
+
inline
|
|
87
|
+
instanceof
|
|
88
|
+
interface
|
|
89
|
+
layout
|
|
90
|
+
lowp
|
|
91
|
+
macro
|
|
92
|
+
macro_rules
|
|
93
|
+
match
|
|
94
|
+
mediump
|
|
95
|
+
meta
|
|
96
|
+
mod
|
|
97
|
+
module
|
|
98
|
+
move
|
|
99
|
+
mut
|
|
100
|
+
mutable
|
|
101
|
+
namespace
|
|
102
|
+
new
|
|
103
|
+
nil
|
|
104
|
+
noexcept
|
|
105
|
+
noinline
|
|
106
|
+
nointerpolation
|
|
107
|
+
noperspective
|
|
108
|
+
null
|
|
109
|
+
nullptr
|
|
110
|
+
of
|
|
111
|
+
operator
|
|
112
|
+
package
|
|
113
|
+
packoffset
|
|
114
|
+
partition
|
|
115
|
+
pass
|
|
116
|
+
patch
|
|
117
|
+
pixelfragment
|
|
118
|
+
precise
|
|
119
|
+
precision
|
|
120
|
+
premerge
|
|
121
|
+
priv
|
|
122
|
+
protected
|
|
123
|
+
pub
|
|
124
|
+
public
|
|
125
|
+
readonly
|
|
126
|
+
ref
|
|
127
|
+
regardless
|
|
128
|
+
register
|
|
129
|
+
reinterpret_cast
|
|
130
|
+
require
|
|
131
|
+
resource
|
|
132
|
+
restrict
|
|
133
|
+
self
|
|
134
|
+
set
|
|
135
|
+
shared
|
|
136
|
+
sizeof
|
|
137
|
+
smooth
|
|
138
|
+
snorm
|
|
139
|
+
static
|
|
140
|
+
static_assert
|
|
141
|
+
static_cast
|
|
142
|
+
std
|
|
143
|
+
subroutine
|
|
144
|
+
super
|
|
145
|
+
target
|
|
146
|
+
template
|
|
147
|
+
this
|
|
148
|
+
thread_local
|
|
149
|
+
throw
|
|
150
|
+
trait
|
|
151
|
+
try
|
|
152
|
+
type
|
|
153
|
+
typedef
|
|
154
|
+
typeid
|
|
155
|
+
typename
|
|
156
|
+
typeof
|
|
157
|
+
union
|
|
158
|
+
unless
|
|
159
|
+
unorm
|
|
160
|
+
unsafe
|
|
161
|
+
unsized
|
|
162
|
+
use
|
|
163
|
+
using
|
|
164
|
+
varying
|
|
165
|
+
virtual
|
|
166
|
+
volatile
|
|
167
|
+
wgsl
|
|
168
|
+
where
|
|
169
|
+
with
|
|
170
|
+
writeonly
|
|
171
|
+
yield
|
|
172
|
+
`),o=n(`
|
|
173
|
+
read write read_write
|
|
174
|
+
function private workgroup uniform storage
|
|
175
|
+
perspective linear flat
|
|
176
|
+
center centroid sample
|
|
177
|
+
vertex_index instance_index position front_facing frag_depth
|
|
178
|
+
local_invocation_id local_invocation_index
|
|
179
|
+
global_invocation_id workgroup_id num_workgroups
|
|
180
|
+
sample_index sample_mask
|
|
181
|
+
rgba8unorm
|
|
182
|
+
rgba8snorm
|
|
183
|
+
rgba8uint
|
|
184
|
+
rgba8sint
|
|
185
|
+
rgba16uint
|
|
186
|
+
rgba16sint
|
|
187
|
+
rgba16float
|
|
188
|
+
r32uint
|
|
189
|
+
r32sint
|
|
190
|
+
r32float
|
|
191
|
+
rg32uint
|
|
192
|
+
rg32sint
|
|
193
|
+
rg32float
|
|
194
|
+
rgba32uint
|
|
195
|
+
rgba32sint
|
|
196
|
+
rgba32float
|
|
197
|
+
bgra8unorm
|
|
198
|
+
`),s=n(`
|
|
199
|
+
bool
|
|
200
|
+
f16
|
|
201
|
+
f32
|
|
202
|
+
i32
|
|
203
|
+
sampler sampler_comparison
|
|
204
|
+
texture_depth_2d
|
|
205
|
+
texture_depth_2d_array
|
|
206
|
+
texture_depth_cube
|
|
207
|
+
texture_depth_cube_array
|
|
208
|
+
texture_depth_multisampled_2d
|
|
209
|
+
texture_external
|
|
210
|
+
texture_external
|
|
211
|
+
u32
|
|
212
|
+
`),c=n(`
|
|
213
|
+
array
|
|
214
|
+
atomic
|
|
215
|
+
mat2x2
|
|
216
|
+
mat2x3
|
|
217
|
+
mat2x4
|
|
218
|
+
mat3x2
|
|
219
|
+
mat3x3
|
|
220
|
+
mat3x4
|
|
221
|
+
mat4x2
|
|
222
|
+
mat4x3
|
|
223
|
+
mat4x4
|
|
224
|
+
ptr
|
|
225
|
+
texture_1d
|
|
226
|
+
texture_2d
|
|
227
|
+
texture_2d_array
|
|
228
|
+
texture_3d
|
|
229
|
+
texture_cube
|
|
230
|
+
texture_cube_array
|
|
231
|
+
texture_multisampled_2d
|
|
232
|
+
texture_storage_1d
|
|
233
|
+
texture_storage_2d
|
|
234
|
+
texture_storage_2d_array
|
|
235
|
+
texture_storage_3d
|
|
236
|
+
vec2
|
|
237
|
+
vec3
|
|
238
|
+
vec4
|
|
239
|
+
`),l=n(`
|
|
240
|
+
vec2i vec3i vec4i
|
|
241
|
+
vec2u vec3u vec4u
|
|
242
|
+
vec2f vec3f vec4f
|
|
243
|
+
vec2h vec3h vec4h
|
|
244
|
+
mat2x2f mat2x3f mat2x4f
|
|
245
|
+
mat3x2f mat3x3f mat3x4f
|
|
246
|
+
mat4x2f mat4x3f mat4x4f
|
|
247
|
+
mat2x2h mat2x3h mat2x4h
|
|
248
|
+
mat3x2h mat3x3h mat3x4h
|
|
249
|
+
mat4x2h mat4x3h mat4x4h
|
|
250
|
+
`),u=n(`
|
|
251
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
252
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
253
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
254
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
255
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
256
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
257
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
258
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
259
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
260
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
261
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
262
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
263
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
264
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
265
|
+
workgroupUniformLoad
|
|
266
|
+
`),d=n(`
|
|
267
|
+
&
|
|
268
|
+
&&
|
|
269
|
+
->
|
|
270
|
+
/
|
|
271
|
+
=
|
|
272
|
+
==
|
|
273
|
+
!=
|
|
274
|
+
>
|
|
275
|
+
>=
|
|
276
|
+
<
|
|
277
|
+
<=
|
|
278
|
+
%
|
|
279
|
+
-
|
|
280
|
+
--
|
|
281
|
+
+
|
|
282
|
+
++
|
|
283
|
+
|
|
|
284
|
+
||
|
|
285
|
+
*
|
|
286
|
+
<<
|
|
287
|
+
>>
|
|
288
|
+
+=
|
|
289
|
+
-=
|
|
290
|
+
*=
|
|
291
|
+
/=
|
|
292
|
+
%=
|
|
293
|
+
&=
|
|
294
|
+
|=
|
|
295
|
+
^=
|
|
296
|
+
>>=
|
|
297
|
+
<<=
|
|
298
|
+
`),f=/enable|requires|diagnostic/,p=/[_\p{XID_Start}]\p{XID_Continue}*/u,m=`variable.predefined`,h={tokenPostfix:`.wgsl`,defaultToken:`invalid`,unicode:!0,atoms:r,keywords:i,reserved:a,predeclared_enums:o,predeclared_types:s,predeclared_type_generators:c,predeclared_type_aliases:l,predeclared_intrinsics:u,operators:d,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[f,`keyword`,`@directive`],[p,{cases:{"@atoms":m,"@keywords":`keyword`,"@reserved":`invalid`,"@predeclared_enums":m,"@predeclared_types":m,"@predeclared_type_generators":m,"@predeclared_type_aliases":m,"@predeclared_intrinsics":m,"@default":`identifier`}}],{include:`@commentOrSpace`},{include:`@numbers`},[/[{}()\[\]]/,`@brackets`],[`@`,`annotation`,`@attribute`],[/@symbols/,{cases:{"@operators":`operator`,"@default":`delimiter`}}],[/./,`invalid`]],commentOrSpace:[[/\s+/,`white`],[/\/\*/,`comment`,`@blockComment`],[/\/\/.*$/,`comment`]],blockComment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],attribute:[{include:`@commentOrSpace`},[/\w+/,`annotation`,`@pop`]],directive:[{include:`@commentOrSpace`},[/[()]/,`@brackets`],[/,/,`delimiter`],[p,`meta.content`],[/;/,`delimiter`,`@pop`]],numbers:[[/0[fh]/,`number.float`],[/[1-9][0-9]*[fh]/,`number.float`],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,`number.float`],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,`number.float`],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,`number.float`],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,`number.hex`],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,`number.hex`],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,`number.hex`],[/0[xX][0-9a-fA-F]+[iu]?/,`number.hex`],[/[1-9][0-9]*[iu]?/,`number`],[/0[iu]?/,`number`]]}};exports.conf=t,exports.language=h;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { m as editor_api_exports } from "./editor.api-CbUDOph7.js";
|
|
2
|
+
var __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (e, o, s, c) => {
|
|
3
|
+
if (o && typeof o == "object" || typeof o == "function") for (let l of __getOwnPropNames(o)) !__hasOwnProp.call(e, l) && l !== s && __defProp(e, l, {
|
|
4
|
+
get: () => o[l],
|
|
5
|
+
enumerable: !(c = __getOwnPropDesc(o, l)) || c.enumerable
|
|
6
|
+
});
|
|
7
|
+
return e;
|
|
8
|
+
}, __reExport = (e, i, a) => (__copyProps(e, i, "default"), a && __copyProps(a, i, "default")), monaco_editor_core_exports = {};
|
|
9
|
+
__reExport(monaco_editor_core_exports, editor_api_exports);
|
|
10
|
+
var conf = {
|
|
11
|
+
comments: { blockComment: ["<!--", "-->"] },
|
|
12
|
+
brackets: [["<", ">"]],
|
|
13
|
+
autoClosingPairs: [
|
|
14
|
+
{
|
|
15
|
+
open: "<",
|
|
16
|
+
close: ">"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "'",
|
|
20
|
+
close: "'"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
open: "\"",
|
|
24
|
+
close: "\""
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
surroundingPairs: [
|
|
28
|
+
{
|
|
29
|
+
open: "<",
|
|
30
|
+
close: ">"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
open: "'",
|
|
34
|
+
close: "'"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
open: "\"",
|
|
38
|
+
close: "\""
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
onEnterRules: [{
|
|
42
|
+
beforeText: RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
43
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
44
|
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent }
|
|
45
|
+
}, {
|
|
46
|
+
beforeText: RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
47
|
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
|
48
|
+
}]
|
|
49
|
+
}, language = {
|
|
50
|
+
defaultToken: "",
|
|
51
|
+
tokenPostfix: ".xml",
|
|
52
|
+
ignoreCase: !0,
|
|
53
|
+
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
54
|
+
tokenizer: {
|
|
55
|
+
root: [
|
|
56
|
+
[/[^<&]+/, ""],
|
|
57
|
+
{ include: "@whitespace" },
|
|
58
|
+
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, {
|
|
59
|
+
token: "tag",
|
|
60
|
+
next: "@tag"
|
|
61
|
+
}]],
|
|
62
|
+
[/(<\/)(@qualifiedName)(\s*)(>)/, [
|
|
63
|
+
{ token: "delimiter" },
|
|
64
|
+
{ token: "tag" },
|
|
65
|
+
"",
|
|
66
|
+
{ token: "delimiter" }
|
|
67
|
+
]],
|
|
68
|
+
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, {
|
|
69
|
+
token: "metatag",
|
|
70
|
+
next: "@tag"
|
|
71
|
+
}]],
|
|
72
|
+
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, {
|
|
73
|
+
token: "metatag",
|
|
74
|
+
next: "@tag"
|
|
75
|
+
}]],
|
|
76
|
+
[/<\!\[CDATA\[/, {
|
|
77
|
+
token: "delimiter.cdata",
|
|
78
|
+
next: "@cdata"
|
|
79
|
+
}],
|
|
80
|
+
[/&\w+;/, "string.escape"]
|
|
81
|
+
],
|
|
82
|
+
cdata: [
|
|
83
|
+
[/[^\]]+/, ""],
|
|
84
|
+
[/\]\]>/, {
|
|
85
|
+
token: "delimiter.cdata",
|
|
86
|
+
next: "@pop"
|
|
87
|
+
}],
|
|
88
|
+
[/\]/, ""]
|
|
89
|
+
],
|
|
90
|
+
tag: [
|
|
91
|
+
[/[ \t\r\n]+/, ""],
|
|
92
|
+
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, [
|
|
93
|
+
"attribute.name",
|
|
94
|
+
"",
|
|
95
|
+
"attribute.value"
|
|
96
|
+
]],
|
|
97
|
+
[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/, [
|
|
98
|
+
"attribute.name",
|
|
99
|
+
"",
|
|
100
|
+
"attribute.value"
|
|
101
|
+
]],
|
|
102
|
+
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, [
|
|
103
|
+
"attribute.name",
|
|
104
|
+
"",
|
|
105
|
+
"attribute.value"
|
|
106
|
+
]],
|
|
107
|
+
[/@qualifiedName/, "attribute.name"],
|
|
108
|
+
[/\?>/, {
|
|
109
|
+
token: "delimiter",
|
|
110
|
+
next: "@pop"
|
|
111
|
+
}],
|
|
112
|
+
[/(\/)(>)/, [{ token: "tag" }, {
|
|
113
|
+
token: "delimiter",
|
|
114
|
+
next: "@pop"
|
|
115
|
+
}]],
|
|
116
|
+
[/>/, {
|
|
117
|
+
token: "delimiter",
|
|
118
|
+
next: "@pop"
|
|
119
|
+
}]
|
|
120
|
+
],
|
|
121
|
+
whitespace: [[/[ \t\r\n]+/, ""], [/<!--/, {
|
|
122
|
+
token: "comment",
|
|
123
|
+
next: "@comment"
|
|
124
|
+
}]],
|
|
125
|
+
comment: [
|
|
126
|
+
[/[^<\-]+/, "comment.content"],
|
|
127
|
+
[/-->/, {
|
|
128
|
+
token: "comment",
|
|
129
|
+
next: "@pop"
|
|
130
|
+
}],
|
|
131
|
+
[/<!--/, "comment.content.invalid"],
|
|
132
|
+
[/[<\-]/, "comment.content"]
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`),t=require(`./editor.api-lY2thcaq.cjs`);var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},s=(e,t,n)=>(o(e,t,`default`),n&&o(n,t,`default`)),c={};s(c,t.m);var l={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:c.languages.IndentAction.Indent}}]},u={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};exports.conf=l,exports.language=u;
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { m as editor_api_exports } from "./editor.api-CbUDOph7.js";
|
|
2
|
+
var __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (e, o, s, c) => {
|
|
3
|
+
if (o && typeof o == "object" || typeof o == "function") for (let l of __getOwnPropNames(o)) !__hasOwnProp.call(e, l) && l !== s && __defProp(e, l, {
|
|
4
|
+
get: () => o[l],
|
|
5
|
+
enumerable: !(c = __getOwnPropDesc(o, l)) || c.enumerable
|
|
6
|
+
});
|
|
7
|
+
return e;
|
|
8
|
+
}, __reExport = (e, i, a) => (__copyProps(e, i, "default"), a && __copyProps(a, i, "default")), monaco_editor_core_exports = {};
|
|
9
|
+
__reExport(monaco_editor_core_exports, editor_api_exports);
|
|
10
|
+
var conf = {
|
|
11
|
+
comments: { lineComment: "#" },
|
|
12
|
+
brackets: [
|
|
13
|
+
["{", "}"],
|
|
14
|
+
["[", "]"],
|
|
15
|
+
["(", ")"]
|
|
16
|
+
],
|
|
17
|
+
autoClosingPairs: [
|
|
18
|
+
{
|
|
19
|
+
open: "{",
|
|
20
|
+
close: "}"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
open: "[",
|
|
24
|
+
close: "]"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
open: "(",
|
|
28
|
+
close: ")"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
open: "\"",
|
|
32
|
+
close: "\""
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
open: "'",
|
|
36
|
+
close: "'"
|
|
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: { offSide: !0 },
|
|
62
|
+
onEnterRules: [{
|
|
63
|
+
beforeText: /:\s*$/,
|
|
64
|
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
|
65
|
+
}]
|
|
66
|
+
}, language = {
|
|
67
|
+
tokenPostfix: ".yaml",
|
|
68
|
+
brackets: [{
|
|
69
|
+
token: "delimiter.bracket",
|
|
70
|
+
open: "{",
|
|
71
|
+
close: "}"
|
|
72
|
+
}, {
|
|
73
|
+
token: "delimiter.square",
|
|
74
|
+
open: "[",
|
|
75
|
+
close: "]"
|
|
76
|
+
}],
|
|
77
|
+
keywords: [
|
|
78
|
+
"true",
|
|
79
|
+
"True",
|
|
80
|
+
"TRUE",
|
|
81
|
+
"false",
|
|
82
|
+
"False",
|
|
83
|
+
"FALSE",
|
|
84
|
+
"null",
|
|
85
|
+
"Null",
|
|
86
|
+
"Null",
|
|
87
|
+
"~"
|
|
88
|
+
],
|
|
89
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
90
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
91
|
+
numberOctal: /0o[0-7]+/,
|
|
92
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
|
93
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
94
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
95
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
96
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
97
|
+
tokenizer: {
|
|
98
|
+
root: [
|
|
99
|
+
{ include: "@whitespace" },
|
|
100
|
+
{ include: "@comment" },
|
|
101
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
|
102
|
+
[/---/, "operators.directivesEnd"],
|
|
103
|
+
[/\.{3}/, "operators.documentEnd"],
|
|
104
|
+
[/[-?:](?= )/, "operators"],
|
|
105
|
+
{ include: "@anchor" },
|
|
106
|
+
{ include: "@tagHandle" },
|
|
107
|
+
{ include: "@flowCollections" },
|
|
108
|
+
{ include: "@blockStyle" },
|
|
109
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
110
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
111
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
112
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
113
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
114
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
115
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
116
|
+
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, [
|
|
117
|
+
"type",
|
|
118
|
+
"white",
|
|
119
|
+
"operators",
|
|
120
|
+
"white"
|
|
121
|
+
]],
|
|
122
|
+
{ include: "@flowScalars" },
|
|
123
|
+
[/.+?(?=(\s+#|$))/, { cases: {
|
|
124
|
+
"@keywords": "keyword",
|
|
125
|
+
"@default": "string"
|
|
126
|
+
} }]
|
|
127
|
+
],
|
|
128
|
+
object: [
|
|
129
|
+
{ include: "@whitespace" },
|
|
130
|
+
{ include: "@comment" },
|
|
131
|
+
[
|
|
132
|
+
/\}/,
|
|
133
|
+
"@brackets",
|
|
134
|
+
"@pop"
|
|
135
|
+
],
|
|
136
|
+
[/,/, "delimiter.comma"],
|
|
137
|
+
[/:(?= )/, "operators"],
|
|
138
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
139
|
+
{ include: "@flowCollections" },
|
|
140
|
+
{ include: "@flowScalars" },
|
|
141
|
+
{ include: "@tagHandle" },
|
|
142
|
+
{ include: "@anchor" },
|
|
143
|
+
{ include: "@flowNumber" },
|
|
144
|
+
[/[^\},]+/, { cases: {
|
|
145
|
+
"@keywords": "keyword",
|
|
146
|
+
"@default": "string"
|
|
147
|
+
} }]
|
|
148
|
+
],
|
|
149
|
+
array: [
|
|
150
|
+
{ include: "@whitespace" },
|
|
151
|
+
{ include: "@comment" },
|
|
152
|
+
[
|
|
153
|
+
/\]/,
|
|
154
|
+
"@brackets",
|
|
155
|
+
"@pop"
|
|
156
|
+
],
|
|
157
|
+
[/,/, "delimiter.comma"],
|
|
158
|
+
{ include: "@flowCollections" },
|
|
159
|
+
{ include: "@flowScalars" },
|
|
160
|
+
{ include: "@tagHandle" },
|
|
161
|
+
{ include: "@anchor" },
|
|
162
|
+
{ include: "@flowNumber" },
|
|
163
|
+
[/[^\],]+/, { cases: {
|
|
164
|
+
"@keywords": "keyword",
|
|
165
|
+
"@default": "string"
|
|
166
|
+
} }]
|
|
167
|
+
],
|
|
168
|
+
multiString: [[
|
|
169
|
+
/^( +).+$/,
|
|
170
|
+
"string",
|
|
171
|
+
"@multiStringContinued.$1"
|
|
172
|
+
]],
|
|
173
|
+
multiStringContinued: [[/^( *).+$/, { cases: {
|
|
174
|
+
"$1==$S2": "string",
|
|
175
|
+
"@default": {
|
|
176
|
+
token: "@rematch",
|
|
177
|
+
next: "@popall"
|
|
178
|
+
}
|
|
179
|
+
} }]],
|
|
180
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
181
|
+
comment: [[/#.*$/, "comment"]],
|
|
182
|
+
flowCollections: [[
|
|
183
|
+
/\[/,
|
|
184
|
+
"@brackets",
|
|
185
|
+
"@array"
|
|
186
|
+
], [
|
|
187
|
+
/\{/,
|
|
188
|
+
"@brackets",
|
|
189
|
+
"@object"
|
|
190
|
+
]],
|
|
191
|
+
flowScalars: [
|
|
192
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
193
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
194
|
+
[/'[^']*'/, "string"],
|
|
195
|
+
[
|
|
196
|
+
/"/,
|
|
197
|
+
"string",
|
|
198
|
+
"@doubleQuotedString"
|
|
199
|
+
]
|
|
200
|
+
],
|
|
201
|
+
doubleQuotedString: [
|
|
202
|
+
[/[^\\"]+/, "string"],
|
|
203
|
+
[/@escapes/, "string.escape"],
|
|
204
|
+
[/\\./, "string.escape.invalid"],
|
|
205
|
+
[
|
|
206
|
+
/"/,
|
|
207
|
+
"string",
|
|
208
|
+
"@pop"
|
|
209
|
+
]
|
|
210
|
+
],
|
|
211
|
+
blockStyle: [[
|
|
212
|
+
/[>|][0-9]*[+-]?$/,
|
|
213
|
+
"operators",
|
|
214
|
+
"@multiString"
|
|
215
|
+
]],
|
|
216
|
+
flowNumber: [
|
|
217
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
218
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
219
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
220
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
221
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
222
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
223
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
224
|
+
],
|
|
225
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
226
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`),t=require(`./editor.api-lY2thcaq.cjs`);var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},s=(e,t,n)=>(o(e,t,`default`),n&&o(n,t,`default`)),c={};s(c,t.m);var l={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:c.languages.IndentAction.Indent}}]},u={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};exports.conf=l,exports.language=u;
|