qlue-ls 0.18.0 → 0.19.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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Ioannis Nezis <ioannis@nezis.de>"
6
6
  ],
7
7
  "description": "A language server for SPARQL",
8
- "version": "0.18.0",
8
+ "version": "0.19.0",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -21,16 +21,16 @@ export interface InitOutput {
21
21
  readonly listen: (a: number, b: any) => any;
22
22
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
23
  readonly get_parse_tree: (a: number, b: number, c: number) => any;
24
+ readonly __wbindgen_malloc: (a: number, b: number) => number;
25
+ readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
24
26
  readonly __wbindgen_exn_store: (a: number) => void;
25
27
  readonly __externref_table_alloc: () => number;
26
- readonly __wbindgen_export_2: WebAssembly.Table;
28
+ readonly __wbindgen_export_4: WebAssembly.Table;
27
29
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
28
- readonly __wbindgen_malloc: (a: number, b: number) => number;
29
- readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
30
30
  readonly __wbindgen_export_6: WebAssembly.Table;
31
31
  readonly __externref_table_dealloc: (a: number) => void;
32
- readonly closure1406_externref_shim: (a: number, b: number, c: any) => void;
33
- readonly closure1923_externref_shim: (a: number, b: number, c: any, d: any) => void;
32
+ readonly closure1416_externref_shim: (a: number, b: number, c: any) => void;
33
+ readonly closure1934_externref_shim: (a: number, b: number, c: any, d: any) => void;
34
34
  readonly __wbindgen_start: () => void;
35
35
  }
36
36
 
package/qlue_ls.js CHANGED
@@ -1,20 +1,5 @@
1
1
  let wasm;
2
2
 
3
- function addToExternrefTable0(obj) {
4
- const idx = wasm.__externref_table_alloc();
5
- wasm.__wbindgen_export_2.set(idx, obj);
6
- return idx;
7
- }
8
-
9
- function handleError(f, args) {
10
- try {
11
- return f.apply(this, args);
12
- } catch (e) {
13
- const idx = addToExternrefTable0(e);
14
- wasm.__wbindgen_exn_store(idx);
15
- }
16
- }
17
-
18
3
  let cachedUint8ArrayMemory0 = null;
19
4
 
