@flock/wirespec 0.9.19 → 0.9.21

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.
@@ -60,36 +60,36 @@
60
60
  setMetadataFor(Output, 'Output', classMeta);
61
61
  //endregion
62
62
  function CompilerArguments(operation, input, output, languages, packageName, shared, strict, debug) {
63
- this.f2b_1 = operation;
64
- this.g2b_1 = input;
65
- this.h2b_1 = output;
66
- this.i2b_1 = languages;
67
- this.j2b_1 = packageName;
68
- this.k2b_1 = shared;
69
- this.l2b_1 = strict;
70
- this.m2b_1 = debug;
63
+ this.g2b_1 = operation;
64
+ this.h2b_1 = input;
65
+ this.i2b_1 = output;
66
+ this.j2b_1 = languages;
67
+ this.k2b_1 = packageName;
68
+ this.l2b_1 = shared;
69
+ this.m2b_1 = strict;
70
+ this.n2b_1 = debug;
71
71
  }
72
72
  protoOf(CompilerArguments).toString = function () {
73
- var tmp = this.h2b_1;
74
- return 'CompilerArguments(operation=' + this.f2b_1 + ', input=' + this.g2b_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.i2b_1 + ', packageName=' + new PackageName(this.j2b_1) + ', shared=' + this.k2b_1 + ', strict=' + this.l2b_1 + ', debug=' + this.m2b_1 + ')';
73
+ var tmp = this.i2b_1;
74
+ return 'CompilerArguments(operation=' + this.g2b_1 + ', input=' + this.h2b_1 + ', output=' + (tmp == null ? null : new Output(tmp)) + ', languages=' + this.j2b_1 + ', packageName=' + new PackageName(this.k2b_1) + ', shared=' + this.l2b_1 + ', strict=' + this.m2b_1 + ', debug=' + this.n2b_1 + ')';
75
75
  };
76
76
  protoOf(CompilerArguments).hashCode = function () {
77
- var result = hashCode(this.f2b_1);
78
- result = imul(result, 31) + hashCode(this.g2b_1) | 0;
77
+ var result = hashCode(this.g2b_1);
78
+ result = imul(result, 31) + hashCode(this.h2b_1) | 0;
79
79
  var tmp = imul(result, 31);
80
80
  var tmp_0;
81
- var tmp_1 = this.h2b_1;
81
+ var tmp_1 = this.i2b_1;
82
82
  if ((tmp_1 == null ? null : new Output(tmp_1)) == null) {
83
83
  tmp_0 = 0;
84
84
  } else {
85
- tmp_0 = Output__hashCode_impl_m9q6pd(this.h2b_1);
85
+ tmp_0 = Output__hashCode_impl_m9q6pd(this.i2b_1);
86
86
  }
87
87
  result = tmp + tmp_0 | 0;
88
- result = imul(result, 31) + hashCode(this.i2b_1) | 0;
89
- result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.j2b_1) | 0;
90
- result = imul(result, 31) + getBooleanHashCode(this.k2b_1) | 0;
88
+ result = imul(result, 31) + hashCode(this.j2b_1) | 0;
89
+ result = imul(result, 31) + PackageName__hashCode_impl_nv5z9d(this.k2b_1) | 0;
91
90
  result = imul(result, 31) + getBooleanHashCode(this.l2b_1) | 0;
92
91
  result = imul(result, 31) + getBooleanHashCode(this.m2b_1) | 0;
92
+ result = imul(result, 31) + getBooleanHashCode(this.n2b_1) | 0;
93
93
  return result;
94
94
  };
