@flock/wirespec 0.10.4 → 0.10.5

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.
@@ -163,7 +163,7 @@
163
163
  //endregion
164
164
  function WirespecCli$main$ref($boundThis) {
165
165
  var l = function (p0) {
166
- $boundThis.x3u(p0);
166
+ $boundThis.y3u(p0);
167
167
  return Unit_instance;
168
168
  };
169
169
  l.callableName = 'main';
@@ -171,7 +171,7 @@
171
171
  }
172
172
  function Companion() {
173
173
  }
174
- protoOf(Companion).c47 = function (compile, convert) {
174
+ protoOf(Companion).d47 = function (compile, convert) {
175
175
  return WirespecCli$main$ref(subcommands(new WirespecCli(), [new Compile_0(compile), new Convert_0(convert)]));
176
176
  };
177
177
  var Companion_instance_4;
@@ -182,28 +182,28 @@
182
182
  NoOpCliktCommand.call(this, VOID, VOID, 'wirespec');
183
183
  }
184
184
  function _get_languages__ojonze($this) {
185
- return $this.c48_1.j44($this, languages$factory_0());
185
+ return $this.d48_1.k44($this, languages$factory_0());
186
186
  }
187
187
  function Compile_0(block) {
188
188
  CommonOptions.call(this);
189
- this.b48_1 = block;
190
- this.c48_1 = multiple(choice(option(this, Options_Language_getInstance().f48_1.slice(), 'Language'), Companion_instance.c2f()), VOID, true).u44(this, languages$factory());
189
+ this.c48_1 = block;
190
+ this.d48_1 = multiple(choice(option(this, Options_Language_getInstance().g48_1.slice(), 'Language'), Companion_instance.d2f()), VOID, true).v44(this, languages$factory());
191
191
  }
192
- protoOf(Compile_0).y3u = function () {
192
+ protoOf(Compile_0).z3u = function () {
193
193
  // Inline function 'kotlin.let' call
194
- var this_0 = new CompilerArguments(Compile_instance, this.f49(this.e49()), Companion_instance_0.d2f(this.g49()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.h49()), this.j49(this.i49()), this.k49(), this.l49());
194
+ var this_0 = new CompilerArguments(Compile_instance, this.g49(this.f49()), Companion_instance_0.e2f(this.h49()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.i49()), this.k49(this.j49()), this.l49(), this.m49());
195
195
  // Inline function 'kotlin.contracts.contract' call
196
- this.b48_1(this_0);
196
+ this.c48_1(this_0);
197
197
  };
198
198
  function _get_format__qlarck($this) {
199
- return $this.l4a_1.j44($this, format$factory_0());
199
+ return $this.m4a_1.k44($this, format$factory_0());
200
200
  }
201
201
  function _get_languages__ojonze_0($this) {
202
- return $this.m4a_1.j44($this, languages$factory_2());
202
+ return $this.n4a_1.k44($this, languages$factory_2());
203
203
  }
204
204
  function Convert_0(block) {
205
205
  CommonOptions.call(this);
206
- this.k4a_1 = block;
206
+ this.l4a_1 = block;
207
207
  var tmp = this;
208
208
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
209
209
  var this_0 = argument(this, VOID, 'Input format');
@@ -223,21 +223,21 @@
223
223
  var tmp$ret$2 = element.p2_1;
224
224
  destination.m2(tmp$ret$2, element);
225
225
  }
226
- tmp.l4a_1 = choice_0(this_0, destination, true).p43(this, format$factory());
227
- this.m4a_1 = multiple(choice(option(this, Options_Language_getInstance().f48_1.slice(), 'Language'), Companion_instance.c2f(), VOID, true), listOf(Language_Wirespec_getInstance())).u44(this, languages$factory_1());
226
+ tmp.m4a_1 = choice_0(this_0, destination, true).q43(this, format$factory());
227
+ this.n4a_1 = multiple(choice(option(this, Options_Language_getInstance().g48_1.slice(), 'Language'), Companion_instance.d2f(), VOID, true), listOf(Language_Wirespec_getInstance())).v44(this, languages$factory_1());
228
228
  }
