@flock/wirespec 0.9.2 → 0.9.3

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.
@@ -58,36 +58,36 @@
58
58
  setMetadataFor(Output, 'Output', classMeta);
59
59
  //endregion
60
60
  function CompilerArguments(operation, input, output, languages, packageName, shared, strict, debug) {
61
- this.s21_1 = operation;
62
- this.t21_1 = input;
63
- this.u21_1 = output;
64
- this.v21_1 = languages;
65
- this.w21_1 = packageName;
66
- this.x21_1 = shared;
67
- this.y21_1 = strict;
68
- this.z21_1 = debug;
61
+ this.t21_1 = operation;
62
+ this.u21_1 = input;
63
+ this.v21_1 = output;
64
+ this.w21_1 = languages;
65
+ this.x21_1 = packageName;
66
+ this.y21_1 = shared;
67
+ this.z21_1 = strict;
68
+ this.a22_1 = debug;
69
69
  }
70
70
  protoOf(CompilerArguments).toString = function () {
71
- var tmp = this.u21_1;
72
- return 'CompilerArguments(operation=' + this.s21_1 + ', input=' + this.t21_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.v21_1 + ', packageName=' + new PackageName(this.w21_1) + ', shared=' + this.x21_1 + ', strict=' + this.y21_1 + ', debug=' + this.z21_1 + ')';
71
+ var tmp = this.v21_1;
72
+ return 'CompilerArguments(operation=' + this.t21_1 + ', input=' + this.u21_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.w21_1 + ', packageName=' + new PackageName(this.x21_1) + ', shared=' + this.y21_1 + ', strict=' + this.z21_1 + ', debug=' + this.a22_1 + ')';
73
73
  };
74
74
  protoOf(CompilerArguments).hashCode = function () {
75
- var result = hashCode(this.s21_1);
76
- result = imul(result, 31) + hashCode(this.t21_1) | 0;
75
+ var result = hashCode(this.t21_1);
76
+ result = imul(result, 31) + hashCode(this.u21_1) | 0;
77
77
  var tmp = imul(result, 31);
78
78
  var tmp_0;
79
- var tmp_1 = this.u21_1;
79
+ var tmp_1 = this.v21_1;
80
80
  if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
81
81
  tmp_0 = 0;
82
82
  } else {
83
- tmp_0 = Output__hashCode_impl_m9q6pd(this.u21_1);
83
+ tmp_0 = Output__hashCode_impl_m9q6pd(this.v21_1);
84
84
  }
85
85
  result = tmp + tmp_0 | 0;
86
- result = imul(result, 31) + hashCode(this.v21_1) | 0;
87
- result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.w21_1) | 0;
88
- result = imul(result, 31) + (this.x21_1 | 0) | 0;
86
+ result = imul(result, 31) + hashCode(this.w21_1) | 0;
87
+ result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.x21_1) | 0;
89
88
  result = imul(result, 31) + (this.y21_1 | 0) | 0;
90
89
  result = imul(result, 31) + (this.z21_1 | 0) | 0;
90
+ result = imul(result, 31) + (this.a22_1 | 0) | 0;
91
91
  return result;
92
92
  };
93
93
  protoOf(CompilerArguments).equals = function (other) {
@@ -96,18 +96,16 @@
96
96
  if (!(other instanceof CompilerArguments))
97
97
  return false;
98
98
  var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
99
- if (!equals(this.s21_1, tmp0_other_with_cast.s21_1))
100
- return false;
101
99
  if (!equals(this.t21_1, tmp0_other_with_cast.t21_1))
102
100
  return false;
103
- var tmp = this.u21_1;
101
+ if (!equals(this.u21_1, tmp0_other_with_cast.u21_1))
102
+ return false;
103
+ var tmp = this.v21_1;
104
104
  var tmp_0 = tmp == null ? null : new Output(tmp);
105
- var tmp_1 = tmp0_other_with_cast.u21_1;
105
+ var tmp_1 = tmp0_other_with_cast.v21_1;
106
106
  if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
107
107
  return false;
108
- if (!equals(this.v21_1, tmp0_other_with_cast.v21_1))
109
- return false;
110
- if (!(this.w21_1 === tmp0_other_with_cast.w21_1))
108
+ if (!equals(this.w21_1, tmp0_other_with_cast.w21_1))
111
109
  return false;
112
110
  if (!(this.x21_1 === tmp0_other_with_cast.x21_1))
113
111
  return false;
@@ -115,6 +113,8 @@
115
113
  return false;
116
114
  if (!(this.z21_1 === tmp0_other_with_cast.z21_1))
117
115
  return false;
116
+ if (!(this.a22_1 === tmp0_other_with_cast.a22_1))
117
+ return false;
118
118
  return true;
119
119
  };
