qlue-ls 0.16.0 → 0.17.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 +2 -1
- package/package.json +1 -1
- package/qlue_ls.d.ts +4 -3
- package/qlue_ls.js +154 -134
- package/qlue_ls_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
⚡Qlue-ls (pronounced "clueless") is a *blazingly fast* [language server](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification)
|
|
18
18
|
for [SPARQL](https://de.wikipedia.org/wiki/SPARQL), written in Rust 🦀, build for the web.
|
|
19
19
|
|
|
20
|
+
💻 [Live Demo](https://qlue-ls.com)
|
|
20
21
|
📚 [Documentation](https://docs.qlue-ls.com)
|
|
21
22
|
📝 [Project Blog Post](https://ad-blog.cs.uni-freiburg.de/post/qlue-ls-a-sparql-language-server/)
|
|
22
|
-
|
|
23
|
+
🎓 [Thesis](https://ad-publications.cs.uni-freiburg.de/theses/Bachelor_Ioannis_Nezis_2025.pdf)
|
|
23
24
|
|
|
24
25
|
# 🚀 Capabilities
|
|
25
26
|
|
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export function get_parse_tree(input: string, offset: number): any;
|
|
|
8
8
|
export class Server {
|
|
9
9
|
private constructor();
|
|
10
10
|
free(): void;
|
|
11
|
+
[Symbol.dispose](): void;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
@@ -15,9 +16,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
15
16
|
export interface InitOutput {
|
|
16
17
|
readonly memory: WebAssembly.Memory;
|
|
17
18
|
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
18
|
-
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
19
19
|
readonly init_language_server: (a: any) => number;
|
|
20
20
|
readonly listen: (a: number, b: any) => any;
|
|
21
|
+
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
21
22
|
readonly determine_operation_type: (a: number, b: number) => [number, number];
|
|
22
23
|
readonly get_parse_tree: (a: number, b: number, c: number) => any;
|
|
23
24
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -28,8 +29,8 @@ export interface InitOutput {
|
|
|
28
29
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
29
30
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
30
31
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
32
|
+
readonly closure1383_externref_shim: (a: number, b: number, c: any) => void;
|
|
33
|
+
readonly closure1900_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
34
|
readonly __wbindgen_start: () => void;
|
|
34
35
|
}
|
|
35
36
|
|
package/qlue_ls.js
CHANGED
|
@@ -15,10 +15,6 @@ function handleError(f, args) {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
19
|
-
|
|
20
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
21
|
-
|
|
22
18
|
let cachedUint8ArrayMemory0 = null;
|
|
23
19
|
|
|
24
20
|
function getUint8ArrayMemory0() {
|
|
@@ -28,9 +24,25 @@ function getUint8ArrayMemory0() {
|
|
|
28
24
|
return cachedUint8ArrayMemory0;
|
|
29
25
|
}
|
|
30
26
|
|
|
27
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
28
|
+
|
|
29
|
+
cachedTextDecoder.decode();
|
|
30
|
+
|
|
31
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
32
|
+
let numBytesDecoded = 0;
|
|
33
|
+
function decodeText(ptr, len) {
|
|
34
|
+
numBytesDecoded += len;
|
|
35
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
36
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
37
|
+
cachedTextDecoder.decode();
|
|
38
|
+
numBytesDecoded = len;
|
|
39
|
+
}
|
|
40
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
function getStringFromWasm0(ptr, len) {
|
|
32
44
|
ptr = ptr >>> 0;
|
|
33
|
-
return
|
|
45
|
+
return decodeText(ptr, len);
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
function isLikeNone(x) {
|
|
@@ -39,20 +51,18 @@ function isLikeNone(x) {
|
|
|
39
51
|
|
|
40
52
|
let WASM_VECTOR_LEN = 0;
|
|
41
53
|
|
|
42
|
-
const cachedTextEncoder =
|
|
54
|
+
const cachedTextEncoder = new TextEncoder();
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
57
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
58
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
59
|
+
view.set(buf);
|
|
60
|
+
return {
|
|
61
|
+
read: arg.length,
|
|
62
|
+
written: buf.length
|
|
63
|
+
};
|
|
64
|
+
}
|
|
47
65
|
}
|
|
48
|
-
: function (arg, view) {
|
|
49
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
50
|
-
view.set(buf);
|
|
51
|
-
return {
|
|
52
|
-
read: arg.length,
|
|
53
|
-
written: buf.length
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
66
|
|
|
57
67
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
58
68
|
|
|
@@ -83,7 +93,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
83
93
|
}
|
|
84
94
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
85
95
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
86
|
-
const ret =
|
|
96
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
87
97
|
|
|
88
98
|
offset += ret.written;
|
|
89
99
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -102,37 +112,6 @@ function getDataViewMemory0() {
|
|
|
102
112
|
return cachedDataViewMemory0;
|
|
103
113
|
}
|
|
104
114
|
|
|
105
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
106
|
-
? { register: () => {}, unregister: () => {} }
|
|
107
|
-
: new FinalizationRegistry(state => {
|
|
108
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
112
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
113
|
-
const real = (...args) => {
|
|
114
|
-
// First up with a closure we increment the internal reference
|
|
115
|
-
// count. This ensures that the Rust closure environment won't
|
|
116
|
-
// be deallocated while we're invoking it.
|
|
117
|
-
state.cnt++;
|
|
118
|
-
const a = state.a;
|
|
119
|
-
state.a = 0;
|
|
120
|
-
try {
|
|
121
|
-
return f(a, state.b, ...args);
|
|
122
|
-
} finally {
|
|
123
|
-
if (--state.cnt === 0) {
|
|
124
|
-
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
125
|
-
CLOSURE_DTORS.unregister(state);
|
|
126
|
-
} else {
|
|
127
|
-
state.a = a;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
real.original = state;
|
|
132
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
133
|
-
return real;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
115
|
function debugString(val) {
|
|
137
116
|
// primitive types
|
|
138
117
|
const type = typeof val;
|
|
@@ -198,6 +177,40 @@ function debugString(val) {
|
|
|
198
177
|
return className;
|
|
199
178
|
}
|
|
200
179
|
|
|
180
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
181
|
+
? { register: () => {}, unregister: () => {} }
|
|
182
|
+
: new FinalizationRegistry(
|
|
183
|
+
state => {
|
|
184
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
|
|
188
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
189
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
190
|
+
const real = (...args) => {
|
|
191
|
+
|
|
192
|
+
// First up with a closure we increment the internal reference
|
|
193
|
+
// count. This ensures that the Rust closure environment won't
|
|
194
|
+
// be deallocated while we're invoking it.
|
|
195
|
+
state.cnt++;
|
|
196
|
+
const a = state.a;
|
|
197
|
+
state.a = 0;
|
|
198
|
+
try {
|
|
199
|
+
return f(a, state.b, ...args);
|
|
200
|
+
} finally {
|
|
201
|
+
if (--state.cnt === 0) {
|
|
202
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
203
|
+
CLOSURE_DTORS.unregister(state);
|
|
204
|
+
} else {
|
|
205
|
+
state.a = a;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
real.original = state;
|
|
210
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
211
|
+
return real;
|
|
212
|
+
}
|
|
213
|
+
|
|
201
214
|
function takeFromExternrefTable0(idx) {
|
|
202
215
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
203
216
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -285,12 +298,12 @@ export function get_parse_tree(input, offset) {
|
|
|
285
298
|
return ret;
|
|
286
299
|
}
|
|
287
300
|
|
|
288
|
-
function
|
|
289
|
-
wasm.
|
|
301
|
+
function __wbg_adapter_8(arg0, arg1, arg2) {
|
|
302
|
+
wasm.closure1383_externref_shim(arg0, arg1, arg2);
|
|
290
303
|
}
|
|
291
304
|
|
|
292
|
-
function
|
|
293
|
-
wasm.
|
|
305
|
+
function __wbg_adapter_84(arg0, arg1, arg2, arg3) {
|
|
306
|
+
wasm.closure1900_externref_shim(arg0, arg1, arg2, arg3);
|
|
294
307
|
}
|
|
295
308
|
|
|
296
309
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -321,6 +334,9 @@ export class Server {
|
|
|
321
334
|
wasm.__wbg_server_free(ptr, 0);
|
|
322
335
|
}
|
|
323
336
|
}
|
|
337
|
+
if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
|
|
338
|
+
|
|
339
|
+
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
324
340
|
|
|
325
341
|
async function __wbg_load(module, imports) {
|
|
326
342
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
@@ -329,7 +345,9 @@ async function __wbg_load(module, imports) {
|
|
|
329
345
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
330
346
|
|
|
331
347
|
} catch (e) {
|
|
332
|
-
|
|
348
|
+
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
349
|
+
|
|
350
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
333
351
|
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
334
352
|
|
|
335
353
|
} else {
|
|
@@ -356,19 +374,19 @@ async function __wbg_load(module, imports) {
|
|
|
356
374
|
function __wbg_get_imports() {
|
|
357
375
|
const imports = {};
|
|
358
376
|
imports.wbg = {};
|
|
359
|
-
imports.wbg.
|
|
377
|
+
imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
|
|
360
378
|
const ret = arg0.call(arg1);
|
|
361
379
|
return ret;
|
|
362
380
|
}, arguments) };
|
|
363
|
-
imports.wbg.
|
|
381
|
+
imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
364
382
|
const ret = arg0.call(arg1, arg2);
|
|
365
383
|
return ret;
|
|
366
384
|
}, arguments) };
|
|
367
|
-
imports.wbg.
|
|
385
|
+
imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
|
|
368
386
|
console.debug(arg0, arg1, arg2, arg3);
|
|
369
387
|
};
|
|
370
|
-
imports.wbg.
|
|
371
|
-
console.error(arg0);
|
|
388
|
+
imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
|
|
389
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
372
390
|
};
|
|
373
391
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
374
392
|
let deferred0_0;
|
|
@@ -381,25 +399,25 @@ function __wbg_get_imports() {
|
|
|
381
399
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
382
400
|
}
|
|
383
401
|
};
|
|
384
|
-
imports.wbg.
|
|
385
|
-
console.error(arg0
|
|
402
|
+
imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
|
|
403
|
+
console.error(arg0);
|
|
386
404
|
};
|
|
387
|
-
imports.wbg.
|
|
405
|
+
imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
|
|
388
406
|
const ret = arg0.fetch(arg1);
|
|
389
407
|
return ret;
|
|
390
408
|
};
|
|
391
|
-
imports.wbg.
|
|
409
|
+
imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
|
|
392
410
|
const ret = Reflect.get(arg0, arg1);
|
|
393
411
|
return ret;
|
|
394
412
|
}, arguments) };
|
|
395
|
-
imports.wbg.
|
|
413
|
+
imports.wbg.__wbg_headers_af04c3eb495104ed = function(arg0) {
|
|
396
414
|
const ret = arg0.headers;
|
|
397
415
|
return ret;
|
|
398
416
|
};
|
|
399
|
-
imports.wbg.
|
|
417
|
+
imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
|
|
400
418
|
console.info(arg0, arg1, arg2, arg3);
|
|
401
419
|
};
|
|
402
|
-
imports.wbg.
|
|
420
|
+
imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
|
|
403
421
|
let result;
|
|
404
422
|
try {
|
|
405
423
|
result = arg0 instanceof Response;
|
|
@@ -409,17 +427,25 @@ function __wbg_get_imports() {
|
|
|
409
427
|
const ret = result;
|
|
410
428
|
return ret;
|
|
411
429
|
};
|
|
412
|
-
imports.wbg.
|
|
430
|
+
imports.wbg.__wbg_log_ddbf5bc3d4dae44c = function(arg0, arg1, arg2, arg3) {
|
|
413
431
|
console.log(arg0, arg1, arg2, arg3);
|
|
414
432
|
};
|
|
415
|
-
imports.wbg.
|
|
433
|
+
imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
|
|
434
|
+
const ret = new Object();
|
|
435
|
+
return ret;
|
|
436
|
+
};
|
|
437
|
+
imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
|
|
438
|
+
const ret = new Array();
|
|
439
|
+
return ret;
|
|
440
|
+
};
|
|
441
|
+
imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
|
|
416
442
|
try {
|
|
417
443
|
var state0 = {a: arg0, b: arg1};
|
|
418
444
|
var cb0 = (arg0, arg1) => {
|
|
419
445
|
const a = state0.a;
|
|
420
446
|
state0.a = 0;
|
|
421
447
|
try {
|
|
422
|
-
return
|
|
448
|
+
return __wbg_adapter_84(a, state0.b, arg0, arg1);
|
|
423
449
|
} finally {
|
|
424
450
|
state0.a = a;
|
|
425
451
|
}
|
|
@@ -430,74 +456,66 @@ function __wbg_get_imports() {
|
|
|
430
456
|
state0.a = state0.b = 0;
|
|
431
457
|
}
|
|
432
458
|
};
|
|
433
|
-
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
434
|
-
const ret = new Object();
|
|
435
|
-
return ret;
|
|
436
|
-
};
|
|
437
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
438
|
-
const ret = new Array();
|
|
439
|
-
return ret;
|
|
440
|
-
};
|
|
441
459
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
442
460
|
const ret = new Error();
|
|
443
461
|
return ret;
|
|
444
462
|
};
|
|
445
|
-
imports.wbg.
|
|
463
|
+
imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
|
|
446
464
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
447
465
|
return ret;
|
|
448
466
|
};
|
|
449
|
-
imports.wbg.
|
|
467
|
+
imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
|
|
450
468
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
451
469
|
return ret;
|
|
452
470
|
}, arguments) };
|
|
453
|
-
imports.wbg.
|
|
471
|
+
imports.wbg.__wbg_now_886b39d7ec380719 = function(arg0) {
|
|
454
472
|
const ret = arg0.now();
|
|
455
473
|
return ret;
|
|
456
474
|
};
|
|
457
|
-
imports.wbg.
|
|
475
|
+
imports.wbg.__wbg_ok_2eac216b65d90573 = function(arg0) {
|
|
458
476
|
const ret = arg0.ok;
|
|
459
477
|
return ret;
|
|
460
478
|
};
|
|
461
|
-
imports.wbg.
|
|
479
|
+
imports.wbg.__wbg_performance_b1fe690813bd12a2 = function(arg0) {
|
|
462
480
|
const ret = arg0.performance;
|
|
463
481
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
464
482
|
};
|
|
465
|
-
imports.wbg.
|
|
483
|
+
imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
|
|
466
484
|
const ret = arg0.push(arg1);
|
|
467
485
|
return ret;
|
|
468
486
|
};
|
|
469
|
-
imports.wbg.
|
|
487
|
+
imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
|
|
470
488
|
queueMicrotask(arg0);
|
|
471
489
|
};
|
|
472
|
-
imports.wbg.
|
|
490
|
+
imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
|
|
473
491
|
const ret = arg0.queueMicrotask;
|
|
474
492
|
return ret;
|
|
475
493
|
};
|
|
476
|
-
imports.wbg.
|
|
494
|
+
imports.wbg.__wbg_read_bc925c758aa4d897 = function(arg0) {
|
|
477
495
|
const ret = arg0.read();
|
|
478
496
|
return ret;
|
|
479
497
|
};
|
|
480
|
-
imports.wbg.
|
|
498
|
+
imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
|
|
481
499
|
const ret = Promise.resolve(arg0);
|
|
482
500
|
return ret;
|
|
483
501
|
};
|
|
484
|
-
imports.wbg.
|
|
502
|
+
imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
485
503
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
486
504
|
}, arguments) };
|
|
487
|
-
imports.wbg.
|
|
505
|
+
imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
488
506
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
489
507
|
return ret;
|
|
490
508
|
}, arguments) };
|
|
491
|
-
imports.wbg.
|
|
509
|
+
imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
|
|
492
510
|
arg0.body = arg1;
|
|
493
511
|
};
|
|
494
|
-
imports.wbg.
|
|
512
|
+
imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
|
|
495
513
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
496
514
|
};
|
|
497
|
-
imports.wbg.
|
|
515
|
+
imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
|
|
498
516
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
499
517
|
};
|
|
500
|
-
imports.wbg.
|
|
518
|
+
imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
|
|
501
519
|
arg0.signal = arg1;
|
|
502
520
|
};
|
|
503
521
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
@@ -507,58 +525,54 @@ function __wbg_get_imports() {
|
|
|
507
525
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
508
526
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
509
527
|
};
|
|
510
|
-
imports.wbg.
|
|
528
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
|
|
511
529
|
const ret = typeof global === 'undefined' ? null : global;
|
|
512
530
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
513
531
|
};
|
|
514
|
-
imports.wbg.
|
|
532
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
|
|
515
533
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
516
534
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
517
535
|
};
|
|
518
|
-
imports.wbg.
|
|
536
|
+
imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
|
|
519
537
|
const ret = typeof self === 'undefined' ? null : self;
|
|
520
538
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
521
539
|
};
|
|
522
|
-
imports.wbg.
|
|
540
|
+
imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
|
|
523
541
|
const ret = typeof window === 'undefined' ? null : window;
|
|
524
542
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
525
543
|
};
|
|
526
|
-
imports.wbg.
|
|
544
|
+
imports.wbg.__wbg_statusText_c285fe96dbd990df = function(arg0, arg1) {
|
|
527
545
|
const ret = arg1.statusText;
|
|
528
546
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
529
547
|
const len1 = WASM_VECTOR_LEN;
|
|
530
548
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
531
549
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
532
550
|
};
|
|
533
|
-
imports.wbg.
|
|
551
|
+
imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
|
|
534
552
|
const ret = arg0.text();
|
|
535
553
|
return ret;
|
|
536
554
|
}, arguments) };
|
|
537
|
-
imports.wbg.
|
|
538
|
-
const ret = arg0.then(arg1);
|
|
555
|
+
imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
|
|
556
|
+
const ret = arg0.then(arg1, arg2);
|
|
539
557
|
return ret;
|
|
540
558
|
};
|
|
541
|
-
imports.wbg.
|
|
542
|
-
const ret = arg0.then(arg1
|
|
559
|
+
imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
|
|
560
|
+
const ret = arg0.then(arg1);
|
|
543
561
|
return ret;
|
|
544
562
|
};
|
|
545
|
-
imports.wbg.
|
|
563
|
+
imports.wbg.__wbg_timeout_bb40af0cb18c62cf = function(arg0) {
|
|
546
564
|
const ret = AbortSignal.timeout(arg0 >>> 0);
|
|
547
565
|
return ret;
|
|
548
566
|
};
|
|
549
|
-
imports.wbg.
|
|
567
|
+
imports.wbg.__wbg_warn_90eb15d986910fe9 = function(arg0, arg1, arg2, arg3) {
|
|
550
568
|
console.warn(arg0, arg1, arg2, arg3);
|
|
551
569
|
};
|
|
552
|
-
imports.wbg.
|
|
553
|
-
const ret = arg0.write(arg1);
|
|
554
|
-
return ret;
|
|
555
|
-
};
|
|
556
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
570
|
+
imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
557
571
|
const v = arg0;
|
|
558
|
-
const ret = typeof(v) === 'boolean' ?
|
|
559
|
-
return ret;
|
|
572
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
573
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
560
574
|
};
|
|
561
|
-
imports.wbg.
|
|
575
|
+
imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
|
|
562
576
|
const obj = arg0.original;
|
|
563
577
|
if (obj.cnt-- == 1) {
|
|
564
578
|
obj.a = 0;
|
|
@@ -567,36 +581,22 @@ function __wbg_get_imports() {
|
|
|
567
581
|
const ret = false;
|
|
568
582
|
return ret;
|
|
569
583
|
};
|
|
570
|
-
imports.wbg.
|
|
571
|
-
const ret = makeMutClosure(arg0, arg1, 1379, __wbg_adapter_24);
|
|
572
|
-
return ret;
|
|
573
|
-
};
|
|
574
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
584
|
+
imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
575
585
|
const ret = debugString(arg1);
|
|
576
586
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
577
587
|
const len1 = WASM_VECTOR_LEN;
|
|
578
588
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
579
589
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
580
590
|
};
|
|
581
|
-
imports.wbg.
|
|
582
|
-
const table = wasm.__wbindgen_export_2;
|
|
583
|
-
const offset = table.grow(4);
|
|
584
|
-
table.set(0, undefined);
|
|
585
|
-
table.set(offset + 0, undefined);
|
|
586
|
-
table.set(offset + 1, null);
|
|
587
|
-
table.set(offset + 2, true);
|
|
588
|
-
table.set(offset + 3, false);
|
|
589
|
-
;
|
|
590
|
-
};
|
|
591
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
591
|
+
imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
592
592
|
const ret = typeof(arg0) === 'function';
|
|
593
593
|
return ret;
|
|
594
594
|
};
|
|
595
|
-
imports.wbg.
|
|
595
|
+
imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
|
|
596
596
|
const ret = arg0 === undefined;
|
|
597
597
|
return ret;
|
|
598
598
|
};
|
|
599
|
-
imports.wbg.
|
|
599
|
+
imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
600
600
|
const obj = arg1;
|
|
601
601
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
602
602
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -604,12 +604,32 @@ function __wbg_get_imports() {
|
|
|
604
604
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
605
605
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
606
606
|
};
|
|
607
|
-
imports.wbg.
|
|
607
|
+
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
608
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
609
|
+
};
|
|
610
|
+
imports.wbg.__wbg_write_2e39e04a4c8c9e9d = function(arg0, arg1) {
|
|
611
|
+
const ret = arg0.write(arg1);
|
|
612
|
+
return ret;
|
|
613
|
+
};
|
|
614
|
+
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
615
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
608
616
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
609
617
|
return ret;
|
|
610
618
|
};
|
|
611
|
-
imports.wbg.
|
|
612
|
-
|
|
619
|
+
imports.wbg.__wbindgen_cast_646f6bca41d52858 = function(arg0, arg1) {
|
|
620
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1372, function: Function { arguments: [Externref], shim_idx: 1383, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
621
|
+
const ret = makeMutClosure(arg0, arg1, 1372, __wbg_adapter_8);
|
|
622
|
+
return ret;
|
|
623
|
+
};
|
|
624
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
625
|
+
const table = wasm.__wbindgen_export_2;
|
|
626
|
+
const offset = table.grow(4);
|
|
627
|
+
table.set(0, undefined);
|
|
628
|
+
table.set(offset + 0, undefined);
|
|
629
|
+
table.set(offset + 1, null);
|
|
630
|
+
table.set(offset + 2, true);
|
|
631
|
+
table.set(offset + 3, false);
|
|
632
|
+
;
|
|
613
633
|
};
|
|
614
634
|
|
|
615
635
|
return imports;
|
package/qlue_ls_bg.wasm
CHANGED
|
Binary file
|