229
- protoOf(Convert_0).y3u = function () {
230
- if (this.e49() == null)
229
+ protoOf(Convert_0).z3u = function () {
230
+ if (this.f49() == null)
231
231
  null;
232
232
  else {
233
233
  // Inline function 'kotlin.let' call
234
234
  // Inline function 'kotlin.contracts.contract' call
235
- this.r3u('To convert, please specify a file', VOID, true);
235
+ this.s3u('To convert, please specify a file', VOID, true);
236
236
  }
237
237
  // Inline function 'kotlin.let' call
238
238
  var tmp = new Convert(_get_format__qlarck(this));
239
- var tmp_0 = this.f49(null);
240
- var tmp_1 = Companion_instance_0.d2f(this.g49());
239
+ var tmp_0 = this.g49(null);
240
+ var tmp_1 = Companion_instance_0.e2f(this.h49());
241
241
  // Inline function 'kotlin.collections.ifEmpty' call
242
242
  var this_0 = toSet(_get_languages__ojonze_0(this));
243
243
  // Inline function 'kotlin.contracts.contract' call
@@ -249,42 +249,42 @@
249
249
  tmp_2 = this_0;
250
250
  }
251
251
  var tmp$ret$2 = tmp_2;
252
- var this_1 = new CompilerArguments(tmp, tmp_0, tmp_1, tmp$ret$2, _PackageName___init__impl__s13tbs(this.h49()), this.j49(this.i49()), this.k49(), this.l49());
252
+ var this_1 = new CompilerArguments(tmp, tmp_0, tmp_1, tmp$ret$2, _PackageName___init__impl__s13tbs(this.i49()), this.k49(this.j49()), this.l49(), this.m49());
253
253
  // Inline function 'kotlin.contracts.contract' call
254
- this.k4a_1(this_1);
254
+ this.l4a_1(this_1);
255
255
  };
256
256
  function _get_inputFile__x1bqj($this) {
257
- return $this.x48_1.j44($this, inputFile$factory_0());
257
+ return $this.y48_1.k44($this, inputFile$factory_0());
258
258
  }
259
259
  function CommonOptions() {
260
260
  CliktCommand.call(this);
261
- this.x48_1 = option(this, Options_InputFile_getInstance().f48_1.slice(), 'Input file').u44(this, inputFile$factory());
262
- this.y48_1 = option(this, Options_InputDir_getInstance().f48_1.slice(), 'Input directory').u44(this, inputDir$factory());
263
- this.z48_1 = option(this, Options_OutputDir_getInstance().f48_1.slice(), 'Output directory').u44(this, outputDir$factory());
264
- this.a49_1 = default_0(option(this, Options_PackageName_getInstance().f48_1.slice(), 'Package name'), 'community.flock.wirespec.generated').u44(this, packageName$factory());
265
- this.b49_1 = default_0(option(this, Options_LogLevel_getInstance().f48_1.slice(), 'Log level: ' + Companion_instance_1.toString()), Level_ERROR_getInstance().toString()).u44(this, logLevel$factory());
266
- this.c49_1 = flag(option(this, Options_Shared_getInstance().f48_1.slice(), 'Generate shared wirespec code'), [], false).u44(this, shared$factory());
267
- this.d49_1 = flag(option(this, Options_Strict_getInstance().f48_1.slice(), 'Strict mode'), []).u44(this, strict$factory());
268
- }
269
- protoOf(CommonOptions).e49 = function () {
270
- return this.y48_1.j44(this, inputDir$factory_0());
271
- };
272
- protoOf(CommonOptions).g49 = function () {
273
- return this.z48_1.j44(this, outputDir$factory_0());
261
+ this.y48_1 = option(this, Options_InputFile_getInstance().g48_1.slice(), 'Input file').v44(this, inputFile$factory());
262
+ this.z48_1 = option(this, Options_InputDir_getInstance().g48_1.slice(), 'Input directory').v44(this, inputDir$factory());
263
+ this.a49_1 = option(this, Options_OutputDir_getInstance().g48_1.slice(), 'Output directory').v44(this, outputDir$factory());
264
+ this.b49_1 = default_0(option(this, Options_PackageName_getInstance().g48_1.slice(), 'Package name'), 'community.flock.wirespec.generated').v44(this, packageName$factory());
265
+ this.c49_1 = default_0(option(this, Options_LogLevel_getInstance().g48_1.slice(), 'Log level: ' + Companion_instance_1.toString()), Level_ERROR_getInstance().toString()).v44(this, logLevel$factory());
266
+ this.d49_1 = flag(option(this, Options_Shared_getInstance().g48_1.slice(), 'Generate shared wirespec code'), [], false).v44(this, shared$factory());
267
+ this.e49_1 = flag(option(this, Options_Strict_getInstance().g48_1.slice(), 'Strict mode'), []).v44(this, strict$factory());
268
+ }
269
+ protoOf(CommonOptions).f49 = function () {
270
+ return this.z48_1.k44(this, inputDir$factory_0());
274
271
  };
