@flock/wirespec 0.11.4 → 0.11.6

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.
@@ -66,8 +66,8 @@
66
66
  var setOf = kotlin_kotlin.$_$.v7;
67
67
  var CliktCommand = kotlin_clikt_clikt.$_$.a;
68
68
  var default_0 = kotlin_clikt_clikt.$_$.f;
69
- var Companion_instance_1 = kotlin_community_flock_wirespec_compiler_core.$_$.o2;
70
- var Level_ERROR_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.e2;
69
+ var Companion_instance_1 = kotlin_community_flock_wirespec_compiler_core.$_$.q2;
70
+ var Level_ERROR_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.g2;
71
71
  var flag = kotlin_clikt_clikt.$_$.g;
72
72
  var Companion_instance_2 = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.w;
73
73
  var FullDirPath = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.d;
@@ -76,16 +76,16 @@
76
76
  var isCharSequence = kotlin_kotlin.$_$.ia;
77
77
  var trim = kotlin_kotlin.$_$.qe;
78
78
  var toString = kotlin_kotlin.$_$.cb;
79
- var Level_DEBUG_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.d2;
80
- var Level_INFO_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.f2;
81
- var Level_WARN_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.g2;
79
+ var Level_DEBUG_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.f2;
80
+ var Level_INFO_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.h2;
81
+ var Level_WARN_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.i2;
82
82
  var Enum = kotlin_kotlin.$_$.ze;
83
83
  var KProperty1 = kotlin_kotlin.$_$.tb;
84
84
  var getPropertyCallableRef = kotlin_kotlin.$_$.v9;
85
85
  var numberRangeToNumber = kotlin_kotlin.$_$.sa;
86
86
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
87
87
  var copyToArray = kotlin_kotlin.$_$.x5;
88
- var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
88
+ var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.t1;
89
89
  var FileReadException = kotlin_community_flock_wirespec_compiler_core.$_$.h;
90
90
  var nonEmptyListOf = kotlin_io_arrow_kt_arrow_core.$_$.i;
91
91
  var left = kotlin_io_arrow_kt_arrow_core.$_$.h;
@@ -110,7 +110,7 @@
110
110
  var _FileName___init__impl__nzn12e = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.q;
111
111
  var print = kotlin_kotlin.$_$.e9;
112
112
  var PackageName = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.i;
113
- var component1 = kotlin_community_flock_wirespec_compiler_core.$_$.p1;
113
+ var component1 = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
114
114
  var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
115
115
  var FileExtension_Java_getInstance = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.j;
116
116
  var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
@@ -123,8 +123,8 @@
123
123
  var OpenApiV2Emitter_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.a;
124
124
  var FileExtension_Json_getInstance = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.k;
125
125
  var OpenApiV3Emitter_getInstance = kotlin_community_flock_wirespec_converter_openapi.$_$.c;
126
- var compile = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
127
- var Companion_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.i2;
126
+ var compile = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
127
+ var Companion_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k2;
128
128
  var Output = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.h;
129
129
  var ensureNotNull = kotlin_kotlin.$_$.zf;
130
130
  var _Output___get_value__impl__a8kw1g = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.s;
@@ -132,14 +132,14 @@
132
132
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.v1;
133
133
  var charArrayOf = kotlin_kotlin.$_$.k9;
134
134
  var split = kotlin_kotlin.$_$.od;
135
- var get_spec = kotlin_community_flock_wirespec_compiler_core.$_$.m1;
136
- var HasLanguageSpec = kotlin_community_flock_wirespec_compiler_core.$_$.n1;
137
- var parse = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
135
+ var get_spec = kotlin_community_flock_wirespec_compiler_core.$_$.o1;
136
+ var HasLanguageSpec = kotlin_community_flock_wirespec_compiler_core.$_$.p1;
137
+ var parse = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
138
138
  var Definition = kotlin_community_flock_wirespec_compiler_core.$_$.l;
139
139
  var isInterface = kotlin_kotlin.$_$.ma;
140
140
  var produce = kotlin_community_flock_wirespec_compiler_lib.$_$.e;
141
141
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
142
- var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
142
+ var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.u1;
143
143
  var endsWith = kotlin_kotlin.$_$.oc;
144
144
  var dropLast = kotlin_kotlin.$_$.lc;
145
145
  var iterator = kotlin_kotlin.$_$.pa;
@@ -175,7 +175,7 @@
175
175
  //endregion
176
176
  function WirespecCli$main$ref($boundThis) {
177
177
  var l = function (p0) {
178
- $boundThis.a3t(p0);
178
+ $boundThis.n3s(p0);
179
179
  return Unit_instance;
180
180
  };
181
181
  l.callableName = 'main';
@@ -183,7 +183,7 @@
183
183
  }
