@flock/wirespec 0.8.54 → 0.8.56

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.
@@ -15,12 +15,12 @@
15
15
  var imul = Math.imul;
16
16
  var protoOf = kotlin_kotlin.$_$.q9;
17
17
  var hashCode = kotlin_kotlin.$_$.t8;
18
- var getStringHashCode = kotlin_kotlin.$_$.s8;
19
18
  var THROW_CCE = kotlin_kotlin.$_$.ld;
20
19
  var equals = kotlin_kotlin.$_$.o8;
21
20
  var classMeta = kotlin_kotlin.$_$.l8;
22
21
  var VOID = kotlin_kotlin.$_$.ke;
23
22
  var setMetadataFor = kotlin_kotlin.$_$.r9;
23
+ var getStringHashCode = kotlin_kotlin.$_$.s8;
24
24
  var objectMeta = kotlin_kotlin.$_$.p9;
25
25
  var joinToString = kotlin_kotlin.$_$.x5;
26
26
  var enumEntries = kotlin_kotlin.$_$.y7;
@@ -38,46 +38,54 @@
38
38
  var mapCapacity = kotlin_kotlin.$_$.m6;
39
39
  var coerceAtLeast = kotlin_kotlin.$_$.aa;
40
40
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
41
- var isInterface = kotlin_kotlin.$_$.d9;
42
- var interfaceMeta = kotlin_kotlin.$_$.u8;
43
41
  //endregion
44
42
  //region block: pre-declaration
45
43
  setMetadataFor(CompilerArguments, 'CompilerArguments', classMeta);
44
+ setMetadataFor(PackageName, 'PackageName', classMeta);
46
45
  setMetadataFor(Compile, 'Compile', objectMeta);
47
46
  setMetadataFor(Convert, 'Convert', classMeta);
48
47
  setMetadataFor(Companion, 'Companion', objectMeta);
49
48
  setMetadataFor(Format, 'Format', classMeta, Enum);
50
49
  setMetadataFor(Companion_0, 'Companion', objectMeta);
51
50
  setMetadataFor(FullFilePath, 'FullFilePath', classMeta);
51
+ setMetadataFor(FileName, 'FileName', classMeta);
52
52
  setMetadataFor(Console, 'Console', objectMeta);
53
53
  setMetadataFor(FullDirPath, 'FullDirPath', classMeta);
54
- setMetadataFor(Language, 'Language', interfaceMeta);
55
- setMetadataFor(Jvm, 'Jvm', classMeta, Enum, [Enum, Language]);
56
- setMetadataFor(Script, 'Script', classMeta, Enum, [Enum, Language]);
57
- setMetadataFor(Spec, 'Spec', classMeta, Enum, [Enum, Language]);
58
54
  setMetadataFor(Companion_1, 'Companion', objectMeta);
55
+ setMetadataFor(Language, 'Language', classMeta, Enum);
59
56
  setMetadataFor(FileExtension, 'FileExtension', classMeta, Enum);
57
+ setMetadataFor(Companion_2, 'Companion', objectMeta);
58
+ setMetadataFor(Output, 'Output', classMeta);
60
59
  //endregion
61
60
  function CompilerArguments(operation, input, output, languages, packageName, strict, debug) {
62
- this.l21_1 = operation;
63
- this.m21_1 = input;
64
- this.n21_1 = output;
65
- this.o21_1 = languages;
66
- this.p21_1 = packageName;
67
- this.q21_1 = strict;
68
- this.r21_1 = debug;
61
+ this.w20_1 = operation;
62
+ this.x20_1 = input;
63
+ this.y20_1 = output;
64
+ this.z20_1 = languages;
65
+ this.a21_1 = packageName;
66
+ this.b21_1 = strict;
67
+ this.c21_1 = debug;
69
68
  }