95
95
  protoOf(CompilerArguments).equals = function (other) {
@@ -98,18 +98,16 @@
98
98
  if (!(other instanceof CompilerArguments))
99
99
  return false;
100
100
  var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
101
- if (!equals(this.f2b_1, tmp0_other_with_cast.f2b_1))
102
- return false;
103
101
  if (!equals(this.g2b_1, tmp0_other_with_cast.g2b_1))
104
102
  return false;
105
- var tmp = this.h2b_1;
103
+ if (!equals(this.h2b_1, tmp0_other_with_cast.h2b_1))
104
+ return false;
105
+ var tmp = this.i2b_1;
106
106
  var tmp_0 = tmp == null ? null : new Output(tmp);
107
- var tmp_1 = tmp0_other_with_cast.h2b_1;
107
+ var tmp_1 = tmp0_other_with_cast.i2b_1;
108
108
  if (!equals(tmp_0, tmp_1 == null ? null : new Output(tmp_1)))
109
109
  return false;
110
- if (!equals(this.i2b_1, tmp0_other_with_cast.i2b_1))
111
- return false;
112
- if (!(this.j2b_1 === tmp0_other_with_cast.j2b_1))
110
+ if (!equals(this.j2b_1, tmp0_other_with_cast.j2b_1))
113
111
  return false;
114
112
  if (!(this.k2b_1 === tmp0_other_with_cast.k2b_1))
115
113
  return false;
@@ -117,6 +115,8 @@
117
115
  return false;
118
116
  if (!(this.m2b_1 === tmp0_other_with_cast.m2b_1))
119
117
  return false;
118
+ if (!(this.n2b_1 === tmp0_other_with_cast.n2b_1))
119
+ return false;
120
120
  return true;
121
121
  };
122
122
  function _PackageName___init__impl__s13tbs(value) {
@@ -134,24 +134,24 @@
134
134
  function PackageName__equals_impl_eo1xnn($this, other) {
135
135
  if (!(other instanceof PackageName))
136
136
  return false;
137
- if (!($this === (other instanceof PackageName ? other.n2b_1 : THROW_CCE())))
137
+ if (!($this === (other instanceof PackageName ? other.o2b_1 : THROW_CCE())))
138
138
  return false;
139
139
  return true;
140
140
  }
141
141
  function PackageName(value) {
142
- this.n2b_1 = value;
142
+ this.o2b_1 = value;
143
143
  }
144
144
  protoOf(PackageName).p2 = function () {
145
- return _PackageName___get_value__impl__2zr98c(this.n2b_1);
145
+ return _PackageName___get_value__impl__2zr98c(this.o2b_1);
146
146
  };
147
147
  protoOf(PackageName).toString = function () {
148
- return PackageName__toString_impl_pes5ww(this.n2b_1);
148
+ return PackageName__toString_impl_pes5ww(this.o2b_1);
149
149
  };
150
150
  protoOf(PackageName).hashCode = function () {
151
- return PackageName__hashCode_impl_nv5z9d(this.n2b_1);
151
+ return PackageName__hashCode_impl_nv5z9d(this.o2b_1);
152
152
  };
153
153
  protoOf(PackageName).equals = function (other) {
154
- return PackageName__equals_impl_eo1xnn(this.n2b_1, other);
154
+ return PackageName__equals_impl_eo1xnn(this.o2b_1, other);
155
155
  };
156
156
  function Compile() {
157
157
  }
@@ -174,13 +174,13 @@
174
174
  return Compile_instance;
175
175
  }
176
176
  function Convert(format) {
177
- this.o2b_1 = format;
177
+ this.p2b_1 = format;
178
178
  }
179
179
  protoOf(Convert).toString = function () {
180
- return 'Convert(format=' + this.o2b_1 + ')';
180
+ return 'Convert(format=' + this.p2b_1 + ')';
181
181
  };
182
182
  protoOf(Convert).hashCode = function () {
183
- return this.o2b_1.hashCode();
183
+ return this.p2b_1.hashCode();
184
184
  };
185
185
  protoOf(Convert).equals = function (other) {
186
186
  if (this === other)
@@ -188,7 +188,7 @@
188
188
  if (!(other instanceof Convert))
189
189
  return false;
190
190
  var tmp0_other_with_cast = other instanceof Convert ? other : THROW_CCE();
191
- if (!this.o2b_1.equals(tmp0_other_with_cast.o2b_1))
191
+ if (!this.p2b_1.equals(tmp0_other_with_cast.p2b_1))
192
192
  return false;
193
193
  return true;
194
194
  };
@@ -233,7 +233,7 @@
233
233
  }
234
234
  function Companion_0() {
235
235
  }