184
184
  function Companion() {
185
185
  }
186
- protoOf(Companion).f45 = function (compile, convert, write) {
186
+ protoOf(Companion).s44 = function (compile, convert, write) {
187
187
  return WirespecCli$main$ref(subcommands(new WirespecCli(), [new Compile_0(compile, write), new Convert_0(convert, write)]));
188
188
  };
189
189
  var Companion_instance_4;
@@ -194,7 +194,7 @@
194
194
  NoOpCliktCommand.call(this, VOID, VOID, 'wirespec');
195
195
  }
196
196
  function _get_languages__ojonze($this) {
197
- return $this.g46_1.m42($this, languages$factory_0());
197
+ return $this.t45_1.z41($this, languages$factory_0());
198
198
  }
199
199
  function Compile$run$lambda(e) {
200
200
  var tmp0_elvis_lhs = e.message;
@@ -202,16 +202,16 @@
202
202
  }
203
203
  function Compile_0(block, write) {
204
204
  CommonOptions.call(this);
205
- this.e46_1 = block;
206
- this.f46_1 = write;
207
- this.g46_1 = multiple(choice(option(this, Options_Language_getInstance().j46_1.slice(), 'Language'), Companion_instance.w2c()), VOID, true).x42(this, languages$factory());
205
+ this.r45_1 = block;
206
+ this.s45_1 = write;
207
+ this.t45_1 = multiple(choice(option(this, Options_Language_getInstance().w45_1.slice(), 'Language'), Companion_instance.k2c()), VOID, true).k42(this, languages$factory());
208
208
  }