70
69
  protoOf(CompilerArguments).toString = function () {
71
- return 'CompilerArguments(operation=' + this.l21_1 + ', input=' + this.m21_1 + ', output=' + this.n21_1 + ', languages=' + this.o21_1 + ', packageName=' + this.p21_1 + ', strict=' + this.q21_1 + ', debug=' + this.r21_1 + ')';
70
+ var tmp = this.y20_1;
71
+ return 'CompilerArguments(operation=' + this.w20_1 + ', input=' + this.x20_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.z20_1 + ', packageName=' + new PackageName(this.a21_1) + ', strict=' + this.b21_1 + ', debug=' + this.c21_1 + ')';
72
72
  };
73
73
  protoOf(CompilerArguments).hashCode = function () {
74
- var result = hashCode(this.l21_1);
75
- result = imul(result, 31) + hashCode(this.m21_1) | 0;
76
- result = imul(result, 31) + (this.n21_1 == null ? 0 : getStringHashCode(this.n21_1)) | 0;
77
- result = imul(result, 31) + hashCode(this.o21_1) | 0;
78
- result = imul(result, 31) + getStringHashCode(this.p21_1) | 0;
79
- result = imul(result, 31) + (this.q21_1 | 0) | 0;
80
- result = imul(result, 31) + (this.r21_1 | 0) | 0;
74
+ var result = hashCode(this.w20_1);
75
+ result = imul(result, 31) + hashCode(this.x20_1) | 0;
76
+ var tmp = imul(result, 31);
77
+ var tmp_0;
78
+ var tmp_1 = this.y20_1;
79
+ if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
80
+ tmp_0 = 0;
81
+ } else {
82
+ tmp_0 = Output__hashCode_impl_m9q6pd(this.y20_1);
83
+ }
84
+ result = tmp + tmp_0 | 0;
85
+ result = imul(result, 31) + hashCode(this.z20_1) | 0;
86
+ result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.a21_1) | 0;
87
+ result = imul(result, 31) + (this.b21_1 | 0) | 0;
88
+ result = imul(result, 31) + (this.c21_1 | 0) | 0;
81
89
  return result;
82
90
  };
83
91
  protoOf(CompilerArguments).equals = function (other) {
@@ -86,22 +94,59 @@
86
94
  if (!(other instanceof CompilerArguments))
87
95
  return false;
88
96
  var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
89
- if (!equals(this.l21_1, tmp0_other_with_cast.l21_1))
97
+ if (!equals(this.w20_1, tmp0_other_with_cast.w20_1))
90
98
  return false;
91
- if (!equals(this.m21_1, tmp0_other_with_cast.m21_1))
99
+ if (!equals(this.x20_1, tmp0_other_with_cast.x20_1))
92
100
  return false;
93
- if (!(this.n21_1 == tmp0_other_with_cast.n21_1))
101
+ var tmp = this.y20_1;
102
+ var tmp_0 = tmp == null ? null : new Output(tmp);
103
+ var tmp_1 = tmp0_other_with_cast.y20_1;
104
+ if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
94
105
  return false;
95
- if (!equals(this.o21_1, tmp0_other_with_cast.o21_1))
106
+ if (!equals(this.z20_1, tmp0_other_with_cast.z20_1))
96
107
  return false;
97
- if (!(this.p21_1 === tmp0_other_with_cast.p21_1))
108
+ if (!(this.a21_1 === tmp0_other_with_cast.a21_1))
98
109
  return false;
99
- if (!(this.q21_1 === tmp0_other_with_cast.q21_1))
110
+ if (!(this.b21_1 === tmp0_other_with_cast.b21_1))
100
111
  return false;
101
- if (!(this.r21_1 === tmp0_other_with_cast.r21_1))
112
+ if (!(this.c21_1 === tmp0_other_with_cast.c21_1))
102
113
  return false;
103
114
  return true;
104
115
  };