275
272
  protoOf(CommonOptions).h49 = function () {
276
- return this.a49_1.j44(this, packageName$factory_0());
273
+ return this.a49_1.k44(this, outputDir$factory_0());
277
274
  };
278
275
  protoOf(CommonOptions).i49 = function () {
279
- return this.b49_1.j44(this, logLevel$factory_0());
276
+ return this.b49_1.k44(this, packageName$factory_0());
280
277
  };
281
- protoOf(CommonOptions).k49 = function () {
282
- return this.c49_1.j44(this, shared$factory_0());
278
+ protoOf(CommonOptions).j49 = function () {
279
+ return this.c49_1.k44(this, logLevel$factory_0());
283
280
  };
284
281
  protoOf(CommonOptions).l49 = function () {
285
- return this.d49_1.j44(this, strict$factory_0());
282
+ return this.d49_1.k44(this, shared$factory_0());
283
+ };
284
+ protoOf(CommonOptions).m49 = function () {
285
+ return this.e49_1.k44(this, strict$factory_0());
286
286
  };
287
- protoOf(CommonOptions).f49 = function (inputDir) {
287
+ protoOf(CommonOptions).g49 = function (inputDir) {
288
288
  var tmp;
289
289
  if (!(inputDir == null) && !(_get_inputFile__x1bqj(this) == null)) {
290
290
  var message = 'Choose either a file or a directory. Not Both.';
@@ -297,7 +297,7 @@
297
297
  } else {
298
298
  // Inline function 'kotlin.let' call
299
299
  // Inline function 'kotlin.contracts.contract' call
300
- tmp_0 = Companion_instance_2.r2e(tmp0_safe_receiver);
300
+ tmp_0 = Companion_instance_2.s2e(tmp0_safe_receiver);
301
301
  }
302
302
  var tmp0_elvis_lhs = tmp_0;
303
303
  var tmp_1;
@@ -319,7 +319,7 @@
319
319
  }
320
320
  return tmp;
321
321
  };
322
- protoOf(CommonOptions).j49 = function (_this__u8e3s4) {
322
+ protoOf(CommonOptions).k49 = function (_this__u8e3s4) {
323
323
  // Inline function 'kotlin.text.uppercase' call
324
324
  // Inline function 'kotlin.text.trim' call
325
325
  // Inline function 'kotlin.js.asDynamic' call
@@ -367,7 +367,7 @@
367
367
  }
368
368
  function Options(name, ordinal, flags) {
369
369
  Enum.call(this, name, ordinal);
370
- this.f48_1 = flags;
370
+ this.g48_1 = flags;
371
371
  }
372
372
  function Options_InputDir_getInstance() {
373
373
  Options_initEntries();
@@ -438,32 +438,32 @@
438
438
  }
439
439
  function inputDir$factory() {
440
440
  return getPropertyCallableRef('inputDir', 1, KProperty1, function (receiver) {
441
- return receiver.e49();
441
+ return receiver.f49();
442
442
  }, null);
443
443
  }
444
444
  function outputDir$factory() {
445
445
  return getPropertyCallableRef('outputDir', 1, KProperty1, function (receiver) {
446
- return receiver.g49();
446
+ return receiver.h49();
447
447
  }, null);
448
448
  }
449
449
  function packageName$factory() {
450
450
  return getPropertyCallableRef('packageName', 1, KProperty1, function (receiver) {
451
- return receiver.h49();
451
+ return receiver.i49();
452
452
  }, null);
453
453
  }
454
454
  function logLevel$factory() {
455
455
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
456
- return receiver.i49();
456
+ return receiver.j49();
457
457
  }, null);
458
458
  }
459
459
  function shared$factory() {
460
460
  return getPropertyCallableRef('shared', 1, KProperty1, function (receiver) {
461
- return receiver.k49();
461
+ return receiver.l49();
462
462
  }, null);
463
463
  }
464
464
  function strict$factory() {
465
465
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
466
- return receiver.l49();
466
+ return receiver.m49();
467
467
  }, null);
468
468
  }
469
469
  function inputFile$factory_0() {
@@ -473,32 +473,32 @@
473
473
  }