209
- protoOf(Compile_0).b3t = function () {
209
+ protoOf(Compile_0).o3s = function () {
210
210
  // Inline function 'kotlin.collections.forEach' call
211
211
  // Inline function 'kotlin.let' call
212
- var this_0 = new CompilerArguments(Compile_instance, this.j47(this.i47()), Companion_instance_0.x2c(this.k47()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.l47()), this.n47(this.m47()), this.o47(), this.p47());
212
+ var this_0 = new CompilerArguments(Compile_instance, this.w46(this.v46()), Companion_instance_0.l2c(this.x46()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.y46()), this.a47(this.z46()), this.b47(), this.c47());
213
213
  // Inline function 'kotlin.contracts.contract' call
214
- var tmp0_iterator = this.e46_1(this_0).g();
214
+ var tmp0_iterator = this.r45_1(this_0).g();
215
215
  while (tmp0_iterator.h()) {
216
216
  var element = tmp0_iterator.i();
217
217
  // Inline function 'community.flock.wirespec.plugin.cli.Compile.run.<anonymous>' call
@@ -221,7 +221,7 @@
221
221
  var destruct = element.ak_1;
222
222
  var result = destruct.qd();
223
223
  var file = destruct.rd();
224
- this.f46_1(result, file);
224
+ this.s45_1(result, file);
225
225
  } else {
226
226
  if (element instanceof Left) {
227
227
  throw new CliktError(joinToString(element.uj_1, VOID, VOID, VOID, VOID, VOID, Compile$run$lambda));
@@ -232,15 +232,15 @@
232
232
  }
233
233
  };
234
234
  function _get_format__qlarck($this) {
235
- return $this.q48_1.m42($this, format$factory_0());
235
+ return $this.d48_1.z41($this, format$factory_0());
236
236
  }
237
237
  function _get_languages__ojonze_0($this) {
238
- return $this.r48_1.m42($this, languages$factory_2());
238
+ return $this.e48_1.z41($this, languages$factory_2());
239
239
  }
240
240
  function Convert_0(block, write) {
241
241
  CommonOptions.call(this);
242
- this.o48_1 = block;
243
- this.p48_1 = write;
242
+ this.b48_1 = block;
243
+ this.c48_1 = write;
244
244
  var tmp = this;
245
245
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
246
246
  var this_0 = argument(this, VOID, 'Input format');
@@ -260,22 +260,22 @@
260
260
  var tmp$ret$2 = element.p2_1;
261
261
  destination.m2(tmp$ret$2, element);
262
262
  }
263
- tmp.q48_1 = choice_0(this_0, destination, true).s41(this, format$factory());
264
- this.r48_1 = multiple(choice(option(this, Options_Language_getInstance().j46_1.slice(), 'Language'), Companion_instance.w2c(), VOID, true), listOf(Language_Wirespec_getInstance())).x42(this, languages$factory_1());
263
+ tmp.d48_1 = choice_0(this_0, destination, true).f41(this, format$factory());
264
+ this.e48_1 = multiple(choice(option(this, Options_Language_getInstance().w45_1.slice(), 'Language'), Companion_instance.k2c(), VOID, true), listOf(Language_Wirespec_getInstance())).k42(this, languages$factory_1());
265
265
  }
266
- protoOf(Convert_0).b3t = function () {
267
- if (this.i47() == null)
266
+ protoOf(Convert_0).o3s = function () {
267
+ if (this.v46() == null)
268
268
  null;
269
269
  else {
270
270
  // Inline function 'kotlin.let' call
271
271
  // Inline function 'kotlin.contracts.contract' call
272
- this.u3s('To convert, please specify a file', VOID, true);
272
+ this.h3s('To convert, please specify a file', VOID, true);
273
273
  }
274
274
  // Inline function 'kotlin.collections.forEach' call
275
275
  // Inline function 'kotlin.let' call
276
276
  var tmp = new Convert(_get_format__qlarck(this));
277
- var tmp_0 = this.j47(null);
278
- var tmp_1 = Companion_instance_0.x2c(this.k47());
277
+ var tmp_0 = this.w46(null);
278
+ var tmp_1 = Companion_instance_0.l2c(this.x46());
279
279
  // Inline function 'kotlin.collections.ifEmpty' call
280
280
  var this_0 = toSet(_get_languages__ojonze_0(this));
281
281
  // Inline function 'kotlin.contracts.contract' call
@@ -287,9 +287,9 @@
287
287
  tmp_2 = this_0;
288
288
  }
289
289
  var tmp$ret$2 = tmp_2;
290
- var this_1 = new CompilerArguments(tmp, tmp_0, tmp_1, tmp$ret$2, _PackageName___init__impl__s13tbs(this.l47()), this.n47(this.m47()), this.o47(), this.p47());
290
+ var this_1 = new CompilerArguments(tmp, tmp_0, tmp_1, tmp$ret$2, _PackageName___init__impl__s13tbs(this.y46()), this.a47(this.z46()), this.b47(), this.c47());
291
291
  // Inline function 'kotlin.contracts.contract' call
292
- var tmp0_iterator = this.o48_1(this_1).g();
292
+ var tmp0_iterator = this.b48_1(this_1).g();
293
293
  while (tmp0_iterator.h()) {
294
294
  var element = tmp0_iterator.i();
295
295
  // Inline function 'community.flock.wirespec.plugin.cli.Convert.run.<anonymous>' call
@@ -299,10 +299,10 @@
299
299
  var destruct = element.ak_1;
300
300
  var result = destruct.qd();
301
301
  var file = destruct.rd();
302
- this.p48_1(result, file);
302
+ this.c48_1(result, file);
303
303
  } else {
304
304
  if (element instanceof Left) {
305
- this.u3s(element.uj_1, VOID, true);
305
+ this.h3s(element.uj_1, VOID, true);
306
306
  } else {
307
307
  noWhenBranchMatchedException();
308
308
  }
@@ -310,37 +310,37 @@
310
310
  }
311
311
  };
312
312
  function _get_inputFile__x1bqj($this) {
313
- return $this.b47_1.m42($this, inputFile$factory_0());
313
+ return $this.o46_1.z41($this, inputFile$factory_0());
314
314
  }
315
315
  function CommonOptions() {
316
316
  CliktCommand.call(this);
317
- this.b47_1 = option(this, Options_InputFile_getInstance().j46_1.slice(), 'Input file').x42(this, inputFile$factory());
318
- this.c47_1 = option(this, Options_InputDir_getInstance().j46_1.slice(), 'Input directory').x42(this, inputDir$factory());
319
- this.d47_1 = option(this, Options_OutputDir_getInstance().j46_1.slice(), 'Output directory').x42(this, outputDir$factory());
320
- this.e47_1 = default_0(option(this, Options_PackageName_getInstance().j46_1.slice(), 'Package name'), 'community.flock.wirespec.generated').x42(this, packageName$factory());
321
- this.f47_1 = default_0(option(this, Options_LogLevel_getInstance().j46_1.slice(), 'Log level: ' + Companion_instance_1.toString()), Level_ERROR_getInstance().toString()).x42(this, logLevel$factory());
322
- this.g47_1 = flag(option(this, Options_Shared_getInstance().j46_1.slice(), 'Generate shared wirespec code'), [], false).x42(this, shared$factory());
323
- this.h47_1 = flag(option(this, Options_Strict_getInstance().j46_1.slice(), 'Strict mode'), []).x42(this, strict$factory());
324
- }
325
- protoOf(CommonOptions).i47 = function () {
326
- return this.c47_1.m42(this, inputDir$factory_0());
317
+ this.o46_1 = option(this, Options_InputFile_getInstance().w45_1.slice(), 'Input file').k42(this, inputFile$factory());
318
+ this.p46_1 = option(this, Options_InputDir_getInstance().w45_1.slice(), 'Input directory').k42(this, inputDir$factory());
319
+ this.q46_1 = option(this, Options_OutputDir_getInstance().w45_1.slice(), 'Output directory').k42(this, outputDir$factory());
320
+ this.r46_1 = default_0(option(this, Options_PackageName_getInstance().w45_1.slice(), 'Package name'), 'community.flock.wirespec.generated').k42(this, packageName$factory());
321
+ this.s46_1 = default_0(option(this, Options_LogLevel_getInstance().w45_1.slice(), 'Log level: ' + Companion_instance_1.toString()), Level_ERROR_getInstance().toString()).k42(this, logLevel$factory());
322
+ this.t46_1 = flag(option(this, Options_Shared_getInstance().w45_1.slice(), 'Generate shared wirespec code'), [], false).k42(this, shared$factory());
323
+ this.u46_1 = flag(option(this, Options_Strict_getInstance().w45_1.slice(), 'Strict mode'), []).k42(this, strict$factory());
324
+ }
325
+ protoOf(CommonOptions).v46 = function () {
326
+ return this.p46_1.z41(this, inputDir$factory_0());
327
327
  };
328
- protoOf(CommonOptions).k47 = function () {
329
- return this.d47_1.m42(this, outputDir$factory_0());
328
+ protoOf(CommonOptions).x46 = function () {
329
+ return this.q46_1.z41(this, outputDir$factory_0());
330
330
  };
331
- protoOf(CommonOptions).l47 = function () {
332
- return this.e47_1.m42(this, packageName$factory_0());
331
+ protoOf(CommonOptions).y46 = function () {
332
+ return this.r46_1.z41(this, packageName$factory_0());
333
333
  };
334
- protoOf(CommonOptions).m47 = function () {
335
- return this.f47_1.m42(this, logLevel$factory_0());
334
+ protoOf(CommonOptions).z46 = function () {
335
+ return this.s46_1.z41(this, logLevel$factory_0());
336
336
  };
337
- protoOf(CommonOptions).o47 = function () {
338
- return this.g47_1.m42(this, shared$factory_0());
337
+ protoOf(CommonOptions).b47 = function () {
338
+ return this.t46_1.z41(this, shared$factory_0());
339
339
  };
340
- protoOf(CommonOptions).p47 = function () {
341
- return this.h47_1.m42(this, strict$factory_0());
340
+ protoOf(CommonOptions).c47 = function () {
341
+ return this.u46_1.z41(this, strict$factory_0());
342
342
  };
343
- protoOf(CommonOptions).j47 = function (inputDir) {
343
+ protoOf(CommonOptions).w46 = function (inputDir) {
344
344
  var tmp;
345
345
  if (!(inputDir == null) && !(_get_inputFile__x1bqj(this) == null)) {
346
346
  throw new CliktError('Choose either a file or a directory. Not Both.');
@@ -352,7 +352,7 @@
352
352
  } else {
353
353
  // Inline function 'kotlin.let' call
354
354
  // Inline function 'kotlin.contracts.contract' call
355
- tmp_0 = Companion_instance_2.l2c(tmp0_safe_receiver);
355
+ tmp_0 = Companion_instance_2.z2b(tmp0_safe_receiver);
356
356
  }
357
357
  var tmp1_elvis_lhs = tmp_0;
358
358
  var tmp_1;
@@ -374,7 +374,7 @@
374
374
  }
375
375
  return tmp;
376
376
  };
377
- protoOf(CommonOptions).n47 = function (_this__u8e3s4) {
377
+ protoOf(CommonOptions).a47 = function (_this__u8e3s4) {
378
378
  // Inline function 'kotlin.text.uppercase' call
379
379
  // Inline function 'kotlin.text.trim' call
380
380
  // Inline function 'kotlin.js.asDynamic' call
@@ -421,7 +421,7 @@
421
421
  }
422
422
  function Options(name, ordinal, flags) {
423
423
  Enum.call(this, name, ordinal);
424
- this.j46_1 = flags;
424
+ this.w45_1 = flags;
425
425
  }
426
426
  function Options_InputDir_getInstance() {
427
427
  Options_initEntries();
@@ -492,32 +492,32 @@
492
492
  }
493
493
  function inputDir$factory() {
494
494
  return getPropertyCallableRef('inputDir', 1, KProperty1, function (receiver) {
495
- return receiver.i47();
495
+ return receiver.v46();
496
496
  }, null);
497
497
  }
498
498
  function outputDir$factory() {
499
499
  return getPropertyCallableRef('outputDir', 1, KProperty1, function (receiver) {
500
- return receiver.k47();
500
+ return receiver.x46();
501
501
  }, null);
502
502
  }
503
503
  function packageName$factory() {
504
504
  return getPropertyCallableRef('packageName', 1, KProperty1, function (receiver) {
505
- return receiver.l47();
505
+ return receiver.y46();
506
506
  }, null);
507
507
  }
508
508
  function logLevel$factory() {
509
509
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
510
- return receiver.m47();
510
+ return receiver.z46();
511
511
  }, null);
512
512
  }
513
513
  function shared$factory() {
514
514
  return getPropertyCallableRef('shared', 1, KProperty1, function (receiver) {
515
- return receiver.o47();
515
+ return receiver.b47();
516
516
  }, null);
517
517
  }
518
518
  function strict$factory() {
519
519
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
520
- return receiver.p47();
520
+ return receiver.c47();
521
521
  }, null);
522
522
  }
523
523
  function inputFile$factory_0() {
@@ -527,32 +527,32 @@
527
527
  }
528
528
  function inputDir$factory_0() {
529
529
  return getPropertyCallableRef('inputDir', 1, KProperty1, function (receiver) {
530
- return receiver.i47();
530
+ return receiver.v46();
531
531
  }, null);
532
532
  }
533
533
  function outputDir$factory_0() {
534
534
  return getPropertyCallableRef('outputDir', 1, KProperty1, function (receiver) {
535
- return receiver.k47();
535
+ return receiver.x46();
536
536
  }, null);
537
537
  }
538
538
  function packageName$factory_0() {
539
539
  return getPropertyCallableRef('packageName', 1, KProperty1, function (receiver) {
540
- return receiver.l47();
540
+ return receiver.y46();
541
541
  }, null);
542
542
  }
543
543
  function logLevel$factory_0() {
544
544
  return getPropertyCallableRef('logLevel', 1, KProperty1, function (receiver) {
545
- return receiver.m47();
545
+ return receiver.z46();
546
546
  }, null);
547
547
  }
548
548
  function shared$factory_0() {
549
549
  return getPropertyCallableRef('shared', 1, KProperty1, function (receiver) {
550
- return receiver.o47();
550
+ return receiver.b47();
551
551
  }, null);
552
552
  }
553
553
  function strict$factory_0() {
554
554
  return getPropertyCallableRef('strict', 1, KProperty1, function (receiver) {
555
- return receiver.p47();
555
+ return receiver.c47();
556
556
  }, null);
557
557
  }
558
558
  function main(args) {
@@ -586,31 +586,31 @@
586
586
  var tmp_0 = compile$ref();
587
587
  var tmp_1 = convert$ref();
588
588
  // Inline function 'kotlin.contracts.contract' call
589
- tmp.f45(tmp_0, tmp_1, write$ref())(this_1);
589
+ tmp.s44(tmp_0, tmp_1, write$ref())(this_1);
590
590
  }
591
591
  function compile_0(arguments_0) {
592
- var input = arguments_0.c2c_1;
593
- var output = arguments_0.d2c_1;
594
- var languages = arguments_0.e2c_1;
595
- var packageName = arguments_0.f2c_1;
596
- var logger = new Logger(arguments_0.g2c_1);
597
- var operation = arguments_0.b2c_1;
592
+ var input = arguments_0.q2b_1;
593
+ var output = arguments_0.r2b_1;
594
+ var languages = arguments_0.s2b_1;
595
+ var packageName = arguments_0.t2b_1;
596
+ var logger = new Logger(arguments_0.u2b_1);
597
+ var operation = arguments_0.p2b_1;
598
598
  var tmp;
599
599
  if (operation instanceof Convert) {
600
600
  var fullPath = input instanceof FullFilePath ? input : THROW_CCE();
601
601
  var file = new JsonFile(fullPath);
602
- var strict = arguments_0.i2c_1;
603
- var format = operation.k2c_1;
602
+ var strict = arguments_0.w2b_1;
603
+ var format = operation.y2b_1;
604
604
  var tmp_0;
605
605
  switch (format.q2_1) {
606
606
  case 0:
607
- tmp_0 = OpenApiV2Parser_instance.g2b(file.z1a(), !strict);
607
+ tmp_0 = OpenApiV2Parser_instance.u2a(file.z1a(), !strict);
608
608
  break;
609
609
  case 1:
610
- tmp_0 = OpenApiV3Parser_instance.g2b(file.z1a(), !strict);
610
+ tmp_0 = OpenApiV3Parser_instance.u2a(file.z1a(), !strict);
611
611
  break;
612
612
  case 2:
613
- tmp_0 = AvroParser_instance.p2e(file.z1a());
613
+ tmp_0 = AvroParser_instance.d2e(file.z1a());
614
614
  break;
615
615
  default:
616
616
  noWhenBranchMatchedException();
@@ -633,7 +633,7 @@
633
633
  var tmp_1;
634
634
  if (!emitter.j22_1) {
635
635
  // Inline function 'kotlin.text.replaceFirstChar' call
636
- var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.q2c_1);
636
+ var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.e2c_1);
637
637
  var tmp_2;
638
638
  // Inline function 'kotlin.text.isNotEmpty' call
639
639
  if (charSequenceLength(this_1) > 0) {
@@ -651,7 +651,7 @@
651
651
  tmp_2 = this_1;
652
652
  }
653
653
  var tmp$ret$7 = tmp_2;
654
- tmp_1 = to(listOf(new Emitted(tmp$ret$7, first(results).z25_1)), file_0);
654
+ tmp_1 = to(listOf(new Emitted(tmp$ret$7, first(results).s25_1)), file_0);
655
655
  } else {
656
656
  tmp_1 = to(results, file_0);
657
657
  }
@@ -677,25 +677,25 @@
677
677
  if (input instanceof FullDirPath) {
678
678
  // Inline function 'kotlin.collections.flatMap' call
679
679
  // Inline function 'kotlin.collections.flatMapTo' call
680
- var this_3 = (new Directory(input.v2c_1)).u48();
680
+ var this_3 = (new Directory(input.j2c_1)).h48();
681
681
  var destination_1 = ArrayList_init_$Create$();
682
682
  var tmp0_iterator_1 = this_3.g();
683
683
  while (tmp0_iterator_1.h()) {
684
684
  var element = tmp0_iterator_1.i();
685
685
  // Inline function 'community.flock.wirespec.plugin.cli.compile.<anonymous>' call
686
- var list = wirespec(element, languages, packageName, out(element.s48_1, packageName, output), logger);
686
+ var list = wirespec(element, languages, packageName, out(element.f48_1, packageName, output), logger);
687
687
  addAll(destination_1, list);
688
688
  }
689
689
  tmp_4 = destination_1;
690
690
  } else {
691
691
  if (input instanceof FullFilePath) {
692
692
  var tmp_5;
693
- if (input.r2c_1.equals(FileExtension_Wirespec_getInstance())) {
693
+ if (input.f2c_1.equals(FileExtension_Wirespec_getInstance())) {
694
694
  // Inline function 'kotlin.let' call
695
695
  // Inline function 'kotlin.contracts.contract' call
696
696
  // Inline function 'community.flock.wirespec.plugin.cli.compile.<anonymous>' call
697
697
  var it = new WirespecFile(input);
698
- tmp_5 = wirespec(it, languages, packageName, out(it.s48_1, packageName, output), logger);
698
+ tmp_5 = wirespec(it, languages, packageName, out(it.f48_1, packageName, output), logger);
699
699
  } else {
700
700
  // Inline function 'arrow.core.nel' call
701
701
  // Inline function 'arrow.core.nel' call
@@ -728,7 +728,7 @@
728
728
  // Inline function 'community.flock.wirespec.plugin.cli.write.<anonymous>' call
729
729
  var name = element.qd();
730
730
  var result = element.rd();
731
- var tmp1_safe_receiver = file == null ? null : file.v48(_FileName___init__impl__nzn12e(name));
731
+ var tmp1_safe_receiver = file == null ? null : file.i48(_FileName___init__impl__nzn12e(name));
732
732
  var tmp;
733
733
  if (tmp1_safe_receiver == null) {
734
734
  tmp = null;
@@ -890,7 +890,7 @@
890
890
  // Inline function 'arrow.core.Either.map.<anonymous>' call
891
891
  // Inline function 'community.flock.wirespec.plugin.cli.wirespec.<anonymous>.<anonymous>.<anonymous>' call
892
892
  var it = results.ak_1;
893
- var tmp$ret$0 = listOf(new Emitted(Companion_getInstance().l24(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).q2c_1)), first(it).z25_1));
893
+ var tmp$ret$0 = listOf(new Emitted(Companion_getInstance().h24(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).e2c_1)), first(it).s25_1));
894
894
  tmp_0 = new Right(tmp$ret$0);
895
895
  } else {
896
896
  if (results instanceof Left) {
@@ -963,7 +963,7 @@
963
963
  function compile$lambda($output) {
964
964
  return function (it) {
965
965
  var tmp = $output;
966
- return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).y2c_1), _FileName___init__impl__nzn12e('console'), it);
966
+ return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).m2c_1), _FileName___init__impl__nzn12e('console'), it);
967
967
  };
968
968
  }