116
+ function _PackageName___init__impl__s13tbs(value) {
117
+ return value;
118
+ }
119
+ function _PackageName___get_value__impl__2zr98c($this) {
120
+ return $this;
121
+ }
122
+ function PackageName__toString_impl_pes5ww($this) {
123
+ return 'PackageName(value=' + $this + ')';
124
+ }
125
+ function PackageName__hashCode_impl_nv5z9d($this) {
126
+ return getStringHashCode($this);
127
+ }
128
+ function PackageName__equals_impl_eo1xnn($this, other) {
129
+ if (!(other instanceof PackageName))
130
+ return false;
131
+ if (!($this === (other instanceof PackageName ? other.d21_1 : THROW_CCE())))
132
+ return false;
133
+ return true;
134
+ }
135
+ function PackageName(value) {
136
+ this.d21_1 = value;
137
+ }
138
+ protoOf(PackageName).y = function () {
139
+ return _PackageName___get_value__impl__2zr98c(this.d21_1);
140
+ };
141
+ protoOf(PackageName).toString = function () {
142
+ return PackageName__toString_impl_pes5ww(this.d21_1);
143
+ };
144
+ protoOf(PackageName).hashCode = function () {
145
+ return PackageName__hashCode_impl_nv5z9d(this.d21_1);
146
+ };
147
+ protoOf(PackageName).equals = function (other) {
148
+ return PackageName__equals_impl_eo1xnn(this.d21_1, other);
149
+ };
105
150
  function Compile() {
106
151
  Compile_instance = this;
107
152
  }
@@ -126,13 +171,13 @@
126
171
  return Compile_instance;
127
172
  }
128
173
  function Convert(format) {
129
- this.s21_1 = format;
174
+ this.e21_1 = format;
130
175
  }
131
176
  protoOf(Convert).toString = function () {
132
- return 'Convert(format=' + this.s21_1 + ')';
177
+ return 'Convert(format=' + this.e21_1 + ')';
133
178
  };
134
179
  protoOf(Convert).hashCode = function () {
135
- return this.s21_1.hashCode();
180
+ return this.e21_1.hashCode();
136
181
  };
137
182
  protoOf(Convert).equals = function (other) {
138
183
  if (this === other)
@@ -140,7 +185,7 @@
140
185
  if (!(other instanceof Convert))
141
186
  return false;
142
187
  var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
143
- if (!this.s21_1.equals(tmp0_other_with_cast.s21_1))
188
+ if (!this.e21_1.equals(tmp0_other_with_cast.e21_1))
144
189
  return false;
145
190
  return true;
146
191
  };
@@ -191,7 +236,7 @@
191
236
  function Companion_0() {
192
237
  Companion_instance_0 = this;
193
238
  }
