@flock/wirespec 0.8.13 → 0.8.14

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.
@@ -95,10 +95,10 @@
95
95
  this.compiled = compiled;
96
96
  this.errors = errors;
97
97
  }
98
- protoOf(WsCompilationResult).e21 = function () {
98
+ protoOf(WsCompilationResult).f21 = function () {
99
99
  return this.compiled;
100
100
  };
101
- protoOf(WsCompilationResult).f21 = function () {
101
+ protoOf(WsCompilationResult).g21 = function () {
102
102
  return this.errors;
103
103
  };
104
104
  function WsCompiled(value) {
@@ -149,7 +149,7 @@
149
149
  var tmp = this;
150
150
  tmp.logger = new Compiler$Companion$logger$1();
151
151
  }
152
- protoOf(Companion).g21 = function () {
152
+ protoOf(Companion).h21 = function () {
153
153
  return this.logger;
154
154
  };
155
155
  var Companion_instance;
@@ -185,7 +185,7 @@
185
185
  };
186
186
  function Companion_0() {
187
187
  Companion_instance_0 = this;
188
- this.h21_1 = new KotlinEmitter(VOID, Companion_getInstance().logger);
188
+ this.i21_1 = new KotlinEmitter(VOID, Companion_getInstance().logger);
189
189
  }
190
190
  var Companion_instance_0;
191
191
  function Companion_getInstance_0() {
@@ -198,11 +198,11 @@
198
198
  Compiler.call(this);
199
199
  }
200
200
  protoOf(WsToKotlin).compile = function (source) {
201
- return produce(this.preCompile(source)(Companion_getInstance_0().h21_1));
201
+ return produce(this.preCompile(source)(Companion_getInstance_0().i21_1));
202
202
  };
203
203
  function Companion_1() {
204
204
  Companion_instance_1 = this;
205
- this.i21_1 = new TypeScriptEmitter(Companion_getInstance().logger);
205
+ this.j21_1 = new TypeScriptEmitter(Companion_getInstance().logger);
206
206
  }
207
207
  var Companion_instance_1;
208
208
  function Companion_getInstance_1() {
@@ -215,11 +215,11 @@
215
215
  Compiler.call(this);
216
216
  }
217
217
  protoOf(WsToTypeScript).compile = function (source) {
218
- return produce(this.preCompile(source)(Companion_getInstance_1().i21_1));
218
+ return produce(this.preCompile(source)(Companion_getInstance_1().j21_1));
219
219
  };
220
220
  function Companion_2() {
221
221
  Companion_instance_2 = this;
222
- this.j21_1 = new WirespecEmitter(Companion_getInstance().logger);
222
+ this.k21_1 = new WirespecEmitter(Companion_getInstance().logger);
223
223
  }
224
224
  var Companion_instance_2;
225
225
  function Companion_getInstance_2() {
@@ -232,7 +232,7 @@
232
232
  Compiler.call(this);
233
233
  }
234
234
  protoOf(WsToWirespec).compile = function (source) {
235
- return produce(this.preCompile(source)(Companion_getInstance_2().j21_1));
235
+ return produce(this.preCompile(source)(Companion_getInstance_2().k21_1));
236
236
  };
237
237
  function WsTokenResult(tokens, error) {
238
238
  tokens = tokens === VOID ? null : tokens;
@@ -240,10 +240,10 @@
240
240
  this.tokens = tokens;
241
241
  this.error = error;
242
242
  }
243
- protoOf(WsTokenResult).k21 = function () {
243
+ protoOf(WsTokenResult).l21 = function () {
244
244
  return this.tokens;
245
245
  };
246
- protoOf(WsTokenResult).l21 = function () {
246
+ protoOf(WsTokenResult).m21 = function () {
247
247
  return this.error;
248
248
  };
249
249
  protoOf(WsTokenResult).j3 = function () {
@@ -252,13 +252,13 @@
252
252
  protoOf(WsTokenResult).k3 = function () {
253
253
  return this.error;
254
254
  };
255
- protoOf(WsTokenResult).m21 = function (tokens, error) {
255
+ protoOf(WsTokenResult).n21 = function (tokens, error) {
256
256
  return new WsTokenResult(tokens, error);
257
257
  };
258
258
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
259
259
  tokens = tokens === VOID ? this.tokens : tokens;
260
260
  error = error === VOID ? this.error : error;
261
- return this.m21(tokens, error);
261
+ return this.n21(tokens, error);
262
262
  };
263
263
  protoOf(WsTokenResult).toString = function () {
264
264
  return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
@@ -303,12 +303,12 @@
303
303
  protoOf(WsTokens).j3 = function () {
304
304
  return this.value;
305
305
  };
306
- protoOf(WsTokens).n21 = function (value) {
306
+ protoOf(WsTokens).o21 = function (value) {
307
307
  return new WsTokens(value);
308
308
  };
309
309
  protoOf(WsTokens).copy = function (value, $super) {
310
310
  value = value === VOID ? this.value : value;
311
- return this.n21(value);
311
+ return this.o21(value);
312
312
  };
313
313
  protoOf(WsTokens).toString = function () {
314
314
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -319,13 +319,13 @@
319
319
  this.value = value;
320
320
  this.coordinates = coordinates;
321
321
  }
322
- protoOf(WsToken).o21 = function () {
322
+ protoOf(WsToken).p21 = function () {
323
323
  return this.type;
324
324
  };
325
325
  protoOf(WsToken).w = function () {
326
326
  return this.value;
327
327
  };
328
- protoOf(WsToken).p21 = function () {
328
+ protoOf(WsToken).q21 = function () {
329
329
  return this.coordinates;
330
330
  };
331
331
  protoOf(WsToken).j3 = function () {
@@ -334,17 +334,17 @@
334
334
  protoOf(WsToken).k3 = function () {
335
335
  return this.value;
336
336
  };
337
- protoOf(WsToken).q21 = function () {
337
+ protoOf(WsToken).r21 = function () {
338
338
  return this.coordinates;
339
339
  };
340
- protoOf(WsToken).r21 = function (type, value, coordinates) {
340
+ protoOf(WsToken).s21 = function (type, value, coordinates) {
341
341
  return new WsToken(type, value, coordinates);
342
342
  };
343
343
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
344
344
  type = type === VOID ? this.type : type;
345
345
  value = value === VOID ? this.value : value;
346
346
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
347
- return this.r21(type, value, coordinates);
347
+ return this.s21(type, value, coordinates);
348
348
  };
349
349
  protoOf(WsToken).toString = function () {
350
350
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
@@ -377,13 +377,13 @@
377
377
  this.position = position;
378
378
  this.idxAndLength = idxAndLength;
379
379
  }
380
- protoOf(WsCoordinates).s21 = function () {
380
+ protoOf(WsCoordinates).t21 = function () {
381
381
  return this.line;
382
382
  };
383
- protoOf(WsCoordinates).st = function () {
383
+ protoOf(WsCoordinates).tt = function () {
384
384
  return this.position;
385
385
  };
386
- protoOf(WsCoordinates).t21 = function () {
386
+ protoOf(WsCoordinates).u21 = function () {
387
387
  return this.idxAndLength;
388
388
  };
389
389
  protoOf(WsCoordinates).j3 = function () {
@@ -392,17 +392,17 @@
392
392
  protoOf(WsCoordinates).k3 = function () {
393
393
  return this.position;
394
394
  };
395
- protoOf(WsCoordinates).q21 = function () {
395
+ protoOf(WsCoordinates).r21 = function () {
396
396
  return this.idxAndLength;
397
397
  };
398
- protoOf(WsCoordinates).u21 = function (line, position, idxAndLength) {
398
+ protoOf(WsCoordinates).v21 = function (line, position, idxAndLength) {
399
399
  return new WsCoordinates(line, position, idxAndLength);
400
400
  };
401
401
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
402
402
  line = line === VOID ? this.line : line;
403
403
  position = position === VOID ? this.position : position;
404
404
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
405
- return this.u21(line, position, idxAndLength);
405
+ return this.v21(line, position, idxAndLength);
406
406
  };
407
407
  protoOf(WsCoordinates).toString = function () {
408
408
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
@@ -433,7 +433,7 @@
433
433
  this.idx = idx;
434
434
  this.length = length;
435
435
  }
436
- protoOf(WsIndex).v21 = function () {
436
+ protoOf(WsIndex).w21 = function () {
437
437
  return this.idx;
438
438
  };
439
439
  protoOf(WsIndex).r8 = function () {
@@ -445,13 +445,13 @@
445
445
  protoOf(WsIndex).k3 = function () {
446
446
  return this.length;
447
447
  };
448
- protoOf(WsIndex).w21 = function (idx, length) {
448
+ protoOf(WsIndex).x21 = function (idx, length) {
449
449
  return new WsIndex(idx, length);
450
450
  };
451
451
  protoOf(WsIndex).copy = function (idx, length, $super) {
452
452
  idx = idx === VOID ? this.idx : idx;
453
453
  length = length === VOID ? this.length : length;
454
- return this.w21(idx, length);
454
+ return this.x21(idx, length);
455
455
  };
456
456
  protoOf(WsIndex).toString = function () {
457
457
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -491,20 +491,20 @@
491
491
  return new WsTokenResult(new WsTokens(tmp$ret$3));
492
492
  }
493
493
  function produce_1(_this__u8e3s4) {
494
- return new WsToken(_this__u8e3s4.ol_1.rl(), _this__u8e3s4.pl_1, produce_2(_this__u8e3s4.ql_1));
494
+ return new WsToken(_this__u8e3s4.pl_1.sl(), _this__u8e3s4.ql_1, produce_2(_this__u8e3s4.rl_1));
495
495
  }
496
496
  function produce_2(_this__u8e3s4) {
497
- return new WsCoordinates(_this__u8e3s4.sl_1, _this__u8e3s4.tl_1, produce_3(_this__u8e3s4.ul_1));
497
+ return new WsCoordinates(_this__u8e3s4.tl_1, _this__u8e3s4.ul_1, produce_3(_this__u8e3s4.vl_1));
498
498
  }
499
499
  function produce_3(_this__u8e3s4) {
500
- return new WsIndex(_this__u8e3s4.um_1, _this__u8e3s4.vm_1);
500
+ return new WsIndex(_this__u8e3s4.vm_1, _this__u8e3s4.wm_1);
501
501
  }
502
502
  function WsError(index, length, value) {
503
503
  this.index = index;
504
504
  this.length = length;
505
505
  this.value = value;
506
506
  }
507
- protoOf(WsError).x21 = function () {
507
+ protoOf(WsError).y21 = function () {
508
508
  return this.index;
509
509
  };
510
510
  protoOf(WsError).r8 = function () {
@@ -519,17 +519,17 @@
519
519
  protoOf(WsError).k3 = function () {
520
520
  return this.length;
521
521
  };
522
- protoOf(WsError).q21 = function () {
522
+ protoOf(WsError).r21 = function () {
523
523
  return this.value;
524
524
  };
525
- protoOf(WsError).y21 = function (index, length, value) {
525
+ protoOf(WsError).z21 = function (index, length, value) {
526
526
  return new WsError(index, length, value);
527
527
  };
528
528
  protoOf(WsError).copy = function (index, length, value, $super) {
529
529
  index = index === VOID ? this.index : index;
530
530
  length = length === VOID ? this.length : length;
531
531
  value = value === VOID ? this.value : value;
532
- return this.y21(index, length, value);
532
+ return this.z21(index, length, value);
533
533
  };
534
534
  protoOf(WsError).toString = function () {
535
535
  return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -555,9 +555,9 @@
555
555
  return true;
556
556
  };
557
557
  function produce_4(_this__u8e3s4) {
558
- var tmp = _this__u8e3s4.vl_1.ul_1.um_1 - _this__u8e3s4.vl_1.ul_1.vm_1 | 0;
558
+ var tmp = _this__u8e3s4.wl_1.vl_1.vm_1 - _this__u8e3s4.wl_1.vl_1.wm_1 | 0;
559
559
  var tmp0_elvis_lhs = _this__u8e3s4.message;
560
- return new WsError(tmp, _this__u8e3s4.vl_1.ul_1.vm_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
560
+ return new WsError(tmp, _this__u8e3s4.wl_1.vl_1.wm_1, tmp0_elvis_lhs == null ? 'No message' : tmp0_elvis_lhs);
561
561
  }
562
562
  //region block: exports
563
563
  function $jsExportAll$(_) {