120
120
  function _PackageName___init__impl__s13tbs(value) {
@@ -132,24 +132,24 @@
132
132
  function PackageName__equals_impl_eo1xnn($this, other) {
133
133
  if (!(other instanceof PackageName))
134
134
  return false;
135
- if (!($this === (other instanceof PackageName ? other.a22_1 : THROW_CCE())))
135
+ if (!($this === (other instanceof PackageName ? other.b22_1 : THROW_CCE())))
136
136
  return false;
137
137
  return true;
138
138
  }
139
139
  function PackageName(value) {
140
- this.a22_1 = value;
140
+ this.b22_1 = value;
141
141
  }
142
142
  protoOf(PackageName).p2 = function () {
143
- return _PackageName___get_value__impl__2zr98c(this.a22_1);
143
+ return _PackageName___get_value__impl__2zr98c(this.b22_1);
144
144
  };
145
145
  protoOf(PackageName).toString = function () {
146
- return PackageName__toString_impl_pes5ww(this.a22_1);
146
+ return PackageName__toString_impl_pes5ww(this.b22_1);
147
147
  };
148
148
  protoOf(PackageName).hashCode = function () {
149
- return PackageName__hashCode_impl_nv5z9d(this.a22_1);
149
+ return PackageName__hashCode_impl_nv5z9d(this.b22_1);
150
150
  };
151
151
  protoOf(PackageName).equals = function (other) {
152
- return PackageName__equals_impl_eo1xnn(this.a22_1, other);
152
+ return PackageName__equals_impl_eo1xnn(this.b22_1, other);
153
153
  };
154
154
  function Compile() {
155
155
  Compile_instance = this;
@@ -175,13 +175,13 @@
175
175
  return Compile_instance;
176
176
  }
177
177
  function Convert(format) {
178
- this.b22_1 = format;
178
+ this.c22_1 = format;
179
179
  }
180
180
  protoOf(Convert).toString = function () {
181
- return 'Convert(format=' + this.b22_1 + ')';
181
+ return 'Convert(format=' + this.c22_1 + ')';
182
182
  };
183
183
  protoOf(Convert).hashCode = function () {
184
- return this.b22_1.hashCode();
184
+ return this.c22_1.hashCode();
185
185
  };
186
186
  protoOf(Convert).equals = function (other) {
187
187
  if (this === other)
@@ -189,7 +189,7 @@
189
189
  if (!(other instanceof Convert))
190
190
  return false;
191
191
  var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
192
- if (!this.b22_1.equals(tmp0_other_with_cast.b22_1))
192
+ if (!this.c22_1.equals(tmp0_other_with_cast.c22_1))
193
193
  return false;
194
194
  return true;
195
195
  };
@@ -240,7 +240,7 @@
240
240
  function Companion_0() {
241
241
  Companion_instance_0 = this;
242
242
  }
243
- protoOf(Companion_0).c22 = function (input) {
243
+ protoOf(Companion_0).d22 = function (input) {
244
244
  // Inline function 'kotlin.let' call
245
245
  var tmp0_let = split(input, ['/']);
246
246
  // Inline function 'kotlin.contracts.contract' call
@@ -261,7 +261,7 @@
261
261
  while (tmp0_iterator.w()) {
262
262
  var element = tmp0_iterator.y();
263
263
  // Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
264
- if (element.f22_1 === tmp2_let) {
264
+ if (element.g22_1 === tmp2_let) {
265
265
  tmp$ret$5 = element;
266
266
  break $l$block;
267
267
  }
@@ -289,26 +289,26 @@
289
289
  function FullFilePath(directory, fileName, extension) {
290
290
  Companion_getInstance_0();
291
291
  extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
292
- this.g22_1 = directory;
293
- this.h22_1 = fileName;
294
- this.i22_1 = extension;
292
+ this.h22_1 = directory;
293
+ this.i22_1 = fileName;
294
+ this.j22_1 = extension;
295
295
  }
296
296
  protoOf(FullFilePath).toString = function () {
297
- return this.g22_1 + '/' + _FileName___get_value__impl__3u4cz6(this.h22_1) + '.' + this.i22_1.f22_1;
297
+ return this.h22_1 + '/' + _FileName___get_value__impl__3u4cz6(this.i22_1) + '.' + this.j22_1.g22_1;
298
298
  };
299
- protoOf(FullFilePath).j22 = function (directory, fileName, extension) {
299
+ protoOf(FullFilePath).k22 = function (directory, fileName, extension) {
300
300
  return new FullFilePath(directory, fileName, extension);
301
301
  };
302
- protoOf(FullFilePath).k22 = function (directory, fileName, extension, $super) {
303
- directory = directory === VOID ? this.g22_1 : directory;
304
- fileName = fileName === VOID ? this.h22_1 : fileName;
305
- extension = extension === VOID ? this.i22_1 : extension;
306
- return $super === VOID ? this.j22(directory, fileName, extension) : $super.j22.call(this, directory, new FileName(fileName), extension);
302
+ protoOf(FullFilePath).l22 = function (directory, fileName, extension, $super) {
303
+ directory = directory === VOID ? this.h22_1 : directory;
304
+ fileName = fileName === VOID ? this.i22_1 : fileName;
305
+ extension = extension === VOID ? this.j22_1 : extension;
306
+ return $super === VOID ? this.k22(directory, fileName, extension) : $super.k22.call(this, directory, new FileName(fileName), extension);
307
307
  };
308
308
  protoOf(FullFilePath).hashCode = function () {
309
- var result = getStringHashCode(this.g22_1);
310
- result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.h22_1) | 0;
311
- result = imul(result, 31) + this.i22_1.hashCode() | 0;
309
+ var result = getStringHashCode(this.h22_1);
310
+ result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.i22_1) | 0;
311
+ result = imul(result, 31) + this.j22_1.hashCode() | 0;
312
312
  return result;
313
313
  };
314
314
  protoOf(FullFilePath).equals = function (other) {
@@ -317,11 +317,11 @@
317
317
  if (!(other instanceof FullFilePath))
318
318
  return false;
319
319
  var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
320
- if (!(this.g22_1 === tmp0_other_with_cast.g22_1))
321
- return false;
322
320
  if (!(this.h22_1 === tmp0_other_with_cast.h22_1))
323
321
  return false;
324
- if (!this.i22_1.equals(tmp0_other_with_cast.i22_1))
322
+ if (!(this.i22_1 === tmp0_other_with_cast.i22_1))
323
+ return false;
324
+ if (!this.j22_1.equals(tmp0_other_with_cast.j22_1))
325
325
  return false;
326
326
  return true;
327
327
  };
@@ -340,24 +340,24 @@
340
340
  function FileName__equals_impl_o96ox3($this, other) {
341
341
  if (!(other instanceof FileName))
342
342
  return false;
343
- if (!($this === (other instanceof FileName ? other.l22_1 : THROW_CCE())))
343
+ if (!($this === (other instanceof FileName ? other.m22_1 : THROW_CCE())))
344
344
  return false;
345
345
  return true;
346
346
  }
347
347
  function FileName(value) {
348
- this.l22_1 = value;
348
+ this.m22_1 = value;
349
349
  }
350
350
  protoOf(FileName).p2 = function () {
351
- return _FileName___get_value__impl__3u4cz6(this.l22_1);
351
+ return _FileName___get_value__impl__3u4cz6(this.m22_1);
352
352
  };
353
353
  protoOf(FileName).toString = function () {
354
- return FileName__toString_impl_hn9m8q(this.l22_1);
354
+ return FileName__toString_impl_hn9m8q(this.m22_1);
355
355
  };
356
356
  protoOf(FileName).hashCode = function () {
357
- return FileName__hashCode_impl_43wak5(this.l22_1);
357
+ return FileName__hashCode_impl_43wak5(this.m22_1);
358
358
  };
359
359
  protoOf(FileName).equals = function (other) {
360
- return FileName__equals_impl_o96ox3(this.l22_1, other);
360
+ return FileName__equals_impl_o96ox3(this.m22_1, other);
361
361
  };
362
362
  function Console$read$lambda() {
363
363
  return readlnOrNull();
@@ -389,13 +389,13 @@
389
389
  return Console_instance;
390
390
  }
391
391
  function FullDirPath(path) {
392
- this.m22_1 = path;
392
+ this.n22_1 = path;
393
393
  }
394
394
  protoOf(FullDirPath).toString = function () {
395
- return 'FullDirPath(path=' + this.m22_1 + ')';
395
+ return 'FullDirPath(path=' + this.n22_1 + ')';
396
396
  };
397
397
  protoOf(FullDirPath).hashCode = function () {
398
- return getStringHashCode(this.m22_1);
398
+ return getStringHashCode(this.n22_1);
399
399
  };
400
400
  protoOf(FullDirPath).equals = function (other) {
401
401
  if (this === other)
@@ -403,7 +403,7 @@
403
403
  if (!(other instanceof FullDirPath))
404
404
  return false;
405
405
  var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
406
- if (!(this.m22_1 === tmp0_other_with_cast.m22_1))
406
+ if (!(this.n22_1 === tmp0_other_with_cast.n22_1))
407
407
  return false;
408
408
  return true;
409
409
  };
@@ -415,7 +415,7 @@
415
415
  function Companion_1() {
416
416
  Companion_instance_1 = this;
417
417
  }
418
- protoOf(Companion_1).n22 = function () {
418
+ protoOf(Companion_1).o22 = function () {
419
419
  // Inline function 'kotlin.collections.associateBy' call
420
420
  var tmp0_associateBy = get_entries_0();
421
421
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associateBy, 10)), 16);
@@ -494,10 +494,10 @@
494
494
  var $ENTRIES_1;
495
495
  function FileExtension(name, ordinal, value) {
496
496
  Enum.call(this, name, ordinal);
497
- this.f22_1 = value;
497
+ this.g22_1 = value;
498
498
  }
499
499
  protoOf(FileExtension).p2 = function () {
500
- return this.f22_1;
500
+ return this.g22_1;
501
501
  };
502
502
  function Language_Java_getInstance() {
503
503
  Language_initEntries();
@@ -555,7 +555,7 @@
555
555
  function Companion_2() {
556
556
  Companion_instance_2 = this;
557
557
  }
558
- protoOf(Companion_2).o22 = function (s) {
558
+ protoOf(Companion_2).p22 = function (s) {
559
559
  var tmp;
560
560
  if (s == null) {
561
561
  tmp = null;
@@ -578,25 +578,25 @@
578
578
  function Output__equals_impl_7y48wd($this, other) {
579
579
  if (!(other instanceof Output))
580
580
  return false;
581
- if (!($this === (other instanceof Output ? other.p22_1 : THROW_CCE())))
581
+ if (!($this === (other instanceof Output ? other.q22_1 : THROW_CCE())))
582
582
  return false;
583
583
  return true;
584
584
  }
585
585
  function Output(value) {
586
586
  Companion_getInstance_2();
587
- this.p22_1 = value;
587
+ this.q22_1 = value;
588
588
  }
589
589
  protoOf(Output).p2 = function () {
590
- return _Output___get_value__impl__a8kw1g(this.p22_1);
590
+ return _Output___get_value__impl__a8kw1g(this.q22_1);
591
591
  };
592
592
  protoOf(Output).toString = function () {
593
- return Output__toString_impl_r07ygw(this.p22_1);
593
+ return Output__toString_impl_r07ygw(this.q22_1);
594
594
  };
595
595
  protoOf(Output).hashCode = function () {
596
- return Output__hashCode_impl_m9q6pd(this.p22_1);
596
+ return Output__hashCode_impl_m9q6pd(this.q22_1);
597
597
  };
598
598
  protoOf(Output).equals = function (other) {
599
- return Output__equals_impl_7y48wd(this.p22_1, other);
599
+ return Output__equals_impl_7y48wd(this.q22_1, other);
600
600
  };
601
601
  //region block: exports
602
602
  _.$_$ = _.$_$ || {};