20
5
  function getUint8ArrayMemory0() {
@@ -45,10 +30,6 @@ function getStringFromWasm0(ptr, len) {
45
30
  return decodeText(ptr, len);
46
31
  }
47
32
 
48
- function isLikeNone(x) {
49
- return x === undefined || x === null;
50
- }
51
-
52
33
  let WASM_VECTOR_LEN = 0;
53
34
 
54
35
  const cachedTextEncoder = new TextEncoder();
@@ -112,6 +93,30 @@ function getDataViewMemory0() {
112
93
  return cachedDataViewMemory0;
113
94
  }
114
95
 
96
+ function addToExternrefTable0(obj) {
97
+ const idx = wasm.__externref_table_alloc();
98
+ wasm.__wbindgen_export_4.set(idx, obj);
99
+ return idx;
100
+ }
101
+
102
+ function handleError(f, args) {
103
+ try {
104
+ return f.apply(this, args);
105
+ } catch (e) {
106
+ const idx = addToExternrefTable0(e);
107
+ wasm.__wbindgen_exn_store(idx);
108
+ }
109
+ }
110
+
111
+ function isLikeNone(x) {
112
+ return x === undefined || x === null;
113
+ }
114
+
115
+ function getArrayU8FromWasm0(ptr, len) {
116
+ ptr = ptr >>> 0;
117
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
118
+ }
119
+
115
120
  function debugString(val) {
116
121
  // primitive types
117
122
  const type = typeof val;
@@ -212,7 +217,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
212
217
  }
213
218
 
214
219
  function takeFromExternrefTable0(idx) {
215
- const value = wasm.__wbindgen_export_2.get(idx);
220
+ const value = wasm.__wbindgen_export_4.get(idx);
216
221
  wasm.__externref_table_dealloc(idx);
217
222
  return value;
218
223
  }
@@ -298,12 +303,12 @@ export function get_parse_tree(input, offset) {
298
303
  return ret;
299
304
  }
300
305
 
301
- function __wbg_adapter_8(arg0, arg1, arg2) {
302
- wasm.closure1406_externref_shim(arg0, arg1, arg2);
306
+ function __wbg_adapter_6(arg0, arg1, arg2) {
307
+ wasm.closure1416_externref_shim(arg0, arg1, arg2);
303
308
  }
304
309
 
305
- function __wbg_adapter_84(arg0, arg1, arg2, arg3) {
306
- wasm.closure1923_externref_shim(arg0, arg1, arg2, arg3);
310
+ function __wbg_adapter_98(arg0, arg1, arg2, arg3) {
311
+ wasm.closure1934_externref_shim(arg0, arg1, arg2, arg3);
307
312
  }
308
313
 
309
314
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -374,6 +379,21 @@ async function __wbg_load(module, imports) {
374
379
  function __wbg_get_imports() {
375
380
  const imports = {};
376
381
  imports.wbg = {};
382
+ imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
383
+ const ret = Error(getStringFromWasm0(arg0, arg1));
384
+ return ret;
385
+ };
386
+ imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
387
+ const ret = Number(arg0);
388
+ return ret;
389
+ };
390
+ imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
391
+ const ret = String(arg1);
392
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
393
+ const len1 = WASM_VECTOR_LEN;
394
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
395
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
396
+ };
377
397
  imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
378
398
  const ret = arg0.call(arg1);
379
399
  return ret;
@@ -385,6 +405,10 @@ function __wbg_get_imports() {
385
405
  imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
386
406
  console.debug(arg0, arg1, arg2, arg3);
387
407
  };
408
+ imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
409
+ const ret = Object.entries(arg0);
410
+ return ret;
411
+ };
388
412
  imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
389
413
  console.error(arg0, arg1, arg2, arg3);
390
414
  };
@@ -406,10 +430,18 @@ function __wbg_get_imports() {
406
430
  const ret = arg0.fetch(arg1);
407
431
  return ret;
408
432
  };
433
+ imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
434
+ const ret = arg0[arg1 >>> 0];
435
+ return ret;
436
+ };
409
437
  imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
410
438
  const ret = Reflect.get(arg0, arg1);
411
439
  return ret;
412
440
  }, arguments) };
441
+ imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
442
+ const ret = arg0[arg1];
443
+ return ret;
444
+ };
413
445
  imports.wbg.__wbg_headers_af04c3eb495104ed = function(arg0) {
414
446
  const ret = arg0.headers;
415
447
  return ret;
@@ -417,6 +449,16 @@ function __wbg_get_imports() {
417
449
  imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
418
450
  console.info(arg0, arg1, arg2, arg3);
419
451
  };
452
+ imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
453
+ let result;
454
+ try {
455
+ result = arg0 instanceof ArrayBuffer;
456
+ } catch (_) {
457
+ result = false;
458
+ }
459
+ const ret = result;
460
+ return ret;
461
+ };
420
462
  imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
421
463
  let result;
422
464
  try {
@@ -427,6 +469,32 @@ function __wbg_get_imports() {
427
469
  const ret = result;
428
470
  return ret;
429
471
  };
472
+ imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
473
+ let result;
474
+ try {
475
+ result = arg0 instanceof Uint8Array;
476
+ } catch (_) {
477
+ result = false;
478
+ }
479
+ const ret = result;
480
+ return ret;
481
+ };
482
+ imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
483
+ const ret = Number.isSafeInteger(arg0);
484
+ return ret;
485
+ };
486
+ imports.wbg.__wbg_json_267c5cee469b58ab = function() { return handleError(function (arg0) {
487
+ const ret = arg0.json();
488
+ return ret;
489
+ }, arguments) };
490
+ imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
491
+ const ret = arg0.length;
492
+ return ret;
493
+ };
494
+ imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
495
+ const ret = arg0.length;
496
+ return ret;
497
+ };
430
498
  imports.wbg.__wbg_log_ddbf5bc3d4dae44c = function(arg0, arg1, arg2, arg3) {
431
499
  console.log(arg0, arg1, arg2, arg3);
432
500
  };
