@dronico/droni-kit 1.7.1 → 1.7.2
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/CHANGELOG.md +7 -0
- package/dist/droni-kit.cjs.js +1009 -1
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +76246 -7
- package/package.json +2 -1
- package/src/lib/userWorker.ts +28 -0
- package/dist/abap-CrVaG5QI.cjs +0 -6
- package/dist/abap-D0Neqhq6.js +0 -1404
- package/dist/apex-B5LhxkeG.js +0 -332
- package/dist/apex-CGiaaokt.cjs +0 -6
- package/dist/assets/css.worker-DNgQEC96.js +0 -84
- package/dist/assets/editor.worker-BKD3YLiN.js +0 -12
- package/dist/assets/html.worker-B7xpmB-M.js +0 -461
- package/dist/assets/json.worker-td2JV8fN.js +0 -49
- package/dist/assets/ts.worker-CqZGdM85.js +0 -51334
- package/dist/azcli-BrBH0QTU.js +0 -74
- package/dist/azcli-CCWOS89X.cjs +0 -6
- package/dist/bat-BfzAov64.js +0 -106
- package/dist/bat-dplVPQ-_.cjs +0 -6
- package/dist/bicep-C3bCSWel.js +0 -108
- package/dist/bicep-Q9zrsOvk.cjs +0 -7
- package/dist/cameligo-Dr5j7v0u.cjs +0 -6
- package/dist/cameligo-sFL5plcd.js +0 -180
- package/dist/clojure-CfeExRz0.js +0 -767
- package/dist/clojure-DPJGbZtj.cjs +0 -6
- package/dist/coffee-CUV2cHk6.cjs +0 -6
- package/dist/coffee-Xws5K0WL.js +0 -238
- package/dist/cpp-CqOUEpxN.js +0 -395
- package/dist/cpp-DyuKq4fH.cjs +0 -6
- package/dist/csharp-DVLiBOZb.js +0 -332
- package/dist/csharp-d4dFAWKM.cjs +0 -6
- package/dist/csp-DVFp9bw5.js +0 -59
- package/dist/csp-Lc8LbON9.cjs +0 -6
- package/dist/css-D8IzNaWL.cjs +0 -8
- package/dist/css-DwARn2R6.js +0 -193
- package/dist/cssMode-D0PukUmd.cjs +0 -9
- package/dist/cssMode-Du43A21C.js +0 -1577
- package/dist/cypher-BuSmvVBI.cjs +0 -6
- package/dist/cypher-uY0Mffat.js +0 -269
- package/dist/dart-D27H-mX_.js +0 -287
- package/dist/dart-d-sZXKUo.cjs +0 -6
- package/dist/dockerfile-CmV85WZK.js +0 -136
- package/dist/dockerfile-OepqCuVM.cjs +0 -6
- package/dist/ecl--fKn7yzB.js +0 -462
- package/dist/ecl-GFERKf5i.cjs +0 -6
- package/dist/elixir-9a1efda4.cjs +0 -6
- package/dist/elixir-DUhH17ON.js +0 -575
- package/dist/flow9-B3Dx2LLe.js +0 -148
- package/dist/flow9-DsqME3Wt.cjs +0 -6
- package/dist/freemarker2-1UJaMH81.cjs +0 -8
- package/dist/freemarker2-Dk0InkSr.js +0 -995
- package/dist/fsharp-DtZL2hil.cjs +0 -6
- package/dist/fsharp-SyqBfUAR.js +0 -223
- package/dist/go-B11TqKJA.cjs +0 -6
- package/dist/go-BbMR2tdT.js +0 -224
- package/dist/graphql-DDJE6tIl.js +0 -157
- package/dist/graphql-DrfV554J.cjs +0 -6
- package/dist/handlebars-B6yxwh_E.js +0 -425
- package/dist/handlebars-BsquPhJ9.cjs +0 -6
- package/dist/hcl-B0mc1H5M.cjs +0 -6
- package/dist/hcl-YBvpaUqf.js +0 -189
- package/dist/html-BFr-2oOA.cjs +0 -6
- package/dist/html-f6aGICez.js +0 -314
- package/dist/htmlMode-CzFrQYZ2.cjs +0 -9
- package/dist/htmlMode-UPYY1BnW.js +0 -1587
- package/dist/index-DtmwZuP7.cjs +0 -1504
- package/dist/index-PmTMOZ_S.js +0 -113180
- package/dist/ini-Ct73dBtM.js +0 -77
- package/dist/ini-ymhBH5HG.cjs +0 -6
- package/dist/java-C_jlkwoG.js +0 -238
- package/dist/java-D4zTn_HA.cjs +0 -6
- package/dist/javascript-CrX_BElh.cjs +0 -6
- package/dist/javascript-Db7f2nJk.js +0 -76
- package/dist/jsonMode-BOrZKzwV.cjs +0 -15
- package/dist/jsonMode-DaVCjj8S.js +0 -2002
- package/dist/julia-D8WE5U1e.js +0 -517
- package/dist/julia-Dp7_oxTx.cjs +0 -6
- package/dist/kotlin-DN07yPPp.cjs +0 -6
- package/dist/kotlin-Zy9aq5yB.js +0 -259
- package/dist/less-CtJmsSxx.cjs +0 -7
- package/dist/less-sZ0iHtE8.js +0 -168
- package/dist/lexon-BH122-aN.cjs +0 -6
- package/dist/lexon-CsdNL29A.js +0 -163
- package/dist/liquid-D6hbj5VF.js +0 -246
- package/dist/liquid-iieNhAfp.cjs +0 -6
- package/dist/lua-C2YJo0zw.js +0 -168
- package/dist/lua-DF1giqni.cjs +0 -6
- package/dist/m3-BSVLgJdx.cjs +0 -6
- package/dist/m3-CPLP40SG.js +0 -216
- package/dist/markdown-B1mf5e0R.js +0 -235
- package/dist/markdown-DqkJT7wW.cjs +0 -6
- package/dist/mdx-BMe8B3fI.js +0 -171
- package/dist/mdx-qMSWYYI6.cjs +0 -6
- package/dist/mips-DA33BZX1.js +0 -204
- package/dist/mips-HcsFOvwE.cjs +0 -6
- package/dist/msdax-CCYFIQsP.js +0 -381
- package/dist/msdax-D8wkgf9t.cjs +0 -6
- package/dist/mysql-D1qSUjcB.cjs +0 -6
- package/dist/mysql-hjmIjL-D.js +0 -884
- package/dist/objective-c-BcY1nQEp.cjs +0 -6
- package/dist/objective-c-RRCpEmqC.js +0 -189
- package/dist/pascal-C6VID8iC.cjs +0 -6
- package/dist/pascal-CeV8XfxB.js +0 -257
- package/dist/pascaligo-CtEkUcZy.cjs +0 -6
- package/dist/pascaligo-IEEGVJAJ.js +0 -170
- package/dist/perl-B5-QbHq_.js +0 -632
- package/dist/perl-BS5MoSit.cjs +0 -6
- package/dist/pgsql-DSQqzbUN.cjs +0 -6
- package/dist/pgsql-s6kqEJmi.js +0 -857
- package/dist/php-CWWqzOo8.js +0 -506
- package/dist/php-Dcbv8it3.cjs +0 -6
- package/dist/pla-BKGu3P8x.cjs +0 -6
- package/dist/pla-FSvb_YP_.js +0 -143
- package/dist/postiats-DQdscQXO.js +0 -913
- package/dist/postiats-lASv8P6N.cjs +0 -6
- package/dist/powerquery-BuqmBiPU.cjs +0 -6
- package/dist/powerquery-CtA5JA1I.js +0 -896
- package/dist/powershell-CtRTGCOm.cjs +0 -6
- package/dist/powershell-DglEq96N.js +0 -245
- package/dist/protobuf-BSepub3e.js +0 -426
- package/dist/protobuf-Dk87ns3u.cjs +0 -7
- package/dist/pug-B1847F4G.js +0 -408
- package/dist/pug-CVbk24PQ.cjs +0 -6
- package/dist/python-6NTI0P8L.cjs +0 -6
- package/dist/python-DYJ5KBY8.js +0 -307
- package/dist/qsharp-BSix4Z0w.cjs +0 -6
- package/dist/qsharp-D4i0Nqg9.js +0 -307
- package/dist/r-CSIGVqGj.cjs +0 -6
- package/dist/r-cdRigKxa.js +0 -249
- package/dist/razor-DTGSph_M.cjs +0 -6
- package/dist/razor-vu8agLTc.js +0 -556
- package/dist/redis-1SUKo9jD.cjs +0 -6
- package/dist/redis-D9MFxvE8.js +0 -308
- package/dist/redshift-BS1FVf13.cjs +0 -6
- package/dist/redshift-CmCnsvL-.js +0 -815
- package/dist/restructuredtext-CWy8J51t.js +0 -180
- package/dist/restructuredtext-DU-k0-PC.cjs +0 -6
- package/dist/ruby-WP-c36m5.js +0 -517
- package/dist/ruby-aigiByO4.cjs +0 -6
- package/dist/rust-Q9FLdYpu.js +0 -349
- package/dist/rust-adCJoS28.cjs +0 -6
- package/dist/sb-C54-JBGT.js +0 -121
- package/dist/sb-CiUR99st.cjs +0 -6
- package/dist/scala-CzbFImc5.js +0 -376
- package/dist/scala-Tb5I4vBh.cjs +0 -6
- package/dist/scheme-BMUadJWp.cjs +0 -6
- package/dist/scheme-BhfDmYN3.js +0 -114
- package/dist/scss-BICI8Lvl.cjs +0 -8
- package/dist/scss-CEmiBXpS.js +0 -268
- package/dist/shell-BUjduzW4.cjs +0 -6
- package/dist/shell-Bmc1VhG0.js +0 -227
- package/dist/solidity-C9Q2I8Hh.js +0 -1373
- package/dist/solidity-DFZoFjgL.cjs +0 -6
- package/dist/sophia-B_a5zu_Y.cjs +0 -6
- package/dist/sophia-jWa1UyKz.js +0 -205
- package/dist/sparql-C-N2tZtn.cjs +0 -6
- package/dist/sparql-CM7jctbc.js +0 -207
- package/dist/sql-CVdEafkq.cjs +0 -6
- package/dist/sql-WzihTkbg.js +0 -859
- package/dist/st-2HB7Hiwr.cjs +0 -6
- package/dist/st-6y7_3aup.js +0 -422
- package/dist/swift-k-0zxG_D.js +0 -318
- package/dist/swift-xGTYXUAm.cjs +0 -8
- package/dist/systemverilog-BaPbkNTu.cjs +0 -6
- package/dist/systemverilog-Pnr5_rIP.js +0 -582
- package/dist/tcl-SSKta9Un.cjs +0 -6
- package/dist/tcl-fNPXval8.js +0 -238
- package/dist/tsMode-Cq-TB0Zh.cjs +0 -16
- package/dist/tsMode-DtTVXviV.js +0 -895
- package/dist/twig-ByEpcNlL.cjs +0 -6
- package/dist/twig-L2MkztkV.js +0 -398
- package/dist/typescript-DkPOh7XM.cjs +0 -6
- package/dist/typescript-dqhZmRKV.js +0 -349
- package/dist/typespec-Bxe2hBLx.cjs +0 -6
- package/dist/typespec-Cqqo-3Pt.js +0 -123
- package/dist/vb-B5YC2xN9.js +0 -378
- package/dist/vb-m8wPqU1B.cjs +0 -6
- package/dist/wgsl-B-_uRex7.js +0 -445
- package/dist/wgsl-CPwT7Vox.cjs +0 -303
- package/dist/xml-BtUeihiJ.js +0 -101
- package/dist/xml-YdNboMI4.cjs +0 -6
- package/dist/yaml-BU5Dvi5F.cjs +0 -6
- package/dist/yaml-xY7wiKLR.js +0 -212
package/dist/wgsl-CPwT7Vox.cjs
DELETED
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var s={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function e(i){let o=[];const a=i.split(/\t+|\r+|\n+| +/);for(let r=0;r<a.length;++r)a[r].length>0&&o.push(a[r]);return o}var c=e("true false"),m=e(`
|
|
7
|
-
alias
|
|
8
|
-
break
|
|
9
|
-
case
|
|
10
|
-
const
|
|
11
|
-
const_assert
|
|
12
|
-
continue
|
|
13
|
-
continuing
|
|
14
|
-
default
|
|
15
|
-
diagnostic
|
|
16
|
-
discard
|
|
17
|
-
else
|
|
18
|
-
enable
|
|
19
|
-
fn
|
|
20
|
-
for
|
|
21
|
-
if
|
|
22
|
-
let
|
|
23
|
-
loop
|
|
24
|
-
override
|
|
25
|
-
requires
|
|
26
|
-
return
|
|
27
|
-
struct
|
|
28
|
-
switch
|
|
29
|
-
var
|
|
30
|
-
while
|
|
31
|
-
`),l=e(`
|
|
32
|
-
NULL
|
|
33
|
-
Self
|
|
34
|
-
abstract
|
|
35
|
-
active
|
|
36
|
-
alignas
|
|
37
|
-
alignof
|
|
38
|
-
as
|
|
39
|
-
asm
|
|
40
|
-
asm_fragment
|
|
41
|
-
async
|
|
42
|
-
attribute
|
|
43
|
-
auto
|
|
44
|
-
await
|
|
45
|
-
become
|
|
46
|
-
binding_array
|
|
47
|
-
cast
|
|
48
|
-
catch
|
|
49
|
-
class
|
|
50
|
-
co_await
|
|
51
|
-
co_return
|
|
52
|
-
co_yield
|
|
53
|
-
coherent
|
|
54
|
-
column_major
|
|
55
|
-
common
|
|
56
|
-
compile
|
|
57
|
-
compile_fragment
|
|
58
|
-
concept
|
|
59
|
-
const_cast
|
|
60
|
-
consteval
|
|
61
|
-
constexpr
|
|
62
|
-
constinit
|
|
63
|
-
crate
|
|
64
|
-
debugger
|
|
65
|
-
decltype
|
|
66
|
-
delete
|
|
67
|
-
demote
|
|
68
|
-
demote_to_helper
|
|
69
|
-
do
|
|
70
|
-
dynamic_cast
|
|
71
|
-
enum
|
|
72
|
-
explicit
|
|
73
|
-
export
|
|
74
|
-
extends
|
|
75
|
-
extern
|
|
76
|
-
external
|
|
77
|
-
fallthrough
|
|
78
|
-
filter
|
|
79
|
-
final
|
|
80
|
-
finally
|
|
81
|
-
friend
|
|
82
|
-
from
|
|
83
|
-
fxgroup
|
|
84
|
-
get
|
|
85
|
-
goto
|
|
86
|
-
groupshared
|
|
87
|
-
highp
|
|
88
|
-
impl
|
|
89
|
-
implements
|
|
90
|
-
import
|
|
91
|
-
inline
|
|
92
|
-
instanceof
|
|
93
|
-
interface
|
|
94
|
-
layout
|
|
95
|
-
lowp
|
|
96
|
-
macro
|
|
97
|
-
macro_rules
|
|
98
|
-
match
|
|
99
|
-
mediump
|
|
100
|
-
meta
|
|
101
|
-
mod
|
|
102
|
-
module
|
|
103
|
-
move
|
|
104
|
-
mut
|
|
105
|
-
mutable
|
|
106
|
-
namespace
|
|
107
|
-
new
|
|
108
|
-
nil
|
|
109
|
-
noexcept
|
|
110
|
-
noinline
|
|
111
|
-
nointerpolation
|
|
112
|
-
noperspective
|
|
113
|
-
null
|
|
114
|
-
nullptr
|
|
115
|
-
of
|
|
116
|
-
operator
|
|
117
|
-
package
|
|
118
|
-
packoffset
|
|
119
|
-
partition
|
|
120
|
-
pass
|
|
121
|
-
patch
|
|
122
|
-
pixelfragment
|
|
123
|
-
precise
|
|
124
|
-
precision
|
|
125
|
-
premerge
|
|
126
|
-
priv
|
|
127
|
-
protected
|
|
128
|
-
pub
|
|
129
|
-
public
|
|
130
|
-
readonly
|
|
131
|
-
ref
|
|
132
|
-
regardless
|
|
133
|
-
register
|
|
134
|
-
reinterpret_cast
|
|
135
|
-
require
|
|
136
|
-
resource
|
|
137
|
-
restrict
|
|
138
|
-
self
|
|
139
|
-
set
|
|
140
|
-
shared
|
|
141
|
-
sizeof
|
|
142
|
-
smooth
|
|
143
|
-
snorm
|
|
144
|
-
static
|
|
145
|
-
static_assert
|
|
146
|
-
static_cast
|
|
147
|
-
std
|
|
148
|
-
subroutine
|
|
149
|
-
super
|
|
150
|
-
target
|
|
151
|
-
template
|
|
152
|
-
this
|
|
153
|
-
thread_local
|
|
154
|
-
throw
|
|
155
|
-
trait
|
|
156
|
-
try
|
|
157
|
-
type
|
|
158
|
-
typedef
|
|
159
|
-
typeid
|
|
160
|
-
typename
|
|
161
|
-
typeof
|
|
162
|
-
union
|
|
163
|
-
unless
|
|
164
|
-
unorm
|
|
165
|
-
unsafe
|
|
166
|
-
unsized
|
|
167
|
-
use
|
|
168
|
-
using
|
|
169
|
-
varying
|
|
170
|
-
virtual
|
|
171
|
-
volatile
|
|
172
|
-
wgsl
|
|
173
|
-
where
|
|
174
|
-
with
|
|
175
|
-
writeonly
|
|
176
|
-
yield
|
|
177
|
-
`),u=e(`
|
|
178
|
-
read write read_write
|
|
179
|
-
function private workgroup uniform storage
|
|
180
|
-
perspective linear flat
|
|
181
|
-
center centroid sample
|
|
182
|
-
vertex_index instance_index position front_facing frag_depth
|
|
183
|
-
local_invocation_id local_invocation_index
|
|
184
|
-
global_invocation_id workgroup_id num_workgroups
|
|
185
|
-
sample_index sample_mask
|
|
186
|
-
rgba8unorm
|
|
187
|
-
rgba8snorm
|
|
188
|
-
rgba8uint
|
|
189
|
-
rgba8sint
|
|
190
|
-
rgba16uint
|
|
191
|
-
rgba16sint
|
|
192
|
-
rgba16float
|
|
193
|
-
r32uint
|
|
194
|
-
r32sint
|
|
195
|
-
r32float
|
|
196
|
-
rg32uint
|
|
197
|
-
rg32sint
|
|
198
|
-
rg32float
|
|
199
|
-
rgba32uint
|
|
200
|
-
rgba32sint
|
|
201
|
-
rgba32float
|
|
202
|
-
bgra8unorm
|
|
203
|
-
`),p=e(`
|
|
204
|
-
bool
|
|
205
|
-
f16
|
|
206
|
-
f32
|
|
207
|
-
i32
|
|
208
|
-
sampler sampler_comparison
|
|
209
|
-
texture_depth_2d
|
|
210
|
-
texture_depth_2d_array
|
|
211
|
-
texture_depth_cube
|
|
212
|
-
texture_depth_cube_array
|
|
213
|
-
texture_depth_multisampled_2d
|
|
214
|
-
texture_external
|
|
215
|
-
texture_external
|
|
216
|
-
u32
|
|
217
|
-
`),d=e(`
|
|
218
|
-
array
|
|
219
|
-
atomic
|
|
220
|
-
mat2x2
|
|
221
|
-
mat2x3
|
|
222
|
-
mat2x4
|
|
223
|
-
mat3x2
|
|
224
|
-
mat3x3
|
|
225
|
-
mat3x4
|
|
226
|
-
mat4x2
|
|
227
|
-
mat4x3
|
|
228
|
-
mat4x4
|
|
229
|
-
ptr
|
|
230
|
-
texture_1d
|
|
231
|
-
texture_2d
|
|
232
|
-
texture_2d_array
|
|
233
|
-
texture_3d
|
|
234
|
-
texture_cube
|
|
235
|
-
texture_cube_array
|
|
236
|
-
texture_multisampled_2d
|
|
237
|
-
texture_storage_1d
|
|
238
|
-
texture_storage_2d
|
|
239
|
-
texture_storage_2d_array
|
|
240
|
-
texture_storage_3d
|
|
241
|
-
vec2
|
|
242
|
-
vec3
|
|
243
|
-
vec4
|
|
244
|
-
`),x=e(`
|
|
245
|
-
vec2i vec3i vec4i
|
|
246
|
-
vec2u vec3u vec4u
|
|
247
|
-
vec2f vec3f vec4f
|
|
248
|
-
vec2h vec3h vec4h
|
|
249
|
-
mat2x2f mat2x3f mat2x4f
|
|
250
|
-
mat3x2f mat3x3f mat3x4f
|
|
251
|
-
mat4x2f mat4x3f mat4x4f
|
|
252
|
-
mat2x2h mat2x3h mat2x4h
|
|
253
|
-
mat3x2h mat3x3h mat3x4h
|
|
254
|
-
mat4x2h mat4x3h mat4x4h
|
|
255
|
-
`),f=e(`
|
|
256
|
-
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
257
|
-
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
258
|
-
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
259
|
-
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
260
|
-
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
261
|
-
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
262
|
-
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
263
|
-
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
264
|
-
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
265
|
-
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
266
|
-
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
267
|
-
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
268
|
-
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
269
|
-
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
270
|
-
workgroupUniformLoad
|
|
271
|
-
`),_=e(`
|
|
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
|
-
&=
|
|
299
|
-
|=
|
|
300
|
-
^=
|
|
301
|
-
>>=
|
|
302
|
-
<<=
|
|
303
|
-
`),g=/enable|requires|diagnostic/,n=new RegExp("[_\\p{XID_Start}]\\p{XID_Continue}*","u"),t="variable.predefined",h={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:c,keywords:m,reserved:l,predeclared_enums:u,predeclared_types:p,predeclared_type_generators:d,predeclared_type_aliases:x,predeclared_intrinsics:f,operators:_,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[g,"keyword","@directive"],[n,{cases:{"@atoms":t,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":t,"@predeclared_types":t,"@predeclared_type_generators":t,"@predeclared_type_aliases":t,"@predeclared_intrinsics":t,"@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"],[n,"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=s;exports.language=h;
|
package/dist/xml-BtUeihiJ.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { m as r } from "./index-PmTMOZ_S.js";
|
|
2
|
-
/*!-----------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
|
-
* Released under the MIT license
|
|
6
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
-
*-----------------------------------------------------------------------------*/
|
|
8
|
-
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, i) => {
|
|
9
|
-
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
-
for (let n of l(e))
|
|
11
|
-
!d.call(t, n) && n !== o && m(t, n, { get: () => e[n], enumerable: !(i = c(e, n)) || i.enumerable });
|
|
12
|
-
return t;
|
|
13
|
-
}, s = (t, e, o) => (p(t, e, "default"), o), a = {};
|
|
14
|
-
s(a, r);
|
|
15
|
-
var g = {
|
|
16
|
-
comments: {
|
|
17
|
-
blockComment: ["<!--", "-->"]
|
|
18
|
-
},
|
|
19
|
-
brackets: [["<", ">"]],
|
|
20
|
-
autoClosingPairs: [
|
|
21
|
-
{ open: "<", close: ">" },
|
|
22
|
-
{ open: "'", close: "'" },
|
|
23
|
-
{ open: '"', close: '"' }
|
|
24
|
-
],
|
|
25
|
-
surroundingPairs: [
|
|
26
|
-
{ open: "<", close: ">" },
|
|
27
|
-
{ open: "'", close: "'" },
|
|
28
|
-
{ open: '"', close: '"' }
|
|
29
|
-
],
|
|
30
|
-
onEnterRules: [
|
|
31
|
-
{
|
|
32
|
-
beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
33
|
-
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
34
|
-
action: {
|
|
35
|
-
indentAction: a.languages.IndentAction.IndentOutdent
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
40
|
-
action: { indentAction: a.languages.IndentAction.Indent }
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
}, k = {
|
|
44
|
-
defaultToken: "",
|
|
45
|
-
tokenPostfix: ".xml",
|
|
46
|
-
ignoreCase: !0,
|
|
47
|
-
// Useful regular expressions
|
|
48
|
-
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
49
|
-
tokenizer: {
|
|
50
|
-
root: [
|
|
51
|
-
[/[^<&]+/, ""],
|
|
52
|
-
{ include: "@whitespace" },
|
|
53
|
-
// Standard opening tag
|
|
54
|
-
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
|
|
55
|
-
// Standard closing tag
|
|
56
|
-
[
|
|
57
|
-
/(<\/)(@qualifiedName)(\s*)(>)/,
|
|
58
|
-
[{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
|
|
59
|
-
],
|
|
60
|
-
// Meta tags - instruction
|
|
61
|
-
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
62
|
-
// Meta tags - declaration
|
|
63
|
-
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
64
|
-
// CDATA
|
|
65
|
-
[/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
|
|
66
|
-
[/&\w+;/, "string.escape"]
|
|
67
|
-
],
|
|
68
|
-
cdata: [
|
|
69
|
-
[/[^\]]+/, ""],
|
|
70
|
-
[/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
|
|
71
|
-
[/\]/, ""]
|
|
72
|
-
],
|
|
73
|
-
tag: [
|
|
74
|
-
[/[ \t\r\n]+/, ""],
|
|
75
|
-
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
|
|
76
|
-
[
|
|
77
|
-
/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
|
|
78
|
-
["attribute.name", "", "attribute.value"]
|
|
79
|
-
],
|
|
80
|
-
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
|
|
81
|
-
[/@qualifiedName/, "attribute.name"],
|
|
82
|
-
[/\?>/, { token: "delimiter", next: "@pop" }],
|
|
83
|
-
[/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
|
|
84
|
-
[/>/, { token: "delimiter", next: "@pop" }]
|
|
85
|
-
],
|
|
86
|
-
whitespace: [
|
|
87
|
-
[/[ \t\r\n]+/, ""],
|
|
88
|
-
[/<!--/, { token: "comment", next: "@comment" }]
|
|
89
|
-
],
|
|
90
|
-
comment: [
|
|
91
|
-
[/[^<\-]+/, "comment.content"],
|
|
92
|
-
[/-->/, { token: "comment", next: "@pop" }],
|
|
93
|
-
[/<!--/, "comment.content.invalid"],
|
|
94
|
-
[/[<\-]/, "comment.content"]
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
export {
|
|
99
|
-
g as conf,
|
|
100
|
-
k as language
|
|
101
|
-
};
|
package/dist/xml-YdNboMI4.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-DtmwZuP7.cjs");/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,s=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of m(e))!d.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(i=l(e,n))||i.enumerable});return t},u=(t,e,o)=>(s(t,e,"default"),o),a={};u(a,r.monaco_editor_core_star);var p={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},g={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=p;exports.language=g;
|
package/dist/yaml-BU5Dvi5F.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-DtmwZuP7.cjs");/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var i=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,d=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of u(e))!s.call(n,t)&&t!==r&&i(n,t,{get:()=>e[t],enumerable:!(o=c(e,t))||o.enumerable});return n},m=(n,e,r)=>(d(n,e,"default"),r),a={};m(a,l.monaco_editor_core_star);var b={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:a.languages.IndentAction.Indent}}]},p={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=b;exports.language=p;
|
package/dist/yaml-xY7wiKLR.js
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { m as l } from "./index-PmTMOZ_S.js";
|
|
2
|
-
/*!-----------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
|
-
* Released under the MIT license
|
|
6
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
-
*-----------------------------------------------------------------------------*/
|
|
8
|
-
var i = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, s = Object.prototype.hasOwnProperty, d = (n, e, r, o) => {
|
|
9
|
-
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
-
for (let t of u(e))
|
|
11
|
-
!s.call(n, t) && t !== r && i(n, t, { get: () => e[t], enumerable: !(o = c(e, t)) || o.enumerable });
|
|
12
|
-
return n;
|
|
13
|
-
}, m = (n, e, r) => (d(n, e, "default"), r), a = {};
|
|
14
|
-
m(a, l);
|
|
15
|
-
var p = {
|
|
16
|
-
comments: {
|
|
17
|
-
lineComment: "#"
|
|
18
|
-
},
|
|
19
|
-
brackets: [
|
|
20
|
-
["{", "}"],
|
|
21
|
-
["[", "]"],
|
|
22
|
-
["(", ")"]
|
|
23
|
-
],
|
|
24
|
-
autoClosingPairs: [
|
|
25
|
-
{ open: "{", close: "}" },
|
|
26
|
-
{ open: "[", close: "]" },
|
|
27
|
-
{ open: "(", close: ")" },
|
|
28
|
-
{ open: '"', close: '"' },
|
|
29
|
-
{ open: "'", close: "'" }
|
|
30
|
-
],
|
|
31
|
-
surroundingPairs: [
|
|
32
|
-
{ open: "{", close: "}" },
|
|
33
|
-
{ open: "[", close: "]" },
|
|
34
|
-
{ open: "(", close: ")" },
|
|
35
|
-
{ open: '"', close: '"' },
|
|
36
|
-
{ open: "'", close: "'" }
|
|
37
|
-
],
|
|
38
|
-
folding: {
|
|
39
|
-
offSide: !0
|
|
40
|
-
},
|
|
41
|
-
onEnterRules: [
|
|
42
|
-
{
|
|
43
|
-
beforeText: /:\s*$/,
|
|
44
|
-
action: {
|
|
45
|
-
indentAction: a.languages.IndentAction.Indent
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}, f = {
|
|
50
|
-
tokenPostfix: ".yaml",
|
|
51
|
-
brackets: [
|
|
52
|
-
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
53
|
-
{ token: "delimiter.square", open: "[", close: "]" }
|
|
54
|
-
],
|
|
55
|
-
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
56
|
-
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
57
|
-
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
58
|
-
numberOctal: /0o[0-7]+/,
|
|
59
|
-
numberHex: /0x[0-9a-fA-F]+/,
|
|
60
|
-
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
61
|
-
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
62
|
-
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
63
|
-
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
64
|
-
tokenizer: {
|
|
65
|
-
root: [
|
|
66
|
-
{ include: "@whitespace" },
|
|
67
|
-
{ include: "@comment" },
|
|
68
|
-
// Directive
|
|
69
|
-
[/%[^ ]+.*$/, "meta.directive"],
|
|
70
|
-
// Document Markers
|
|
71
|
-
[/---/, "operators.directivesEnd"],
|
|
72
|
-
[/\.{3}/, "operators.documentEnd"],
|
|
73
|
-
// Block Structure Indicators
|
|
74
|
-
[/[-?:](?= )/, "operators"],
|
|
75
|
-
{ include: "@anchor" },
|
|
76
|
-
{ include: "@tagHandle" },
|
|
77
|
-
{ include: "@flowCollections" },
|
|
78
|
-
{ include: "@blockStyle" },
|
|
79
|
-
// Numbers
|
|
80
|
-
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
81
|
-
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
82
|
-
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
83
|
-
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
84
|
-
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
85
|
-
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
86
|
-
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
87
|
-
// Key:Value pair
|
|
88
|
-
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
89
|
-
{ include: "@flowScalars" },
|
|
90
|
-
// String nodes
|
|
91
|
-
[
|
|
92
|
-
/.+?(?=(\s+#|$))/,
|
|
93
|
-
{
|
|
94
|
-
cases: {
|
|
95
|
-
"@keywords": "keyword",
|
|
96
|
-
"@default": "string"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
],
|
|
101
|
-
// Flow Collection: Flow Mapping
|
|
102
|
-
object: [
|
|
103
|
-
{ include: "@whitespace" },
|
|
104
|
-
{ include: "@comment" },
|
|
105
|
-
// Flow Mapping termination
|
|
106
|
-
[/\}/, "@brackets", "@pop"],
|
|
107
|
-
// Flow Mapping delimiter
|
|
108
|
-
[/,/, "delimiter.comma"],
|
|
109
|
-
// Flow Mapping Key:Value delimiter
|
|
110
|
-
[/:(?= )/, "operators"],
|
|
111
|
-
// Flow Mapping Key:Value key
|
|
112
|
-
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
113
|
-
// Start Flow Style
|
|
114
|
-
{ include: "@flowCollections" },
|
|
115
|
-
{ include: "@flowScalars" },
|
|
116
|
-
// Scalar Data types
|
|
117
|
-
{ include: "@tagHandle" },
|
|
118
|
-
{ include: "@anchor" },
|
|
119
|
-
{ include: "@flowNumber" },
|
|
120
|
-
// Other value (keyword or string)
|
|
121
|
-
[
|
|
122
|
-
/[^\},]+/,
|
|
123
|
-
{
|
|
124
|
-
cases: {
|
|
125
|
-
"@keywords": "keyword",
|
|
126
|
-
"@default": "string"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
],
|
|
131
|
-
// Flow Collection: Flow Sequence
|
|
132
|
-
array: [
|
|
133
|
-
{ include: "@whitespace" },
|
|
134
|
-
{ include: "@comment" },
|
|
135
|
-
// Flow Sequence termination
|
|
136
|
-
[/\]/, "@brackets", "@pop"],
|
|
137
|
-
// Flow Sequence delimiter
|
|
138
|
-
[/,/, "delimiter.comma"],
|
|
139
|
-
// Start Flow Style
|
|
140
|
-
{ include: "@flowCollections" },
|
|
141
|
-
{ include: "@flowScalars" },
|
|
142
|
-
// Scalar Data types
|
|
143
|
-
{ include: "@tagHandle" },
|
|
144
|
-
{ include: "@anchor" },
|
|
145
|
-
{ include: "@flowNumber" },
|
|
146
|
-
// Other value (keyword or string)
|
|
147
|
-
[
|
|
148
|
-
/[^\],]+/,
|
|
149
|
-
{
|
|
150
|
-
cases: {
|
|
151
|
-
"@keywords": "keyword",
|
|
152
|
-
"@default": "string"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
],
|
|
157
|
-
// First line of a Block Style
|
|
158
|
-
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
159
|
-
// Further lines of a Block Style
|
|
160
|
-
// Workaround for indentation detection
|
|
161
|
-
multiStringContinued: [
|
|
162
|
-
[
|
|
163
|
-
/^( *).+$/,
|
|
164
|
-
{
|
|
165
|
-
cases: {
|
|
166
|
-
"$1==$S2": "string",
|
|
167
|
-
"@default": { token: "@rematch", next: "@popall" }
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
],
|
|
172
|
-
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
173
|
-
// Only line comments
|
|
174
|
-
comment: [[/#.*$/, "comment"]],
|
|
175
|
-
// Start Flow Collections
|
|
176
|
-
flowCollections: [
|
|
177
|
-
[/\[/, "@brackets", "@array"],
|
|
178
|
-
[/\{/, "@brackets", "@object"]
|
|
179
|
-
],
|
|
180
|
-
// Start Flow Scalars (quoted strings)
|
|
181
|
-
flowScalars: [
|
|
182
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
183
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
184
|
-
[/'[^']*'/, "string"],
|
|
185
|
-
[/"/, "string", "@doubleQuotedString"]
|
|
186
|
-
],
|
|
187
|
-
doubleQuotedString: [
|
|
188
|
-
[/[^\\"]+/, "string"],
|
|
189
|
-
[/@escapes/, "string.escape"],
|
|
190
|
-
[/\\./, "string.escape.invalid"],
|
|
191
|
-
[/"/, "string", "@pop"]
|
|
192
|
-
],
|
|
193
|
-
// Start Block Scalar
|
|
194
|
-
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
195
|
-
// Numbers in Flow Collections (terminate with ,]})
|
|
196
|
-
flowNumber: [
|
|
197
|
-
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
198
|
-
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
199
|
-
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
200
|
-
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
201
|
-
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
202
|
-
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
203
|
-
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
204
|
-
],
|
|
205
|
-
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
206
|
-
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
export {
|
|
210
|
-
p as conf,
|
|
211
|
-
f as language
|
|
212
|
-
};
|