qlue-ls 2.1.0 → 2.2.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 +1 -4
- package/qlue_ls.js +1 -25
- package/qlue_ls_bg.wasm +0 -0
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ export function determine_operation_type(input: string): string;
|
|
|
11
11
|
|
|
12
12
|
export function format_raw(text: string): string;
|
|
13
13
|
|
|
14
|
-
export function get_parse_tree(input: string, offset: number): any;
|
|
15
|
-
|
|
16
14
|
export function init_language_server(writer: WritableStreamDefaultWriter): Server;
|
|
17
15
|
|
|
18
16
|
export function listen(server: Server, reader: ReadableStreamDefaultReader): Promise<void>;
|
|
@@ -21,12 +19,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
21
19
|
|
|
22
20
|
export interface InitOutput {
|
|
23
21
|
readonly memory: WebAssembly.Memory;
|
|
22
|
+
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
24
23
|
readonly init_language_server: (a: any) => number;
|
|
25
24
|
readonly listen: (a: number, b: any) => any;
|
|
26
25
|
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
27
|
-
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
28
26
|
readonly determine_operation_type: (a: number, b: number) => [number, number];
|
|
29
|
-
readonly get_parse_tree: (a: number, b: number, c: number) => any;
|
|
30
27
|
readonly wasm_bindgen_8be2313e8adba0b1___closure__destroy___dyn_core_b03932f25916e09f___ops__function__FnMut__wasm_bindgen_8be2313e8adba0b1___JsValue____Output_______: (a: number, b: number) => void;
|
|
31
28
|
readonly wasm_bindgen_8be2313e8adba0b1___convert__closures_____invoke___wasm_bindgen_8be2313e8adba0b1___JsValue__wasm_bindgen_8be2313e8adba0b1___JsValue_____: (a: number, b: number, c: any, d: any) => void;
|
|
32
29
|
readonly wasm_bindgen_8be2313e8adba0b1___convert__closures_____invoke___wasm_bindgen_8be2313e8adba0b1___JsValue_____: (a: number, b: number, c: any) => void;
|
package/qlue_ls.js
CHANGED
|
@@ -65,18 +65,6 @@ export function format_raw(text) {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
/**
|
|
69
|
-
* @param {string} input
|
|
70
|
-
* @param {number} offset
|
|
71
|
-
* @returns {any}
|
|
72
|
-
*/
|
|
73
|
-
export function get_parse_tree(input, offset) {
|
|
74
|
-
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
75
|
-
const len0 = WASM_VECTOR_LEN;
|
|
76
|
-
const ret = wasm.get_parse_tree(ptr0, len0, offset);
|
|
77
|
-
return ret;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
68
|
/**
|
|
81
69
|
* @param {WritableStreamDefaultWriter} writer
|
|
82
70
|
* @returns {Server}
|
|
@@ -302,10 +290,6 @@ function __wbg_get_imports() {
|
|
|
302
290
|
const ret = new Object();
|
|
303
291
|
return ret;
|
|
304
292
|
},
|
|
305
|
-
__wbg_new_3eb36ae241fe6f44: function() {
|
|
306
|
-
const ret = new Array();
|
|
307
|
-
return ret;
|
|
308
|
-
},
|
|
309
293
|
__wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
|
|
310
294
|
try {
|
|
311
295
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -359,10 +343,6 @@ function __wbg_get_imports() {
|
|
|
359
343
|
__wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
|
|
360
344
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
361
345
|
},
|
|
362
|
-
__wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
|
|
363
|
-
const ret = arg0.push(arg1);
|
|
364
|
-
return ret;
|
|
365
|
-
},
|
|
366
346
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
367
347
|
const ret = arg0.queueMicrotask;
|
|
368
348
|
return ret;
|
|
@@ -378,10 +358,6 @@ function __wbg_get_imports() {
|
|
|
378
358
|
const ret = Promise.resolve(arg0);
|
|
379
359
|
return ret;
|
|
380
360
|
},
|
|
381
|
-
__wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
|
|
382
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
383
|
-
return ret;
|
|
384
|
-
}, arguments); },
|
|
385
361
|
__wbg_set_body_9a7e00afe3cfe244: function(arg0, arg1) {
|
|
386
362
|
arg0.body = arg1;
|
|
387
363
|
},
|
|
@@ -441,7 +417,7 @@ function __wbg_get_imports() {
|
|
|
441
417
|
return ret;
|
|
442
418
|
},
|
|
443
419
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
444
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
420
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1227, function: Function { arguments: [Externref], shim_idx: 1228, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
445
421
|
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_____);
|
|
446
422
|
return ret;
|
|
447
423
|
},
|
package/qlue_ls_bg.wasm
CHANGED
|
Binary file
|