@@ -445,7 +513,7 @@ function __wbg_get_imports() {
445
513
  const a = state0.a;
446
514
  state0.a = 0;
447
515
  try {
448
- return __wbg_adapter_84(a, state0.b, arg0, arg1);
516
+ return __wbg_adapter_98(a, state0.b, arg0, arg1);
449
517
  } finally {
450
518
  state0.a = a;
451
519
  }
@@ -456,6 +524,10 @@ function __wbg_get_imports() {
456
524
  state0.a = state0.b = 0;
457
525
  }
458
526
  };
527
+ imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
528
+ const ret = new Uint8Array(arg0);
529
+ return ret;
530
+ };
459
531
  imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
460
532
  const ret = new Error();
461
533
  return ret;
@@ -480,6 +552,9 @@ function __wbg_get_imports() {
480
552
  const ret = arg0.performance;
481
553
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
482
554
  };
555
+ imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
556
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
557
+ };
483
558
  imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
484
559
  const ret = arg0.push(arg1);
485
560
  return ret;
@@ -541,13 +616,6 @@ function __wbg_get_imports() {
541
616
  const ret = typeof window === 'undefined' ? null : window;
542
617
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
543
618
  };
544
- imports.wbg.__wbg_statusText_c285fe96dbd990df = function(arg0, arg1) {
545
- const ret = arg1.statusText;
546
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
547
- const len1 = WASM_VECTOR_LEN;
548
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
549
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
550
- };
551
619
  imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
552
620
  const ret = arg0.text();
553
621
  return ret;
@@ -588,14 +656,37 @@ function __wbg_get_imports() {
588
656
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
589
657
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
590
658
  };
659
+ imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
660
+ const ret = arg0 in arg1;
661
+ return ret;
662
+ };
591
663
  imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
592
664
  const ret = typeof(arg0) === 'function';
593
665
  return ret;
594
666
  };
667
+ imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
668
+ const val = arg0;
669
+ const ret = typeof(val) === 'object' && val !== null;
670
+ return ret;
671
+ };
672
+ imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
673
+ const ret = typeof(arg0) === 'string';
674
+ return ret;
675
+ };
595
676
  imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
596
677
  const ret = arg0 === undefined;
597
678
  return ret;
598
679
  };
680
+ imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
681
+ const ret = arg0 == arg1;
682
+ return ret;
683
+ };
684
+ imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
685
+ const obj = arg1;
686
+ const ret = typeof(obj) === 'number' ? obj : undefined;
687
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
688
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
689
+ };
599
690
  imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
600
691
  const obj = arg1;
601
692
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -616,13 +707,13 @@ function __wbg_get_imports() {
616
707
  const ret = getStringFromWasm0(arg0, arg1);
617
708
  return ret;
618
709
  };
619
- imports.wbg.__wbindgen_cast_a474be5ce8df10bf = function(arg0, arg1) {
620
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1395, function: Function { arguments: [Externref], shim_idx: 1406, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
621
- const ret = makeMutClosure(arg0, arg1, 1395, __wbg_adapter_8);
710
+ imports.wbg.__wbindgen_cast_62137c3c251f4059 = function(arg0, arg1) {
711
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1405, function: Function { arguments: [Externref], shim_idx: 1416, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
712
+ const ret = makeMutClosure(arg0, arg1, 1405, __wbg_adapter_6);
622
713
  return ret;
623
714
  };
624
715
  imports.wbg.__wbindgen_init_externref_table = function() {
625
- const table = wasm.__wbindgen_export_2;
716
+ const table = wasm.__wbindgen_export_4;
626
717
  const offset = table.grow(4);
627
718
  table.set(0, undefined);
628
719
  table.set(offset + 0, undefined);
package/qlue_ls_bg.wasm CHANGED
Binary file