194
- protoOf(Companion_0).t21 = function (input) {
239
+ protoOf(Companion_0).f21 = function (input) {
195
240
  // Inline function 'kotlin.let' call
196
241
  var tmp0_let = split(input, ['/']);
197
242
  // Inline function 'kotlin.contracts.contract' call
@@ -204,7 +249,7 @@
204
249
  // Inline function 'kotlin.contracts.contract' call
205
250
  // Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>' call
206
251
  // Inline function 'kotlin.collections.find' call
207
- var tmp0_find = get_entries_3();
252
+ var tmp0_find = get_entries_1();
208
253
  var tmp$ret$5;
209
254
  $l$block: {
210
255
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -212,7 +257,7 @@
212
257
  while (tmp0_iterator.d()) {
213
258
  var element = tmp0_iterator.e();
214
259
  // Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
215
- if (element.w21_1 === tmp2_let) {
260
+ if (element.i21_1 === tmp2_let) {
216
261
  tmp$ret$5 = element;
217
262
  break $l$block;
218
263
  }
@@ -227,7 +272,7 @@
227
272
  tmp = tmp0_elvis_lhs;
228
273
  }
229
274
  var extension = tmp;
230
- var filename = list.h(list.f() - 2 | 0);
275
+ var filename = _FileName___init__impl__nzn12e(list.h(list.f() - 2 | 0));
231
276
  var path = joinToString(list.s(0, list.f() - 2 | 0), '/');
232
277
  return new FullFilePath(path, filename, extension);
233
278
  };
@@ -240,26 +285,26 @@
240
285
  function FullFilePath(directory, fileName, extension) {
241
286
  Companion_getInstance_0();
242
287
  extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
243
- this.x21_1 = directory;
244
- this.y21_1 = fileName;
245
- this.z21_1 = extension;
288
+ this.j21_1 = directory;
289
+ this.k21_1 = fileName;
290
+ this.l21_1 = extension;
246
291
  }
247
292
  protoOf(FullFilePath).toString = function () {
248
- return this.x21_1 + '/' + this.y21_1 + '.' + this.z21_1.w21_1;
293
+ return this.j21_1 + '/' + _FileName___get_value__impl__3u4cz6(this.k21_1) + '.' + this.l21_1.i21_1;
249
294
  };
250
- protoOf(FullFilePath).a22 = function (directory, fileName, extension) {
295
+ protoOf(FullFilePath).m21 = function (directory, fileName, extension) {
251
296
  return new FullFilePath(directory, fileName, extension);
252
297
  };
253
- protoOf(FullFilePath).b22 = function (directory, fileName, extension, $super) {
254
- directory = directory === VOID ? this.x21_1 : directory;
255
- fileName = fileName === VOID ? this.y21_1 : fileName;
256
- extension = extension === VOID ? this.z21_1 : extension;
257
- return $super === VOID ? this.a22(directory, fileName, extension) : $super.a22.call(this, directory, fileName, extension);
298
+ protoOf(FullFilePath).n21 = function (directory, fileName, extension, $super) {
299
+ directory = directory === VOID ? this.j21_1 : directory;
300
+ fileName = fileName === VOID ? this.k21_1 : fileName;
301
+ extension = extension === VOID ? this.l21_1 : extension;
302
+ return $super === VOID ? this.m21(directory, fileName, extension) : $super.m21.call(this, directory, new FileName(fileName), extension);
258
303
  };
259
304
  protoOf(FullFilePath).hashCode = function () {
260
- var result = getStringHashCode(this.x21_1);
261
- result = imul(result, 31) + getStringHashCode(this.y21_1) | 0;
262
- result = imul(result, 31) + this.z21_1.hashCode() | 0;
305
+ var result = getStringHashCode(this.j21_1);
306
+ result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.k21_1) | 0;
307
+ result = imul(result, 31) + this.l21_1.hashCode() | 0;
263
308
  return result;
264
309
  };
265
310
  protoOf(FullFilePath).equals = function (other) {
@@ -268,14 +313,48 @@
268
313
  if (!(other instanceof FullFilePath))
269
314
  return false;
270
315
  var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
271
- if (!(this.x21_1 === tmp0_other_with_cast.x21_1))
316
+ if (!(this.j21_1 === tmp0_other_with_cast.j21_1))
272
317
  return false;
273
- if (!(this.y21_1 === tmp0_other_with_cast.y21_1))
318
+ if (!(this.k21_1 === tmp0_other_with_cast.k21_1))
274
319
  return false;
275
- if (!this.z21_1.equals(tmp0_other_with_cast.z21_1))
320
+ if (!this.l21_1.equals(tmp0_other_with_cast.l21_1))
276
321
  return false;
277
322
  return true;
278
323
  };
324
+ function _FileName___init__impl__nzn12e(value) {
325
+ return value;
326
+ }
327
+ function _FileName___get_value__impl__3u4cz6($this) {
328
+ return $this;
329
+ }
330
+ function FileName__toString_impl_hn9m8q($this) {
331
+ return 'FileName(value=' + $this + ')';
332
+ }
333
+ function FileName__hashCode_impl_43wak5($this) {
334
+ return getStringHashCode($this);
335
+ }
336
+ function FileName__equals_impl_o96ox3($this, other) {
337
+ if (!(other instanceof FileName))
338
+ return false;
339
+ if (!($this === (other instanceof FileName ? other.o21_1 : THROW_CCE())))
340
+ return false;
341
+ return true;
342
+ }
343
+ function FileName(value) {
344
+ this.o21_1 = value;
345
+ }
346
+ protoOf(FileName).y = function () {
347
+ return _FileName___get_value__impl__3u4cz6(this.o21_1);
348
+ };
349
+ protoOf(FileName).toString = function () {
350
+ return FileName__toString_impl_hn9m8q(this.o21_1);
351
+ };
352
+ protoOf(FileName).hashCode = function () {
353
+ return FileName__hashCode_impl_43wak5(this.o21_1);
354
+ };
355
+ protoOf(FileName).equals = function (other) {
356
+ return FileName__equals_impl_o96ox3(this.o21_1, other);
357
+ };
279
358
  function Console$read$lambda() {
280
359
  return readlnOrNull();
281
360
  }
@@ -306,13 +385,13 @@
306
385
  return Console_instance;
307
386
  }
308
387
  function FullDirPath(path) {
309
- this.c22_1 = path;
388
+ this.p21_1 = path;
310
389
  }
311
390
  protoOf(FullDirPath).toString = function () {
312
- return 'FullDirPath(path=' + this.c22_1 + ')';
391
+ return 'FullDirPath(path=' + this.p21_1 + ')';
313
392
  };
314
393
  protoOf(FullDirPath).hashCode = function () {
315
- return getStringHashCode(this.c22_1);
394
+ return getStringHashCode(this.p21_1);
316
395
  };
317
396
  protoOf(FullDirPath).equals = function (other) {
318
397
  if (this === other)
@@ -320,84 +399,21 @@
320
399
  if (!(other instanceof FullDirPath))
321
400
  return false;
322
401
  var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
323
- if (!(this.c22_1 === tmp0_other_with_cast.c22_1))
402
+ if (!(this.p21_1 === tmp0_other_with_cast.p21_1))
324
403
  return false;
325
404
  return true;
326
405
  };
327
- var Jvm_Java_instance;
328
- var Jvm_Kotlin_instance;
329
- var Jvm_Scala_instance;
330
- function values_0() {
331
- return [Jvm_Java_getInstance(), Jvm_Kotlin_getInstance(), Jvm_Scala_getInstance()];
332
- }
333
- function get_entries_0() {
334
- if ($ENTRIES_0 == null)
335
- $ENTRIES_0 = enumEntries(values_0());
336
- return $ENTRIES_0;
337
- }
338
- var Jvm_entriesInitialized;
339
- function Jvm_initEntries() {
340
- if (Jvm_entriesInitialized)
341
- return Unit_getInstance();
342
- Jvm_entriesInitialized = true;
343
- Jvm_Java_instance = new Jvm('Java', 0);
344
- Jvm_Kotlin_instance = new Jvm('Kotlin', 1);
345
- Jvm_Scala_instance = new Jvm('Scala', 2);
346
- }
347
- var $ENTRIES_0;
348
- var Script_TypeScript_instance;
349
- function values_1() {
350
- return [Script_TypeScript_getInstance()];
351
- }
352
- function get_entries_1() {
353
- if ($ENTRIES_1 == null)
354
- $ENTRIES_1 = enumEntries(values_1());
355
- return $ENTRIES_1;
356
- }
357
- var Script_entriesInitialized;
358
- function Script_initEntries() {
359
- if (Script_entriesInitialized)
360
- return Unit_getInstance();
361
- Script_entriesInitialized = true;
362
- Script_TypeScript_instance = new Script('TypeScript', 0);
363
- }
364
- var $ENTRIES_1;
365
- var Spec_Wirespec_instance;
366
- function values_2() {
367
- return [Spec_Wirespec_getInstance()];
368
- }
369
- function get_entries_2() {
370
- if ($ENTRIES_2 == null)
371
- $ENTRIES_2 = enumEntries(values_2());
372
- return $ENTRIES_2;
373
- }
374
- var Spec_entriesInitialized;
375
- function Spec_initEntries() {
376
- if (Spec_entriesInitialized)
377
- return Unit_getInstance();
378
- Spec_entriesInitialized = true;
379
- Spec_Wirespec_instance = new Spec('Wirespec', 0);
380
- }
381
- var $ENTRIES_2;
382
- function values_3($this) {
383
- return plus(plus(get_entries_0(), get_entries_1()), get_entries_2());
384
- }
385
- function Jvm(name, ordinal) {
386
- Enum.call(this, name, ordinal);
387
- }
388
- function Script(name, ordinal) {
389
- Enum.call(this, name, ordinal);
390
- }
391
- function Spec(name, ordinal) {
392
- Enum.call(this, name, ordinal);
393
- }
406
+ var Language_Java_instance;
407
+ var Language_Kotlin_instance;
408
+ var Language_Scala_instance;
409
+ var Language_TypeScript_instance;
410
+ var Language_Wirespec_instance;
394
411
  function Companion_1() {
395
412
  Companion_instance_1 = this;
396
413
  }
397
- protoOf(Companion_1).d22 = function () {
398
- // Inline function 'kotlin.collections.mapValues' call
414
+ protoOf(Companion_1).q21 = function () {
399
415
  // Inline function 'kotlin.collections.associateBy' call
400
- var tmp0_associateBy = values_3(this);
416
+ var tmp0_associateBy = get_entries_0();
401
417
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associateBy, 10)), 16);
402
418
  // Inline function 'kotlin.collections.associateByTo' call
403
419
  var tmp0_associateByTo = LinkedHashMap_init_$Create$(capacity);
@@ -409,53 +425,41 @@
409
425
  tmp$ret$0 = element.o5_1;
410
426
  tmp0_associateByTo.n3(tmp$ret$0, element);
411
427
  }
412
- // Inline function 'kotlin.collections.mapValuesTo' call
413
- var tmp0_mapValuesTo = LinkedHashMap_init_$Create$(mapCapacity(tmp0_associateByTo.f()));
414
- // Inline function 'kotlin.collections.associateByTo' call
415
- var tmp0_iterator_0 = tmp0_associateByTo.w().c();
416
- while (tmp0_iterator_0.d()) {
417
- var element_0 = tmp0_iterator_0.e();
418
- // Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
419
- var tmp = element_0.x();
420
- var tmp$ret$5;
421
- // Inline function 'community.flock.wirespec.plugin.Companion.toMap.<anonymous>' call
422
- // Inline function 'kotlin.collections.component2' call
423
- var v = element_0.y();
424
- tmp$ret$5 = isInterface(v, Language) ? v : THROW_CCE();
425
- tmp0_mapValuesTo.n3(tmp, tmp$ret$5);
426
- }
427
- return tmp0_mapValuesTo;
428
+ return tmp0_associateByTo;
428
429
  };
