@flock/wirespec 0.8.33 → 0.8.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flock/wirespec",
3
- "version": "0.8.33",
3
+ "version": "0.8.34",
4
4
  "main": "wirespec-src-compiler-lib.js",
5
5
  "types": "wirespec-src-compiler-lib.d.ts",
6
6
  "devDependencies": {
@@ -74,14 +74,14 @@
74
74
  var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
75
75
  var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
76
76
  var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.b;
77
- var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
78
- var compile = kotlin_community_flock_wirespec_compiler_core.$_$.z;
77
+ var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
78
+ var compile = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
79
79
  var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
80
80
  var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
81
81
  var println = kotlin_kotlin.$_$.x6;
82
82
  var equals_0 = kotlin_kotlin.$_$.f9;
83
83
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.c1;
84
- var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
84
+ var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.b1;
85
85
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j1;
86
86
  var charArrayOf = kotlin_kotlin.$_$.b7;
87
87
  var split = kotlin_kotlin.$_$.p9;
@@ -155,18 +155,18 @@
155
155
  }
156
156
  function cli(args) {
157
157
  var parser = new ArgParser('wirespec');
158
- var debug$delegate = default_0(parser.k29(Boolean_getInstance(), VOID, 'd', 'Debug mode'), false).n2c(null, getLocalDelegateReference('debug', KProperty0, false, function () {
158
+ var debug$delegate = default_0(parser.n29(Boolean_getInstance(), VOID, 'd', 'Debug mode'), false).q2c(null, getLocalDelegateReference('debug', KProperty0, false, function () {
159
159
  return THROW_ISE();
160
160
  }));
161
- var input$delegate = parser.m29(String_getInstance(), VOID, 'Input file').n2c(null, getLocalDelegateReference('input', KProperty0, false, function () {
161
+ var input$delegate = parser.p29(String_getInstance(), VOID, 'Input file').q2c(null, getLocalDelegateReference('input', KProperty0, false, function () {
162
162
  return THROW_ISE();
163
163
  }));
164
- var output$delegate = parser.k29(String_getInstance(), VOID, 'o', 'Output directory').n2c(null, getLocalDelegateReference('output', KProperty0, false, function () {
164
+ var output$delegate = parser.n29(String_getInstance(), VOID, 'o', 'Output directory').q2c(null, getLocalDelegateReference('output', KProperty0, false, function () {
165
165
  return THROW_ISE();
166
166
  }));
167
167
  // Inline function 'kotlin.collections.map' call
168
168
  // Inline function 'kotlin.collections.map' call
169
- var tmp0_map = Companion_getInstance_3().t2c();
169
+ var tmp0_map = Companion_getInstance_3().w2c();
170
170
  // Inline function 'kotlin.collections.mapTo' call
171
171
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
172
172
  var tmp0_iterator = tmp0_map.c();
@@ -184,7 +184,7 @@
184
184
  var item_0 = tmp0_iterator_0.e();
185
185
  var tmp$ret$3;
186
186
  // Inline function 'community.flock.wirespec.compiler.cli.cli.<anonymous>' call
187
- var tmp0_elvis_lhs = Companion_getInstance_3().u2c(item_0);
187
+ var tmp0_elvis_lhs = Companion_getInstance_3().x2c(item_0);
188
188
  var tmp;
189
189
  if (tmp0_elvis_lhs == null) {
190
190
  throw IllegalStateException_init_$Create$('Language not found');
@@ -195,7 +195,7 @@
195
195
  tmp0_mapTo_0.a(tmp$ret$3);
196
196
  }
197
197
  var tmp_0 = tmp0_mapTo_0;
198
- var language$delegate = multiple(default_0(parser.k29(new Choice(tmp_0, cli$lambda_5), VOID, 'l', 'Language type'), Jvm_Kotlin_getInstance())).n2c(null, getLocalDelegateReference('language', KProperty0, false, function () {
198
+ var language$delegate = multiple(default_0(parser.n29(new Choice(tmp_0, cli$lambda_5), VOID, 'l', 'Language type'), Jvm_Kotlin_getInstance())).q2c(null, getLocalDelegateReference('language', KProperty0, false, function () {
199
199
  return THROW_ISE();
200
200
  }));
201
201
  var tmp$ret$7;
@@ -213,13 +213,13 @@
213
213
  tmp_2 = null;
214
214
  }
215
215
  tmp$ret$7 = new Choice(tmp_1, tmp_2, tmp3_Choice);
216
- var openapi$delegate = parser.k29(tmp$ret$7, VOID, 'a', 'Use openapi as input').n2c(null, getLocalDelegateReference('openapi', KProperty0, false, function () {
216
+ var openapi$delegate = parser.n29(tmp$ret$7, VOID, 'a', 'Use openapi as input').q2c(null, getLocalDelegateReference('openapi', KProperty0, false, function () {
217
217
  return THROW_ISE();
218
218
  }));
219
- var packageName$delegate = default_0(parser.k29(String_getInstance(), VOID, 'p', 'Package name'), get_DEFAULT_PACKAGE_NAME()).n2c(null, getLocalDelegateReference('packageName', KProperty0, false, function () {
219
+ var packageName$delegate = default_0(parser.n29(String_getInstance(), VOID, 'p', 'Package name'), get_DEFAULT_PACKAGE_NAME()).q2c(null, getLocalDelegateReference('packageName', KProperty0, false, function () {
220
220
  return THROW_ISE();
221
221
  }));
222
- parser.o29(args);
222
+ parser.r29(args);
223
223
  var logger = new cli$logger$1(debug$delegate);
224
224
  compile_0(toSet(cli$lambda_2(language$delegate)), cli$lambda_0(input$delegate), cli$lambda_1(output$delegate), cli$lambda_4(packageName$delegate), cli$lambda_3(openapi$delegate), logger);
225
225
  }
@@ -294,12 +294,12 @@
294
294
  function Companion() {
295
295
  Companion_instance = this;
296
296
  }
297
- protoOf(Companion).t2c = function () {
297
+ protoOf(Companion).w2c = function () {
298
298
  return plus(plus(get_entries(), get_entries_0()), get_entries_1());
299
299
  };
300
- protoOf(Companion).u2c = function (s) {
300
+ protoOf(Companion).x2c = function (s) {
301
301
  // Inline function 'kotlin.collections.find' call
302
- var tmp0_find = this.t2c();
302
+ var tmp0_find = this.w2c();
303
303
  var tmp$ret$1;
304
304
  $l$block: {
305
305
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -371,15 +371,15 @@
371
371
  }
372
372
  function compile_0(languages, input, output, packageName, openapi, logger) {
373
373
  if (!(openapi == null)) {
374
- var fullPath = Companion_getInstance_4().s26(input);
374
+ var fullPath = Companion_getInstance_4().v26(input);
375
375
  var file = new JsonFile(fullPath);
376
376
  var tmp;
377
377
  switch (openapi.w4_1) {
378
378
  case 0:
379
- tmp = Companion_getInstance_0().s26(file.h16());
379
+ tmp = Companion_getInstance_0().v26(file.h16());
380
380
  break;
381
381
  case 1:
382
- tmp = Companion_getInstance_1().s26(file.h16());
382
+ tmp = Companion_getInstance_1().v26(file.h16());
383
383
  break;
384
384
  default:
385
385
  noWhenBranchMatchedException();
@@ -404,7 +404,7 @@
404
404
  if (!emitter.t23()) {
405
405
  var tmp$ret$6;
406
406
  // Inline function 'kotlin.text.replaceFirstChar' call
407
- var tmp0_replaceFirstChar = fullPath.z2c_1;
407
+ var tmp0_replaceFirstChar = fullPath.c2d_1;
408
408
  var tmp_1;
409
409
  // Inline function 'kotlin.text.isNotEmpty' call
410
410
  if (charSequenceLength(tmp0_replaceFirstChar) > 0) {
@@ -441,10 +441,10 @@
441
441
  }
442
442
  } else {
443
443
  if (endsWith(input, '.ws')) {
444
- return wirespec(new WirespecFile(Companion_getInstance_4().s26(input)), languages, packageName, output, logger);
444
+ return wirespec(new WirespecFile(Companion_getInstance_4().v26(input)), languages, packageName, output, logger);
445
445
  }
446
446
  // Inline function 'kotlin.collections.forEach' call
447
- var tmp0_iterator_1 = (new Directory(input)).w2c().c();
447
+ var tmp0_iterator_1 = (new Directory(input)).z2c().c();
448
448
  while (tmp0_iterator_1.d()) {
449
449
  var element = tmp0_iterator_1.e();
450
450
  // Inline function 'community.flock.wirespec.compiler.cli.compile.<anonymous>' call
@@ -463,7 +463,7 @@
463
463
  // Inline function 'community.flock.wirespec.compiler.cli.write.<anonymous>' call
464
464
  var name = element.j3();
465
465
  var result = element.k3();
466
- file.b2d(name).g14(result);
466
+ file.e2d(name).g14(result);
467
467
  }
468
468
  }
469
469
  function emit(languages, packageName, path, logger) {
@@ -499,7 +499,7 @@
499
499
  return tmp0_mapTo;
500
500
  }
501
501
  function wirespec(_this__u8e3s4, languages, packageName, output, logger) {
502
- var path = out(_this__u8e3s4.x2c_1, packageName, output);
502
+ var path = out(_this__u8e3s4.a2d_1, packageName, output);
503
503
  // Inline function 'kotlin.collections.map' call
504
504
  // Inline function 'kotlin.let' call
505
505
  // Inline function 'kotlin.let' call
@@ -536,7 +536,7 @@
536
536
  // Inline function 'community.flock.wirespec.compiler.cli.wirespec.<anonymous>.<anonymous>.<anonymous>' call
537
537
  var tmp$ret$8;
538
538
  // Inline function 'kotlin.text.replaceFirstChar' call
539
- var tmp0_replaceFirstChar = _this__u8e3s4.x2c_1.z2c_1;
539
+ var tmp0_replaceFirstChar = _this__u8e3s4.a2d_1.c2d_1;
540
540
  var tmp_1;
541
541
  // Inline function 'kotlin.text.isNotEmpty' call
542
542
  if (charSequenceLength(tmp0_replaceFirstChar) > 0) {
@@ -590,37 +590,37 @@
590
590
  }
591
591
  }
592
592
  function cli$lambda($debug$delegate) {
593
- return $debug$delegate.a2b(null, getLocalDelegateReference('debug', KProperty0, false, function () {
593
+ return $debug$delegate.d2b(null, getLocalDelegateReference('debug', KProperty0, false, function () {
594
594
  return THROW_ISE();
595
595
  }));
596
596
  }
597
597
  function cli$lambda_0($input$delegate) {
598
- return $input$delegate.a2b(null, getLocalDelegateReference('input', KProperty0, false, function () {
598
+ return $input$delegate.d2b(null, getLocalDelegateReference('input', KProperty0, false, function () {
599
599
  return THROW_ISE();
600
600
  }));
601
601
  }
602
602
  function cli$lambda_1($output$delegate) {
603
- return $output$delegate.a2b(null, getLocalDelegateReference('output', KProperty0, false, function () {
603
+ return $output$delegate.d2b(null, getLocalDelegateReference('output', KProperty0, false, function () {
604
604
  return THROW_ISE();
605
605
  }));
606
606
  }
607
607
  function cli$lambda_2($language$delegate) {
608
- return $language$delegate.a2b(null, getLocalDelegateReference('language', KProperty0, false, function () {
608
+ return $language$delegate.d2b(null, getLocalDelegateReference('language', KProperty0, false, function () {
609
609
  return THROW_ISE();
610
610
  }));
611
611
  }
612
612
  function cli$lambda_3($openapi$delegate) {
613
- return $openapi$delegate.a2b(null, getLocalDelegateReference('openapi', KProperty0, false, function () {
613
+ return $openapi$delegate.d2b(null, getLocalDelegateReference('openapi', KProperty0, false, function () {
614
614
  return THROW_ISE();
615
615
  }));
616
616
  }
617
617
  function cli$lambda_4($packageName$delegate) {
618
- return $packageName$delegate.a2b(null, getLocalDelegateReference('packageName', KProperty0, false, function () {
618
+ return $packageName$delegate.d2b(null, getLocalDelegateReference('packageName', KProperty0, false, function () {
619
619
  return THROW_ISE();
620
620
  }));
621
621
  }
622
622
  function cli$lambda_5(it) {
623
- var tmp0_elvis_lhs = Companion_getInstance_3().u2c(it);
623
+ var tmp0_elvis_lhs = Companion_getInstance_3().x2c(it);
624
624
  var tmp;
625
625
  if (tmp0_elvis_lhs == null) {
626
626
  throw IllegalStateException_init_$Create$('Language not found');
@@ -687,12 +687,12 @@
687
687
  // Inline function 'kotlin.js.asDynamic' call
688
688
  tmp$ret$0 = tmp0_lowercase;
689
689
  tmp$ret$1 = tmp$ret$0.toLowerCase();
690
- tmp = $this_out.y2c_1 + '/out/' + tmp$ret$1;
690
+ tmp = $this_out.b2d_1 + '/out/' + tmp$ret$1;
691
691
  } else {
692
692
  tmp = tmp0_elvis_lhs;
693
693
  }
694
694
  var dir = tmp;
695
- return $this_out.c2d(dir + '/' + joinToString(split($packageName, charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
695
+ return $this_out.f2d(dir + '/' + joinToString(split($packageName, charArrayOf([_Char___init__impl__6a9atx(46)])), '/'), VOID, extension);
696
696
  };
697
697
  }
698
698
  function OpenapiVersion_V2_getInstance() {
@@ -732,7 +732,7 @@
732
732
  var $ENTRIES_2;
733
733
  function Extension(name, ordinal, ext) {
734
734
  Enum.call(this, name, ordinal);
735
- this.f2d_1 = ext;
735
+ this.i2d_1 = ext;
736
736
  }
737
737
  function Extension_Java_getInstance() {
738
738
  Extension_initEntries();
@@ -761,7 +761,7 @@
761
761
  function Companion_0() {
762
762
  Companion_instance_0 = this;
763
763
  }
764
- protoOf(Companion_0).s26 = function (input) {
764
+ protoOf(Companion_0).v26 = function (input) {
765
765
  // Inline function 'kotlin.let' call
766
766
  var tmp0_let = split_0(input, ['/']);
767
767
  // Inline function 'kotlin.contracts.contract' call
@@ -782,7 +782,7 @@
782
782
  while (tmp0_iterator.d()) {
783
783
  var element = tmp0_iterator.e();
784
784
  // Inline function 'community.flock.wirespec.compiler.cli.io.Companion.parse.<anonymous>.<anonymous>' call
785
- if (element.f2d_1 === tmp2_let) {
785
+ if (element.i2d_1 === tmp2_let) {
786
786
  tmp$ret$5 = element;
787
787
  break $l$block;
788
788
  }
@@ -810,26 +810,26 @@
810
810
  function FullFilePath(directory, fileName, extension) {
811
811
  Companion_getInstance_4();
812
812
  extension = extension === VOID ? Extension_Wirespec_getInstance() : extension;
813
- this.y2c_1 = directory;
814
- this.z2c_1 = fileName;
815
- this.a2d_1 = extension;
813
+ this.b2d_1 = directory;
814
+ this.c2d_1 = fileName;
815
+ this.d2d_1 = extension;
816
816
  }
817
817
  protoOf(FullFilePath).toString = function () {
818
- return this.y2c_1 + '/' + this.z2c_1 + '.' + this.a2d_1.f2d_1;
818
+ return this.b2d_1 + '/' + this.c2d_1 + '.' + this.d2d_1.i2d_1;
819
819
  };
820
- protoOf(FullFilePath).g2d = function (directory, fileName, extension) {
820
+ protoOf(FullFilePath).j2d = function (directory, fileName, extension) {
821
821
  return new FullFilePath(directory, fileName, extension);
822
822
  };
823
- protoOf(FullFilePath).c2d = function (directory, fileName, extension, $super) {
824
- directory = directory === VOID ? this.y2c_1 : directory;
825
- fileName = fileName === VOID ? this.z2c_1 : fileName;
826
- extension = extension === VOID ? this.a2d_1 : extension;
827
- return $super === VOID ? this.g2d(directory, fileName, extension) : $super.g2d.call(this, directory, fileName, extension);
823
+ protoOf(FullFilePath).f2d = function (directory, fileName, extension, $super) {
824
+ directory = directory === VOID ? this.b2d_1 : directory;
825
+ fileName = fileName === VOID ? this.c2d_1 : fileName;
826
+ extension = extension === VOID ? this.d2d_1 : extension;
827
+ return $super === VOID ? this.j2d(directory, fileName, extension) : $super.j2d.call(this, directory, fileName, extension);
828
828
  };
829
829
  protoOf(FullFilePath).hashCode = function () {
830
- var result = getStringHashCode(this.y2c_1);
831
- result = imul(result, 31) + getStringHashCode(this.z2c_1) | 0;
832
- result = imul(result, 31) + this.a2d_1.hashCode() | 0;
830
+ var result = getStringHashCode(this.b2d_1);
831
+ result = imul(result, 31) + getStringHashCode(this.c2d_1) | 0;
832
+ result = imul(result, 31) + this.d2d_1.hashCode() | 0;
833
833
  return result;
834
834
  };
835
835
  protoOf(FullFilePath).equals = function (other) {
@@ -838,63 +838,63 @@
838
838
  if (!(other instanceof FullFilePath))
839
839
  return false;
840
840
  var tmp0_other_with_cast = other instanceof FullFilePath ? other : THROW_CCE();
841
- if (!(this.y2c_1 === tmp0_other_with_cast.y2c_1))
841
+ if (!(this.b2d_1 === tmp0_other_with_cast.b2d_1))
842
842
  return false;
843
- if (!(this.z2c_1 === tmp0_other_with_cast.z2c_1))
843
+ if (!(this.c2d_1 === tmp0_other_with_cast.c2d_1))
844
844
  return false;
845
- if (!this.a2d_1.equals(tmp0_other_with_cast.a2d_1))
845
+ if (!this.d2d_1.equals(tmp0_other_with_cast.d2d_1))
846
846
  return false;
847
847
  return true;
848
848
  };
849
849
  function JavaFile(path) {
850
- File.call(this, path.c2d(VOID, VOID, Extension_Java_getInstance()));
850
+ File.call(this, path.f2d(VOID, VOID, Extension_Java_getInstance()));
851
851
  }
852
- protoOf(JavaFile).b2d = function (fileName) {
853
- return new JavaFile(this.x2c_1.c2d(VOID, fileName));
852
+ protoOf(JavaFile).e2d = function (fileName) {
853
+ return new JavaFile(this.a2d_1.f2d(VOID, fileName));
854
854
  };
855
855
  function JsonFile(path) {
856
- File.call(this, path.c2d(VOID, VOID, Extension_Json_getInstance()));
856
+ File.call(this, path.f2d(VOID, VOID, Extension_Json_getInstance()));
857
857
  }
858
- protoOf(JsonFile).b2d = function (fileName) {
859
- return new JsonFile(this.x2c_1.c2d(VOID, fileName));
858
+ protoOf(JsonFile).e2d = function (fileName) {
859
+ return new JsonFile(this.a2d_1.f2d(VOID, fileName));
860
860
  };
861
861
  function KotlinFile(path) {
862
- File.call(this, path.c2d(VOID, VOID, Extension_Kotlin_getInstance()));
862
+ File.call(this, path.f2d(VOID, VOID, Extension_Kotlin_getInstance()));
863
863
  }
864
- protoOf(KotlinFile).b2d = function (fileName) {
865
- return new KotlinFile(this.x2c_1.c2d(VOID, fileName));
864
+ protoOf(KotlinFile).e2d = function (fileName) {
865
+ return new KotlinFile(this.a2d_1.f2d(VOID, fileName));
866
866
  };
867
867
  function ScalaFile(path) {
868
- File.call(this, path.c2d(VOID, VOID, Extension_Scala_getInstance()));
868
+ File.call(this, path.f2d(VOID, VOID, Extension_Scala_getInstance()));
869
869
  }
870
- protoOf(ScalaFile).b2d = function (fileName) {
871
- return new ScalaFile(this.x2c_1.c2d(VOID, fileName));
870
+ protoOf(ScalaFile).e2d = function (fileName) {
871
+ return new ScalaFile(this.a2d_1.f2d(VOID, fileName));
872
872
  };
873
873
  function TypeScriptFile(path) {
874
- File.call(this, path.c2d(VOID, VOID, Extension_TypeScript_getInstance()));
874
+ File.call(this, path.f2d(VOID, VOID, Extension_TypeScript_getInstance()));
875
875
  }
876
- protoOf(TypeScriptFile).b2d = function (fileName) {
877
- return new TypeScriptFile(this.x2c_1.c2d(VOID, fileName));
876
+ protoOf(TypeScriptFile).e2d = function (fileName) {
877
+ return new TypeScriptFile(this.a2d_1.f2d(VOID, fileName));
878
878
  };
879
879
  function WirespecFile(path) {
880
- File.call(this, path.c2d(VOID, VOID, Extension_Wirespec_getInstance()));
880
+ File.call(this, path.f2d(VOID, VOID, Extension_Wirespec_getInstance()));
881
881
  }
882
- protoOf(WirespecFile).b2d = function (fileName) {
883
- return new WirespecFile(this.x2c_1.c2d(VOID, fileName));
882
+ protoOf(WirespecFile).e2d = function (fileName) {
883
+ return new WirespecFile(this.a2d_1.f2d(VOID, fileName));
884
884
  };
885
885
  function Directory$wirespecFiles$lambda(it) {
886
886
  // Inline function 'kotlin.js.unsafeCast' call
887
887
  return it;
888
888
  }
889
889
  function Directory$wirespecFiles$lambda_0(it) {
890
- return endsWith(it, Extension_Wirespec_getInstance().f2d_1);
890
+ return endsWith(it, Extension_Wirespec_getInstance().i2d_1);
891
891
  }
892
892
  function Directory$wirespecFiles$lambda_1(it) {
893
- return dropLast_0(it, Extension_Wirespec_getInstance().f2d_1.length + 1 | 0);
893
+ return dropLast_0(it, Extension_Wirespec_getInstance().i2d_1.length + 1 | 0);
894
894
  }
895
895
  function Directory$wirespecFiles$lambda_2(this$0) {
896
896
  return function (it) {
897
- return new FullFilePath(this$0.v2c_1, it);
897
+ return new FullFilePath(this$0.y2c_1, it);
898
898
  };
899
899
  }
900
900
  function WirespecFile$_init_$ref_cj1n5j() {
@@ -905,10 +905,10 @@
905
905
  return l;
906
906
  }
907
907
  function Directory(path) {
908
- this.v2c_1 = path;
908
+ this.y2c_1 = path;
909
909
  }
910
- protoOf(Directory).w2c = function () {
911
- var tmp = asSequence(iterator(get_fs().readdirSync(this.v2c_1, 'utf-8')));
910
+ protoOf(Directory).z2c = function () {
911
+ var tmp = asSequence(iterator(get_fs().readdirSync(this.y2c_1, 'utf-8')));
912
912
  var tmp_0 = map(tmp, Directory$wirespecFiles$lambda);
913
913
  var tmp_1 = filter(tmp_0, Directory$wirespecFiles$lambda_0);
914
914
  var tmp_2 = map(tmp_1, Directory$wirespecFiles$lambda_1);
@@ -916,20 +916,20 @@
916
916
  return toSet_0(map(tmp_3, WirespecFile$_init_$ref_cj1n5j()));
917
917
  };
918
918
  function File(path) {
919
- this.x2c_1 = path;
919
+ this.a2d_1 = path;
920
920
  }
921
921
  protoOf(File).h16 = function () {
922
922
  // Inline function 'kotlin.js.unsafeCast' call
923
- return get_fs().readFileSync(this.x2c_1.toString(), 'utf-8');
923
+ return get_fs().readFileSync(this.a2d_1.toString(), 'utf-8');
924
924
  };
925
925
  protoOf(File).g14 = function (text) {
926
926
  // Inline function 'kotlin.run' call
927
- var tmp0_run = this.x2c_1.c2d(joinToString(split_0(this.x2c_1.y2c_1, ['out']), 'out/node'));
927
+ var tmp0_run = this.a2d_1.f2d(joinToString(split_0(this.a2d_1.b2d_1, ['out']), 'out/node'));
928
928
  // Inline function 'kotlin.contracts.contract' call
929
929
  // Inline function 'community.flock.wirespec.compiler.cli.io.File.write.<anonymous>' call
930
930
  // Inline function 'kotlin.js.unsafeCast' call
931
- if (!get_fs().existsSync(tmp0_run.y2c_1)) {
932
- get_fs().mkdirSync(tmp0_run.y2c_1, {recursive: true});
931
+ if (!get_fs().existsSync(tmp0_run.b2d_1)) {
932
+ get_fs().mkdirSync(tmp0_run.b2d_1, {recursive: true});
933
933
  }
934
934
  get_fs().writeFileSync(tmp0_run.toString(), text);
935
935
  };