@flock/wirespec 0.18.1-RC.3 → 0.18.4
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 +433 -433
- package/kotlin-kotlin-stdlib.mjs +34 -28
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +5407 -5405
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1760 -1760
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1701 -1701
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1320 -1319
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1198 -1198
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +192 -205
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +711 -777
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +311 -418
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +640 -769
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +1582 -1708
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +680 -635
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +579 -562
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +20 -20
- package/wirespec-src-compiler-ir.mjs +5428 -6057
- package/wirespec-src-compiler-ir.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +279 -279
- package/wirespec-src-converter-avro.mjs +559 -559
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +802 -404
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +144 -144
- package/wirespec-src-plugin-cli.mjs +87 -87
- package/wirespec-src-plugin-npm.mjs +44 -25
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +13 -13
|
@@ -224,7 +224,6 @@ initMetadataForClass(Enum_0, 'Enum', VOID, VOID, [Model]);
|
|
|
224
224
|
initMetadataForClass(Refined, 'Refined', VOID, VOID, [Model]);
|
|
225
225
|
initMetadataForClass(Union, 'Union', VOID, VOID, [Model]);
|
|
226
226
|
initMetadataForClass(Channel, 'Channel');
|
|
227
|
-
initMetadataForClass(Shared, 'Shared');
|
|
228
227
|
initMetadataForClass(Identifier, 'Identifier');
|
|
229
228
|
initMetadataForClass(DefinitionIdentifier, 'DefinitionIdentifier', VOID, Identifier);
|
|
230
229
|
initMetadataForClass(FieldIdentifier, 'FieldIdentifier', VOID, Identifier);
|
|
@@ -246,22 +245,22 @@ initMetadataForObject(Bytes, 'Bytes');
|
|
|
246
245
|
function copy(isNullable) {
|
|
247
246
|
var tmp;
|
|
248
247
|
if (this instanceof Any) {
|
|
249
|
-
tmp = this.
|
|
248
|
+
tmp = this.du(isNullable == null ? this.au_1 : isNullable);
|
|
250
249
|
} else {
|
|
251
250
|
if (this instanceof Custom) {
|
|
252
|
-
tmp = this.
|
|
251
|
+
tmp = this.nu(VOID, isNullable == null ? this.lu_1 : isNullable);
|
|
253
252
|
} else {
|
|
254
253
|
if (this instanceof Dict_0) {
|
|
255
|
-
tmp = this.
|
|
254
|
+
tmp = this.iu(VOID, isNullable == null ? this.do_1 : isNullable);
|
|
256
255
|
} else {
|
|
257
256
|
if (this instanceof Iterable) {
|
|
258
|
-
tmp = this.
|
|
257
|
+
tmp = this.ju(VOID, isNullable == null ? this.ao_1 : isNullable);
|
|
259
258
|
} else {
|
|
260
259
|
if (this instanceof Primitive) {
|
|
261
|
-
tmp = this.
|
|
260
|
+
tmp = this.su(VOID, isNullable == null ? this.pu_1 : isNullable);
|
|
262
261
|
} else {
|
|
263
262
|
if (this instanceof Unit) {
|
|
264
|
-
tmp = this.
|
|
263
|
+
tmp = this.du(isNullable == null ? this.fu_1 : isNullable);
|
|
265
264
|
} else {
|
|
266
265
|
noWhenBranchMatchedException();
|
|
267
266
|
}
|
|
@@ -1167,9 +1166,10 @@ var FileExtension_Scala_instance;
|
|
|
1167
1166
|
var FileExtension_Wirespec_instance;
|
|
1168
1167
|
var FileExtension_JSON_instance;
|
|
1169
1168
|
var FileExtension_YAML_instance;
|
|
1170
|
-
var
|
|
1169
|
+
var FileExtension_AvroJson_instance;
|
|
1170
|
+
var FileExtension_AvroIdl_instance;
|
|
1171
1171
|
function values() {
|
|
1172
|
-
return [FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance(), FileExtension_TypeScript_getInstance(), FileExtension_Python_getInstance(), FileExtension_Rust_getInstance(), FileExtension_Scala_getInstance(), FileExtension_Wirespec_getInstance(), FileExtension_JSON_getInstance(), FileExtension_YAML_getInstance(),
|
|
1172
|
+
return [FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance(), FileExtension_TypeScript_getInstance(), FileExtension_Python_getInstance(), FileExtension_Rust_getInstance(), FileExtension_Scala_getInstance(), FileExtension_Wirespec_getInstance(), FileExtension_JSON_getInstance(), FileExtension_YAML_getInstance(), FileExtension_AvroJson_getInstance(), FileExtension_AvroIdl_getInstance()];
|
|
1173
1173
|
}
|
|
1174
1174
|
function get_entries() {
|
|
1175
1175
|
if ($ENTRIES == null)
|
|
@@ -1190,7 +1190,8 @@ function FileExtension_initEntries() {
|
|
|
1190
1190
|
FileExtension_Wirespec_instance = new FileExtension('Wirespec', 6, 'ws');
|
|
1191
1191
|
FileExtension_JSON_instance = new FileExtension('JSON', 7, 'json');
|
|
1192
1192
|
FileExtension_YAML_instance = new FileExtension('YAML', 8, 'yaml');
|
|
1193
|
-
|
|
1193
|
+
FileExtension_AvroJson_instance = new FileExtension('AvroJson', 9, 'avsc');
|
|
1194
|
+
FileExtension_AvroIdl_instance = new FileExtension('AvroIdl', 10, 'avdl');
|
|
1194
1195
|
}
|
|
1195
1196
|
var $ENTRIES;
|
|
1196
1197
|
function FileExtension(name, ordinal, value) {
|
|
@@ -1236,9 +1237,13 @@ function FileExtension_YAML_getInstance() {
|
|
|
1236
1237
|
FileExtension_initEntries();
|
|
1237
1238
|
return FileExtension_YAML_instance;
|
|
1238
1239
|
}
|
|
1239
|
-
function
|
|
1240
|
+
function FileExtension_AvroJson_getInstance() {
|
|
1240
1241
|
FileExtension_initEntries();
|
|
1241
|
-
return
|
|
1242
|
+
return FileExtension_AvroJson_instance;
|
|
1243
|
+
}
|
|
1244
|
+
function FileExtension_AvroIdl_getInstance() {
|
|
1245
|
+
FileExtension_initEntries();
|
|
1246
|
+
return FileExtension_AvroIdl_instance;
|
|
1242
1247
|
}
|
|
1243
1248
|
function Companion_0() {
|
|
1244
1249
|
}
|
|
@@ -6058,61 +6063,43 @@ protoOf(Channel).equals = function (other) {
|
|
|
6058
6063
|
return false;
|
|
6059
6064
|
return true;
|
|
6060
6065
|
};
|
|
6061
|
-
function Shared(packageString) {
|
|
6062
|
-
this.dt_1 = packageString;
|
|
6063
|
-
}
|
|
6064
|
-
protoOf(Shared).toString = function () {
|
|
6065
|
-
return 'Shared(packageString=' + this.dt_1 + ')';
|
|
6066
|
-
};
|
|
6067
|
-
protoOf(Shared).hashCode = function () {
|
|
6068
|
-
return getStringHashCode(this.dt_1);
|
|
6069
|
-
};
|
|
6070
|
-
protoOf(Shared).equals = function (other) {
|
|
6071
|
-
if (this === other)
|
|
6072
|
-
return true;
|
|
6073
|
-
if (!(other instanceof Shared))
|
|
6074
|
-
return false;
|
|
6075
|
-
if (!(this.dt_1 === other.dt_1))
|
|
6076
|
-
return false;
|
|
6077
|
-
return true;
|
|
6078
|
-
};
|
|
6079
6066
|
function Model() {
|
|
6080
6067
|
}
|
|
6081
6068
|
function DefinitionIdentifier(name) {
|
|
6082
6069
|
Identifier.call(this, name);
|
|
6083
|
-
this.
|
|
6070
|
+
this.et_1 = name;
|
|
6084
6071
|
}
|
|
6085
6072
|
protoOf(DefinitionIdentifier).toString = function () {
|
|
6086
|
-
return 'DefinitionIdentifier(name=' + this.
|
|
6073
|
+
return 'DefinitionIdentifier(name=' + this.et_1 + ')';
|
|
6087
6074
|
};
|
|
6088
6075
|
protoOf(DefinitionIdentifier).hashCode = function () {
|
|
6089
|
-
return getStringHashCode(this.
|
|
6076
|
+
return getStringHashCode(this.et_1);
|
|
6090
6077
|
};
|
|
6091
6078
|
protoOf(DefinitionIdentifier).equals = function (other) {
|
|
6092
6079
|
if (this === other)
|
|
6093
6080
|
return true;
|
|
6094
6081
|
if (!(other instanceof DefinitionIdentifier))
|
|
6095
6082
|
return false;
|
|
6096
|
-
if (!(this.
|
|
6083
|
+
if (!(this.et_1 === other.et_1))
|
|
6097
6084
|
return false;
|
|
6098
6085
|
return true;
|
|
6099
6086
|
};
|
|
6100
6087
|
function FieldIdentifier(name) {
|
|
6101
6088
|
Identifier.call(this, name);
|
|
6102
|
-
this.
|
|
6089
|
+
this.gt_1 = name;
|
|
6103
6090
|
}
|
|
6104
6091
|
protoOf(FieldIdentifier).toString = function () {
|
|
6105
|
-
return 'FieldIdentifier(name=' + this.
|
|
6092
|
+
return 'FieldIdentifier(name=' + this.gt_1 + ')';
|
|
6106
6093
|
};
|
|
6107
6094
|
protoOf(FieldIdentifier).hashCode = function () {
|
|
6108
|
-
return getStringHashCode(this.
|
|
6095
|
+
return getStringHashCode(this.gt_1);
|
|
6109
6096
|
};
|
|
6110
6097
|
protoOf(FieldIdentifier).equals = function (other) {
|
|
6111
6098
|
if (this === other)
|
|
6112
6099
|
return true;
|
|
6113
6100
|
if (!(other instanceof FieldIdentifier))
|
|
6114
6101
|
return false;
|
|
6115
|
-
if (!(this.
|
|
6102
|
+
if (!(this.gt_1 === other.gt_1))
|
|
6116
6103
|
return false;
|
|
6117
6104
|
return true;
|
|
6118
6105
|
};
|
|
@@ -6169,69 +6156,69 @@ protoOf(Comment).equals = function (other) {
|
|
|
6169
6156
|
return Comment__equals_impl_3xkmkx(this.ts_1, other);
|
|
6170
6157
|
};
|
|
6171
6158
|
function Single(value) {
|
|
6172
|
-
this.
|
|
6159
|
+
this.ht_1 = value;
|
|
6173
6160
|
}
|
|
6174
6161
|
protoOf(Single).toString = function () {
|
|
6175
|
-
return 'Single(value=' + this.
|
|
6162
|
+
return 'Single(value=' + this.ht_1 + ')';
|
|
6176
6163
|
};
|
|
6177
6164
|
protoOf(Single).hashCode = function () {
|
|
6178
|
-
return getStringHashCode(this.
|
|
6165
|
+
return getStringHashCode(this.ht_1);
|
|
6179
6166
|
};
|
|
6180
6167
|
protoOf(Single).equals = function (other) {
|
|
6181
6168
|
if (this === other)
|
|
6182
6169
|
return true;
|
|
6183
6170
|
if (!(other instanceof Single))
|
|
6184
6171
|
return false;
|
|
6185
|
-
if (!(this.
|
|
6172
|
+
if (!(this.ht_1 === other.ht_1))
|
|
6186
6173
|
return false;
|
|
6187
6174
|
return true;
|
|
6188
6175
|
};
|
|
6189
6176
|
function Array_0(value) {
|
|
6190
|
-
this.
|
|
6177
|
+
this.it_1 = value;
|
|
6191
6178
|
}
|
|
6192
6179
|
protoOf(Array_0).toString = function () {
|
|
6193
|
-
return 'Array(value=' + toString(this.
|
|
6180
|
+
return 'Array(value=' + toString(this.it_1) + ')';
|
|
6194
6181
|
};
|
|
6195
6182
|
protoOf(Array_0).hashCode = function () {
|
|
6196
|
-
return hashCode(this.
|
|
6183
|
+
return hashCode(this.it_1);
|
|
6197
6184
|
};
|
|
6198
6185
|
protoOf(Array_0).equals = function (other) {
|
|
6199
6186
|
if (this === other)
|
|
6200
6187
|
return true;
|
|
6201
6188
|
if (!(other instanceof Array_0))
|
|
6202
6189
|
return false;
|
|
6203
|
-
if (!equals(this.
|
|
6190
|
+
if (!equals(this.it_1, other.it_1))
|
|
6204
6191
|
return false;
|
|
6205
6192
|
return true;
|
|
6206
6193
|
};
|
|
6207
6194
|
function Dict(value) {
|
|
6208
|
-
this.
|
|
6195
|
+
this.jt_1 = value;
|
|
6209
6196
|
}
|
|
6210
6197
|
protoOf(Dict).toString = function () {
|
|
6211
|
-
return 'Dict(value=' + toString(this.
|
|
6198
|
+
return 'Dict(value=' + toString(this.jt_1) + ')';
|
|
6212
6199
|
};
|
|
6213
6200
|
protoOf(Dict).hashCode = function () {
|
|
6214
|
-
return hashCode(this.
|
|
6201
|
+
return hashCode(this.jt_1);
|
|
6215
6202
|
};
|
|
6216
6203
|
protoOf(Dict).equals = function (other) {
|
|
6217
6204
|
if (this === other)
|
|
6218
6205
|
return true;
|
|
6219
6206
|
if (!(other instanceof Dict))
|
|
6220
6207
|
return false;
|
|
6221
|
-
if (!equals(this.
|
|
6208
|
+
if (!equals(this.jt_1, other.jt_1))
|
|
6222
6209
|
return false;
|
|
6223
6210
|
return true;
|
|
6224
6211
|
};
|
|
6225
6212
|
function Parameter(name, value) {
|
|
6226
|
-
this.
|
|
6227
|
-
this.
|
|
6213
|
+
this.kt_1 = name;
|
|
6214
|
+
this.lt_1 = value;
|
|
6228
6215
|
}
|
|
6229
6216
|
protoOf(Parameter).toString = function () {
|
|
6230
|
-
return 'Parameter(name=' + this.
|
|
6217
|
+
return 'Parameter(name=' + this.kt_1 + ', value=' + toString(this.lt_1) + ')';
|
|
6231
6218
|
};
|
|
6232
6219
|
protoOf(Parameter).hashCode = function () {
|
|
6233
|
-
var result = getStringHashCode(this.
|
|
6234
|
-
result = imul(result, 31) + hashCode(this.
|
|
6220
|
+
var result = getStringHashCode(this.kt_1);
|
|
6221
|
+
result = imul(result, 31) + hashCode(this.lt_1) | 0;
|
|
6235
6222
|
return result;
|
|
6236
6223
|
};
|
|
6237
6224
|
protoOf(Parameter).equals = function (other) {
|
|
@@ -6239,22 +6226,22 @@ protoOf(Parameter).equals = function (other) {
|
|
|
6239
6226
|
return true;
|
|
6240
6227
|
if (!(other instanceof Parameter))
|
|
6241
6228
|
return false;
|
|
6242
|
-
if (!(this.
|
|
6229
|
+
if (!(this.kt_1 === other.kt_1))
|
|
6243
6230
|
return false;
|
|
6244
|
-
if (!equals(this.
|
|
6231
|
+
if (!equals(this.lt_1, other.lt_1))
|
|
6245
6232
|
return false;
|
|
6246
6233
|
return true;
|
|
6247
6234
|
};
|
|
6248
6235
|
function Annotation(name, parameters) {
|
|
6249
|
-
this.
|
|
6250
|
-
this.
|
|
6236
|
+
this.mt_1 = name;
|
|
6237
|
+
this.nt_1 = parameters;
|
|
6251
6238
|
}
|
|
6252
6239
|
protoOf(Annotation).toString = function () {
|
|
6253
|
-
return 'Annotation(name=' + this.
|
|
6240
|
+
return 'Annotation(name=' + this.mt_1 + ', parameters=' + toString(this.nt_1) + ')';
|
|
6254
6241
|
};
|
|
6255
6242
|
protoOf(Annotation).hashCode = function () {
|
|
6256
|
-
var result = getStringHashCode(this.
|
|
6257
|
-
result = imul(result, 31) + hashCode(this.
|
|
6243
|
+
var result = getStringHashCode(this.mt_1);
|
|
6244
|
+
result = imul(result, 31) + hashCode(this.nt_1) | 0;
|
|
6258
6245
|
return result;
|
|
6259
6246
|
};
|
|
6260
6247
|
protoOf(Annotation).equals = function (other) {
|
|
@@ -6262,9 +6249,9 @@ protoOf(Annotation).equals = function (other) {
|
|
|
6262
6249
|
return true;
|
|
6263
6250
|
if (!(other instanceof Annotation))
|
|
6264
6251
|
return false;
|
|
6265
|
-
if (!(this.
|
|
6252
|
+
if (!(this.mt_1 === other.mt_1))
|
|
6266
6253
|
return false;
|
|
6267
|
-
if (!equals(this.
|
|
6254
|
+
if (!equals(this.nt_1, other.nt_1))
|
|
6268
6255
|
return false;
|
|
6269
6256
|
return true;
|
|
6270
6257
|
};
|
|
@@ -6313,15 +6300,15 @@ protoOf(RegExp_0).equals = function (other) {
|
|
|
6313
6300
|
return RegExp__equals_impl_fyc0d7(this.ys_1, other);
|
|
6314
6301
|
};
|
|
6315
6302
|
function Bound(min, max) {
|
|
6316
|
-
this.
|
|
6317
|
-
this.
|
|
6303
|
+
this.ot_1 = min;
|
|
6304
|
+
this.pt_1 = max;
|
|
6318
6305
|
}
|
|
6319
6306
|
protoOf(Bound).toString = function () {
|
|
6320
|
-
return 'Bound(min=' + this.
|
|
6307
|
+
return 'Bound(min=' + this.ot_1 + ', max=' + this.pt_1 + ')';
|
|
6321
6308
|
};
|
|
6322
6309
|
protoOf(Bound).hashCode = function () {
|
|
6323
|
-
var result = this.
|
|
6324
|
-
result = imul(result, 31) + (this.
|
|
6310
|
+
var result = this.ot_1 == null ? 0 : getStringHashCode(this.ot_1);
|
|
6311
|
+
result = imul(result, 31) + (this.pt_1 == null ? 0 : getStringHashCode(this.pt_1)) | 0;
|
|
6325
6312
|
return result;
|
|
6326
6313
|
};
|
|
6327
6314
|
protoOf(Bound).equals = function (other) {
|
|
@@ -6329,9 +6316,9 @@ protoOf(Bound).equals = function (other) {
|
|
|
6329
6316
|
return true;
|
|
6330
6317
|
if (!(other instanceof Bound))
|
|
6331
6318
|
return false;
|
|
6332
|
-
if (!(this.
|
|
6319
|
+
if (!(this.ot_1 == other.ot_1))
|
|
6333
6320
|
return false;
|
|
6334
|
-
if (!(this.
|
|
6321
|
+
if (!(this.pt_1 == other.pt_1))
|
|
6335
6322
|
return false;
|
|
6336
6323
|
return true;
|
|
6337
6324
|
};
|
|
@@ -6339,23 +6326,23 @@ function Precision(name, ordinal) {
|
|
|
6339
6326
|
Enum.call(this, name, ordinal);
|
|
6340
6327
|
}
|
|
6341
6328
|
function String_0(constraint) {
|
|
6342
|
-
this.
|
|
6343
|
-
this.
|
|
6329
|
+
this.qt_1 = constraint;
|
|
6330
|
+
this.rt_1 = 'String';
|
|
6344
6331
|
}
|
|
6345
6332
|
protoOf(String_0).m = function () {
|
|
6346
|
-
return this.
|
|
6333
|
+
return this.rt_1;
|
|
6347
6334
|
};
|
|
6348
6335
|
protoOf(String_0).toString = function () {
|
|
6349
|
-
var tmp = this.
|
|
6336
|
+
var tmp = this.qt_1;
|
|
6350
6337
|
return 'String(constraint=' + toString_1(tmp == null ? null : new RegExp_0(tmp)) + ')';
|
|
6351
6338
|
};
|
|
6352
6339
|
protoOf(String_0).hashCode = function () {
|
|
6353
6340
|
var tmp;
|
|
6354
|
-
var tmp_0 = this.
|
|
6341
|
+
var tmp_0 = this.qt_1;
|
|
6355
6342
|
if ((tmp_0 == null ? null : new RegExp_0(tmp_0)) == null) {
|
|
6356
6343
|
tmp = 0;
|
|
6357
6344
|
} else {
|
|
6358
|
-
tmp = RegExp__hashCode_impl_40vfcn(this.
|
|
6345
|
+
tmp = RegExp__hashCode_impl_40vfcn(this.qt_1);
|
|
6359
6346
|
}
|
|
6360
6347
|
return tmp;
|
|
6361
6348
|
};
|
|
@@ -6364,28 +6351,28 @@ protoOf(String_0).equals = function (other) {
|
|
|
6364
6351
|
return true;
|
|
6365
6352
|
if (!(other instanceof String_0))
|
|
6366
6353
|
return false;
|
|
6367
|
-
var tmp = this.
|
|
6354
|
+
var tmp = this.qt_1;
|
|
6368
6355
|
var tmp_0 = tmp == null ? null : new RegExp_0(tmp);
|
|
6369
|
-
var tmp_1 = other.
|
|
6356
|
+
var tmp_1 = other.qt_1;
|
|
6370
6357
|
if (!equals(tmp_0, tmp_1 == null ? null : new RegExp_0(tmp_1)))
|
|
6371
6358
|
return false;
|
|
6372
6359
|
return true;
|
|
6373
6360
|
};
|
|
6374
6361
|
function Integer(precision, constraint) {
|
|
6375
6362
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
6376
|
-
this.
|
|
6377
|
-
this.
|
|
6378
|
-
this.
|
|
6363
|
+
this.st_1 = precision;
|
|
6364
|
+
this.tt_1 = constraint;
|
|
6365
|
+
this.ut_1 = 'Integer';
|
|
6379
6366
|
}
|
|
6380
6367
|
protoOf(Integer).m = function () {
|
|
6381
|
-
return this.
|
|
6368
|
+
return this.ut_1;
|
|
6382
6369
|
};
|
|
6383
6370
|
protoOf(Integer).toString = function () {
|
|
6384
|
-
return 'Integer(precision=' + this.
|
|
6371
|
+
return 'Integer(precision=' + this.st_1.toString() + ', constraint=' + toString_1(this.tt_1) + ')';
|
|
6385
6372
|
};
|
|
6386
6373
|
protoOf(Integer).hashCode = function () {
|
|
6387
|
-
var result = this.
|
|
6388
|
-
result = imul(result, 31) + (this.
|
|
6374
|
+
var result = this.st_1.hashCode();
|
|
6375
|
+
result = imul(result, 31) + (this.tt_1 == null ? 0 : this.tt_1.hashCode()) | 0;
|
|
6389
6376
|
return result;
|
|
6390
6377
|
};
|
|
6391
6378
|
protoOf(Integer).equals = function (other) {
|
|
@@ -6393,27 +6380,27 @@ protoOf(Integer).equals = function (other) {
|
|
|
6393
6380
|
return true;
|
|
6394
6381
|
if (!(other instanceof Integer))
|
|
6395
6382
|
return false;
|
|
6396
|
-
if (!this.
|
|
6383
|
+
if (!this.st_1.equals(other.st_1))
|
|
6397
6384
|
return false;
|
|
6398
|
-
if (!equals(this.
|
|
6385
|
+
if (!equals(this.tt_1, other.tt_1))
|
|
6399
6386
|
return false;
|
|
6400
6387
|
return true;
|
|
6401
6388
|
};
|
|
6402
6389
|
function Number_0(precision, constraint) {
|
|
6403
6390
|
precision = precision === VOID ? Precision_P64_getInstance() : precision;
|
|
6404
|
-
this.
|
|
6405
|
-
this.
|
|
6406
|
-
this.
|
|
6391
|
+
this.vt_1 = precision;
|
|
6392
|
+
this.wt_1 = constraint;
|
|
6393
|
+
this.xt_1 = 'Number';
|
|
6407
6394
|
}
|
|
6408
6395
|
protoOf(Number_0).m = function () {
|
|
6409
|
-
return this.
|
|
6396
|
+
return this.xt_1;
|
|
6410
6397
|
};
|
|
6411
6398
|
protoOf(Number_0).toString = function () {
|
|
6412
|
-
return 'Number(precision=' + this.
|
|
6399
|
+
return 'Number(precision=' + this.vt_1.toString() + ', constraint=' + toString_1(this.wt_1) + ')';
|
|
6413
6400
|
};
|
|
6414
6401
|
protoOf(Number_0).hashCode = function () {
|
|
6415
|
-
var result = this.
|
|
6416
|
-
result = imul(result, 31) + (this.
|
|
6402
|
+
var result = this.vt_1.hashCode();
|
|
6403
|
+
result = imul(result, 31) + (this.wt_1 == null ? 0 : this.wt_1.hashCode()) | 0;
|
|
6417
6404
|
return result;
|
|
6418
6405
|
};
|
|
6419
6406
|
protoOf(Number_0).equals = function (other) {
|
|
@@ -6421,17 +6408,17 @@ protoOf(Number_0).equals = function (other) {
|
|
|
6421
6408
|
return true;
|
|
6422
6409
|
if (!(other instanceof Number_0))
|
|
6423
6410
|
return false;
|
|
6424
|
-
if (!this.
|
|
6411
|
+
if (!this.vt_1.equals(other.vt_1))
|
|
6425
6412
|
return false;
|
|
6426
|
-
if (!equals(this.
|
|
6413
|
+
if (!equals(this.wt_1, other.wt_1))
|
|
6427
6414
|
return false;
|
|
6428
6415
|
return true;
|
|
6429
6416
|
};
|
|
6430
6417
|
function Boolean_0() {
|
|
6431
|
-
this.
|
|
6418
|
+
this.yt_1 = 'Boolean';
|
|
6432
6419
|
}
|
|
6433
6420
|
protoOf(Boolean_0).m = function () {
|
|
6434
|
-
return this.
|
|
6421
|
+
return this.yt_1;
|
|
6435
6422
|
};
|
|
6436
6423
|
protoOf(Boolean_0).toString = function () {
|
|
6437
6424
|
return 'Boolean';
|
|
@@ -6451,10 +6438,10 @@ function Boolean_getInstance() {
|
|
|
6451
6438
|
return Boolean_instance;
|
|
6452
6439
|
}
|
|
6453
6440
|
function Bytes() {
|
|
6454
|
-
this.
|
|
6441
|
+
this.zt_1 = 'Bytes';
|
|
6455
6442
|
}
|
|
6456
6443
|
protoOf(Bytes).m = function () {
|
|
6457
|
-
return this.
|
|
6444
|
+
return this.zt_1;
|
|
6458
6445
|
};
|
|
6459
6446
|
protoOf(Bytes).toString = function () {
|
|
6460
6447
|
return 'Bytes';
|
|
@@ -6482,58 +6469,58 @@ function Precision_P64_getInstance() {
|
|
|
6482
6469
|
return Precision_P64_instance;
|
|
6483
6470
|
}
|
|
6484
6471
|
function Any(isNullable) {
|
|
6485
|
-
this.
|
|
6486
|
-
this.
|
|
6472
|
+
this.au_1 = isNullable;
|
|
6473
|
+
this.bu_1 = 'Any';
|
|
6487
6474
|
}
|
|
6488
|
-
protoOf(Any).
|
|
6489
|
-
return this.
|
|
6475
|
+
protoOf(Any).cu = function () {
|
|
6476
|
+
return this.au_1;
|
|
6490
6477
|
};
|
|
6491
6478
|
protoOf(Any).l1 = function () {
|
|
6492
|
-
return this.
|
|
6479
|
+
return this.bu_1;
|
|
6493
6480
|
};
|
|
6494
|
-
protoOf(Any).
|
|
6481
|
+
protoOf(Any).du = function (isNullable) {
|
|
6495
6482
|
return new Any(isNullable);
|
|
6496
6483
|
};
|
|
6497
6484
|
protoOf(Any).toString = function () {
|
|
6498
|
-
return 'Any(isNullable=' + this.
|
|
6485
|
+
return 'Any(isNullable=' + this.au_1 + ')';
|
|
6499
6486
|
};
|
|
6500
6487
|
protoOf(Any).hashCode = function () {
|
|
6501
|
-
return getBooleanHashCode(this.
|
|
6488
|
+
return getBooleanHashCode(this.au_1);
|
|
6502
6489
|
};
|
|
6503
6490
|
protoOf(Any).equals = function (other) {
|
|
6504
6491
|
if (this === other)
|
|
6505
6492
|
return true;
|
|
6506
6493
|
if (!(other instanceof Any))
|
|
6507
6494
|
return false;
|
|
6508
|
-
if (!(this.
|
|
6495
|
+
if (!(this.au_1 === other.au_1))
|
|
6509
6496
|
return false;
|
|
6510
6497
|
return true;
|
|
6511
6498
|
};
|
|
6512
6499
|
function Unit(isNullable) {
|
|
6513
|
-
this.
|
|
6514
|
-
this.
|
|
6500
|
+
this.fu_1 = isNullable;
|
|
6501
|
+
this.gu_1 = 'Unit';
|
|
6515
6502
|
}
|
|
6516
|
-
protoOf(Unit).
|
|
6517
|
-
return this.
|
|
6503
|
+
protoOf(Unit).cu = function () {
|
|
6504
|
+
return this.fu_1;
|
|
6518
6505
|
};
|
|
6519
6506
|
protoOf(Unit).l1 = function () {
|
|
6520
|
-
return this.
|
|
6507
|
+
return this.gu_1;
|
|
6521
6508
|
};
|
|
6522
|
-
protoOf(Unit).
|
|
6509
|
+
protoOf(Unit).du = function (isNullable) {
|
|
6523
6510
|
return new Unit(isNullable);
|
|
6524
6511
|
};
|
|
6525
6512
|
protoOf(Unit).toString = function () {
|
|
6526
|
-
return 'Unit(isNullable=' + this.
|
|
6513
|
+
return 'Unit(isNullable=' + this.fu_1 + ')';
|
|
6527
6514
|
};
|
|
6528
6515
|
protoOf(Unit).hashCode = function () {
|
|
6529
|
-
return getBooleanHashCode(this.
|
|
6516
|
+
return getBooleanHashCode(this.fu_1);
|
|
6530
6517
|
};
|
|
6531
6518
|
protoOf(Unit).equals = function (other) {
|
|
6532
6519
|
if (this === other)
|
|
6533
6520
|
return true;
|
|
6534
6521
|
if (!(other instanceof Unit))
|
|
6535
6522
|
return false;
|
|
6536
|
-
if (!(this.
|
|
6523
|
+
if (!(this.fu_1 === other.fu_1))
|
|
6537
6524
|
return false;
|
|
6538
6525
|
return true;
|
|
6539
6526
|
};
|
|
@@ -6542,19 +6529,19 @@ function Dict_0(reference, isNullable) {
|
|
|
6542
6529
|
this.do_1 = isNullable;
|
|
6543
6530
|
this.eo_1 = 'Dict';
|
|
6544
6531
|
}
|
|
6545
|
-
protoOf(Dict_0).
|
|
6532
|
+
protoOf(Dict_0).cu = function () {
|
|
6546
6533
|
return this.do_1;
|
|
6547
6534
|
};
|
|
6548
6535
|
protoOf(Dict_0).l1 = function () {
|
|
6549
6536
|
return this.eo_1;
|
|
6550
6537
|
};
|
|
6551
|
-
protoOf(Dict_0).
|
|
6538
|
+
protoOf(Dict_0).hu = function (reference, isNullable) {
|
|
6552
6539
|
return new Dict_0(reference, isNullable);
|
|
6553
6540
|
};
|
|
6554
|
-
protoOf(Dict_0).
|
|
6541
|
+
protoOf(Dict_0).iu = function (reference, isNullable, $super) {
|
|
6555
6542
|
reference = reference === VOID ? this.co_1 : reference;
|
|
6556
6543
|
isNullable = isNullable === VOID ? this.do_1 : isNullable;
|
|
6557
|
-
return $super === VOID ? this.
|
|
6544
|
+
return $super === VOID ? this.hu(reference, isNullable) : $super.hu.call(this, reference, isNullable);
|
|
6558
6545
|
};
|
|
6559
6546
|
protoOf(Dict_0).toString = function () {
|
|
6560
6547
|
return 'Dict(reference=' + toString(this.co_1) + ', isNullable=' + this.do_1 + ')';
|
|
@@ -6580,19 +6567,19 @@ function Iterable(reference, isNullable) {
|
|
|
6580
6567
|
this.ao_1 = isNullable;
|
|
6581
6568
|
this.bo_1 = 'Iterable';
|
|
6582
6569
|
}
|
|
6583
|
-
protoOf(Iterable).
|
|
6570
|
+
protoOf(Iterable).cu = function () {
|
|
6584
6571
|
return this.ao_1;
|
|
6585
6572
|
};
|
|
6586
6573
|
protoOf(Iterable).l1 = function () {
|
|
6587
6574
|
return this.bo_1;
|
|
6588
6575
|
};
|
|
6589
|
-
protoOf(Iterable).
|
|
6576
|
+
protoOf(Iterable).hu = function (reference, isNullable) {
|
|
6590
6577
|
return new Iterable(reference, isNullable);
|
|
6591
6578
|
};
|
|
6592
|
-
protoOf(Iterable).
|
|
6579
|
+
protoOf(Iterable).ju = function (reference, isNullable, $super) {
|
|
6593
6580
|
reference = reference === VOID ? this.zn_1 : reference;
|
|
6594
6581
|
isNullable = isNullable === VOID ? this.ao_1 : isNullable;
|
|
6595
|
-
return $super === VOID ? this.
|
|
6582
|
+
return $super === VOID ? this.hu(reference, isNullable) : $super.hu.call(this, reference, isNullable);
|
|
6596
6583
|
};
|
|
6597
6584
|
protoOf(Iterable).toString = function () {
|
|
6598
6585
|
return 'Iterable(reference=' + toString(this.zn_1) + ', isNullable=' + this.ao_1 + ')';
|
|
@@ -6614,29 +6601,29 @@ protoOf(Iterable).equals = function (other) {
|
|
|
6614
6601
|
return true;
|
|
6615
6602
|
};
|
|
6616
6603
|
function Custom(value, isNullable) {
|
|
6617
|
-
this.
|
|
6618
|
-
this.
|
|
6604
|
+
this.ku_1 = value;
|
|
6605
|
+
this.lu_1 = isNullable;
|
|
6619
6606
|
}
|
|
6620
6607
|
protoOf(Custom).l1 = function () {
|
|
6621
|
-
return this.
|
|
6608
|
+
return this.ku_1;
|
|
6622
6609
|
};
|
|
6623
|
-
protoOf(Custom).
|
|
6624
|
-
return this.
|
|
6610
|
+
protoOf(Custom).cu = function () {
|
|
6611
|
+
return this.lu_1;
|
|
6625
6612
|
};
|
|
6626
|
-
protoOf(Custom).
|
|
6613
|
+
protoOf(Custom).mu = function (value, isNullable) {
|
|
6627
6614
|
return new Custom(value, isNullable);
|
|
6628
6615
|
};
|
|
6629
|
-
protoOf(Custom).
|
|
6630
|
-
value = value === VOID ? this.
|
|
6631
|
-
isNullable = isNullable === VOID ? this.
|
|
6632
|
-
return $super === VOID ? this.
|
|
6616
|
+
protoOf(Custom).nu = function (value, isNullable, $super) {
|
|
6617
|
+
value = value === VOID ? this.ku_1 : value;
|
|
6618
|
+
isNullable = isNullable === VOID ? this.lu_1 : isNullable;
|
|
6619
|
+
return $super === VOID ? this.mu(value, isNullable) : $super.mu.call(this, value, isNullable);
|
|
6633
6620
|
};
|
|
6634
6621
|
protoOf(Custom).toString = function () {
|
|
6635
|
-
return 'Custom(value=' + this.
|
|
6622
|
+
return 'Custom(value=' + this.ku_1 + ', isNullable=' + this.lu_1 + ')';
|
|
6636
6623
|
};
|
|
6637
6624
|
protoOf(Custom).hashCode = function () {
|
|
6638
|
-
var result = getStringHashCode(this.
|
|
6639
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6625
|
+
var result = getStringHashCode(this.ku_1);
|
|
6626
|
+
result = imul(result, 31) + getBooleanHashCode(this.lu_1) | 0;
|
|
6640
6627
|
return result;
|
|
6641
6628
|
};
|
|
6642
6629
|
protoOf(Custom).equals = function (other) {
|
|
@@ -6644,37 +6631,37 @@ protoOf(Custom).equals = function (other) {
|
|
|
6644
6631
|
return true;
|
|
6645
6632
|
if (!(other instanceof Custom))
|
|
6646
6633
|
return false;
|
|
6647
|
-
if (!(this.
|
|
6634
|
+
if (!(this.ku_1 === other.ku_1))
|
|
6648
6635
|
return false;
|
|
6649
|
-
if (!(this.
|
|
6636
|
+
if (!(this.lu_1 === other.lu_1))
|
|
6650
6637
|
return false;
|
|
6651
6638
|
return true;
|
|
6652
6639
|
};
|
|
6653
6640
|
function Primitive(type, isNullable) {
|
|
6654
|
-
this.
|
|
6655
|
-
this.
|
|
6656
|
-
this.
|
|
6641
|
+
this.ou_1 = type;
|
|
6642
|
+
this.pu_1 = isNullable;
|
|
6643
|
+
this.qu_1 = this.ou_1.m();
|
|
6657
6644
|
}
|
|
6658
|
-
protoOf(Primitive).
|
|
6659
|
-
return this.
|
|
6645
|
+
protoOf(Primitive).cu = function () {
|
|
6646
|
+
return this.pu_1;
|
|
6660
6647
|
};
|
|
6661
6648
|
protoOf(Primitive).l1 = function () {
|
|
6662
|
-
return this.
|
|
6649
|
+
return this.qu_1;
|
|
6663
6650
|
};
|
|
6664
|
-
protoOf(Primitive).
|
|
6651
|
+
protoOf(Primitive).ru = function (type, isNullable) {
|
|
6665
6652
|
return new Primitive(type, isNullable);
|
|
6666
6653
|
};
|
|
6667
|
-
protoOf(Primitive).
|
|
6668
|
-
type = type === VOID ? this.
|
|
6669
|
-
isNullable = isNullable === VOID ? this.
|
|
6670
|
-
return $super === VOID ? this.
|
|
6654
|
+
protoOf(Primitive).su = function (type, isNullable, $super) {
|
|
6655
|
+
type = type === VOID ? this.ou_1 : type;
|
|
6656
|
+
isNullable = isNullable === VOID ? this.pu_1 : isNullable;
|
|
6657
|
+
return $super === VOID ? this.ru(type, isNullable) : $super.ru.call(this, type, isNullable);
|
|
6671
6658
|
};
|
|
6672
6659
|
protoOf(Primitive).toString = function () {
|
|
6673
|
-
return 'Primitive(type=' + toString(this.
|
|
6660
|
+
return 'Primitive(type=' + toString(this.ou_1) + ', isNullable=' + this.pu_1 + ')';
|
|
6674
6661
|
};
|
|
6675
6662
|
protoOf(Primitive).hashCode = function () {
|
|
6676
|
-
var result = hashCode(this.
|
|
6677
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6663
|
+
var result = hashCode(this.ou_1);
|
|
6664
|
+
result = imul(result, 31) + getBooleanHashCode(this.pu_1) | 0;
|
|
6678
6665
|
return result;
|
|
6679
6666
|
};
|
|
6680
6667
|
protoOf(Primitive).equals = function (other) {
|
|
@@ -6682,9 +6669,9 @@ protoOf(Primitive).equals = function (other) {
|
|
|
6682
6669
|
return true;
|
|
6683
6670
|
if (!(other instanceof Primitive))
|
|
6684
6671
|
return false;
|
|
6685
|
-
if (!equals(this.
|
|
6672
|
+
if (!equals(this.ou_1, other.ou_1))
|
|
6686
6673
|
return false;
|
|
6687
|
-
if (!(this.
|
|
6674
|
+
if (!(this.pu_1 === other.pu_1))
|
|
6688
6675
|
return false;
|
|
6689
6676
|
return true;
|
|
6690
6677
|
};
|
|
@@ -6697,16 +6684,16 @@ function Module(fileUri, statements) {
|
|
|
6697
6684
|
protoOf(Module).ne = function () {
|
|
6698
6685
|
return this.cq_1;
|
|
6699
6686
|
};
|
|
6700
|
-
protoOf(Module).
|
|
6687
|
+
protoOf(Module).tu = function () {
|
|
6701
6688
|
return this.dq_1;
|
|
6702
6689
|
};
|
|
6703
|
-
protoOf(Module).
|
|
6690
|
+
protoOf(Module).uu = function (fileUri, statements) {
|
|
6704
6691
|
return new Module(fileUri, statements);
|
|
6705
6692
|
};
|
|
6706
|
-
protoOf(Module).
|
|
6693
|
+
protoOf(Module).vu = function (fileUri, statements, $super) {
|
|
6707
6694
|
fileUri = fileUri === VOID ? this.cq_1 : fileUri;
|
|
6708
6695
|
statements = statements === VOID ? this.dq_1 : statements;
|
|
6709
|
-
return $super === VOID ? this.
|
|
6696
|
+
return $super === VOID ? this.uu(fileUri, statements) : $super.uu.call(this, fileUri, new NonEmptyList(statements));
|
|
6710
6697
|
};
|
|
6711
6698
|
protoOf(Module).toString = function () {
|
|
6712
6699
|
return 'Module(fileUri=' + this.cq_1.toString() + ', statements=' + NonEmptyList__toString_impl_ozxm8z(this.dq_1) + ')';
|
|
@@ -6748,15 +6735,15 @@ protoOf(Root).equals = function (other) {
|
|
|
6748
6735
|
function IdxAndLength(idx, length) {
|
|
6749
6736
|
idx = idx === VOID ? 0 : idx;
|
|
6750
6737
|
length = length === VOID ? 0 : length;
|
|
6751
|
-
this.
|
|
6752
|
-
this.
|
|
6738
|
+
this.wu_1 = idx;
|
|
6739
|
+
this.xu_1 = length;
|
|
6753
6740
|
}
|
|
6754
6741
|
protoOf(IdxAndLength).toString = function () {
|
|
6755
|
-
return 'IdxAndLength(idx=' + this.
|
|
6742
|
+
return 'IdxAndLength(idx=' + this.wu_1 + ', length=' + this.xu_1 + ')';
|
|
6756
6743
|
};
|
|
6757
6744
|
protoOf(IdxAndLength).hashCode = function () {
|
|
6758
|
-
var result = this.
|
|
6759
|
-
result = imul(result, 31) + this.
|
|
6745
|
+
var result = this.wu_1;
|
|
6746
|
+
result = imul(result, 31) + this.xu_1 | 0;
|
|
6760
6747
|
return result;
|
|
6761
6748
|
};
|
|
6762
6749
|
protoOf(IdxAndLength).equals = function (other) {
|
|
@@ -6764,9 +6751,9 @@ protoOf(IdxAndLength).equals = function (other) {
|
|
|
6764
6751
|
return true;
|
|
6765
6752
|
if (!(other instanceof IdxAndLength))
|
|
6766
6753
|
return false;
|
|
6767
|
-
if (!(this.
|
|
6754
|
+
if (!(this.wu_1 === other.wu_1))
|
|
6768
6755
|
return false;
|
|
6769
|
-
if (!(this.
|
|
6756
|
+
if (!(this.xu_1 === other.xu_1))
|
|
6770
6757
|
return false;
|
|
6771
6758
|
return true;
|
|
6772
6759
|
};
|
|
@@ -6778,14 +6765,14 @@ function Coordinates(line, position, idxAndLength) {
|
|
|
6778
6765
|
this.vr_1 = position;
|
|
6779
6766
|
this.wr_1 = idxAndLength;
|
|
6780
6767
|
}
|
|
6781
|
-
protoOf(Coordinates).
|
|
6768
|
+
protoOf(Coordinates).yu = function (line, position, idxAndLength) {
|
|
6782
6769
|
return new Coordinates(line, position, idxAndLength);
|
|
6783
6770
|
};
|
|
6784
|
-
protoOf(Coordinates).
|
|
6771
|
+
protoOf(Coordinates).zu = function (line, position, idxAndLength, $super) {
|
|
6785
6772
|
line = line === VOID ? this.ur_1 : line;
|
|
6786
6773
|
position = position === VOID ? this.vr_1 : position;
|
|
6787
6774
|
idxAndLength = idxAndLength === VOID ? this.wr_1 : idxAndLength;
|
|
6788
|
-
return $super === VOID ? this.
|
|
6775
|
+
return $super === VOID ? this.yu(line, position, idxAndLength) : $super.yu.call(this, line, position, idxAndLength);
|
|
6789
6776
|
};
|
|
6790
6777
|
protoOf(Coordinates).toString = function () {
|
|
6791
6778
|
return 'Coordinates(line=' + this.ur_1 + ', position=' + this.vr_1 + ', idxAndLength=' + this.wr_1.toString() + ')';
|
|
@@ -6817,14 +6804,14 @@ function Token(value, type, coordinates) {
|
|
|
6817
6804
|
protoOf(Token).l1 = function () {
|
|
6818
6805
|
return this.rr_1;
|
|
6819
6806
|
};
|
|
6820
|
-
protoOf(Token).
|
|
6807
|
+
protoOf(Token).av = function (value, type, coordinates) {
|
|
6821
6808
|
return new Token(value, type, coordinates);
|
|
6822
6809
|
};
|
|
6823
|
-
protoOf(Token).
|
|
6810
|
+
protoOf(Token).bv = function (value, type, coordinates, $super) {
|
|
6824
6811
|
value = value === VOID ? this.rr_1 : value;
|
|
6825
6812
|
type = type === VOID ? this.sr_1 : type;
|
|
6826
6813
|
coordinates = coordinates === VOID ? this.tr_1 : coordinates;
|
|
6827
|
-
return $super === VOID ? this.
|
|
6814
|
+
return $super === VOID ? this.av(value, type, coordinates) : $super.av.call(this, value, type, coordinates);
|
|
6828
6815
|
};
|
|
6829
6816
|
protoOf(Token).toString = function () {
|
|
6830
6817
|
return 'Token(value=' + this.rr_1 + ', type=' + toString(this.sr_1) + ', coordinates=' + this.tr_1.toString() + ')';
|
|
@@ -6849,10 +6836,10 @@ protoOf(Token).equals = function (other) {
|
|
|
6849
6836
|
return true;
|
|
6850
6837
|
};
|
|
6851
6838
|
function plus_2(_this__u8e3s4, length) {
|
|
6852
|
-
return new IdxAndLength(_this__u8e3s4.
|
|
6839
|
+
return new IdxAndLength(_this__u8e3s4.wu_1 + length | 0, length);
|
|
6853
6840
|
}
|
|
6854
6841
|
function plus_3(_this__u8e3s4, length) {
|
|
6855
|
-
return _this__u8e3s4.
|
|
6842
|
+
return _this__u8e3s4.zu(VOID, _this__u8e3s4.vr_1 + length | 0, plus_2(_this__u8e3s4.wr_1, length));
|
|
6856
6843
|
}
|
|
6857
6844
|
function TypeIdentifier() {
|
|
6858
6845
|
}
|
|
@@ -7720,7 +7707,7 @@ function StartOfProgram_getInstance() {
|
|
|
7720
7707
|
return StartOfProgram_instance;
|
|
7721
7708
|
}
|
|
7722
7709
|
function EndOfProgram() {
|
|
7723
|
-
this.
|
|
7710
|
+
this.cv_1 = 'EOP';
|
|
7724
7711
|
}
|
|
7725
7712
|
protoOf(EndOfProgram).toString = function () {
|
|
7726
7713
|
return 'EndOfProgram';
|
|
@@ -7761,17 +7748,17 @@ function TokenizeOptions(removeWhitespace, specifyTypes, specifyFieldIdentifiers
|
|
|
7761
7748
|
removeWhitespace = removeWhitespace === VOID ? true : removeWhitespace;
|
|
7762
7749
|
specifyTypes = specifyTypes === VOID ? true : specifyTypes;
|
|
7763
7750
|
specifyFieldIdentifiers = specifyFieldIdentifiers === VOID ? true : specifyFieldIdentifiers;
|
|
7764
|
-
this.
|
|
7765
|
-
this.
|
|
7766
|
-
this.
|
|
7751
|
+
this.dv_1 = removeWhitespace;
|
|
7752
|
+
this.ev_1 = specifyTypes;
|
|
7753
|
+
this.fv_1 = specifyFieldIdentifiers;
|
|
7767
7754
|
}
|
|
7768
7755
|
protoOf(TokenizeOptions).toString = function () {
|
|
7769
|
-
return 'TokenizeOptions(removeWhitespace=' + this.
|
|
7756
|
+
return 'TokenizeOptions(removeWhitespace=' + this.dv_1 + ', specifyTypes=' + this.ev_1 + ', specifyFieldIdentifiers=' + this.fv_1 + ')';
|
|
7770
7757
|
};
|
|
7771
7758
|
protoOf(TokenizeOptions).hashCode = function () {
|
|
7772
|
-
var result = getBooleanHashCode(this.
|
|
7759
|
+
var result = getBooleanHashCode(this.dv_1);
|
|
7760
|
+
result = imul(result, 31) + getBooleanHashCode(this.ev_1) | 0;
|
|
7773
7761
|
result = imul(result, 31) + getBooleanHashCode(this.fv_1) | 0;
|
|
7774
|
-
result = imul(result, 31) + getBooleanHashCode(this.gv_1) | 0;
|
|
7775
7762
|
return result;
|
|
7776
7763
|
};
|
|
7777
7764
|
protoOf(TokenizeOptions).equals = function (other) {
|
|
@@ -7779,12 +7766,12 @@ protoOf(TokenizeOptions).equals = function (other) {
|
|
|
7779
7766
|
return true;
|
|
7780
7767
|
if (!(other instanceof TokenizeOptions))
|
|
7781
7768
|
return false;
|
|
7769
|
+
if (!(this.dv_1 === other.dv_1))
|
|
7770
|
+
return false;
|
|
7782
7771
|
if (!(this.ev_1 === other.ev_1))
|
|
7783
7772
|
return false;
|
|
7784
7773
|
if (!(this.fv_1 === other.fv_1))
|
|
7785
7774
|
return false;
|
|
7786
|
-
if (!(this.gv_1 === other.gv_1))
|
|
7787
|
-
return false;
|
|
7788
7775
|
return true;
|
|
7789
7776
|
};
|
|
7790
7777
|
function tokenize_1(_this__u8e3s4, source, incompleteTokens) {
|
|
@@ -7905,7 +7892,7 @@ function specifyType(_this__u8e3s4, entries) {
|
|
|
7905
7892
|
tmp_0 = null;
|
|
7906
7893
|
} else {
|
|
7907
7894
|
// Inline function 'kotlin.let' call
|
|
7908
|
-
tmp_0 = _this__u8e3s4.
|
|
7895
|
+
tmp_0 = _this__u8e3s4.bv(VOID, tmp1_safe_receiver);
|
|
7909
7896
|
}
|
|
7910
7897
|
var tmp2_elvis_lhs = tmp_0;
|
|
7911
7898
|
tmp = tmp2_elvis_lhs == null ? _this__u8e3s4 : tmp2_elvis_lhs;
|
|
@@ -7926,7 +7913,7 @@ function specifyFieldIdentifier(_this__u8e3s4, caseVariants) {
|
|
|
7926
7913
|
var element = _iterator__ex2g4s.v();
|
|
7927
7914
|
var regex = element.ne();
|
|
7928
7915
|
var variant = element.oe();
|
|
7929
|
-
var result = regex.nc(removeBackticks(_this__u8e3s4.rr_1)) ? _this__u8e3s4.
|
|
7916
|
+
var result = regex.nc(removeBackticks(_this__u8e3s4.rr_1)) ? _this__u8e3s4.bv(VOID, variant) : null;
|
|
7930
7917
|
if (!(result == null)) {
|
|
7931
7918
|
tmp$ret$1 = result;
|
|
7932
7919
|
break $l$block;
|
|
@@ -7990,7 +7977,7 @@ function nextCoordinates(_this__u8e3s4, type, value) {
|
|
|
7990
7977
|
}
|
|
7991
7978
|
function nextToken_0(_this__u8e3s4, type, value) {
|
|
7992
7979
|
var tmp0_coordinates = nextCoordinates(_this__u8e3s4.tr_1, type, value);
|
|
7993
|
-
return _this__u8e3s4.
|
|
7980
|
+
return _this__u8e3s4.av(value, type, tmp0_coordinates);
|
|
7994
7981
|
}
|
|
7995
7982
|
function optimize$lambda$lambda($this$runOption) {
|
|
7996
7983
|
return new NonEmptyList(removeWhiteSpace($this$runOption.yl_1));
|
|
@@ -8033,9 +8020,9 @@ function optimize$lambda$lambda_1($this_optimize) {
|
|
|
8033
8020
|
}
|
|
8034
8021
|
function optimize$lambda($options, $this_optimize) {
|
|
8035
8022
|
return function (tokens) {
|
|
8036
|
-
var tmp = runOption(tokens.yl_1, $options.
|
|
8037
|
-
var tmp_0 = runOption(tmp, $options.
|
|
8038
|
-
return new NonEmptyList(runOption(tmp_0, $options.
|
|
8023
|
+
var tmp = runOption(tokens.yl_1, $options.dv_1, optimize$lambda$lambda);
|
|
8024
|
+
var tmp_0 = runOption(tmp, $options.ev_1, optimize$lambda$lambda_0($this_optimize));
|
|
8025
|
+
return new NonEmptyList(runOption(tmp_0, $options.fv_1, optimize$lambda$lambda_1($this_optimize)));
|
|
8039
8026
|
};
|
|
8040
8027
|
}
|
|
8041
8028
|
function validateWithOptions($this, ast, options) {
|
|
@@ -8049,7 +8036,7 @@ function validateWithOptions($this, ast, options) {
|
|
|
8049
8036
|
while (_iterator__ex2g4s.u()) {
|
|
8050
8037
|
var item = _iterator__ex2g4s.v();
|
|
8051
8038
|
var uri = item.ne();
|
|
8052
|
-
var statements = item.
|
|
8039
|
+
var statements = item.tu();
|
|
8053
8040
|
// Inline function 'arrow.core.Either.map' call
|
|
8054
8041
|
// Inline function 'arrow.core.flatMap' call
|
|
8055
8042
|
var this_2 = runValidateOptions(Validator_instance, options)(new NonEmptyList(statements));
|
|
@@ -8175,7 +8162,7 @@ function fillExtendsClause($this, _this__u8e3s4) {
|
|
|
8175
8162
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
8176
8163
|
var tmp_1;
|
|
8177
8164
|
if (item_0 instanceof Custom) {
|
|
8178
|
-
tmp_1 = item_0.
|
|
8165
|
+
tmp_1 = item_0.ku_1;
|
|
8179
8166
|
} else {
|
|
8180
8167
|
// Inline function 'arrow.core.nel' call
|
|
8181
8168
|
var this_2 = new UnionError();
|
|
@@ -8762,17 +8749,17 @@ function Logger(logLevel) {
|
|
|
8762
8749
|
}
|
|
8763
8750
|
tmp_5.ln_1 = tmp_6;
|
|
8764
8751
|
}
|
|
8765
|
-
protoOf(Logger).
|
|
8752
|
+
protoOf(Logger).gv = function () {
|
|
8766
8753
|
return this.in_1;
|
|
8767
8754
|
};
|
|
8768
|
-
protoOf(Logger).
|
|
8755
|
+
protoOf(Logger).hv = function () {
|
|
8769
8756
|
return this.jn_1;
|
|
8770
8757
|
};
|
|
8771
8758
|
protoOf(Logger).mn = function (string) {
|
|
8772
|
-
return logIf(this, string, this.
|
|
8759
|
+
return logIf(this, string, this.gv());
|
|
8773
8760
|
};
|
|
8774
8761
|
protoOf(Logger).sq = function (string) {
|
|
8775
|
-
return logIf(this, string, this.
|
|
8762
|
+
return logIf(this, string, this.hv());
|
|
8776
8763
|
};
|
|
8777
8764
|
function noLogger$1() {
|
|
8778
8765
|
Logger.call(this, null);
|
|
@@ -8787,12 +8774,12 @@ function _init_properties_Logger_kt__mpqsw() {
|
|
|
8787
8774
|
//region block: post-declaration
|
|
8788
8775
|
protoOf(LanguageEmitter).zp = get_expression;
|
|
8789
8776
|
protoOf(LanguageEmitter).gq = notYetImplemented;
|
|
8790
|
-
protoOf(Any).
|
|
8791
|
-
protoOf(Unit).
|
|
8792
|
-
protoOf(Dict_0).
|
|
8793
|
-
protoOf(Iterable).
|
|
8794
|
-
protoOf(Custom).
|
|
8795
|
-
protoOf(Primitive).
|
|
8777
|
+
protoOf(Any).eu = copy;
|
|
8778
|
+
protoOf(Unit).eu = copy;
|
|
8779
|
+
protoOf(Dict_0).eu = copy;
|
|
8780
|
+
protoOf(Iterable).eu = copy;
|
|
8781
|
+
protoOf(Custom).eu = copy;
|
|
8782
|
+
protoOf(Primitive).eu = copy;
|
|
8796
8783
|
//endregion
|
|
8797
8784
|
//region block: init
|
|
8798
8785
|
Companion_instance_0 = new Companion();
|
|
@@ -8878,6 +8865,7 @@ export {
|
|
|
8878
8865
|
plus_0 as plus3lrm73de10b42,
|
|
8879
8866
|
spacer as spacer28p2fwyb64afn,
|
|
8880
8867
|
Parameter as Parameter2v8p72ovcf2np,
|
|
8868
|
+
Dict as Dict1p2r7i6z7n6zc,
|
|
8881
8869
|
Single as Singleuujp8ld3qd71,
|
|
8882
8870
|
Annotation as Annotation2u6gjfpokxaky,
|
|
8883
8871
|
Channel as Channel2fhxi4a4pwb64,
|
|
@@ -8910,7 +8898,6 @@ export {
|
|
|
8910
8898
|
Unit as Unit2z95clvxm08vr,
|
|
8911
8899
|
Refined as Refined1lkzc0dg6wey7,
|
|
8912
8900
|
Root as Root195zt6zclzd3o,
|
|
8913
|
-
Shared as Shared1uygqfbd22ukz,
|
|
8914
8901
|
Shape as Shape6h3qnek4ao2r,
|
|
8915
8902
|
Type as Type12n1gx16iqtcu,
|
|
8916
8903
|
Union as Unionccsavx6nrdr2,
|