timed-automata-analyzer 1.1.0 → 1.1.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
|
"luth1um"
|
|
6
6
|
],
|
|
7
7
|
"description": "An analyzer for Timed Automata written in Rust",
|
|
8
|
-
"version": "1.1.
|
|
8
|
+
"version": "1.1.1",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
"./timed_automata_analyzer.js",
|
|
24
24
|
"./snippets/*"
|
|
25
25
|
]
|
|
26
|
-
}
|
|
26
|
+
}
|
|
@@ -23,7 +23,7 @@ export class Clause {
|
|
|
23
23
|
constructor(lhs, op, rhs) {
|
|
24
24
|
_assertClass(lhs, Clock);
|
|
25
25
|
const ret = wasm.clause_new(lhs.__wbg_ptr, op, rhs);
|
|
26
|
-
this.__wbg_ptr = ret
|
|
26
|
+
this.__wbg_ptr = ret;
|
|
27
27
|
ClauseFinalization.register(this, this.__wbg_ptr, this);
|
|
28
28
|
return this;
|
|
29
29
|
}
|
|
@@ -54,7 +54,7 @@ export class Clock {
|
|
|
54
54
|
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
55
55
|
const len0 = WASM_VECTOR_LEN;
|
|
56
56
|
const ret = wasm.clock_new(ptr0, len0);
|
|
57
|
-
this.__wbg_ptr = ret
|
|
57
|
+
this.__wbg_ptr = ret;
|
|
58
58
|
ClockFinalization.register(this, this.__wbg_ptr, this);
|
|
59
59
|
return this;
|
|
60
60
|
}
|
|
@@ -89,7 +89,7 @@ export class ClockConstraint {
|
|
|
89
89
|
const ptr0 = passArrayJsValueToWasm0(clauses, wasm.__wbindgen_malloc);
|
|
90
90
|
const len0 = WASM_VECTOR_LEN;
|
|
91
91
|
const ret = wasm.clockconstraint_new(ptr0, len0);
|
|
92
|
-
this.__wbg_ptr = ret
|
|
92
|
+
this.__wbg_ptr = ret;
|
|
93
93
|
ClockConstraintFinalization.register(this, this.__wbg_ptr, this);
|
|
94
94
|
return this;
|
|
95
95
|
}
|
|
@@ -127,7 +127,7 @@ export class Location {
|
|
|
127
127
|
ptr1 = invariant.__destroy_into_raw();
|
|
128
128
|
}
|
|
129
129
|
const ret = wasm.location_new(ptr0, len0, is_initial, ptr1);
|
|
130
|
-
this.__wbg_ptr = ret
|
|
130
|
+
this.__wbg_ptr = ret;
|
|
131
131
|
LocationFinalization.register(this, this.__wbg_ptr, this);
|
|
132
132
|
return this;
|
|
133
133
|
}
|
|
@@ -171,7 +171,7 @@ export class Switch {
|
|
|
171
171
|
const len2 = WASM_VECTOR_LEN;
|
|
172
172
|
_assertClass(target, Location);
|
|
173
173
|
const ret = wasm.switch_new(source.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, target.__wbg_ptr);
|
|
174
|
-
this.__wbg_ptr = ret
|
|
174
|
+
this.__wbg_ptr = ret;
|
|
175
175
|
SwitchFinalization.register(this, this.__wbg_ptr, this);
|
|
176
176
|
return this;
|
|
177
177
|
}
|
|
@@ -202,7 +202,7 @@ export class TimedAutomaton {
|
|
|
202
202
|
const ptr2 = passArrayJsValueToWasm0(switches, wasm.__wbindgen_malloc);
|
|
203
203
|
const len2 = WASM_VECTOR_LEN;
|
|
204
204
|
const ret = wasm.timedautomaton_new(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
205
|
-
this.__wbg_ptr = ret
|
|
205
|
+
this.__wbg_ptr = ret;
|
|
206
206
|
TimedAutomatonFinalization.register(this, this.__wbg_ptr, this);
|
|
207
207
|
return this;
|
|
208
208
|
}
|
|
@@ -238,7 +238,7 @@ export function findUnreachableLocations(ta) {
|
|
|
238
238
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
239
239
|
return v2;
|
|
240
240
|
}
|
|
241
|
-
export function
|
|
241
|
+
export function __wbg___wbindgen_throw_1506f2235d1bdba0(arg0, arg1) {
|
|
242
242
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
243
243
|
}
|
|
244
244
|
export function __wbg_clause_unwrap(arg0) {
|
|
@@ -273,22 +273,22 @@ export function __wbindgen_init_externref_table() {
|
|
|
273
273
|
}
|
|
274
274
|
const ClauseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
275
275
|
? { register: () => {}, unregister: () => {} }
|
|
276
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_clause_free(ptr
|
|
276
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_clause_free(ptr, 1));
|
|
277
277
|
const ClockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
278
278
|
? { register: () => {}, unregister: () => {} }
|
|
279
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_clock_free(ptr
|
|
279
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_clock_free(ptr, 1));
|
|
280
280
|
const ClockConstraintFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
281
281
|
? { register: () => {}, unregister: () => {} }
|
|
282
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_clockconstraint_free(ptr
|
|
282
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_clockconstraint_free(ptr, 1));
|
|
283
283
|
const LocationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
284
284
|
? { register: () => {}, unregister: () => {} }
|
|
285
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_location_free(ptr
|
|
285
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_location_free(ptr, 1));
|
|
286
286
|
const SwitchFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
287
287
|
? { register: () => {}, unregister: () => {} }
|
|
288
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_switch_free(ptr
|
|
288
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_switch_free(ptr, 1));
|
|
289
289
|
const TimedAutomatonFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
290
290
|
? { register: () => {}, unregister: () => {} }
|
|
291
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_timedautomaton_free(ptr
|
|
291
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_timedautomaton_free(ptr, 1));
|
|
292
292
|
|
|
293
293
|
function addToExternrefTable0(obj) {
|
|
294
294
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -322,8 +322,7 @@ function getDataViewMemory0() {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
function getStringFromWasm0(ptr, len) {
|
|
325
|
-
|
|
326
|
-
return decodeText(ptr, len);
|
|
325
|
+
return decodeText(ptr >>> 0, len);
|
|
327
326
|
}
|
|
328
327
|
|
|
329
328
|
let cachedUint8ArrayMemory0 = null;
|
|
Binary file
|