qlue-ls 0.19.2 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.19.2",
8
+ "version": "0.20.1",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
package/qlue_ls.d.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  export function init_language_server(writer: WritableStreamDefaultWriter): Server;
4
4
  export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
5
5
  export function format_raw(text: string): string;
6
- export function get_parse_tree(input: string, offset: number): any;
7
6
  export function determine_operation_type(input: string): string;
7
+ export function get_parse_tree(input: string, offset: number): any;
8
8
  export class Server {
9
9
  private constructor();
10
10
  free(): void;
@@ -19,8 +19,8 @@ export interface InitOutput {
19
19
  readonly listen: (a: number, b: any) => any;
20
20
  readonly __wbg_server_free: (a: number, b: number) => void;
21
21
  readonly format_raw: (a: number, b: number) => [number, number, number, number];
22
- readonly get_parse_tree: (a: number, b: number, c: number) => any;
23
22
  readonly determine_operation_type: (a: number, b: number) => [number, number];
23
+ readonly get_parse_tree: (a: number, b: number, c: number) => any;
24
24
  readonly __wbindgen_malloc: (a: number, b: number) => number;
25
25
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
26
26
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -29,8 +29,8 @@ export interface InitOutput {
29
29
  readonly __wbindgen_export_5: WebAssembly.Table;
30
30
  readonly __externref_table_dealloc: (a: number) => void;
31
31
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
32
- readonly closure1414_externref_shim: (a: number, b: number, c: any) => void;
33
- readonly closure1942_externref_shim: (a: number, b: number, c: any, d: any) => void;
32
+ readonly closure1392_externref_shim: (a: number, b: number, c: any) => void;
33
+ readonly closure1926_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
@@ -271,18 +271,6 @@ export function format_raw(text) {
271
271
  }
272
272
  }
273
273
 
274
- /**
275
- * @param {string} input
276
- * @param {number} offset
277
- * @returns {any}
278
- */
279
- export function get_parse_tree(input, offset) {
280
- const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
281
- const len0 = WASM_VECTOR_LEN;
282
- const ret = wasm.get_parse_tree(ptr0, len0, offset);
283
- return ret;
284
- }
285
-
286
274
  /**
287
275
  * @param {string} input
288
276
  * @returns {string}
@@ -302,12 +290,24 @@ export function determine_operation_type(input) {
302
290
  }
303
291
  }
304
292
 
293
+ /**
294
+ * @param {string} input
295
+ * @param {number} offset
296
+ * @returns {any}
297
+ */
298
+ export function get_parse_tree(input, offset) {
299
+ const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
300
+ const len0 = WASM_VECTOR_LEN;
301
+ const ret = wasm.get_parse_tree(ptr0, len0, offset);
302
+ return ret;
303
+ }
304
+
305
305
  function __wbg_adapter_6(arg0, arg1, arg2) {
306
- wasm.closure1414_externref_shim(arg0, arg1, arg2);
306
+ wasm.closure1392_externref_shim(arg0, arg1, arg2);
307
307
  }
308
308
 
309
- function __wbg_adapter_78(arg0, arg1, arg2, arg3) {
310
- wasm.closure1942_externref_shim(arg0, arg1, arg2, arg3);
309
+ function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
310
+ wasm.closure1926_externref_shim(arg0, arg1, arg2, arg3);
311
311
  }
312
312
 
313
313
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -501,7 +501,7 @@ function __wbg_get_imports() {
501
501
  const a = state0.a;
502
502
  state0.a = 0;
503
503
  try {
504
- return __wbg_adapter_78(a, state0.b, arg0, arg1);
504
+ return __wbg_adapter_94(a, state0.b, arg0, arg1);
505
505
  } finally {
506
506
  state0.a = a;
507
507
  }
@@ -688,9 +688,9 @@ function __wbg_get_imports() {
688
688
  const ret = getStringFromWasm0(arg0, arg1);
689
689
  return ret;
690
690
  };
691
- imports.wbg.__wbindgen_cast_f8e98c272db65547 = function(arg0, arg1) {
692
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1413, function: Function { arguments: [Externref], shim_idx: 1414, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
693
- const ret = makeMutClosure(arg0, arg1, 1413, __wbg_adapter_6);
691
+ imports.wbg.__wbindgen_cast_7c0064388dae459f = function(arg0, arg1) {
692
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1391, function: Function { arguments: [Externref], shim_idx: 1392, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
693
+ const ret = makeMutClosure(arg0, arg1, 1391, __wbg_adapter_6);
694
694
  return ret;
695
695
  };
696
696
  imports.wbg.__wbindgen_init_externref_table = function() {
package/qlue_ls_bg.wasm CHANGED
Binary file