429
430
  protoOf(Companion_1).toString = function () {
430
- return joinToString(values_3(this));
431
+ return joinToString(get_entries_0());
431
432
  };
432
433
  var Companion_instance_1;
433
434
  function Companion_getInstance_1() {
435
+ Language_initEntries();
434
436
  if (Companion_instance_1 == null)
435
437
  new Companion_1();
436
438
  return Companion_instance_1;
437
439
  }
438
- function Jvm_Java_getInstance() {
439
- Jvm_initEntries();
440
- return Jvm_Java_instance;
441
- }
442
- function Jvm_Kotlin_getInstance() {
443
- Jvm_initEntries();
444
- return Jvm_Kotlin_instance;
445
- }
446
- function Jvm_Scala_getInstance() {
447
- Jvm_initEntries();
448
- return Jvm_Scala_instance;
440
+ function values_0() {
441
+ return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_Scala_getInstance(), Language_TypeScript_getInstance(), Language_Wirespec_getInstance()];
449
442
  }
450
- function Script_TypeScript_getInstance() {
451
- Script_initEntries();
452
- return Script_TypeScript_instance;
443
+ function get_entries_0() {
444
+ if ($ENTRIES_0 == null)
445
+ $ENTRIES_0 = enumEntries(values_0());
446
+ return $ENTRIES_0;
453
447
  }
454
- function Spec_Wirespec_getInstance() {
455
- Spec_initEntries();
456
- return Spec_Wirespec_instance;
448
+ var Language_entriesInitialized;
449
+ function Language_initEntries() {
450
+ if (Language_entriesInitialized)
451
+ return Unit_getInstance();
452
+ Language_entriesInitialized = true;
453
+ Language_Java_instance = new Language('Java', 0);
454
+ Language_Kotlin_instance = new Language('Kotlin', 1);
455
+ Language_Scala_instance = new Language('Scala', 2);
456
+ Language_TypeScript_instance = new Language('TypeScript', 3);
457
+ Language_Wirespec_instance = new Language('Wirespec', 4);
458
+ Companion_getInstance_1();
457
459
  }
458
- function Language() {
460
+ var $ENTRIES_0;
461
+ function Language(name, ordinal) {
462
+ Enum.call(this, name, ordinal);
459
463
  }
460
464
  var FileExtension_Java_instance;
461
465
  var FileExtension_Kotlin_instance;
@@ -463,13 +467,13 @@
463
467
  var FileExtension_TypeScript_instance;
464
468
  var FileExtension_Wirespec_instance;
465
469
  var FileExtension_Json_instance;
466
- function values_4() {
470
+ function values_1() {
467
471
  return [FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance(), FileExtension_Scala_getInstance(), FileExtension_TypeScript_getInstance(), FileExtension_Wirespec_getInstance(), FileExtension_Json_getInstance()];
468
472
  }
469
- function get_entries_3() {
470
- if ($ENTRIES_3 == null)
471
- $ENTRIES_3 = enumEntries(values_4());
472
- return $ENTRIES_3;
473
+ function get_entries_1() {
474
+ if ($ENTRIES_1 == null)
475
+ $ENTRIES_1 = enumEntries(values_1());
476
+ return $ENTRIES_1;
473
477
  }
474
478
  var FileExtension_entriesInitialized;
475
479
  function FileExtension_initEntries() {
@@ -483,10 +487,33 @@
483
487
  FileExtension_Wirespec_instance = new FileExtension('Wirespec', 4, 'ws');
484
488
  FileExtension_Json_instance = new FileExtension('Json', 5, 'json');
485
489
  }
486
- var $ENTRIES_3;
487
- function FileExtension(name, ordinal, ext) {
490
+ var $ENTRIES_1;
491
+ function FileExtension(name, ordinal, value) {
488
492
  Enum.call(this, name, ordinal);
489
- this.w21_1 = ext;
493
+ this.i21_1 = value;
494
+ }
495
+ protoOf(FileExtension).y = function () {
496
+ return this.i21_1;
497
+ };
498
+ function Language_Java_getInstance() {
499
+ Language_initEntries();
500
+ return Language_Java_instance;
501
+ }
502
+ function Language_Kotlin_getInstance() {
503
+ Language_initEntries();
504
+ return Language_Kotlin_instance;
505
+ }
506
+ function Language_Scala_getInstance() {
507
+ Language_initEntries();
508
+ return Language_Scala_instance;
509
+ }
510
+ function Language_TypeScript_getInstance() {
511
+ Language_initEntries();
512
+ return Language_TypeScript_instance;
513
+ }
514
+ function Language_Wirespec_getInstance() {
515
+ Language_initEntries();
516
+ return Language_Wirespec_instance;
490
517
  }
491
518
  function FileExtension_Java_getInstance() {
492
519
  FileExtension_initEntries();
@@ -512,6 +539,61 @@
512
539
  FileExtension_initEntries();
513
540
  return FileExtension_Json_instance;
514
541
  }
542
+ function _Output___init__impl__fc5ytc(value) {
543
+ return value;
544
+ }
545
+ function _Output___get_value__impl__a8kw1g($this) {
546
+ return $this;
547
+ }
548
+ function Output__toString_impl_r07ygw($this) {
549
+ return _Output___get_value__impl__a8kw1g($this);
550
+ }
551
+ function Companion_2() {
552
+ Companion_instance_2 = this;
553
+ }
554
+ protoOf(Companion_2).r21 = function (s) {
555
+ var tmp;
556
+ if (s == null) {
557
+ tmp = null;
558
+ } else {
559
+ // Inline function 'kotlin.let' call
560
+ // Inline function 'kotlin.contracts.contract' call
561
+ tmp = _Output___init__impl__fc5ytc(s);
562
+ }
563
+ return tmp;
564
+ };
565
+ var Companion_instance_2;
566
+ function Companion_getInstance_2() {
567
+ if (Companion_instance_2 == null)
568
+ new Companion_2();
569
+ return Companion_instance_2;
570
+ }
571
+ function Output__hashCode_impl_m9q6pd($this) {
572
+ return getStringHashCode($this);
573
+ }
574
+ function Output__equals_impl_7y48wd($this, other) {
575
+ if (!(other instanceof Output))
576
+ return false;
577
+ if (!($this === (other instanceof Output ? other.s21_1 : THROW_CCE())))
578
+ return false;
579
+ return true;
580
+ }
581
+ function Output(value) {
582
+ Companion_getInstance_2();
583
+ this.s21_1 = value;
584
+ }
585
+ protoOf(Output).y = function () {
586
+ return _Output___get_value__impl__a8kw1g(this.s21_1);
587
+ };
588
+ protoOf(Output).toString = function () {
589
+ return Output__toString_impl_r07ygw(this.s21_1);
590
+ };
591
+ protoOf(Output).hashCode = function () {
592
+ return Output__hashCode_impl_m9q6pd(this.s21_1);
593
+ };
594
+ protoOf(Output).equals = function (other) {
595
+ return Output__equals_impl_7y48wd(this.s21_1, other);
596
+ };
515
597
  //region block: exports
516
598
  _.$_$ = _.$_$ || {};
517
599
  _.$_$.a = CompilerArguments;
@@ -521,21 +603,25 @@
521
603
  _.$_$.e = FullFilePath;
522
604
  _.$_$.f = Compile;
523
605
  _.$_$.g = Convert;
524
- _.$_$.h = FileExtension_Java_getInstance;
525
- _.$_$.i = FileExtension_Json_getInstance;
526
- _.$_$.j = FileExtension_Kotlin_getInstance;
527
- _.$_$.k = FileExtension_Scala_getInstance;
528
- _.$_$.l = FileExtension_TypeScript_getInstance;
529
- _.$_$.m = FileExtension_Wirespec_getInstance;
530
- _.$_$.n = Jvm_Java_getInstance;
531
- _.$_$.o = Jvm_Kotlin_getInstance;
532
- _.$_$.p = Jvm_Scala_getInstance;
533
- _.$_$.q = Script_TypeScript_getInstance;
534
- _.$_$.r = Spec_Wirespec_getInstance;
535
- _.$_$.s = Console_getInstance;
536
- _.$_$.t = Companion_getInstance_0;
537
- _.$_$.u = Companion_getInstance_1;
538
- _.$_$.v = Compile_getInstance;
606
+ _.$_$.h = Output;
607
+ _.$_$.i = PackageName;
608
+ _.$_$.j = FileExtension_Java_getInstance;
609
+ _.$_$.k = FileExtension_Json_getInstance;
610
+ _.$_$.l = FileExtension_Kotlin_getInstance;
611
+ _.$_$.m = FileExtension_Scala_getInstance;
612
+ _.$_$.n = FileExtension_TypeScript_getInstance;
613
+ _.$_$.o = FileExtension_Wirespec_getInstance;
614
+ _.$_$.p = Language_Wirespec_getInstance;
615
+ _.$_$.q = _FileName___init__impl__nzn12e;
616
+ _.$_$.r = _FileName___get_value__impl__3u4cz6;
617
+ _.$_$.s = _Output___get_value__impl__a8kw1g;
618
+ _.$_$.t = _PackageName___init__impl__s13tbs;
619
+ _.$_$.u = _PackageName___get_value__impl__2zr98c;
620
+ _.$_$.v = Console_getInstance;
621
+ _.$_$.w = Companion_getInstance_0;
622
+ _.$_$.x = Companion_getInstance_1;
623
+ _.$_$.y = Compile_getInstance;
624
+ _.$_$.z = Companion_getInstance_2;
539
625
  //endregion
540
626
  return _;
541
627
  }));