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