969
969
  function out$lambda($output, $this_out, $packageName) {
@@ -975,59 +975,59 @@
975
975
  // Inline function 'kotlin.text.lowercase' call
976
976
  // Inline function 'kotlin.js.asDynamic' call
977
977
  var tmp$ret$1 = extension.p2_1.toLowerCase();
978
- tmp = $this_out.p2c_1 + '/out/' + tmp$ret$1;
978
+ tmp = $this_out.d2c_1 + '/out/' + tmp$ret$1;
979
979
  } else {
980
980
  tmp = new Output(tmp0_elvis_lhs);
981
981
  }
982
982
  var dir = tmp;
983
- return $this_out.t2c(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
983
+ return $this_out.h2c(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
984
984
  };
985
985
  }
986
986
  function wirespec$this$1($logger, $emitter) {
987
- this.w48_1 = $logger;
988
- this.x48_1 = $emitter;
987
+ this.j48_1 = $logger;
988
+ this.k48_1 = $emitter;
989
989
  }
990
990
  protoOf(wirespec$this$1).a22 = function () {
991
- return this.w48_1;
991
+ return this.j48_1;
992
992
  };
993
993
  protoOf(wirespec$this$1).h22 = function () {
994
- return this.x48_1;
994
+ return this.k48_1;
995
995
  };
