@flock/wirespec 0.17.18 → 0.17.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt.mjs +1148 -1148
- package/colormath-root-colormath.mjs +418 -418
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1766 -1766
- package/kotlinx-io-kotlinx-io-core.mjs +379 -379
- package/markdown.mjs +1829 -1829
- package/mordant-mordant.mjs +1582 -1582
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +205 -182
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +120 -120
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +104 -104
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +64 -64
- package/wirespec-src-compiler-emitters-typescript.mjs +43 -43
- package/wirespec-src-compiler-emitters-wirespec.mjs +27 -27
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +260 -260
- package/wirespec-src-converter-avro.mjs +269 -269
- package/wirespec-src-converter-openapi.mjs +370 -368
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +130 -130
- package/wirespec-src-plugin-cli.mjs +74 -74
- package/wirespec-src-plugin-npm.mjs +11 -11
- package/wirespec-src-tools-generator.mjs +13 -13
|
@@ -171,7 +171,7 @@ initMetadataForClass(ParamType, 'ParamType', VOID, Enum);
|
|
|
171
171
|
initMetadataForClass(Param, 'Param');
|
|
172
172
|
initMetadataForClass(FileExtension, 'FileExtension', VOID, Enum);
|
|
173
173
|
initMetadataForCompanion(Companion_0);
|
|
174
|
-
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [
|
|
174
|
+
initMetadataForClass(LanguageEmitter, 'LanguageEmitter', VOID, VOID, [TypeDefinitionEmitter, NotYetImplemented]);
|
|
175
175
|
initMetadataForCompanion(Companion_1);
|
|
176
176
|
initMetadataForClass(PackageName, 'PackageName');
|
|
177
177
|
initMetadataForObject(Spacer, 'Spacer');
|
|
@@ -233,22 +233,22 @@ initMetadataForObject(Bytes, 'Bytes');
|
|
|
233
233
|
function copy(isNullable) {
|
|
234
234
|
var tmp;
|
|
235
235
|
if (this instanceof Any) {
|
|
236
|
-
tmp = this.
|
|
236
|
+
tmp = this.e29(isNullable == null ? this.c29_1 : isNullable);
|
|
237
237
|
} else {
|
|
238
238
|
if (this instanceof Custom) {
|
|
239
|
-
tmp = this.
|
|
239
|
+
tmp = this.o29(VOID, isNullable == null ? this.m29_1 : isNullable);
|
|
240
240
|
} else {
|
|
241
241
|
if (this instanceof Dict_0) {
|
|
242
|
-
tmp = this.
|
|
242
|
+
tmp = this.j29(VOID, isNullable == null ? this.f23_1 : isNullable);
|
|
243
243
|
} else {
|
|
244
244
|
if (this instanceof Iterable) {
|
|
245
|
-
tmp = this.
|
|
245
|
+
tmp = this.k29(VOID, isNullable == null ? this.c23_1 : isNullable);
|
|
246
246
|
} else {
|
|
247
247
|
if (this instanceof Primitive) {
|
|
248
|
-
tmp = this.
|
|
248
|
+
tmp = this.t29(VOID, isNullable == null ? this.q29_1 : isNullable);
|
|
249
249
|
} else {
|
|
250
250
|
if (this instanceof Unit) {
|
|
251
|
-
tmp = this.
|
|
251
|
+
tmp = this.e29(isNullable == null ? this.g29_1 : isNullable);
|
|
252
252
|
} else {
|
|
253
253
|
noWhenBranchMatchedException();
|
|
254
254
|
}
|
|
@@ -6594,6 +6594,29 @@ function Endpoint(comment, annotations, identifier, method, path, queries, heade
|
|
|
6594
6594
|
protoOf(Endpoint).x25 = function () {
|
|
6595
6595
|
return this.g24_1;
|
|
6596
6596
|
};
|
|
6597
|
+
protoOf(Endpoint).b28 = function (comment, annotations, identifier, method, path, queries, headers, requests, responses) {
|
|
6598
|
+
return new Endpoint(comment, annotations, identifier, method, path, queries, headers, requests, responses);
|
|
6599
|
+
};
|
|
6600
|
+
protoOf(Endpoint).c28 = function (comment, annotations, identifier, method, path, queries, headers, requests, responses, $super) {
|
|
6601
|
+
comment = comment === VOID ? this.e24_1 : comment;
|
|
6602
|
+
annotations = annotations === VOID ? this.f24_1 : annotations;
|
|
6603
|
+
identifier = identifier === VOID ? this.g24_1 : identifier;
|
|
6604
|
+
method = method === VOID ? this.h24_1 : method;
|
|
6605
|
+
path = path === VOID ? this.i24_1 : path;
|
|
6606
|
+
queries = queries === VOID ? this.j24_1 : queries;
|
|
6607
|
+
headers = headers === VOID ? this.k24_1 : headers;
|
|
6608
|
+
requests = requests === VOID ? this.l24_1 : requests;
|
|
6609
|
+
responses = responses === VOID ? this.m24_1 : responses;
|
|
6610
|
+
var tmp;
|
|
6611
|
+
if ($super === VOID) {
|
|
6612
|
+
tmp = this.b28(comment, annotations, identifier, method, path, queries, headers, requests, responses);
|
|
6613
|
+
} else {
|
|
6614
|
+
var tmp_0 = $super.b28;
|
|
6615
|
+
var tmp_1 = comment;
|
|
6616
|
+
tmp = tmp_0.call(this, tmp_1 == null ? null : new Comment(tmp_1), annotations, identifier, method, path, queries, headers, requests, responses);
|
|
6617
|
+
}
|
|
6618
|
+
return tmp;
|
|
6619
|
+
};
|
|
6597
6620
|
protoOf(Endpoint).toString = function () {
|
|
6598
6621
|
var tmp = this.e24_1;
|
|
6599
6622
|
return 'Endpoint(comment=' + toString_1(tmp == null ? null : new Comment(tmp)) + ', annotations=' + toString(this.f24_1) + ', identifier=' + this.g24_1.toString() + ', method=' + this.h24_1.toString() + ', path=' + toString(this.i24_1) + ', queries=' + toString(this.j24_1) + ', headers=' + toString(this.k24_1) + ', requests=' + toString(this.l24_1) + ', responses=' + toString(this.m24_1) + ')';
|
|
@@ -6767,10 +6790,10 @@ function Type(comment, annotations, identifier, shape, extends_0) {
|
|
|
6767
6790
|
protoOf(Type).x25 = function () {
|
|
6768
6791
|
return this.x23_1;
|
|
6769
6792
|
};
|
|
6770
|
-
protoOf(Type).
|
|
6793
|
+
protoOf(Type).d28 = function (comment, annotations, identifier, shape, extends_0) {
|
|
6771
6794
|
return new Type(comment, annotations, identifier, shape, extends_0);
|
|
6772
6795
|
};
|
|
6773
|
-
protoOf(Type).
|
|
6796
|
+
protoOf(Type).e28 = function (comment, annotations, identifier, shape, extends_0, $super) {
|
|
6774
6797
|
comment = comment === VOID ? this.v23_1 : comment;
|
|
6775
6798
|
annotations = annotations === VOID ? this.w23_1 : annotations;
|
|
6776
6799
|
identifier = identifier === VOID ? this.x23_1 : identifier;
|
|
@@ -6778,9 +6801,9 @@ protoOf(Type).c28 = function (comment, annotations, identifier, shape, extends_0
|
|
|
6778
6801
|
extends_0 = extends_0 === VOID ? this.z23_1 : extends_0;
|
|
6779
6802
|
var tmp;
|
|
6780
6803
|
if ($super === VOID) {
|
|
6781
|
-
tmp = this.
|
|
6804
|
+
tmp = this.d28(comment, annotations, identifier, shape, extends_0);
|
|
6782
6805
|
} else {
|
|
6783
|
-
var tmp_0 = $super.
|
|
6806
|
+
var tmp_0 = $super.d28;
|
|
6784
6807
|
var tmp_1 = comment;
|
|
6785
6808
|
tmp = tmp_0.call(this, tmp_1 == null ? null : new Comment(tmp_1), annotations, identifier, shape, extends_0);
|
|
6786
6809
|
}
|
|
@@ -6913,13 +6936,13 @@ protoOf(Identifier).toString = function () {
|
|
|
6913
6936
|
};
|
|
6914
6937
|
function DefinitionIdentifier(name) {
|
|
6915
6938
|
Identifier.call(this, name);
|
|
6916
|
-
this.
|
|
6939
|
+
this.g28_1 = name;
|
|
6917
6940
|
}
|
|
6918
6941
|
protoOf(DefinitionIdentifier).toString = function () {
|
|
6919
|
-
return 'DefinitionIdentifier(name=' + this.
|
|
6942
|
+
return 'DefinitionIdentifier(name=' + this.g28_1 + ')';
|
|
6920
6943
|
};
|
|
6921
6944
|
protoOf(DefinitionIdentifier).hashCode = function () {
|
|
6922
|
-
return getStringHashCode(this.
|
|
6945
|
+
return getStringHashCode(this.g28_1);
|
|
6923
6946
|
};
|
|
6924
6947
|
protoOf(DefinitionIdentifier).equals = function (other) {
|
|
6925
6948
|
if (this === other)
|
|
@@ -6927,19 +6950,19 @@ protoOf(DefinitionIdentifier).equals = function (other) {
|
|
|
6927
6950
|
if (!(other instanceof DefinitionIdentifier))
|
|
6928
6951
|
return false;
|
|
6929
6952
|
var tmp0_other_with_cast = other instanceof DefinitionIdentifier ? other : THROW_CCE();
|
|
6930
|
-
if (!(this.
|
|
6953
|
+
if (!(this.g28_1 === tmp0_other_with_cast.g28_1))
|
|
6931
6954
|
return false;
|
|
6932
6955
|
return true;
|
|
6933
6956
|
};
|
|
6934
6957
|
function FieldIdentifier(name) {
|
|
6935
6958
|
Identifier.call(this, name);
|
|
6936
|
-
this.
|
|
6959
|
+
this.i28_1 = name;
|
|
6937
6960
|
}
|
|
6938
6961
|
protoOf(FieldIdentifier).toString = function () {
|
|
6939
|
-
return 'FieldIdentifier(name=' + this.
|
|
6962
|
+
return 'FieldIdentifier(name=' + this.i28_1 + ')';
|
|
6940
6963
|
};
|
|
6941
6964
|
protoOf(FieldIdentifier).hashCode = function () {
|
|
6942
|
-
return getStringHashCode(this.
|
|
6965
|
+
return getStringHashCode(this.i28_1);
|
|
6943
6966
|
};
|
|
6944
6967
|
protoOf(FieldIdentifier).equals = function (other) {
|
|
6945
6968
|
if (this === other)
|
|
@@ -6947,18 +6970,18 @@ protoOf(FieldIdentifier).equals = function (other) {
|
|
|
6947
6970
|
if (!(other instanceof FieldIdentifier))
|
|
6948
6971
|
return false;
|
|
6949
6972
|
var tmp0_other_with_cast = other instanceof FieldIdentifier ? other : THROW_CCE();
|
|
6950
|
-
if (!(this.
|
|
6973
|
+
if (!(this.i28_1 === tmp0_other_with_cast.i28_1))
|
|
6951
6974
|
return false;
|
|
6952
6975
|
return true;
|
|
6953
6976
|
};
|
|
6954
6977
|
function Single(value) {
|
|
6955
|
-
this.
|
|
6978
|
+
this.j28_1 = value;
|
|
6956
6979
|
}
|
|
6957
6980
|
protoOf(Single).toString = function () {
|
|
6958
|
-
return 'Single(value=' + this.
|
|
6981
|
+
return 'Single(value=' + this.j28_1 + ')';
|
|
6959
6982
|
};
|
|
6960
6983
|
protoOf(Single).hashCode = function () {
|
|
6961
|
-
return getStringHashCode(this.
|
|
6984
|
+
return getStringHashCode(this.j28_1);
|
|
6962
6985
|
};
|
|
6963
6986
|
protoOf(Single).equals = function (other) {
|
|
6964
6987
|
if (this === other)
|
|
@@ -6966,18 +6989,18 @@ protoOf(Single).equals = function (other) {
|
|
|
6966
6989
|
if (!(other instanceof Single))
|
|
6967
6990
|
return false;
|
|
6968
6991
|
var tmp0_other_with_cast = other instanceof Single ? other : THROW_CCE();
|
|
6969
|
-
if (!(this.
|
|
6992
|
+
if (!(this.j28_1 === tmp0_other_with_cast.j28_1))
|
|
6970
6993
|
return false;
|
|
6971
6994
|
return true;
|
|
6972
6995
|
};
|
|
6973
6996
|
function Array_0(value) {
|
|
6974
|
-
this.
|
|
6997
|
+
this.k28_1 = value;
|
|
6975
6998
|
}
|
|
6976
6999
|
protoOf(Array_0).toString = function () {
|
|
6977
|
-
return 'Array(value=' + toString(this.
|
|
7000
|
+
return 'Array(value=' + toString(this.k28_1) + ')';
|
|
6978
7001
|
};
|
|
6979
7002
|
protoOf(Array_0).hashCode = function () {
|
|
6980
|
-
return hashCode(this.
|
|
7003
|
+
return hashCode(this.k28_1);
|
|
6981
7004
|
};
|
|
6982
7005
|
protoOf(Array_0).equals = function (other) {
|
|
6983
7006
|
if (this === other)
|
|
@@ -6985,18 +7008,18 @@ protoOf(Array_0).equals = function (other) {
|
|
|
6985
7008
|
if (!(other instanceof Array_0))
|
|
6986
7009
|
return false;
|
|
6987
7010
|
var tmp0_other_with_cast = other instanceof Array_0 ? other : THROW_CCE();
|
|
6988
|
-
if (!equals(this.
|
|
7011
|
+
if (!equals(this.k28_1, tmp0_other_with_cast.k28_1))
|
|
6989
7012
|
return false;
|
|
6990
7013
|
return true;
|
|
6991
7014
|
};
|
|
6992
7015
|
function Dict(value) {
|
|
6993
|
-
this.
|
|
7016
|
+
this.l28_1 = value;
|
|
6994
7017
|
}
|
|
6995
7018
|
protoOf(Dict).toString = function () {
|
|
6996
|
-
return 'Dict(value=' + toString(this.
|
|
7019
|
+
return 'Dict(value=' + toString(this.l28_1) + ')';
|
|
6997
7020
|
};
|
|
6998
7021
|
protoOf(Dict).hashCode = function () {
|
|
6999
|
-
return hashCode(this.
|
|
7022
|
+
return hashCode(this.l28_1);
|
|
7000
7023
|
};
|
|
7001
7024
|
protoOf(Dict).equals = function (other) {
|
|
7002
7025
|
if (this === other)
|
|
@@ -7004,20 +7027,20 @@ protoOf(Dict).equals = function (other) {
|
|
|
7004
7027
|
if (!(other instanceof Dict))
|
|
7005
7028
|
return false;
|
|
7006
7029
|
var tmp0_other_with_cast = other instanceof Dict ? other : THROW_CCE();
|
|
7007
|
-
if (!equals(this.
|
|
7030
|
+
if (!equals(this.l28_1, tmp0_other_with_cast.l28_1))
|
|
7008
7031
|
return false;
|
|
7009
7032
|
return true;
|
|
7010
7033
|
};
|
|
7011
7034
|
function Parameter(name, value) {
|
|
7012
|
-
this.
|
|
7013
|
-
this.
|
|
7035
|
+
this.m28_1 = name;
|
|
7036
|
+
this.n28_1 = value;
|
|
7014
7037
|
}
|
|
7015
7038
|
protoOf(Parameter).toString = function () {
|
|
7016
|
-
return 'Parameter(name=' + this.
|
|
7039
|
+
return 'Parameter(name=' + this.m28_1 + ', value=' + toString(this.n28_1) + ')';
|
|
7017
7040
|
};
|
|
7018
7041
|
protoOf(Parameter).hashCode = function () {
|
|
7019
|
-
var result = getStringHashCode(this.
|
|
7020
|
-
result = imul(result, 31) + hashCode(this.
|
|
7042
|
+
var result = getStringHashCode(this.m28_1);
|
|
7043
|
+
result = imul(result, 31) + hashCode(this.n28_1) | 0;
|
|
7021
7044
|
return result;
|
|
7022
7045
|
};
|
|
7023
7046
|
protoOf(Parameter).equals = function (other) {
|
|
@@ -7026,22 +7049,22 @@ protoOf(Parameter).equals = function (other) {
|
|
|
7026
7049
|
if (!(other instanceof Parameter))
|
|
7027
7050
|
return false;
|
|
7028
7051
|
var tmp0_other_with_cast = other instanceof Parameter ? other : THROW_CCE();
|
|
7029
|
-
if (!(this.
|
|
7052
|
+
if (!(this.m28_1 === tmp0_other_with_cast.m28_1))
|
|
7030
7053
|
return false;
|
|
7031
|
-
if (!equals(this.
|
|
7054
|
+
if (!equals(this.n28_1, tmp0_other_with_cast.n28_1))
|
|
7032
7055
|
return false;
|
|
7033
7056
|
return true;
|
|
7034
7057
|
};
|
|
7035
7058
|
function Annotation(name, parameters) {
|
|
7036
|
-
this.
|
|
7037
|
-
this.
|
|
7059
|
+
this.o28_1 = name;
|
|
7060
|
+
this.p28_1 = parameters;
|
|
7038
7061
|
}
|
|
7039
7062
|
protoOf(Annotation).toString = function () {
|
|
7040
|
-
return 'Annotation(name=' + this.
|
|
7063
|
+
return 'Annotation(name=' + this.o28_1 + ', parameters=' + toString(this.p28_1) + ')';
|
|
7041
7064
|
};
|
|
7042
7065
|
protoOf(Annotation).hashCode = function () {
|
|
7043
|
-
var result = getStringHashCode(this.
|
|
7044
|
-
result = imul(result, 31) + hashCode(this.
|
|
7066
|
+
var result = getStringHashCode(this.o28_1);
|
|
7067
|
+
result = imul(result, 31) + hashCode(this.p28_1) | 0;
|
|
7045
7068
|
return result;
|
|
7046
7069
|
};
|
|
7047
7070
|
protoOf(Annotation).equals = function (other) {
|
|
@@ -7050,9 +7073,9 @@ protoOf(Annotation).equals = function (other) {
|
|
|
7050
7073
|
if (!(other instanceof Annotation))
|
|
7051
7074
|
return false;
|
|
7052
7075
|
var tmp0_other_with_cast = other instanceof Annotation ? other : THROW_CCE();
|
|
7053
|
-
if (!(this.
|
|
7076
|
+
if (!(this.o28_1 === tmp0_other_with_cast.o28_1))
|
|
7054
7077
|
return false;
|
|
7055
|
-
if (!equals(this.
|
|
7078
|
+
if (!equals(this.p28_1, tmp0_other_with_cast.p28_1))
|
|
7056
7079
|
return false;
|
|
7057
7080
|
return true;
|
|
7058
7081
|
};
|
|
@@ -7138,15 +7161,15 @@ protoOf(RegExp_0).equals = function (other) {
|
|
|
7138
7161
|
return RegExp__equals_impl_fyc0d7(this.a28_1, other);
|
|
7139
7162
|
};
|
|
7140
7163
|
function Bound(min, max) {
|
|
7141
|
-
this.
|
|
7142
|
-
this.
|
|
7164
|
+
this.q28_1 = min;
|
|
7165
|
+
this.r28_1 = max;
|
|
7143
7166
|
}
|
|
7144
7167
|
protoOf(Bound).toString = function () {
|
|
7145
|
-
return 'Bound(min=' + this.
|
|
7168
|
+
return 'Bound(min=' + this.q28_1 + ', max=' + this.r28_1 + ')';
|
|
7146
7169
|
};
|
|
7147
7170
|
protoOf(Bound).hashCode = function () {
|
|
7148
|
-
var result = this.
|
|
7149
|
-
result = imul(result, 31) + (this.
|
|
7171
|
+
var result = this.q28_1 == null ? 0 : getStringHashCode(this.q28_1);
|
|
7172
|
+
result = imul(result, 31) + (this.r28_1 == null ? 0 : getStringHashCode(this.r28_1)) | 0;
|
|
7150
7173
|
return result;
|
|
7151
7174
|
};
|
|
7152
7175
|
protoOf(Bound).equals = function (other) {
|
|
@@ -7155,9 +7178,9 @@ protoOf(Bound).equals = function (other) {
|
|
|
7155
7178
|
if (!(other instanceof Bound))
|
|
7156
7179
|
return false;
|
|
7157
7180
|
var tmp0_other_with_cast = other instanceof Bound ? other : THROW_CCE();
|
|
7158
|
-
if (!(this.
|
|
7181
|
+
if (!(this.q28_1 == tmp0_other_with_cast.q28_1))
|
|
7159
7182
|
return false;
|
|
7160
|
-
if (!(this.
|
|
7183
|
+
if (!(this.r28_1 == tmp0_other_with_cast.r28_1))
|
|
7161
7184
|
return false;
|
|
7162
7185
|
return true;
|
|
7163
7186
|
};
|
|
@@ -7165,23 +7188,23 @@ function Precision(name, ordinal) {
|
|
|
7165
7188
|
Enum.call(this, name, ordinal);
|
|
7166
7189
|
}
|
|
7167
7190
|
function String_0(constraint) {
|
|
7168
|
-
this.
|
|
7169
|
-
this.
|
|
7191
|
+
this.s28_1 = constraint;
|
|
7192
|
+
this.t28_1 = 'String';
|
|
7170
7193
|
}
|
|
7171
7194
|
protoOf(String_0).s2 = function () {
|
|
7172
|
-
return this.
|
|
7195
|
+
return this.t28_1;
|
|
7173
7196
|
};
|
|
7174
7197
|
protoOf(String_0).toString = function () {
|
|
7175
|
-
var tmp = this.
|
|
7198
|
+
var tmp = this.s28_1;
|
|
7176
7199
|
return 'String(constraint=' + toString_1(tmp == null ? null : new RegExp_0(tmp)) + ')';
|
|
7177
7200
|
};
|
|
7178
7201
|
protoOf(String_0).hashCode = function () {
|
|
7179
7202
|
var tmp;
|
|
7180
|
-
var tmp_0 = this.
|
|
7203
|
+
var tmp_0 = this.s28_1;
|
|
7181
7204
|
if ((tmp_0 == null ? null : new RegExp_0(tmp_0)) == null) {
|
|
7182
7205
|
tmp = 0;
|
|
7183
7206
|
} else {
|
|
7184
|
-
tmp = RegExp__hashCode_impl_40vfcn(this.
|
|
7207
|
+
tmp = RegExp__hashCode_impl_40vfcn(this.s28_1);
|
|
7185
7208
|
}
|
|
7186
7209
|
return tmp;
|
|
7187
7210
|
};
|
|
@@ -7191,28 +7214,28 @@ protoOf(String_0).equals = function (other) {
|
|
|
7191
7214
|
if (!(other instanceof String_0))
|
|
7192
7215
|
return false;
|
|
7193
7216
|
var tmp0_other_with_cast = other instanceof String_0 ? other : THROW_CCE();
|
|
7194
|
-
var tmp = this.
|
|
7217
|
+
var tmp = this.s28_1;
|
|
7195
7218
|
var tmp_0 = tmp == null ? null : new RegExp_0(tmp);
|
|
7196
|
-
var tmp_1 = tmp0_other_with_cast.
|
|
7219
|
+
var tmp_1 = tmp0_other_with_cast.s28_1;
|
|
7197
7220
|
if (!equals(tmp_0, tmp_1 == null ? null : new RegExp_0(tmp_1)))
|
|
7198
7221
|
return false;
|
|
7199
7222
|
return true;
|
|
7200
7223
|
};
|
|
7201
7224
|
function Integer(precision, constraint) {
|
|
7202
7225
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
7203
|
-
this.
|
|
7204
|
-
this.
|
|
7205
|
-
this.
|
|
7226
|
+
this.u28_1 = precision;
|
|
7227
|
+
this.v28_1 = constraint;
|
|
7228
|
+
this.w28_1 = 'Integer';
|
|
7206
7229
|
}
|
|
7207
7230
|
protoOf(Integer).s2 = function () {
|
|
7208
|
-
return this.
|
|
7231
|
+
return this.w28_1;
|
|
7209
7232
|
};
|
|
7210
7233
|
protoOf(Integer).toString = function () {
|
|
7211
|
-
return 'Integer(precision=' + this.
|
|
7234
|
+
return 'Integer(precision=' + this.u28_1.toString() + ', constraint=' + toString_1(this.v28_1) + ')';
|
|
7212
7235
|
};
|
|
7213
7236
|
protoOf(Integer).hashCode = function () {
|
|
7214
|
-
var result = this.
|
|
7215
|
-
result = imul(result, 31) + (this.
|
|
7237
|
+
var result = this.u28_1.hashCode();
|
|
7238
|
+
result = imul(result, 31) + (this.v28_1 == null ? 0 : this.v28_1.hashCode()) | 0;
|
|
7216
7239
|
return result;
|
|
7217
7240
|
};
|
|
7218
7241
|
protoOf(Integer).equals = function (other) {
|
|
@@ -7221,27 +7244,27 @@ protoOf(Integer).equals = function (other) {
|
|
|
7221
7244
|
if (!(other instanceof Integer))
|
|
7222
7245
|
return false;
|
|
7223
7246
|
var tmp0_other_with_cast = other instanceof Integer ? other : THROW_CCE();
|
|
7224
|
-
if (!this.
|
|
7247
|
+
if (!this.u28_1.equals(tmp0_other_with_cast.u28_1))
|
|
7225
7248
|
return false;
|
|
7226
|
-
if (!equals(this.
|
|
7249
|
+
if (!equals(this.v28_1, tmp0_other_with_cast.v28_1))
|
|
7227
7250
|
return false;
|
|
7228
7251
|
return true;
|
|
7229
7252
|
};
|
|
7230
7253
|
function Number_0(precision, constraint) {
|
|
7231
7254
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
7232
|
-
this.
|
|
7233
|
-
this.
|
|
7234
|
-
this.
|
|
7255
|
+
this.x28_1 = precision;
|
|
7256
|
+
this.y28_1 = constraint;
|
|
7257
|
+
this.z28_1 = 'Number';
|
|
7235
7258
|
}
|
|
7236
7259
|
protoOf(Number_0).s2 = function () {
|
|
7237
|
-
return this.
|
|
7260
|
+
return this.z28_1;
|
|
7238
7261
|
};
|
|
7239
7262
|
protoOf(Number_0).toString = function () {
|
|
7240
|
-
return 'Number(precision=' + this.
|
|
7263
|
+
return 'Number(precision=' + this.x28_1.toString() + ', constraint=' + toString_1(this.y28_1) + ')';
|
|
7241
7264
|
};
|
|
7242
7265
|
protoOf(Number_0).hashCode = function () {
|
|
7243
|
-
var result = this.
|
|
7244
|
-
result = imul(result, 31) + (this.
|
|
7266
|
+
var result = this.x28_1.hashCode();
|
|
7267
|
+
result = imul(result, 31) + (this.y28_1 == null ? 0 : this.y28_1.hashCode()) | 0;
|
|
7245
7268
|
return result;
|
|
7246
7269
|
};
|
|
7247
7270
|
protoOf(Number_0).equals = function (other) {
|
|
@@ -7250,17 +7273,17 @@ protoOf(Number_0).equals = function (other) {
|
|
|
7250
7273
|
if (!(other instanceof Number_0))
|
|
7251
7274
|
return false;
|
|
7252
7275
|
var tmp0_other_with_cast = other instanceof Number_0 ? other : THROW_CCE();
|
|
7253
|
-
if (!this.
|
|
7276
|
+
if (!this.x28_1.equals(tmp0_other_with_cast.x28_1))
|
|
7254
7277
|
return false;
|
|
7255
|
-
if (!equals(this.
|
|
7278
|
+
if (!equals(this.y28_1, tmp0_other_with_cast.y28_1))
|
|
7256
7279
|
return false;
|
|
7257
7280
|
return true;
|
|
7258
7281
|
};
|
|
7259
7282
|
function Boolean_0() {
|
|
7260
|
-
this.
|
|
7283
|
+
this.a29_1 = 'Boolean';
|
|
7261
7284
|
}
|
|
7262
7285
|
protoOf(Boolean_0).s2 = function () {
|
|
7263
|
-
return this.
|
|
7286
|
+
return this.a29_1;
|
|
7264
7287
|
};
|
|
7265
7288
|
protoOf(Boolean_0).toString = function () {
|
|
7266
7289
|
return 'Boolean';
|
|
@@ -7281,10 +7304,10 @@ function Boolean_getInstance() {
|
|
|
7281
7304
|
return Boolean_instance;
|
|
7282
7305
|
}
|
|
7283
7306
|
function Bytes() {
|
|
7284
|
-
this.
|
|
7307
|
+
this.b29_1 = 'Bytes';
|
|
7285
7308
|
}
|
|
7286
7309
|
protoOf(Bytes).s2 = function () {
|
|
7287
|
-
return this.
|
|
7310
|
+
return this.b29_1;
|
|
7288
7311
|
};
|
|
7289
7312
|
protoOf(Bytes).toString = function () {
|
|
7290
7313
|
return 'Bytes';
|
|
@@ -7313,23 +7336,23 @@ function Precision_P64_getInstance() {
|
|
|
7313
7336
|
return Precision_P64_instance;
|
|
7314
7337
|
}
|
|
7315
7338
|
function Any(isNullable) {
|
|
7316
|
-
this.
|
|
7317
|
-
this.
|
|
7339
|
+
this.c29_1 = isNullable;
|
|
7340
|
+
this.d29_1 = 'Any';
|
|
7318
7341
|
}
|
|
7319
7342
|
protoOf(Any).jm = function () {
|
|
7320
|
-
return this.
|
|
7343
|
+
return this.c29_1;
|
|
7321
7344
|
};
|
|
7322
7345
|
protoOf(Any).b1 = function () {
|
|
7323
|
-
return this.
|
|
7346
|
+
return this.d29_1;
|
|
7324
7347
|
};
|
|
7325
|
-
protoOf(Any).
|
|
7348
|
+
protoOf(Any).e29 = function (isNullable) {
|
|
7326
7349
|
return new Any(isNullable);
|
|
7327
7350
|
};
|
|
7328
7351
|
protoOf(Any).toString = function () {
|
|
7329
|
-
return 'Any(isNullable=' + this.
|
|
7352
|
+
return 'Any(isNullable=' + this.c29_1 + ')';
|
|
7330
7353
|
};
|
|
7331
7354
|
protoOf(Any).hashCode = function () {
|
|
7332
|
-
return getBooleanHashCode(this.
|
|
7355
|
+
return getBooleanHashCode(this.c29_1);
|
|
7333
7356
|
};
|
|
7334
7357
|
protoOf(Any).equals = function (other) {
|
|
7335
7358
|
if (this === other)
|
|
@@ -7337,28 +7360,28 @@ protoOf(Any).equals = function (other) {
|
|
|
7337
7360
|
if (!(other instanceof Any))
|
|
7338
7361
|
return false;
|
|
7339
7362
|
var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
|
|
7340
|
-
if (!(this.
|
|
7363
|
+
if (!(this.c29_1 === tmp0_other_with_cast.c29_1))
|
|
7341
7364
|
return false;
|
|
7342
7365
|
return true;
|
|
7343
7366
|
};
|
|
7344
7367
|
function Unit(isNullable) {
|
|
7345
|
-
this.
|
|
7346
|
-
this.
|
|
7368
|
+
this.g29_1 = isNullable;
|
|
7369
|
+
this.h29_1 = 'Unit';
|
|
7347
7370
|
}
|
|
7348
7371
|
protoOf(Unit).jm = function () {
|
|
7349
|
-
return this.
|
|
7372
|
+
return this.g29_1;
|
|
7350
7373
|
};
|
|
7351
7374
|
protoOf(Unit).b1 = function () {
|
|
7352
|
-
return this.
|
|
7375
|
+
return this.h29_1;
|
|
7353
7376
|
};
|
|
7354
|
-
protoOf(Unit).
|
|
7377
|
+
protoOf(Unit).e29 = function (isNullable) {
|
|
7355
7378
|
return new Unit(isNullable);
|
|
7356
7379
|
};
|
|
7357
7380
|
protoOf(Unit).toString = function () {
|
|
7358
|
-
return 'Unit(isNullable=' + this.
|
|
7381
|
+
return 'Unit(isNullable=' + this.g29_1 + ')';
|
|
7359
7382
|
};
|
|
7360
7383
|
protoOf(Unit).hashCode = function () {
|
|
7361
|
-
return getBooleanHashCode(this.
|
|
7384
|
+
return getBooleanHashCode(this.g29_1);
|
|
7362
7385
|
};
|
|
7363
7386
|
protoOf(Unit).equals = function (other) {
|
|
7364
7387
|
if (this === other)
|
|
@@ -7366,7 +7389,7 @@ protoOf(Unit).equals = function (other) {
|
|
|
7366
7389
|
if (!(other instanceof Unit))
|
|
7367
7390
|
return false;
|
|
7368
7391
|
var tmp0_other_with_cast = other instanceof Unit ? other : THROW_CCE();
|
|
7369
|
-
if (!(this.
|
|
7392
|
+
if (!(this.g29_1 === tmp0_other_with_cast.g29_1))
|
|
7370
7393
|
return false;
|
|
7371
7394
|
return true;
|
|
7372
7395
|
};
|
|
@@ -7381,13 +7404,13 @@ protoOf(Dict_0).jm = function () {
|
|
|
7381
7404
|
protoOf(Dict_0).b1 = function () {
|
|
7382
7405
|
return this.g23_1;
|
|
7383
7406
|
};
|
|
7384
|
-
protoOf(Dict_0).
|
|
7407
|
+
protoOf(Dict_0).i29 = function (reference, isNullable) {
|
|
7385
7408
|
return new Dict_0(reference, isNullable);
|
|
7386
7409
|
};
|
|
7387
|
-
protoOf(Dict_0).
|
|
7410
|
+
protoOf(Dict_0).j29 = function (reference, isNullable, $super) {
|
|
7388
7411
|
reference = reference === VOID ? this.e23_1 : reference;
|
|
7389
7412
|
isNullable = isNullable === VOID ? this.f23_1 : isNullable;
|
|
7390
|
-
return $super === VOID ? this.
|
|
7413
|
+
return $super === VOID ? this.i29(reference, isNullable) : $super.i29.call(this, reference, isNullable);
|
|
7391
7414
|
};
|
|
7392
7415
|
protoOf(Dict_0).toString = function () {
|
|
7393
7416
|
return 'Dict(reference=' + toString(this.e23_1) + ', isNullable=' + this.f23_1 + ')';
|
|
@@ -7420,13 +7443,13 @@ protoOf(Iterable).jm = function () {
|
|
|
7420
7443
|
protoOf(Iterable).b1 = function () {
|
|
7421
7444
|
return this.d23_1;
|
|
7422
7445
|
};
|
|
7423
|
-
protoOf(Iterable).
|
|
7446
|
+
protoOf(Iterable).i29 = function (reference, isNullable) {
|
|
7424
7447
|
return new Iterable(reference, isNullable);
|
|
7425
7448
|
};
|
|
7426
|
-
protoOf(Iterable).
|
|
7449
|
+
protoOf(Iterable).k29 = function (reference, isNullable, $super) {
|
|
7427
7450
|
reference = reference === VOID ? this.b23_1 : reference;
|
|
7428
7451
|
isNullable = isNullable === VOID ? this.c23_1 : isNullable;
|
|
7429
|
-
return $super === VOID ? this.
|
|
7452
|
+
return $super === VOID ? this.i29(reference, isNullable) : $super.i29.call(this, reference, isNullable);
|
|
7430
7453
|
};
|
|
7431
7454
|
protoOf(Iterable).toString = function () {
|
|
7432
7455
|
return 'Iterable(reference=' + toString(this.b23_1) + ', isNullable=' + this.c23_1 + ')';
|
|
@@ -7449,29 +7472,29 @@ protoOf(Iterable).equals = function (other) {
|
|
|
7449
7472
|
return true;
|
|
7450
7473
|
};
|
|
7451
7474
|
function Custom(value, isNullable) {
|
|
7452
|
-
this.
|
|
7453
|
-
this.
|
|
7475
|
+
this.l29_1 = value;
|
|
7476
|
+
this.m29_1 = isNullable;
|
|
7454
7477
|
}
|
|
7455
7478
|
protoOf(Custom).b1 = function () {
|
|
7456
|
-
return this.
|
|
7479
|
+
return this.l29_1;
|
|
7457
7480
|
};
|
|
7458
7481
|
protoOf(Custom).jm = function () {
|
|
7459
|
-
return this.
|
|
7482
|
+
return this.m29_1;
|
|
7460
7483
|
};
|
|
7461
|
-
protoOf(Custom).
|
|
7484
|
+
protoOf(Custom).n29 = function (value, isNullable) {
|
|
7462
7485
|
return new Custom(value, isNullable);
|
|
7463
7486
|
};
|
|
7464
|
-
protoOf(Custom).
|
|
7465
|
-
value = value === VOID ? this.
|
|
7466
|
-
isNullable = isNullable === VOID ? this.
|
|
7467
|
-
return $super === VOID ? this.
|
|
7487
|
+
protoOf(Custom).o29 = function (value, isNullable, $super) {
|
|
7488
|
+
value = value === VOID ? this.l29_1 : value;
|
|
7489
|
+
isNullable = isNullable === VOID ? this.m29_1 : isNullable;
|
|
7490
|
+
return $super === VOID ? this.n29(value, isNullable) : $super.n29.call(this, value, isNullable);
|
|
7468
7491
|
};
|
|
7469
7492
|
protoOf(Custom).toString = function () {
|
|
7470
|
-
return 'Custom(value=' + this.
|
|
7493
|
+
return 'Custom(value=' + this.l29_1 + ', isNullable=' + this.m29_1 + ')';
|
|
7471
7494
|
};
|
|
7472
7495
|
protoOf(Custom).hashCode = function () {
|
|
7473
|
-
var result = getStringHashCode(this.
|
|
7474
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
7496
|
+
var result = getStringHashCode(this.l29_1);
|
|
7497
|
+
result = imul(result, 31) + getBooleanHashCode(this.m29_1) | 0;
|
|
7475
7498
|
return result;
|
|
7476
7499
|
};
|
|
7477
7500
|
protoOf(Custom).equals = function (other) {
|
|
@@ -7480,37 +7503,37 @@ protoOf(Custom).equals = function (other) {
|
|
|
7480
7503
|
if (!(other instanceof Custom))
|
|
7481
7504
|
return false;
|
|
7482
7505
|
var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
|
|
7483
|
-
if (!(this.
|
|
7506
|
+
if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
|
|
7484
7507
|
return false;
|
|
7485
|
-
if (!(this.
|
|
7508
|
+
if (!(this.m29_1 === tmp0_other_with_cast.m29_1))
|
|
7486
7509
|
return false;
|
|
7487
7510
|
return true;
|
|
7488
7511
|
};
|
|
7489
7512
|
function Primitive(type, isNullable) {
|
|
7490
|
-
this.
|
|
7491
|
-
this.
|
|
7492
|
-
this.
|
|
7513
|
+
this.p29_1 = type;
|
|
7514
|
+
this.q29_1 = isNullable;
|
|
7515
|
+
this.r29_1 = this.p29_1.s2();
|
|
7493
7516
|
}
|
|
7494
7517
|
protoOf(Primitive).jm = function () {
|
|
7495
|
-
return this.
|
|
7518
|
+
return this.q29_1;
|
|
7496
7519
|
};
|
|
7497
7520
|
protoOf(Primitive).b1 = function () {
|
|
7498
|
-
return this.
|
|
7521
|
+
return this.r29_1;
|
|
7499
7522
|
};
|
|
7500
|
-
protoOf(Primitive).
|
|
7523
|
+
protoOf(Primitive).s29 = function (type, isNullable) {
|
|
7501
7524
|
return new Primitive(type, isNullable);
|
|
7502
7525
|
};
|
|
7503
|
-
protoOf(Primitive).
|
|
7504
|
-
type = type === VOID ? this.
|
|
7505
|
-
isNullable = isNullable === VOID ? this.
|
|
7506
|
-
return $super === VOID ? this.
|
|
7526
|
+
protoOf(Primitive).t29 = function (type, isNullable, $super) {
|
|
7527
|
+
type = type === VOID ? this.p29_1 : type;
|
|
7528
|
+
isNullable = isNullable === VOID ? this.q29_1 : isNullable;
|
|
7529
|
+
return $super === VOID ? this.s29(type, isNullable) : $super.s29.call(this, type, isNullable);
|
|
7507
7530
|
};
|
|
7508
7531
|
protoOf(Primitive).toString = function () {
|
|
7509
|
-
return 'Primitive(type=' + toString(this.
|
|
7532
|
+
return 'Primitive(type=' + toString(this.p29_1) + ', isNullable=' + this.q29_1 + ')';
|
|
7510
7533
|
};
|
|
7511
7534
|
protoOf(Primitive).hashCode = function () {
|
|
7512
|
-
var result = hashCode(this.
|
|
7513
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
7535
|
+
var result = hashCode(this.p29_1);
|
|
7536
|
+
result = imul(result, 31) + getBooleanHashCode(this.q29_1) | 0;
|
|
7514
7537
|
return result;
|
|
7515
7538
|
};
|
|
7516
7539
|
protoOf(Primitive).equals = function (other) {
|
|
@@ -7519,9 +7542,9 @@ protoOf(Primitive).equals = function (other) {
|
|
|
7519
7542
|
if (!(other instanceof Primitive))
|
|
7520
7543
|
return false;
|
|
7521
7544
|
var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
|
|
7522
|
-
if (!equals(this.
|
|
7545
|
+
if (!equals(this.p29_1, tmp0_other_with_cast.p29_1))
|
|
7523
7546
|
return false;
|
|
7524
|
-
if (!(this.
|
|
7547
|
+
if (!(this.q29_1 === tmp0_other_with_cast.q29_1))
|
|
7525
7548
|
return false;
|
|
7526
7549
|
return true;
|
|
7527
7550
|
};
|
|
@@ -7537,13 +7560,13 @@ protoOf(Module).sd = function () {
|
|
|
7537
7560
|
protoOf(Module).td = function () {
|
|
7538
7561
|
return this.f25_1;
|
|
7539
7562
|
};
|
|
7540
|
-
protoOf(Module).
|
|
7563
|
+
protoOf(Module).u29 = function (fileUri, statements) {
|
|
7541
7564
|
return new Module(fileUri, statements);
|
|
7542
7565
|
};
|
|
7543
|
-
protoOf(Module).
|
|
7566
|
+
protoOf(Module).v29 = function (fileUri, statements, $super) {
|
|
7544
7567
|
fileUri = fileUri === VOID ? this.e25_1 : fileUri;
|
|
7545
7568
|
statements = statements === VOID ? this.f25_1 : statements;
|
|
7546
|
-
return $super === VOID ? this.
|
|
7569
|
+
return $super === VOID ? this.u29(fileUri, statements) : $super.u29.call(this, fileUri, statements);
|
|
7547
7570
|
};
|
|
7548
7571
|
protoOf(Module).toString = function () {
|
|
7549
7572
|
return 'Module(fileUri=' + this.e25_1.toString() + ', statements=' + this.f25_1.toString() + ')';
|
|
@@ -7587,15 +7610,15 @@ protoOf(Root).equals = function (other) {
|
|
|
7587
7610
|
function IdxAndLength(idx, length) {
|
|
7588
7611
|
idx = idx === VOID ? 0 : idx;
|
|
7589
7612
|
length = length === VOID ? 0 : length;
|
|
7590
|
-
this.
|
|
7591
|
-
this.
|
|
7613
|
+
this.w29_1 = idx;
|
|
7614
|
+
this.x29_1 = length;
|
|
7592
7615
|
}
|
|
7593
7616
|
protoOf(IdxAndLength).toString = function () {
|
|
7594
|
-
return 'IdxAndLength(idx=' + this.
|
|
7617
|
+
return 'IdxAndLength(idx=' + this.w29_1 + ', length=' + this.x29_1 + ')';
|
|
7595
7618
|
};
|
|
7596
7619
|
protoOf(IdxAndLength).hashCode = function () {
|
|
7597
|
-
var result = this.
|
|
7598
|
-
result = imul(result, 31) + this.
|
|
7620
|
+
var result = this.w29_1;
|
|
7621
|
+
result = imul(result, 31) + this.x29_1 | 0;
|
|
7599
7622
|
return result;
|
|
7600
7623
|
};
|
|
7601
7624
|
protoOf(IdxAndLength).equals = function (other) {
|
|
@@ -7604,9 +7627,9 @@ protoOf(IdxAndLength).equals = function (other) {
|
|
|
7604
7627
|
if (!(other instanceof IdxAndLength))
|
|
7605
7628
|
return false;
|
|
7606
7629
|
var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
|
|
7607
|
-
if (!(this.
|
|
7630
|
+
if (!(this.w29_1 === tmp0_other_with_cast.w29_1))
|
|
7608
7631
|
return false;
|
|
7609
|
-
if (!(this.
|
|
7632
|
+
if (!(this.x29_1 === tmp0_other_with_cast.x29_1))
|
|
7610
7633
|
return false;
|
|
7611
7634
|
return true;
|
|
7612
7635
|
};
|
|
@@ -7618,14 +7641,14 @@ function Coordinates(line, position, idxAndLength) {
|
|
|
7618
7641
|
this.x26_1 = position;
|
|
7619
7642
|
this.y26_1 = idxAndLength;
|
|
7620
7643
|
}
|
|
7621
|
-
protoOf(Coordinates).
|
|
7644
|
+
protoOf(Coordinates).y29 = function (line, position, idxAndLength) {
|
|
7622
7645
|
return new Coordinates(line, position, idxAndLength);
|
|
7623
7646
|
};
|
|
7624
|
-
protoOf(Coordinates).
|
|
7647
|
+
protoOf(Coordinates).z29 = function (line, position, idxAndLength, $super) {
|
|
7625
7648
|
line = line === VOID ? this.w26_1 : line;
|
|
7626
7649
|
position = position === VOID ? this.x26_1 : position;
|
|
7627
7650
|
idxAndLength = idxAndLength === VOID ? this.y26_1 : idxAndLength;
|
|
7628
|
-
return $super === VOID ? this.
|
|
7651
|
+
return $super === VOID ? this.y29(line, position, idxAndLength) : $super.y29.call(this, line, position, idxAndLength);
|
|
7629
7652
|
};
|
|
7630
7653
|
protoOf(Coordinates).toString = function () {
|
|
7631
7654
|
return 'Coordinates(line=' + this.w26_1 + ', position=' + this.x26_1 + ', idxAndLength=' + this.y26_1.toString() + ')';
|
|
@@ -7655,14 +7678,14 @@ function Token(value, type, coordinates) {
|
|
|
7655
7678
|
this.u26_1 = type;
|
|
7656
7679
|
this.v26_1 = coordinates;
|
|
7657
7680
|
}
|
|
7658
|
-
protoOf(Token).
|
|
7681
|
+
protoOf(Token).a2a = function (value, type, coordinates) {
|
|
7659
7682
|
return new Token(value, type, coordinates);
|
|
7660
7683
|
};
|
|
7661
|
-
protoOf(Token).
|
|
7684
|
+
protoOf(Token).b2a = function (value, type, coordinates, $super) {
|
|
7662
7685
|
value = value === VOID ? this.t26_1 : value;
|
|
7663
7686
|
type = type === VOID ? this.u26_1 : type;
|
|
7664
7687
|
coordinates = coordinates === VOID ? this.v26_1 : coordinates;
|
|
7665
|
-
return $super === VOID ? this.
|
|
7688
|
+
return $super === VOID ? this.a2a(value, type, coordinates) : $super.a2a.call(this, value, type, coordinates);
|
|
7666
7689
|
};
|
|
7667
7690
|
protoOf(Token).toString = function () {
|
|
7668
7691
|
return 'Token(value=' + this.t26_1 + ', type=' + toString(this.u26_1) + ', coordinates=' + this.v26_1.toString() + ')';
|
|
@@ -7688,10 +7711,10 @@ protoOf(Token).equals = function (other) {
|
|
|
7688
7711
|
return true;
|
|
7689
7712
|
};
|
|
7690
7713
|
function plus_2(_this__u8e3s4, length) {
|
|
7691
|
-
return new IdxAndLength(_this__u8e3s4.
|
|
7714
|
+
return new IdxAndLength(_this__u8e3s4.w29_1 + length | 0, length);
|
|
7692
7715
|
}
|
|
7693
7716
|
function plus_3(_this__u8e3s4, length) {
|
|
7694
|
-
return _this__u8e3s4.
|
|
7717
|
+
return _this__u8e3s4.z29(VOID, _this__u8e3s4.x26_1 + length | 0, plus_2(_this__u8e3s4.y26_1, length));
|
|
7695
7718
|
}
|
|
7696
7719
|
function StartOfProgram() {
|
|
7697
7720
|
}
|
|
@@ -7720,7 +7743,7 @@ function SpecificType() {
|
|
|
7720
7743
|
function TypeIdentifier() {
|
|
7721
7744
|
}
|
|
7722
7745
|
function EndOfProgram() {
|
|
7723
|
-
this.
|
|
7746
|
+
this.c2a_1 = 'EOP';
|
|
7724
7747
|
}
|
|
7725
7748
|
protoOf(EndOfProgram).toString = function () {
|
|
7726
7749
|
return 'EndOfProgram';
|
|
@@ -8646,17 +8669,17 @@ function TokenizeOptions(removeWhitespace, specifyTypes, specifyFieldIdentifiers
|
|
|
8646
8669
|
removeWhitespace = removeWhitespace === VOID ? true : removeWhitespace;
|
|
8647
8670
|
specifyTypes = specifyTypes === VOID ? true : specifyTypes;
|
|
8648
8671
|
specifyFieldIdentifiers = specifyFieldIdentifiers === VOID ? true : specifyFieldIdentifiers;
|
|
8649
|
-
this.
|
|
8650
|
-
this.
|
|
8651
|
-
this.
|
|
8672
|
+
this.d2a_1 = removeWhitespace;
|
|
8673
|
+
this.e2a_1 = specifyTypes;
|
|
8674
|
+
this.f2a_1 = specifyFieldIdentifiers;
|
|
8652
8675
|
}
|
|
8653
8676
|
protoOf(TokenizeOptions).toString = function () {
|
|
8654
|
-
return 'TokenizeOptions(removeWhitespace=' + this.
|
|
8677
|
+
return 'TokenizeOptions(removeWhitespace=' + this.d2a_1 + ', specifyTypes=' + this.e2a_1 + ', specifyFieldIdentifiers=' + this.f2a_1 + ')';
|
|
8655
8678
|
};
|
|
8656
8679
|
protoOf(TokenizeOptions).hashCode = function () {
|
|
8657
|
-
var result = getBooleanHashCode(this.
|
|
8658
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8659
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
8680
|
+
var result = getBooleanHashCode(this.d2a_1);
|
|
8681
|
+
result = imul(result, 31) + getBooleanHashCode(this.e2a_1) | 0;
|
|
8682
|
+
result = imul(result, 31) + getBooleanHashCode(this.f2a_1) | 0;
|
|
8660
8683
|
return result;
|
|
8661
8684
|
};
|
|
8662
8685
|
protoOf(TokenizeOptions).equals = function (other) {
|
|
@@ -8665,11 +8688,11 @@ protoOf(TokenizeOptions).equals = function (other) {
|
|
|
8665
8688
|
if (!(other instanceof TokenizeOptions))
|
|
8666
8689
|
return false;
|
|
8667
8690
|
var tmp0_other_with_cast = other instanceof TokenizeOptions ? other : THROW_CCE();
|
|
8668
|
-
if (!(this.
|
|
8691
|
+
if (!(this.d2a_1 === tmp0_other_with_cast.d2a_1))
|
|
8669
8692
|
return false;
|
|
8670
|
-
if (!(this.
|
|
8693
|
+
if (!(this.e2a_1 === tmp0_other_with_cast.e2a_1))
|
|
8671
8694
|
return false;
|
|
8672
|
-
if (!(this.
|
|
8695
|
+
if (!(this.f2a_1 === tmp0_other_with_cast.f2a_1))
|
|
8673
8696
|
return false;
|
|
8674
8697
|
return true;
|
|
8675
8698
|
};
|
|
@@ -8722,7 +8745,7 @@ function specifyFieldIdentifier(_this__u8e3s4, caseVariants) {
|
|
|
8722
8745
|
// Inline function 'community.flock.wirespec.compiler.core.tokenize.specifyFieldIdentifier.<anonymous>' call
|
|
8723
8746
|
var regex = element.sd();
|
|
8724
8747
|
var variant = element.td();
|
|
8725
|
-
var result = regex.tb(removeBackticks(_this__u8e3s4.t26_1)) ? _this__u8e3s4.
|
|
8748
|
+
var result = regex.tb(removeBackticks(_this__u8e3s4.t26_1)) ? _this__u8e3s4.b2a(VOID, variant) : null;
|
|
8726
8749
|
if (!(result == null)) {
|
|
8727
8750
|
tmp$ret$1 = result;
|
|
8728
8751
|
break $l$block;
|
|
@@ -8749,7 +8772,7 @@ function specifyType(_this__u8e3s4, entries) {
|
|
|
8749
8772
|
// Inline function 'kotlin.let' call
|
|
8750
8773
|
// Inline function 'kotlin.contracts.contract' call
|
|
8751
8774
|
// Inline function 'community.flock.wirespec.compiler.core.tokenize.specifyType.<anonymous>' call
|
|
8752
|
-
tmp_0 = _this__u8e3s4.
|
|
8775
|
+
tmp_0 = _this__u8e3s4.b2a(VOID, tmp1_safe_receiver);
|
|
8753
8776
|
}
|
|
8754
8777
|
var tmp2_elvis_lhs = tmp_0;
|
|
8755
8778
|
tmp = tmp2_elvis_lhs == null ? _this__u8e3s4 : tmp2_elvis_lhs;
|
|
@@ -8880,7 +8903,7 @@ function nextCoordinates(_this__u8e3s4, type, value) {
|
|
|
8880
8903
|
}
|
|
8881
8904
|
function nextToken_0(_this__u8e3s4, type, value) {
|
|
8882
8905
|
var tmp0_coordinates = nextCoordinates(_this__u8e3s4.v26_1, type, value);
|
|
8883
|
-
return _this__u8e3s4.
|
|
8906
|
+
return _this__u8e3s4.a2a(value, type, tmp0_coordinates);
|
|
8884
8907
|
}
|
|
8885
8908
|
function optimize$lambda$lambda($this$runOption) {
|
|
8886
8909
|
return removeWhiteSpace($this$runOption);
|
|
@@ -8927,9 +8950,9 @@ function optimize$lambda$lambda_1($this_optimize) {
|
|
|
8927
8950
|
}
|
|
8928
8951
|
function optimize$lambda($options, $this_optimize) {
|
|
8929
8952
|
return function (tokens) {
|
|
8930
|
-
var tmp = runOption(tokens, $options.
|
|
8931
|
-
var tmp_0 = runOption(tmp, $options.
|
|
8932
|
-
return runOption(tmp_0, $options.
|
|
8953
|
+
var tmp = runOption(tokens, $options.d2a_1, optimize$lambda$lambda);
|
|
8954
|
+
var tmp_0 = runOption(tmp, $options.e2a_1, optimize$lambda$lambda_0($this_optimize));
|
|
8955
|
+
return runOption(tmp_0, $options.f2a_1, optimize$lambda$lambda_1($this_optimize));
|
|
8933
8956
|
};
|
|
8934
8957
|
}
|
|
8935
8958
|
function validateWithOptions($this, ast, options) {
|
|
@@ -9111,7 +9134,7 @@ function fillExtendsClause(_this__u8e3s4, $this) {
|
|
|
9111
9134
|
// Inline function 'community.flock.wirespec.compiler.core.validate.Validator.fillExtendsClause.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
9112
9135
|
var tmp_1;
|
|
9113
9136
|
if (item instanceof Custom) {
|
|
9114
|
-
tmp_1 = item.
|
|
9137
|
+
tmp_1 = item.l29_1;
|
|
9115
9138
|
} else {
|
|
9116
9139
|
// Inline function 'arrow.core.nel' call
|
|
9117
9140
|
var this_1 = new UnionError();
|
|
@@ -9134,7 +9157,7 @@ function fillExtendsClause(_this__u8e3s4, $this) {
|
|
|
9134
9157
|
var tmp$ret$9 = new Custom(item_0.s23_1.b1(), false);
|
|
9135
9158
|
destination_2.e(tmp$ret$9);
|
|
9136
9159
|
}
|
|
9137
|
-
tmp_0 = definition.
|
|
9160
|
+
tmp_0 = definition.e28(VOID, VOID, VOID, VOID, destination_2);
|
|
9138
9161
|
} else {
|
|
9139
9162
|
if (definition instanceof Union) {
|
|
9140
9163
|
tmp_0 = definition;
|
|
@@ -9197,7 +9220,7 @@ function fillExtendsClause(_this__u8e3s4, $this) {
|
|
|
9197
9220
|
// Inline function 'community.flock.wirespec.compiler.core.validate.Validator.fillExtendsClause.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
9198
9221
|
var tmp_4;
|
|
9199
9222
|
if (item_2 instanceof Custom) {
|
|
9200
|
-
tmp_4 = item_2.
|
|
9223
|
+
tmp_4 = item_2.l29_1;
|
|
9201
9224
|
} else {
|
|
9202
9225
|
// Inline function 'arrow.core.nel' call
|
|
9203
9226
|
var this_4 = new UnionError();
|
|
@@ -9220,7 +9243,7 @@ function fillExtendsClause(_this__u8e3s4, $this) {
|
|
|
9220
9243
|
var tmp$ret$22 = new Custom(item_3.s23_1.b1(), false);
|
|
9221
9244
|
destination_7.e(tmp$ret$22);
|
|
9222
9245
|
}
|
|
9223
|
-
tmp_3 = item_1.
|
|
9246
|
+
tmp_3 = item_1.e28(VOID, VOID, VOID, VOID, destination_7);
|
|
9224
9247
|
} else {
|
|
9225
9248
|
if (item_1 instanceof Union) {
|
|
9226
9249
|
tmp_3 = item_1;
|
|
@@ -9793,17 +9816,17 @@ function Logger(logLevel) {
|
|
|
9793
9816
|
}
|
|
9794
9817
|
tmp_5.h22_1 = tmp_6;
|
|
9795
9818
|
}
|
|
9796
|
-
protoOf(Logger).
|
|
9819
|
+
protoOf(Logger).g2a = function () {
|
|
9797
9820
|
return this.e22_1;
|
|
9798
9821
|
};
|
|
9799
|
-
protoOf(Logger).
|
|
9822
|
+
protoOf(Logger).h2a = function () {
|
|
9800
9823
|
return this.f22_1;
|
|
9801
9824
|
};
|
|
9802
9825
|
protoOf(Logger).i22 = function (string) {
|
|
9803
|
-
return logIf(string, this, this.
|
|
9826
|
+
return logIf(string, this, this.g2a());
|
|
9804
9827
|
};
|
|
9805
9828
|
protoOf(Logger).u25 = function (string) {
|
|
9806
|
-
return logIf(string, this, this.
|
|
9829
|
+
return logIf(string, this, this.h2a());
|
|
9807
9830
|
};
|
|
9808
9831
|
function NoLogger() {
|
|
9809
9832
|
}
|
|
@@ -9820,12 +9843,12 @@ function _init_properties_Logger_kt__mpqsw() {
|
|
|
9820
9843
|
//region block: post-declaration
|
|
9821
9844
|
protoOf(LanguageEmitter).b25 = get_expression;
|
|
9822
9845
|
protoOf(LanguageEmitter).i25 = notYetImplemented;
|
|
9823
|
-
protoOf(Any).
|
|
9824
|
-
protoOf(Unit).
|
|
9825
|
-
protoOf(Dict_0).
|
|
9826
|
-
protoOf(Iterable).
|
|
9827
|
-
protoOf(Custom).
|
|
9828
|
-
protoOf(Primitive).
|
|
9846
|
+
protoOf(Any).f29 = copy;
|
|
9847
|
+
protoOf(Unit).f29 = copy;
|
|
9848
|
+
protoOf(Dict_0).f29 = copy;
|
|
9849
|
+
protoOf(Iterable).f29 = copy;
|
|
9850
|
+
protoOf(Custom).f29 = copy;
|
|
9851
|
+
protoOf(Primitive).f29 = copy;
|
|
9829
9852
|
//endregion
|
|
9830
9853
|
//region block: init
|
|
9831
9854
|
Companion_instance_0 = new Companion();
|