qlue-ls 2.5.0 → 2.5.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 +1 -1
- package/qlue_ls.d.ts +2 -5
- package/qlue_ls.js +1 -20
- package/qlue_ls_bg.wasm +0 -0
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -7,8 +7,6 @@ export class Server {
|
|
|
7
7
|
[Symbol.dispose](): void;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export function determine_operation_type(input: string): string;
|
|
11
|
-
|
|
12
10
|
export function format_raw(text: string): string;
|
|
13
11
|
|
|
14
12
|
export function init_language_server(writer: WritableStreamDefaultWriter): Server;
|
|
@@ -19,11 +17,10 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
19
17
|
|
|
20
18
|
export interface InitOutput {
|
|
21
19
|
readonly memory: WebAssembly.Memory;
|
|
22
|
-
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
23
20
|
readonly init_language_server: (a: any) => number;
|
|
24
21
|
readonly listen: (a: number, b: any) => any;
|
|
22
|
+
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
25
23
|
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
26
|
-
readonly determine_operation_type: (a: number, b: number) => [number, number];
|
|
27
24
|
readonly wasm_bindgen_8be2313e8adba0b1___closure__destroy___dyn_core_b03932f25916e09f___ops__function__FnMut__wasm_bindgen_8be2313e8adba0b1___JsValue____Output_______: (a: number, b: number) => void;
|
|
28
25
|
readonly wasm_bindgen_8be2313e8adba0b1___convert__closures_____invoke___wasm_bindgen_8be2313e8adba0b1___JsValue__wasm_bindgen_8be2313e8adba0b1___JsValue_____: (a: number, b: number, c: any, d: any) => void;
|
|
29
26
|
readonly wasm_bindgen_8be2313e8adba0b1___convert__closures_____invoke___wasm_bindgen_8be2313e8adba0b1___JsValue_____: (a: number, b: number, c: any) => void;
|
|
@@ -32,8 +29,8 @@ export interface InitOutput {
|
|
|
32
29
|
readonly __externref_table_alloc: () => number;
|
|
33
30
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
34
31
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
35
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
36
32
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
33
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
37
34
|
readonly __wbindgen_start: () => void;
|
|
38
35
|
}
|
|
39
36
|
|
package/qlue_ls.js
CHANGED
|
@@ -21,25 +21,6 @@ export class Server {
|
|
|
21
21
|
}
|
|
22
22
|
if (Symbol.dispose) Server.prototype[Symbol.dispose] = Server.prototype.free;
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* @param {string} input
|
|
26
|
-
* @returns {string}
|
|
27
|
-
*/
|
|
28
|
-
export function determine_operation_type(input) {
|
|
29
|
-
let deferred2_0;
|
|
30
|
-
let deferred2_1;
|
|
31
|
-
try {
|
|
32
|
-
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
33
|
-
const len0 = WASM_VECTOR_LEN;
|
|
34
|
-
const ret = wasm.determine_operation_type(ptr0, len0);
|
|
35
|
-
deferred2_0 = ret[0];
|
|
36
|
-
deferred2_1 = ret[1];
|
|
37
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
38
|
-
} finally {
|
|
39
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
24
|
/**
|
|
44
25
|
* @param {string} text
|
|
45
26
|
* @returns {string}
|
|
@@ -417,7 +398,7 @@ function __wbg_get_imports() {
|
|
|
417
398
|
return ret;
|
|
418
399
|
},
|
|
419
400
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
420
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
401
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1226, function: Function { arguments: [Externref], shim_idx: 1227, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
421
402
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8be2313e8adba0b1___closure__destroy___dyn_core_b03932f25916e09f___ops__function__FnMut__wasm_bindgen_8be2313e8adba0b1___JsValue____Output_______, wasm_bindgen_8be2313e8adba0b1___convert__closures_____invoke___wasm_bindgen_8be2313e8adba0b1___JsValue_____);
|
|
422
403
|
return ret;
|
|
423
404
|
},
|
package/qlue_ls_bg.wasm
CHANGED
|
Binary file
|