474
474
  function inputDir$factory_0() {
475
475
  return getPropertyCallableRef('inputDir', 1, KProperty1, function (receiver) {
476
- return receiver.e49();
476
+ return receiver.f49();
477
477
  }, null);
478
478
  }
479
479
  function outputDir$factory_0() {
480
480
  return getPropertyCallableRef('outputDir', 1, KProperty1, function (receiver) {
481
- return receiver.g49();
481
+ return receiver.h49();
482
482
  }, null);
483
483
  }
484
484
  function packageName$factory_0() {
485
485
  return getPropertyCallableRef('packageName', 1, KProperty1, function (receiver) {
486
- return receiver.h49();
486
+ return receiver.i49();
487
487
  }, null);
488
488
  }
489
489
  function logLevel$factory_0() {
490
490
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
491
- return receiver.i49();
491
+ return receiver.j49();
492
492
  }, null);
493
493
  }
494
494
  function shared$factory_0() {
495
495
  return getPropertyCallableRef('shared', 1, KProperty1, function (receiver) {
496
- return receiver.k49();
496
+ return receiver.l49();
497
497
  }, null);
498
498
  }
499
499
  function strict$factory_0() {
500
500
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
501
- return receiver.l49();
501
+ return receiver.m49();
502
502
  }, null);
503
503
  }
504
504
  function main(args) {
@@ -526,27 +526,27 @@
526
526
  var tmp = Companion_instance_4;
527
527
  var tmp_0 = compile$ref();
528
528
  // Inline function 'kotlin.contracts.contract' call
529
- tmp.c47(tmp_0, convert$ref())(this_1);
529
+ tmp.d47(tmp_0, convert$ref())(this_1);
530
530
  }
531
531
  function compile_0(arguments_0) {
532
- var input = arguments_0.i2e_1;
533
- var output = arguments_0.j2e_1;
534
- var languages = arguments_0.k2e_1;
535
- var packageName = arguments_0.l2e_1;
536
- var logger = new Logger(arguments_0.m2e_1);
537
- var operation = arguments_0.h2e_1;
532
+ var input = arguments_0.j2e_1;
533
+ var output = arguments_0.k2e_1;
534
+ var languages = arguments_0.l2e_1;
535
+ var packageName = arguments_0.m2e_1;
536
+ var logger = new Logger(arguments_0.n2e_1);
537
+ var operation = arguments_0.i2e_1;
538
538
  if (operation instanceof Convert) {
539
539
  var fullPath = input instanceof FullFilePath ? input : THROW_CCE();
540
540
  var file = new JsonFile(fullPath);
541
- var strict = arguments_0.o2e_1;
542
- var format = operation.q2e_1;
541
+ var strict = arguments_0.p2e_1;
542
+ var format = operation.r2e_1;
543
543
  var tmp;
544
544
  switch (format.q2_1) {
545
545
  case 0:
546
- tmp = OpenApiV2Parser_instance.t2f(file.y1a(), !strict);
546
+ tmp = OpenApiV2Parser_instance.u2f(file.y1a(), !strict);
547
547
  break;
548
548
  case 1:
549
- tmp = OpenApiV3Parser_instance.t2f(file.y1a(), !strict);
549
+ tmp = OpenApiV3Parser_instance.u2f(file.y1a(), !strict);
550
550
  break;
551
551
  default:
552
552
  noWhenBranchMatchedException();
@@ -569,7 +569,7 @@
569
569
  var tmp_0;
570
570
  if (!emitter.n22_1) {
571
571
  // Inline function 'kotlin.text.replaceFirstChar' call
572
- var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.w2e_1);
572
+ var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.x2e_1);
573
573
  var tmp_1;
574
574
  // Inline function 'kotlin.text.isNotEmpty' call
575
575
  if (charSequenceLength(this_1) > 0) {
@@ -610,19 +610,19 @@
610
610
  } else {
611
611
  if (input instanceof FullDirPath) {
612
612
  // Inline function 'kotlin.collections.forEach' call
613
- var tmp0_iterator_1 = (new Directory(input.b2f_1)).p4a().g();
613
+ var tmp0_iterator_1 = (new Directory(input.c2f_1)).q4a().g();
614
614
  while (tmp0_iterator_1.h()) {
615
615
  var element = tmp0_iterator_1.i();
616
616
  // Inline function 'community.flock.wirespec.plugin.cli.compile.<anonymous>' call
617
- wirespec(element, languages, packageName, out(element.n4a_1, packageName, output), logger);
617
+ wirespec(element, languages, packageName, out(element.o4a_1, packageName, output), logger);
618
618
  }
619
619
  } else {
620
620
  if (input instanceof FullFilePath)
621
- if (input.x2e_1.equals(FileExtension_Wirespec_getInstance())) {
621
+ if (input.y2e_1.equals(FileExtension_Wirespec_getInstance())) {
622
622
  // Inline function 'kotlin.let' call
623
623
  // Inline function 'kotlin.contracts.contract' call
624
624
  var it = new WirespecFile(input);
625
- wirespec(it, languages, packageName, out(it.n4a_1, packageName, output), logger);
625
+ wirespec(it, languages, packageName, out(it.o4a_1, packageName, output), logger);
626
626
  } else {
627
627
  // Inline function 'kotlin.error' call
628
628
  var message = 'Path ' + input.toString() + ' is not a Wirespec file';
@@ -652,7 +652,7 @@
652
652
  // Inline function 'community.flock.wirespec.plugin.cli.write.<anonymous>' call
653
653
  var name = element.od();
654
654
  var result = element.pd();
655
- var tmp16_safe_receiver = file == null ? null : file.q4a(_FileName___init__impl__nzn12e(name));
655
+ var tmp16_safe_receiver = file == null ? null : file.r4a(_FileName___init__impl__nzn12e(name));
656
656
  var tmp;
657
657
  if (tmp16_safe_receiver == null) {
658
658
  tmp = null;
@@ -815,7 +815,7 @@
815
815
  // Inline function 'arrow.core.Either.map.<anonymous>' call
816
816
  // Inline function 'community.flock.wirespec.plugin.cli.wirespec.<anonymous>.<anonymous>.<anonymous>' call
817
817
  var it = results.zj_1;
818
- var tmp$ret$2 = listOf(new Emitted(Companion_getInstance().n24(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).w2e_1)), first(it).i25_1));
818
+ var tmp$ret$2 = listOf(new Emitted(Companion_getInstance().n24(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).x2e_1)), first(it).i25_1));
819
819
  tmp_0 = new Right(tmp$ret$2);
820
820
  } else {
821
821
  if (results instanceof Left) {
@@ -870,7 +870,7 @@
870
870
  function compile$lambda($output) {
871
871
  return function (it) {
872
872
  var tmp = $output;
873
- return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).e2f_1), _FileName___init__impl__nzn12e('console'), it);
873
+ return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).f2f_1), _FileName___init__impl__nzn12e('console'), it);
874
874
  };