996
996
  function JavaFile(path) {
997
- File.call(this, path.t2c(VOID, VOID, FileExtension_Java_getInstance()));
997
+ File.call(this, path.h2c(VOID, VOID, FileExtension_Java_getInstance()));
998
998
  }
999
- protoOf(JavaFile).v48 = function (fileName) {
1000
- return new JavaFile(this.s48_1.t2c(VOID, fileName));
999
+ protoOf(JavaFile).i48 = function (fileName) {
1000
+ return new JavaFile(this.f48_1.h2c(VOID, fileName));
1001
1001
  };
1002
1002
  function JsonFile(path) {
1003
- File.call(this, path.t2c(VOID, VOID, FileExtension_Json_getInstance()));
1003
+ File.call(this, path.h2c(VOID, VOID, FileExtension_Json_getInstance()));
1004
1004
  }
1005
- protoOf(JsonFile).v48 = function (fileName) {
1006
- return new JsonFile(this.s48_1.t2c(VOID, fileName));
1005
+ protoOf(JsonFile).i48 = function (fileName) {
1006
+ return new JsonFile(this.f48_1.h2c(VOID, fileName));
1007
1007
  };
1008
1008
  function KotlinFile(path) {
1009
- File.call(this, path.t2c(VOID, VOID, FileExtension_Kotlin_getInstance()));
1009
+ File.call(this, path.h2c(VOID, VOID, FileExtension_Kotlin_getInstance()));
1010
1010
  }
1011
- protoOf(KotlinFile).v48 = function (fileName) {
1012
- return new KotlinFile(this.s48_1.t2c(VOID, fileName));
1011
+ protoOf(KotlinFile).i48 = function (fileName) {
1012
+ return new KotlinFile(this.f48_1.h2c(VOID, fileName));
1013
1013
  };
1014
1014
  function ScalaFile(path) {
1015
- File.call(this, path.t2c(VOID, VOID, FileExtension_Scala_getInstance()));
1015
+ File.call(this, path.h2c(VOID, VOID, FileExtension_Scala_getInstance()));
1016
1016
  }
1017
- protoOf(ScalaFile).v48 = function (fileName) {
1018
- return new ScalaFile(this.s48_1.t2c(VOID, fileName));
1017
+ protoOf(ScalaFile).i48 = function (fileName) {
1018
+ return new ScalaFile(this.f48_1.h2c(VOID, fileName));
1019
1019
  };
1020
1020
  function TypeScriptFile(path) {
1021
- File.call(this, path.t2c(VOID, VOID, FileExtension_TypeScript_getInstance()));
1021
+ File.call(this, path.h2c(VOID, VOID, FileExtension_TypeScript_getInstance()));
1022
1022
  }
1023
- protoOf(TypeScriptFile).v48 = function (fileName) {
1024
- return new TypeScriptFile(this.s48_1.t2c(VOID, fileName));
1023
+ protoOf(TypeScriptFile).i48 = function (fileName) {
1024
+ return new TypeScriptFile(this.f48_1.h2c(VOID, fileName));
1025
1025
  };
1026
1026
  function WirespecFile(path) {
1027
- File.call(this, path.t2c(VOID, VOID, FileExtension_Wirespec_getInstance()));
1027
+ File.call(this, path.h2c(VOID, VOID, FileExtension_Wirespec_getInstance()));
1028
1028
  }
1029
- protoOf(WirespecFile).v48 = function (fileName) {
1030
- return new WirespecFile(this.s48_1.t2c(VOID, fileName));
1029
+ protoOf(WirespecFile).i48 = function (fileName) {
1030
+ return new WirespecFile(this.f48_1.h2c(VOID, fileName));
1031
1031
  };
1032
1032
  function cli(args) {
1033
1033
  main(args);
@@ -1086,24 +1086,24 @@
1086
1086
  return tmp_2;
1087
1087
  }
1088
1088
  function parser$1() {
1089
- this.e49_1 = get_noLogger();
1089
+ this.r48_1 = get_noLogger();
1090
1090
  }
1091
1091
  protoOf(parser$1).a22 = function () {
1092
- return this.e49_1;
1092
+ return this.r48_1;
1093
1093
  };
1094
1094
  function Directory$wirespecFiles$lambda(it) {
1095
1095
  // Inline function 'kotlin.js.unsafeCast' call
1096
1096
  return it;
1097
1097
  }
1098
1098
  function Directory$wirespecFiles$lambda_0(it) {
1099
- return endsWith(it, FileExtension_Wirespec_getInstance().o2c_1);
1099
+ return endsWith(it, FileExtension_Wirespec_getInstance().c2c_1);
1100
1100
  }
1101
1101
  function Directory$wirespecFiles$lambda_1(it) {
1102
- return dropLast(it, FileExtension_Wirespec_getInstance().o2c_1.length + 1 | 0);
1102
+ return dropLast(it, FileExtension_Wirespec_getInstance().c2c_1.length + 1 | 0);
1103
1103
  }
1104
1104
  function Directory$wirespecFiles$lambda_2(this$0) {
1105
1105
  return function (it) {
1106
- return new FullFilePath(this$0.t48_1, _FileName___init__impl__nzn12e(it));
1106
+ return new FullFilePath(this$0.g48_1, _FileName___init__impl__nzn12e(it));
1107
1107
  };
1108
1108
  }
1109
1109
  function WirespecFile$_init_$ref_cj1n5j() {
@@ -1114,10 +1114,10 @@
1114
1114
  return l;
1115
1115
  }
1116
1116
  function Directory(path) {
1117
- this.t48_1 = path;
1117
+ this.g48_1 = path;
1118
1118
  }
1119
- protoOf(Directory).u48 = function () {
1120
- var tmp = asSequence(iterator(get_fs().readdirSync(this.t48_1, 'utf-8')));
1119
+ protoOf(Directory).h48 = function () {
1120
+ var tmp = asSequence(iterator(get_fs().readdirSync(this.g48_1, 'utf-8')));
1121
1121
  var tmp_0 = map(tmp, Directory$wirespecFiles$lambda);
1122
1122
  var tmp_1 = filter(tmp_0, Directory$wirespecFiles$lambda_0);
1123
1123
  var tmp_2 = map(tmp_1, Directory$wirespecFiles$lambda_1);
@@ -1125,20 +1125,20 @@
1125
1125
  return toSet_0(map(tmp_3, WirespecFile$_init_$ref_cj1n5j()));
1126
1126
  };
1127
1127
  function File(path) {
1128
- this.s48_1 = path;
1128
+ this.f48_1 = path;
1129
1129
  }
1130
1130
  protoOf(File).z1a = function () {
1131
1131
  // Inline function 'kotlin.js.unsafeCast' call
1132
- return get_fs().readFileSync(this.s48_1.toString(), 'utf-8');
1132
+ return get_fs().readFileSync(this.f48_1.toString(), 'utf-8');
1133
1133
  };
1134
1134
  protoOf(File).t18 = function (string) {
1135
1135
  // Inline function 'kotlin.run' call
1136
1136
  // Inline function 'kotlin.contracts.contract' call
1137
1137
  // Inline function 'community.flock.wirespec.plugin.cli.io.File.write.<anonymous>' call
1138
- var $this$run = this.s48_1.t2c(joinToString(split_0(this.s48_1.p2c_1, ['out']), 'out/node'));
1138
+ var $this$run = this.f48_1.h2c(joinToString(split_0(this.f48_1.d2c_1, ['out']), 'out/node'));
1139
1139
  // Inline function 'kotlin.js.unsafeCast' call
1140
- if (!get_fs().existsSync($this$run.p2c_1)) {
1141
- get_fs().mkdirSync($this$run.p2c_1, {recursive: true});
1140
+ if (!get_fs().existsSync($this$run.d2c_1)) {
1141
+ get_fs().mkdirSync($this$run.d2c_1, {recursive: true});
1142
1142
  }
1143
1143
  get_fs().writeFileSync($this$run.toString(), string);
1144
1144
  };