@flock/wirespec 0.19.6 → 0.19.7
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-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1265 -1265
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +406 -406
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +9383 -9383
- package/kotlin-rgxgen.mjs +1757 -1757
- package/kotlinx-io-kotlinx-io-core.mjs +397 -397
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1708 -1708
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1449 -1449
- package/mordant-mordant.mjs +1097 -1097
- package/package.json +2 -2
- package/wirespec-src-compiler-core.mjs +973 -968
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +416 -416
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +295 -295
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +381 -381
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +377 -377
- package/wirespec-src-compiler-emitters-scala.mjs +153 -153
- package/wirespec-src-compiler-emitters-typescript.mjs +400 -400
- package/wirespec-src-compiler-emitters-wirespec.mjs +89 -79
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +3425 -3425
- package/wirespec-src-compiler-lib.mjs +343 -343
- package/wirespec-src-converter-avro.mjs +499 -499
- package/wirespec-src-converter-openapi.mjs +555 -555
- package/wirespec-src-ide-lsp.mjs +1350 -1350
- package/wirespec-src-plugin-arguments.mjs +121 -121
- package/wirespec-src-plugin-cli.mjs +91 -91
- package/wirespec-src-plugin-npm.mjs +26 -26
- package/wirespec-src-tools-generator.mjs +23 -23
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
startsWith1bgirhbedtv2y as startsWith_0,
|
|
65
65
|
isInterface3d6p8outrmvmk as isInterface,
|
|
66
66
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
67
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
67
68
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
68
69
|
listOfvhqybd2zx248 as listOf_0,
|
|
69
70
|
ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
|
|
@@ -99,7 +100,6 @@ import {
|
|
|
99
100
|
throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
|
|
100
101
|
toList3jhuyej2anx2q as toList,
|
|
101
102
|
toSet2orjxp16sotqu as toSet,
|
|
102
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
103
103
|
checkBuilderCapacity1h6g02949wvv as checkBuilderCapacity,
|
|
104
104
|
zipWithNext2nnv9puh4xyfv as zipWithNext,
|
|
105
105
|
toString30pk9tzaqopn as toString_1,
|
|
@@ -141,7 +141,7 @@ function get_expression(_this__u8e3s4) {
|
|
|
141
141
|
initMetadataForInterface(TypeDefinitionEmitter, 'TypeDefinitionEmitter');
|
|
142
142
|
function emitClientEndpointRequest(_this__u8e3s4) {
|
|
143
143
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
144
|
-
var this_0 = _this__u8e3s4.
|
|
144
|
+
var this_0 = _this__u8e3s4.sq_1;
|
|
145
145
|
// Inline function 'kotlin.collections.flatMap' call
|
|
146
146
|
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
147
147
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -149,7 +149,7 @@ function emitClientEndpointRequest(_this__u8e3s4) {
|
|
|
149
149
|
var _iterator__ex2g4s = tmp0.t();
|
|
150
150
|
while (_iterator__ex2g4s.u()) {
|
|
151
151
|
var element = _iterator__ex2g4s.v();
|
|
152
|
-
var list = new NonEmptyList(element.
|
|
152
|
+
var list = new NonEmptyList(element.uq_1);
|
|
153
153
|
addAll(destination, list);
|
|
154
154
|
}
|
|
155
155
|
var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
@@ -170,21 +170,21 @@ function emitClientEndpointRequest(_this__u8e3s4) {
|
|
|
170
170
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
171
171
|
while (_iterator__ex2g4s_1.u()) {
|
|
172
172
|
var item = _iterator__ex2g4s_1.v();
|
|
173
|
-
var tmp$ret$6 = new Pair(item, first(item.
|
|
173
|
+
var tmp$ret$6 = new Pair(item, first(item.aq_1));
|
|
174
174
|
destination_1.x(tmp$ret$6);
|
|
175
175
|
}
|
|
176
176
|
return destination_1;
|
|
177
177
|
}
|
|
178
178
|
initMetadataForInterface(ClientEmitter, 'ClientEmitter');
|
|
179
179
|
function notYetImplemented() {
|
|
180
|
-
return this.
|
|
180
|
+
return this.wq() + ' TODO("Not yet implemented")\n';
|
|
181
181
|
}
|
|
182
182
|
initMetadataForInterface(NotYetImplemented, 'NotYetImplemented');
|
|
183
183
|
initMetadataForClass(ParamType, 'ParamType', VOID, Enum);
|
|
184
184
|
initMetadataForClass(Param, 'Param');
|
|
185
185
|
initMetadataForClass(FileExtension, 'FileExtension', VOID, Enum);
|
|
186
186
|
initMetadataForCompanion(Companion_0);
|
|
187
|
-
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [
|
|
187
|
+
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [TypeDefinitionEmitter, NotYetImplemented]);
|
|
188
188
|
initMetadataForCompanion(Companion_1);
|
|
189
189
|
initMetadataForClass(PackageName, 'PackageName');
|
|
190
190
|
initMetadataForObject(Spacer, 'Spacer');
|
|
@@ -246,22 +246,22 @@ initMetadataForObject(Bytes, 'Bytes');
|
|
|
246
246
|
function copy(isNullable) {
|
|
247
247
|
var tmp;
|
|
248
248
|
if (this instanceof Any) {
|
|
249
|
-
tmp = this.
|
|
249
|
+
tmp = this.vu(isNullable == null ? this.su_1 : isNullable);
|
|
250
250
|
} else {
|
|
251
251
|
if (this instanceof Custom) {
|
|
252
|
-
tmp = this.
|
|
252
|
+
tmp = this.fv(VOID, isNullable == null ? this.dv_1 : isNullable);
|
|
253
253
|
} else {
|
|
254
254
|
if (this instanceof Dict_0) {
|
|
255
|
-
tmp = this.
|
|
255
|
+
tmp = this.av(VOID, isNullable == null ? this.to_1 : isNullable);
|
|
256
256
|
} else {
|
|
257
257
|
if (this instanceof Iterable) {
|
|
258
|
-
tmp = this.
|
|
258
|
+
tmp = this.bv(VOID, isNullable == null ? this.qo_1 : isNullable);
|
|
259
259
|
} else {
|
|
260
260
|
if (this instanceof Primitive) {
|
|
261
|
-
tmp = this.
|
|
261
|
+
tmp = this.kv(VOID, isNullable == null ? this.hv_1 : isNullable);
|
|
262
262
|
} else {
|
|
263
263
|
if (this instanceof Unit) {
|
|
264
|
-
tmp = this.
|
|
264
|
+
tmp = this.vu(isNullable == null ? this.xu_1 : isNullable);
|
|
265
265
|
} else {
|
|
266
266
|
noWhenBranchMatchedException();
|
|
267
267
|
}
|
|
@@ -720,16 +720,19 @@ protoOf(EmitShared).l1 = function () {
|
|
|
720
720
|
protoOf(EmitShared).toString = function () {
|
|
721
721
|
return this.xo_1.toString();
|
|
722
722
|
};
|
|
723
|
-
function Emitted(file, result) {
|
|
723
|
+
function Emitted(file, result, test) {
|
|
724
|
+
test = test === VOID ? false : test;
|
|
724
725
|
this.yo_1 = file;
|
|
725
726
|
this.zo_1 = result;
|
|
727
|
+
this.ap_1 = test;
|
|
726
728
|
}
|
|
727
729
|
protoOf(Emitted).toString = function () {
|
|
728
|
-
return 'Emitted(file=' + this.yo_1 + ', result=' + this.zo_1 + ')';
|
|
730
|
+
return 'Emitted(file=' + this.yo_1 + ', result=' + this.zo_1 + ', test=' + this.ap_1 + ')';
|
|
729
731
|
};
|
|
730
732
|
protoOf(Emitted).hashCode = function () {
|
|
731
733
|
var result = getStringHashCode(this.yo_1);
|
|
732
734
|
result = imul(result, 31) + getStringHashCode(this.zo_1) | 0;
|
|
735
|
+
result = imul(result, 31) + getBooleanHashCode(this.ap_1) | 0;
|
|
733
736
|
return result;
|
|
734
737
|
};
|
|
735
738
|
protoOf(Emitted).equals = function (other) {
|
|
@@ -741,13 +744,15 @@ protoOf(Emitted).equals = function (other) {
|
|
|
741
744
|
return false;
|
|
742
745
|
if (!(this.zo_1 === other.zo_1))
|
|
743
746
|
return false;
|
|
747
|
+
if (!(this.ap_1 === other.ap_1))
|
|
748
|
+
return false;
|
|
744
749
|
return true;
|
|
745
750
|
};
|
|
746
751
|
function importReferences(_this__u8e3s4) {
|
|
747
752
|
var tmp;
|
|
748
753
|
if (_this__u8e3s4 instanceof Endpoint) {
|
|
749
754
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
750
|
-
var tmp0 = _this__u8e3s4.
|
|
755
|
+
var tmp0 = _this__u8e3s4.xp_1;
|
|
751
756
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
752
757
|
var destination = ArrayList_init_$Create$_0();
|
|
753
758
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -763,61 +768,61 @@ function importReferences(_this__u8e3s4) {
|
|
|
763
768
|
var _iterator__ex2g4s_0 = destination.t();
|
|
764
769
|
while (_iterator__ex2g4s_0.u()) {
|
|
765
770
|
var item = _iterator__ex2g4s_0.v();
|
|
766
|
-
var tmp$ret$2 = item.
|
|
771
|
+
var tmp$ret$2 = item.dq_1;
|
|
767
772
|
destination_0.x(tmp$ret$2);
|
|
768
773
|
}
|
|
769
774
|
var tmp_0 = destination_0;
|
|
770
775
|
// Inline function 'kotlin.collections.map' call
|
|
771
|
-
var this_0 = _this__u8e3s4.
|
|
776
|
+
var this_0 = _this__u8e3s4.zp_1;
|
|
772
777
|
// Inline function 'kotlin.collections.mapTo' call
|
|
773
778
|
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_0, 10));
|
|
774
779
|
var _iterator__ex2g4s_1 = this_0.t();
|
|
775
780
|
while (_iterator__ex2g4s_1.u()) {
|
|
776
781
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
777
|
-
var tmp$ret$5 = item_0.
|
|
782
|
+
var tmp$ret$5 = item_0.sp_1;
|
|
778
783
|
destination_1.x(tmp$ret$5);
|
|
779
784
|
}
|
|
780
785
|
var tmp_1 = destination_1;
|
|
781
786
|
// Inline function 'kotlin.collections.map' call
|
|
782
|
-
var this_1 = _this__u8e3s4.
|
|
787
|
+
var this_1 = _this__u8e3s4.yp_1;
|
|
783
788
|
// Inline function 'kotlin.collections.mapTo' call
|
|
784
789
|
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_1, 10));
|
|
785
790
|
var _iterator__ex2g4s_2 = this_1.t();
|
|
786
791
|
while (_iterator__ex2g4s_2.u()) {
|
|
787
792
|
var item_1 = _iterator__ex2g4s_2.v();
|
|
788
|
-
var tmp$ret$8 = item_1.
|
|
793
|
+
var tmp$ret$8 = item_1.sp_1;
|
|
789
794
|
destination_2.x(tmp$ret$8);
|
|
790
795
|
}
|
|
791
796
|
var tmp_2 = destination_2;
|
|
792
797
|
// Inline function 'kotlin.collections.map' call
|
|
793
|
-
var this_2 = _this__u8e3s4.
|
|
798
|
+
var this_2 = _this__u8e3s4.aq_1;
|
|
794
799
|
// Inline function 'kotlin.collections.mapTo' call
|
|
795
800
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_2, 10));
|
|
796
801
|
var _iterator__ex2g4s_3 = this_2.t();
|
|
797
802
|
while (_iterator__ex2g4s_3.u()) {
|
|
798
803
|
var item_2 = _iterator__ex2g4s_3.v();
|
|
799
|
-
var tmp0_safe_receiver = item_2.
|
|
800
|
-
var tmp$ret$11 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
804
|
+
var tmp0_safe_receiver = item_2.eq_1;
|
|
805
|
+
var tmp$ret$11 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gq_1;
|
|
801
806
|
destination_3.x(tmp$ret$11);
|
|
802
807
|
}
|
|
803
808
|
var tmp_3 = destination_3;
|
|
804
809
|
// Inline function 'kotlin.collections.flatMap' call
|
|
805
|
-
var tmp0_0 = _this__u8e3s4.
|
|
810
|
+
var tmp0_0 = _this__u8e3s4.bq_1;
|
|
806
811
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
807
812
|
var destination_4 = ArrayList_init_$Create$_0();
|
|
808
813
|
var _iterator__ex2g4s_4 = tmp0_0.t();
|
|
809
814
|
while (_iterator__ex2g4s_4.u()) {
|
|
810
815
|
var element_0 = _iterator__ex2g4s_4.v();
|
|
811
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
812
|
-
var tmp_4 = listOf_0(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
816
|
+
var tmp0_safe_receiver_0 = element_0.jq_1;
|
|
817
|
+
var tmp_4 = listOf_0(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.gq_1);
|
|
813
818
|
// Inline function 'kotlin.collections.map' call
|
|
814
|
-
var this_3 = element_0.
|
|
819
|
+
var this_3 = element_0.iq_1;
|
|
815
820
|
// Inline function 'kotlin.collections.mapTo' call
|
|
816
821
|
var destination_5 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_3, 10));
|
|
817
822
|
var _iterator__ex2g4s_5 = this_3.t();
|
|
818
823
|
while (_iterator__ex2g4s_5.u()) {
|
|
819
824
|
var item_3 = _iterator__ex2g4s_5.v();
|
|
820
|
-
var tmp$ret$14 = item_3.
|
|
825
|
+
var tmp$ret$14 = item_3.sp_1;
|
|
821
826
|
destination_5.x(tmp$ret$14);
|
|
822
827
|
}
|
|
823
828
|
var list = plus(tmp_4, destination_5);
|
|
@@ -847,13 +852,13 @@ function importReferences(_this__u8e3s4) {
|
|
|
847
852
|
} else {
|
|
848
853
|
if (_this__u8e3s4 instanceof Type) {
|
|
849
854
|
// Inline function 'kotlin.collections.filter' call
|
|
850
|
-
var tmp0_1 = _this__u8e3s4.
|
|
855
|
+
var tmp0_1 = _this__u8e3s4.np_1.jp_1;
|
|
851
856
|
// Inline function 'kotlin.collections.filterTo' call
|
|
852
857
|
var destination_8 = ArrayList_init_$Create$_0();
|
|
853
858
|
var _iterator__ex2g4s_8 = tmp0_1.t();
|
|
854
859
|
while (_iterator__ex2g4s_8.u()) {
|
|
855
860
|
var element_2 = _iterator__ex2g4s_8.v();
|
|
856
|
-
if (!(_this__u8e3s4.
|
|
861
|
+
if (!(_this__u8e3s4.mp_1.l1() === root(element_2.sp_1).l1())) {
|
|
857
862
|
destination_8.x(element_2);
|
|
858
863
|
}
|
|
859
864
|
}
|
|
@@ -863,7 +868,7 @@ function importReferences(_this__u8e3s4) {
|
|
|
863
868
|
var _iterator__ex2g4s_9 = destination_8.t();
|
|
864
869
|
while (_iterator__ex2g4s_9.u()) {
|
|
865
870
|
var item_5 = _iterator__ex2g4s_9.v();
|
|
866
|
-
var tmp$ret$28 = flattenListDict(item_5.
|
|
871
|
+
var tmp$ret$28 = flattenListDict(item_5.sp_1);
|
|
867
872
|
destination_9.x(tmp$ret$28);
|
|
868
873
|
}
|
|
869
874
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -880,7 +885,7 @@ function importReferences(_this__u8e3s4) {
|
|
|
880
885
|
} else {
|
|
881
886
|
if (_this__u8e3s4 instanceof Union) {
|
|
882
887
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
883
|
-
var tmp0_2 = _this__u8e3s4.
|
|
888
|
+
var tmp0_2 = _this__u8e3s4.ip_1;
|
|
884
889
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
885
890
|
var destination_11 = ArrayList_init_$Create$_0();
|
|
886
891
|
var _iterator__ex2g4s_11 = tmp0_2.t();
|
|
@@ -894,9 +899,9 @@ function importReferences(_this__u8e3s4) {
|
|
|
894
899
|
} else {
|
|
895
900
|
if (_this__u8e3s4 instanceof Channel) {
|
|
896
901
|
var tmp_5;
|
|
897
|
-
var tmp_6 = _this__u8e3s4.
|
|
902
|
+
var tmp_6 = _this__u8e3s4.ep_1;
|
|
898
903
|
if (tmp_6 instanceof Custom) {
|
|
899
|
-
tmp_5 = listOf_0(_this__u8e3s4.
|
|
904
|
+
tmp_5 = listOf_0(_this__u8e3s4.ep_1);
|
|
900
905
|
} else {
|
|
901
906
|
tmp_5 = emptyList();
|
|
902
907
|
}
|
|
@@ -925,7 +930,7 @@ function NotYetImplemented() {
|
|
|
925
930
|
}
|
|
926
931
|
function get_pathParams(_this__u8e3s4) {
|
|
927
932
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
928
|
-
var tmp0 = _this__u8e3s4.
|
|
933
|
+
var tmp0 = _this__u8e3s4.xp_1;
|
|
929
934
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
930
935
|
var destination = ArrayList_init_$Create$_0();
|
|
931
936
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -944,7 +949,7 @@ function distinctByStatus(_this__u8e3s4) {
|
|
|
944
949
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
945
950
|
while (_iterator__ex2g4s.u()) {
|
|
946
951
|
var e = _iterator__ex2g4s.v();
|
|
947
|
-
var key = e.
|
|
952
|
+
var key = e.hq_1;
|
|
948
953
|
if (set.x(key)) {
|
|
949
954
|
list.x(e);
|
|
950
955
|
}
|
|
@@ -954,10 +959,10 @@ function distinctByStatus(_this__u8e3s4) {
|
|
|
954
959
|
function emit_0(_this__u8e3s4) {
|
|
955
960
|
var tmp;
|
|
956
961
|
if (_this__u8e3s4 instanceof Literal) {
|
|
957
|
-
tmp = _this__u8e3s4.
|
|
962
|
+
tmp = _this__u8e3s4.yq_1;
|
|
958
963
|
} else {
|
|
959
964
|
if (_this__u8e3s4 instanceof Param_0) {
|
|
960
|
-
tmp = '{' + _this__u8e3s4.
|
|
965
|
+
tmp = '{' + _this__u8e3s4.cq_1.l1() + '}';
|
|
961
966
|
} else {
|
|
962
967
|
noWhenBranchMatchedException();
|
|
963
968
|
}
|
|
@@ -969,7 +974,7 @@ function fixStatus(_this__u8e3s4) {
|
|
|
969
974
|
}
|
|
970
975
|
function get_indexedPathParams(_this__u8e3s4) {
|
|
971
976
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
972
|
-
var tmp0 = withIndex(_this__u8e3s4.
|
|
977
|
+
var tmp0 = withIndex(_this__u8e3s4.xp_1);
|
|
973
978
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
974
979
|
var destination = ArrayList_init_$Create$_0();
|
|
975
980
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1000,7 +1005,7 @@ function get_indexedPathParams(_this__u8e3s4) {
|
|
|
1000
1005
|
}
|
|
1001
1006
|
function hasEndpoints(_this__u8e3s4) {
|
|
1002
1007
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
1003
|
-
var this_0 = _this__u8e3s4.
|
|
1008
|
+
var this_0 = _this__u8e3s4.sq_1;
|
|
1004
1009
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1005
1010
|
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
1006
1011
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -1008,7 +1013,7 @@ function hasEndpoints(_this__u8e3s4) {
|
|
|
1008
1013
|
var _iterator__ex2g4s = tmp0.t();
|
|
1009
1014
|
while (_iterator__ex2g4s.u()) {
|
|
1010
1015
|
var element = _iterator__ex2g4s.v();
|
|
1011
|
-
var list = new NonEmptyList(element.
|
|
1016
|
+
var list = new NonEmptyList(element.uq_1);
|
|
1012
1017
|
addAll(destination, list);
|
|
1013
1018
|
}
|
|
1014
1019
|
var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
@@ -1072,17 +1077,17 @@ function ParamType_BODY_getInstance() {
|
|
|
1072
1077
|
return ParamType_BODY_instance;
|
|
1073
1078
|
}
|
|
1074
1079
|
function Param(type, identifier, reference) {
|
|
1075
|
-
this.
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1080
|
+
this.zq_1 = type;
|
|
1081
|
+
this.ar_1 = identifier;
|
|
1082
|
+
this.br_1 = reference;
|
|
1078
1083
|
}
|
|
1079
1084
|
protoOf(Param).toString = function () {
|
|
1080
|
-
return 'Param(type=' + this.
|
|
1085
|
+
return 'Param(type=' + this.zq_1.toString() + ', identifier=' + this.ar_1.toString() + ', reference=' + toString(this.br_1) + ')';
|
|
1081
1086
|
};
|
|
1082
1087
|
protoOf(Param).hashCode = function () {
|
|
1083
|
-
var result = this.
|
|
1084
|
-
result = imul(result, 31) + hashCode(this.zq_1) | 0;
|
|
1088
|
+
var result = this.zq_1.hashCode();
|
|
1085
1089
|
result = imul(result, 31) + hashCode(this.ar_1) | 0;
|
|
1090
|
+
result = imul(result, 31) + hashCode(this.br_1) | 0;
|
|
1086
1091
|
return result;
|
|
1087
1092
|
};
|
|
1088
1093
|
protoOf(Param).equals = function (other) {
|
|
@@ -1090,12 +1095,12 @@ protoOf(Param).equals = function (other) {
|
|
|
1090
1095
|
return true;
|
|
1091
1096
|
if (!(other instanceof Param))
|
|
1092
1097
|
return false;
|
|
1093
|
-
if (!this.
|
|
1094
|
-
return false;
|
|
1095
|
-
if (!equals(this.zq_1, other.zq_1))
|
|
1098
|
+
if (!this.zq_1.equals(other.zq_1))
|
|
1096
1099
|
return false;
|
|
1097
1100
|
if (!equals(this.ar_1, other.ar_1))
|
|
1098
1101
|
return false;
|
|
1102
|
+
if (!equals(this.br_1, other.br_1))
|
|
1103
|
+
return false;
|
|
1099
1104
|
return true;
|
|
1100
1105
|
};
|
|
1101
1106
|
function paramList(_this__u8e3s4, endpoint) {
|
|
@@ -1111,7 +1116,7 @@ function paramList(_this__u8e3s4, endpoint) {
|
|
|
1111
1116
|
}
|
|
1112
1117
|
var tmp = destination;
|
|
1113
1118
|
// Inline function 'kotlin.collections.map' call
|
|
1114
|
-
var this_1 = endpoint.
|
|
1119
|
+
var this_1 = endpoint.yp_1;
|
|
1115
1120
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1116
1121
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_1, 10));
|
|
1117
1122
|
var _iterator__ex2g4s_0 = this_1.t();
|
|
@@ -1122,7 +1127,7 @@ function paramList(_this__u8e3s4, endpoint) {
|
|
|
1122
1127
|
}
|
|
1123
1128
|
var tmp_0 = destination_0;
|
|
1124
1129
|
// Inline function 'kotlin.collections.map' call
|
|
1125
|
-
var this_2 = endpoint.
|
|
1130
|
+
var this_2 = endpoint.zp_1;
|
|
1126
1131
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1127
1132
|
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_2, 10));
|
|
1128
1133
|
var _iterator__ex2g4s_1 = this_2.t();
|
|
@@ -1132,12 +1137,12 @@ function paramList(_this__u8e3s4, endpoint) {
|
|
|
1132
1137
|
destination_1.x(tmp$ret$6);
|
|
1133
1138
|
}
|
|
1134
1139
|
var tmp_1 = destination_1;
|
|
1135
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1140
|
+
var tmp0_safe_receiver = _this__u8e3s4.eq_1;
|
|
1136
1141
|
return flatten(listOf([tmp, tmp_0, tmp_1, listOfNotNull(tmp0_safe_receiver == null ? null : toParam_1(tmp0_safe_receiver))]));
|
|
1137
1142
|
}
|
|
1138
1143
|
function paramList_0(_this__u8e3s4) {
|
|
1139
1144
|
// Inline function 'kotlin.collections.map' call
|
|
1140
|
-
var this_0 = _this__u8e3s4.
|
|
1145
|
+
var this_0 = _this__u8e3s4.iq_1;
|
|
1141
1146
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1142
1147
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_0, 10));
|
|
1143
1148
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -1147,17 +1152,17 @@ function paramList_0(_this__u8e3s4) {
|
|
|
1147
1152
|
destination.x(tmp$ret$0);
|
|
1148
1153
|
}
|
|
1149
1154
|
var tmp = destination;
|
|
1150
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1155
|
+
var tmp0_safe_receiver = _this__u8e3s4.jq_1;
|
|
1151
1156
|
return flatten(listOf([tmp, listOfNotNull(tmp0_safe_receiver == null ? null : toParam_1(tmp0_safe_receiver))]));
|
|
1152
1157
|
}
|
|
1153
1158
|
function toParam(_this__u8e3s4) {
|
|
1154
|
-
return new Param(ParamType_PATH_getInstance(), _this__u8e3s4.
|
|
1159
|
+
return new Param(ParamType_PATH_getInstance(), _this__u8e3s4.cq_1, _this__u8e3s4.dq_1);
|
|
1155
1160
|
}
|
|
1156
1161
|
function toParam_0(_this__u8e3s4, type) {
|
|
1157
|
-
return new Param(type, _this__u8e3s4.
|
|
1162
|
+
return new Param(type, _this__u8e3s4.rp_1, _this__u8e3s4.sp_1);
|
|
1158
1163
|
}
|
|
1159
1164
|
function toParam_1(_this__u8e3s4) {
|
|
1160
|
-
return new Param(ParamType_BODY_getInstance(), new FieldIdentifier('body'), _this__u8e3s4.
|
|
1165
|
+
return new Param(ParamType_BODY_getInstance(), new FieldIdentifier('body'), _this__u8e3s4.gq_1);
|
|
1161
1166
|
}
|
|
1162
1167
|
var FileExtension_Java_instance;
|
|
1163
1168
|
var FileExtension_Kotlin_instance;
|
|
@@ -1198,10 +1203,10 @@ function FileExtension_initEntries() {
|
|
|
1198
1203
|
var $ENTRIES;
|
|
1199
1204
|
function FileExtension(name, ordinal, value) {
|
|
1200
1205
|
Enum.call(this, name, ordinal);
|
|
1201
|
-
this.
|
|
1206
|
+
this.er_1 = value;
|
|
1202
1207
|
}
|
|
1203
1208
|
protoOf(FileExtension).l1 = function () {
|
|
1204
|
-
return this.
|
|
1209
|
+
return this.er_1;
|
|
1205
1210
|
};
|
|
1206
1211
|
function FileExtension_Java_getInstance() {
|
|
1207
1212
|
FileExtension_initEntries();
|
|
@@ -1249,7 +1254,7 @@ function FileExtension_AvroIdl_getInstance() {
|
|
|
1249
1254
|
}
|
|
1250
1255
|
function Companion_0() {
|
|
1251
1256
|
}
|
|
1252
|
-
protoOf(Companion_0).
|
|
1257
|
+
protoOf(Companion_0).fr = function (_this__u8e3s4) {
|
|
1253
1258
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
1254
1259
|
var tmp;
|
|
1255
1260
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -1265,7 +1270,7 @@ protoOf(Companion_0).er = function (_this__u8e3s4) {
|
|
|
1265
1270
|
}
|
|
1266
1271
|
return tmp;
|
|
1267
1272
|
};
|
|
1268
|
-
protoOf(Companion_0).
|
|
1273
|
+
protoOf(Companion_0).gr = function (_this__u8e3s4) {
|
|
1269
1274
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
1270
1275
|
var tmp;
|
|
1271
1276
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -1281,8 +1286,8 @@ protoOf(Companion_0).fr = function (_this__u8e3s4) {
|
|
|
1281
1286
|
}
|
|
1282
1287
|
return tmp;
|
|
1283
1288
|
};
|
|
1284
|
-
protoOf(Companion_0).
|
|
1285
|
-
var tmp0 = new NonEmptyList(_this__u8e3s4.
|
|
1289
|
+
protoOf(Companion_0).hr = function (_this__u8e3s4) {
|
|
1290
|
+
var tmp0 = new NonEmptyList(_this__u8e3s4.uq_1);
|
|
1286
1291
|
var tmp$ret$0;
|
|
1287
1292
|
$l$block_0: {
|
|
1288
1293
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1320,8 +1325,8 @@ protoOf(Companion_0).gr = function (_this__u8e3s4) {
|
|
|
1320
1325
|
}
|
|
1321
1326
|
return tmp$ret$0;
|
|
1322
1327
|
};
|
|
1323
|
-
protoOf(Companion_0).
|
|
1324
|
-
var tmp0 = new NonEmptyList(_this__u8e3s4.
|
|
1328
|
+
protoOf(Companion_0).ir = function (_this__u8e3s4) {
|
|
1329
|
+
var tmp0 = new NonEmptyList(_this__u8e3s4.uq_1);
|
|
1325
1330
|
var tmp$ret$0;
|
|
1326
1331
|
$l$block_0: {
|
|
1327
1332
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1371,7 +1376,7 @@ protoOf(Companion_0).hr = function (_this__u8e3s4) {
|
|
|
1371
1376
|
}
|
|
1372
1377
|
return tmp$ret$0;
|
|
1373
1378
|
};
|
|
1374
|
-
protoOf(Companion_0).
|
|
1379
|
+
protoOf(Companion_0).jr = function (_this__u8e3s4) {
|
|
1375
1380
|
var tmp0_safe_receiver = toIntOrNull(_this__u8e3s4);
|
|
1376
1381
|
var tmp;
|
|
1377
1382
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1391,7 +1396,7 @@ function LanguageEmitter() {
|
|
|
1391
1396
|
}
|
|
1392
1397
|
protoOf(LanguageEmitter).eo = function (ast, logger) {
|
|
1393
1398
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
1394
|
-
var this_0 = ast.
|
|
1399
|
+
var this_0 = ast.sq_1;
|
|
1395
1400
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1396
1401
|
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
1397
1402
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -1399,8 +1404,8 @@ protoOf(LanguageEmitter).eo = function (ast, logger) {
|
|
|
1399
1404
|
var _iterator__ex2g4s = tmp0.t();
|
|
1400
1405
|
while (_iterator__ex2g4s.u()) {
|
|
1401
1406
|
var element = _iterator__ex2g4s.v();
|
|
1402
|
-
logger.
|
|
1403
|
-
var list = new NonEmptyList(this.
|
|
1407
|
+
logger.kr('Emitting Nodes from ' + element.tq_1.tn_1 + ' ');
|
|
1408
|
+
var list = new NonEmptyList(this.lr(element, logger));
|
|
1404
1409
|
addAll(destination, list);
|
|
1405
1410
|
}
|
|
1406
1411
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -1412,14 +1417,14 @@ protoOf(LanguageEmitter).eo = function (ast, logger) {
|
|
|
1412
1417
|
var _iterator__ex2g4s_0 = this_2.t();
|
|
1413
1418
|
while (_iterator__ex2g4s_0.u()) {
|
|
1414
1419
|
var item = _iterator__ex2g4s_0.v();
|
|
1415
|
-
var tmp$ret$4 = new Emitted(item.yo_1 + '.' + this.
|
|
1420
|
+
var tmp$ret$4 = new Emitted(item.yo_1 + '.' + this.vq().er_1, item.zo_1);
|
|
1416
1421
|
destination_0.x(tmp$ret$4);
|
|
1417
1422
|
}
|
|
1418
1423
|
return _NonEmptyList___init__impl__fxd0xp(destination_0);
|
|
1419
1424
|
};
|
|
1420
|
-
protoOf(LanguageEmitter).
|
|
1425
|
+
protoOf(LanguageEmitter).lr = function (module_0, logger) {
|
|
1421
1426
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
1422
|
-
var this_0 = module_0.
|
|
1427
|
+
var this_0 = module_0.uq_1;
|
|
1423
1428
|
// Inline function 'kotlin.collections.map' call
|
|
1424
1429
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
1425
1430
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -1427,32 +1432,32 @@ protoOf(LanguageEmitter).kr = function (module_0, logger) {
|
|
|
1427
1432
|
var _iterator__ex2g4s = this_1.t();
|
|
1428
1433
|
while (_iterator__ex2g4s.u()) {
|
|
1429
1434
|
var item = _iterator__ex2g4s.v();
|
|
1430
|
-
var tmp$ret$0 = this.
|
|
1435
|
+
var tmp$ret$0 = this.mr(item, module_0, logger);
|
|
1431
1436
|
destination.x(tmp$ret$0);
|
|
1432
1437
|
}
|
|
1433
1438
|
return _NonEmptyList___init__impl__fxd0xp(destination);
|
|
1434
1439
|
};
|
|
1435
|
-
protoOf(LanguageEmitter).
|
|
1440
|
+
protoOf(LanguageEmitter).mr = function (definition, module_0, logger) {
|
|
1436
1441
|
// Inline function 'kotlin.run' call
|
|
1437
|
-
logger.
|
|
1442
|
+
logger.kr('Emitting ' + getKClassFromExpression(definition).o() + ' ' + definition.nr().l1());
|
|
1438
1443
|
var tmp;
|
|
1439
1444
|
if (definition instanceof Type) {
|
|
1440
|
-
tmp = new Emitted(this.
|
|
1445
|
+
tmp = new Emitted(this.or(definition.mp_1), this.lq(definition, module_0));
|
|
1441
1446
|
} else {
|
|
1442
1447
|
if (definition instanceof Endpoint) {
|
|
1443
|
-
tmp = new Emitted(this.
|
|
1448
|
+
tmp = new Emitted(this.or(definition.vp_1), this.bs(definition));
|
|
1444
1449
|
} else {
|
|
1445
1450
|
if (definition instanceof Enum_0) {
|
|
1446
|
-
tmp = new Emitted(this.
|
|
1451
|
+
tmp = new Emitted(this.or(definition.yr_1), this.as(definition, module_0));
|
|
1447
1452
|
} else {
|
|
1448
1453
|
if (definition instanceof Refined) {
|
|
1449
|
-
tmp = new Emitted(this.
|
|
1454
|
+
tmp = new Emitted(this.or(definition.tr_1), this.vr(definition));
|
|
1450
1455
|
} else {
|
|
1451
1456
|
if (definition instanceof Union) {
|
|
1452
|
-
tmp = new Emitted(this.
|
|
1457
|
+
tmp = new Emitted(this.or(definition.hp_1), this.qr(definition));
|
|
1453
1458
|
} else {
|
|
1454
1459
|
if (definition instanceof Channel) {
|
|
1455
|
-
tmp = new Emitted(this.
|
|
1460
|
+
tmp = new Emitted(this.or(definition.dp_1), this.pr(definition));
|
|
1456
1461
|
} else {
|
|
1457
1462
|
noWhenBranchMatchedException();
|
|
1458
1463
|
}
|
|
@@ -1465,7 +1470,7 @@ protoOf(LanguageEmitter).lr = function (definition, module_0, logger) {
|
|
|
1465
1470
|
};
|
|
1466
1471
|
function Companion_1() {
|
|
1467
1472
|
}
|
|
1468
|
-
protoOf(Companion_1).
|
|
1473
|
+
protoOf(Companion_1).ds = function (value) {
|
|
1469
1474
|
// Inline function 'kotlin.let' call
|
|
1470
1475
|
return new PackageName(value == null ? 'community.flock.wirespec' : value, !(value == null));
|
|
1471
1476
|
};
|
|
@@ -1474,31 +1479,31 @@ function Companion_getInstance_2() {
|
|
|
1474
1479
|
return Companion_instance_2;
|
|
1475
1480
|
}
|
|
1476
1481
|
function PackageName(value, createDirectory) {
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1482
|
+
this.es_1 = value;
|
|
1483
|
+
this.fs_1 = createDirectory;
|
|
1479
1484
|
}
|
|
1480
1485
|
protoOf(PackageName).l1 = function () {
|
|
1481
|
-
return this.
|
|
1486
|
+
return this.es_1;
|
|
1482
1487
|
};
|
|
1483
1488
|
protoOf(PackageName).toString = function () {
|
|
1484
|
-
return this.
|
|
1489
|
+
return this.es_1;
|
|
1485
1490
|
};
|
|
1486
|
-
protoOf(PackageName).
|
|
1487
|
-
return replace(this.
|
|
1491
|
+
protoOf(PackageName).gs = function () {
|
|
1492
|
+
return replace(this.es_1, '.', '/') + '/';
|
|
1488
1493
|
};
|
|
1489
1494
|
function plus_0(_this__u8e3s4, definition) {
|
|
1490
1495
|
return plus_1(_this__u8e3s4, namespace(definition));
|
|
1491
1496
|
}
|
|
1492
1497
|
function plus_1(_this__u8e3s4, subPackage) {
|
|
1493
|
-
return Companion_instance_2.
|
|
1498
|
+
return Companion_instance_2.ds(_this__u8e3s4.es_1 + '.' + subPackage);
|
|
1494
1499
|
}
|
|
1495
1500
|
function Spacer() {
|
|
1496
|
-
this.
|
|
1501
|
+
this.hs_1 = ' ';
|
|
1497
1502
|
}
|
|
1498
1503
|
protoOf(Spacer).toString = function () {
|
|
1499
1504
|
return ' ';
|
|
1500
1505
|
};
|
|
1501
|
-
protoOf(Spacer).
|
|
1506
|
+
protoOf(Spacer).is = function (times) {
|
|
1502
1507
|
return repeat(' ', times);
|
|
1503
1508
|
};
|
|
1504
1509
|
protoOf(Spacer).hashCode = function () {
|
|
@@ -1543,7 +1548,7 @@ function Companion_getInstance_3() {
|
|
|
1543
1548
|
return Companion_instance_3;
|
|
1544
1549
|
}
|
|
1545
1550
|
function WrongTokenException(fileUri, expected, actual) {
|
|
1546
|
-
EatTokenException.call(this, fileUri, actual.
|
|
1551
|
+
EatTokenException.call(this, fileUri, actual.ls_1, '' + expected.o() + ' expected, not: ' + name(actual.ks_1) + ' at line ' + actual.ls_1.ms_1 + ' and position ' + (actual.ls_1.ns_1 - actual.js_1.length | 0));
|
|
1547
1552
|
}
|
|
1548
1553
|
function NextException(fileUri, coordinates) {
|
|
1549
1554
|
NullTokenException.call(this, fileUri, 'Next Token', coordinates);
|
|
@@ -1579,16 +1584,16 @@ function ValidationError(coordinates, message) {
|
|
|
1579
1584
|
WirespecException.call(this, new FileUri(''), message, coordinates);
|
|
1580
1585
|
}
|
|
1581
1586
|
function WirespecException(fileUri, message, coordinates) {
|
|
1582
|
-
this.
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1587
|
+
this.ps_1 = fileUri;
|
|
1588
|
+
this.qs_1 = message;
|
|
1589
|
+
this.rs_1 = coordinates;
|
|
1585
1590
|
}
|
|
1586
1591
|
protoOf(WirespecException).e = function () {
|
|
1587
|
-
return this.
|
|
1592
|
+
return this.qs_1;
|
|
1588
1593
|
};
|
|
1589
1594
|
function AnnotationParser() {
|
|
1590
1595
|
}
|
|
1591
|
-
protoOf(AnnotationParser).
|
|
1596
|
+
protoOf(AnnotationParser).ss = function (_this__u8e3s4) {
|
|
1592
1597
|
// Inline function 'arrow.core.raise.either' call
|
|
1593
1598
|
// Inline function 'arrow.core.raise.fold' call
|
|
1594
1599
|
// Inline function 'arrow.core.raise.fold' call
|
|
@@ -1596,9 +1601,9 @@ protoOf(AnnotationParser).rs = function (_this__u8e3s4) {
|
|
|
1596
1601
|
var tmp;
|
|
1597
1602
|
try {
|
|
1598
1603
|
var tmp_0;
|
|
1599
|
-
if (_this__u8e3s4.
|
|
1604
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Annotation_0) {
|
|
1600
1605
|
var annotation = raise.vm(parseAnnotation(_this__u8e3s4));
|
|
1601
|
-
var remaining = raise.vm(AnnotationParser_instance.
|
|
1606
|
+
var remaining = raise.vm(AnnotationParser_instance.ss(_this__u8e3s4));
|
|
1602
1607
|
tmp_0 = plus(listOf_0(annotation), remaining);
|
|
1603
1608
|
} else {
|
|
1604
1609
|
tmp_0 = emptyList();
|
|
@@ -1638,17 +1643,17 @@ function parseAnnotation(_this__u8e3s4) {
|
|
|
1638
1643
|
var tmp;
|
|
1639
1644
|
try {
|
|
1640
1645
|
// Inline function 'kotlin.also' call
|
|
1641
|
-
var this_0 = drop_0(_this__u8e3s4.
|
|
1642
|
-
raise.vm(_this__u8e3s4.
|
|
1646
|
+
var this_0 = drop_0(_this__u8e3s4.ws_1.js_1, 1);
|
|
1647
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1643
1648
|
var name = this_0;
|
|
1644
1649
|
var tmp_0;
|
|
1645
|
-
if (_this__u8e3s4.
|
|
1646
|
-
raise.vm(_this__u8e3s4.
|
|
1650
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftParenthesis) {
|
|
1651
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1647
1652
|
// Inline function 'kotlin.also' call
|
|
1648
1653
|
var this_1 = raise.vm(parseAnnotationParameters(_this__u8e3s4));
|
|
1649
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1654
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
1650
1655
|
if (equals(tmp0_subject, RightParenthesis_instance))
|
|
1651
|
-
raise.vm(_this__u8e3s4.
|
|
1656
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1652
1657
|
else {
|
|
1653
1658
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
1654
1659
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1657,12 +1662,12 @@ function parseAnnotation(_this__u8e3s4) {
|
|
|
1657
1662
|
var raise_0 = new DefaultRaise(false);
|
|
1658
1663
|
var tmp_1;
|
|
1659
1664
|
try {
|
|
1660
|
-
var tmp2 = _this__u8e3s4.
|
|
1665
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
1661
1666
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
1662
|
-
var actual = null == null ? _this__u8e3s4.
|
|
1667
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
1663
1668
|
// Inline function 'kotlin.also' call
|
|
1664
1669
|
var this_2 = new WrongTokenException(tmp2, getKClass(RightParenthesis), actual);
|
|
1665
|
-
raise_0.vm(_this__u8e3s4.
|
|
1670
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
1666
1671
|
raise_0.rm(this_2);
|
|
1667
1672
|
} catch ($p) {
|
|
1668
1673
|
var tmp_2;
|
|
@@ -1721,13 +1726,13 @@ function parseAnnotationParameters(_this__u8e3s4) {
|
|
|
1721
1726
|
var tmp;
|
|
1722
1727
|
try {
|
|
1723
1728
|
var tmp_0;
|
|
1724
|
-
if (_this__u8e3s4.
|
|
1729
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof RightParenthesis) {
|
|
1725
1730
|
tmp_0 = emptyList();
|
|
1726
1731
|
} else {
|
|
1727
1732
|
var params = raise.vm(parseAnnotationParameter(_this__u8e3s4));
|
|
1728
1733
|
var tmp_1;
|
|
1729
|
-
if (_this__u8e3s4.
|
|
1730
|
-
raise.vm(_this__u8e3s4.
|
|
1734
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Comma) {
|
|
1735
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1731
1736
|
tmp_1 = raise.vm(parseAnnotationParameters(_this__u8e3s4));
|
|
1732
1737
|
} else {
|
|
1733
1738
|
tmp_1 = emptyList();
|
|
@@ -1765,7 +1770,7 @@ function parseAnnotationParameter(_this__u8e3s4) {
|
|
|
1765
1770
|
var raise = new DefaultRaise(false);
|
|
1766
1771
|
var tmp;
|
|
1767
1772
|
try {
|
|
1768
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1773
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
1769
1774
|
var tmp_0;
|
|
1770
1775
|
if (tmp0_subject instanceof LeftBracket) {
|
|
1771
1776
|
var arr = raise.vm(parseArray(_this__u8e3s4));
|
|
@@ -1775,12 +1780,12 @@ function parseAnnotationParameter(_this__u8e3s4) {
|
|
|
1775
1780
|
var dictParams = raise.vm(parseDict(_this__u8e3s4));
|
|
1776
1781
|
tmp_0 = listOf_0(new Parameter('default', new Dict(dictParams)));
|
|
1777
1782
|
} else {
|
|
1778
|
-
var tmp1_subject = _this__u8e3s4.
|
|
1779
|
-
var firstTokenValue = equals(tmp1_subject, LiteralString_instance) ? removeSurrounding(_this__u8e3s4.
|
|
1780
|
-
raise.vm(_this__u8e3s4.
|
|
1783
|
+
var tmp1_subject = _this__u8e3s4.ws_1.ks_1;
|
|
1784
|
+
var firstTokenValue = equals(tmp1_subject, LiteralString_instance) ? removeSurrounding(_this__u8e3s4.ws_1.js_1, '"') : _this__u8e3s4.ws_1.js_1;
|
|
1785
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1781
1786
|
var tmp_1;
|
|
1782
|
-
if (_this__u8e3s4.
|
|
1783
|
-
raise.vm(_this__u8e3s4.
|
|
1787
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Colon) {
|
|
1788
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1784
1789
|
var valueNode = raise.vm(parseAnnotationValue(_this__u8e3s4));
|
|
1785
1790
|
tmp_1 = listOf_0(new Parameter(firstTokenValue, valueNode));
|
|
1786
1791
|
} else {
|
|
@@ -1819,8 +1824,8 @@ function parseArray(_this__u8e3s4) {
|
|
|
1819
1824
|
var raise = new DefaultRaise(false);
|
|
1820
1825
|
var tmp;
|
|
1821
1826
|
try {
|
|
1822
|
-
if (_this__u8e3s4.
|
|
1823
|
-
raise.vm(_this__u8e3s4.
|
|
1827
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftBracket)
|
|
1828
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1824
1829
|
else {
|
|
1825
1830
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
1826
1831
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1829,12 +1834,12 @@ function parseArray(_this__u8e3s4) {
|
|
|
1829
1834
|
var raise_0 = new DefaultRaise(false);
|
|
1830
1835
|
var tmp_0;
|
|
1831
1836
|
try {
|
|
1832
|
-
var tmp2 = _this__u8e3s4.
|
|
1837
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
1833
1838
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
1834
|
-
var actual = null == null ? _this__u8e3s4.
|
|
1839
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
1835
1840
|
// Inline function 'kotlin.also' call
|
|
1836
1841
|
var this_0 = new WrongTokenException(tmp2, getKClass(LeftBracket), actual);
|
|
1837
|
-
raise_0.vm(_this__u8e3s4.
|
|
1842
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
1838
1843
|
raise_0.rm(this_0);
|
|
1839
1844
|
} catch ($p) {
|
|
1840
1845
|
var tmp_1;
|
|
@@ -1860,19 +1865,19 @@ function parseArray(_this__u8e3s4) {
|
|
|
1860
1865
|
}
|
|
1861
1866
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1862
1867
|
var items = ArrayList_init_$Create$_0();
|
|
1863
|
-
while (!equals(_this__u8e3s4.
|
|
1864
|
-
var tmp1_subject = _this__u8e3s4.
|
|
1865
|
-
var v = equals(tmp1_subject, LiteralString_instance) ? new Single(removeSurrounding(_this__u8e3s4.
|
|
1868
|
+
while (!equals(_this__u8e3s4.ws_1.ks_1, RightBracket_instance)) {
|
|
1869
|
+
var tmp1_subject = _this__u8e3s4.ws_1.ks_1;
|
|
1870
|
+
var v = equals(tmp1_subject, LiteralString_instance) ? new Single(removeSurrounding(_this__u8e3s4.ws_1.js_1, '"')) : new Single(_this__u8e3s4.ws_1.js_1);
|
|
1866
1871
|
items.x(v);
|
|
1867
|
-
raise.vm(_this__u8e3s4.
|
|
1868
|
-
var tmp_2 = _this__u8e3s4.
|
|
1872
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1873
|
+
var tmp_2 = _this__u8e3s4.ws_1.ks_1;
|
|
1869
1874
|
if (tmp_2 instanceof Comma) {
|
|
1870
|
-
raise.vm(_this__u8e3s4.
|
|
1875
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1871
1876
|
}
|
|
1872
1877
|
}
|
|
1873
|
-
var tmp2_subject = _this__u8e3s4.
|
|
1878
|
+
var tmp2_subject = _this__u8e3s4.ws_1.ks_1;
|
|
1874
1879
|
if (equals(tmp2_subject, RightBracket_instance))
|
|
1875
|
-
raise.vm(_this__u8e3s4.
|
|
1880
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1876
1881
|
else {
|
|
1877
1882
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
1878
1883
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1881,12 +1886,12 @@ function parseArray(_this__u8e3s4) {
|
|
|
1881
1886
|
var raise_1 = new DefaultRaise(false);
|
|
1882
1887
|
var tmp_3;
|
|
1883
1888
|
try {
|
|
1884
|
-
var tmp2_0 = _this__u8e3s4.
|
|
1889
|
+
var tmp2_0 = _this__u8e3s4.ts_1;
|
|
1885
1890
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
1886
|
-
var actual_0 = null == null ? _this__u8e3s4.
|
|
1891
|
+
var actual_0 = null == null ? _this__u8e3s4.ws_1 : null;
|
|
1887
1892
|
// Inline function 'kotlin.also' call
|
|
1888
1893
|
var this_1 = new WrongTokenException(tmp2_0, getKClass(RightBracket), actual_0);
|
|
1889
|
-
raise_1.vm(_this__u8e3s4.
|
|
1894
|
+
raise_1.vm(_this__u8e3s4.zs());
|
|
1890
1895
|
raise_1.rm(this_1);
|
|
1891
1896
|
} catch ($p) {
|
|
1892
1897
|
var tmp_4;
|
|
@@ -1940,8 +1945,8 @@ function parseDict(_this__u8e3s4) {
|
|
|
1940
1945
|
var raise = new DefaultRaise(false);
|
|
1941
1946
|
var tmp;
|
|
1942
1947
|
try {
|
|
1943
|
-
if (_this__u8e3s4.
|
|
1944
|
-
raise.vm(_this__u8e3s4.
|
|
1948
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftCurly)
|
|
1949
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1945
1950
|
else {
|
|
1946
1951
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
1947
1952
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1950,12 +1955,12 @@ function parseDict(_this__u8e3s4) {
|
|
|
1950
1955
|
var raise_0 = new DefaultRaise(false);
|
|
1951
1956
|
var tmp_0;
|
|
1952
1957
|
try {
|
|
1953
|
-
var tmp2 = _this__u8e3s4.
|
|
1958
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
1954
1959
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
1955
|
-
var actual = null == null ? _this__u8e3s4.
|
|
1960
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
1956
1961
|
// Inline function 'kotlin.also' call
|
|
1957
1962
|
var this_0 = new WrongTokenException(tmp2, getKClass(LeftCurly), actual);
|
|
1958
|
-
raise_0.vm(_this__u8e3s4.
|
|
1963
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
1959
1964
|
raise_0.rm(this_0);
|
|
1960
1965
|
} catch ($p) {
|
|
1961
1966
|
var tmp_1;
|
|
@@ -1982,14 +1987,14 @@ function parseDict(_this__u8e3s4) {
|
|
|
1982
1987
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1983
1988
|
var params = ArrayList_init_$Create$_0();
|
|
1984
1989
|
$l$loop: while (true) {
|
|
1985
|
-
var tmp_2 = _this__u8e3s4.
|
|
1990
|
+
var tmp_2 = _this__u8e3s4.ws_1.ks_1;
|
|
1986
1991
|
if (!!(tmp_2 instanceof RightCurly)) {
|
|
1987
1992
|
break $l$loop;
|
|
1988
1993
|
}
|
|
1989
|
-
var key = _this__u8e3s4.
|
|
1990
|
-
raise.vm(_this__u8e3s4.
|
|
1991
|
-
if (_this__u8e3s4.
|
|
1992
|
-
raise.vm(_this__u8e3s4.
|
|
1994
|
+
var key = _this__u8e3s4.ws_1.js_1;
|
|
1995
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1996
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Colon)
|
|
1997
|
+
raise.vm(_this__u8e3s4.zs());
|
|
1993
1998
|
else {
|
|
1994
1999
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
1995
2000
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1998,12 +2003,12 @@ function parseDict(_this__u8e3s4) {
|
|
|
1998
2003
|
var raise_1 = new DefaultRaise(false);
|
|
1999
2004
|
var tmp_3;
|
|
2000
2005
|
try {
|
|
2001
|
-
var tmp2_0 = _this__u8e3s4.
|
|
2006
|
+
var tmp2_0 = _this__u8e3s4.ts_1;
|
|
2002
2007
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2003
|
-
var actual_0 = null == null ? _this__u8e3s4.
|
|
2008
|
+
var actual_0 = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2004
2009
|
// Inline function 'kotlin.also' call
|
|
2005
2010
|
var this_1 = new WrongTokenException(tmp2_0, getKClass(Colon), actual_0);
|
|
2006
|
-
raise_1.vm(_this__u8e3s4.
|
|
2011
|
+
raise_1.vm(_this__u8e3s4.zs());
|
|
2007
2012
|
raise_1.rm(this_1);
|
|
2008
2013
|
} catch ($p) {
|
|
2009
2014
|
var tmp_4;
|
|
@@ -2029,13 +2034,13 @@ function parseDict(_this__u8e3s4) {
|
|
|
2029
2034
|
}
|
|
2030
2035
|
var value = raise.vm(parseAnnotationValue(_this__u8e3s4));
|
|
2031
2036
|
params.x(new Parameter(key, value));
|
|
2032
|
-
var tmp_5 = _this__u8e3s4.
|
|
2037
|
+
var tmp_5 = _this__u8e3s4.ws_1.ks_1;
|
|
2033
2038
|
if (tmp_5 instanceof Comma) {
|
|
2034
|
-
raise.vm(_this__u8e3s4.
|
|
2039
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2035
2040
|
}
|
|
2036
2041
|
}
|
|
2037
|
-
if (_this__u8e3s4.
|
|
2038
|
-
raise.vm(_this__u8e3s4.
|
|
2042
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof RightCurly)
|
|
2043
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2039
2044
|
else {
|
|
2040
2045
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2041
2046
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -2044,12 +2049,12 @@ function parseDict(_this__u8e3s4) {
|
|
|
2044
2049
|
var raise_2 = new DefaultRaise(false);
|
|
2045
2050
|
var tmp_6;
|
|
2046
2051
|
try {
|
|
2047
|
-
var tmp2_1 = _this__u8e3s4.
|
|
2052
|
+
var tmp2_1 = _this__u8e3s4.ts_1;
|
|
2048
2053
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2049
|
-
var actual_1 = null == null ? _this__u8e3s4.
|
|
2054
|
+
var actual_1 = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2050
2055
|
// Inline function 'kotlin.also' call
|
|
2051
2056
|
var this_2 = new WrongTokenException(tmp2_1, getKClass(RightCurly), actual_1);
|
|
2052
|
-
raise_2.vm(_this__u8e3s4.
|
|
2057
|
+
raise_2.vm(_this__u8e3s4.zs());
|
|
2053
2058
|
raise_2.rm(this_2);
|
|
2054
2059
|
} catch ($p) {
|
|
2055
2060
|
var tmp_7;
|
|
@@ -2103,7 +2108,7 @@ function parseAnnotationValue(_this__u8e3s4) {
|
|
|
2103
2108
|
var raise = new DefaultRaise(false);
|
|
2104
2109
|
var tmp;
|
|
2105
2110
|
try {
|
|
2106
|
-
var tmp0_subject = _this__u8e3s4.
|
|
2111
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
2107
2112
|
var tmp_0;
|
|
2108
2113
|
if (tmp0_subject instanceof LeftBracket) {
|
|
2109
2114
|
var arr = raise.vm(parseArray(_this__u8e3s4));
|
|
@@ -2114,16 +2119,16 @@ function parseAnnotationValue(_this__u8e3s4) {
|
|
|
2114
2119
|
tmp_0 = new Dict(dictParams);
|
|
2115
2120
|
} else {
|
|
2116
2121
|
if (equals(tmp0_subject, LiteralString_instance)) {
|
|
2117
|
-
tmp_0 = new Single(removeSurrounding(_this__u8e3s4.
|
|
2122
|
+
tmp_0 = new Single(removeSurrounding(_this__u8e3s4.ws_1.js_1, '"'));
|
|
2118
2123
|
} else {
|
|
2119
|
-
tmp_0 = new Single(_this__u8e3s4.
|
|
2124
|
+
tmp_0 = new Single(_this__u8e3s4.ws_1.js_1);
|
|
2120
2125
|
}
|
|
2121
2126
|
}
|
|
2122
2127
|
}
|
|
2123
2128
|
// Inline function 'kotlin.also' call
|
|
2124
2129
|
var this_0 = tmp_0;
|
|
2125
2130
|
if (this_0 instanceof Single) {
|
|
2126
|
-
raise.vm(_this__u8e3s4.
|
|
2131
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2127
2132
|
}
|
|
2128
2133
|
var res = this_0;
|
|
2129
2134
|
raise.nm();
|
|
@@ -2153,10 +2158,10 @@ function parseChannelDefinition($this, _this__u8e3s4, comment, annotations, iden
|
|
|
2153
2158
|
}
|
|
2154
2159
|
function ChannelParser$parseChannel$lambda($this_parseChannel, $comment, $annotations) {
|
|
2155
2160
|
return function ($this$parseToken, it) {
|
|
2156
|
-
var tmp0_subject = $this_parseChannel.
|
|
2161
|
+
var tmp0_subject = $this_parseChannel.ws_1.ks_1;
|
|
2157
2162
|
var tmp;
|
|
2158
2163
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
2159
|
-
tmp = $this$parseToken.vm(parseChannelDefinition(ChannelParser_instance, $this_parseChannel, $comment, $annotations, new DefinitionIdentifier($this_parseChannel.
|
|
2164
|
+
tmp = $this$parseToken.vm(parseChannelDefinition(ChannelParser_instance, $this_parseChannel, $comment, $annotations, new DefinitionIdentifier($this_parseChannel.ws_1.js_1)));
|
|
2160
2165
|
} else {
|
|
2161
2166
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2162
2167
|
var this_0 = $this_parseChannel;
|
|
@@ -2166,12 +2171,12 @@ function ChannelParser$parseChannel$lambda($this_parseChannel, $comment, $annota
|
|
|
2166
2171
|
var raise = new DefaultRaise(false);
|
|
2167
2172
|
var tmp_0;
|
|
2168
2173
|
try {
|
|
2169
|
-
var tmp2 = this_0.
|
|
2174
|
+
var tmp2 = this_0.ts_1;
|
|
2170
2175
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2171
|
-
var actual = null == null ? this_0.
|
|
2176
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
2172
2177
|
// Inline function 'kotlin.also' call
|
|
2173
2178
|
var this_1 = new WrongTokenException(tmp2, getKClass(WirespecType_0), actual);
|
|
2174
|
-
raise.vm(this_0.
|
|
2179
|
+
raise.vm(this_0.zs());
|
|
2175
2180
|
raise.rm(this_1);
|
|
2176
2181
|
} catch ($p) {
|
|
2177
2182
|
var tmp_1;
|
|
@@ -2200,8 +2205,8 @@ function ChannelParser$parseChannel$lambda($this_parseChannel, $comment, $annota
|
|
|
2200
2205
|
}
|
|
2201
2206
|
function ChannelParser$parseChannelDefinition$lambda($this_parseChannelDefinition, $comment, $annotations, $identifier) {
|
|
2202
2207
|
return function ($this$parseToken, it) {
|
|
2203
|
-
if ($this_parseChannelDefinition.
|
|
2204
|
-
$this$parseToken.vm($this_parseChannelDefinition.
|
|
2208
|
+
if ($this_parseChannelDefinition.ws_1.ks_1 instanceof Arrow)
|
|
2209
|
+
$this$parseToken.vm($this_parseChannelDefinition.zs());
|
|
2205
2210
|
else {
|
|
2206
2211
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2207
2212
|
var this_0 = $this_parseChannelDefinition;
|
|
@@ -2211,12 +2216,12 @@ function ChannelParser$parseChannelDefinition$lambda($this_parseChannelDefinitio
|
|
|
2211
2216
|
var raise = new DefaultRaise(false);
|
|
2212
2217
|
var tmp;
|
|
2213
2218
|
try {
|
|
2214
|
-
var tmp2 = this_0.
|
|
2219
|
+
var tmp2 = this_0.ts_1;
|
|
2215
2220
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2216
|
-
var actual = null == null ? this_0.
|
|
2221
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
2217
2222
|
// Inline function 'kotlin.also' call
|
|
2218
2223
|
var this_1 = new WrongTokenException(tmp2, getKClass(Colon), actual);
|
|
2219
|
-
raise.vm(this_0.
|
|
2224
|
+
raise.vm(this_0.zs());
|
|
2220
2225
|
raise.rm(this_1);
|
|
2221
2226
|
} catch ($p) {
|
|
2222
2227
|
var tmp_0;
|
|
@@ -2241,13 +2246,13 @@ function ChannelParser$parseChannelDefinition$lambda($this_parseChannelDefinitio
|
|
|
2241
2246
|
throwKotlinNothingValueException();
|
|
2242
2247
|
}
|
|
2243
2248
|
// Inline function 'kotlin.with' call
|
|
2244
|
-
var tmp0_subject = $this_parseChannelDefinition.
|
|
2249
|
+
var tmp0_subject = $this_parseChannelDefinition.ws_1.ks_1;
|
|
2245
2250
|
var tmp_1;
|
|
2246
2251
|
if (tmp0_subject instanceof LeftCurly) {
|
|
2247
|
-
tmp_1 = $this$parseToken.vm(TypeParser_instance.
|
|
2252
|
+
tmp_1 = $this$parseToken.vm(TypeParser_instance.bt($this_parseChannelDefinition));
|
|
2248
2253
|
} else {
|
|
2249
2254
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
2250
|
-
tmp_1 = $this$parseToken.vm(TypeParser_instance.
|
|
2255
|
+
tmp_1 = $this$parseToken.vm(TypeParser_instance.at($this_parseChannelDefinition));
|
|
2251
2256
|
} else {
|
|
2252
2257
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2253
2258
|
var this_2 = $this_parseChannelDefinition;
|
|
@@ -2257,12 +2262,12 @@ function ChannelParser$parseChannelDefinition$lambda($this_parseChannelDefinitio
|
|
|
2257
2262
|
var raise_0 = new DefaultRaise(false);
|
|
2258
2263
|
var tmp_2;
|
|
2259
2264
|
try {
|
|
2260
|
-
var tmp2_0 = this_2.
|
|
2265
|
+
var tmp2_0 = this_2.ts_1;
|
|
2261
2266
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2262
|
-
var actual_0 = null == null ? this_2.
|
|
2267
|
+
var actual_0 = null == null ? this_2.ws_1 : null;
|
|
2263
2268
|
// Inline function 'kotlin.also' call
|
|
2264
2269
|
var this_3 = new WrongTokenException(tmp2_0, getKClass(WirespecType_0), actual_0);
|
|
2265
|
-
raise_0.vm(this_2.
|
|
2270
|
+
raise_0.vm(this_2.zs());
|
|
2266
2271
|
raise_0.rm(this_3);
|
|
2267
2272
|
} catch ($p) {
|
|
2268
2273
|
var tmp_3;
|
|
@@ -2293,7 +2298,7 @@ function ChannelParser$parseChannelDefinition$lambda($this_parseChannelDefinitio
|
|
|
2293
2298
|
}
|
|
2294
2299
|
function ChannelParser() {
|
|
2295
2300
|
}
|
|
2296
|
-
protoOf(ChannelParser).
|
|
2301
|
+
protoOf(ChannelParser).ct = function (_this__u8e3s4, comment, annotations) {
|
|
2297
2302
|
return parseToken(_this__u8e3s4, ChannelParser$parseChannel$lambda(_this__u8e3s4, comment, annotations));
|
|
2298
2303
|
};
|
|
2299
2304
|
var ChannelParser_instance;
|
|
@@ -2310,12 +2315,12 @@ function parseEndpointSegments($this, _this__u8e3s4) {
|
|
|
2310
2315
|
var raise = new DefaultRaise(false);
|
|
2311
2316
|
var tmp;
|
|
2312
2317
|
try {
|
|
2313
|
-
var tmp0_subject = _this__u8e3s4.
|
|
2318
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
2314
2319
|
var tmp_0;
|
|
2315
2320
|
if (tmp0_subject instanceof Path) {
|
|
2316
2321
|
// Inline function 'kotlin.also' call
|
|
2317
|
-
var this_0 = new Literal(drop_0(_this__u8e3s4.
|
|
2318
|
-
raise.vm(_this__u8e3s4.
|
|
2322
|
+
var this_0 = new Literal(drop_0(_this__u8e3s4.ws_1.js_1, 1));
|
|
2323
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2319
2324
|
tmp_0 = this_0;
|
|
2320
2325
|
} else {
|
|
2321
2326
|
if (tmp0_subject instanceof ForwardSlash) {
|
|
@@ -2328,12 +2333,12 @@ function parseEndpointSegments($this, _this__u8e3s4) {
|
|
|
2328
2333
|
var raise_0 = new DefaultRaise(false);
|
|
2329
2334
|
var tmp_1;
|
|
2330
2335
|
try {
|
|
2331
|
-
var tmp2 = _this__u8e3s4.
|
|
2336
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
2332
2337
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2333
|
-
var actual = null == null ? _this__u8e3s4.
|
|
2338
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2334
2339
|
// Inline function 'kotlin.also' call
|
|
2335
2340
|
var this_1 = new WrongTokenException(tmp2, getKClass(Path), actual);
|
|
2336
|
-
raise_0.vm(_this__u8e3s4.
|
|
2341
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
2337
2342
|
raise_0.rm(this_1);
|
|
2338
2343
|
} catch ($p) {
|
|
2339
2344
|
var tmp_2;
|
|
@@ -2394,13 +2399,13 @@ function parseEndpointResponses($this, _this__u8e3s4) {
|
|
|
2394
2399
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2395
2400
|
var responses = ArrayList_init_$Create$_0();
|
|
2396
2401
|
$l$loop: while (true) {
|
|
2397
|
-
var tmp_0 = _this__u8e3s4.
|
|
2402
|
+
var tmp_0 = _this__u8e3s4.ws_1.ks_1;
|
|
2398
2403
|
if (!!(tmp_0 instanceof RightCurly)) {
|
|
2399
2404
|
break $l$loop;
|
|
2400
2405
|
}
|
|
2401
|
-
var annotations = raise.vm(AnnotationParser_instance.
|
|
2402
|
-
if (_this__u8e3s4.
|
|
2403
|
-
responses.x(raise.vm(parseEndpointResponse(EndpointParser_instance, _this__u8e3s4, _this__u8e3s4.
|
|
2406
|
+
var annotations = raise.vm(AnnotationParser_instance.ss(_this__u8e3s4));
|
|
2407
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Integer_0)
|
|
2408
|
+
responses.x(raise.vm(parseEndpointResponse(EndpointParser_instance, _this__u8e3s4, _this__u8e3s4.ws_1.js_1, annotations)));
|
|
2404
2409
|
else {
|
|
2405
2410
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2406
2411
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -2409,12 +2414,12 @@ function parseEndpointResponses($this, _this__u8e3s4) {
|
|
|
2409
2414
|
var raise_0 = new DefaultRaise(false);
|
|
2410
2415
|
var tmp_1;
|
|
2411
2416
|
try {
|
|
2412
|
-
var tmp2 = _this__u8e3s4.
|
|
2417
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
2413
2418
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2414
|
-
var actual = null == null ? _this__u8e3s4.
|
|
2419
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2415
2420
|
// Inline function 'kotlin.also' call
|
|
2416
2421
|
var this_0 = new WrongTokenException(tmp2, getKClass(Integer_0), actual);
|
|
2417
|
-
raise_0.vm(_this__u8e3s4.
|
|
2422
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
2418
2423
|
raise_0.rm(this_0);
|
|
2419
2424
|
} catch ($p) {
|
|
2420
2425
|
var tmp_2;
|
|
@@ -2439,7 +2444,7 @@ function parseEndpointResponses($this, _this__u8e3s4) {
|
|
|
2439
2444
|
throwKotlinNothingValueException();
|
|
2440
2445
|
}
|
|
2441
2446
|
}
|
|
2442
|
-
if (!(_this__u8e3s4.
|
|
2447
|
+
if (!(_this__u8e3s4.ws_1.ks_1 instanceof RightCurly)) {
|
|
2443
2448
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2444
2449
|
// Inline function 'arrow.core.raise.either' call
|
|
2445
2450
|
// Inline function 'arrow.core.raise.fold' call
|
|
@@ -2447,12 +2452,12 @@ function parseEndpointResponses($this, _this__u8e3s4) {
|
|
|
2447
2452
|
var raise_1 = new DefaultRaise(false);
|
|
2448
2453
|
var tmp_3;
|
|
2449
2454
|
try {
|
|
2450
|
-
var tmp2_0 = _this__u8e3s4.
|
|
2455
|
+
var tmp2_0 = _this__u8e3s4.ts_1;
|
|
2451
2456
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2452
|
-
var actual_0 = null == null ? _this__u8e3s4.
|
|
2457
|
+
var actual_0 = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2453
2458
|
// Inline function 'kotlin.also' call
|
|
2454
2459
|
var this_1 = new WrongTokenException(tmp2_0, getKClass(RightCurly), actual_0);
|
|
2455
|
-
raise_1.vm(_this__u8e3s4.
|
|
2460
|
+
raise_1.vm(_this__u8e3s4.zs());
|
|
2456
2461
|
raise_1.rm(this_1);
|
|
2457
2462
|
} catch ($p) {
|
|
2458
2463
|
var tmp_4;
|
|
@@ -2477,7 +2482,7 @@ function parseEndpointResponses($this, _this__u8e3s4) {
|
|
|
2477
2482
|
throwKotlinNothingValueException();
|
|
2478
2483
|
}
|
|
2479
2484
|
// Inline function 'kotlin.also' call
|
|
2480
|
-
raise.vm(_this__u8e3s4.
|
|
2485
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2481
2486
|
var res = toList(responses);
|
|
2482
2487
|
raise.nm();
|
|
2483
2488
|
tmp = new Right(res);
|
|
@@ -2512,12 +2517,12 @@ function parseHeaders($this, _this__u8e3s4) {
|
|
|
2512
2517
|
var tmp;
|
|
2513
2518
|
try {
|
|
2514
2519
|
var tmp_0;
|
|
2515
|
-
if (_this__u8e3s4.
|
|
2516
|
-
raise.vm(_this__u8e3s4.
|
|
2520
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Hash) {
|
|
2521
|
+
raise.vm(_this__u8e3s4.zs());
|
|
2517
2522
|
var tmp_1;
|
|
2518
|
-
if (_this__u8e3s4.
|
|
2523
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftCurly) {
|
|
2519
2524
|
// Inline function 'kotlin.with' call
|
|
2520
|
-
tmp_1 = raise.vm(TypeParser_instance.
|
|
2525
|
+
tmp_1 = raise.vm(TypeParser_instance.dt(_this__u8e3s4)).jp_1;
|
|
2521
2526
|
} else {
|
|
2522
2527
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2523
2528
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -2526,12 +2531,12 @@ function parseHeaders($this, _this__u8e3s4) {
|
|
|
2526
2531
|
var raise_0 = new DefaultRaise(false);
|
|
2527
2532
|
var tmp_2;
|
|
2528
2533
|
try {
|
|
2529
|
-
var tmp2 = _this__u8e3s4.
|
|
2534
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
2530
2535
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2531
|
-
var actual = null == null ? _this__u8e3s4.
|
|
2536
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
2532
2537
|
// Inline function 'kotlin.also' call
|
|
2533
2538
|
var this_0 = new WrongTokenException(tmp2, getKClass(LeftCurly), actual);
|
|
2534
|
-
raise_0.vm(_this__u8e3s4.
|
|
2539
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
2535
2540
|
raise_0.rm(this_0);
|
|
2536
2541
|
} catch ($p) {
|
|
2537
2542
|
var tmp_3;
|
|
@@ -2584,10 +2589,10 @@ function parseHeaders($this, _this__u8e3s4) {
|
|
|
2584
2589
|
}
|
|
2585
2590
|
function EndpointParser$parseEndpoint$lambda($this_parseEndpoint, $comment, $annotations) {
|
|
2586
2591
|
return function ($this$parseToken, it) {
|
|
2587
|
-
var tmp0_subject = $this_parseEndpoint.
|
|
2592
|
+
var tmp0_subject = $this_parseEndpoint.ws_1.ks_1;
|
|
2588
2593
|
var tmp;
|
|
2589
2594
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
2590
|
-
tmp = $this$parseToken.vm(parseEndpointDefinition(EndpointParser_instance, $this_parseEndpoint, $comment, $annotations, new DefinitionIdentifier($this_parseEndpoint.
|
|
2595
|
+
tmp = $this$parseToken.vm(parseEndpointDefinition(EndpointParser_instance, $this_parseEndpoint, $comment, $annotations, new DefinitionIdentifier($this_parseEndpoint.ws_1.js_1)));
|
|
2591
2596
|
} else {
|
|
2592
2597
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2593
2598
|
var this_0 = $this_parseEndpoint;
|
|
@@ -2597,12 +2602,12 @@ function EndpointParser$parseEndpoint$lambda($this_parseEndpoint, $comment, $ann
|
|
|
2597
2602
|
var raise = new DefaultRaise(false);
|
|
2598
2603
|
var tmp_0;
|
|
2599
2604
|
try {
|
|
2600
|
-
var tmp2 = this_0.
|
|
2605
|
+
var tmp2 = this_0.ts_1;
|
|
2601
2606
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2602
|
-
var actual = null == null ? this_0.
|
|
2607
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
2603
2608
|
// Inline function 'kotlin.also' call
|
|
2604
2609
|
var this_1 = new WrongTokenException(tmp2, getKClass(WirespecType_0), actual);
|
|
2605
|
-
raise.vm(this_0.
|
|
2610
|
+
raise.vm(this_0.zs());
|
|
2606
2611
|
raise.rm(this_1);
|
|
2607
2612
|
} catch ($p) {
|
|
2608
2613
|
var tmp_1;
|
|
@@ -2632,8 +2637,8 @@ function EndpointParser$parseEndpoint$lambda($this_parseEndpoint, $comment, $ann
|
|
|
2632
2637
|
function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefinition, $comment, $annotations, $name) {
|
|
2633
2638
|
return function ($this$parseToken, it) {
|
|
2634
2639
|
var tmp;
|
|
2635
|
-
if ($this_parseEndpointDefinition.
|
|
2636
|
-
tmp = valueOf($this_parseEndpointDefinition.
|
|
2640
|
+
if ($this_parseEndpointDefinition.ws_1.ks_1 instanceof Method_0) {
|
|
2641
|
+
tmp = valueOf($this_parseEndpointDefinition.ws_1.js_1);
|
|
2637
2642
|
} else {
|
|
2638
2643
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2639
2644
|
var this_0 = $this_parseEndpointDefinition;
|
|
@@ -2643,12 +2648,12 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2643
2648
|
var raise = new DefaultRaise(false);
|
|
2644
2649
|
var tmp_0;
|
|
2645
2650
|
try {
|
|
2646
|
-
var tmp2 = this_0.
|
|
2651
|
+
var tmp2 = this_0.ts_1;
|
|
2647
2652
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2648
|
-
var actual = null == null ? this_0.
|
|
2653
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
2649
2654
|
// Inline function 'kotlin.also' call
|
|
2650
2655
|
var this_1 = new WrongTokenException(tmp2, getKClass(Method_0), actual);
|
|
2651
|
-
raise.vm(this_0.
|
|
2656
|
+
raise.vm(this_0.zs());
|
|
2652
2657
|
raise.rm(this_1);
|
|
2653
2658
|
} catch ($p) {
|
|
2654
2659
|
var tmp_1;
|
|
@@ -2674,16 +2679,16 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2674
2679
|
}
|
|
2675
2680
|
// Inline function 'kotlin.also' call
|
|
2676
2681
|
var this_2 = tmp;
|
|
2677
|
-
$this$parseToken.vm($this_parseEndpointDefinition.
|
|
2682
|
+
$this$parseToken.vm($this_parseEndpointDefinition.zs());
|
|
2678
2683
|
var method = this_2;
|
|
2679
2684
|
// Inline function 'kotlin.with' call
|
|
2680
|
-
var tmp0_subject = $this_parseEndpointDefinition.
|
|
2685
|
+
var tmp0_subject = $this_parseEndpointDefinition.ws_1.ks_1;
|
|
2681
2686
|
var tmp_2;
|
|
2682
2687
|
if (tmp0_subject instanceof LeftCurly) {
|
|
2683
|
-
tmp_2 = $this$parseToken.vm(TypeParser_instance.
|
|
2688
|
+
tmp_2 = $this$parseToken.vm(TypeParser_instance.bt($this_parseEndpointDefinition));
|
|
2684
2689
|
} else {
|
|
2685
2690
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
2686
|
-
tmp_2 = $this$parseToken.vm(TypeParser_instance.
|
|
2691
|
+
tmp_2 = $this$parseToken.vm(TypeParser_instance.at($this_parseEndpointDefinition));
|
|
2687
2692
|
} else {
|
|
2688
2693
|
tmp_2 = null;
|
|
2689
2694
|
}
|
|
@@ -2713,15 +2718,15 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2713
2718
|
$l$loop: while (true) {
|
|
2714
2719
|
var tmp_4;
|
|
2715
2720
|
var tmp_5;
|
|
2716
|
-
var tmp_6 = $this_parseEndpointDefinition.
|
|
2721
|
+
var tmp_6 = $this_parseEndpointDefinition.ws_1.ks_1;
|
|
2717
2722
|
if (!(tmp_6 instanceof QuestionMark)) {
|
|
2718
|
-
var tmp_7 = $this_parseEndpointDefinition.
|
|
2723
|
+
var tmp_7 = $this_parseEndpointDefinition.ws_1.ks_1;
|
|
2719
2724
|
tmp_5 = !(tmp_7 instanceof Hash);
|
|
2720
2725
|
} else {
|
|
2721
2726
|
tmp_5 = false;
|
|
2722
2727
|
}
|
|
2723
2728
|
if (tmp_5) {
|
|
2724
|
-
var tmp_8 = $this_parseEndpointDefinition.
|
|
2729
|
+
var tmp_8 = $this_parseEndpointDefinition.ws_1.ks_1;
|
|
2725
2730
|
tmp_4 = !(tmp_8 instanceof Arrow);
|
|
2726
2731
|
} else {
|
|
2727
2732
|
tmp_4 = false;
|
|
@@ -2733,12 +2738,12 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2733
2738
|
}
|
|
2734
2739
|
var segments = this_4;
|
|
2735
2740
|
var tmp_9;
|
|
2736
|
-
if ($this_parseEndpointDefinition.
|
|
2737
|
-
$this$parseToken.vm($this_parseEndpointDefinition.
|
|
2741
|
+
if ($this_parseEndpointDefinition.ws_1.ks_1 instanceof QuestionMark) {
|
|
2742
|
+
$this$parseToken.vm($this_parseEndpointDefinition.zs());
|
|
2738
2743
|
var tmp_10;
|
|
2739
|
-
if ($this_parseEndpointDefinition.
|
|
2744
|
+
if ($this_parseEndpointDefinition.ws_1.ks_1 instanceof LeftCurly) {
|
|
2740
2745
|
// Inline function 'kotlin.with' call
|
|
2741
|
-
tmp_10 = $this$parseToken.vm(TypeParser_instance.
|
|
2746
|
+
tmp_10 = $this$parseToken.vm(TypeParser_instance.dt($this_parseEndpointDefinition)).jp_1;
|
|
2742
2747
|
} else {
|
|
2743
2748
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2744
2749
|
var this_5 = $this_parseEndpointDefinition;
|
|
@@ -2748,12 +2753,12 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2748
2753
|
var raise_0 = new DefaultRaise(false);
|
|
2749
2754
|
var tmp_11;
|
|
2750
2755
|
try {
|
|
2751
|
-
var tmp2_0 = this_5.
|
|
2756
|
+
var tmp2_0 = this_5.ts_1;
|
|
2752
2757
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2753
|
-
var actual_0 = null == null ? this_5.
|
|
2758
|
+
var actual_0 = null == null ? this_5.ws_1 : null;
|
|
2754
2759
|
// Inline function 'kotlin.also' call
|
|
2755
2760
|
var this_6 = new WrongTokenException(tmp2_0, getKClass(LeftCurly), actual_0);
|
|
2756
|
-
raise_0.vm(this_5.
|
|
2761
|
+
raise_0.vm(this_5.zs());
|
|
2757
2762
|
raise_0.rm(this_6);
|
|
2758
2763
|
} catch ($p) {
|
|
2759
2764
|
var tmp_12;
|
|
@@ -2783,8 +2788,8 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2783
2788
|
}
|
|
2784
2789
|
var queryParams = tmp_9;
|
|
2785
2790
|
var headers = $this$parseToken.vm(parseHeaders(EndpointParser_instance, $this_parseEndpointDefinition));
|
|
2786
|
-
if ($this_parseEndpointDefinition.
|
|
2787
|
-
$this$parseToken.vm($this_parseEndpointDefinition.
|
|
2791
|
+
if ($this_parseEndpointDefinition.ws_1.ks_1 instanceof Arrow)
|
|
2792
|
+
$this$parseToken.vm($this_parseEndpointDefinition.zs());
|
|
2788
2793
|
else {
|
|
2789
2794
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2790
2795
|
var this_7 = $this_parseEndpointDefinition;
|
|
@@ -2794,12 +2799,12 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2794
2799
|
var raise_1 = new DefaultRaise(false);
|
|
2795
2800
|
var tmp_13;
|
|
2796
2801
|
try {
|
|
2797
|
-
var tmp2_1 = this_7.
|
|
2802
|
+
var tmp2_1 = this_7.ts_1;
|
|
2798
2803
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2799
|
-
var actual_1 = null == null ? this_7.
|
|
2804
|
+
var actual_1 = null == null ? this_7.ws_1 : null;
|
|
2800
2805
|
// Inline function 'kotlin.also' call
|
|
2801
2806
|
var this_8 = new WrongTokenException(tmp2_1, getKClass(Arrow), actual_1);
|
|
2802
|
-
raise_1.vm(this_7.
|
|
2807
|
+
raise_1.vm(this_7.zs());
|
|
2803
2808
|
raise_1.rm(this_8);
|
|
2804
2809
|
} catch ($p) {
|
|
2805
2810
|
var tmp_14;
|
|
@@ -2823,7 +2828,7 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2823
2828
|
$this$parseToken.vm(tmp$ret$40);
|
|
2824
2829
|
throwKotlinNothingValueException();
|
|
2825
2830
|
}
|
|
2826
|
-
if (!($this_parseEndpointDefinition.
|
|
2831
|
+
if (!($this_parseEndpointDefinition.ws_1.ks_1 instanceof LeftCurly)) {
|
|
2827
2832
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2828
2833
|
var this_9 = $this_parseEndpointDefinition;
|
|
2829
2834
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -2832,12 +2837,12 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2832
2837
|
var raise_2 = new DefaultRaise(false);
|
|
2833
2838
|
var tmp_15;
|
|
2834
2839
|
try {
|
|
2835
|
-
var tmp2_2 = this_9.
|
|
2840
|
+
var tmp2_2 = this_9.ts_1;
|
|
2836
2841
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2837
|
-
var actual_2 = null == null ? this_9.
|
|
2842
|
+
var actual_2 = null == null ? this_9.ws_1 : null;
|
|
2838
2843
|
// Inline function 'kotlin.also' call
|
|
2839
2844
|
var this_10 = new WrongTokenException(tmp2_2, getKClass(LeftCurly), actual_2);
|
|
2840
|
-
raise_2.vm(this_9.
|
|
2845
|
+
raise_2.vm(this_9.zs());
|
|
2841
2846
|
raise_2.rm(this_10);
|
|
2842
2847
|
} catch ($p) {
|
|
2843
2848
|
var tmp_16;
|
|
@@ -2862,15 +2867,15 @@ function EndpointParser$parseEndpointDefinition$lambda($this_parseEndpointDefini
|
|
|
2862
2867
|
throwKotlinNothingValueException();
|
|
2863
2868
|
}
|
|
2864
2869
|
// Inline function 'kotlin.also' call
|
|
2865
|
-
$this$parseToken.vm($this_parseEndpointDefinition.
|
|
2870
|
+
$this$parseToken.vm($this_parseEndpointDefinition.zs());
|
|
2866
2871
|
var responses = $this$parseToken.vm(parseEndpointResponses(EndpointParser_instance, $this_parseEndpointDefinition));
|
|
2867
2872
|
return new Endpoint($comment, $annotations, $name, method, segments, queryParams, headers, requests, responses);
|
|
2868
2873
|
};
|
|
2869
2874
|
}
|
|
2870
2875
|
function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegmentParam) {
|
|
2871
2876
|
return function ($this$parseToken, it) {
|
|
2872
|
-
if ($this_parseEndpointSegmentParam.
|
|
2873
|
-
$this$parseToken.vm($this_parseEndpointSegmentParam.
|
|
2877
|
+
if ($this_parseEndpointSegmentParam.ws_1.ks_1 instanceof LeftCurly)
|
|
2878
|
+
$this$parseToken.vm($this_parseEndpointSegmentParam.zs());
|
|
2874
2879
|
else {
|
|
2875
2880
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2876
2881
|
var this_0 = $this_parseEndpointSegmentParam;
|
|
@@ -2880,12 +2885,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2880
2885
|
var raise = new DefaultRaise(false);
|
|
2881
2886
|
var tmp;
|
|
2882
2887
|
try {
|
|
2883
|
-
var tmp2 = this_0.
|
|
2888
|
+
var tmp2 = this_0.ts_1;
|
|
2884
2889
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2885
|
-
var actual = null == null ? this_0.
|
|
2890
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
2886
2891
|
// Inline function 'kotlin.also' call
|
|
2887
2892
|
var this_1 = new WrongTokenException(tmp2, getKClass(LeftCurly), actual);
|
|
2888
|
-
raise.vm(this_0.
|
|
2893
|
+
raise.vm(this_0.zs());
|
|
2889
2894
|
raise.rm(this_1);
|
|
2890
2895
|
} catch ($p) {
|
|
2891
2896
|
var tmp_0;
|
|
@@ -2909,12 +2914,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2909
2914
|
$this$parseToken.vm(tmp$ret$8);
|
|
2910
2915
|
throwKotlinNothingValueException();
|
|
2911
2916
|
}
|
|
2912
|
-
var tmp1_subject = $this_parseEndpointSegmentParam.
|
|
2917
|
+
var tmp1_subject = $this_parseEndpointSegmentParam.ws_1.ks_1;
|
|
2913
2918
|
var tmp_1;
|
|
2914
2919
|
if (isInterface(tmp1_subject, WirespecIdentifier)) {
|
|
2915
2920
|
// Inline function 'kotlin.also' call
|
|
2916
|
-
var this_2 = new FieldIdentifier($this_parseEndpointSegmentParam.
|
|
2917
|
-
$this$parseToken.vm($this_parseEndpointSegmentParam.
|
|
2921
|
+
var this_2 = new FieldIdentifier($this_parseEndpointSegmentParam.ws_1.js_1);
|
|
2922
|
+
$this$parseToken.vm($this_parseEndpointSegmentParam.zs());
|
|
2918
2923
|
tmp_1 = this_2;
|
|
2919
2924
|
} else {
|
|
2920
2925
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
@@ -2925,12 +2930,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2925
2930
|
var raise_0 = new DefaultRaise(false);
|
|
2926
2931
|
var tmp_2;
|
|
2927
2932
|
try {
|
|
2928
|
-
var tmp2_0 = this_3.
|
|
2933
|
+
var tmp2_0 = this_3.ts_1;
|
|
2929
2934
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2930
|
-
var actual_0 = null == null ? this_3.
|
|
2935
|
+
var actual_0 = null == null ? this_3.ws_1 : null;
|
|
2931
2936
|
// Inline function 'kotlin.also' call
|
|
2932
2937
|
var this_4 = new WrongTokenException(tmp2_0, getKClass(WirespecIdentifier), actual_0);
|
|
2933
|
-
raise_0.vm(this_3.
|
|
2938
|
+
raise_0.vm(this_3.zs());
|
|
2934
2939
|
raise_0.rm(this_4);
|
|
2935
2940
|
} catch ($p) {
|
|
2936
2941
|
var tmp_3;
|
|
@@ -2955,8 +2960,8 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2955
2960
|
tmp_1 = throwKotlinNothingValueException();
|
|
2956
2961
|
}
|
|
2957
2962
|
var identifier = tmp_1;
|
|
2958
|
-
if ($this_parseEndpointSegmentParam.
|
|
2959
|
-
$this$parseToken.vm($this_parseEndpointSegmentParam.
|
|
2963
|
+
if ($this_parseEndpointSegmentParam.ws_1.ks_1 instanceof Colon)
|
|
2964
|
+
$this$parseToken.vm($this_parseEndpointSegmentParam.zs());
|
|
2960
2965
|
else {
|
|
2961
2966
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
2962
2967
|
var this_5 = $this_parseEndpointSegmentParam;
|
|
@@ -2966,12 +2971,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2966
2971
|
var raise_1 = new DefaultRaise(false);
|
|
2967
2972
|
var tmp_4;
|
|
2968
2973
|
try {
|
|
2969
|
-
var tmp2_1 = this_5.
|
|
2974
|
+
var tmp2_1 = this_5.ts_1;
|
|
2970
2975
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
2971
|
-
var actual_1 = null == null ? this_5.
|
|
2976
|
+
var actual_1 = null == null ? this_5.ws_1 : null;
|
|
2972
2977
|
// Inline function 'kotlin.also' call
|
|
2973
2978
|
var this_6 = new WrongTokenException(tmp2_1, getKClass(Colon), actual_1);
|
|
2974
|
-
raise_1.vm(this_5.
|
|
2979
|
+
raise_1.vm(this_5.zs());
|
|
2975
2980
|
raise_1.rm(this_6);
|
|
2976
2981
|
} catch ($p) {
|
|
2977
2982
|
var tmp_5;
|
|
@@ -2996,13 +3001,13 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
2996
3001
|
throwKotlinNothingValueException();
|
|
2997
3002
|
}
|
|
2998
3003
|
// Inline function 'kotlin.with' call
|
|
2999
|
-
var tmp0_subject = $this_parseEndpointSegmentParam.
|
|
3004
|
+
var tmp0_subject = $this_parseEndpointSegmentParam.ws_1.ks_1;
|
|
3000
3005
|
var tmp_6;
|
|
3001
3006
|
if (tmp0_subject instanceof LeftCurly) {
|
|
3002
|
-
tmp_6 = $this$parseToken.vm(TypeParser_instance.
|
|
3007
|
+
tmp_6 = $this$parseToken.vm(TypeParser_instance.bt($this_parseEndpointSegmentParam));
|
|
3003
3008
|
} else {
|
|
3004
3009
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
3005
|
-
tmp_6 = $this$parseToken.vm(TypeParser_instance.
|
|
3010
|
+
tmp_6 = $this$parseToken.vm(TypeParser_instance.at($this_parseEndpointSegmentParam));
|
|
3006
3011
|
} else {
|
|
3007
3012
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3008
3013
|
var this_7 = $this_parseEndpointSegmentParam;
|
|
@@ -3012,12 +3017,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
3012
3017
|
var raise_2 = new DefaultRaise(false);
|
|
3013
3018
|
var tmp_7;
|
|
3014
3019
|
try {
|
|
3015
|
-
var tmp2_2 = this_7.
|
|
3020
|
+
var tmp2_2 = this_7.ts_1;
|
|
3016
3021
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3017
|
-
var actual_2 = null == null ? this_7.
|
|
3022
|
+
var actual_2 = null == null ? this_7.ws_1 : null;
|
|
3018
3023
|
// Inline function 'kotlin.also' call
|
|
3019
3024
|
var this_8 = new WrongTokenException(tmp2_2, getKClass(WirespecType_0), actual_2);
|
|
3020
|
-
raise_2.vm(this_7.
|
|
3025
|
+
raise_2.vm(this_7.zs());
|
|
3021
3026
|
raise_2.rm(this_8);
|
|
3022
3027
|
} catch ($p) {
|
|
3023
3028
|
var tmp_8;
|
|
@@ -3043,8 +3048,8 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
3043
3048
|
}
|
|
3044
3049
|
}
|
|
3045
3050
|
var reference = tmp_6;
|
|
3046
|
-
if ($this_parseEndpointSegmentParam.
|
|
3047
|
-
$this$parseToken.vm($this_parseEndpointSegmentParam.
|
|
3051
|
+
if ($this_parseEndpointSegmentParam.ws_1.ks_1 instanceof RightCurly)
|
|
3052
|
+
$this$parseToken.vm($this_parseEndpointSegmentParam.zs());
|
|
3048
3053
|
else {
|
|
3049
3054
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3050
3055
|
var this_9 = $this_parseEndpointSegmentParam;
|
|
@@ -3054,12 +3059,12 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
3054
3059
|
var raise_3 = new DefaultRaise(false);
|
|
3055
3060
|
var tmp_9;
|
|
3056
3061
|
try {
|
|
3057
|
-
var tmp2_3 = this_9.
|
|
3062
|
+
var tmp2_3 = this_9.ts_1;
|
|
3058
3063
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3059
|
-
var actual_3 = null == null ? this_9.
|
|
3064
|
+
var actual_3 = null == null ? this_9.ws_1 : null;
|
|
3060
3065
|
// Inline function 'kotlin.also' call
|
|
3061
3066
|
var this_10 = new WrongTokenException(tmp2_3, getKClass(RightCurly), actual_3);
|
|
3062
|
-
raise_3.vm(this_9.
|
|
3067
|
+
raise_3.vm(this_9.zs());
|
|
3063
3068
|
raise_3.rm(this_10);
|
|
3064
3069
|
} catch ($p) {
|
|
3065
3070
|
var tmp_10;
|
|
@@ -3089,7 +3094,7 @@ function EndpointParser$parseEndpointSegmentParam$lambda($this_parseEndpointSegm
|
|
|
3089
3094
|
function EndpointParser$parseEndpointResponse$lambda($this_parseEndpointResponse, $statusCode, $annotations) {
|
|
3090
3095
|
return function ($this$parseToken, it) {
|
|
3091
3096
|
var tmp;
|
|
3092
|
-
if ($this_parseEndpointResponse.
|
|
3097
|
+
if ($this_parseEndpointResponse.ws_1.ks_1 instanceof Arrow) {
|
|
3093
3098
|
tmp = Unit_instance;
|
|
3094
3099
|
} else {
|
|
3095
3100
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
@@ -3100,12 +3105,12 @@ function EndpointParser$parseEndpointResponse$lambda($this_parseEndpointResponse
|
|
|
3100
3105
|
var raise = new DefaultRaise(false);
|
|
3101
3106
|
var tmp_0;
|
|
3102
3107
|
try {
|
|
3103
|
-
var tmp2 = this_0.
|
|
3108
|
+
var tmp2 = this_0.ts_1;
|
|
3104
3109
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3105
|
-
var actual = null == null ? this_0.
|
|
3110
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
3106
3111
|
// Inline function 'kotlin.also' call
|
|
3107
3112
|
var this_1 = new WrongTokenException(tmp2, getKClass(Arrow), actual);
|
|
3108
|
-
raise.vm(this_0.
|
|
3113
|
+
raise.vm(this_0.zs());
|
|
3109
3114
|
raise.rm(this_1);
|
|
3110
3115
|
} catch ($p) {
|
|
3111
3116
|
var tmp_1;
|
|
@@ -3129,15 +3134,15 @@ function EndpointParser$parseEndpointResponse$lambda($this_parseEndpointResponse
|
|
|
3129
3134
|
$this$parseToken.vm(tmp$ret$8);
|
|
3130
3135
|
tmp = throwKotlinNothingValueException();
|
|
3131
3136
|
}
|
|
3132
|
-
$this$parseToken.vm($this_parseEndpointResponse.
|
|
3137
|
+
$this$parseToken.vm($this_parseEndpointResponse.zs());
|
|
3133
3138
|
// Inline function 'kotlin.with' call
|
|
3134
|
-
var tmp0_subject = $this_parseEndpointResponse.
|
|
3139
|
+
var tmp0_subject = $this_parseEndpointResponse.ws_1.ks_1;
|
|
3135
3140
|
var tmp_2;
|
|
3136
3141
|
if (tmp0_subject instanceof LeftCurly) {
|
|
3137
|
-
tmp_2 = $this$parseToken.vm(TypeParser_instance.
|
|
3142
|
+
tmp_2 = $this$parseToken.vm(TypeParser_instance.bt($this_parseEndpointResponse));
|
|
3138
3143
|
} else {
|
|
3139
3144
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
3140
|
-
tmp_2 = $this$parseToken.vm(TypeParser_instance.
|
|
3145
|
+
tmp_2 = $this$parseToken.vm(TypeParser_instance.at($this_parseEndpointResponse));
|
|
3141
3146
|
} else {
|
|
3142
3147
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3143
3148
|
var this_2 = $this_parseEndpointResponse;
|
|
@@ -3147,12 +3152,12 @@ function EndpointParser$parseEndpointResponse$lambda($this_parseEndpointResponse
|
|
|
3147
3152
|
var raise_0 = new DefaultRaise(false);
|
|
3148
3153
|
var tmp_3;
|
|
3149
3154
|
try {
|
|
3150
|
-
var tmp2_0 = this_2.
|
|
3155
|
+
var tmp2_0 = this_2.ts_1;
|
|
3151
3156
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3152
|
-
var actual_0 = null == null ? this_2.
|
|
3157
|
+
var actual_0 = null == null ? this_2.ws_1 : null;
|
|
3153
3158
|
// Inline function 'kotlin.also' call
|
|
3154
3159
|
var this_3 = new WrongTokenException(tmp2_0, getKClass(WirespecType_0), actual_0);
|
|
3155
|
-
raise_0.vm(this_2.
|
|
3160
|
+
raise_0.vm(this_2.zs());
|
|
3156
3161
|
raise_0.rm(this_3);
|
|
3157
3162
|
} catch ($p) {
|
|
3158
3163
|
var tmp_4;
|
|
@@ -3191,7 +3196,7 @@ function EndpointParser$parseEndpointResponse$lambda($this_parseEndpointResponse
|
|
|
3191
3196
|
}
|
|
3192
3197
|
function EndpointParser() {
|
|
3193
3198
|
}
|
|
3194
|
-
protoOf(EndpointParser).
|
|
3199
|
+
protoOf(EndpointParser).et = function (_this__u8e3s4, comment, annotations) {
|
|
3195
3200
|
return parseToken(_this__u8e3s4, EndpointParser$parseEndpoint$lambda(_this__u8e3s4, comment, annotations));
|
|
3196
3201
|
};
|
|
3197
3202
|
var EndpointParser_instance;
|
|
@@ -3206,10 +3211,10 @@ function parseEnumTypeEntries($this, _this__u8e3s4) {
|
|
|
3206
3211
|
}
|
|
3207
3212
|
function EnumParser$parseEnum$lambda($this_parseEnum, $comment, $annotations) {
|
|
3208
3213
|
return function ($this$parseToken, it) {
|
|
3209
|
-
var tmp0_subject = $this_parseEnum.
|
|
3214
|
+
var tmp0_subject = $this_parseEnum.ws_1.ks_1;
|
|
3210
3215
|
var tmp;
|
|
3211
3216
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
3212
|
-
tmp = $this$parseToken.vm(parseEnumTypeDefinition(EnumParser_instance, $this_parseEnum, $comment, $annotations, new DefinitionIdentifier($this_parseEnum.
|
|
3217
|
+
tmp = $this$parseToken.vm(parseEnumTypeDefinition(EnumParser_instance, $this_parseEnum, $comment, $annotations, new DefinitionIdentifier($this_parseEnum.ws_1.js_1)));
|
|
3213
3218
|
} else {
|
|
3214
3219
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3215
3220
|
var this_0 = $this_parseEnum;
|
|
@@ -3219,12 +3224,12 @@ function EnumParser$parseEnum$lambda($this_parseEnum, $comment, $annotations) {
|
|
|
3219
3224
|
var raise = new DefaultRaise(false);
|
|
3220
3225
|
var tmp_0;
|
|
3221
3226
|
try {
|
|
3222
|
-
var tmp2 = this_0.
|
|
3227
|
+
var tmp2 = this_0.ts_1;
|
|
3223
3228
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3224
|
-
var actual = null == null ? this_0.
|
|
3229
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
3225
3230
|
// Inline function 'kotlin.also' call
|
|
3226
3231
|
var this_1 = new WrongTokenException(tmp2, getKClass(WirespecType_0), actual);
|
|
3227
|
-
raise.vm(this_0.
|
|
3232
|
+
raise.vm(this_0.zs());
|
|
3228
3233
|
raise.rm(this_1);
|
|
3229
3234
|
} catch ($p) {
|
|
3230
3235
|
var tmp_1;
|
|
@@ -3254,7 +3259,7 @@ function EnumParser$parseEnum$lambda($this_parseEnum, $comment, $annotations) {
|
|
|
3254
3259
|
function EnumParser$parseEnumTypeDefinition$lambda($this_parseEnumTypeDefinition, $comment, $annotations, $typeName) {
|
|
3255
3260
|
return function ($this$parseToken, it) {
|
|
3256
3261
|
var tmp;
|
|
3257
|
-
if ($this_parseEnumTypeDefinition.
|
|
3262
|
+
if ($this_parseEnumTypeDefinition.ws_1.ks_1 instanceof LeftCurly) {
|
|
3258
3263
|
tmp = new Enum_0($comment, $annotations, $typeName, $this$parseToken.vm(parseEnumTypeEntries(EnumParser_instance, $this_parseEnumTypeDefinition)));
|
|
3259
3264
|
} else {
|
|
3260
3265
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
@@ -3265,12 +3270,12 @@ function EnumParser$parseEnumTypeDefinition$lambda($this_parseEnumTypeDefinition
|
|
|
3265
3270
|
var raise = new DefaultRaise(false);
|
|
3266
3271
|
var tmp_0;
|
|
3267
3272
|
try {
|
|
3268
|
-
var tmp2 = this_0.
|
|
3273
|
+
var tmp2 = this_0.ts_1;
|
|
3269
3274
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3270
|
-
var actual = null == null ? this_0.
|
|
3275
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
3271
3276
|
// Inline function 'kotlin.also' call
|
|
3272
3277
|
var this_1 = new WrongTokenException(tmp2, getKClass(LeftCurly), actual);
|
|
3273
|
-
raise.vm(this_0.
|
|
3278
|
+
raise.vm(this_0.zs());
|
|
3274
3279
|
raise.rm(this_1);
|
|
3275
3280
|
} catch ($p) {
|
|
3276
3281
|
var tmp_1;
|
|
@@ -3296,8 +3301,8 @@ function EnumParser$parseEnumTypeDefinition$lambda($this_parseEnumTypeDefinition
|
|
|
3296
3301
|
}
|
|
3297
3302
|
// Inline function 'kotlin.also' call
|
|
3298
3303
|
var this_2 = tmp;
|
|
3299
|
-
if ($this_parseEnumTypeDefinition.
|
|
3300
|
-
$this$parseToken.vm($this_parseEnumTypeDefinition.
|
|
3304
|
+
if ($this_parseEnumTypeDefinition.ws_1.ks_1 instanceof RightCurly)
|
|
3305
|
+
$this$parseToken.vm($this_parseEnumTypeDefinition.zs());
|
|
3301
3306
|
else {
|
|
3302
3307
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3303
3308
|
var this_3 = $this_parseEnumTypeDefinition;
|
|
@@ -3307,12 +3312,12 @@ function EnumParser$parseEnumTypeDefinition$lambda($this_parseEnumTypeDefinition
|
|
|
3307
3312
|
var raise_0 = new DefaultRaise(false);
|
|
3308
3313
|
var tmp_2;
|
|
3309
3314
|
try {
|
|
3310
|
-
var tmp2_0 = this_3.
|
|
3315
|
+
var tmp2_0 = this_3.ts_1;
|
|
3311
3316
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3312
|
-
var actual_0 = null == null ? this_3.
|
|
3317
|
+
var actual_0 = null == null ? this_3.ws_1 : null;
|
|
3313
3318
|
// Inline function 'kotlin.also' call
|
|
3314
3319
|
var this_4 = new WrongTokenException(tmp2_0, getKClass(RightCurly), actual_0);
|
|
3315
|
-
raise_0.vm(this_3.
|
|
3320
|
+
raise_0.vm(this_3.zs());
|
|
3316
3321
|
raise_0.rm(this_4);
|
|
3317
3322
|
} catch ($p) {
|
|
3318
3323
|
var tmp_3;
|
|
@@ -3340,7 +3345,7 @@ function EnumParser$parseEnumTypeDefinition$lambda($this_parseEnumTypeDefinition
|
|
|
3340
3345
|
}
|
|
3341
3346
|
function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
3342
3347
|
return function ($this$parseToken, it) {
|
|
3343
|
-
var tmp0_subject = $this_parseEnumTypeEntries.
|
|
3348
|
+
var tmp0_subject = $this_parseEnumTypeEntries.ws_1.ks_1;
|
|
3344
3349
|
var tmp;
|
|
3345
3350
|
var tmp_0;
|
|
3346
3351
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
@@ -3352,11 +3357,11 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3352
3357
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3353
3358
|
// Inline function 'kotlin.apply' call
|
|
3354
3359
|
var this_0 = ArrayList_init_$Create$_0();
|
|
3355
|
-
this_0.x($this_parseEnumTypeEntries.
|
|
3356
|
-
$this$parseToken.vm($this_parseEnumTypeEntries.
|
|
3357
|
-
while (equals($this_parseEnumTypeEntries.
|
|
3358
|
-
$this$parseToken.vm($this_parseEnumTypeEntries.
|
|
3359
|
-
var tmp0_subject_0 = $this_parseEnumTypeEntries.
|
|
3360
|
+
this_0.x($this_parseEnumTypeEntries.ws_1.js_1);
|
|
3361
|
+
$this$parseToken.vm($this_parseEnumTypeEntries.zs());
|
|
3362
|
+
while (equals($this_parseEnumTypeEntries.ws_1.ks_1, Comma_instance)) {
|
|
3363
|
+
$this$parseToken.vm($this_parseEnumTypeEntries.zs());
|
|
3364
|
+
var tmp0_subject_0 = $this_parseEnumTypeEntries.ws_1.ks_1;
|
|
3360
3365
|
var tmp_1;
|
|
3361
3366
|
if (isInterface(tmp0_subject_0, WirespecType_0)) {
|
|
3362
3367
|
tmp_1 = true;
|
|
@@ -3365,8 +3370,8 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3365
3370
|
}
|
|
3366
3371
|
if (tmp_1) {
|
|
3367
3372
|
// Inline function 'kotlin.also' call
|
|
3368
|
-
this_0.x($this_parseEnumTypeEntries.
|
|
3369
|
-
$this$parseToken.vm($this_parseEnumTypeEntries.
|
|
3373
|
+
this_0.x($this_parseEnumTypeEntries.ws_1.js_1);
|
|
3374
|
+
$this$parseToken.vm($this_parseEnumTypeEntries.zs());
|
|
3370
3375
|
} else {
|
|
3371
3376
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
3372
3377
|
var this_1 = $this_parseEnumTypeEntries;
|
|
@@ -3376,12 +3381,12 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3376
3381
|
var raise = new DefaultRaise(false);
|
|
3377
3382
|
var tmp_2;
|
|
3378
3383
|
try {
|
|
3379
|
-
var tmp2 = this_1.
|
|
3384
|
+
var tmp2 = this_1.ts_1;
|
|
3380
3385
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3381
|
-
var actual = null == null ? this_1.
|
|
3386
|
+
var actual = null == null ? this_1.ws_1 : null;
|
|
3382
3387
|
// Inline function 'kotlin.also' call
|
|
3383
3388
|
var this_2 = new WrongTokenException(tmp2, getKClass(WirespecType_0), actual);
|
|
3384
|
-
raise.vm(this_1.
|
|
3389
|
+
raise.vm(this_1.zs());
|
|
3385
3390
|
raise.rm(this_2);
|
|
3386
3391
|
} catch ($p) {
|
|
3387
3392
|
var tmp_3;
|
|
@@ -3416,12 +3421,12 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3416
3421
|
var raise_0 = new DefaultRaise(false);
|
|
3417
3422
|
var tmp_4;
|
|
3418
3423
|
try {
|
|
3419
|
-
var tmp2_0 = this_3.
|
|
3424
|
+
var tmp2_0 = this_3.ts_1;
|
|
3420
3425
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3421
|
-
var actual_0 = null == null ? this_3.
|
|
3426
|
+
var actual_0 = null == null ? this_3.ws_1 : null;
|
|
3422
3427
|
// Inline function 'kotlin.also' call
|
|
3423
3428
|
var this_4 = new WrongTokenException(tmp2_0, getKClass(WirespecType_0), actual_0);
|
|
3424
|
-
raise_0.vm(this_3.
|
|
3429
|
+
raise_0.vm(this_3.zs());
|
|
3425
3430
|
raise_0.rm(this_4);
|
|
3426
3431
|
} catch ($p) {
|
|
3427
3432
|
var tmp_5;
|
|
@@ -3450,7 +3455,7 @@ function EnumParser$parseEnumTypeEntries$lambda($this_parseEnumTypeEntries) {
|
|
|
3450
3455
|
}
|
|
3451
3456
|
function EnumParser() {
|
|
3452
3457
|
}
|
|
3453
|
-
protoOf(EnumParser).
|
|
3458
|
+
protoOf(EnumParser).ft = function (_this__u8e3s4, comment, annotations) {
|
|
3454
3459
|
return parseToken(_this__u8e3s4, EnumParser$parseEnum$lambda(_this__u8e3s4, comment, annotations));
|
|
3455
3460
|
};
|
|
3456
3461
|
var EnumParser_instance;
|
|
@@ -3460,15 +3465,15 @@ function EnumParser_getInstance() {
|
|
|
3460
3465
|
function ParseOptions(strict, allowUnions) {
|
|
3461
3466
|
strict = strict === VOID ? false : strict;
|
|
3462
3467
|
allowUnions = allowUnions === VOID ? true : allowUnions;
|
|
3463
|
-
this.
|
|
3464
|
-
this.
|
|
3468
|
+
this.gt_1 = strict;
|
|
3469
|
+
this.ht_1 = allowUnions;
|
|
3465
3470
|
}
|
|
3466
3471
|
protoOf(ParseOptions).toString = function () {
|
|
3467
|
-
return 'ParseOptions(strict=' + this.
|
|
3472
|
+
return 'ParseOptions(strict=' + this.gt_1 + ', allowUnions=' + this.ht_1 + ')';
|
|
3468
3473
|
};
|
|
3469
3474
|
protoOf(ParseOptions).hashCode = function () {
|
|
3470
|
-
var result = getBooleanHashCode(this.
|
|
3471
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
3475
|
+
var result = getBooleanHashCode(this.gt_1);
|
|
3476
|
+
result = imul(result, 31) + getBooleanHashCode(this.ht_1) | 0;
|
|
3472
3477
|
return result;
|
|
3473
3478
|
};
|
|
3474
3479
|
protoOf(ParseOptions).equals = function (other) {
|
|
@@ -3476,15 +3481,15 @@ protoOf(ParseOptions).equals = function (other) {
|
|
|
3476
3481
|
return true;
|
|
3477
3482
|
if (!(other instanceof ParseOptions))
|
|
3478
3483
|
return false;
|
|
3479
|
-
if (!(this.ft_1 === other.ft_1))
|
|
3480
|
-
return false;
|
|
3481
3484
|
if (!(this.gt_1 === other.gt_1))
|
|
3482
3485
|
return false;
|
|
3486
|
+
if (!(this.ht_1 === other.ht_1))
|
|
3487
|
+
return false;
|
|
3483
3488
|
return true;
|
|
3484
3489
|
};
|
|
3485
3490
|
function Parser() {
|
|
3486
3491
|
}
|
|
3487
|
-
protoOf(Parser).
|
|
3492
|
+
protoOf(Parser).it = function (_this__u8e3s4, modules, options) {
|
|
3488
3493
|
// Inline function 'arrow.core.raise.either' call
|
|
3489
3494
|
// Inline function 'arrow.core.raise.fold' call
|
|
3490
3495
|
// Inline function 'arrow.core.raise.fold' call
|
|
@@ -3523,7 +3528,7 @@ protoOf(Parser).ht = function (_this__u8e3s4, modules, options) {
|
|
|
3523
3528
|
var it = tmp_3.om_1;
|
|
3524
3529
|
// Inline function 'kotlin.let' call
|
|
3525
3530
|
var it_0 = new Root(it);
|
|
3526
|
-
var res = raise.vm(Validator_instance.
|
|
3531
|
+
var res = raise.vm(Validator_instance.jt(options, it_0));
|
|
3527
3532
|
raise.nm();
|
|
3528
3533
|
tmp = new Right(res);
|
|
3529
3534
|
} catch ($p) {
|
|
@@ -3548,7 +3553,7 @@ protoOf(Parser).ht = function (_this__u8e3s4, modules, options) {
|
|
|
3548
3553
|
};
|
|
3549
3554
|
protoOf(Parser).pn = function (_this__u8e3s4, modules, options, $super) {
|
|
3550
3555
|
options = options === VOID ? new ParseOptions() : options;
|
|
3551
|
-
return $super === VOID ? this.
|
|
3556
|
+
return $super === VOID ? this.it(_this__u8e3s4, modules, options) : $super.it.call(this, _this__u8e3s4, new NonEmptyList(modules), options);
|
|
3552
3557
|
};
|
|
3553
3558
|
var Parser_instance;
|
|
3554
3559
|
function Parser_getInstance() {
|
|
@@ -3565,7 +3570,7 @@ function parseModule(_this__u8e3s4) {
|
|
|
3565
3570
|
// Inline function 'kotlin.apply' call
|
|
3566
3571
|
var this_0 = ArrayList_init_$Create$_0();
|
|
3567
3572
|
while (_this__u8e3s4.u()) {
|
|
3568
|
-
var tmp0_subject = _this__u8e3s4.
|
|
3573
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
3569
3574
|
if (tmp0_subject instanceof Annotation_0)
|
|
3570
3575
|
this_0.x(parseDefinition(_this__u8e3s4));
|
|
3571
3576
|
else {
|
|
@@ -3575,7 +3580,7 @@ function parseModule(_this__u8e3s4) {
|
|
|
3575
3580
|
if (isInterface(tmp0_subject, WirespecDefinition))
|
|
3576
3581
|
this_0.x(parseDefinition(_this__u8e3s4));
|
|
3577
3582
|
else {
|
|
3578
|
-
_this__u8e3s4.
|
|
3583
|
+
_this__u8e3s4.zs();
|
|
3579
3584
|
}
|
|
3580
3585
|
}
|
|
3581
3586
|
}
|
|
@@ -3721,7 +3726,7 @@ function parseModule(_this__u8e3s4) {
|
|
|
3721
3726
|
}
|
|
3722
3727
|
// Inline function 'kotlin.let' call
|
|
3723
3728
|
var it_0 = tmp_10.om_1;
|
|
3724
|
-
var res_2 = new Module(_this__u8e3s4.
|
|
3729
|
+
var res_2 = new Module(_this__u8e3s4.ts_1, it_0);
|
|
3725
3730
|
raise.nm();
|
|
3726
3731
|
tmp = new Right(res_2);
|
|
3727
3732
|
} catch ($p) {
|
|
@@ -3767,10 +3772,10 @@ function allDefinitions(_this__u8e3s4) {
|
|
|
3767
3772
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
3768
3773
|
var first = element_0.ve();
|
|
3769
3774
|
var second = element_0.we();
|
|
3770
|
-
var tmp0_subject = first.
|
|
3775
|
+
var tmp0_subject = first.ks_1;
|
|
3771
3776
|
var tmp;
|
|
3772
3777
|
if (isInterface(tmp0_subject, WirespecDefinition)) {
|
|
3773
|
-
tmp = second.
|
|
3778
|
+
tmp = second.js_1;
|
|
3774
3779
|
} else {
|
|
3775
3780
|
tmp = null;
|
|
3776
3781
|
}
|
|
@@ -3791,42 +3796,42 @@ function parseDefinition(_this__u8e3s4) {
|
|
|
3791
3796
|
var raise = new DefaultRaise(false);
|
|
3792
3797
|
var tmp;
|
|
3793
3798
|
try {
|
|
3794
|
-
var annotations = raise.vm(AnnotationParser_instance.
|
|
3799
|
+
var annotations = raise.vm(AnnotationParser_instance.ss(_this__u8e3s4));
|
|
3795
3800
|
var tmp_0;
|
|
3796
|
-
if (_this__u8e3s4.
|
|
3801
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof Comment_0) {
|
|
3797
3802
|
// Inline function 'kotlin.also' call
|
|
3798
|
-
var this_0 = new Comment(Companion_instance_4.
|
|
3799
|
-
this_0.
|
|
3800
|
-
raise.vm(_this__u8e3s4.
|
|
3801
|
-
tmp_0 = this_0.
|
|
3803
|
+
var this_0 = new Comment(Companion_instance_4.kt(_this__u8e3s4.ws_1.js_1));
|
|
3804
|
+
this_0.lt_1;
|
|
3805
|
+
raise.vm(_this__u8e3s4.zs());
|
|
3806
|
+
tmp_0 = this_0.lt_1;
|
|
3802
3807
|
} else {
|
|
3803
3808
|
tmp_0 = null;
|
|
3804
3809
|
}
|
|
3805
3810
|
var comment = tmp_0;
|
|
3806
|
-
var tmp1_subject = _this__u8e3s4.
|
|
3811
|
+
var tmp1_subject = _this__u8e3s4.ws_1.ks_1;
|
|
3807
3812
|
var tmp_1;
|
|
3808
3813
|
if (isInterface(tmp1_subject, WirespecDefinition)) {
|
|
3809
|
-
var tmp_2 = _this__u8e3s4.
|
|
3814
|
+
var tmp_2 = _this__u8e3s4.ws_1.ks_1;
|
|
3810
3815
|
var tmp2_subject = isInterface(tmp_2, WirespecDefinition) ? tmp_2 : THROW_CCE();
|
|
3811
3816
|
var tmp_3;
|
|
3812
3817
|
if (tmp2_subject instanceof TypeDefinition) {
|
|
3813
3818
|
// Inline function 'kotlin.with' call
|
|
3814
|
-
var tmp$ret$3 = TypeParser_instance.
|
|
3819
|
+
var tmp$ret$3 = TypeParser_instance.mt(_this__u8e3s4, comment, annotations);
|
|
3815
3820
|
tmp_3 = raise.vm(tmp$ret$3);
|
|
3816
3821
|
} else {
|
|
3817
3822
|
if (tmp2_subject instanceof EnumTypeDefinition) {
|
|
3818
3823
|
// Inline function 'kotlin.with' call
|
|
3819
|
-
var tmp$ret$5 = EnumParser_instance.
|
|
3824
|
+
var tmp$ret$5 = EnumParser_instance.ft(_this__u8e3s4, comment, annotations);
|
|
3820
3825
|
tmp_3 = raise.vm(tmp$ret$5);
|
|
3821
3826
|
} else {
|
|
3822
3827
|
if (tmp2_subject instanceof EndpointDefinition) {
|
|
3823
3828
|
// Inline function 'kotlin.with' call
|
|
3824
|
-
var tmp$ret$7 = EndpointParser_instance.
|
|
3829
|
+
var tmp$ret$7 = EndpointParser_instance.et(_this__u8e3s4, comment, annotations);
|
|
3825
3830
|
tmp_3 = raise.vm(tmp$ret$7);
|
|
3826
3831
|
} else {
|
|
3827
3832
|
if (tmp2_subject instanceof ChannelDefinition) {
|
|
3828
3833
|
// Inline function 'kotlin.with' call
|
|
3829
|
-
var tmp$ret$9 = ChannelParser_instance.
|
|
3834
|
+
var tmp$ret$9 = ChannelParser_instance.ct(_this__u8e3s4, comment, annotations);
|
|
3830
3835
|
tmp_3 = raise.vm(tmp$ret$9);
|
|
3831
3836
|
} else {
|
|
3832
3837
|
noWhenBranchMatchedException();
|
|
@@ -3843,12 +3848,12 @@ function parseDefinition(_this__u8e3s4) {
|
|
|
3843
3848
|
var raise_0 = new DefaultRaise(false);
|
|
3844
3849
|
var tmp_4;
|
|
3845
3850
|
try {
|
|
3846
|
-
var tmp2 = _this__u8e3s4.
|
|
3851
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
3847
3852
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
3848
|
-
var actual = null == null ? _this__u8e3s4.
|
|
3853
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
3849
3854
|
// Inline function 'kotlin.also' call
|
|
3850
3855
|
var this_1 = new WrongTokenException(tmp2, getKClass(WirespecDefinition), actual);
|
|
3851
|
-
raise_0.vm(_this__u8e3s4.
|
|
3856
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
3852
3857
|
raise_0.rm(this_1);
|
|
3853
3858
|
} catch ($p) {
|
|
3854
3859
|
var tmp_5;
|
|
@@ -3902,7 +3907,7 @@ function parseToken(_this__u8e3s4, block) {
|
|
|
3902
3907
|
var raise = new DefaultRaise(false);
|
|
3903
3908
|
var tmp;
|
|
3904
3909
|
try {
|
|
3905
|
-
var res = block(raise, raise.vm(_this__u8e3s4.
|
|
3910
|
+
var res = block(raise, raise.vm(_this__u8e3s4.zs()));
|
|
3906
3911
|
raise.nm();
|
|
3907
3912
|
tmp = new Right(res);
|
|
3908
3913
|
} catch ($p) {
|
|
@@ -3934,7 +3939,7 @@ function parseModule$lambda($$this$recover) {
|
|
|
3934
3939
|
}
|
|
3935
3940
|
function logToken($this, token) {
|
|
3936
3941
|
// Inline function 'kotlin.with' call
|
|
3937
|
-
$this.
|
|
3942
|
+
$this.vs_1.co("Eating: '" + token.js_1 + "', with type: " + toString(token.ks_1) + ', at line ' + token.ls_1.ms_1 + ' position ' + token.ls_1.ns_1);
|
|
3938
3943
|
return Unit_instance;
|
|
3939
3944
|
}
|
|
3940
3945
|
function printTokens($this, previousToken) {
|
|
@@ -3943,23 +3948,23 @@ function printTokens($this, previousToken) {
|
|
|
3943
3948
|
tmp = null;
|
|
3944
3949
|
} else {
|
|
3945
3950
|
// Inline function 'kotlin.run' call
|
|
3946
|
-
tmp = "Eating: '" + previousToken.
|
|
3951
|
+
tmp = "Eating: '" + previousToken.js_1 + "', ";
|
|
3947
3952
|
}
|
|
3948
3953
|
var tmp1_elvis_lhs = tmp;
|
|
3949
3954
|
var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3950
3955
|
// Inline function 'kotlin.run' call
|
|
3951
|
-
var curr = "Current: '" + $this.
|
|
3952
|
-
var tmp2_safe_receiver = $this.
|
|
3956
|
+
var curr = "Current: '" + $this.ws_1.js_1 + "'";
|
|
3957
|
+
var tmp2_safe_receiver = $this.ys_1;
|
|
3953
3958
|
var tmp_0;
|
|
3954
3959
|
if (tmp2_safe_receiver == null) {
|
|
3955
3960
|
tmp_0 = null;
|
|
3956
3961
|
} else {
|
|
3957
3962
|
// Inline function 'kotlin.run' call
|
|
3958
|
-
tmp_0 = ", Next: '" + tmp2_safe_receiver.
|
|
3963
|
+
tmp_0 = ", Next: '" + tmp2_safe_receiver.js_1 + "'";
|
|
3959
3964
|
}
|
|
3960
3965
|
var tmp3_elvis_lhs = tmp_0;
|
|
3961
3966
|
var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
3962
|
-
$this.
|
|
3967
|
+
$this.vs_1.co(prev + curr + next);
|
|
3963
3968
|
}
|
|
3964
3969
|
function printTokens$default($this, previousToken, $super) {
|
|
3965
3970
|
previousToken = previousToken === VOID ? null : previousToken;
|
|
@@ -3973,7 +3978,7 @@ function nextToken($this) {
|
|
|
3973
3978
|
// Inline function 'arrow.core.raise.catch' call
|
|
3974
3979
|
var tmp;
|
|
3975
3980
|
try {
|
|
3976
|
-
tmp = $this.
|
|
3981
|
+
tmp = $this.xs_1.v();
|
|
3977
3982
|
} catch ($p) {
|
|
3978
3983
|
var tmp_0;
|
|
3979
3984
|
if ($p instanceof Error) {
|
|
@@ -3991,18 +3996,18 @@ function nextToken($this) {
|
|
|
3991
3996
|
return tmp$ret$3.em();
|
|
3992
3997
|
}
|
|
3993
3998
|
function TokenProvider(tokens, fileUri, definitionNames, logger) {
|
|
3994
|
-
this.
|
|
3995
|
-
this.
|
|
3996
|
-
this.
|
|
3997
|
-
this.
|
|
3998
|
-
this.
|
|
3999
|
-
this.
|
|
3999
|
+
this.ts_1 = fileUri;
|
|
4000
|
+
this.us_1 = definitionNames;
|
|
4001
|
+
this.vs_1 = logger;
|
|
4002
|
+
this.ws_1 = _NonEmptyList___get_head__impl__q9oenq(tokens);
|
|
4003
|
+
this.xs_1 = _NonEmptyList___get_tail__impl__t91bd2(tokens).t();
|
|
4004
|
+
this.ys_1 = nextToken(this);
|
|
4000
4005
|
printTokens$default(this);
|
|
4001
4006
|
}
|
|
4002
4007
|
protoOf(TokenProvider).u = function () {
|
|
4003
|
-
return !(this.
|
|
4008
|
+
return !(this.ys_1 == null);
|
|
4004
4009
|
};
|
|
4005
|
-
protoOf(TokenProvider).
|
|
4010
|
+
protoOf(TokenProvider).zs = function () {
|
|
4006
4011
|
// Inline function 'arrow.core.raise.either' call
|
|
4007
4012
|
// Inline function 'arrow.core.raise.fold' call
|
|
4008
4013
|
// Inline function 'arrow.core.raise.fold' call
|
|
@@ -4010,19 +4015,19 @@ protoOf(TokenProvider).ys = function () {
|
|
|
4010
4015
|
var tmp;
|
|
4011
4016
|
try {
|
|
4012
4017
|
// Inline function 'kotlin.also' call
|
|
4013
|
-
var this_0 = this.
|
|
4018
|
+
var this_0 = this.ws_1;
|
|
4014
4019
|
logToken(this, this_0);
|
|
4015
4020
|
var previousToken = this_0;
|
|
4016
4021
|
var tmp_0 = this;
|
|
4017
|
-
var tmp0_elvis_lhs = this.
|
|
4022
|
+
var tmp0_elvis_lhs = this.ys_1;
|
|
4018
4023
|
var tmp_1;
|
|
4019
4024
|
if (tmp0_elvis_lhs == null) {
|
|
4020
|
-
raise.rm(new NextException(this.
|
|
4025
|
+
raise.rm(new NextException(this.ts_1, previousToken.ls_1));
|
|
4021
4026
|
} else {
|
|
4022
4027
|
tmp_1 = tmp0_elvis_lhs;
|
|
4023
4028
|
}
|
|
4024
|
-
tmp_0.
|
|
4025
|
-
this.
|
|
4029
|
+
tmp_0.ws_1 = tmp_1;
|
|
4030
|
+
this.ys_1 = nextToken(this);
|
|
4026
4031
|
printTokens(this, previousToken);
|
|
4027
4032
|
var res = previousToken;
|
|
4028
4033
|
raise.nm();
|
|
@@ -4047,7 +4052,7 @@ protoOf(TokenProvider).ys = function () {
|
|
|
4047
4052
|
}
|
|
4048
4053
|
return tmp;
|
|
4049
4054
|
};
|
|
4050
|
-
protoOf(TokenProvider).
|
|
4055
|
+
protoOf(TokenProvider).nt = function (_this__u8e3s4) {
|
|
4051
4056
|
// Inline function 'arrow.core.raise.either' call
|
|
4052
4057
|
// Inline function 'arrow.core.raise.fold' call
|
|
4053
4058
|
// Inline function 'arrow.core.raise.fold' call
|
|
@@ -4056,10 +4061,10 @@ protoOf(TokenProvider).mt = function (_this__u8e3s4) {
|
|
|
4056
4061
|
try {
|
|
4057
4062
|
// Inline function 'arrow.core.raise.ensure' call
|
|
4058
4063
|
var tmp_0;
|
|
4059
|
-
if (this.
|
|
4064
|
+
if (this.us_1.u1(_this__u8e3s4.js_1)) {
|
|
4060
4065
|
tmp_0 = Unit_instance;
|
|
4061
4066
|
} else {
|
|
4062
|
-
raise.rm(new DefinitionNotExistsException(this.
|
|
4067
|
+
raise.rm(new DefinitionNotExistsException(this.ts_1, _this__u8e3s4.js_1, _this__u8e3s4.ls_1));
|
|
4063
4068
|
}
|
|
4064
4069
|
var res = _this__u8e3s4;
|
|
4065
4070
|
raise.nm();
|
|
@@ -4089,10 +4094,10 @@ function toProvider(_this__u8e3s4, definitionNames, logger) {
|
|
|
4089
4094
|
}
|
|
4090
4095
|
function TypeParser$parseType$lambda($this_parseType, $comment, $annotations) {
|
|
4091
4096
|
return function ($this$parseToken, it) {
|
|
4092
|
-
var tmp0_subject = $this_parseType.
|
|
4097
|
+
var tmp0_subject = $this_parseType.ws_1.ks_1;
|
|
4093
4098
|
var tmp;
|
|
4094
4099
|
if (isInterface(tmp0_subject, TypeIdentifier)) {
|
|
4095
|
-
tmp = $this$parseToken.vm(parseTypeDefinition($this_parseType, $comment, $annotations, new DefinitionIdentifier($this_parseType.
|
|
4100
|
+
tmp = $this$parseToken.vm(parseTypeDefinition($this_parseType, $comment, $annotations, new DefinitionIdentifier($this_parseType.ws_1.js_1)));
|
|
4096
4101
|
} else {
|
|
4097
4102
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4098
4103
|
var this_0 = $this_parseType;
|
|
@@ -4102,12 +4107,12 @@ function TypeParser$parseType$lambda($this_parseType, $comment, $annotations) {
|
|
|
4102
4107
|
var raise = new DefaultRaise(false);
|
|
4103
4108
|
var tmp_0;
|
|
4104
4109
|
try {
|
|
4105
|
-
var tmp2 = this_0.
|
|
4110
|
+
var tmp2 = this_0.ts_1;
|
|
4106
4111
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4107
|
-
var actual = null == null ? this_0.
|
|
4112
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
4108
4113
|
// Inline function 'kotlin.also' call
|
|
4109
4114
|
var this_1 = new WrongTokenException(tmp2, getKClass(TypeIdentifier), actual);
|
|
4110
|
-
raise.vm(this_0.
|
|
4115
|
+
raise.vm(this_0.zs());
|
|
4111
4116
|
raise.rm(this_1);
|
|
4112
4117
|
} catch ($p) {
|
|
4113
4118
|
var tmp_1;
|
|
@@ -4139,10 +4144,10 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4139
4144
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4140
4145
|
// Inline function 'kotlin.apply' call
|
|
4141
4146
|
var this_0 = ArrayList_init_$Create$_0();
|
|
4142
|
-
var firstFieldAnnotations = $this$parseToken.vm(AnnotationParser_instance.
|
|
4143
|
-
var tmp0_subject = $this_parseTypeShape.
|
|
4147
|
+
var firstFieldAnnotations = $this$parseToken.vm(AnnotationParser_instance.ss($this_parseTypeShape));
|
|
4148
|
+
var tmp0_subject = $this_parseTypeShape.ws_1.ks_1;
|
|
4144
4149
|
if (isInterface(tmp0_subject, WirespecIdentifier))
|
|
4145
|
-
this_0.x($this$parseToken.vm(parseField($this_parseTypeShape, new FieldIdentifier($this_parseTypeShape.
|
|
4150
|
+
this_0.x($this$parseToken.vm(parseField($this_parseTypeShape, new FieldIdentifier($this_parseTypeShape.ws_1.js_1), firstFieldAnnotations)));
|
|
4146
4151
|
else {
|
|
4147
4152
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4148
4153
|
var this_1 = $this_parseTypeShape;
|
|
@@ -4152,12 +4157,12 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4152
4157
|
var raise = new DefaultRaise(false);
|
|
4153
4158
|
var tmp;
|
|
4154
4159
|
try {
|
|
4155
|
-
var tmp2 = this_1.
|
|
4160
|
+
var tmp2 = this_1.ts_1;
|
|
4156
4161
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4157
|
-
var actual = null == null ? this_1.
|
|
4162
|
+
var actual = null == null ? this_1.ws_1 : null;
|
|
4158
4163
|
// Inline function 'kotlin.also' call
|
|
4159
4164
|
var this_2 = new WrongTokenException(tmp2, getKClass(WirespecIdentifier), actual);
|
|
4160
|
-
raise.vm(this_1.
|
|
4165
|
+
raise.vm(this_1.zs());
|
|
4161
4166
|
raise.rm(this_2);
|
|
4162
4167
|
} catch ($p) {
|
|
4163
4168
|
var tmp_0;
|
|
@@ -4182,15 +4187,15 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4182
4187
|
throwKotlinNothingValueException();
|
|
4183
4188
|
}
|
|
4184
4189
|
$l$loop: while (true) {
|
|
4185
|
-
var tmp_1 = $this_parseTypeShape.
|
|
4190
|
+
var tmp_1 = $this_parseTypeShape.ws_1.ks_1;
|
|
4186
4191
|
if (!(tmp_1 instanceof Comma)) {
|
|
4187
4192
|
break $l$loop;
|
|
4188
4193
|
}
|
|
4189
|
-
$this$parseToken.vm($this_parseTypeShape.
|
|
4190
|
-
var fieldAnnotations = $this$parseToken.vm(AnnotationParser_instance.
|
|
4191
|
-
var tmp1_subject = $this_parseTypeShape.
|
|
4194
|
+
$this$parseToken.vm($this_parseTypeShape.zs());
|
|
4195
|
+
var fieldAnnotations = $this$parseToken.vm(AnnotationParser_instance.ss($this_parseTypeShape));
|
|
4196
|
+
var tmp1_subject = $this_parseTypeShape.ws_1.ks_1;
|
|
4192
4197
|
if (isInterface(tmp1_subject, WirespecIdentifier))
|
|
4193
|
-
this_0.x($this$parseToken.vm(parseField($this_parseTypeShape, new FieldIdentifier($this_parseTypeShape.
|
|
4198
|
+
this_0.x($this$parseToken.vm(parseField($this_parseTypeShape, new FieldIdentifier($this_parseTypeShape.ws_1.js_1), fieldAnnotations)));
|
|
4194
4199
|
else {
|
|
4195
4200
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4196
4201
|
var this_3 = $this_parseTypeShape;
|
|
@@ -4200,12 +4205,12 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4200
4205
|
var raise_0 = new DefaultRaise(false);
|
|
4201
4206
|
var tmp_2;
|
|
4202
4207
|
try {
|
|
4203
|
-
var tmp2_0 = this_3.
|
|
4208
|
+
var tmp2_0 = this_3.ts_1;
|
|
4204
4209
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4205
|
-
var actual_0 = null == null ? this_3.
|
|
4210
|
+
var actual_0 = null == null ? this_3.ws_1 : null;
|
|
4206
4211
|
// Inline function 'kotlin.also' call
|
|
4207
4212
|
var this_4 = new WrongTokenException(tmp2_0, getKClass(WirespecIdentifier), actual_0);
|
|
4208
|
-
raise_0.vm(this_3.
|
|
4213
|
+
raise_0.vm(this_3.zs());
|
|
4209
4214
|
raise_0.rm(this_4);
|
|
4210
4215
|
} catch ($p) {
|
|
4211
4216
|
var tmp_3;
|
|
@@ -4231,8 +4236,8 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4231
4236
|
}
|
|
4232
4237
|
}
|
|
4233
4238
|
// Inline function 'kotlin.also' call
|
|
4234
|
-
if ($this_parseTypeShape.
|
|
4235
|
-
$this$parseToken.vm($this_parseTypeShape.
|
|
4239
|
+
if ($this_parseTypeShape.ws_1.ks_1 instanceof RightCurly)
|
|
4240
|
+
$this$parseToken.vm($this_parseTypeShape.zs());
|
|
4236
4241
|
else {
|
|
4237
4242
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4238
4243
|
var this_5 = $this_parseTypeShape;
|
|
@@ -4242,12 +4247,12 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4242
4247
|
var raise_1 = new DefaultRaise(false);
|
|
4243
4248
|
var tmp_4;
|
|
4244
4249
|
try {
|
|
4245
|
-
var tmp2_1 = this_5.
|
|
4250
|
+
var tmp2_1 = this_5.ts_1;
|
|
4246
4251
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4247
|
-
var actual_1 = null == null ? this_5.
|
|
4252
|
+
var actual_1 = null == null ? this_5.ws_1 : null;
|
|
4248
4253
|
// Inline function 'kotlin.also' call
|
|
4249
4254
|
var this_6 = new WrongTokenException(tmp2_1, getKClass(RightCurly), actual_1);
|
|
4250
|
-
raise_1.vm(this_5.
|
|
4255
|
+
raise_1.vm(this_5.zs());
|
|
4251
4256
|
raise_1.rm(this_6);
|
|
4252
4257
|
} catch ($p) {
|
|
4253
4258
|
var tmp_5;
|
|
@@ -4276,13 +4281,13 @@ function TypeParser$parseTypeShape$lambda($this_parseTypeShape) {
|
|
|
4276
4281
|
}
|
|
4277
4282
|
function TypeParser$parseDict$lambda($this_parseDict) {
|
|
4278
4283
|
return function ($this$parseToken, it) {
|
|
4279
|
-
var tmp0_subject = $this_parseDict.
|
|
4284
|
+
var tmp0_subject = $this_parseDict.ws_1.ks_1;
|
|
4280
4285
|
var tmp;
|
|
4281
4286
|
if (isInterface(tmp0_subject, WirespecType_0)) {
|
|
4282
|
-
var tmp_0 = $this$parseToken.vm(TypeParser_instance.
|
|
4287
|
+
var tmp_0 = $this$parseToken.vm(TypeParser_instance.at($this_parseDict));
|
|
4283
4288
|
var tmp_1;
|
|
4284
|
-
if ($this_parseDict.
|
|
4285
|
-
$this$parseToken.vm($this_parseDict.
|
|
4289
|
+
if ($this_parseDict.ws_1.ks_1 instanceof RightCurly) {
|
|
4290
|
+
$this$parseToken.vm($this_parseDict.zs());
|
|
4286
4291
|
tmp_1 = $this$parseToken.vm(isNullable($this_parseDict));
|
|
4287
4292
|
} else {
|
|
4288
4293
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
@@ -4293,12 +4298,12 @@ function TypeParser$parseDict$lambda($this_parseDict) {
|
|
|
4293
4298
|
var raise = new DefaultRaise(false);
|
|
4294
4299
|
var tmp_2;
|
|
4295
4300
|
try {
|
|
4296
|
-
var tmp2 = this_0.
|
|
4301
|
+
var tmp2 = this_0.ts_1;
|
|
4297
4302
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4298
|
-
var actual = null == null ? this_0.
|
|
4303
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
4299
4304
|
// Inline function 'kotlin.also' call
|
|
4300
4305
|
var this_1 = new WrongTokenException(tmp2, getKClass(RightCurly), actual);
|
|
4301
|
-
raise.vm(this_0.
|
|
4306
|
+
raise.vm(this_0.zs());
|
|
4302
4307
|
raise.rm(this_1);
|
|
4303
4308
|
} catch ($p) {
|
|
4304
4309
|
var tmp_3;
|
|
@@ -4332,12 +4337,12 @@ function TypeParser$parseDict$lambda($this_parseDict) {
|
|
|
4332
4337
|
var raise_0 = new DefaultRaise(false);
|
|
4333
4338
|
var tmp_4;
|
|
4334
4339
|
try {
|
|
4335
|
-
var tmp2_0 = this_2.
|
|
4340
|
+
var tmp2_0 = this_2.ts_1;
|
|
4336
4341
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4337
|
-
var actual_0 = null == null ? this_2.
|
|
4342
|
+
var actual_0 = null == null ? this_2.ws_1 : null;
|
|
4338
4343
|
// Inline function 'kotlin.also' call
|
|
4339
4344
|
var this_3 = new WrongTokenException(tmp2_0, getKClass(WirespecType_0), actual_0);
|
|
4340
|
-
raise_0.vm(this_2.
|
|
4345
|
+
raise_0.vm(this_2.zs());
|
|
4341
4346
|
raise_0.rm(this_3);
|
|
4342
4347
|
} catch ($p) {
|
|
4343
4348
|
var tmp_5;
|
|
@@ -4366,7 +4371,7 @@ function TypeParser$parseDict$lambda($this_parseDict) {
|
|
|
4366
4371
|
}
|
|
4367
4372
|
function TypeParser$parseType$lambda_0($this_parseType) {
|
|
4368
4373
|
return function ($this$parseToken, previousToken) {
|
|
4369
|
-
var tmp0_subject = previousToken.
|
|
4374
|
+
var tmp0_subject = previousToken.ks_1;
|
|
4370
4375
|
var tmp;
|
|
4371
4376
|
if (isInterface(tmp0_subject, PrimitiveType)) {
|
|
4372
4377
|
tmp = $this$parseToken.vm(parsePrimitiveType($this_parseType, previousToken));
|
|
@@ -4375,7 +4380,7 @@ function TypeParser$parseType$lambda_0($this_parseType) {
|
|
|
4375
4380
|
tmp = new Unit($this$parseToken.vm(isNullable($this_parseType)));
|
|
4376
4381
|
} else {
|
|
4377
4382
|
if (isInterface(tmp0_subject, TypeIdentifier)) {
|
|
4378
|
-
tmp = new Custom($this$parseToken.vm($this_parseType.
|
|
4383
|
+
tmp = new Custom($this$parseToken.vm($this_parseType.nt(previousToken)).js_1, $this$parseToken.vm(isNullable($this_parseType)));
|
|
4379
4384
|
} else {
|
|
4380
4385
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4381
4386
|
var this_0 = $this_parseType;
|
|
@@ -4385,12 +4390,12 @@ function TypeParser$parseType$lambda_0($this_parseType) {
|
|
|
4385
4390
|
var raise = new DefaultRaise(false);
|
|
4386
4391
|
var tmp_0;
|
|
4387
4392
|
try {
|
|
4388
|
-
var tmp2 = this_0.
|
|
4393
|
+
var tmp2 = this_0.ts_1;
|
|
4389
4394
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4390
|
-
var actual = previousToken == null ? this_0.
|
|
4395
|
+
var actual = previousToken == null ? this_0.ws_1 : previousToken;
|
|
4391
4396
|
// Inline function 'kotlin.also' call
|
|
4392
4397
|
var this_1 = new WrongTokenException(tmp2, getKClass(TypeDefinitionStart), actual);
|
|
4393
|
-
raise.vm(this_0.
|
|
4398
|
+
raise.vm(this_0.zs());
|
|
4394
4399
|
raise.rm(this_1);
|
|
4395
4400
|
} catch ($p) {
|
|
4396
4401
|
var tmp_1;
|
|
@@ -4418,8 +4423,8 @@ function TypeParser$parseType$lambda_0($this_parseType) {
|
|
|
4418
4423
|
}
|
|
4419
4424
|
var reference = tmp;
|
|
4420
4425
|
var tmp_2;
|
|
4421
|
-
if ($this_parseType.
|
|
4422
|
-
$this$parseToken.vm($this_parseType.
|
|
4426
|
+
if ($this_parseType.ws_1.ks_1 instanceof Brackets) {
|
|
4427
|
+
$this$parseToken.vm($this_parseType.zs());
|
|
4423
4428
|
tmp_2 = new Iterable(reference, $this$parseToken.vm(isNullable($this_parseType)));
|
|
4424
4429
|
} else {
|
|
4425
4430
|
tmp_2 = reference;
|
|
@@ -4429,16 +4434,16 @@ function TypeParser$parseType$lambda_0($this_parseType) {
|
|
|
4429
4434
|
}
|
|
4430
4435
|
function TypeParser() {
|
|
4431
4436
|
}
|
|
4432
|
-
protoOf(TypeParser).
|
|
4437
|
+
protoOf(TypeParser).mt = function (_this__u8e3s4, comment, annotations) {
|
|
4433
4438
|
return parseToken(_this__u8e3s4, TypeParser$parseType$lambda(_this__u8e3s4, comment, annotations));
|
|
4434
4439
|
};
|
|
4435
|
-
protoOf(TypeParser).
|
|
4440
|
+
protoOf(TypeParser).dt = function (_this__u8e3s4) {
|
|
4436
4441
|
return parseToken(_this__u8e3s4, TypeParser$parseTypeShape$lambda(_this__u8e3s4));
|
|
4437
4442
|
};
|
|
4438
|
-
protoOf(TypeParser).
|
|
4443
|
+
protoOf(TypeParser).bt = function (_this__u8e3s4) {
|
|
4439
4444
|
return parseToken(_this__u8e3s4, TypeParser$parseDict$lambda(_this__u8e3s4));
|
|
4440
4445
|
};
|
|
4441
|
-
protoOf(TypeParser).
|
|
4446
|
+
protoOf(TypeParser).at = function (_this__u8e3s4) {
|
|
4442
4447
|
return parseToken(_this__u8e3s4, TypeParser$parseType$lambda_0(_this__u8e3s4));
|
|
4443
4448
|
};
|
|
4444
4449
|
var TypeParser_instance;
|
|
@@ -4459,9 +4464,9 @@ function isNullable(_this__u8e3s4) {
|
|
|
4459
4464
|
var tmp;
|
|
4460
4465
|
try {
|
|
4461
4466
|
var tmp_0;
|
|
4462
|
-
if (_this__u8e3s4.
|
|
4467
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof QuestionMark) {
|
|
4463
4468
|
// Inline function 'kotlin.also' call
|
|
4464
|
-
raise.vm(_this__u8e3s4.
|
|
4469
|
+
raise.vm(_this__u8e3s4.zs());
|
|
4465
4470
|
tmp_0 = true;
|
|
4466
4471
|
} else {
|
|
4467
4472
|
tmp_0 = false;
|
|
@@ -4496,14 +4501,14 @@ function parsePrimitiveType(_this__u8e3s4, previousToken) {
|
|
|
4496
4501
|
var raise = new DefaultRaise(false);
|
|
4497
4502
|
var tmp;
|
|
4498
4503
|
try {
|
|
4499
|
-
var type = previousToken.
|
|
4504
|
+
var type = previousToken.ks_1;
|
|
4500
4505
|
var tmp_0;
|
|
4501
4506
|
if (type instanceof WsString) {
|
|
4502
4507
|
var tmp1_isNullable = raise.vm(isNullable(_this__u8e3s4));
|
|
4503
4508
|
var tmp_1;
|
|
4504
|
-
if (_this__u8e3s4.
|
|
4509
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftParenthesis) {
|
|
4505
4510
|
var tmp_2 = raise.vm(parseTypeConstraint(_this__u8e3s4));
|
|
4506
|
-
tmp_1 = tmp_2 == null ? null : tmp_2.
|
|
4511
|
+
tmp_1 = tmp_2 == null ? null : tmp_2.qt_1;
|
|
4507
4512
|
} else {
|
|
4508
4513
|
tmp_1 = null;
|
|
4509
4514
|
}
|
|
@@ -4514,9 +4519,9 @@ function parsePrimitiveType(_this__u8e3s4, previousToken) {
|
|
|
4514
4519
|
tmp_0 = new Primitive(Bytes_instance, raise.vm(isNullable(_this__u8e3s4)));
|
|
4515
4520
|
} else {
|
|
4516
4521
|
if (type instanceof WsInteger) {
|
|
4517
|
-
var tmp_3 = toPrimitivePrecision(type.
|
|
4522
|
+
var tmp_3 = toPrimitivePrecision(type.pt_1);
|
|
4518
4523
|
var tmp_4;
|
|
4519
|
-
if (_this__u8e3s4.
|
|
4524
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftParenthesis) {
|
|
4520
4525
|
// Inline function 'community.flock.wirespec.compiler.core.parse.parseTypeBound' call
|
|
4521
4526
|
var tmp$ret$0 = parseToken(_this__u8e3s4, parsePrimitiveType$lambda(_this__u8e3s4));
|
|
4522
4527
|
tmp_4 = raise.vm(tmp$ret$0);
|
|
@@ -4526,9 +4531,9 @@ function parsePrimitiveType(_this__u8e3s4, previousToken) {
|
|
|
4526
4531
|
tmp_0 = new Primitive(new Integer(tmp_3, tmp_4), raise.vm(isNullable(_this__u8e3s4)));
|
|
4527
4532
|
} else {
|
|
4528
4533
|
if (type instanceof WsNumber) {
|
|
4529
|
-
var tmp_5 = toPrimitivePrecision(type.
|
|
4534
|
+
var tmp_5 = toPrimitivePrecision(type.ot_1);
|
|
4530
4535
|
var tmp_6;
|
|
4531
|
-
if (_this__u8e3s4.
|
|
4536
|
+
if (_this__u8e3s4.ws_1.ks_1 instanceof LeftParenthesis) {
|
|
4532
4537
|
// Inline function 'community.flock.wirespec.compiler.core.parse.parseTypeBound' call
|
|
4533
4538
|
var tmp$ret$1 = parseToken(_this__u8e3s4, parsePrimitiveType$lambda_0(_this__u8e3s4));
|
|
4534
4539
|
tmp_6 = raise.vm(tmp$ret$1);
|
|
@@ -4547,12 +4552,12 @@ function parsePrimitiveType(_this__u8e3s4, previousToken) {
|
|
|
4547
4552
|
var raise_0 = new DefaultRaise(false);
|
|
4548
4553
|
var tmp_7;
|
|
4549
4554
|
try {
|
|
4550
|
-
var tmp2 = _this__u8e3s4.
|
|
4555
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
4551
4556
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4552
|
-
var actual = null == null ? _this__u8e3s4.
|
|
4557
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
4553
4558
|
// Inline function 'kotlin.also' call
|
|
4554
4559
|
var this_0 = new WrongTokenException(tmp2, getKClass(PrimitiveType), actual);
|
|
4555
|
-
raise_0.vm(_this__u8e3s4.
|
|
4560
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
4556
4561
|
raise_0.rm(this_0);
|
|
4557
4562
|
} catch ($p) {
|
|
4558
4563
|
var tmp_8;
|
|
@@ -4631,10 +4636,10 @@ function parseRefined(_this__u8e3s4, comment, annotations, identifier) {
|
|
|
4631
4636
|
var raise = new DefaultRaise(false);
|
|
4632
4637
|
var tmp;
|
|
4633
4638
|
try {
|
|
4634
|
-
var tmp0_subject = _this__u8e3s4.
|
|
4639
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
4635
4640
|
var tmp_0;
|
|
4636
4641
|
if (isInterface(tmp0_subject, PrimitiveType)) {
|
|
4637
|
-
tmp_0 = new Refined(comment, annotations, identifier, raise.vm(parsePrimitiveType(_this__u8e3s4, raise.vm(_this__u8e3s4.
|
|
4642
|
+
tmp_0 = new Refined(comment, annotations, identifier, raise.vm(parsePrimitiveType(_this__u8e3s4, raise.vm(_this__u8e3s4.zs()))));
|
|
4638
4643
|
} else {
|
|
4639
4644
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4640
4645
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -4643,12 +4648,12 @@ function parseRefined(_this__u8e3s4, comment, annotations, identifier) {
|
|
|
4643
4648
|
var raise_0 = new DefaultRaise(false);
|
|
4644
4649
|
var tmp_1;
|
|
4645
4650
|
try {
|
|
4646
|
-
var tmp2 = _this__u8e3s4.
|
|
4651
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
4647
4652
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4648
|
-
var actual = null == null ? _this__u8e3s4.
|
|
4653
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
4649
4654
|
// Inline function 'kotlin.also' call
|
|
4650
4655
|
var this_0 = new WrongTokenException(tmp2, getKClass(SpecificType), actual);
|
|
4651
|
-
raise_0.vm(_this__u8e3s4.
|
|
4656
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
4652
4657
|
raise_0.rm(this_0);
|
|
4653
4658
|
} catch ($p) {
|
|
4654
4659
|
var tmp_2;
|
|
@@ -4732,23 +4737,23 @@ function parseUnionTypeEntries(_this__u8e3s4) {
|
|
|
4732
4737
|
var raise = new DefaultRaise(false);
|
|
4733
4738
|
var tmp;
|
|
4734
4739
|
try {
|
|
4735
|
-
var tmp0_subject = _this__u8e3s4.
|
|
4740
|
+
var tmp0_subject = _this__u8e3s4.ws_1.ks_1;
|
|
4736
4741
|
var tmp_0;
|
|
4737
4742
|
if (isInterface(tmp0_subject, TypeIdentifier)) {
|
|
4738
4743
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4739
4744
|
// Inline function 'kotlin.apply' call
|
|
4740
4745
|
var this_0 = ArrayList_init_$Create$_0();
|
|
4741
|
-
raise.vm(_this__u8e3s4.
|
|
4742
|
-
this_0.x(new Custom(_this__u8e3s4.
|
|
4743
|
-
raise.vm(_this__u8e3s4.
|
|
4744
|
-
while (equals(_this__u8e3s4.
|
|
4745
|
-
raise.vm(_this__u8e3s4.
|
|
4746
|
-
var tmp0_subject_0 = _this__u8e3s4.
|
|
4746
|
+
raise.vm(_this__u8e3s4.nt(_this__u8e3s4.ws_1));
|
|
4747
|
+
this_0.x(new Custom(_this__u8e3s4.ws_1.js_1, false));
|
|
4748
|
+
raise.vm(_this__u8e3s4.zs());
|
|
4749
|
+
while (equals(_this__u8e3s4.ws_1.ks_1, Pipe_instance)) {
|
|
4750
|
+
raise.vm(_this__u8e3s4.zs());
|
|
4751
|
+
var tmp0_subject_0 = _this__u8e3s4.ws_1.ks_1;
|
|
4747
4752
|
if (isInterface(tmp0_subject_0, TypeIdentifier)) {
|
|
4748
|
-
raise.vm(_this__u8e3s4.
|
|
4753
|
+
raise.vm(_this__u8e3s4.nt(_this__u8e3s4.ws_1));
|
|
4749
4754
|
// Inline function 'kotlin.also' call
|
|
4750
|
-
this_0.x(new Custom(_this__u8e3s4.
|
|
4751
|
-
raise.vm(_this__u8e3s4.
|
|
4755
|
+
this_0.x(new Custom(_this__u8e3s4.ws_1.js_1, false));
|
|
4756
|
+
raise.vm(_this__u8e3s4.zs());
|
|
4752
4757
|
} else {
|
|
4753
4758
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4754
4759
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -4757,12 +4762,12 @@ function parseUnionTypeEntries(_this__u8e3s4) {
|
|
|
4757
4762
|
var raise_0 = new DefaultRaise(false);
|
|
4758
4763
|
var tmp_1;
|
|
4759
4764
|
try {
|
|
4760
|
-
var tmp2 = _this__u8e3s4.
|
|
4765
|
+
var tmp2 = _this__u8e3s4.ts_1;
|
|
4761
4766
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4762
|
-
var actual = null == null ? _this__u8e3s4.
|
|
4767
|
+
var actual = null == null ? _this__u8e3s4.ws_1 : null;
|
|
4763
4768
|
// Inline function 'kotlin.also' call
|
|
4764
4769
|
var this_1 = new WrongTokenException(tmp2, getKClass(TypeIdentifier), actual);
|
|
4765
|
-
raise_0.vm(_this__u8e3s4.
|
|
4770
|
+
raise_0.vm(_this__u8e3s4.zs());
|
|
4766
4771
|
raise_0.rm(this_1);
|
|
4767
4772
|
} catch ($p) {
|
|
4768
4773
|
var tmp_2;
|
|
@@ -4796,12 +4801,12 @@ function parseUnionTypeEntries(_this__u8e3s4) {
|
|
|
4796
4801
|
var raise_1 = new DefaultRaise(false);
|
|
4797
4802
|
var tmp_3;
|
|
4798
4803
|
try {
|
|
4799
|
-
var tmp2_0 = _this__u8e3s4.
|
|
4804
|
+
var tmp2_0 = _this__u8e3s4.ts_1;
|
|
4800
4805
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4801
|
-
var actual_0 = null == null ? _this__u8e3s4.
|
|
4806
|
+
var actual_0 = null == null ? _this__u8e3s4.ws_1 : null;
|
|
4802
4807
|
// Inline function 'kotlin.also' call
|
|
4803
4808
|
var this_2 = new WrongTokenException(tmp2_0, getKClass(TypeIdentifier), actual_0);
|
|
4804
|
-
raise_1.vm(_this__u8e3s4.
|
|
4809
|
+
raise_1.vm(_this__u8e3s4.zs());
|
|
4805
4810
|
raise_1.rm(this_2);
|
|
4806
4811
|
} catch ($p) {
|
|
4807
4812
|
var tmp_4;
|
|
@@ -4850,13 +4855,13 @@ function parseUnionTypeEntries(_this__u8e3s4) {
|
|
|
4850
4855
|
}
|
|
4851
4856
|
function parseTypeDefinition$lambda($this_parseTypeDefinition, $comment, $annotations, $typeName) {
|
|
4852
4857
|
return function ($this$parseToken, it) {
|
|
4853
|
-
var tmp0_subject = $this_parseTypeDefinition.
|
|
4858
|
+
var tmp0_subject = $this_parseTypeDefinition.ws_1.ks_1;
|
|
4854
4859
|
var tmp;
|
|
4855
4860
|
if (tmp0_subject instanceof Equals) {
|
|
4856
4861
|
tmp = $this$parseToken.vm(parseRefinedOrUnion($this_parseTypeDefinition, $comment, $annotations, $typeName));
|
|
4857
4862
|
} else {
|
|
4858
4863
|
if (tmp0_subject instanceof LeftCurly) {
|
|
4859
|
-
tmp = new Type($comment, $annotations, $typeName, $this$parseToken.vm(TypeParser_instance.
|
|
4864
|
+
tmp = new Type($comment, $annotations, $typeName, $this$parseToken.vm(TypeParser_instance.dt($this_parseTypeDefinition)), emptyList());
|
|
4860
4865
|
} else {
|
|
4861
4866
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4862
4867
|
var this_0 = $this_parseTypeDefinition;
|
|
@@ -4866,12 +4871,12 @@ function parseTypeDefinition$lambda($this_parseTypeDefinition, $comment, $annota
|
|
|
4866
4871
|
var raise = new DefaultRaise(false);
|
|
4867
4872
|
var tmp_0;
|
|
4868
4873
|
try {
|
|
4869
|
-
var tmp2 = this_0.
|
|
4874
|
+
var tmp2 = this_0.ts_1;
|
|
4870
4875
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4871
|
-
var actual = null == null ? this_0.
|
|
4876
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
4872
4877
|
// Inline function 'kotlin.also' call
|
|
4873
4878
|
var this_1 = new WrongTokenException(tmp2, getKClass(TypeDefinitionStart), actual);
|
|
4874
|
-
raise.vm(this_0.
|
|
4879
|
+
raise.vm(this_0.zs());
|
|
4875
4880
|
raise.rm(this_1);
|
|
4876
4881
|
} catch ($p) {
|
|
4877
4882
|
var tmp_1;
|
|
@@ -4901,8 +4906,8 @@ function parseTypeDefinition$lambda($this_parseTypeDefinition, $comment, $annota
|
|
|
4901
4906
|
}
|
|
4902
4907
|
function parseField$lambda($this_parseField, $annotations, $identifier) {
|
|
4903
4908
|
return function ($this$parseToken, it) {
|
|
4904
|
-
if ($this_parseField.
|
|
4905
|
-
$this$parseToken.vm($this_parseField.
|
|
4909
|
+
if ($this_parseField.ws_1.ks_1 instanceof Colon)
|
|
4910
|
+
$this$parseToken.vm($this_parseField.zs());
|
|
4906
4911
|
else {
|
|
4907
4912
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
4908
4913
|
var this_0 = $this_parseField;
|
|
@@ -4912,12 +4917,12 @@ function parseField$lambda($this_parseField, $annotations, $identifier) {
|
|
|
4912
4917
|
var raise = new DefaultRaise(false);
|
|
4913
4918
|
var tmp;
|
|
4914
4919
|
try {
|
|
4915
|
-
var tmp2 = this_0.
|
|
4920
|
+
var tmp2 = this_0.ts_1;
|
|
4916
4921
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4917
|
-
var actual = null == null ? this_0.
|
|
4922
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
4918
4923
|
// Inline function 'kotlin.also' call
|
|
4919
4924
|
var this_1 = new WrongTokenException(tmp2, getKClass(Colon), actual);
|
|
4920
|
-
raise.vm(this_0.
|
|
4925
|
+
raise.vm(this_0.zs());
|
|
4921
4926
|
raise.rm(this_1);
|
|
4922
4927
|
} catch ($p) {
|
|
4923
4928
|
var tmp_0;
|
|
@@ -4941,14 +4946,14 @@ function parseField$lambda($this_parseField, $annotations, $identifier) {
|
|
|
4941
4946
|
$this$parseToken.vm(tmp$ret$8);
|
|
4942
4947
|
throwKotlinNothingValueException();
|
|
4943
4948
|
}
|
|
4944
|
-
var tmp1_subject = $this_parseField.
|
|
4949
|
+
var tmp1_subject = $this_parseField.ws_1.ks_1;
|
|
4945
4950
|
var tmp_1;
|
|
4946
4951
|
if (tmp1_subject instanceof LeftCurly) {
|
|
4947
|
-
var tmp2_reference = $this$parseToken.vm(TypeParser_instance.
|
|
4952
|
+
var tmp2_reference = $this$parseToken.vm(TypeParser_instance.bt($this_parseField));
|
|
4948
4953
|
tmp_1 = new Field($annotations, $identifier, tmp2_reference);
|
|
4949
4954
|
} else {
|
|
4950
4955
|
if (isInterface(tmp1_subject, WirespecType_0)) {
|
|
4951
|
-
var tmp3_reference = $this$parseToken.vm(TypeParser_instance.
|
|
4956
|
+
var tmp3_reference = $this$parseToken.vm(TypeParser_instance.at($this_parseField));
|
|
4952
4957
|
tmp_1 = new Field($annotations, $identifier, tmp3_reference);
|
|
4953
4958
|
} else {
|
|
4954
4959
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
@@ -4959,12 +4964,12 @@ function parseField$lambda($this_parseField, $annotations, $identifier) {
|
|
|
4959
4964
|
var raise_0 = new DefaultRaise(false);
|
|
4960
4965
|
var tmp_2;
|
|
4961
4966
|
try {
|
|
4962
|
-
var tmp2_0 = this_2.
|
|
4967
|
+
var tmp2_0 = this_2.ts_1;
|
|
4963
4968
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
4964
|
-
var actual_0 = null == null ? this_2.
|
|
4969
|
+
var actual_0 = null == null ? this_2.ws_1 : null;
|
|
4965
4970
|
// Inline function 'kotlin.also' call
|
|
4966
4971
|
var this_3 = new WrongTokenException(tmp2_0, getKClass(WirespecType_0), actual_0);
|
|
4967
|
-
raise_0.vm(this_2.
|
|
4972
|
+
raise_0.vm(this_2.zs());
|
|
4968
4973
|
raise_0.rm(this_3);
|
|
4969
4974
|
} catch ($p) {
|
|
4970
4975
|
var tmp_3;
|
|
@@ -4994,10 +4999,10 @@ function parseField$lambda($this_parseField, $annotations, $identifier) {
|
|
|
4994
4999
|
}
|
|
4995
5000
|
function parsePrimitiveType$lambda$lambda($this) {
|
|
4996
5001
|
return function ($this$parseToken, previousToken) {
|
|
4997
|
-
var tmp0_subject = previousToken.
|
|
5002
|
+
var tmp0_subject = previousToken.ks_1;
|
|
4998
5003
|
var tmp;
|
|
4999
5004
|
if (tmp0_subject instanceof Integer_0) {
|
|
5000
|
-
tmp = previousToken.
|
|
5005
|
+
tmp = previousToken.js_1;
|
|
5001
5006
|
} else {
|
|
5002
5007
|
if (tmp0_subject instanceof Underscore) {
|
|
5003
5008
|
tmp = null;
|
|
@@ -5010,12 +5015,12 @@ function parsePrimitiveType$lambda$lambda($this) {
|
|
|
5010
5015
|
var raise = new DefaultRaise(false);
|
|
5011
5016
|
var tmp_0;
|
|
5012
5017
|
try {
|
|
5013
|
-
var tmp2 = this_0.
|
|
5018
|
+
var tmp2 = this_0.ts_1;
|
|
5014
5019
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5015
|
-
var actual = null == null ? this_0.
|
|
5020
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
5016
5021
|
// Inline function 'kotlin.also' call
|
|
5017
5022
|
var this_1 = new WrongTokenException(tmp2, getKClass(Integer_0), actual);
|
|
5018
|
-
raise.vm(this_0.
|
|
5023
|
+
raise.vm(this_0.zs());
|
|
5019
5024
|
raise.rm(this_1);
|
|
5020
5025
|
} catch ($p) {
|
|
5021
5026
|
var tmp_1;
|
|
@@ -5045,10 +5050,10 @@ function parsePrimitiveType$lambda$lambda($this) {
|
|
|
5045
5050
|
}
|
|
5046
5051
|
function parsePrimitiveType$lambda$lambda_0($this) {
|
|
5047
5052
|
return function ($this$parseToken, previousToken) {
|
|
5048
|
-
var tmp0_subject = previousToken.
|
|
5053
|
+
var tmp0_subject = previousToken.ks_1;
|
|
5049
5054
|
var tmp;
|
|
5050
5055
|
if (tmp0_subject instanceof Integer_0) {
|
|
5051
|
-
tmp = previousToken.
|
|
5056
|
+
tmp = previousToken.js_1;
|
|
5052
5057
|
} else {
|
|
5053
5058
|
if (tmp0_subject instanceof Underscore) {
|
|
5054
5059
|
tmp = null;
|
|
@@ -5061,12 +5066,12 @@ function parsePrimitiveType$lambda$lambda_0($this) {
|
|
|
5061
5066
|
var raise = new DefaultRaise(false);
|
|
5062
5067
|
var tmp_0;
|
|
5063
5068
|
try {
|
|
5064
|
-
var tmp2 = this_0.
|
|
5069
|
+
var tmp2 = this_0.ts_1;
|
|
5065
5070
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5066
|
-
var actual = null == null ? this_0.
|
|
5071
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
5067
5072
|
// Inline function 'kotlin.also' call
|
|
5068
5073
|
var this_1 = new WrongTokenException(tmp2, getKClass(Integer_0), actual);
|
|
5069
|
-
raise.vm(this_0.
|
|
5074
|
+
raise.vm(this_0.zs());
|
|
5070
5075
|
raise.rm(this_1);
|
|
5071
5076
|
} catch ($p) {
|
|
5072
5077
|
var tmp_1;
|
|
@@ -5100,8 +5105,8 @@ function parsePrimitiveType$lambda($this) {
|
|
|
5100
5105
|
var this_0 = $this;
|
|
5101
5106
|
var tmp$ret$0 = parseToken(this_0, parsePrimitiveType$lambda$lambda(this_0));
|
|
5102
5107
|
var min = $this$parseToken.vm(tmp$ret$0);
|
|
5103
|
-
if ($this.
|
|
5104
|
-
$this$parseToken.vm($this.
|
|
5108
|
+
if ($this.ws_1.ks_1 instanceof Comma)
|
|
5109
|
+
$this$parseToken.vm($this.zs());
|
|
5105
5110
|
else {
|
|
5106
5111
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5107
5112
|
var this_1 = $this;
|
|
@@ -5111,12 +5116,12 @@ function parsePrimitiveType$lambda($this) {
|
|
|
5111
5116
|
var raise = new DefaultRaise(false);
|
|
5112
5117
|
var tmp;
|
|
5113
5118
|
try {
|
|
5114
|
-
var tmp2 = this_1.
|
|
5119
|
+
var tmp2 = this_1.ts_1;
|
|
5115
5120
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5116
|
-
var actual = null == null ? this_1.
|
|
5121
|
+
var actual = null == null ? this_1.ws_1 : null;
|
|
5117
5122
|
// Inline function 'kotlin.also' call
|
|
5118
5123
|
var this_2 = new WrongTokenException(tmp2, getKClass(Comma), actual);
|
|
5119
|
-
raise.vm(this_1.
|
|
5124
|
+
raise.vm(this_1.zs());
|
|
5120
5125
|
raise.rm(this_2);
|
|
5121
5126
|
} catch ($p) {
|
|
5122
5127
|
var tmp_0;
|
|
@@ -5144,8 +5149,8 @@ function parsePrimitiveType$lambda($this) {
|
|
|
5144
5149
|
var this_3 = $this;
|
|
5145
5150
|
var tmp$ret$10 = parseToken(this_3, parsePrimitiveType$lambda$lambda_0(this_3));
|
|
5146
5151
|
var max = $this$parseToken.vm(tmp$ret$10);
|
|
5147
|
-
if ($this.
|
|
5148
|
-
$this$parseToken.vm($this.
|
|
5152
|
+
if ($this.ws_1.ks_1 instanceof RightParenthesis)
|
|
5153
|
+
$this$parseToken.vm($this.zs());
|
|
5149
5154
|
else {
|
|
5150
5155
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5151
5156
|
var this_4 = $this;
|
|
@@ -5155,12 +5160,12 @@ function parsePrimitiveType$lambda($this) {
|
|
|
5155
5160
|
var raise_0 = new DefaultRaise(false);
|
|
5156
5161
|
var tmp_1;
|
|
5157
5162
|
try {
|
|
5158
|
-
var tmp2_0 = this_4.
|
|
5163
|
+
var tmp2_0 = this_4.ts_1;
|
|
5159
5164
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5160
|
-
var actual_0 = null == null ? this_4.
|
|
5165
|
+
var actual_0 = null == null ? this_4.ws_1 : null;
|
|
5161
5166
|
// Inline function 'kotlin.also' call
|
|
5162
5167
|
var this_5 = new WrongTokenException(tmp2_0, getKClass(RightParenthesis), actual_0);
|
|
5163
|
-
raise_0.vm(this_4.
|
|
5168
|
+
raise_0.vm(this_4.zs());
|
|
5164
5169
|
raise_0.rm(this_5);
|
|
5165
5170
|
} catch ($p) {
|
|
5166
5171
|
var tmp_2;
|
|
@@ -5189,10 +5194,10 @@ function parsePrimitiveType$lambda($this) {
|
|
|
5189
5194
|
}
|
|
5190
5195
|
function parsePrimitiveType$lambda$lambda_1($this) {
|
|
5191
5196
|
return function ($this$parseToken, previousToken) {
|
|
5192
|
-
var tmp0_subject = previousToken.
|
|
5197
|
+
var tmp0_subject = previousToken.ks_1;
|
|
5193
5198
|
var tmp;
|
|
5194
5199
|
if (tmp0_subject instanceof Number_1) {
|
|
5195
|
-
tmp = previousToken.
|
|
5200
|
+
tmp = previousToken.js_1;
|
|
5196
5201
|
} else {
|
|
5197
5202
|
if (tmp0_subject instanceof Underscore) {
|
|
5198
5203
|
tmp = null;
|
|
@@ -5205,12 +5210,12 @@ function parsePrimitiveType$lambda$lambda_1($this) {
|
|
|
5205
5210
|
var raise = new DefaultRaise(false);
|
|
5206
5211
|
var tmp_0;
|
|
5207
5212
|
try {
|
|
5208
|
-
var tmp2 = this_0.
|
|
5213
|
+
var tmp2 = this_0.ts_1;
|
|
5209
5214
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5210
|
-
var actual = null == null ? this_0.
|
|
5215
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
5211
5216
|
// Inline function 'kotlin.also' call
|
|
5212
5217
|
var this_1 = new WrongTokenException(tmp2, getKClass(Number_1), actual);
|
|
5213
|
-
raise.vm(this_0.
|
|
5218
|
+
raise.vm(this_0.zs());
|
|
5214
5219
|
raise.rm(this_1);
|
|
5215
5220
|
} catch ($p) {
|
|
5216
5221
|
var tmp_1;
|
|
@@ -5240,10 +5245,10 @@ function parsePrimitiveType$lambda$lambda_1($this) {
|
|
|
5240
5245
|
}
|
|
5241
5246
|
function parsePrimitiveType$lambda$lambda_2($this) {
|
|
5242
5247
|
return function ($this$parseToken, previousToken) {
|
|
5243
|
-
var tmp0_subject = previousToken.
|
|
5248
|
+
var tmp0_subject = previousToken.ks_1;
|
|
5244
5249
|
var tmp;
|
|
5245
5250
|
if (tmp0_subject instanceof Number_1) {
|
|
5246
|
-
tmp = previousToken.
|
|
5251
|
+
tmp = previousToken.js_1;
|
|
5247
5252
|
} else {
|
|
5248
5253
|
if (tmp0_subject instanceof Underscore) {
|
|
5249
5254
|
tmp = null;
|
|
@@ -5256,12 +5261,12 @@ function parsePrimitiveType$lambda$lambda_2($this) {
|
|
|
5256
5261
|
var raise = new DefaultRaise(false);
|
|
5257
5262
|
var tmp_0;
|
|
5258
5263
|
try {
|
|
5259
|
-
var tmp2 = this_0.
|
|
5264
|
+
var tmp2 = this_0.ts_1;
|
|
5260
5265
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5261
|
-
var actual = null == null ? this_0.
|
|
5266
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
5262
5267
|
// Inline function 'kotlin.also' call
|
|
5263
5268
|
var this_1 = new WrongTokenException(tmp2, getKClass(Number_1), actual);
|
|
5264
|
-
raise.vm(this_0.
|
|
5269
|
+
raise.vm(this_0.zs());
|
|
5265
5270
|
raise.rm(this_1);
|
|
5266
5271
|
} catch ($p) {
|
|
5267
5272
|
var tmp_1;
|
|
@@ -5295,8 +5300,8 @@ function parsePrimitiveType$lambda_0($this) {
|
|
|
5295
5300
|
var this_0 = $this;
|
|
5296
5301
|
var tmp$ret$0 = parseToken(this_0, parsePrimitiveType$lambda$lambda_1(this_0));
|
|
5297
5302
|
var min = $this$parseToken.vm(tmp$ret$0);
|
|
5298
|
-
if ($this.
|
|
5299
|
-
$this$parseToken.vm($this.
|
|
5303
|
+
if ($this.ws_1.ks_1 instanceof Comma)
|
|
5304
|
+
$this$parseToken.vm($this.zs());
|
|
5300
5305
|
else {
|
|
5301
5306
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5302
5307
|
var this_1 = $this;
|
|
@@ -5306,12 +5311,12 @@ function parsePrimitiveType$lambda_0($this) {
|
|
|
5306
5311
|
var raise = new DefaultRaise(false);
|
|
5307
5312
|
var tmp;
|
|
5308
5313
|
try {
|
|
5309
|
-
var tmp2 = this_1.
|
|
5314
|
+
var tmp2 = this_1.ts_1;
|
|
5310
5315
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5311
|
-
var actual = null == null ? this_1.
|
|
5316
|
+
var actual = null == null ? this_1.ws_1 : null;
|
|
5312
5317
|
// Inline function 'kotlin.also' call
|
|
5313
5318
|
var this_2 = new WrongTokenException(tmp2, getKClass(Comma), actual);
|
|
5314
|
-
raise.vm(this_1.
|
|
5319
|
+
raise.vm(this_1.zs());
|
|
5315
5320
|
raise.rm(this_2);
|
|
5316
5321
|
} catch ($p) {
|
|
5317
5322
|
var tmp_0;
|
|
@@ -5339,8 +5344,8 @@ function parsePrimitiveType$lambda_0($this) {
|
|
|
5339
5344
|
var this_3 = $this;
|
|
5340
5345
|
var tmp$ret$10 = parseToken(this_3, parsePrimitiveType$lambda$lambda_2(this_3));
|
|
5341
5346
|
var max = $this$parseToken.vm(tmp$ret$10);
|
|
5342
|
-
if ($this.
|
|
5343
|
-
$this$parseToken.vm($this.
|
|
5347
|
+
if ($this.ws_1.ks_1 instanceof RightParenthesis)
|
|
5348
|
+
$this$parseToken.vm($this.zs());
|
|
5344
5349
|
else {
|
|
5345
5350
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5346
5351
|
var this_4 = $this;
|
|
@@ -5350,12 +5355,12 @@ function parsePrimitiveType$lambda_0($this) {
|
|
|
5350
5355
|
var raise_0 = new DefaultRaise(false);
|
|
5351
5356
|
var tmp_1;
|
|
5352
5357
|
try {
|
|
5353
|
-
var tmp2_0 = this_4.
|
|
5358
|
+
var tmp2_0 = this_4.ts_1;
|
|
5354
5359
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5355
|
-
var actual_0 = null == null ? this_4.
|
|
5360
|
+
var actual_0 = null == null ? this_4.ws_1 : null;
|
|
5356
5361
|
// Inline function 'kotlin.also' call
|
|
5357
5362
|
var this_5 = new WrongTokenException(tmp2_0, getKClass(RightParenthesis), actual_0);
|
|
5358
|
-
raise_0.vm(this_4.
|
|
5363
|
+
raise_0.vm(this_4.zs());
|
|
5359
5364
|
raise_0.rm(this_5);
|
|
5360
5365
|
} catch ($p) {
|
|
5361
5366
|
var tmp_2;
|
|
@@ -5384,7 +5389,7 @@ function parsePrimitiveType$lambda_0($this) {
|
|
|
5384
5389
|
}
|
|
5385
5390
|
function parseRefinedOrUnion$lambda($this_parseRefinedOrUnion, $comment, $annotations, $identifier) {
|
|
5386
5391
|
return function ($this$parseToken, it) {
|
|
5387
|
-
var tmp0_subject = $this_parseRefinedOrUnion.
|
|
5392
|
+
var tmp0_subject = $this_parseRefinedOrUnion.ws_1.ks_1;
|
|
5388
5393
|
var tmp;
|
|
5389
5394
|
if (isInterface(tmp0_subject, SpecificType)) {
|
|
5390
5395
|
tmp = $this$parseToken.vm(parseRefined($this_parseRefinedOrUnion, $comment, $annotations, $identifier));
|
|
@@ -5400,12 +5405,12 @@ function parseRefinedOrUnion$lambda($this_parseRefinedOrUnion, $comment, $annota
|
|
|
5400
5405
|
var raise = new DefaultRaise(false);
|
|
5401
5406
|
var tmp_0;
|
|
5402
5407
|
try {
|
|
5403
|
-
var tmp2 = this_0.
|
|
5408
|
+
var tmp2 = this_0.ts_1;
|
|
5404
5409
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5405
|
-
var actual = null == null ? this_0.
|
|
5410
|
+
var actual = null == null ? this_0.ws_1 : null;
|
|
5406
5411
|
// Inline function 'kotlin.also' call
|
|
5407
5412
|
var this_1 = new WrongTokenException(tmp2, getKClass(WirespecType_0), actual);
|
|
5408
|
-
raise.vm(this_0.
|
|
5413
|
+
raise.vm(this_0.zs());
|
|
5409
5414
|
raise.rm(this_1);
|
|
5410
5415
|
} catch ($p) {
|
|
5411
5416
|
var tmp_1;
|
|
@@ -5436,12 +5441,12 @@ function parseRefinedOrUnion$lambda($this_parseRefinedOrUnion, $comment, $annota
|
|
|
5436
5441
|
function parseTypeConstraint$lambda($this_parseTypeConstraint) {
|
|
5437
5442
|
return function ($this$parseToken, it) {
|
|
5438
5443
|
var tmp;
|
|
5439
|
-
if ($this_parseTypeConstraint.
|
|
5444
|
+
if ($this_parseTypeConstraint.ws_1.ks_1 instanceof RegExp_1) {
|
|
5440
5445
|
// Inline function 'kotlin.also' call
|
|
5441
|
-
var this_0 = new RegExp_0(_RegExp___init__impl__p22noo($this_parseTypeConstraint.
|
|
5442
|
-
this_0.
|
|
5443
|
-
$this$parseToken.vm($this_parseTypeConstraint.
|
|
5444
|
-
tmp = this_0.
|
|
5446
|
+
var this_0 = new RegExp_0(_RegExp___init__impl__p22noo($this_parseTypeConstraint.ws_1.js_1));
|
|
5447
|
+
this_0.qt_1;
|
|
5448
|
+
$this$parseToken.vm($this_parseTypeConstraint.zs());
|
|
5449
|
+
tmp = this_0.qt_1;
|
|
5445
5450
|
} else {
|
|
5446
5451
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5447
5452
|
var this_1 = $this_parseTypeConstraint;
|
|
@@ -5451,12 +5456,12 @@ function parseTypeConstraint$lambda($this_parseTypeConstraint) {
|
|
|
5451
5456
|
var raise = new DefaultRaise(false);
|
|
5452
5457
|
var tmp_0;
|
|
5453
5458
|
try {
|
|
5454
|
-
var tmp2 = this_1.
|
|
5459
|
+
var tmp2 = this_1.ts_1;
|
|
5455
5460
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5456
|
-
var actual = null == null ? this_1.
|
|
5461
|
+
var actual = null == null ? this_1.ws_1 : null;
|
|
5457
5462
|
// Inline function 'kotlin.also' call
|
|
5458
5463
|
var this_2 = new WrongTokenException(tmp2, getKClass(RegExp_1), actual);
|
|
5459
|
-
raise.vm(this_1.
|
|
5464
|
+
raise.vm(this_1.zs());
|
|
5460
5465
|
raise.rm(this_2);
|
|
5461
5466
|
} catch ($p) {
|
|
5462
5467
|
var tmp_1;
|
|
@@ -5482,9 +5487,9 @@ function parseTypeConstraint$lambda($this_parseTypeConstraint) {
|
|
|
5482
5487
|
}
|
|
5483
5488
|
// Inline function 'kotlin.also' call
|
|
5484
5489
|
var this_3 = new RegExp_0(tmp);
|
|
5485
|
-
this_3.
|
|
5486
|
-
if ($this_parseTypeConstraint.
|
|
5487
|
-
$this$parseToken.vm($this_parseTypeConstraint.
|
|
5490
|
+
this_3.qt_1;
|
|
5491
|
+
if ($this_parseTypeConstraint.ws_1.ks_1 instanceof RightParenthesis)
|
|
5492
|
+
$this$parseToken.vm($this_parseTypeConstraint.zs());
|
|
5488
5493
|
else {
|
|
5489
5494
|
// Inline function 'community.flock.wirespec.compiler.core.parse.raiseWrongToken' call
|
|
5490
5495
|
var this_4 = $this_parseTypeConstraint;
|
|
@@ -5494,12 +5499,12 @@ function parseTypeConstraint$lambda($this_parseTypeConstraint) {
|
|
|
5494
5499
|
var raise_0 = new DefaultRaise(false);
|
|
5495
5500
|
var tmp_2;
|
|
5496
5501
|
try {
|
|
5497
|
-
var tmp2_0 = this_4.
|
|
5502
|
+
var tmp2_0 = this_4.ts_1;
|
|
5498
5503
|
// Inline function 'community.flock.wirespec.compiler.core.exceptions.Companion.invoke' call
|
|
5499
|
-
var actual_0 = null == null ? this_4.
|
|
5504
|
+
var actual_0 = null == null ? this_4.ws_1 : null;
|
|
5500
5505
|
// Inline function 'kotlin.also' call
|
|
5501
5506
|
var this_5 = new WrongTokenException(tmp2_0, getKClass(RightParenthesis), actual_0);
|
|
5502
|
-
raise_0.vm(this_4.
|
|
5507
|
+
raise_0.vm(this_4.zs());
|
|
5503
5508
|
raise_0.rm(this_5);
|
|
5504
5509
|
} catch ($p) {
|
|
5505
5510
|
var tmp_3;
|
|
@@ -5522,77 +5527,77 @@ function parseTypeConstraint$lambda($this_parseTypeConstraint) {
|
|
|
5522
5527
|
var tmp$ret$19 = tmp_2;
|
|
5523
5528
|
$this$parseToken.vm(tmp$ret$19);
|
|
5524
5529
|
}
|
|
5525
|
-
var tmp$ret$21 = this_3.
|
|
5530
|
+
var tmp$ret$21 = this_3.qt_1;
|
|
5526
5531
|
return new RegExp_0(tmp$ret$21);
|
|
5527
5532
|
};
|
|
5528
5533
|
}
|
|
5529
5534
|
function Shape(value) {
|
|
5530
|
-
this.
|
|
5535
|
+
this.jp_1 = value;
|
|
5531
5536
|
}
|
|
5532
5537
|
protoOf(Shape).l1 = function () {
|
|
5533
|
-
return this.
|
|
5538
|
+
return this.jp_1;
|
|
5534
5539
|
};
|
|
5535
5540
|
protoOf(Shape).toString = function () {
|
|
5536
|
-
return 'Shape(value=' + toString(this.
|
|
5541
|
+
return 'Shape(value=' + toString(this.jp_1) + ')';
|
|
5537
5542
|
};
|
|
5538
5543
|
protoOf(Shape).hashCode = function () {
|
|
5539
|
-
return hashCode(this.
|
|
5544
|
+
return hashCode(this.jp_1);
|
|
5540
5545
|
};
|
|
5541
5546
|
protoOf(Shape).equals = function (other) {
|
|
5542
5547
|
if (this === other)
|
|
5543
5548
|
return true;
|
|
5544
5549
|
if (!(other instanceof Shape))
|
|
5545
5550
|
return false;
|
|
5546
|
-
if (!equals(this.
|
|
5551
|
+
if (!equals(this.jp_1, other.jp_1))
|
|
5547
5552
|
return false;
|
|
5548
5553
|
return true;
|
|
5549
5554
|
};
|
|
5550
5555
|
function Type(comment, annotations, identifier, shape, extends_0) {
|
|
5551
|
-
this.
|
|
5552
|
-
this.
|
|
5553
|
-
this.
|
|
5554
|
-
this.
|
|
5555
|
-
this.
|
|
5556
|
+
this.kp_1 = comment;
|
|
5557
|
+
this.lp_1 = annotations;
|
|
5558
|
+
this.mp_1 = identifier;
|
|
5559
|
+
this.np_1 = shape;
|
|
5560
|
+
this.op_1 = extends_0;
|
|
5556
5561
|
}
|
|
5557
|
-
protoOf(Type).
|
|
5558
|
-
return this.
|
|
5562
|
+
protoOf(Type).nr = function () {
|
|
5563
|
+
return this.mp_1;
|
|
5559
5564
|
};
|
|
5560
|
-
protoOf(Type).
|
|
5565
|
+
protoOf(Type).rt = function (comment, annotations, identifier, shape, extends_0) {
|
|
5561
5566
|
return new Type(comment, annotations, identifier, shape, extends_0);
|
|
5562
5567
|
};
|
|
5563
|
-
protoOf(Type).
|
|
5564
|
-
comment = comment === VOID ? this.
|
|
5565
|
-
annotations = annotations === VOID ? this.
|
|
5566
|
-
identifier = identifier === VOID ? this.
|
|
5567
|
-
shape = shape === VOID ? this.
|
|
5568
|
-
extends_0 = extends_0 === VOID ? this.
|
|
5568
|
+
protoOf(Type).st = function (comment, annotations, identifier, shape, extends_0, $super) {
|
|
5569
|
+
comment = comment === VOID ? this.kp_1 : comment;
|
|
5570
|
+
annotations = annotations === VOID ? this.lp_1 : annotations;
|
|
5571
|
+
identifier = identifier === VOID ? this.mp_1 : identifier;
|
|
5572
|
+
shape = shape === VOID ? this.np_1 : shape;
|
|
5573
|
+
extends_0 = extends_0 === VOID ? this.op_1 : extends_0;
|
|
5569
5574
|
var tmp;
|
|
5570
5575
|
if ($super === VOID) {
|
|
5571
|
-
tmp = this.
|
|
5576
|
+
tmp = this.rt(comment, annotations, identifier, shape, extends_0);
|
|
5572
5577
|
} else {
|
|
5573
|
-
var tmp_0 = $super.
|
|
5578
|
+
var tmp_0 = $super.rt;
|
|
5574
5579
|
var tmp_1 = comment;
|
|
5575
5580
|
tmp = tmp_0.call(this, tmp_1 == null ? null : new Comment(tmp_1), annotations, identifier, shape, extends_0);
|
|
5576
5581
|
}
|
|
5577
5582
|
return tmp;
|
|
5578
5583
|
};
|
|
5579
5584
|
protoOf(Type).toString = function () {
|
|
5580
|
-
var tmp = this.
|
|
5581
|
-
return 'Type(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
5585
|
+
var tmp = this.kp_1;
|
|
5586
|
+
return 'Type(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.lp_1) + ', identifier=' + this.mp_1.toString() + ', shape=' + this.np_1.toString() + ', extends=' + toString(this.op_1) + ')';
|
|
5582
5587
|
};
|
|
5583
5588
|
protoOf(Type).hashCode = function () {
|
|
5584
5589
|
var tmp;
|
|
5585
|
-
var tmp_0 = this.
|
|
5590
|
+
var tmp_0 = this.kp_1;
|
|
5586
5591
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
5587
5592
|
tmp = 0;
|
|
5588
5593
|
} else {
|
|
5589
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
5594
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.kp_1);
|
|
5590
5595
|
}
|
|
5591
5596
|
var result = tmp;
|
|
5592
|
-
result = imul(result, 31) + hashCode(this.
|
|
5593
|
-
result = imul(result, 31) + this.lp_1.hashCode() | 0;
|
|
5597
|
+
result = imul(result, 31) + hashCode(this.lp_1) | 0;
|
|
5594
5598
|
result = imul(result, 31) + this.mp_1.hashCode() | 0;
|
|
5595
|
-
result = imul(result, 31) +
|
|
5599
|
+
result = imul(result, 31) + this.np_1.hashCode() | 0;
|
|
5600
|
+
result = imul(result, 31) + hashCode(this.op_1) | 0;
|
|
5596
5601
|
return result;
|
|
5597
5602
|
};
|
|
5598
5603
|
protoOf(Type).equals = function (other) {
|
|
@@ -5600,18 +5605,18 @@ protoOf(Type).equals = function (other) {
|
|
|
5600
5605
|
return true;
|
|
5601
5606
|
if (!(other instanceof Type))
|
|
5602
5607
|
return false;
|
|
5603
|
-
var tmp = this.
|
|
5608
|
+
var tmp = this.kp_1;
|
|
5604
5609
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
5605
|
-
var tmp_1 = other.
|
|
5610
|
+
var tmp_1 = other.kp_1;
|
|
5606
5611
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
5607
5612
|
return false;
|
|
5608
|
-
if (!equals(this.
|
|
5609
|
-
return false;
|
|
5610
|
-
if (!this.lp_1.equals(other.lp_1))
|
|
5613
|
+
if (!equals(this.lp_1, other.lp_1))
|
|
5611
5614
|
return false;
|
|
5612
5615
|
if (!this.mp_1.equals(other.mp_1))
|
|
5613
5616
|
return false;
|
|
5614
|
-
if (!
|
|
5617
|
+
if (!this.np_1.equals(other.np_1))
|
|
5618
|
+
return false;
|
|
5619
|
+
if (!equals(this.op_1, other.op_1))
|
|
5615
5620
|
return false;
|
|
5616
5621
|
return true;
|
|
5617
5622
|
};
|
|
@@ -5671,36 +5676,36 @@ function Method_initEntries() {
|
|
|
5671
5676
|
}
|
|
5672
5677
|
var $ENTRIES_0;
|
|
5673
5678
|
function Literal(value) {
|
|
5674
|
-
this.
|
|
5679
|
+
this.yq_1 = value;
|
|
5675
5680
|
}
|
|
5676
5681
|
protoOf(Literal).l1 = function () {
|
|
5677
|
-
return this.
|
|
5682
|
+
return this.yq_1;
|
|
5678
5683
|
};
|
|
5679
5684
|
protoOf(Literal).toString = function () {
|
|
5680
|
-
return 'Literal(value=' + this.
|
|
5685
|
+
return 'Literal(value=' + this.yq_1 + ')';
|
|
5681
5686
|
};
|
|
5682
5687
|
protoOf(Literal).hashCode = function () {
|
|
5683
|
-
return getStringHashCode(this.
|
|
5688
|
+
return getStringHashCode(this.yq_1);
|
|
5684
5689
|
};
|
|
5685
5690
|
protoOf(Literal).equals = function (other) {
|
|
5686
5691
|
if (this === other)
|
|
5687
5692
|
return true;
|
|
5688
5693
|
if (!(other instanceof Literal))
|
|
5689
5694
|
return false;
|
|
5690
|
-
if (!(this.
|
|
5695
|
+
if (!(this.yq_1 === other.yq_1))
|
|
5691
5696
|
return false;
|
|
5692
5697
|
return true;
|
|
5693
5698
|
};
|
|
5694
5699
|
function Param_0(identifier, reference) {
|
|
5695
|
-
this.
|
|
5696
|
-
this.
|
|
5700
|
+
this.cq_1 = identifier;
|
|
5701
|
+
this.dq_1 = reference;
|
|
5697
5702
|
}
|
|
5698
5703
|
protoOf(Param_0).toString = function () {
|
|
5699
|
-
return 'Param(identifier=' + this.
|
|
5704
|
+
return 'Param(identifier=' + this.cq_1.toString() + ', reference=' + toString(this.dq_1) + ')';
|
|
5700
5705
|
};
|
|
5701
5706
|
protoOf(Param_0).hashCode = function () {
|
|
5702
|
-
var result = this.
|
|
5703
|
-
result = imul(result, 31) + hashCode(this.
|
|
5707
|
+
var result = this.cq_1.hashCode();
|
|
5708
|
+
result = imul(result, 31) + hashCode(this.dq_1) | 0;
|
|
5704
5709
|
return result;
|
|
5705
5710
|
};
|
|
5706
5711
|
protoOf(Param_0).equals = function (other) {
|
|
@@ -5708,9 +5713,9 @@ protoOf(Param_0).equals = function (other) {
|
|
|
5708
5713
|
return true;
|
|
5709
5714
|
if (!(other instanceof Param_0))
|
|
5710
5715
|
return false;
|
|
5711
|
-
if (!this.
|
|
5716
|
+
if (!this.cq_1.equals(other.cq_1))
|
|
5712
5717
|
return false;
|
|
5713
|
-
if (!equals(this.
|
|
5718
|
+
if (!equals(this.dq_1, other.dq_1))
|
|
5714
5719
|
return false;
|
|
5715
5720
|
return true;
|
|
5716
5721
|
};
|
|
@@ -5718,37 +5723,37 @@ function Method(name, ordinal) {
|
|
|
5718
5723
|
Enum.call(this, name, ordinal);
|
|
5719
5724
|
}
|
|
5720
5725
|
function Request(content) {
|
|
5721
|
-
this.
|
|
5726
|
+
this.eq_1 = content;
|
|
5722
5727
|
}
|
|
5723
5728
|
protoOf(Request).toString = function () {
|
|
5724
|
-
return 'Request(content=' + toString_1(this.
|
|
5729
|
+
return 'Request(content=' + toString_1(this.eq_1) + ')';
|
|
5725
5730
|
};
|
|
5726
5731
|
protoOf(Request).hashCode = function () {
|
|
5727
|
-
return this.
|
|
5732
|
+
return this.eq_1 == null ? 0 : this.eq_1.hashCode();
|
|
5728
5733
|
};
|
|
5729
5734
|
protoOf(Request).equals = function (other) {
|
|
5730
5735
|
if (this === other)
|
|
5731
5736
|
return true;
|
|
5732
5737
|
if (!(other instanceof Request))
|
|
5733
5738
|
return false;
|
|
5734
|
-
if (!equals(this.
|
|
5739
|
+
if (!equals(this.eq_1, other.eq_1))
|
|
5735
5740
|
return false;
|
|
5736
5741
|
return true;
|
|
5737
5742
|
};
|
|
5738
5743
|
function Response(status, headers, content, annotations) {
|
|
5739
|
-
this.
|
|
5740
|
-
this.
|
|
5741
|
-
this.
|
|
5742
|
-
this.
|
|
5744
|
+
this.hq_1 = status;
|
|
5745
|
+
this.iq_1 = headers;
|
|
5746
|
+
this.jq_1 = content;
|
|
5747
|
+
this.kq_1 = annotations;
|
|
5743
5748
|
}
|
|
5744
5749
|
protoOf(Response).toString = function () {
|
|
5745
|
-
return 'Response(status=' + this.
|
|
5750
|
+
return 'Response(status=' + this.hq_1 + ', headers=' + toString(this.iq_1) + ', content=' + toString_1(this.jq_1) + ', annotations=' + toString(this.kq_1) + ')';
|
|
5746
5751
|
};
|
|
5747
5752
|
protoOf(Response).hashCode = function () {
|
|
5748
|
-
var result = getStringHashCode(this.
|
|
5749
|
-
result = imul(result, 31) + hashCode(this.
|
|
5750
|
-
result = imul(result, 31) + (this.
|
|
5751
|
-
result = imul(result, 31) + hashCode(this.
|
|
5753
|
+
var result = getStringHashCode(this.hq_1);
|
|
5754
|
+
result = imul(result, 31) + hashCode(this.iq_1) | 0;
|
|
5755
|
+
result = imul(result, 31) + (this.jq_1 == null ? 0 : this.jq_1.hashCode()) | 0;
|
|
5756
|
+
result = imul(result, 31) + hashCode(this.kq_1) | 0;
|
|
5752
5757
|
return result;
|
|
5753
5758
|
};
|
|
5754
5759
|
protoOf(Response).equals = function (other) {
|
|
@@ -5756,26 +5761,26 @@ protoOf(Response).equals = function (other) {
|
|
|
5756
5761
|
return true;
|
|
5757
5762
|
if (!(other instanceof Response))
|
|
5758
5763
|
return false;
|
|
5759
|
-
if (!(this.
|
|
5760
|
-
return false;
|
|
5761
|
-
if (!equals(this.hq_1, other.hq_1))
|
|
5764
|
+
if (!(this.hq_1 === other.hq_1))
|
|
5762
5765
|
return false;
|
|
5763
5766
|
if (!equals(this.iq_1, other.iq_1))
|
|
5764
5767
|
return false;
|
|
5765
5768
|
if (!equals(this.jq_1, other.jq_1))
|
|
5766
5769
|
return false;
|
|
5770
|
+
if (!equals(this.kq_1, other.kq_1))
|
|
5771
|
+
return false;
|
|
5767
5772
|
return true;
|
|
5768
5773
|
};
|
|
5769
5774
|
function Content(type, reference) {
|
|
5770
|
-
this.
|
|
5771
|
-
this.
|
|
5775
|
+
this.fq_1 = type;
|
|
5776
|
+
this.gq_1 = reference;
|
|
5772
5777
|
}
|
|
5773
5778
|
protoOf(Content).toString = function () {
|
|
5774
|
-
return 'Content(type=' + this.
|
|
5779
|
+
return 'Content(type=' + this.fq_1 + ', reference=' + toString(this.gq_1) + ')';
|
|
5775
5780
|
};
|
|
5776
5781
|
protoOf(Content).hashCode = function () {
|
|
5777
|
-
var result = getStringHashCode(this.
|
|
5778
|
-
result = imul(result, 31) + hashCode(this.
|
|
5782
|
+
var result = getStringHashCode(this.fq_1);
|
|
5783
|
+
result = imul(result, 31) + hashCode(this.gq_1) | 0;
|
|
5779
5784
|
return result;
|
|
5780
5785
|
};
|
|
5781
5786
|
protoOf(Content).equals = function (other) {
|
|
@@ -5783,9 +5788,9 @@ protoOf(Content).equals = function (other) {
|
|
|
5783
5788
|
return true;
|
|
5784
5789
|
if (!(other instanceof Content))
|
|
5785
5790
|
return false;
|
|
5786
|
-
if (!(this.
|
|
5791
|
+
if (!(this.fq_1 === other.fq_1))
|
|
5787
5792
|
return false;
|
|
5788
|
-
if (!equals(this.
|
|
5793
|
+
if (!equals(this.gq_1, other.gq_1))
|
|
5789
5794
|
return false;
|
|
5790
5795
|
return true;
|
|
5791
5796
|
};
|
|
@@ -5822,63 +5827,63 @@ function Method_TRACE_getInstance() {
|
|
|
5822
5827
|
return Method_TRACE_instance;
|
|
5823
5828
|
}
|
|
5824
5829
|
function Endpoint(comment, annotations, identifier, method, path, queries, headers, requests, responses) {
|
|
5825
|
-
this.
|
|
5826
|
-
this.
|
|
5827
|
-
this.
|
|
5828
|
-
this.
|
|
5829
|
-
this.
|
|
5830
|
-
this.
|
|
5831
|
-
this.
|
|
5832
|
-
this.
|
|
5833
|
-
this.
|
|
5834
|
-
}
|
|
5835
|
-
protoOf(Endpoint).
|
|
5836
|
-
return this.
|
|
5837
|
-
};
|
|
5838
|
-
protoOf(Endpoint).
|
|
5830
|
+
this.tp_1 = comment;
|
|
5831
|
+
this.up_1 = annotations;
|
|
5832
|
+
this.vp_1 = identifier;
|
|
5833
|
+
this.wp_1 = method;
|
|
5834
|
+
this.xp_1 = path;
|
|
5835
|
+
this.yp_1 = queries;
|
|
5836
|
+
this.zp_1 = headers;
|
|
5837
|
+
this.aq_1 = requests;
|
|
5838
|
+
this.bq_1 = responses;
|
|
5839
|
+
}
|
|
5840
|
+
protoOf(Endpoint).nr = function () {
|
|
5841
|
+
return this.vp_1;
|
|
5842
|
+
};
|
|
5843
|
+
protoOf(Endpoint).tt = function (comment, annotations, identifier, method, path, queries, headers, requests, responses) {
|
|
5839
5844
|
return new Endpoint(comment, annotations, identifier, method, path, queries, headers, requests, responses);
|
|
5840
5845
|
};
|
|
5841
|
-
protoOf(Endpoint).
|
|
5842
|
-
comment = comment === VOID ? this.
|
|
5843
|
-
annotations = annotations === VOID ? this.
|
|
5844
|
-
identifier = identifier === VOID ? this.
|
|
5845
|
-
method = method === VOID ? this.
|
|
5846
|
-
path = path === VOID ? this.
|
|
5847
|
-
queries = queries === VOID ? this.
|
|
5848
|
-
headers = headers === VOID ? this.
|
|
5849
|
-
requests = requests === VOID ? this.
|
|
5850
|
-
responses = responses === VOID ? this.
|
|
5846
|
+
protoOf(Endpoint).ut = function (comment, annotations, identifier, method, path, queries, headers, requests, responses, $super) {
|
|
5847
|
+
comment = comment === VOID ? this.tp_1 : comment;
|
|
5848
|
+
annotations = annotations === VOID ? this.up_1 : annotations;
|
|
5849
|
+
identifier = identifier === VOID ? this.vp_1 : identifier;
|
|
5850
|
+
method = method === VOID ? this.wp_1 : method;
|
|
5851
|
+
path = path === VOID ? this.xp_1 : path;
|
|
5852
|
+
queries = queries === VOID ? this.yp_1 : queries;
|
|
5853
|
+
headers = headers === VOID ? this.zp_1 : headers;
|
|
5854
|
+
requests = requests === VOID ? this.aq_1 : requests;
|
|
5855
|
+
responses = responses === VOID ? this.bq_1 : responses;
|
|
5851
5856
|
var tmp;
|
|
5852
5857
|
if ($super === VOID) {
|
|
5853
|
-
tmp = this.
|
|
5858
|
+
tmp = this.tt(comment, annotations, identifier, method, path, queries, headers, requests, responses);
|
|
5854
5859
|
} else {
|
|
5855
|
-
var tmp_0 = $super.
|
|
5860
|
+
var tmp_0 = $super.tt;
|
|
5856
5861
|
var tmp_1 = comment;
|
|
5857
5862
|
tmp = tmp_0.call(this, tmp_1 == null ? null : new Comment(tmp_1), annotations, identifier, method, path, queries, headers, requests, responses);
|
|
5858
5863
|
}
|
|
5859
5864
|
return tmp;
|
|
5860
5865
|
};
|
|
5861
5866
|
protoOf(Endpoint).toString = function () {
|
|
5862
|
-
var tmp = this.
|
|
5863
|
-
return 'Endpoint(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
5867
|
+
var tmp = this.tp_1;
|
|
5868
|
+
return 'Endpoint(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.up_1) + ', identifier=' + this.vp_1.toString() + ', method=' + this.wp_1.toString() + ', path=' + toString(this.xp_1) + ', queries=' + toString(this.yp_1) + ', headers=' + toString(this.zp_1) + ', requests=' + toString(this.aq_1) + ', responses=' + toString(this.bq_1) + ')';
|
|
5864
5869
|
};
|
|
5865
5870
|
protoOf(Endpoint).hashCode = function () {
|
|
5866
5871
|
var tmp;
|
|
5867
|
-
var tmp_0 = this.
|
|
5872
|
+
var tmp_0 = this.tp_1;
|
|
5868
5873
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
5869
5874
|
tmp = 0;
|
|
5870
5875
|
} else {
|
|
5871
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
5876
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.tp_1);
|
|
5872
5877
|
}
|
|
5873
5878
|
var result = tmp;
|
|
5874
|
-
result = imul(result, 31) + hashCode(this.
|
|
5875
|
-
result = imul(result, 31) + this.up_1.hashCode() | 0;
|
|
5879
|
+
result = imul(result, 31) + hashCode(this.up_1) | 0;
|
|
5876
5880
|
result = imul(result, 31) + this.vp_1.hashCode() | 0;
|
|
5877
|
-
result = imul(result, 31) +
|
|
5881
|
+
result = imul(result, 31) + this.wp_1.hashCode() | 0;
|
|
5878
5882
|
result = imul(result, 31) + hashCode(this.xp_1) | 0;
|
|
5879
5883
|
result = imul(result, 31) + hashCode(this.yp_1) | 0;
|
|
5880
5884
|
result = imul(result, 31) + hashCode(this.zp_1) | 0;
|
|
5881
5885
|
result = imul(result, 31) + hashCode(this.aq_1) | 0;
|
|
5886
|
+
result = imul(result, 31) + hashCode(this.bq_1) | 0;
|
|
5882
5887
|
return result;
|
|
5883
5888
|
};
|
|
5884
5889
|
protoOf(Endpoint).equals = function (other) {
|
|
@@ -5886,18 +5891,16 @@ protoOf(Endpoint).equals = function (other) {
|
|
|
5886
5891
|
return true;
|
|
5887
5892
|
if (!(other instanceof Endpoint))
|
|
5888
5893
|
return false;
|
|
5889
|
-
var tmp = this.
|
|
5894
|
+
var tmp = this.tp_1;
|
|
5890
5895
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
5891
|
-
var tmp_1 = other.
|
|
5896
|
+
var tmp_1 = other.tp_1;
|
|
5892
5897
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
5893
5898
|
return false;
|
|
5894
|
-
if (!equals(this.
|
|
5895
|
-
return false;
|
|
5896
|
-
if (!this.up_1.equals(other.up_1))
|
|
5899
|
+
if (!equals(this.up_1, other.up_1))
|
|
5897
5900
|
return false;
|
|
5898
5901
|
if (!this.vp_1.equals(other.vp_1))
|
|
5899
5902
|
return false;
|
|
5900
|
-
if (!
|
|
5903
|
+
if (!this.wp_1.equals(other.wp_1))
|
|
5901
5904
|
return false;
|
|
5902
5905
|
if (!equals(this.xp_1, other.xp_1))
|
|
5903
5906
|
return false;
|
|
@@ -5907,20 +5910,22 @@ protoOf(Endpoint).equals = function (other) {
|
|
|
5907
5910
|
return false;
|
|
5908
5911
|
if (!equals(this.aq_1, other.aq_1))
|
|
5909
5912
|
return false;
|
|
5913
|
+
if (!equals(this.bq_1, other.bq_1))
|
|
5914
|
+
return false;
|
|
5910
5915
|
return true;
|
|
5911
5916
|
};
|
|
5912
5917
|
function Field(annotations, identifier, reference) {
|
|
5913
|
-
this.
|
|
5914
|
-
this.
|
|
5915
|
-
this.
|
|
5918
|
+
this.qp_1 = annotations;
|
|
5919
|
+
this.rp_1 = identifier;
|
|
5920
|
+
this.sp_1 = reference;
|
|
5916
5921
|
}
|
|
5917
5922
|
protoOf(Field).toString = function () {
|
|
5918
|
-
return 'Field(annotations=' + toString(this.
|
|
5923
|
+
return 'Field(annotations=' + toString(this.qp_1) + ', identifier=' + this.rp_1.toString() + ', reference=' + toString(this.sp_1) + ')';
|
|
5919
5924
|
};
|
|
5920
5925
|
protoOf(Field).hashCode = function () {
|
|
5921
|
-
var result = hashCode(this.
|
|
5922
|
-
result = imul(result, 31) + this.
|
|
5923
|
-
result = imul(result, 31) + hashCode(this.
|
|
5926
|
+
var result = hashCode(this.qp_1);
|
|
5927
|
+
result = imul(result, 31) + this.rp_1.hashCode() | 0;
|
|
5928
|
+
result = imul(result, 31) + hashCode(this.sp_1) | 0;
|
|
5924
5929
|
return result;
|
|
5925
5930
|
};
|
|
5926
5931
|
protoOf(Field).equals = function (other) {
|
|
@@ -5928,39 +5933,39 @@ protoOf(Field).equals = function (other) {
|
|
|
5928
5933
|
return true;
|
|
5929
5934
|
if (!(other instanceof Field))
|
|
5930
5935
|
return false;
|
|
5931
|
-
if (!equals(this.
|
|
5936
|
+
if (!equals(this.qp_1, other.qp_1))
|
|
5932
5937
|
return false;
|
|
5933
|
-
if (!this.
|
|
5938
|
+
if (!this.rp_1.equals(other.rp_1))
|
|
5934
5939
|
return false;
|
|
5935
|
-
if (!equals(this.
|
|
5940
|
+
if (!equals(this.sp_1, other.sp_1))
|
|
5936
5941
|
return false;
|
|
5937
5942
|
return true;
|
|
5938
5943
|
};
|
|
5939
5944
|
function Enum_0(comment, annotations, identifier, entries) {
|
|
5940
|
-
this.
|
|
5941
|
-
this.
|
|
5942
|
-
this.
|
|
5943
|
-
this.
|
|
5945
|
+
this.wr_1 = comment;
|
|
5946
|
+
this.xr_1 = annotations;
|
|
5947
|
+
this.yr_1 = identifier;
|
|
5948
|
+
this.zr_1 = entries;
|
|
5944
5949
|
}
|
|
5945
|
-
protoOf(Enum_0).
|
|
5946
|
-
return this.
|
|
5950
|
+
protoOf(Enum_0).nr = function () {
|
|
5951
|
+
return this.yr_1;
|
|
5947
5952
|
};
|
|
5948
5953
|
protoOf(Enum_0).toString = function () {
|
|
5949
|
-
var tmp = this.
|
|
5950
|
-
return 'Enum(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
5954
|
+
var tmp = this.wr_1;
|
|
5955
|
+
return 'Enum(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.xr_1) + ', identifier=' + this.yr_1.toString() + ', entries=' + toString(this.zr_1) + ')';
|
|
5951
5956
|
};
|
|
5952
5957
|
protoOf(Enum_0).hashCode = function () {
|
|
5953
5958
|
var tmp;
|
|
5954
|
-
var tmp_0 = this.
|
|
5959
|
+
var tmp_0 = this.wr_1;
|
|
5955
5960
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
5956
5961
|
tmp = 0;
|
|
5957
5962
|
} else {
|
|
5958
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
5963
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.wr_1);
|
|
5959
5964
|
}
|
|
5960
5965
|
var result = tmp;
|
|
5961
|
-
result = imul(result, 31) + hashCode(this.
|
|
5962
|
-
result = imul(result, 31) + this.
|
|
5963
|
-
result = imul(result, 31) + hashCode(this.
|
|
5966
|
+
result = imul(result, 31) + hashCode(this.xr_1) | 0;
|
|
5967
|
+
result = imul(result, 31) + this.yr_1.hashCode() | 0;
|
|
5968
|
+
result = imul(result, 31) + hashCode(this.zr_1) | 0;
|
|
5964
5969
|
return result;
|
|
5965
5970
|
};
|
|
5966
5971
|
protoOf(Enum_0).equals = function (other) {
|
|
@@ -5968,44 +5973,44 @@ protoOf(Enum_0).equals = function (other) {
|
|
|
5968
5973
|
return true;
|
|
5969
5974
|
if (!(other instanceof Enum_0))
|
|
5970
5975
|
return false;
|
|
5971
|
-
var tmp = this.
|
|
5976
|
+
var tmp = this.wr_1;
|
|
5972
5977
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
5973
|
-
var tmp_1 = other.
|
|
5978
|
+
var tmp_1 = other.wr_1;
|
|
5974
5979
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
5975
5980
|
return false;
|
|
5976
|
-
if (!equals(this.
|
|
5981
|
+
if (!equals(this.xr_1, other.xr_1))
|
|
5977
5982
|
return false;
|
|
5978
|
-
if (!this.
|
|
5983
|
+
if (!this.yr_1.equals(other.yr_1))
|
|
5979
5984
|
return false;
|
|
5980
|
-
if (!equals(this.
|
|
5985
|
+
if (!equals(this.zr_1, other.zr_1))
|
|
5981
5986
|
return false;
|
|
5982
5987
|
return true;
|
|
5983
5988
|
};
|
|
5984
5989
|
function Refined(comment, annotations, identifier, reference) {
|
|
5985
|
-
this.
|
|
5986
|
-
this.
|
|
5987
|
-
this.
|
|
5988
|
-
this.
|
|
5990
|
+
this.rr_1 = comment;
|
|
5991
|
+
this.sr_1 = annotations;
|
|
5992
|
+
this.tr_1 = identifier;
|
|
5993
|
+
this.ur_1 = reference;
|
|
5989
5994
|
}
|
|
5990
|
-
protoOf(Refined).
|
|
5991
|
-
return this.
|
|
5995
|
+
protoOf(Refined).nr = function () {
|
|
5996
|
+
return this.tr_1;
|
|
5992
5997
|
};
|
|
5993
5998
|
protoOf(Refined).toString = function () {
|
|
5994
|
-
var tmp = this.
|
|
5995
|
-
return 'Refined(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
5999
|
+
var tmp = this.rr_1;
|
|
6000
|
+
return 'Refined(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.sr_1) + ', identifier=' + this.tr_1.toString() + ', reference=' + this.ur_1.toString() + ')';
|
|
5996
6001
|
};
|
|
5997
6002
|
protoOf(Refined).hashCode = function () {
|
|
5998
6003
|
var tmp;
|
|
5999
|
-
var tmp_0 = this.
|
|
6004
|
+
var tmp_0 = this.rr_1;
|
|
6000
6005
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
6001
6006
|
tmp = 0;
|
|
6002
6007
|
} else {
|
|
6003
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
6008
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.rr_1);
|
|
6004
6009
|
}
|
|
6005
6010
|
var result = tmp;
|
|
6006
|
-
result = imul(result, 31) + hashCode(this.
|
|
6007
|
-
result = imul(result, 31) + this.sr_1.hashCode() | 0;
|
|
6011
|
+
result = imul(result, 31) + hashCode(this.sr_1) | 0;
|
|
6008
6012
|
result = imul(result, 31) + this.tr_1.hashCode() | 0;
|
|
6013
|
+
result = imul(result, 31) + this.ur_1.hashCode() | 0;
|
|
6009
6014
|
return result;
|
|
6010
6015
|
};
|
|
6011
6016
|
protoOf(Refined).equals = function (other) {
|
|
@@ -6013,44 +6018,44 @@ protoOf(Refined).equals = function (other) {
|
|
|
6013
6018
|
return true;
|
|
6014
6019
|
if (!(other instanceof Refined))
|
|
6015
6020
|
return false;
|
|
6016
|
-
var tmp = this.
|
|
6021
|
+
var tmp = this.rr_1;
|
|
6017
6022
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
6018
|
-
var tmp_1 = other.
|
|
6023
|
+
var tmp_1 = other.rr_1;
|
|
6019
6024
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
6020
6025
|
return false;
|
|
6021
|
-
if (!equals(this.
|
|
6022
|
-
return false;
|
|
6023
|
-
if (!this.sr_1.equals(other.sr_1))
|
|
6026
|
+
if (!equals(this.sr_1, other.sr_1))
|
|
6024
6027
|
return false;
|
|
6025
6028
|
if (!this.tr_1.equals(other.tr_1))
|
|
6026
6029
|
return false;
|
|
6030
|
+
if (!this.ur_1.equals(other.ur_1))
|
|
6031
|
+
return false;
|
|
6027
6032
|
return true;
|
|
6028
6033
|
};
|
|
6029
6034
|
function Union(comment, annotations, identifier, entries) {
|
|
6030
|
-
this.
|
|
6031
|
-
this.
|
|
6032
|
-
this.
|
|
6033
|
-
this.
|
|
6035
|
+
this.fp_1 = comment;
|
|
6036
|
+
this.gp_1 = annotations;
|
|
6037
|
+
this.hp_1 = identifier;
|
|
6038
|
+
this.ip_1 = entries;
|
|
6034
6039
|
}
|
|
6035
|
-
protoOf(Union).
|
|
6036
|
-
return this.
|
|
6040
|
+
protoOf(Union).nr = function () {
|
|
6041
|
+
return this.hp_1;
|
|
6037
6042
|
};
|
|
6038
6043
|
protoOf(Union).toString = function () {
|
|
6039
|
-
var tmp = this.
|
|
6040
|
-
return 'Union(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
6044
|
+
var tmp = this.fp_1;
|
|
6045
|
+
return 'Union(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.gp_1) + ', identifier=' + this.hp_1.toString() + ', entries=' + toString(this.ip_1) + ')';
|
|
6041
6046
|
};
|
|
6042
6047
|
protoOf(Union).hashCode = function () {
|
|
6043
6048
|
var tmp;
|
|
6044
|
-
var tmp_0 = this.
|
|
6049
|
+
var tmp_0 = this.fp_1;
|
|
6045
6050
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
6046
6051
|
tmp = 0;
|
|
6047
6052
|
} else {
|
|
6048
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
6053
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.fp_1);
|
|
6049
6054
|
}
|
|
6050
6055
|
var result = tmp;
|
|
6051
|
-
result = imul(result, 31) + hashCode(this.
|
|
6052
|
-
result = imul(result, 31) + this.
|
|
6053
|
-
result = imul(result, 31) + hashCode(this.
|
|
6056
|
+
result = imul(result, 31) + hashCode(this.gp_1) | 0;
|
|
6057
|
+
result = imul(result, 31) + this.hp_1.hashCode() | 0;
|
|
6058
|
+
result = imul(result, 31) + hashCode(this.ip_1) | 0;
|
|
6054
6059
|
return result;
|
|
6055
6060
|
};
|
|
6056
6061
|
protoOf(Union).equals = function (other) {
|
|
@@ -6058,44 +6063,44 @@ protoOf(Union).equals = function (other) {
|
|
|
6058
6063
|
return true;
|
|
6059
6064
|
if (!(other instanceof Union))
|
|
6060
6065
|
return false;
|
|
6061
|
-
var tmp = this.
|
|
6066
|
+
var tmp = this.fp_1;
|
|
6062
6067
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
6063
|
-
var tmp_1 = other.
|
|
6068
|
+
var tmp_1 = other.fp_1;
|
|
6064
6069
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
6065
6070
|
return false;
|
|
6066
|
-
if (!equals(this.
|
|
6071
|
+
if (!equals(this.gp_1, other.gp_1))
|
|
6067
6072
|
return false;
|
|
6068
|
-
if (!this.
|
|
6073
|
+
if (!this.hp_1.equals(other.hp_1))
|
|
6069
6074
|
return false;
|
|
6070
|
-
if (!equals(this.
|
|
6075
|
+
if (!equals(this.ip_1, other.ip_1))
|
|
6071
6076
|
return false;
|
|
6072
6077
|
return true;
|
|
6073
6078
|
};
|
|
6074
6079
|
function Channel(comment, annotations, identifier, reference) {
|
|
6075
|
-
this.
|
|
6076
|
-
this.
|
|
6077
|
-
this.
|
|
6078
|
-
this.
|
|
6080
|
+
this.bp_1 = comment;
|
|
6081
|
+
this.cp_1 = annotations;
|
|
6082
|
+
this.dp_1 = identifier;
|
|
6083
|
+
this.ep_1 = reference;
|
|
6079
6084
|
}
|
|
6080
|
-
protoOf(Channel).
|
|
6081
|
-
return this.
|
|
6085
|
+
protoOf(Channel).nr = function () {
|
|
6086
|
+
return this.dp_1;
|
|
6082
6087
|
};
|
|
6083
6088
|
protoOf(Channel).toString = function () {
|
|
6084
|
-
var tmp = this.
|
|
6085
|
-
return 'Channel(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.
|
|
6089
|
+
var tmp = this.bp_1;
|
|
6090
|
+
return 'Channel(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.cp_1) + ', identifier=' + this.dp_1.toString() + ', reference=' + toString(this.ep_1) + ')';
|
|
6086
6091
|
};
|
|
6087
6092
|
protoOf(Channel).hashCode = function () {
|
|
6088
6093
|
var tmp;
|
|
6089
|
-
var tmp_0 = this.
|
|
6094
|
+
var tmp_0 = this.bp_1;
|
|
6090
6095
|
if ((tmp_0 == null ? null : new Comment(tmp_0)) == null) {
|
|
6091
6096
|
tmp = 0;
|
|
6092
6097
|
} else {
|
|
6093
|
-
tmp = Comment__hashCode_impl_tr9dgt(this.
|
|
6098
|
+
tmp = Comment__hashCode_impl_tr9dgt(this.bp_1);
|
|
6094
6099
|
}
|
|
6095
6100
|
var result = tmp;
|
|
6096
|
-
result = imul(result, 31) + hashCode(this.
|
|
6097
|
-
result = imul(result, 31) + this.
|
|
6098
|
-
result = imul(result, 31) + hashCode(this.
|
|
6101
|
+
result = imul(result, 31) + hashCode(this.cp_1) | 0;
|
|
6102
|
+
result = imul(result, 31) + this.dp_1.hashCode() | 0;
|
|
6103
|
+
result = imul(result, 31) + hashCode(this.ep_1) | 0;
|
|
6099
6104
|
return result;
|
|
6100
6105
|
};
|
|
6101
6106
|
protoOf(Channel).equals = function (other) {
|
|
@@ -6103,16 +6108,16 @@ protoOf(Channel).equals = function (other) {
|
|
|
6103
6108
|
return true;
|
|
6104
6109
|
if (!(other instanceof Channel))
|
|
6105
6110
|
return false;
|
|
6106
|
-
var tmp = this.
|
|
6111
|
+
var tmp = this.bp_1;
|
|
6107
6112
|
var tmp_0 = tmp == null ? null : new Comment(tmp);
|
|
6108
|
-
var tmp_1 = other.
|
|
6113
|
+
var tmp_1 = other.bp_1;
|
|
6109
6114
|
if (!equals(tmp_0, tmp_1 == null ? null : new Comment(tmp_1)))
|
|
6110
6115
|
return false;
|
|
6111
|
-
if (!equals(this.
|
|
6116
|
+
if (!equals(this.cp_1, other.cp_1))
|
|
6112
6117
|
return false;
|
|
6113
|
-
if (!this.
|
|
6118
|
+
if (!this.dp_1.equals(other.dp_1))
|
|
6114
6119
|
return false;
|
|
6115
|
-
if (!equals(this.
|
|
6120
|
+
if (!equals(this.ep_1, other.ep_1))
|
|
6116
6121
|
return false;
|
|
6117
6122
|
return true;
|
|
6118
6123
|
};
|
|
@@ -6120,47 +6125,47 @@ function Model() {
|
|
|
6120
6125
|
}
|
|
6121
6126
|
function DefinitionIdentifier(name) {
|
|
6122
6127
|
Identifier.call(this, name);
|
|
6123
|
-
this.
|
|
6128
|
+
this.wt_1 = name;
|
|
6124
6129
|
}
|
|
6125
6130
|
protoOf(DefinitionIdentifier).toString = function () {
|
|
6126
|
-
return 'DefinitionIdentifier(name=' + this.
|
|
6131
|
+
return 'DefinitionIdentifier(name=' + this.wt_1 + ')';
|
|
6127
6132
|
};
|
|
6128
6133
|
protoOf(DefinitionIdentifier).hashCode = function () {
|
|
6129
|
-
return getStringHashCode(this.
|
|
6134
|
+
return getStringHashCode(this.wt_1);
|
|
6130
6135
|
};
|
|
6131
6136
|
protoOf(DefinitionIdentifier).equals = function (other) {
|
|
6132
6137
|
if (this === other)
|
|
6133
6138
|
return true;
|
|
6134
6139
|
if (!(other instanceof DefinitionIdentifier))
|
|
6135
6140
|
return false;
|
|
6136
|
-
if (!(this.
|
|
6141
|
+
if (!(this.wt_1 === other.wt_1))
|
|
6137
6142
|
return false;
|
|
6138
6143
|
return true;
|
|
6139
6144
|
};
|
|
6140
6145
|
function FieldIdentifier(name) {
|
|
6141
6146
|
Identifier.call(this, name);
|
|
6142
|
-
this.
|
|
6147
|
+
this.yt_1 = name;
|
|
6143
6148
|
}
|
|
6144
6149
|
protoOf(FieldIdentifier).toString = function () {
|
|
6145
|
-
return 'FieldIdentifier(name=' + this.
|
|
6150
|
+
return 'FieldIdentifier(name=' + this.yt_1 + ')';
|
|
6146
6151
|
};
|
|
6147
6152
|
protoOf(FieldIdentifier).hashCode = function () {
|
|
6148
|
-
return getStringHashCode(this.
|
|
6153
|
+
return getStringHashCode(this.yt_1);
|
|
6149
6154
|
};
|
|
6150
6155
|
protoOf(FieldIdentifier).equals = function (other) {
|
|
6151
6156
|
if (this === other)
|
|
6152
6157
|
return true;
|
|
6153
6158
|
if (!(other instanceof FieldIdentifier))
|
|
6154
6159
|
return false;
|
|
6155
|
-
if (!(this.
|
|
6160
|
+
if (!(this.yt_1 === other.yt_1))
|
|
6156
6161
|
return false;
|
|
6157
6162
|
return true;
|
|
6158
6163
|
};
|
|
6159
6164
|
function Identifier(name) {
|
|
6160
|
-
this.
|
|
6165
|
+
this.pp_1 = removeBackticks(name);
|
|
6161
6166
|
}
|
|
6162
6167
|
protoOf(Identifier).l1 = function () {
|
|
6163
|
-
return this.
|
|
6168
|
+
return this.pp_1;
|
|
6164
6169
|
};
|
|
6165
6170
|
protoOf(Identifier).toString = function () {
|
|
6166
6171
|
return this.l1();
|
|
@@ -6173,7 +6178,7 @@ function _Comment___get_value__impl__8r3pla($this) {
|
|
|
6173
6178
|
}
|
|
6174
6179
|
function Companion_3() {
|
|
6175
6180
|
}
|
|
6176
|
-
protoOf(Companion_3).
|
|
6181
|
+
protoOf(Companion_3).kt = function (comment) {
|
|
6177
6182
|
return _Comment___init__impl__cg8s2u(removeCommentMarkers(comment));
|
|
6178
6183
|
};
|
|
6179
6184
|
var Companion_instance_4;
|
|
@@ -6189,89 +6194,89 @@ function Comment__hashCode_impl_tr9dgt($this) {
|
|
|
6189
6194
|
function Comment__equals_impl_3xkmkx($this, other) {
|
|
6190
6195
|
if (!(other instanceof Comment))
|
|
6191
6196
|
return false;
|
|
6192
|
-
if (!($this === other.
|
|
6197
|
+
if (!($this === other.lt_1))
|
|
6193
6198
|
return false;
|
|
6194
6199
|
return true;
|
|
6195
6200
|
}
|
|
6196
6201
|
function Comment(value) {
|
|
6197
|
-
this.
|
|
6202
|
+
this.lt_1 = value;
|
|
6198
6203
|
}
|
|
6199
6204
|
protoOf(Comment).l1 = function () {
|
|
6200
|
-
return _Comment___get_value__impl__8r3pla(this.
|
|
6205
|
+
return _Comment___get_value__impl__8r3pla(this.lt_1);
|
|
6201
6206
|
};
|
|
6202
6207
|
protoOf(Comment).toString = function () {
|
|
6203
|
-
return Comment__toString_impl_803gny(this.
|
|
6208
|
+
return Comment__toString_impl_803gny(this.lt_1);
|
|
6204
6209
|
};
|
|
6205
6210
|
protoOf(Comment).hashCode = function () {
|
|
6206
|
-
return Comment__hashCode_impl_tr9dgt(this.
|
|
6211
|
+
return Comment__hashCode_impl_tr9dgt(this.lt_1);
|
|
6207
6212
|
};
|
|
6208
6213
|
protoOf(Comment).equals = function (other) {
|
|
6209
|
-
return Comment__equals_impl_3xkmkx(this.
|
|
6214
|
+
return Comment__equals_impl_3xkmkx(this.lt_1, other);
|
|
6210
6215
|
};
|
|
6211
6216
|
function Single(value) {
|
|
6212
|
-
this.
|
|
6217
|
+
this.zt_1 = value;
|
|
6213
6218
|
}
|
|
6214
6219
|
protoOf(Single).toString = function () {
|
|
6215
|
-
return 'Single(value=' + this.
|
|
6220
|
+
return 'Single(value=' + this.zt_1 + ')';
|
|
6216
6221
|
};
|
|
6217
6222
|
protoOf(Single).hashCode = function () {
|
|
6218
|
-
return getStringHashCode(this.
|
|
6223
|
+
return getStringHashCode(this.zt_1);
|
|
6219
6224
|
};
|
|
6220
6225
|
protoOf(Single).equals = function (other) {
|
|
6221
6226
|
if (this === other)
|
|
6222
6227
|
return true;
|
|
6223
6228
|
if (!(other instanceof Single))
|
|
6224
6229
|
return false;
|
|
6225
|
-
if (!(this.
|
|
6230
|
+
if (!(this.zt_1 === other.zt_1))
|
|
6226
6231
|
return false;
|
|
6227
6232
|
return true;
|
|
6228
6233
|
};
|
|
6229
6234
|
function Array_0(value) {
|
|
6230
|
-
this.
|
|
6235
|
+
this.au_1 = value;
|
|
6231
6236
|
}
|
|
6232
6237
|
protoOf(Array_0).toString = function () {
|
|
6233
|
-
return 'Array(value=' + toString(this.
|
|
6238
|
+
return 'Array(value=' + toString(this.au_1) + ')';
|
|
6234
6239
|
};
|
|
6235
6240
|
protoOf(Array_0).hashCode = function () {
|
|
6236
|
-
return hashCode(this.
|
|
6241
|
+
return hashCode(this.au_1);
|
|
6237
6242
|
};
|
|
6238
6243
|
protoOf(Array_0).equals = function (other) {
|
|
6239
6244
|
if (this === other)
|
|
6240
6245
|
return true;
|
|
6241
6246
|
if (!(other instanceof Array_0))
|
|
6242
6247
|
return false;
|
|
6243
|
-
if (!equals(this.
|
|
6248
|
+
if (!equals(this.au_1, other.au_1))
|
|
6244
6249
|
return false;
|
|
6245
6250
|
return true;
|
|
6246
6251
|
};
|
|
6247
6252
|
function Dict(value) {
|
|
6248
|
-
this.
|
|
6253
|
+
this.bu_1 = value;
|
|
6249
6254
|
}
|
|
6250
6255
|
protoOf(Dict).toString = function () {
|
|
6251
|
-
return 'Dict(value=' + toString(this.
|
|
6256
|
+
return 'Dict(value=' + toString(this.bu_1) + ')';
|
|
6252
6257
|
};
|
|
6253
6258
|
protoOf(Dict).hashCode = function () {
|
|
6254
|
-
return hashCode(this.
|
|
6259
|
+
return hashCode(this.bu_1);
|
|
6255
6260
|
};
|
|
6256
6261
|
protoOf(Dict).equals = function (other) {
|
|
6257
6262
|
if (this === other)
|
|
6258
6263
|
return true;
|
|
6259
6264
|
if (!(other instanceof Dict))
|
|
6260
6265
|
return false;
|
|
6261
|
-
if (!equals(this.
|
|
6266
|
+
if (!equals(this.bu_1, other.bu_1))
|
|
6262
6267
|
return false;
|
|
6263
6268
|
return true;
|
|
6264
6269
|
};
|
|
6265
6270
|
function Parameter(name, value) {
|
|
6266
|
-
this.
|
|
6267
|
-
this.
|
|
6271
|
+
this.cu_1 = name;
|
|
6272
|
+
this.du_1 = value;
|
|
6268
6273
|
}
|
|
6269
6274
|
protoOf(Parameter).toString = function () {
|
|
6270
|
-
return 'Parameter(name=' + this.
|
|
6275
|
+
return 'Parameter(name=' + this.cu_1 + ', value=' + toString(this.du_1) + ')';
|
|
6271
6276
|
};
|
|
6272
6277
|
protoOf(Parameter).hashCode = function () {
|
|
6273
|
-
var result = getStringHashCode(this.
|
|
6274
|
-
result = imul(result, 31) + hashCode(this.
|
|
6278
|
+
var result = getStringHashCode(this.cu_1);
|
|
6279
|
+
result = imul(result, 31) + hashCode(this.du_1) | 0;
|
|
6275
6280
|
return result;
|
|
6276
6281
|
};
|
|
6277
6282
|
protoOf(Parameter).equals = function (other) {
|
|
@@ -6279,22 +6284,22 @@ protoOf(Parameter).equals = function (other) {
|
|
|
6279
6284
|
return true;
|
|
6280
6285
|
if (!(other instanceof Parameter))
|
|
6281
6286
|
return false;
|
|
6282
|
-
if (!(this.
|
|
6287
|
+
if (!(this.cu_1 === other.cu_1))
|
|
6283
6288
|
return false;
|
|
6284
|
-
if (!equals(this.
|
|
6289
|
+
if (!equals(this.du_1, other.du_1))
|
|
6285
6290
|
return false;
|
|
6286
6291
|
return true;
|
|
6287
6292
|
};
|
|
6288
6293
|
function Annotation(name, parameters) {
|
|
6289
|
-
this.
|
|
6290
|
-
this.
|
|
6294
|
+
this.eu_1 = name;
|
|
6295
|
+
this.fu_1 = parameters;
|
|
6291
6296
|
}
|
|
6292
6297
|
protoOf(Annotation).toString = function () {
|
|
6293
|
-
return 'Annotation(name=' + this.
|
|
6298
|
+
return 'Annotation(name=' + this.eu_1 + ', parameters=' + toString(this.fu_1) + ')';
|
|
6294
6299
|
};
|
|
6295
6300
|
protoOf(Annotation).hashCode = function () {
|
|
6296
|
-
var result = getStringHashCode(this.
|
|
6297
|
-
result = imul(result, 31) + hashCode(this.
|
|
6301
|
+
var result = getStringHashCode(this.eu_1);
|
|
6302
|
+
result = imul(result, 31) + hashCode(this.fu_1) | 0;
|
|
6298
6303
|
return result;
|
|
6299
6304
|
};
|
|
6300
6305
|
protoOf(Annotation).equals = function (other) {
|
|
@@ -6302,9 +6307,9 @@ protoOf(Annotation).equals = function (other) {
|
|
|
6302
6307
|
return true;
|
|
6303
6308
|
if (!(other instanceof Annotation))
|
|
6304
6309
|
return false;
|
|
6305
|
-
if (!(this.
|
|
6310
|
+
if (!(this.eu_1 === other.eu_1))
|
|
6306
6311
|
return false;
|
|
6307
|
-
if (!equals(this.
|
|
6312
|
+
if (!equals(this.fu_1, other.fu_1))
|
|
6308
6313
|
return false;
|
|
6309
6314
|
return true;
|
|
6310
6315
|
};
|
|
@@ -6333,35 +6338,35 @@ function RegExp__hashCode_impl_40vfcn($this) {
|
|
|
6333
6338
|
function RegExp__equals_impl_fyc0d7($this, other) {
|
|
6334
6339
|
if (!(other instanceof RegExp_0))
|
|
6335
6340
|
return false;
|
|
6336
|
-
if (!($this === other.
|
|
6341
|
+
if (!($this === other.qt_1))
|
|
6337
6342
|
return false;
|
|
6338
6343
|
return true;
|
|
6339
6344
|
}
|
|
6340
6345
|
function RegExp_0(value) {
|
|
6341
|
-
this.
|
|
6346
|
+
this.qt_1 = value;
|
|
6342
6347
|
}
|
|
6343
6348
|
protoOf(RegExp_0).l1 = function () {
|
|
6344
|
-
return _RegExp___get_value__impl__7o7618(this.
|
|
6349
|
+
return _RegExp___get_value__impl__7o7618(this.qt_1);
|
|
6345
6350
|
};
|
|
6346
6351
|
protoOf(RegExp_0).toString = function () {
|
|
6347
|
-
return RegExp__toString_impl_hqahg8(this.
|
|
6352
|
+
return RegExp__toString_impl_hqahg8(this.qt_1);
|
|
6348
6353
|
};
|
|
6349
6354
|
protoOf(RegExp_0).hashCode = function () {
|
|
6350
|
-
return RegExp__hashCode_impl_40vfcn(this.
|
|
6355
|
+
return RegExp__hashCode_impl_40vfcn(this.qt_1);
|
|
6351
6356
|
};
|
|
6352
6357
|
protoOf(RegExp_0).equals = function (other) {
|
|
6353
|
-
return RegExp__equals_impl_fyc0d7(this.
|
|
6358
|
+
return RegExp__equals_impl_fyc0d7(this.qt_1, other);
|
|
6354
6359
|
};
|
|
6355
6360
|
function Bound(min, max) {
|
|
6356
|
-
this.
|
|
6357
|
-
this.
|
|
6361
|
+
this.gu_1 = min;
|
|
6362
|
+
this.hu_1 = max;
|
|
6358
6363
|
}
|
|
6359
6364
|
protoOf(Bound).toString = function () {
|
|
6360
|
-
return 'Bound(min=' + this.
|
|
6365
|
+
return 'Bound(min=' + this.gu_1 + ', max=' + this.hu_1 + ')';
|
|
6361
6366
|
};
|
|
6362
6367
|
protoOf(Bound).hashCode = function () {
|
|
6363
|
-
var result = this.
|
|
6364
|
-
result = imul(result, 31) + (this.
|
|
6368
|
+
var result = this.gu_1 == null ? 0 : getStringHashCode(this.gu_1);
|
|
6369
|
+
result = imul(result, 31) + (this.hu_1 == null ? 0 : getStringHashCode(this.hu_1)) | 0;
|
|
6365
6370
|
return result;
|
|
6366
6371
|
};
|
|
6367
6372
|
protoOf(Bound).equals = function (other) {
|
|
@@ -6369,33 +6374,33 @@ protoOf(Bound).equals = function (other) {
|
|
|
6369
6374
|
return true;
|
|
6370
6375
|
if (!(other instanceof Bound))
|
|
6371
6376
|
return false;
|
|
6372
|
-
if (!(this.fu_1 == other.fu_1))
|
|
6373
|
-
return false;
|
|
6374
6377
|
if (!(this.gu_1 == other.gu_1))
|
|
6375
6378
|
return false;
|
|
6379
|
+
if (!(this.hu_1 == other.hu_1))
|
|
6380
|
+
return false;
|
|
6376
6381
|
return true;
|
|
6377
6382
|
};
|
|
6378
6383
|
function Precision(name, ordinal) {
|
|
6379
6384
|
Enum.call(this, name, ordinal);
|
|
6380
6385
|
}
|
|
6381
6386
|
function String_0(constraint) {
|
|
6382
|
-
this.
|
|
6383
|
-
this.
|
|
6387
|
+
this.iu_1 = constraint;
|
|
6388
|
+
this.ju_1 = 'String';
|
|
6384
6389
|
}
|
|
6385
6390
|
protoOf(String_0).m = function () {
|
|
6386
|
-
return this.
|
|
6391
|
+
return this.ju_1;
|
|
6387
6392
|
};
|
|
6388
6393
|
protoOf(String_0).toString = function () {
|
|
6389
|
-
var tmp = this.
|
|
6394
|
+
var tmp = this.iu_1;
|
|
6390
6395
|
return 'String(constraint=' + toString_1(tmp == null ? null : new RegExp_0(tmp)) + ')';
|
|
6391
6396
|
};
|
|
6392
6397
|
protoOf(String_0).hashCode = function () {
|
|
6393
6398
|
var tmp;
|
|
6394
|
-
var tmp_0 = this.
|
|
6399
|
+
var tmp_0 = this.iu_1;
|
|
6395
6400
|
if ((tmp_0 == null ? null : new RegExp_0(tmp_0)) == null) {
|
|
6396
6401
|
tmp = 0;
|
|
6397
6402
|
} else {
|
|
6398
|
-
tmp = RegExp__hashCode_impl_40vfcn(this.
|
|
6403
|
+
tmp = RegExp__hashCode_impl_40vfcn(this.iu_1);
|
|
6399
6404
|
}
|
|
6400
6405
|
return tmp;
|
|
6401
6406
|
};
|
|
@@ -6404,28 +6409,28 @@ protoOf(String_0).equals = function (other) {
|
|
|
6404
6409
|
return true;
|
|
6405
6410
|
if (!(other instanceof String_0))
|
|
6406
6411
|
return false;
|
|
6407
|
-
var tmp = this.
|
|
6412
|
+
var tmp = this.iu_1;
|
|
6408
6413
|
var tmp_0 = tmp == null ? null : new RegExp_0(tmp);
|
|
6409
|
-
var tmp_1 = other.
|
|
6414
|
+
var tmp_1 = other.iu_1;
|
|
6410
6415
|
if (!equals(tmp_0, tmp_1 == null ? null : new RegExp_0(tmp_1)))
|
|
6411
6416
|
return false;
|
|
6412
6417
|
return true;
|
|
6413
6418
|
};
|
|
6414
6419
|
function Integer(precision, constraint) {
|
|
6415
6420
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
6416
|
-
this.
|
|
6417
|
-
this.
|
|
6418
|
-
this.
|
|
6421
|
+
this.ku_1 = precision;
|
|
6422
|
+
this.lu_1 = constraint;
|
|
6423
|
+
this.mu_1 = 'Integer';
|
|
6419
6424
|
}
|
|
6420
6425
|
protoOf(Integer).m = function () {
|
|
6421
|
-
return this.
|
|
6426
|
+
return this.mu_1;
|
|
6422
6427
|
};
|
|
6423
6428
|
protoOf(Integer).toString = function () {
|
|
6424
|
-
return 'Integer(precision=' + this.
|
|
6429
|
+
return 'Integer(precision=' + this.ku_1.toString() + ', constraint=' + toString_1(this.lu_1) + ')';
|
|
6425
6430
|
};
|
|
6426
6431
|
protoOf(Integer).hashCode = function () {
|
|
6427
|
-
var result = this.
|
|
6428
|
-
result = imul(result, 31) + (this.
|
|
6432
|
+
var result = this.ku_1.hashCode();
|
|
6433
|
+
result = imul(result, 31) + (this.lu_1 == null ? 0 : this.lu_1.hashCode()) | 0;
|
|
6429
6434
|
return result;
|
|
6430
6435
|
};
|
|
6431
6436
|
protoOf(Integer).equals = function (other) {
|
|
@@ -6433,27 +6438,27 @@ protoOf(Integer).equals = function (other) {
|
|
|
6433
6438
|
return true;
|
|
6434
6439
|
if (!(other instanceof Integer))
|
|
6435
6440
|
return false;
|
|
6436
|
-
if (!this.
|
|
6441
|
+
if (!this.ku_1.equals(other.ku_1))
|
|
6437
6442
|
return false;
|
|
6438
|
-
if (!equals(this.
|
|
6443
|
+
if (!equals(this.lu_1, other.lu_1))
|
|
6439
6444
|
return false;
|
|
6440
6445
|
return true;
|
|
6441
6446
|
};
|
|
6442
6447
|
function Number_0(precision, constraint) {
|
|
6443
6448
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
6444
|
-
this.
|
|
6445
|
-
this.
|
|
6446
|
-
this.
|
|
6449
|
+
this.nu_1 = precision;
|
|
6450
|
+
this.ou_1 = constraint;
|
|
6451
|
+
this.pu_1 = 'Number';
|
|
6447
6452
|
}
|
|
6448
6453
|
protoOf(Number_0).m = function () {
|
|
6449
|
-
return this.
|
|
6454
|
+
return this.pu_1;
|
|
6450
6455
|
};
|
|
6451
6456
|
protoOf(Number_0).toString = function () {
|
|
6452
|
-
return 'Number(precision=' + this.
|
|
6457
|
+
return 'Number(precision=' + this.nu_1.toString() + ', constraint=' + toString_1(this.ou_1) + ')';
|
|
6453
6458
|
};
|
|
6454
6459
|
protoOf(Number_0).hashCode = function () {
|
|
6455
|
-
var result = this.
|
|
6456
|
-
result = imul(result, 31) + (this.
|
|
6460
|
+
var result = this.nu_1.hashCode();
|
|
6461
|
+
result = imul(result, 31) + (this.ou_1 == null ? 0 : this.ou_1.hashCode()) | 0;
|
|
6457
6462
|
return result;
|
|
6458
6463
|
};
|
|
6459
6464
|
protoOf(Number_0).equals = function (other) {
|
|
@@ -6461,17 +6466,17 @@ protoOf(Number_0).equals = function (other) {
|
|
|
6461
6466
|
return true;
|
|
6462
6467
|
if (!(other instanceof Number_0))
|
|
6463
6468
|
return false;
|
|
6464
|
-
if (!this.
|
|
6469
|
+
if (!this.nu_1.equals(other.nu_1))
|
|
6465
6470
|
return false;
|
|
6466
|
-
if (!equals(this.
|
|
6471
|
+
if (!equals(this.ou_1, other.ou_1))
|
|
6467
6472
|
return false;
|
|
6468
6473
|
return true;
|
|
6469
6474
|
};
|
|
6470
6475
|
function Boolean_0() {
|
|
6471
|
-
this.
|
|
6476
|
+
this.qu_1 = 'Boolean';
|
|
6472
6477
|
}
|
|
6473
6478
|
protoOf(Boolean_0).m = function () {
|
|
6474
|
-
return this.
|
|
6479
|
+
return this.qu_1;
|
|
6475
6480
|
};
|
|
6476
6481
|
protoOf(Boolean_0).toString = function () {
|
|
6477
6482
|
return 'Boolean';
|
|
@@ -6491,10 +6496,10 @@ function Boolean_getInstance() {
|
|
|
6491
6496
|
return Boolean_instance;
|
|
6492
6497
|
}
|
|
6493
6498
|
function Bytes() {
|
|
6494
|
-
this.
|
|
6499
|
+
this.ru_1 = 'Bytes';
|
|
6495
6500
|
}
|
|
6496
6501
|
protoOf(Bytes).m = function () {
|
|
6497
|
-
return this.
|
|
6502
|
+
return this.ru_1;
|
|
6498
6503
|
};
|
|
6499
6504
|
protoOf(Bytes).toString = function () {
|
|
6500
6505
|
return 'Bytes';
|
|
@@ -6522,58 +6527,58 @@ function Precision_P64_getInstance() {
|
|
|
6522
6527
|
return Precision_P64_instance;
|
|
6523
6528
|
}
|
|
6524
6529
|
function Any(isNullable) {
|
|
6525
|
-
this.
|
|
6526
|
-
this.
|
|
6530
|
+
this.su_1 = isNullable;
|
|
6531
|
+
this.tu_1 = 'Any';
|
|
6527
6532
|
}
|
|
6528
|
-
protoOf(Any).
|
|
6529
|
-
return this.
|
|
6533
|
+
protoOf(Any).uu = function () {
|
|
6534
|
+
return this.su_1;
|
|
6530
6535
|
};
|
|
6531
6536
|
protoOf(Any).l1 = function () {
|
|
6532
|
-
return this.
|
|
6537
|
+
return this.tu_1;
|
|
6533
6538
|
};
|
|
6534
|
-
protoOf(Any).
|
|
6539
|
+
protoOf(Any).vu = function (isNullable) {
|
|
6535
6540
|
return new Any(isNullable);
|
|
6536
6541
|
};
|
|
6537
6542
|
protoOf(Any).toString = function () {
|
|
6538
|
-
return 'Any(isNullable=' + this.
|
|
6543
|
+
return 'Any(isNullable=' + this.su_1 + ')';
|
|
6539
6544
|
};
|
|
6540
6545
|
protoOf(Any).hashCode = function () {
|
|
6541
|
-
return getBooleanHashCode(this.
|
|
6546
|
+
return getBooleanHashCode(this.su_1);
|
|
6542
6547
|
};
|
|
6543
6548
|
protoOf(Any).equals = function (other) {
|
|
6544
6549
|
if (this === other)
|
|
6545
6550
|
return true;
|
|
6546
6551
|
if (!(other instanceof Any))
|
|
6547
6552
|
return false;
|
|
6548
|
-
if (!(this.
|
|
6553
|
+
if (!(this.su_1 === other.su_1))
|
|
6549
6554
|
return false;
|
|
6550
6555
|
return true;
|
|
6551
6556
|
};
|
|
6552
6557
|
function Unit(isNullable) {
|
|
6553
|
-
this.
|
|
6554
|
-
this.
|
|
6558
|
+
this.xu_1 = isNullable;
|
|
6559
|
+
this.yu_1 = 'Unit';
|
|
6555
6560
|
}
|
|
6556
|
-
protoOf(Unit).
|
|
6557
|
-
return this.
|
|
6561
|
+
protoOf(Unit).uu = function () {
|
|
6562
|
+
return this.xu_1;
|
|
6558
6563
|
};
|
|
6559
6564
|
protoOf(Unit).l1 = function () {
|
|
6560
|
-
return this.
|
|
6565
|
+
return this.yu_1;
|
|
6561
6566
|
};
|
|
6562
|
-
protoOf(Unit).
|
|
6567
|
+
protoOf(Unit).vu = function (isNullable) {
|
|
6563
6568
|
return new Unit(isNullable);
|
|
6564
6569
|
};
|
|
6565
6570
|
protoOf(Unit).toString = function () {
|
|
6566
|
-
return 'Unit(isNullable=' + this.
|
|
6571
|
+
return 'Unit(isNullable=' + this.xu_1 + ')';
|
|
6567
6572
|
};
|
|
6568
6573
|
protoOf(Unit).hashCode = function () {
|
|
6569
|
-
return getBooleanHashCode(this.
|
|
6574
|
+
return getBooleanHashCode(this.xu_1);
|
|
6570
6575
|
};
|
|
6571
6576
|
protoOf(Unit).equals = function (other) {
|
|
6572
6577
|
if (this === other)
|
|
6573
6578
|
return true;
|
|
6574
6579
|
if (!(other instanceof Unit))
|
|
6575
6580
|
return false;
|
|
6576
|
-
if (!(this.
|
|
6581
|
+
if (!(this.xu_1 === other.xu_1))
|
|
6577
6582
|
return false;
|
|
6578
6583
|
return true;
|
|
6579
6584
|
};
|
|
@@ -6582,19 +6587,19 @@ function Dict_0(reference, isNullable) {
|
|
|
6582
6587
|
this.to_1 = isNullable;
|
|
6583
6588
|
this.uo_1 = 'Dict';
|
|
6584
6589
|
}
|
|
6585
|
-
protoOf(Dict_0).
|
|
6590
|
+
protoOf(Dict_0).uu = function () {
|
|
6586
6591
|
return this.to_1;
|
|
6587
6592
|
};
|
|
6588
6593
|
protoOf(Dict_0).l1 = function () {
|
|
6589
6594
|
return this.uo_1;
|
|
6590
6595
|
};
|
|
6591
|
-
protoOf(Dict_0).
|
|
6596
|
+
protoOf(Dict_0).zu = function (reference, isNullable) {
|
|
6592
6597
|
return new Dict_0(reference, isNullable);
|
|
6593
6598
|
};
|
|
6594
|
-
protoOf(Dict_0).
|
|
6599
|
+
protoOf(Dict_0).av = function (reference, isNullable, $super) {
|
|
6595
6600
|
reference = reference === VOID ? this.so_1 : reference;
|
|
6596
6601
|
isNullable = isNullable === VOID ? this.to_1 : isNullable;
|
|
6597
|
-
return $super === VOID ? this.
|
|
6602
|
+
return $super === VOID ? this.zu(reference, isNullable) : $super.zu.call(this, reference, isNullable);
|
|
6598
6603
|
};
|
|
6599
6604
|
protoOf(Dict_0).toString = function () {
|
|
6600
6605
|
return 'Dict(reference=' + toString(this.so_1) + ', isNullable=' + this.to_1 + ')';
|
|
@@ -6620,19 +6625,19 @@ function Iterable(reference, isNullable) {
|
|
|
6620
6625
|
this.qo_1 = isNullable;
|
|
6621
6626
|
this.ro_1 = 'Iterable';
|
|
6622
6627
|
}
|
|
6623
|
-
protoOf(Iterable).
|
|
6628
|
+
protoOf(Iterable).uu = function () {
|
|
6624
6629
|
return this.qo_1;
|
|
6625
6630
|
};
|
|
6626
6631
|
protoOf(Iterable).l1 = function () {
|
|
6627
6632
|
return this.ro_1;
|
|
6628
6633
|
};
|
|
6629
|
-
protoOf(Iterable).
|
|
6634
|
+
protoOf(Iterable).zu = function (reference, isNullable) {
|
|
6630
6635
|
return new Iterable(reference, isNullable);
|
|
6631
6636
|
};
|
|
6632
|
-
protoOf(Iterable).
|
|
6637
|
+
protoOf(Iterable).bv = function (reference, isNullable, $super) {
|
|
6633
6638
|
reference = reference === VOID ? this.po_1 : reference;
|
|
6634
6639
|
isNullable = isNullable === VOID ? this.qo_1 : isNullable;
|
|
6635
|
-
return $super === VOID ? this.
|
|
6640
|
+
return $super === VOID ? this.zu(reference, isNullable) : $super.zu.call(this, reference, isNullable);
|
|
6636
6641
|
};
|
|
6637
6642
|
protoOf(Iterable).toString = function () {
|
|
6638
6643
|
return 'Iterable(reference=' + toString(this.po_1) + ', isNullable=' + this.qo_1 + ')';
|
|
@@ -6654,29 +6659,29 @@ protoOf(Iterable).equals = function (other) {
|
|
|
6654
6659
|
return true;
|
|
6655
6660
|
};
|
|
6656
6661
|
function Custom(value, isNullable) {
|
|
6657
|
-
this.
|
|
6658
|
-
this.
|
|
6662
|
+
this.cv_1 = value;
|
|
6663
|
+
this.dv_1 = isNullable;
|
|
6659
6664
|
}
|
|
6660
6665
|
protoOf(Custom).l1 = function () {
|
|
6661
|
-
return this.bv_1;
|
|
6662
|
-
};
|
|
6663
|
-
protoOf(Custom).tu = function () {
|
|
6664
6666
|
return this.cv_1;
|
|
6665
6667
|
};
|
|
6666
|
-
protoOf(Custom).
|
|
6668
|
+
protoOf(Custom).uu = function () {
|
|
6669
|
+
return this.dv_1;
|
|
6670
|
+
};
|
|
6671
|
+
protoOf(Custom).ev = function (value, isNullable) {
|
|
6667
6672
|
return new Custom(value, isNullable);
|
|
6668
6673
|
};
|
|
6669
|
-
protoOf(Custom).
|
|
6670
|
-
value = value === VOID ? this.
|
|
6671
|
-
isNullable = isNullable === VOID ? this.
|
|
6672
|
-
return $super === VOID ? this.
|
|
6674
|
+
protoOf(Custom).fv = function (value, isNullable, $super) {
|
|
6675
|
+
value = value === VOID ? this.cv_1 : value;
|
|
6676
|
+
isNullable = isNullable === VOID ? this.dv_1 : isNullable;
|
|
6677
|
+
return $super === VOID ? this.ev(value, isNullable) : $super.ev.call(this, value, isNullable);
|
|
6673
6678
|
};
|
|
6674
6679
|
protoOf(Custom).toString = function () {
|
|
6675
|
-
return 'Custom(value=' + this.
|
|
6680
|
+
return 'Custom(value=' + this.cv_1 + ', isNullable=' + this.dv_1 + ')';
|
|
6676
6681
|
};
|
|
6677
6682
|
protoOf(Custom).hashCode = function () {
|
|
6678
|
-
var result = getStringHashCode(this.
|
|
6679
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6683
|
+
var result = getStringHashCode(this.cv_1);
|
|
6684
|
+
result = imul(result, 31) + getBooleanHashCode(this.dv_1) | 0;
|
|
6680
6685
|
return result;
|
|
6681
6686
|
};
|
|
6682
6687
|
protoOf(Custom).equals = function (other) {
|
|
@@ -6684,37 +6689,37 @@ protoOf(Custom).equals = function (other) {
|
|
|
6684
6689
|
return true;
|
|
6685
6690
|
if (!(other instanceof Custom))
|
|
6686
6691
|
return false;
|
|
6687
|
-
if (!(this.bv_1 === other.bv_1))
|
|
6688
|
-
return false;
|
|
6689
6692
|
if (!(this.cv_1 === other.cv_1))
|
|
6690
6693
|
return false;
|
|
6694
|
+
if (!(this.dv_1 === other.dv_1))
|
|
6695
|
+
return false;
|
|
6691
6696
|
return true;
|
|
6692
6697
|
};
|
|
6693
6698
|
function Primitive(type, isNullable) {
|
|
6694
|
-
this.
|
|
6695
|
-
this.
|
|
6696
|
-
this.
|
|
6699
|
+
this.gv_1 = type;
|
|
6700
|
+
this.hv_1 = isNullable;
|
|
6701
|
+
this.iv_1 = this.gv_1.m();
|
|
6697
6702
|
}
|
|
6698
|
-
protoOf(Primitive).
|
|
6699
|
-
return this.
|
|
6703
|
+
protoOf(Primitive).uu = function () {
|
|
6704
|
+
return this.hv_1;
|
|
6700
6705
|
};
|
|
6701
6706
|
protoOf(Primitive).l1 = function () {
|
|
6702
|
-
return this.
|
|
6707
|
+
return this.iv_1;
|
|
6703
6708
|
};
|
|
6704
|
-
protoOf(Primitive).
|
|
6709
|
+
protoOf(Primitive).jv = function (type, isNullable) {
|
|
6705
6710
|
return new Primitive(type, isNullable);
|
|
6706
6711
|
};
|
|
6707
|
-
protoOf(Primitive).
|
|
6708
|
-
type = type === VOID ? this.
|
|
6709
|
-
isNullable = isNullable === VOID ? this.
|
|
6710
|
-
return $super === VOID ? this.
|
|
6712
|
+
protoOf(Primitive).kv = function (type, isNullable, $super) {
|
|
6713
|
+
type = type === VOID ? this.gv_1 : type;
|
|
6714
|
+
isNullable = isNullable === VOID ? this.hv_1 : isNullable;
|
|
6715
|
+
return $super === VOID ? this.jv(type, isNullable) : $super.jv.call(this, type, isNullable);
|
|
6711
6716
|
};
|
|
6712
6717
|
protoOf(Primitive).toString = function () {
|
|
6713
|
-
return 'Primitive(type=' + toString(this.
|
|
6718
|
+
return 'Primitive(type=' + toString(this.gv_1) + ', isNullable=' + this.hv_1 + ')';
|
|
6714
6719
|
};
|
|
6715
6720
|
protoOf(Primitive).hashCode = function () {
|
|
6716
|
-
var result = hashCode(this.
|
|
6717
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6721
|
+
var result = hashCode(this.gv_1);
|
|
6722
|
+
result = imul(result, 31) + getBooleanHashCode(this.hv_1) | 0;
|
|
6718
6723
|
return result;
|
|
6719
6724
|
};
|
|
6720
6725
|
protoOf(Primitive).equals = function (other) {
|
|
@@ -6722,38 +6727,38 @@ protoOf(Primitive).equals = function (other) {
|
|
|
6722
6727
|
return true;
|
|
6723
6728
|
if (!(other instanceof Primitive))
|
|
6724
6729
|
return false;
|
|
6725
|
-
if (!equals(this.
|
|
6730
|
+
if (!equals(this.gv_1, other.gv_1))
|
|
6726
6731
|
return false;
|
|
6727
|
-
if (!(this.
|
|
6732
|
+
if (!(this.hv_1 === other.hv_1))
|
|
6728
6733
|
return false;
|
|
6729
6734
|
return true;
|
|
6730
6735
|
};
|
|
6731
6736
|
function Reference() {
|
|
6732
6737
|
}
|
|
6733
6738
|
function Module(fileUri, statements) {
|
|
6734
|
-
this.
|
|
6735
|
-
this.
|
|
6739
|
+
this.tq_1 = fileUri;
|
|
6740
|
+
this.uq_1 = statements;
|
|
6736
6741
|
}
|
|
6737
6742
|
protoOf(Module).ve = function () {
|
|
6738
|
-
return this.sq_1;
|
|
6739
|
-
};
|
|
6740
|
-
protoOf(Module).kv = function () {
|
|
6741
6743
|
return this.tq_1;
|
|
6742
6744
|
};
|
|
6743
|
-
protoOf(Module).lv = function (
|
|
6745
|
+
protoOf(Module).lv = function () {
|
|
6746
|
+
return this.uq_1;
|
|
6747
|
+
};
|
|
6748
|
+
protoOf(Module).mv = function (fileUri, statements) {
|
|
6744
6749
|
return new Module(fileUri, statements);
|
|
6745
6750
|
};
|
|
6746
|
-
protoOf(Module).
|
|
6747
|
-
fileUri = fileUri === VOID ? this.
|
|
6748
|
-
statements = statements === VOID ? this.
|
|
6749
|
-
return $super === VOID ? this.
|
|
6751
|
+
protoOf(Module).nv = function (fileUri, statements, $super) {
|
|
6752
|
+
fileUri = fileUri === VOID ? this.tq_1 : fileUri;
|
|
6753
|
+
statements = statements === VOID ? this.uq_1 : statements;
|
|
6754
|
+
return $super === VOID ? this.mv(fileUri, statements) : $super.mv.call(this, fileUri, new NonEmptyList(statements));
|
|
6750
6755
|
};
|
|
6751
6756
|
protoOf(Module).toString = function () {
|
|
6752
|
-
return 'Module(fileUri=' + this.
|
|
6757
|
+
return 'Module(fileUri=' + this.tq_1.toString() + ', statements=' + NonEmptyList__toString_impl_ozxm8z(this.uq_1) + ')';
|
|
6753
6758
|
};
|
|
6754
6759
|
protoOf(Module).hashCode = function () {
|
|
6755
|
-
var result = this.
|
|
6756
|
-
result = imul(result, 31) + NonEmptyList__hashCode_impl_38rpg4(this.
|
|
6760
|
+
var result = this.tq_1.hashCode();
|
|
6761
|
+
result = imul(result, 31) + NonEmptyList__hashCode_impl_38rpg4(this.uq_1) | 0;
|
|
6757
6762
|
return result;
|
|
6758
6763
|
};
|
|
6759
6764
|
protoOf(Module).equals = function (other) {
|
|
@@ -6761,42 +6766,42 @@ protoOf(Module).equals = function (other) {
|
|
|
6761
6766
|
return true;
|
|
6762
6767
|
if (!(other instanceof Module))
|
|
6763
6768
|
return false;
|
|
6764
|
-
if (!this.
|
|
6769
|
+
if (!this.tq_1.equals(other.tq_1))
|
|
6765
6770
|
return false;
|
|
6766
|
-
if (!equals(new NonEmptyList(this.
|
|
6771
|
+
if (!equals(new NonEmptyList(this.uq_1), new NonEmptyList(other.uq_1)))
|
|
6767
6772
|
return false;
|
|
6768
6773
|
return true;
|
|
6769
6774
|
};
|
|
6770
6775
|
function Root(modules) {
|
|
6771
|
-
this.
|
|
6776
|
+
this.sq_1 = modules;
|
|
6772
6777
|
}
|
|
6773
6778
|
protoOf(Root).toString = function () {
|
|
6774
|
-
return 'Root(modules=' + NonEmptyList__toString_impl_ozxm8z(this.
|
|
6779
|
+
return 'Root(modules=' + NonEmptyList__toString_impl_ozxm8z(this.sq_1) + ')';
|
|
6775
6780
|
};
|
|
6776
6781
|
protoOf(Root).hashCode = function () {
|
|
6777
|
-
return NonEmptyList__hashCode_impl_38rpg4(this.
|
|
6782
|
+
return NonEmptyList__hashCode_impl_38rpg4(this.sq_1);
|
|
6778
6783
|
};
|
|
6779
6784
|
protoOf(Root).equals = function (other) {
|
|
6780
6785
|
if (this === other)
|
|
6781
6786
|
return true;
|
|
6782
6787
|
if (!(other instanceof Root))
|
|
6783
6788
|
return false;
|
|
6784
|
-
if (!equals(new NonEmptyList(this.
|
|
6789
|
+
if (!equals(new NonEmptyList(this.sq_1), new NonEmptyList(other.sq_1)))
|
|
6785
6790
|
return false;
|
|
6786
6791
|
return true;
|
|
6787
6792
|
};
|
|
6788
6793
|
function IdxAndLength(idx, length) {
|
|
6789
6794
|
idx = idx === VOID ? 0 : idx;
|
|
6790
6795
|
length = length === VOID ? 0 : length;
|
|
6791
|
-
this.
|
|
6792
|
-
this.
|
|
6796
|
+
this.ov_1 = idx;
|
|
6797
|
+
this.pv_1 = length;
|
|
6793
6798
|
}
|
|
6794
6799
|
protoOf(IdxAndLength).toString = function () {
|
|
6795
|
-
return 'IdxAndLength(idx=' + this.
|
|
6800
|
+
return 'IdxAndLength(idx=' + this.ov_1 + ', length=' + this.pv_1 + ')';
|
|
6796
6801
|
};
|
|
6797
6802
|
protoOf(IdxAndLength).hashCode = function () {
|
|
6798
|
-
var result = this.
|
|
6799
|
-
result = imul(result, 31) + this.
|
|
6803
|
+
var result = this.ov_1;
|
|
6804
|
+
result = imul(result, 31) + this.pv_1 | 0;
|
|
6800
6805
|
return result;
|
|
6801
6806
|
};
|
|
6802
6807
|
protoOf(IdxAndLength).equals = function (other) {
|
|
@@ -6804,36 +6809,36 @@ protoOf(IdxAndLength).equals = function (other) {
|
|
|
6804
6809
|
return true;
|
|
6805
6810
|
if (!(other instanceof IdxAndLength))
|
|
6806
6811
|
return false;
|
|
6807
|
-
if (!(this.nv_1 === other.nv_1))
|
|
6808
|
-
return false;
|
|
6809
6812
|
if (!(this.ov_1 === other.ov_1))
|
|
6810
6813
|
return false;
|
|
6814
|
+
if (!(this.pv_1 === other.pv_1))
|
|
6815
|
+
return false;
|
|
6811
6816
|
return true;
|
|
6812
6817
|
};
|
|
6813
6818
|
function Coordinates(line, position, idxAndLength) {
|
|
6814
6819
|
line = line === VOID ? 1 : line;
|
|
6815
6820
|
position = position === VOID ? 1 : position;
|
|
6816
6821
|
idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
|
|
6817
|
-
this.
|
|
6818
|
-
this.
|
|
6819
|
-
this.
|
|
6822
|
+
this.ms_1 = line;
|
|
6823
|
+
this.ns_1 = position;
|
|
6824
|
+
this.os_1 = idxAndLength;
|
|
6820
6825
|
}
|
|
6821
|
-
protoOf(Coordinates).
|
|
6826
|
+
protoOf(Coordinates).qv = function (line, position, idxAndLength) {
|
|
6822
6827
|
return new Coordinates(line, position, idxAndLength);
|
|
6823
6828
|
};
|
|
6824
|
-
protoOf(Coordinates).
|
|
6825
|
-
line = line === VOID ? this.
|
|
6826
|
-
position = position === VOID ? this.
|
|
6827
|
-
idxAndLength = idxAndLength === VOID ? this.
|
|
6828
|
-
return $super === VOID ? this.
|
|
6829
|
+
protoOf(Coordinates).rv = function (line, position, idxAndLength, $super) {
|
|
6830
|
+
line = line === VOID ? this.ms_1 : line;
|
|
6831
|
+
position = position === VOID ? this.ns_1 : position;
|
|
6832
|
+
idxAndLength = idxAndLength === VOID ? this.os_1 : idxAndLength;
|
|
6833
|
+
return $super === VOID ? this.qv(line, position, idxAndLength) : $super.qv.call(this, line, position, idxAndLength);
|
|
6829
6834
|
};
|
|
6830
6835
|
protoOf(Coordinates).toString = function () {
|
|
6831
|
-
return 'Coordinates(line=' + this.
|
|
6836
|
+
return 'Coordinates(line=' + this.ms_1 + ', position=' + this.ns_1 + ', idxAndLength=' + this.os_1.toString() + ')';
|
|
6832
6837
|
};
|
|
6833
6838
|
protoOf(Coordinates).hashCode = function () {
|
|
6834
|
-
var result = this.
|
|
6835
|
-
result = imul(result, 31) + this.
|
|
6836
|
-
result = imul(result, 31) + this.
|
|
6839
|
+
var result = this.ms_1;
|
|
6840
|
+
result = imul(result, 31) + this.ns_1 | 0;
|
|
6841
|
+
result = imul(result, 31) + this.os_1.hashCode() | 0;
|
|
6837
6842
|
return result;
|
|
6838
6843
|
};
|
|
6839
6844
|
protoOf(Coordinates).equals = function (other) {
|
|
@@ -6841,38 +6846,38 @@ protoOf(Coordinates).equals = function (other) {
|
|
|
6841
6846
|
return true;
|
|
6842
6847
|
if (!(other instanceof Coordinates))
|
|
6843
6848
|
return false;
|
|
6844
|
-
if (!(this.ls_1 === other.ls_1))
|
|
6845
|
-
return false;
|
|
6846
6849
|
if (!(this.ms_1 === other.ms_1))
|
|
6847
6850
|
return false;
|
|
6848
|
-
if (!this.ns_1
|
|
6851
|
+
if (!(this.ns_1 === other.ns_1))
|
|
6852
|
+
return false;
|
|
6853
|
+
if (!this.os_1.equals(other.os_1))
|
|
6849
6854
|
return false;
|
|
6850
6855
|
return true;
|
|
6851
6856
|
};
|
|
6852
6857
|
function Token(value, type, coordinates) {
|
|
6853
|
-
this.
|
|
6854
|
-
this.
|
|
6855
|
-
this.
|
|
6858
|
+
this.js_1 = value;
|
|
6859
|
+
this.ks_1 = type;
|
|
6860
|
+
this.ls_1 = coordinates;
|
|
6856
6861
|
}
|
|
6857
6862
|
protoOf(Token).l1 = function () {
|
|
6858
|
-
return this.
|
|
6863
|
+
return this.js_1;
|
|
6859
6864
|
};
|
|
6860
|
-
protoOf(Token).
|
|
6865
|
+
protoOf(Token).sv = function (value, type, coordinates) {
|
|
6861
6866
|
return new Token(value, type, coordinates);
|
|
6862
6867
|
};
|
|
6863
|
-
protoOf(Token).
|
|
6864
|
-
value = value === VOID ? this.
|
|
6865
|
-
type = type === VOID ? this.
|
|
6866
|
-
coordinates = coordinates === VOID ? this.
|
|
6867
|
-
return $super === VOID ? this.
|
|
6868
|
+
protoOf(Token).tv = function (value, type, coordinates, $super) {
|
|
6869
|
+
value = value === VOID ? this.js_1 : value;
|
|
6870
|
+
type = type === VOID ? this.ks_1 : type;
|
|
6871
|
+
coordinates = coordinates === VOID ? this.ls_1 : coordinates;
|
|
6872
|
+
return $super === VOID ? this.sv(value, type, coordinates) : $super.sv.call(this, value, type, coordinates);
|
|
6868
6873
|
};
|
|
6869
6874
|
protoOf(Token).toString = function () {
|
|
6870
|
-
return 'Token(value=' + this.
|
|
6875
|
+
return 'Token(value=' + this.js_1 + ', type=' + toString(this.ks_1) + ', coordinates=' + this.ls_1.toString() + ')';
|
|
6871
6876
|
};
|
|
6872
6877
|
protoOf(Token).hashCode = function () {
|
|
6873
|
-
var result = getStringHashCode(this.
|
|
6874
|
-
result = imul(result, 31) + hashCode(this.
|
|
6875
|
-
result = imul(result, 31) + this.
|
|
6878
|
+
var result = getStringHashCode(this.js_1);
|
|
6879
|
+
result = imul(result, 31) + hashCode(this.ks_1) | 0;
|
|
6880
|
+
result = imul(result, 31) + this.ls_1.hashCode() | 0;
|
|
6876
6881
|
return result;
|
|
6877
6882
|
};
|
|
6878
6883
|
protoOf(Token).equals = function (other) {
|
|
@@ -6880,19 +6885,19 @@ protoOf(Token).equals = function (other) {
|
|
|
6880
6885
|
return true;
|
|
6881
6886
|
if (!(other instanceof Token))
|
|
6882
6887
|
return false;
|
|
6883
|
-
if (!(this.
|
|
6888
|
+
if (!(this.js_1 === other.js_1))
|
|
6884
6889
|
return false;
|
|
6885
|
-
if (!equals(this.
|
|
6890
|
+
if (!equals(this.ks_1, other.ks_1))
|
|
6886
6891
|
return false;
|
|
6887
|
-
if (!this.
|
|
6892
|
+
if (!this.ls_1.equals(other.ls_1))
|
|
6888
6893
|
return false;
|
|
6889
6894
|
return true;
|
|
6890
6895
|
};
|
|
6891
6896
|
function plus_2(_this__u8e3s4, length) {
|
|
6892
|
-
return new IdxAndLength(_this__u8e3s4.
|
|
6897
|
+
return new IdxAndLength(_this__u8e3s4.ov_1 + length | 0, length);
|
|
6893
6898
|
}
|
|
6894
6899
|
function plus_3(_this__u8e3s4, length) {
|
|
6895
|
-
return _this__u8e3s4.
|
|
6900
|
+
return _this__u8e3s4.rv(VOID, _this__u8e3s4.ns_1 + length | 0, plus_2(_this__u8e3s4.os_1, length));
|
|
6896
6901
|
}
|
|
6897
6902
|
function Keyword() {
|
|
6898
6903
|
}
|
|
@@ -7625,20 +7630,20 @@ function WsBytes_getInstance() {
|
|
|
7625
7630
|
return WsBytes_instance;
|
|
7626
7631
|
}
|
|
7627
7632
|
function WsInteger(precision) {
|
|
7628
|
-
this.
|
|
7633
|
+
this.pt_1 = precision;
|
|
7629
7634
|
}
|
|
7630
7635
|
protoOf(WsInteger).toString = function () {
|
|
7631
|
-
return 'WsInteger(precision=' + this.
|
|
7636
|
+
return 'WsInteger(precision=' + this.pt_1.toString() + ')';
|
|
7632
7637
|
};
|
|
7633
7638
|
protoOf(WsInteger).hashCode = function () {
|
|
7634
|
-
return this.
|
|
7639
|
+
return this.pt_1.hashCode();
|
|
7635
7640
|
};
|
|
7636
7641
|
protoOf(WsInteger).equals = function (other) {
|
|
7637
7642
|
if (this === other)
|
|
7638
7643
|
return true;
|
|
7639
7644
|
if (!(other instanceof WsInteger))
|
|
7640
7645
|
return false;
|
|
7641
|
-
if (!this.
|
|
7646
|
+
if (!this.pt_1.equals(other.pt_1))
|
|
7642
7647
|
return false;
|
|
7643
7648
|
return true;
|
|
7644
7649
|
};
|
|
@@ -7656,20 +7661,20 @@ function Precision_0(name, ordinal) {
|
|
|
7656
7661
|
Enum.call(this, name, ordinal);
|
|
7657
7662
|
}
|
|
7658
7663
|
function WsNumber(precision) {
|
|
7659
|
-
this.
|
|
7664
|
+
this.ot_1 = precision;
|
|
7660
7665
|
}
|
|
7661
7666
|
protoOf(WsNumber).toString = function () {
|
|
7662
|
-
return 'WsNumber(precision=' + this.
|
|
7667
|
+
return 'WsNumber(precision=' + this.ot_1.toString() + ')';
|
|
7663
7668
|
};
|
|
7664
7669
|
protoOf(WsNumber).hashCode = function () {
|
|
7665
|
-
return this.
|
|
7670
|
+
return this.ot_1.hashCode();
|
|
7666
7671
|
};
|
|
7667
7672
|
protoOf(WsNumber).equals = function (other) {
|
|
7668
7673
|
if (this === other)
|
|
7669
7674
|
return true;
|
|
7670
7675
|
if (!(other instanceof WsNumber))
|
|
7671
7676
|
return false;
|
|
7672
|
-
if (!this.
|
|
7677
|
+
if (!this.ot_1.equals(other.ot_1))
|
|
7673
7678
|
return false;
|
|
7674
7679
|
return true;
|
|
7675
7680
|
};
|
|
@@ -7762,7 +7767,7 @@ function StartOfProgram_getInstance() {
|
|
|
7762
7767
|
return StartOfProgram_instance;
|
|
7763
7768
|
}
|
|
7764
7769
|
function EndOfProgram() {
|
|
7765
|
-
this.
|
|
7770
|
+
this.uv_1 = 'EOP';
|
|
7766
7771
|
}
|
|
7767
7772
|
protoOf(EndOfProgram).toString = function () {
|
|
7768
7773
|
return 'EndOfProgram';
|
|
@@ -7803,17 +7808,17 @@ function TokenizeOptions(removeWhitespace, specifyTypes, specifyFieldIdentifiers
|
|
|
7803
7808
|
removeWhitespace = removeWhitespace === VOID ? true : removeWhitespace;
|
|
7804
7809
|
specifyTypes = specifyTypes === VOID ? true : specifyTypes;
|
|
7805
7810
|
specifyFieldIdentifiers = specifyFieldIdentifiers === VOID ? true : specifyFieldIdentifiers;
|
|
7806
|
-
this.
|
|
7807
|
-
this.
|
|
7808
|
-
this.
|
|
7811
|
+
this.vv_1 = removeWhitespace;
|
|
7812
|
+
this.wv_1 = specifyTypes;
|
|
7813
|
+
this.xv_1 = specifyFieldIdentifiers;
|
|
7809
7814
|
}
|
|
7810
7815
|
protoOf(TokenizeOptions).toString = function () {
|
|
7811
|
-
return 'TokenizeOptions(removeWhitespace=' + this.
|
|
7816
|
+
return 'TokenizeOptions(removeWhitespace=' + this.vv_1 + ', specifyTypes=' + this.wv_1 + ', specifyFieldIdentifiers=' + this.xv_1 + ')';
|
|
7812
7817
|
};
|
|
7813
7818
|
protoOf(TokenizeOptions).hashCode = function () {
|
|
7814
|
-
var result = getBooleanHashCode(this.
|
|
7815
|
-
result = imul(result, 31) + getBooleanHashCode(this.vv_1) | 0;
|
|
7819
|
+
var result = getBooleanHashCode(this.vv_1);
|
|
7816
7820
|
result = imul(result, 31) + getBooleanHashCode(this.wv_1) | 0;
|
|
7821
|
+
result = imul(result, 31) + getBooleanHashCode(this.xv_1) | 0;
|
|
7817
7822
|
return result;
|
|
7818
7823
|
};
|
|
7819
7824
|
protoOf(TokenizeOptions).equals = function (other) {
|
|
@@ -7821,12 +7826,12 @@ protoOf(TokenizeOptions).equals = function (other) {
|
|
|
7821
7826
|
return true;
|
|
7822
7827
|
if (!(other instanceof TokenizeOptions))
|
|
7823
7828
|
return false;
|
|
7824
|
-
if (!(this.uv_1 === other.uv_1))
|
|
7825
|
-
return false;
|
|
7826
7829
|
if (!(this.vv_1 === other.vv_1))
|
|
7827
7830
|
return false;
|
|
7828
7831
|
if (!(this.wv_1 === other.wv_1))
|
|
7829
7832
|
return false;
|
|
7833
|
+
if (!(this.xv_1 === other.xv_1))
|
|
7834
|
+
return false;
|
|
7830
7835
|
return true;
|
|
7831
7836
|
};
|
|
7832
7837
|
function tokenize_1(_this__u8e3s4, source, incompleteTokens) {
|
|
@@ -7835,11 +7840,11 @@ function tokenize_1(_this__u8e3s4, source, incompleteTokens) {
|
|
|
7835
7840
|
var incompleteTokens_0 = incompleteTokens;
|
|
7836
7841
|
$l$1: do {
|
|
7837
7842
|
$l$0: do {
|
|
7838
|
-
var _destruct__k2r9zo = extractToken($this, source_0, last(new NonEmptyList(incompleteTokens_0)).
|
|
7843
|
+
var _destruct__k2r9zo = extractToken($this, source_0, last(new NonEmptyList(incompleteTokens_0)).ls_1);
|
|
7839
7844
|
var token = _destruct__k2r9zo.ve();
|
|
7840
7845
|
var remaining = _destruct__k2r9zo.we();
|
|
7841
7846
|
var tokens = NonEmptyList__plus_impl_xqmb9(incompleteTokens_0, token);
|
|
7842
|
-
var tmp0_subject = token.
|
|
7847
|
+
var tmp0_subject = token.ks_1;
|
|
7843
7848
|
var tmp;
|
|
7844
7849
|
if (tmp0_subject instanceof EndOfProgram) {
|
|
7845
7850
|
tmp = tokens;
|
|
@@ -7887,16 +7892,16 @@ function extractToken(_this__u8e3s4, source, previousTokenCoordinates) {
|
|
|
7887
7892
|
tmp = null;
|
|
7888
7893
|
} else {
|
|
7889
7894
|
// Inline function 'kotlin.let' call
|
|
7890
|
-
tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.
|
|
7895
|
+
tmp = to(tmp0_safe_receiver_0, removePrefix(source, tmp0_safe_receiver_0.js_1));
|
|
7891
7896
|
}
|
|
7892
7897
|
var tmp1_elvis_lhs = tmp;
|
|
7893
7898
|
return tmp1_elvis_lhs == null ? new Pair(endToken(previousTokenCoordinates), '') : tmp1_elvis_lhs;
|
|
7894
7899
|
}
|
|
7895
7900
|
function potentialRegex(_this__u8e3s4, source, incompleteTokens) {
|
|
7896
|
-
var _destruct__k2r9zo = extractToken(_this__u8e3s4, source, last(new NonEmptyList(incompleteTokens)).
|
|
7901
|
+
var _destruct__k2r9zo = extractToken(_this__u8e3s4, source, last(new NonEmptyList(incompleteTokens)).ls_1);
|
|
7897
7902
|
var token = _destruct__k2r9zo.ve();
|
|
7898
7903
|
var remaining = _destruct__k2r9zo.we();
|
|
7899
|
-
var tmp0_subject = token.
|
|
7904
|
+
var tmp0_subject = token.ks_1;
|
|
7900
7905
|
var tmp;
|
|
7901
7906
|
if (tmp0_subject instanceof WhiteSpaceExceptNewLine) {
|
|
7902
7907
|
tmp = potentialRegex(_this__u8e3s4, remaining, NonEmptyList__plus_impl_xqmb9(incompleteTokens, token));
|
|
@@ -7920,7 +7925,7 @@ function removeWhiteSpace(_this__u8e3s4) {
|
|
|
7920
7925
|
var _iterator__ex2g4s = tmp0.t();
|
|
7921
7926
|
while (_iterator__ex2g4s.u()) {
|
|
7922
7927
|
var element = _iterator__ex2g4s.v();
|
|
7923
|
-
var tmp = element.
|
|
7928
|
+
var tmp = element.ks_1;
|
|
7924
7929
|
if (!isInterface(tmp, WhiteSpace)) {
|
|
7925
7930
|
destination.x(element);
|
|
7926
7931
|
}
|
|
@@ -7938,16 +7943,16 @@ function removeWhiteSpace(_this__u8e3s4) {
|
|
|
7938
7943
|
return tmp_0;
|
|
7939
7944
|
}
|
|
7940
7945
|
function specifyType(_this__u8e3s4, entries) {
|
|
7941
|
-
var tmp0_subject = _this__u8e3s4.
|
|
7946
|
+
var tmp0_subject = _this__u8e3s4.ks_1;
|
|
7942
7947
|
var tmp;
|
|
7943
7948
|
if (isInterface(tmp0_subject, TypeIdentifier)) {
|
|
7944
|
-
var tmp1_safe_receiver = entries.p2(_this__u8e3s4.
|
|
7949
|
+
var tmp1_safe_receiver = entries.p2(_this__u8e3s4.js_1);
|
|
7945
7950
|
var tmp_0;
|
|
7946
7951
|
if (tmp1_safe_receiver == null) {
|
|
7947
7952
|
tmp_0 = null;
|
|
7948
7953
|
} else {
|
|
7949
7954
|
// Inline function 'kotlin.let' call
|
|
7950
|
-
tmp_0 = _this__u8e3s4.
|
|
7955
|
+
tmp_0 = _this__u8e3s4.tv(VOID, tmp1_safe_receiver);
|
|
7951
7956
|
}
|
|
7952
7957
|
var tmp2_elvis_lhs = tmp_0;
|
|
7953
7958
|
tmp = tmp2_elvis_lhs == null ? _this__u8e3s4 : tmp2_elvis_lhs;
|
|
@@ -7957,7 +7962,7 @@ function specifyType(_this__u8e3s4, entries) {
|
|
|
7957
7962
|
return tmp;
|
|
7958
7963
|
}
|
|
7959
7964
|
function specifyFieldIdentifier(_this__u8e3s4, caseVariants) {
|
|
7960
|
-
var tmp0_subject = _this__u8e3s4.
|
|
7965
|
+
var tmp0_subject = _this__u8e3s4.ks_1;
|
|
7961
7966
|
var tmp;
|
|
7962
7967
|
if (isInterface(tmp0_subject, FieldIdentifier_0)) {
|
|
7963
7968
|
var tmp$ret$1;
|
|
@@ -7968,7 +7973,7 @@ function specifyFieldIdentifier(_this__u8e3s4, caseVariants) {
|
|
|
7968
7973
|
var element = _iterator__ex2g4s.v();
|
|
7969
7974
|
var regex = element.ve();
|
|
7970
7975
|
var variant = element.we();
|
|
7971
|
-
var result = regex.oc(removeBackticks(_this__u8e3s4.
|
|
7976
|
+
var result = regex.oc(removeBackticks(_this__u8e3s4.js_1)) ? _this__u8e3s4.tv(VOID, variant) : null;
|
|
7972
7977
|
if (!(result == null)) {
|
|
7973
7978
|
tmp$ret$1 = result;
|
|
7974
7979
|
break $l$block;
|
|
@@ -8024,7 +8029,7 @@ function extractRegex(_this__u8e3s4, source, regex, incompleteTokens) {
|
|
|
8024
8029
|
function nextCoordinates(_this__u8e3s4, type, value) {
|
|
8025
8030
|
var tmp;
|
|
8026
8031
|
if (type instanceof NewLine) {
|
|
8027
|
-
tmp = new Coordinates(_this__u8e3s4.
|
|
8032
|
+
tmp = new Coordinates(_this__u8e3s4.ms_1 + 1 | 0, VOID, plus_2(_this__u8e3s4.os_1, value.length));
|
|
8028
8033
|
} else {
|
|
8029
8034
|
// Inline function 'kotlin.text.count' call
|
|
8030
8035
|
var count = 0;
|
|
@@ -8037,13 +8042,13 @@ function nextCoordinates(_this__u8e3s4, type, value) {
|
|
|
8037
8042
|
}
|
|
8038
8043
|
}
|
|
8039
8044
|
var newLineCount = count;
|
|
8040
|
-
tmp = newLineCount === 0 ? plus_3(_this__u8e3s4, value.length) : new Coordinates(_this__u8e3s4.
|
|
8045
|
+
tmp = newLineCount === 0 ? plus_3(_this__u8e3s4, value.length) : new Coordinates(_this__u8e3s4.ms_1 + newLineCount | 0, value.length - lastIndexOf(value, _Char___init__impl__6a9atx(10)) | 0, plus_2(_this__u8e3s4.os_1, value.length));
|
|
8041
8046
|
}
|
|
8042
8047
|
return tmp;
|
|
8043
8048
|
}
|
|
8044
8049
|
function nextToken_0(_this__u8e3s4, type, value) {
|
|
8045
|
-
var tmp0_coordinates = nextCoordinates(_this__u8e3s4.
|
|
8046
|
-
return _this__u8e3s4.
|
|
8050
|
+
var tmp0_coordinates = nextCoordinates(_this__u8e3s4.ls_1, type, value);
|
|
8051
|
+
return _this__u8e3s4.sv(value, type, tmp0_coordinates);
|
|
8047
8052
|
}
|
|
8048
8053
|
function optimize$lambda$lambda($this$runOption) {
|
|
8049
8054
|
return new NonEmptyList(removeWhiteSpace($this$runOption.om_1));
|
|
@@ -8086,14 +8091,14 @@ function optimize$lambda$lambda_1($this_optimize) {
|
|
|
8086
8091
|
}
|
|
8087
8092
|
function optimize$lambda($options, $this_optimize) {
|
|
8088
8093
|
return function (tokens) {
|
|
8089
|
-
var tmp = runOption(tokens.om_1, $options.
|
|
8090
|
-
var tmp_0 = runOption(tmp, $options.
|
|
8091
|
-
return new NonEmptyList(runOption(tmp_0, $options.
|
|
8094
|
+
var tmp = runOption(tokens.om_1, $options.vv_1, optimize$lambda$lambda);
|
|
8095
|
+
var tmp_0 = runOption(tmp, $options.wv_1, optimize$lambda$lambda_0($this_optimize));
|
|
8096
|
+
return new NonEmptyList(runOption(tmp_0, $options.xv_1, optimize$lambda$lambda_1($this_optimize)));
|
|
8092
8097
|
};
|
|
8093
8098
|
}
|
|
8094
8099
|
function validateWithOptions($this, ast, options) {
|
|
8095
8100
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
8096
|
-
var this_0 = ast.
|
|
8101
|
+
var this_0 = ast.sq_1;
|
|
8097
8102
|
// Inline function 'kotlin.collections.map' call
|
|
8098
8103
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
8099
8104
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -8102,7 +8107,7 @@ function validateWithOptions($this, ast, options) {
|
|
|
8102
8107
|
while (_iterator__ex2g4s.u()) {
|
|
8103
8108
|
var item = _iterator__ex2g4s.v();
|
|
8104
8109
|
var uri = item.ve();
|
|
8105
|
-
var statements = item.
|
|
8110
|
+
var statements = item.lv();
|
|
8106
8111
|
// Inline function 'arrow.core.Either.map' call
|
|
8107
8112
|
// Inline function 'arrow.core.flatMap' call
|
|
8108
8113
|
var this_2 = runValidateOptions(Validator_instance, options)(new NonEmptyList(statements));
|
|
@@ -8220,7 +8225,7 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8220
8225
|
while (_iterator__ex2g4s_1.u()) {
|
|
8221
8226
|
var element_0 = _iterator__ex2g4s_1.v();
|
|
8222
8227
|
// Inline function 'kotlin.collections.map' call
|
|
8223
|
-
var this_1 = element_0.
|
|
8228
|
+
var this_1 = element_0.ip_1;
|
|
8224
8229
|
// Inline function 'kotlin.collections.mapTo' call
|
|
8225
8230
|
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault_0(this_1, 10));
|
|
8226
8231
|
var _iterator__ex2g4s_2 = this_1.t();
|
|
@@ -8228,7 +8233,7 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8228
8233
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
8229
8234
|
var tmp_1;
|
|
8230
8235
|
if (item_0 instanceof Custom) {
|
|
8231
|
-
tmp_1 = item_0.
|
|
8236
|
+
tmp_1 = item_0.cv_1;
|
|
8232
8237
|
} else {
|
|
8233
8238
|
// Inline function 'arrow.core.nel' call
|
|
8234
8239
|
var this_2 = new UnionError();
|
|
@@ -8238,7 +8243,7 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8238
8243
|
var tmp$ret$3 = tmp_1;
|
|
8239
8244
|
destination_2.x(tmp$ret$3);
|
|
8240
8245
|
}
|
|
8241
|
-
if (destination_2.u1(item.
|
|
8246
|
+
if (destination_2.u1(item.mp_1.l1())) {
|
|
8242
8247
|
destination_1.x(element_0);
|
|
8243
8248
|
}
|
|
8244
8249
|
}
|
|
@@ -8248,10 +8253,10 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8248
8253
|
var _iterator__ex2g4s_3 = destination_1.t();
|
|
8249
8254
|
while (_iterator__ex2g4s_3.u()) {
|
|
8250
8255
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
8251
|
-
var tmp$ret$9 = new Custom(item_1.
|
|
8256
|
+
var tmp$ret$9 = new Custom(item_1.hp_1.l1(), false);
|
|
8252
8257
|
destination_3.x(tmp$ret$9);
|
|
8253
8258
|
}
|
|
8254
|
-
tmp_0 = item.
|
|
8259
|
+
tmp_0 = item.st(VOID, VOID, VOID, VOID, destination_3);
|
|
8255
8260
|
} else {
|
|
8256
8261
|
if (item instanceof Union) {
|
|
8257
8262
|
tmp_0 = item;
|
|
@@ -8292,14 +8297,14 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8292
8297
|
}
|
|
8293
8298
|
function validateEndpoints($this, ast) {
|
|
8294
8299
|
// Inline function 'kotlin.collections.flatMap' call
|
|
8295
|
-
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.
|
|
8300
|
+
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.sq_1);
|
|
8296
8301
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
8297
8302
|
var destination = ArrayList_init_$Create$_0();
|
|
8298
8303
|
var _iterator__ex2g4s = tmp0.t();
|
|
8299
8304
|
while (_iterator__ex2g4s.u()) {
|
|
8300
8305
|
var element = _iterator__ex2g4s.v();
|
|
8301
8306
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
8302
|
-
var tmp0_0 = new NonEmptyList(element.
|
|
8307
|
+
var tmp0_0 = new NonEmptyList(element.uq_1);
|
|
8303
8308
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
8304
8309
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
8305
8310
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -8318,7 +8323,7 @@ function validateEndpoints($this, ast) {
|
|
|
8318
8323
|
var _iterator__ex2g4s_1 = destination.t();
|
|
8319
8324
|
while (_iterator__ex2g4s_1.u()) {
|
|
8320
8325
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
8321
|
-
var key = element_1.
|
|
8326
|
+
var key = element_1.vp_1.l1();
|
|
8322
8327
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
8323
8328
|
var value = destination_1.p2(key);
|
|
8324
8329
|
var tmp;
|
|
@@ -8378,14 +8383,14 @@ function validateEndpoints($this, ast) {
|
|
|
8378
8383
|
}
|
|
8379
8384
|
function validateTypes($this, ast) {
|
|
8380
8385
|
// Inline function 'kotlin.collections.flatMap' call
|
|
8381
|
-
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.
|
|
8386
|
+
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.sq_1);
|
|
8382
8387
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
8383
8388
|
var destination = ArrayList_init_$Create$_0();
|
|
8384
8389
|
var _iterator__ex2g4s = tmp0.t();
|
|
8385
8390
|
while (_iterator__ex2g4s.u()) {
|
|
8386
8391
|
var element = _iterator__ex2g4s.v();
|
|
8387
8392
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
8388
|
-
var tmp0_0 = new NonEmptyList(element.
|
|
8393
|
+
var tmp0_0 = new NonEmptyList(element.uq_1);
|
|
8389
8394
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
8390
8395
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
8391
8396
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -8401,7 +8406,7 @@ function validateTypes($this, ast) {
|
|
|
8401
8406
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
8402
8407
|
while (_iterator__ex2g4s_1.u()) {
|
|
8403
8408
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
8404
|
-
var key = element_1.
|
|
8409
|
+
var key = element_1.mp_1.l1();
|
|
8405
8410
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
8406
8411
|
var value = destination_1.p2(key);
|
|
8407
8412
|
var tmp;
|
|
@@ -8464,14 +8469,14 @@ function validateTypes($this, ast) {
|
|
|
8464
8469
|
}
|
|
8465
8470
|
function validateChannels($this, ast) {
|
|
8466
8471
|
// Inline function 'kotlin.collections.flatMap' call
|
|
8467
|
-
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.
|
|
8472
|
+
var tmp0 = NonEmptyList__toList_impl_t5xcy2(ast.sq_1);
|
|
8468
8473
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
8469
8474
|
var destination = ArrayList_init_$Create$_0();
|
|
8470
8475
|
var _iterator__ex2g4s = tmp0.t();
|
|
8471
8476
|
while (_iterator__ex2g4s.u()) {
|
|
8472
8477
|
var element = _iterator__ex2g4s.v();
|
|
8473
8478
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
8474
|
-
var tmp0_0 = new NonEmptyList(element.
|
|
8479
|
+
var tmp0_0 = new NonEmptyList(element.uq_1);
|
|
8475
8480
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
8476
8481
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
8477
8482
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -8490,7 +8495,7 @@ function validateChannels($this, ast) {
|
|
|
8490
8495
|
var _iterator__ex2g4s_1 = destination.t();
|
|
8491
8496
|
while (_iterator__ex2g4s_1.u()) {
|
|
8492
8497
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
8493
|
-
var key = element_1.
|
|
8498
|
+
var key = element_1.dp_1.l1();
|
|
8494
8499
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
8495
8500
|
var value = destination_1.p2(key);
|
|
8496
8501
|
var tmp;
|
|
@@ -8554,12 +8559,12 @@ function Validator$runValidateOptions$lambda$lambda($this$runOption) {
|
|
|
8554
8559
|
function Validator$runValidateOptions$lambda($options) {
|
|
8555
8560
|
return function (it) {
|
|
8556
8561
|
var tmp = Validator_instance;
|
|
8557
|
-
return runOption_0(tmp, it.om_1, $options.
|
|
8562
|
+
return runOption_0(tmp, it.om_1, $options.ht_1, Validator$runValidateOptions$lambda$lambda);
|
|
8558
8563
|
};
|
|
8559
8564
|
}
|
|
8560
8565
|
function Validator() {
|
|
8561
8566
|
}
|
|
8562
|
-
protoOf(Validator).
|
|
8567
|
+
protoOf(Validator).jt = function (options, ast) {
|
|
8563
8568
|
var tmp2 = validateWithOptions(this, ast, options);
|
|
8564
8569
|
var tmp4 = validateEndpoints(this, ast);
|
|
8565
8570
|
var tmp6 = validateTypes(this, ast);
|
|
@@ -8815,18 +8820,18 @@ function Logger(logLevel) {
|
|
|
8815
8820
|
}
|
|
8816
8821
|
tmp_5.bo_1 = tmp_6;
|
|
8817
8822
|
}
|
|
8818
|
-
protoOf(Logger).
|
|
8823
|
+
protoOf(Logger).yv = function () {
|
|
8819
8824
|
return this.yn_1;
|
|
8820
8825
|
};
|
|
8821
|
-
protoOf(Logger).
|
|
8826
|
+
protoOf(Logger).zv = function () {
|
|
8822
8827
|
return this.zn_1;
|
|
8823
8828
|
};
|
|
8824
8829
|
protoOf(Logger).co = function (string) {
|
|
8825
|
-
return logIf(this, string, this.xv());
|
|
8826
|
-
};
|
|
8827
|
-
protoOf(Logger).jr = function (string) {
|
|
8828
8830
|
return logIf(this, string, this.yv());
|
|
8829
8831
|
};
|
|
8832
|
+
protoOf(Logger).kr = function (string) {
|
|
8833
|
+
return logIf(this, string, this.zv());
|
|
8834
|
+
};
|
|
8830
8835
|
function noLogger$1() {
|
|
8831
8836
|
Logger.call(this, null);
|
|
8832
8837
|
}
|
|
@@ -8838,14 +8843,14 @@ function _init_properties_Logger_kt__mpqsw() {
|
|
|
8838
8843
|
}
|
|
8839
8844
|
}
|
|
8840
8845
|
//region block: post-declaration
|
|
8841
|
-
protoOf(LanguageEmitter).
|
|
8842
|
-
protoOf(LanguageEmitter).
|
|
8843
|
-
protoOf(Any).
|
|
8844
|
-
protoOf(Unit).
|
|
8845
|
-
protoOf(Dict_0).
|
|
8846
|
-
protoOf(Iterable).
|
|
8847
|
-
protoOf(Custom).
|
|
8848
|
-
protoOf(Primitive).
|
|
8846
|
+
protoOf(LanguageEmitter).qq = get_expression;
|
|
8847
|
+
protoOf(LanguageEmitter).xq = notYetImplemented;
|
|
8848
|
+
protoOf(Any).wu = copy;
|
|
8849
|
+
protoOf(Unit).wu = copy;
|
|
8850
|
+
protoOf(Dict_0).wu = copy;
|
|
8851
|
+
protoOf(Iterable).wu = copy;
|
|
8852
|
+
protoOf(Custom).wu = copy;
|
|
8853
|
+
protoOf(Primitive).wu = copy;
|
|
8849
8854
|
//endregion
|
|
8850
8855
|
//region block: init
|
|
8851
8856
|
Companion_instance_0 = new Companion();
|