875
875
  }
876
876
  function out$lambda($output, $this_out, $packageName) {
@@ -882,49 +882,49 @@
882
882
  // Inline function 'kotlin.text.lowercase' call
883
883
  // Inline function 'kotlin.js.asDynamic' call
884
884
  var tmp$ret$1 = extension.p2_1.toLowerCase();
885
- tmp = $this_out.v2e_1 + '/out/' + tmp$ret$1;
885
+ tmp = $this_out.w2e_1 + '/out/' + tmp$ret$1;
886
886
  } else {
887
887
  tmp = new Output(tmp0_elvis_lhs);
888
888
  }
889
889
  var dir = tmp;
890
- return $this_out.z2e(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
890
+ return $this_out.a2f(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
891
891
  };
892
892
  }
893
893
  function JavaFile(path) {
894
- File.call(this, path.z2e(VOID, VOID, FileExtension_Java_getInstance()));
894
+ File.call(this, path.a2f(VOID, VOID, FileExtension_Java_getInstance()));
895
895
  }
896
- protoOf(JavaFile).q4a = function (fileName) {
897
- return new JavaFile(this.n4a_1.z2e(VOID, fileName));
896
+ protoOf(JavaFile).r4a = function (fileName) {
897
+ return new JavaFile(this.o4a_1.a2f(VOID, fileName));
898
898
  };
899
899
  function JsonFile(path) {
900
- File.call(this, path.z2e(VOID, VOID, FileExtension_Json_getInstance()));
900
+ File.call(this, path.a2f(VOID, VOID, FileExtension_Json_getInstance()));
901
901
  }
902
- protoOf(JsonFile).q4a = function (fileName) {
903
- return new JsonFile(this.n4a_1.z2e(VOID, fileName));
902
+ protoOf(JsonFile).r4a = function (fileName) {
903
+ return new JsonFile(this.o4a_1.a2f(VOID, fileName));
904
904
  };
905
905
  function KotlinFile(path) {
906
- File.call(this, path.z2e(VOID, VOID, FileExtension_Kotlin_getInstance()));
906
+ File.call(this, path.a2f(VOID, VOID, FileExtension_Kotlin_getInstance()));
907
907
  }
908
- protoOf(KotlinFile).q4a = function (fileName) {
909
- return new KotlinFile(this.n4a_1.z2e(VOID, fileName));
908
+ protoOf(KotlinFile).r4a = function (fileName) {
909
+ return new KotlinFile(this.o4a_1.a2f(VOID, fileName));
910
910
  };
911
911
  function ScalaFile(path) {
912
- File.call(this, path.z2e(VOID, VOID, FileExtension_Scala_getInstance()));
912
+ File.call(this, path.a2f(VOID, VOID, FileExtension_Scala_getInstance()));
913
913
  }
914
- protoOf(ScalaFile).q4a = function (fileName) {
915
- return new ScalaFile(this.n4a_1.z2e(VOID, fileName));
914
+ protoOf(ScalaFile).r4a = function (fileName) {
915
+ return new ScalaFile(this.o4a_1.a2f(VOID, fileName));
916
916
  };
917
917
  function TypeScriptFile(path) {
918
- File.call(this, path.z2e(VOID, VOID, FileExtension_TypeScript_getInstance()));
918
+ File.call(this, path.a2f(VOID, VOID, FileExtension_TypeScript_getInstance()));
919
919
  }
920
- protoOf(TypeScriptFile).q4a = function (fileName) {
921
- return new TypeScriptFile(this.n4a_1.z2e(VOID, fileName));
920
+ protoOf(TypeScriptFile).r4a = function (fileName) {
921
+ return new TypeScriptFile(this.o4a_1.a2f(VOID, fileName));
922
922
  };
923
923
  function WirespecFile(path) {
924
- File.call(this, path.z2e(VOID, VOID, FileExtension_Wirespec_getInstance()));
924
+ File.call(this, path.a2f(VOID, VOID, FileExtension_Wirespec_getInstance()));
925
925
  }
926
- protoOf(WirespecFile).q4a = function (fileName) {
927
- return new WirespecFile(this.n4a_1.z2e(VOID, fileName));
926
+ protoOf(WirespecFile).r4a = function (fileName) {
927
+ return new WirespecFile(this.o4a_1.a2f(VOID, fileName));
928
928
  };
929
929
  function cli(args) {
930
930
  main(args);
@@ -987,14 +987,14 @@
987
987
  return it;
988
988
  }
989
989
  function Directory$wirespecFiles$lambda_0(it) {
990
- return endsWith(it, FileExtension_Wirespec_getInstance().u2e_1);
990
+ return endsWith(it, FileExtension_Wirespec_getInstance().v2e_1);
991
991
  }
992
992
  function Directory$wirespecFiles$lambda_1(it) {
993
- return dropLast(it, FileExtension_Wirespec_getInstance().u2e_1.length + 1 | 0);
993
+ return dropLast(it, FileExtension_Wirespec_getInstance().v2e_1.length + 1 | 0);
994
994
  }
995
995
  function Directory$wirespecFiles$lambda_2(this$0) {
996
996
  return function (it) {
997
- return new FullFilePath(this$0.o4a_1, _FileName___init__impl__nzn12e(it));
997
+ return new FullFilePath(this$0.p4a_1, _FileName___init__impl__nzn12e(it));
998
998
  };
999
999
  }
1000
1000
  function WirespecFile$_init_$ref_cj1n5j() {
@@ -1005,10 +1005,10 @@
1005
1005
  return l;
1006
1006
  }
1007
1007
  function Directory(path) {
1008
- this.o4a_1 = path;
1008
+ this.p4a_1 = path;
1009
1009
  }
1010
- protoOf(Directory).p4a = function () {
1011
- var tmp = asSequence(iterator(get_fs().readdirSync(this.o4a_1, 'utf-8')));
1010
+ protoOf(Directory).q4a = function () {
1011
+ var tmp = asSequence(iterator(get_fs().readdirSync(this.p4a_1, 'utf-8')));
1012
1012
  var tmp_0 = map(tmp, Directory$wirespecFiles$lambda);
1013
1013
  var tmp_1 = filter(tmp_0, Directory$wirespecFiles$lambda_0);
1014
1014
  var tmp_2 = map(tmp_1, Directory$wirespecFiles$lambda_1);
@@ -1016,20 +1016,20 @@
1016
1016
  return toSet_0(map(tmp_3, WirespecFile$_init_$ref_cj1n5j()));
1017
1017
  };
1018
1018
  function File(path) {
1019
- this.n4a_1 = path;
1019
+ this.o4a_1 = path;
1020
1020
  }
1021
1021
  protoOf(File).y1a = function () {
1022
1022
  // Inline function 'kotlin.js.unsafeCast' call
1023
- return get_fs().readFileSync(this.n4a_1.toString(), 'utf-8');
1023
+ return get_fs().readFileSync(this.o4a_1.toString(), 'utf-8');
1024
1024
  };
1025
1025
  protoOf(File).s18 = function (text) {
1026
1026
  // Inline function 'kotlin.run' call
1027
1027
  // Inline function 'kotlin.contracts.contract' call
1028
1028
  // Inline function 'community.flock.wirespec.plugin.cli.io.File.write.<anonymous>' call
1029
- var $this$run = this.n4a_1.z2e(joinToString(split_0(this.n4a_1.v2e_1, ['out']), 'out/node'));
1029
+ var $this$run = this.o4a_1.a2f(joinToString(split_0(this.o4a_1.w2e_1, ['out']), 'out/node'));
1030
1030
  // Inline function 'kotlin.js.unsafeCast' call
1031
- if (!get_fs().existsSync($this$run.v2e_1)) {
1032
- get_fs().mkdirSync($this$run.v2e_1, {recursive: true});
1031
+ if (!get_fs().existsSync($this$run.w2e_1)) {
1032
+ get_fs().mkdirSync($this$run.w2e_1, {recursive: true});
1033
1033
  }
1034
1034
  get_fs().writeFileSync($this$run.toString(), text);
1035
1035
  };
@@ -194,10 +194,10 @@
194
194
  var tmp;
195
195
  switch (converters.q2_1) {
196
196
  case 0:
197
- tmp = produce_1(OpenApiV2Parser_instance.v2f(source));
197
+ tmp = produce_1(OpenApiV2Parser_instance.w2f(source));
198
198
  break;
199
199
  case 1:
200
- tmp = produce_1(OpenApiV3Parser_instance.l2g(source));
200
+ tmp = produce_1(OpenApiV3Parser_instance.m2g(source));
201
201
  break;
202
202
  default:
203
203
  noWhenBranchMatchedException();
@@ -368,7 +368,7 @@
368
368
  return encode$lambda(serializer);
369
369
  }
370
370
  function emit$emit(receiver, p0) {
371
- return receiver.z2f(p0);
371
+ return receiver.a2g(p0);
372
372
  }
373
373
  function Emitted$_init_$ref_9uzepx() {
374
374
  var l = function (p0, p1) {
@@ -84,7 +84,7 @@
84
84
  case 0:
85
85
  // Inline function 'kotlin.let' call
86
86
 
87
- var this_0 = Companion_instance.x4a('\\w{1,50}').g4b(random);
87
+ var this_0 = Companion_instance.y4a('\\w{1,50}').h4b(random);
88
88
  // Inline function 'kotlin.contracts.contract' call
89
89
 
90
90
  tmp_0 = JsonPrimitive(this_0);
@@ -203,7 +203,7 @@
203
203
  while (tmp0_iterator_0.h()) {
204
204
  var element_0 = tmp0_iterator_0.i();
205
205
  // Inline function 'community.flock.wirespec.generator.resolveReference.<anonymous>' call
206
- if (element_0.n2d().e24_1 === type.b1()) {
206
+ if (element_0.o2d().e24_1 === type.b1()) {
207
207
  tmp$ret$3 = element_0;
208
208
  break $l$block;
209
209
  }
@@ -288,7 +288,7 @@
288
288
  var endIndex = regex.length - 2 | 0;
289
289
  // Inline function 'kotlin.js.asDynamic' call
290
290
  var tmp$ret$1 = regex.substring(1, endIndex);
291
- return tmp.x4a(tmp$ret$1).g4b(random);
291
+ return tmp.y4a(tmp$ret$1).h4b(random);
292
292
  }
293
293
  //region block: exports
294
294
  _.$_$ = _.$_$ || {};