monacozen 0.5.1 → 0.6.0
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/README.md +4 -0
- package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
- package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
- package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
- package/assets/antimono-400-b0f584bd.woff2 +0 -0
- package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
- package/assets/antimono-700-2072e038.woff2 +0 -0
- package/assets/antimono-700-italic-78952312.woff2 +0 -0
- package/assets/antimono-XFdMCgZb.js +2 -0
- package/assets/antimono-zBXMptjq.css +1 -1
- package/assets/bat-DkMb6tS9.js +1 -0
- package/assets/bicep-gz7oXw8V.js +2 -0
- package/assets/clojure-BeArCv4U.js +1 -0
- package/assets/codicon-77f90255.ttf +0 -0
- package/assets/coffee-hLOn_V5A.js +1 -0
- package/assets/cpp-DxRo2s7O.js +1 -0
- package/assets/csharp-C1LINnKt.js +1 -0
- package/assets/css-1Eg8GPA8.js +3 -0
- package/assets/cypher-Ca1JvSwk.js +1 -0
- package/assets/dart-Bje7CIuI.js +1 -0
- package/assets/dist-DiJdi6br.js +11 -0
- package/assets/dockerfile-DZFCIeNp.js +1 -0
- package/assets/editor.api-ClTSSybg.js +912 -0
- package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
- package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
- package/assets/elixir-6RTg0lbw.js +1 -0
- package/assets/fsharp-p7RecL-a.js +1 -0
- package/assets/go-B21Jr2Lc.js +1 -0
- package/assets/graphql-fmXr3nnJ.js +1 -0
- package/assets/handlebars-CyuWwLhs.js +1 -0
- package/assets/hcl-CpzslTdj.js +1 -0
- package/assets/html-D-6ViuBT.js +1 -0
- package/assets/ini-sBoK_t0W.js +1 -0
- package/assets/java-ByyLeZXC.js +1 -0
- package/assets/javascript-Cs-KDyqn.js +1 -0
- package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
- package/assets/json.worker-D4KZT3k0.js +1 -0
- package/assets/jsonMode-CgXNHhiW.js +12 -0
- package/assets/julia-BNQOXozl.js +1 -0
- package/assets/kotlin-fjNqnENY.js +1 -0
- package/assets/less-B9-X_OHM.js +2 -0
- package/assets/liquid-Co_Rw9yK.js +1 -0
- package/assets/lua-CsQS60Ue.js +1 -0
- package/assets/main-DhJSBJDT.js +1 -0
- package/assets/main-HAVFq1WZ.js +1 -0
- package/assets/main-e2I2uRcQ.js +1 -0
- package/assets/markdown-D9M8UCDQ.js +1 -0
- package/assets/mdx-QikHivq4.js +1 -0
- package/assets/mips-DwkTBQD5.js +1 -0
- package/assets/monaco-9bd99409.css +3 -0
- package/assets/monaco-BPDUy015.js +59 -0
- package/assets/mysql-B9tHR_c9.js +1 -0
- package/assets/objective-c-Csug38Zp.js +1 -0
- package/assets/pascal-BruRBdsr.js +1 -0
- package/assets/perl-Dql_Egn0.js +1 -0
- package/assets/pgsql-DI4tfWYt.js +1 -0
- package/assets/php-DjHJy6xV.js +1 -0
- package/assets/powershell-DOR_yACD.js +1 -0
- package/assets/protobuf-B6qBET1H.js +2 -0
- package/assets/pug-BC7GTg9W.js +1 -0
- package/assets/python-ywrvpsv-.js +1 -0
- package/assets/r-B-J1yMT1.js +1 -0
- package/assets/redis-DZRGuxk2.js +1 -0
- package/assets/ruby-aklVn8qB.js +1 -0
- package/assets/rust-nh76nEti.js +1 -0
- package/assets/scala-BvnaqAb1.js +1 -0
- package/assets/scss-9xZSuRET.js +3 -0
- package/assets/shell-BOwo4WfX.js +1 -0
- package/assets/solidity-hGP85dDs.js +1 -0
- package/assets/sql-CIrXk7iQ.js +1 -0
- package/assets/swift-B0ETVgO9.js +1 -0
- package/assets/systemverilog-C0rJIDsQ.js +1 -0
- package/assets/twig-B_taSrVf.js +1 -0
- package/assets/typescript-pjjiBLxk.js +1 -0
- package/assets/typespec-uhVOI7Qs.js +1 -0
- package/assets/vb-4iFT4G4y.js +1 -0
- package/assets/wgsl-DpFanUEy.js +298 -0
- package/assets/xml-CuyY6WsM.js +1 -0
- package/assets/yaml-BDf1vVDq.js +1 -0
- package/assets/yaml.worker-D0QDX0Zj.js +1 -0
- package/assets/yaml.worker-DD5NU0Ed.js +431 -0
- package/package.json +1 -1
- package/src/main.js +19 -19
- package/assets/antimono-ClsI0fxy.js +0 -5
- package/assets/bat-CAz1OfAu.js +0 -125
- package/assets/bicep-B6UDBWZN.js +0 -220
- package/assets/clojure-BmcSQAck.js +0 -148
- package/assets/coffee-BjQKeqpj.js +0 -262
- package/assets/cpp-SbfDT5PL.js +0 -232
- package/assets/csharp-DIgVBsD4.js +0 -262
- package/assets/css-CyL9hcFb.js +0 -286
- package/assets/css.worker-BIsSvM_Q.js +0 -96
- package/assets/css.worker-ZGAWMrD5.js +0 -6
- package/assets/cssMode-CJXOwqou.js +0 -65
- package/assets/cypher-CFQunzEa.js +0 -214
- package/assets/dart-DeIsDVRt.js +0 -238
- package/assets/dist-Bx9hOuoB.js +0 -624
- package/assets/dockerfile-Yk3LuDQk.js +0 -193
- package/assets/editor.api-BzOtwRIu.js +0 -85776
- package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
- package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
- package/assets/elixir-y_NY5k67.js +0 -525
- package/assets/fsharp-DdRbc-sH.js +0 -149
- package/assets/go-D7w79i6g.js +0 -167
- package/assets/graphql-BsDuKp-c.js +0 -176
- package/assets/handlebars-CBxzRnT2.js +0 -412
- package/assets/hcl-CXnaLDBx.js +0 -221
- package/assets/html-2O_gNlhN.js +0 -333
- package/assets/html.worker-CEvqvEpu.js +0 -509
- package/assets/html.worker-CjDeE2MB.js +0 -6
- package/assets/htmlMode-DXEYjoJO.js +0 -74
- package/assets/ini-DAoNsTkV.js +0 -96
- package/assets/java-Cp0vrvO9.js +0 -175
- package/assets/javascript-b4MphFng.js +0 -20
- package/assets/json.worker-C4u3dDHp.js +0 -6
- package/assets/jsonMode-CJ6m-6ix.js +0 -450
- package/assets/julia-CVutXSdh.js +0 -416
- package/assets/kotlin-DYeWZuUb.js +0 -184
- package/assets/less-INmgXeDn.js +0 -244
- package/assets/liquid-vTiq1Xyj.js +0 -199
- package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
- package/assets/lua-COF3XwLj.js +0 -202
- package/assets/main-16cPxgwS.js +0 -107
- package/assets/main-CB71Lf5W.js +0 -129
- package/assets/main-HEYSEiwe.js +0 -66
- package/assets/markdown-CCGC2kAW.js +0 -264
- package/assets/mdx-CDmJWd6e.js +0 -329
- package/assets/mips-ll8pdQLQ.js +0 -130
- package/assets/monaco-d37b1a8f.css +0 -3
- package/assets/monaco-eCLjoH9K.js +0 -40922
- package/assets/mysql-CnCmYLcK.js +0 -170
- package/assets/objective-c-D-xZGaTr.js +0 -146
- package/assets/pascal-CKVRL3bp.js +0 -178
- package/assets/perl-DqL2sfnN.js +0 -318
- package/assets/pgsql-BpvbArh-.js +0 -160
- package/assets/php-BbqlrNqC.js +0 -473
- package/assets/powershell-0oEoSDwW.js +0 -213
- package/assets/protobuf-DlOMtU4U.js +0 -661
- package/assets/pug-CTxaaQKP.js +0 -302
- package/assets/python-H0euVUAi.js +0 -254
- package/assets/r-DF_g8_2l.js +0 -191
- package/assets/redis-B09Z6nB5.js +0 -125
- package/assets/ruby-CWBObvDC.js +0 -529
- package/assets/rust-DdLDSWVK.js +0 -180
- package/assets/scala-Bg3GaqPc.js +0 -553
- package/assets/scss-D-qk8UVY.js +0 -419
- package/assets/shell-CpVOERQd.js +0 -225
- package/assets/solidity-CVmhJ22u.js +0 -149
- package/assets/sql-DHvzW7ba.js +0 -173
- package/assets/swift-DIkzszb_.js +0 -215
- package/assets/systemverilog-T3rz_k7V.js +0 -300
- package/assets/ts.worker-BydNuElr.js +0 -6
- package/assets/ts.worker-DZhhT1EO.js +0 -67741
- package/assets/tsMode-x1GCvxZU.js +0 -566
- package/assets/twig-CWOr6DII.js +0 -390
- package/assets/typescript-DGfbroT9.js +0 -257
- package/assets/typespec-4ubJw-FV.js +0 -236
- package/assets/vb-SSAHHOVh.js +0 -262
- package/assets/wgsl-hf5cqFtC.js +0 -147
- package/assets/xml-Bz6VGB5E.js +0 -130
- package/assets/yaml-D00PSO5v.js +0 -223
- package/assets/yaml.worker-DzOKX3TP.js +0 -474
- package/assets/yaml.worker-Y0uWi-gi.js +0 -6
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`}]};function t(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 n=t(`true false`),r=t(`
|
|
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
|
+
`),i=t(`
|
|
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
|
+
`),a=t(`
|
|
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
|
+
`),o=t(`
|
|
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
|
+
`),s=t(`
|
|
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
|
+
`),c=t(`
|
|
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
|
+
`),l=t(`
|
|
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
|
+
`),u=t(`
|
|
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
|
+
`),d=/enable|requires|diagnostic/,f=/[_\p{XID_Start}]\p{XID_Continue}*/u,p=`variable.predefined`,m={tokenPostfix:`.wgsl`,defaultToken:`invalid`,unicode:!0,atoms:n,keywords:r,reserved:i,predeclared_enums:a,predeclared_types:o,predeclared_type_generators:s,predeclared_type_aliases:c,predeclared_intrinsics:l,operators:u,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[d,`keyword`,`@directive`],[f,{cases:{"@atoms":p,"@keywords":`keyword`,"@reserved":`invalid`,"@predeclared_enums":p,"@predeclared_types":p,"@predeclared_type_generators":p,"@predeclared_type_aliases":p,"@predeclared_intrinsics":p,"@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`],[f,`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`]]}};export{e as conf,m as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as e}from"./editor.api-ClTSSybg.js";var t={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:/* @__PURE__ */ RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:/* @__PURE__ */ RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:e.IndentAction.Indent}}]},n={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`]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as e}from"./editor.api-ClTSSybg.js";var t={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:e.IndentAction.Indent}}]},n={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`]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return new Worker(new URL(`yaml.worker-DD5NU0Ed.js`,import.meta.url).href,{name:e?.name})}export{e as default};
|