@flock/wirespec 0.17.16 → 0.17.18
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/clikt-clikt.mjs +1152 -1152
- package/colormath-root-colormath.mjs +424 -424
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +1 -0
- package/kotlin-rgxgen.mjs +1763 -1763
- package/kotlinx-io-kotlinx-io-core.mjs +377 -377
- package/markdown.mjs +1833 -1833
- package/mordant-mordant.mjs +1605 -1605
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +25 -13
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +118 -84
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +156 -126
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +169 -139
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +89 -85
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +33 -33
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +246 -246
- package/wirespec-src-converter-avro.mjs +265 -265
- package/wirespec-src-converter-openapi.mjs +76 -75
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +132 -132
- package/wirespec-src-plugin-cli.mjs +66 -66
- package/wirespec-src-plugin-npm.mjs +10 -10
- package/wirespec-src-tools-generator.mjs +2 -2
package/package.json
CHANGED
|
@@ -171,7 +171,7 @@ initMetadataForClass(ParamType, 'ParamType', VOID, Enum);
|
|
|
171
171
|
initMetadataForClass(Param, 'Param');
|
|
172
172
|
initMetadataForClass(FileExtension, 'FileExtension', VOID, Enum);
|
|
173
173
|
initMetadataForCompanion(Companion_0);
|
|
174
|
-
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [
|
|
174
|
+
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [NotYetImplemented, TypeDefinitionEmitter]);
|
|
175
175
|
initMetadataForCompanion(Companion_1);
|
|
176
176
|
initMetadataForClass(PackageName, 'PackageName');
|
|
177
177
|
initMetadataForObject(Spacer, 'Spacer');
|
|
@@ -3740,7 +3740,13 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3740
3740
|
return function ($this$parseToken, it) {
|
|
3741
3741
|
var tmp0_subject = $this_parseEnumTypeEntries.g27_1.u26_1;
|
|
3742
3742
|
var tmp;
|
|
3743
|
+
var tmp_0;
|
|
3743
3744
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
3745
|
+
tmp_0 = true;
|
|
3746
|
+
} else {
|
|
3747
|
+
tmp_0 = tmp0_subject instanceof Integer_0;
|
|
3748
|
+
}
|
|
3749
|
+
if (tmp_0) {
|
|
3744
3750
|
// Inline function 'kotlin.apply' call
|
|
3745
3751
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3746
3752
|
var this_0 = ArrayList_init_$Create$_0();
|
|
@@ -3751,7 +3757,13 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3751
3757
|
while (equals($this_parseEnumTypeEntries.g27_1.u26_1, Comma_instance)) {
|
|
3752
3758
|
$this$parseToken.cl($this_parseEnumTypeEntries.j27());
|
|
3753
3759
|
var tmp0_subject_0 = $this_parseEnumTypeEntries.g27_1.u26_1;
|
|
3760
|
+
var tmp_1;
|
|
3754
3761
|
if (isInterface(tmp0_subject_0, WirespecType_0)) {
|
|
3762
|
+
tmp_1 = true;
|
|
3763
|
+
} else {
|
|
3764
|
+
tmp_1 = tmp0_subject_0 instanceof Integer_0;
|
|
3765
|
+
}
|
|
3766
|
+
if (tmp_1) {
|
|
3755
3767
|
// Inline function 'kotlin.also' call
|
|
3756
3768
|
this_0.e($this_parseEnumTypeEntries.g27_1.t26_1);
|
|
3757
3769
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3766,7 +3778,7 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3766
3778
|
// Inline function 'arrow.core.raise.fold' call
|
|
3767
3779
|
// Inline function 'kotlin.contracts.contract' call
|
|
3768
3780
|
var raise = new DefaultRaise(false);
|
|
3769
|
-
var
|
|
3781
|
+
var tmp_2;
|
|
3770
3782
|
try {
|
|
3771
3783
|
var tmp$ret$4;
|
|
3772
3784
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
@@ -3782,15 +3794,15 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3782
3794
|
var res = tmp$ret$4;
|
|
3783
3795
|
raise.lk();
|
|
3784
3796
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
3785
|
-
|
|
3797
|
+
tmp_2 = new Right(res);
|
|
3786
3798
|
} catch ($p) {
|
|
3787
|
-
var
|
|
3799
|
+
var tmp_3;
|
|
3788
3800
|
if ($p instanceof RaiseCancellationException) {
|
|
3789
3801
|
var e = $p;
|
|
3790
3802
|
raise.lk();
|
|
3791
3803
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
3792
3804
|
var it_0 = raisedOrRethrow(e, raise);
|
|
3793
|
-
|
|
3805
|
+
tmp_3 = new Left(it_0);
|
|
3794
3806
|
} else {
|
|
3795
3807
|
if ($p instanceof Error) {
|
|
3796
3808
|
var e_0 = $p;
|
|
@@ -3800,9 +3812,9 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3800
3812
|
throw $p;
|
|
3801
3813
|
}
|
|
3802
3814
|
}
|
|
3803
|
-
|
|
3815
|
+
tmp_2 = tmp_3;
|
|
3804
3816
|
}
|
|
3805
|
-
var tmp$ret$10 =
|
|
3817
|
+
var tmp$ret$10 = tmp_2;
|
|
3806
3818
|
$this$parseToken.cl(tmp$ret$10);
|
|
3807
3819
|
throwKotlinNothingValueException();
|
|
3808
3820
|
}
|
|
@@ -3817,7 +3829,7 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3817
3829
|
// Inline function 'arrow.core.raise.fold' call
|
|
3818
3830
|
// Inline function 'kotlin.contracts.contract' call
|
|
3819
3831
|
var raise_0 = new DefaultRaise(false);
|
|
3820
|
-
var
|
|
3832
|
+
var tmp_4;
|
|
3821
3833
|
try {
|
|
3822
3834
|
var tmp$ret$14;
|
|
3823
3835
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
@@ -3833,15 +3845,15 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3833
3845
|
var res_0 = tmp$ret$14;
|
|
3834
3846
|
raise_0.lk();
|
|
3835
3847
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
3836
|
-
|
|
3848
|
+
tmp_4 = new Right(res_0);
|
|
3837
3849
|
} catch ($p) {
|
|
3838
|
-
var
|
|
3850
|
+
var tmp_5;
|
|
3839
3851
|
if ($p instanceof RaiseCancellationException) {
|
|
3840
3852
|
var e_1 = $p;
|
|
3841
3853
|
raise_0.lk();
|
|
3842
3854
|
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
3843
3855
|
var it_1 = raisedOrRethrow(e_1, raise_0);
|
|
3844
|
-
|
|
3856
|
+
tmp_5 = new Left(it_1);
|
|
3845
3857
|
} else {
|
|
3846
3858
|
if ($p instanceof Error) {
|
|
3847
3859
|
var e_2 = $p;
|
|
@@ -3851,9 +3863,9 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3851
3863
|
throw $p;
|
|
3852
3864
|
}
|
|
3853
3865
|
}
|
|
3854
|
-
|
|
3866
|
+
tmp_4 = tmp_5;
|
|
3855
3867
|
}
|
|
3856
|
-
var tmp$ret$20 =
|
|
3868
|
+
var tmp$ret$20 = tmp_4;
|
|
3857
3869
|
$this$parseToken.cl(tmp$ret$20);
|
|
3858
3870
|
tmp = throwKotlinNothingValueException();
|
|
3859
3871
|
}
|