236
- protoOf(Companion_0).p2b = function (input) {
236
+ protoOf(Companion_0).q2b = function (input) {
237
237
  // Inline function 'kotlin.let' call
238
238
  // Inline function 'kotlin.contracts.contract' call
239
239
  // Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>' call
@@ -254,7 +254,7 @@
254
254
  while (tmp0_iterator.w()) {
255
255
  var element = tmp0_iterator.y();
256
256
  // Inline function 'community.flock.wirespec.plugin.Companion.parse.<anonymous>.<anonymous>' call
257
- if (element.s2b_1 === ext) {
257
+ if (element.t2b_1 === ext) {
258
258
  tmp$ret$5 = element;
259
259
  break $l$block;
260
260
  }
@@ -280,26 +280,26 @@
280
280
  }
281
281
  function FullFilePath(directory, fileName, extension) {
282
282
  extension = extension === VOID ? FileExtension_Wirespec_getInstance() : extension;
283
- this.t2b_1 = directory;
284
- this.u2b_1 = fileName;
285
- this.v2b_1 = extension;
283
+ this.u2b_1 = directory;
284
+ this.v2b_1 = fileName;
285
+ this.w2b_1 = extension;
286
286
  }
287
287
  protoOf(FullFilePath).toString = function () {
288
- return this.t2b_1 + '/' + _FileName___get_value__impl__3u4cz6(this.u2b_1) + '.' + this.v2b_1.s2b_1;
288
+ return this.u2b_1 + '/' + _FileName___get_value__impl__3u4cz6(this.v2b_1) + '.' + this.w2b_1.t2b_1;
289
289
  };
290
- protoOf(FullFilePath).w2b = function (directory, fileName, extension) {
290
+ protoOf(FullFilePath).x2b = function (directory, fileName, extension) {
291
291
  return new FullFilePath(directory, fileName, extension);
292
292
  };
293
- protoOf(FullFilePath).x2b = function (directory, fileName, extension, $super) {
294
- directory = directory === VOID ? this.t2b_1 : directory;
295
- fileName = fileName === VOID ? this.u2b_1 : fileName;
296
- extension = extension === VOID ? this.v2b_1 : extension;
297
- return $super === VOID ? this.w2b(directory, fileName, extension) : $super.w2b.call(this, directory, new FileName(fileName), extension);
293
+ protoOf(FullFilePath).y2b = function (directory, fileName, extension, $super) {
294
+ directory = directory === VOID ? this.u2b_1 : directory;
295
+ fileName = fileName === VOID ? this.v2b_1 : fileName;
296
+ extension = extension === VOID ? this.w2b_1 : extension;
297
+ return $super === VOID ? this.x2b(directory, fileName, extension) : $super.x2b.call(this, directory, new FileName(fileName), extension);
298
298
  };
299
299
  protoOf(FullFilePath).hashCode = function () {
300
- var result = getStringHashCode(this.t2b_1);
301
- result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.u2b_1) | 0;
302
- result = imul(result, 31) + this.v2b_1.hashCode() | 0;
300
+ var result = getStringHashCode(this.u2b_1);
301
+ result = imul(result, 31) + FileName__hashCode_impl_43wak5(this.v2b_1) | 0;
302
+ result = imul(result, 31) + this.w2b_1.hashCode() | 0;
303
303
  return result;
304
304
  };
305
305
  protoOf(FullFilePath).equals = function (other) {
@@ -308,11 +308,11 @@
308
308
  if (!(other instanceof FullFilePath))
309
309
  return false;
310
310
  var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
311
- if (!(this.t2b_1 === tmp0_other_with_cast.t2b_1))
312
- return false;
313
311
  if (!(this.u2b_1 === tmp0_other_with_cast.u2b_1))
314
312
  return false;
315
- if (!this.v2b_1.equals(tmp0_other_with_cast.v2b_1))
313
+ if (!(this.v2b_1 === tmp0_other_with_cast.v2b_1))
314
+ return false;
315
+ if (!this.w2b_1.equals(tmp0_other_with_cast.w2b_1))
316
316
  return false;
317
317
  return true;
318
318
  };
@@ -331,24 +331,24 @@
331
331
  function FileName__equals_impl_o96ox3($this, other) {
332
332
  if (!(other instanceof FileName))
333
333
  return false;
334
- if (!($this === (other instanceof FileName ? other.y2b_1 : THROW_CCE())))
334
+ if (!($this === (other instanceof FileName ? other.z2b_1 : THROW_CCE())))
335
335
  return false;
336
336
  return true;
337
337
  }
338
338
  function FileName(value) {
339
- this.y2b_1 = value;
339
+ this.z2b_1 = value;
340
340
  }
341
341
  protoOf(FileName).p2 = function () {
342
- return _FileName___get_value__impl__3u4cz6(this.y2b_1);
342
+ return _FileName___get_value__impl__3u4cz6(this.z2b_1);
343
343
  };
344
344
  protoOf(FileName).toString = function () {
345
- return FileName__toString_impl_hn9m8q(this.y2b_1);
345
+ return FileName__toString_impl_hn9m8q(this.z2b_1);
346
346
  };
347
347
  protoOf(FileName).hashCode = function () {
348
- return FileName__hashCode_impl_43wak5(this.y2b_1);
348
+ return FileName__hashCode_impl_43wak5(this.z2b_1);
349
349
  };
350
350
  protoOf(FileName).equals = function (other) {
351
- return FileName__equals_impl_o96ox3(this.y2b_1, other);
351
+ return FileName__equals_impl_o96ox3(this.z2b_1, other);
352
352
  };
353
353
  function Console$read$lambda() {
354
354
  return readlnOrNull();
@@ -377,13 +377,13 @@
377
377
  return Console_instance;
378
378
  }
379
379
  function FullDirPath(path) {
380
- this.z2b_1 = path;
380
+ this.a2c_1 = path;
381
381
  }
382
382
  protoOf(FullDirPath).toString = function () {
383
- return 'FullDirPath(path=' + this.z2b_1 + ')';
383
+ return 'FullDirPath(path=' + this.a2c_1 + ')';
384
384
  };
385
385
  protoOf(FullDirPath).hashCode = function () {
386
- return getStringHashCode(this.z2b_1);
386
+ return getStringHashCode(this.a2c_1);
387
387
  };
388
388
  protoOf(FullDirPath).equals = function (other) {
389
389
  if (this === other)
@@ -391,7 +391,7 @@
391
391
  if (!(other instanceof FullDirPath))
392
392
  return false;
393
393
  var tmp0_other_with_cast = other instanceof FullDirPath ? other : THROW_CCE();
394
- if (!(this.z2b_1 === tmp0_other_with_cast.z2b_1))
394
+ if (!(this.a2c_1 === tmp0_other_with_cast.a2c_1))
395
395
  return false;
396
396
  return true;
397
397
  };
@@ -402,7 +402,7 @@
402
402
  var Language_Wirespec_instance;
403
403
  function Companion_1() {
404
404
  }
405
- protoOf(Companion_1).a2c = function () {
405
+ protoOf(Companion_1).b2c = function () {
406
406
  // Inline function 'kotlin.collections.associateBy' call
407
407
  var this_0 = get_entries_0();
408
408
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
@@ -476,10 +476,10 @@
476
476
  var $ENTRIES_1;
477
477
  function FileExtension(name, ordinal, value) {
478
478
  Enum.call(this, name, ordinal);
479
- this.s2b_1 = value;
479
+ this.t2b_1 = value;
480
480
  }
481
481
  protoOf(FileExtension).p2 = function () {
482
- return this.s2b_1;
482
+ return this.t2b_1;
483
483
  };
484
484
  function Language_Java_getInstance() {
485
485
  Language_initEntries();
@@ -536,7 +536,7 @@
536
536
  }
537
537
  function Companion_2() {
538
538
  }
539
- protoOf(Companion_2).b2c = function (s) {
539
+ protoOf(Companion_2).c2c = function (s) {
540
540
  var tmp;
541
541
  if (s == null) {
542
542
  tmp = null;
@@ -557,24 +557,24 @@
557
557
  function Output__equals_impl_7y48wd($this, other) {
558
558
  if (!(other instanceof Output))
559
559
  return false;
560
- if (!($this === (other instanceof Output ? other.c2c_1 : THROW_CCE())))
560
+ if (!($this === (other instanceof Output ? other.d2c_1 : THROW_CCE())))
561
561
  return false;
562
562
  return true;
563
563
  }
564
564
  function Output(value) {
565
- this.c2c_1 = value;
565
+ this.d2c_1 = value;
566
566
  }
567
567
  protoOf(Output).p2 = function () {
568
- return _Output___get_value__impl__a8kw1g(this.c2c_1);
568
+ return _Output___get_value__impl__a8kw1g(this.d2c_1);
569
569
  };
570
570
  protoOf(Output).toString = function () {
571
- return Output__toString_impl_r07ygw(this.c2c_1);
571
+ return Output__toString_impl_r07ygw(this.d2c_1);
572
572
  };
573
573
  protoOf(Output).hashCode = function () {
574
- return Output__hashCode_impl_m9q6pd(this.c2c_1);
574
+ return Output__hashCode_impl_m9q6pd(this.d2c_1);
575
575
  };
576
576
  protoOf(Output).equals = function (other) {
577
- return Output__equals_impl_7y48wd(this.c2c_1, other);
577
+ return Output__equals_impl_7y48wd(this.d2c_1, other);
578
578
  };
579
579
  //region block: init
580
580
  Compile_instance = new Compile();
@@ -78,8 +78,8 @@
78
78
  var Console = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.b;
79
79
  var Compile = kotlin_community_flock_wirespec_plugin_arguments_arguments.$_$.f;
80
80
  var THROW_CCE = kotlin_kotlin.$_$.ye;
81
- var Companion_instance_2 = kotlin_community_flock_wirespec_converter_openapi.$_$.c;
82
- var Companion_instance_3 = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
81
+ var OpenApiV2Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
82
+ var OpenApiV3Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
83
83
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.tf;
84
84
  var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
85
85
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
@@ -131,7 +131,7 @@
131
131
  var filter = kotlin_kotlin.$_$.nb;
132
132
  var toSet_0 = kotlin_kotlin.$_$.tb;
133
133
  var split_0 = kotlin_kotlin.$_$.gd;
134
- var Companion_instance_4 = kotlin_kotlin.$_$.d4;
134
+ var Companion_instance_2 = kotlin_kotlin.$_$.d4;
135
135
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b2;
136
136
  var createFailure = kotlin_kotlin.$_$.mf;
137
137
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.f2;
@@ -167,9 +167,9 @@
167
167
  protoOf(Companion).y42 = function (compile, convert) {
168
168
  return WirespecCli$main$ref(subcommands(new WirespecCli(), [new Compile_0(compile), new Convert_0(convert)]));
169
169
  };
170
- var Companion_instance_5;
170
+ var Companion_instance_3;
171
171
  function Companion_getInstance_0() {
172
- return Companion_instance_5;
172
+ return Companion_instance_3;
173
173
  }
174
174
  function WirespecCli() {
175
175
  NoOpCliktCommand.call(this, VOID, VOID, 'wirespec');
@@ -180,11 +180,11 @@
180
180
  function Compile_0(block) {
181
181
  CommonOptions.call(this);
182
182
  this.x43_1 = block;
183
- this.y43_1 = multiple(choice(option(this, Options_Language_getInstance().b44_1.slice(), 'Language'), Companion_instance.a2c()), VOID, true).q40(this, languages$factory());
183
+ this.y43_1 = multiple(choice(option(this, Options_Language_getInstance().b44_1.slice(), 'Language'), Companion_instance.b2c()), VOID, true).q40(this, languages$factory());
184
184
  }
185
185
  protoOf(Compile_0).z3q = function () {
186
186
  // Inline function 'kotlin.let' call
187
- var this_0 = new CompilerArguments(Compile_instance, this.b45(this.a45()), Companion_instance_0.b2c(this.c45()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.d45()), this.e45(), this.f45(), this.g45());
187
+ var this_0 = new CompilerArguments(Compile_instance, this.b45(this.a45()), Companion_instance_0.c2c(this.c45()), toSet(_get_languages__ojonze(this)), _PackageName___init__impl__s13tbs(this.d45()), this.e45(), this.f45(), this.g45());
188
188
  // Inline function 'kotlin.contracts.contract' call
189
189
  this.x43_1(this_0);
190
190
  };
@@ -217,7 +217,7 @@
217
217
  destination.l2(tmp$ret$2, element);
218
218
  }
219
219
  tmp.g46_1 = choice_0(this_0, destination, true).k3z(this, format$factory());
220
- this.h46_1 = multiple(choice(option(this, Options_Language_getInstance().b44_1.slice(), 'Language'), Companion_instance.a2c(), VOID, true), listOf(Language_Wirespec_getInstance())).q40(this, languages$factory_1());
220
+ this.h46_1 = multiple(choice(option(this, Options_Language_getInstance().b44_1.slice(), 'Language'), Companion_instance.b2c(), VOID, true), listOf(Language_Wirespec_getInstance())).q40(this, languages$factory_1());
221
221
  }
222
222
  protoOf(Convert_0).z3q = function () {
223
223
  if (this.a45() == null)
@@ -230,7 +230,7 @@
230
230
  // Inline function 'kotlin.let' call
231
231
  var tmp = new Convert(_get_format__qlarck(this));
232
232
  var tmp_0 = this.b45(null);
233
- var tmp_1 = Companion_instance_0.b2c(this.c45());
233
+ var tmp_1 = Companion_instance_0.c2c(this.c45());
234
234
  // Inline function 'kotlin.collections.ifEmpty' call
235
235
  var this_0 = toSet(_get_languages__ojonze_0(this));
236
236
  var tmp_2;
@@ -289,7 +289,7 @@
289
289
  } else {
290
290
  // Inline function 'kotlin.let' call
291
291
  // Inline function 'kotlin.contracts.contract' call
292
- tmp_0 = Companion_instance_1.p2b(tmp0_safe_receiver);
292
+ tmp_0 = Companion_instance_1.q2b(tmp0_safe_receiver);
293
293
  }
294
294
  var tmp2_elvis_lhs = tmp_0;
295
295
  var tmp_1;
@@ -491,30 +491,30 @@
491
491
  }
492
492
  }
493
493
  var this_1 = copyToArray(destination);
494
- var tmp = Companion_instance_5;
494
+ var tmp = Companion_instance_3;
495
495
  var tmp_0 = compile$ref();
496
496
  // Inline function 'kotlin.contracts.contract' call
497
497
  tmp.y42(tmp_0, convert$ref())(this_1);
498
498
  }
499
499
  function compile_0(arguments_0) {
500
- var input = arguments_0.g2b_1;
501
- var output = arguments_0.h2b_1;
502
- var languages = arguments_0.i2b_1;
503
- var packageName = arguments_0.j2b_1;
504
- var logger = new Logger(arguments_0.m2b_1);
505
- var operation = arguments_0.f2b_1;
500
+ var input = arguments_0.h2b_1;
501
+ var output = arguments_0.i2b_1;
502
+ var languages = arguments_0.j2b_1;
503
+ var packageName = arguments_0.k2b_1;
504
+ var logger = new Logger(arguments_0.n2b_1);
505
+ var operation = arguments_0.g2b_1;
506
506
  if (operation instanceof Convert) {
507
507
  var fullPath = input instanceof FullFilePath ? input : THROW_CCE();
508
508
  var file = new JsonFile(fullPath);
509
- var strict = arguments_0.l2b_1;
510
- var format = operation.o2b_1;
509
+ var strict = arguments_0.m2b_1;
510
+ var format = operation.p2b_1;
511
511
  var tmp;
512
512
  switch (format.g9_1) {
513
513
  case 0:
514
- tmp = Companion_instance_2.e2c(file.q19(), !strict);
514
+ tmp = OpenApiV2Parser_instance.s2c(file.q19(), !strict);
515
515
  break;
516
516
  case 1:
517
- tmp = Companion_instance_3.e2c(file.q19(), !strict);
517
+ tmp = OpenApiV3Parser_instance.s2c(file.q19(), !strict);
518
518
  break;
519
519
  default:
520
520
  noWhenBranchMatchedException();
@@ -537,7 +537,7 @@
537
537
  var tmp_0;
538
538
  if (!emitter.o20_1) {
539
539
  // Inline function 'kotlin.text.replaceFirstChar' call
540
- var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.u2b_1);
540
+ var this_1 = _FileName___get_value__impl__3u4cz6(fullPath.v2b_1);
541
541
  var tmp_1;
542
542
  // Inline function 'kotlin.text.isNotEmpty' call
543
543
  if (charSequenceLength(this_1) > 0) {
@@ -578,7 +578,7 @@
578
578
  } else {
579
579
  if (input instanceof FullDirPath) {
580
580
  // Inline function 'kotlin.collections.forEach' call
581
- var tmp0_iterator_1 = (new Directory(input.z2b_1)).k46().v();
581
+ var tmp0_iterator_1 = (new Directory(input.a2c_1)).k46().v();
582
582
  while (tmp0_iterator_1.w()) {
583
583
  var element = tmp0_iterator_1.y();
584
584
  // Inline function 'community.flock.wirespec.plugin.cli.compile.<anonymous>' call
@@ -586,7 +586,7 @@
586
586
  }
587
587
  } else {
588
588
  if (input instanceof FullFilePath)
589
- if (input.v2b_1.equals(FileExtension_Wirespec_getInstance())) {
589
+ if (input.w2b_1.equals(FileExtension_Wirespec_getInstance())) {
590
590
  // Inline function 'kotlin.let' call
591
591
  // Inline function 'kotlin.contracts.contract' call
592
592
  var it = new WirespecFile(input);
@@ -750,7 +750,7 @@
750
750
  // Inline function 'arrow.core.Either.map.<anonymous>' call
751
751
  // Inline function 'community.flock.wirespec.plugin.cli.wirespec.<anonymous>.<anonymous>.<anonymous>' call
752
752
  var it = results.nj_1;
753
- var tmp$ret$2 = listOf(new Emitted(Companion_getInstance().n21(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).u2b_1)), first(it).d22_1));
753
+ var tmp$ret$2 = listOf(new Emitted(Companion_getInstance().n21(_FileName___get_value__impl__3u4cz6(path(FileExtension_Wirespec_getInstance()).v2b_1)), first(it).d22_1));
754
754
  tmp_0 = new Right(tmp$ret$2);
755
755
  } else {
756
756
  if (results instanceof Left) {
@@ -804,7 +804,7 @@
804
804
  function compile$lambda($output) {
805
805
  return function (it) {
806
806
  var tmp = $output;
807
- return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).c2c_1), _FileName___init__impl__nzn12e('console'), it);
807
+ return new FullFilePath(_Output___get_value__impl__a8kw1g(ensureNotNull(tmp == null ? null : new Output(tmp)).d2c_1), _FileName___init__impl__nzn12e('console'), it);
808
808
  };
809
809
  }
810
810
  function out$lambda($output, $this_out, $packageName) {
@@ -816,49 +816,49 @@
816
816
  // Inline function 'kotlin.text.lowercase' call
817
817
  // Inline function 'kotlin.js.asDynamic' call
818
818
  var tmp$ret$1 = extension.f9_1.toLowerCase();
819
- tmp = $this_out.t2b_1 + '/out/' + tmp$ret$1;
819
+ tmp = $this_out.u2b_1 + '/out/' + tmp$ret$1;
820
820
  } else {
821
821
  tmp = new Output(tmp0_elvis_lhs);
822
822
  }
823
823
  var dir = tmp;
824
- return $this_out.x2b(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
824
+ return $this_out.y2b(toString(dir) + '/' + joinToString(split(_PackageName___get_value__impl__2zr98c($packageName), charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
825
825
  };
826
826
  }
827
827
  function JavaFile(path) {
828
- File.call(this, path.x2b(VOID, VOID, FileExtension_Java_getInstance()));
828
+ File.call(this, path.y2b(VOID, VOID, FileExtension_Java_getInstance()));
829
829
  }
830
830
  protoOf(JavaFile).l46 = function (fileName) {
831
- return new JavaFile(this.i46_1.x2b(VOID, fileName));
831
+ return new JavaFile(this.i46_1.y2b(VOID, fileName));
832
832
  };
833
833
  function JsonFile(path) {
834
- File.call(this, path.x2b(VOID, VOID, FileExtension_Json_getInstance()));
834
+ File.call(this, path.y2b(VOID, VOID, FileExtension_Json_getInstance()));
835
835
  }
836
836
  protoOf(JsonFile).l46 = function (fileName) {
837
- return new JsonFile(this.i46_1.x2b(VOID, fileName));
837
+ return new JsonFile(this.i46_1.y2b(VOID, fileName));
838
838
  };
839
839
  function KotlinFile(path) {
840
- File.call(this, path.x2b(VOID, VOID, FileExtension_Kotlin_getInstance()));
840
+ File.call(this, path.y2b(VOID, VOID, FileExtension_Kotlin_getInstance()));
841
841
  }
842
842
  protoOf(KotlinFile).l46 = function (fileName) {
843
- return new KotlinFile(this.i46_1.x2b(VOID, fileName));
843
+ return new KotlinFile(this.i46_1.y2b(VOID, fileName));
844
844
  };
845
845
  function ScalaFile(path) {
846
- File.call(this, path.x2b(VOID, VOID, FileExtension_Scala_getInstance()));
846
+ File.call(this, path.y2b(VOID, VOID, FileExtension_Scala_getInstance()));
847
847
  }
848
848
  protoOf(ScalaFile).l46 = function (fileName) {
849
- return new ScalaFile(this.i46_1.x2b(VOID, fileName));
849
+ return new ScalaFile(this.i46_1.y2b(VOID, fileName));
850
850
  };
851
851
  function TypeScriptFile(path) {
852
- File.call(this, path.x2b(VOID, VOID, FileExtension_TypeScript_getInstance()));
852
+ File.call(this, path.y2b(VOID, VOID, FileExtension_TypeScript_getInstance()));
853
853
  }
854
854
  protoOf(TypeScriptFile).l46 = function (fileName) {
855
- return new TypeScriptFile(this.i46_1.x2b(VOID, fileName));
855
+ return new TypeScriptFile(this.i46_1.y2b(VOID, fileName));
856
856
  };
857
857
  function WirespecFile(path) {
858
- File.call(this, path.x2b(VOID, VOID, FileExtension_Wirespec_getInstance()));
858
+ File.call(this, path.y2b(VOID, VOID, FileExtension_Wirespec_getInstance()));
859
859
  }
860
860
  protoOf(WirespecFile).l46 = function (fileName) {
861
- return new WirespecFile(this.i46_1.x2b(VOID, fileName));
861
+ return new WirespecFile(this.i46_1.y2b(VOID, fileName));
862
862
  };
863
863
  function cli(args) {
864
864
  main(args);
@@ -921,10 +921,10 @@
921
921
  return it;
922
922
  }
923
923
  function Directory$wirespecFiles$lambda_0(it) {
924
- return endsWith(it, FileExtension_Wirespec_getInstance().s2b_1);
924
+ return endsWith(it, FileExtension_Wirespec_getInstance().t2b_1);
925
925
  }
926
926
  function Directory$wirespecFiles$lambda_1(it) {
927
- return dropLast(it, FileExtension_Wirespec_getInstance().s2b_1.length + 1 | 0);
927
+ return dropLast(it, FileExtension_Wirespec_getInstance().t2b_1.length + 1 | 0);
928
928
  }
929
929
  function Directory$wirespecFiles$lambda_2(this$0) {
930
930
  return function (it) {
@@ -960,10 +960,10 @@
960
960
  // Inline function 'kotlin.run' call
961
961
  // Inline function 'kotlin.contracts.contract' call
962
962
  // Inline function 'community.flock.wirespec.plugin.cli.io.File.write.<anonymous>' call
963
- var $this$run = this.i46_1.x2b(joinToString(split_0(this.i46_1.t2b_1, ['out']), 'out/node'));
963
+ var $this$run = this.i46_1.y2b(joinToString(split_0(this.i46_1.u2b_1, ['out']), 'out/node'));
964
964
  // Inline function 'kotlin.js.unsafeCast' call
965
- if (!get_fs().existsSync($this$run.t2b_1)) {
966
- get_fs().mkdirSync($this$run.t2b_1, {recursive: true});
965
+ if (!get_fs().existsSync($this$run.u2b_1)) {
966
+ get_fs().mkdirSync($this$run.u2b_1, {recursive: true});
967
967
  }
968
968
  get_fs().writeFileSync($this$run.toString(), text);
969
969
  };
@@ -1024,7 +1024,7 @@
1024
1024
  }
1025
1025
  }
1026
1026
  //region block: init
1027
- Companion_instance_5 = new Companion();
1027
+ Companion_instance_3 = new Companion();
1028
1028
  //endregion
1029
1029
  //region block: exports
1030
1030
  function $jsExportAll$(_) {