@flock/wirespec 0.19.4 → 0.19.5

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.
Files changed (37) hide show
  1. package/clikt-clikt-mordant.mjs +79 -79
  2. package/clikt-clikt.mjs +1312 -1312
  3. package/clikt-clikt.mjs.map +1 -1
  4. package/colormath-root-colormath.mjs +432 -432
  5. package/kotlin-kotlin-stdlib.mjs +6 -6
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin-openapi-bindings.mjs +9859 -9859
  8. package/kotlin-rgxgen.mjs +1760 -1760
  9. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  10. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1775 -1775
  11. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1479 -1479
  12. package/mordant-mordant.mjs +1192 -1192
  13. package/package.json +1 -1
  14. package/wirespec-src-compiler-emitters-java.mjs +255 -255
  15. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-kotlin.mjs +140 -140
  17. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-python.mjs +187 -187
  19. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-rust.mjs +342 -342
  21. package/wirespec-src-compiler-emitters-scala.mjs +123 -123
  22. package/wirespec-src-compiler-emitters-typescript.mjs +196 -196
  23. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-wirespec.mjs +22 -22
  25. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  26. package/wirespec-src-compiler-ir.mjs +3322 -3322
  27. package/wirespec-src-compiler-lib.mjs +227 -58
  28. package/wirespec-src-compiler-lib.mjs.map +1 -1
  29. package/wirespec-src-converter-avro.mjs +480 -480
  30. package/wirespec-src-converter-openapi.mjs +344 -344
  31. package/wirespec-src-ide-lsp.mjs +1348 -1348
  32. package/wirespec-src-plugin-arguments.mjs +139 -139
  33. package/wirespec-src-plugin-cli.mjs +87 -87
  34. package/wirespec-src-plugin-npm.d.mts +39 -2
  35. package/wirespec-src-plugin-npm.mjs +21 -21
  36. package/wirespec-src-plugin-npm.mjs.map +1 -1
  37. package/wirespec-src-tools-generator.mjs +2 -2
@@ -48,6 +48,8 @@ import {
48
48
  Number1mui0heypwdhp as Number_0,
49
49
  Integer39lqx4uc63u28 as Integer,
50
50
  String1czvr8pxnm6on as String_0,
51
+ RegExpiyof7szm5zfu as RegExp_0,
52
+ _RegExp___get_value__impl__7o76182iqk274prw39c as _RegExp___get_value__impl__7o7618,
51
53
  Root195zt6zclzd3o as Root,
52
54
  FileUri2xjkmf4jmvpab as FileUri,
53
55
  Module3a9i9fqinyump as Module,
@@ -67,6 +69,8 @@ import {
67
69
  Response3emykwjtzgs52 as Response,
68
70
  FieldIdentifier34k7iphndcnl0 as FieldIdentifier,
69
71
  Content2xr1z915qbr1k as Content,
72
+ _RegExp___init__impl__p22noo1jlcnanbrukea as _RegExp___init__impl__p22noo,
73
+ Bound2mp7s0560derz as Bound,
70
74
  Precision_P64_getInstanceoi1ashg00his as Precision_P64_getInstance,
71
75
  Precision_P32_getInstance14q7j3bd2fxd5 as Precision_P32_getInstance,
72
76
  Boolean_instance237vwt01w3hs8 as Boolean_instance,
@@ -113,6 +117,9 @@ initMetadataForClass(WsDict, 'WsDict', VOID, VOID, [WsReference]);
113
117
  initMetadataForClass(WsCustom, 'WsCustom', VOID, VOID, [WsReference]);
114
118
  initMetadataForClass(WsPrimitive, 'WsPrimitive', VOID, VOID, [WsReference]);
115
119
  initMetadataForClass(WsPrimitiveType, 'WsPrimitiveType', VOID, Enum);
120
+ initMetadataForInterface(WsConstraint, 'WsConstraint');
121
+ initMetadataForClass(WsRegExpConstraint, 'WsRegExpConstraint', VOID, VOID, [WsConstraint]);
122
+ initMetadataForClass(WsBoundConstraint, 'WsBoundConstraint', VOID, VOID, [WsConstraint]);
116
123
  initMetadataForClass(WsRequest, 'WsRequest');
117
124
  initMetadataForClass(WsResponse, 'WsResponse');
118
125
  initMetadataForClass(WsContent, 'WsContent');
@@ -1064,9 +1071,11 @@ protoOf(WsCustom).equals = function (other) {
1064
1071
  return false;
1065
1072
  return true;
1066
1073
  };
1067
- function WsPrimitive(type, isNullable) {
1074
+ function WsPrimitive(type, isNullable, constraint) {
1075
+ constraint = constraint === VOID ? null : constraint;
1068
1076
  this.type = type;
1069
1077
  this.tx_1 = isNullable;
1078
+ this.constraint = constraint;
1070
1079
  }
1071
1080
  protoOf(WsPrimitive).ux = function () {
1072
1081
  return this.type;
@@ -1074,26 +1083,34 @@ protoOf(WsPrimitive).ux = function () {
1074
1083
  protoOf(WsPrimitive).tu = function () {
1075
1084
  return this.tx_1;
1076
1085
  };
1086
+ protoOf(WsPrimitive).vx = function () {
1087
+ return this.constraint;
1088
+ };
1077
1089
  protoOf(WsPrimitive).ve = function () {
1078
1090
  return this.type;
1079
1091
  };
1080
1092
  protoOf(WsPrimitive).we = function () {
1081
1093
  return this.tx_1;
1082
1094
  };
1083
- protoOf(WsPrimitive).vx = function (type, isNullable) {
1084
- return new WsPrimitive(type, isNullable);
1095
+ protoOf(WsPrimitive).ek = function () {
1096
+ return this.constraint;
1097
+ };
1098
+ protoOf(WsPrimitive).wx = function (type, isNullable, constraint) {
1099
+ return new WsPrimitive(type, isNullable, constraint);
1085
1100
  };
1086
- protoOf(WsPrimitive).copy = function (type, isNullable, $super) {
1101
+ protoOf(WsPrimitive).copy = function (type, isNullable, constraint, $super) {
1087
1102
  type = type === VOID ? this.type : type;
1088
1103
  isNullable = isNullable === VOID ? this.tx_1 : isNullable;
1089
- return $super === VOID ? this.vx(type, isNullable) : $super.vx.call(this, type, isNullable);
1104
+ constraint = constraint === VOID ? this.constraint : constraint;
1105
+ return $super === VOID ? this.wx(type, isNullable, constraint) : $super.wx.call(this, type, isNullable, constraint);
1090
1106
  };
1091
1107
  protoOf(WsPrimitive).toString = function () {
1092
- return 'WsPrimitive(type=' + this.type.toString() + ', isNullable=' + this.tx_1 + ')';
1108
+ return 'WsPrimitive(type=' + this.type.toString() + ', isNullable=' + this.tx_1 + ', constraint=' + toString_0(this.constraint) + ')';
1093
1109
  };
1094
1110
  protoOf(WsPrimitive).hashCode = function () {
1095
1111
  var result = this.type.hashCode();
1096
1112
  result = imul(result, 31) + getBooleanHashCode(this.tx_1) | 0;
1113
+ result = imul(result, 31) + (this.constraint == null ? 0 : hashCode(this.constraint)) | 0;
1097
1114
  return result;
1098
1115
  };
1099
1116
  protoOf(WsPrimitive).equals = function (other) {
@@ -1105,6 +1122,8 @@ protoOf(WsPrimitive).equals = function (other) {
1105
1122
  return false;
1106
1123
  if (!(this.tx_1 === other.tx_1))
1107
1124
  return false;
1125
+ if (!equals(this.constraint, other.constraint))
1126
+ return false;
1108
1127
  return true;
1109
1128
  };
1110
1129
  var WsPrimitiveType_String_instance;
@@ -1155,21 +1174,97 @@ function WsPrimitiveType_initEntries() {
1155
1174
  function WsPrimitiveType(name, ordinal) {
1156
1175
  Enum.call(this, name, ordinal);
1157
1176
  }
1177
+ function WsConstraint() {
1178
+ }
1179
+ function WsRegExpConstraint(value) {
1180
+ this.value = value;
1181
+ }
1182
+ protoOf(WsRegExpConstraint).l1 = function () {
1183
+ return this.value;
1184
+ };
1185
+ protoOf(WsRegExpConstraint).ve = function () {
1186
+ return this.value;
1187
+ };
1188
+ protoOf(WsRegExpConstraint).lx = function (value) {
1189
+ return new WsRegExpConstraint(value);
1190
+ };
1191
+ protoOf(WsRegExpConstraint).copy = function (value, $super) {
1192
+ value = value === VOID ? this.value : value;
1193
+ return $super === VOID ? this.lx(value) : $super.lx.call(this, value);
1194
+ };
1195
+ protoOf(WsRegExpConstraint).toString = function () {
1196
+ return 'WsRegExpConstraint(value=' + this.value + ')';
1197
+ };
1198
+ protoOf(WsRegExpConstraint).hashCode = function () {
1199
+ return getStringHashCode(this.value);
1200
+ };
1201
+ protoOf(WsRegExpConstraint).equals = function (other) {
1202
+ if (this === other)
1203
+ return true;
1204
+ if (!(other instanceof WsRegExpConstraint))
1205
+ return false;
1206
+ if (!(this.value === other.value))
1207
+ return false;
1208
+ return true;
1209
+ };
1210
+ function WsBoundConstraint(min, max) {
1211
+ this.min = min;
1212
+ this.max = max;
1213
+ }
1214
+ protoOf(WsBoundConstraint).zx = function () {
1215
+ return this.min;
1216
+ };
1217
+ protoOf(WsBoundConstraint).ay = function () {
1218
+ return this.max;
1219
+ };
1220
+ protoOf(WsBoundConstraint).ve = function () {
1221
+ return this.min;
1222
+ };
1223
+ protoOf(WsBoundConstraint).we = function () {
1224
+ return this.max;
1225
+ };
1226
+ protoOf(WsBoundConstraint).by = function (min, max) {
1227
+ return new WsBoundConstraint(min, max);
1228
+ };
1229
+ protoOf(WsBoundConstraint).copy = function (min, max, $super) {
1230
+ min = min === VOID ? this.min : min;
1231
+ max = max === VOID ? this.max : max;
1232
+ return $super === VOID ? this.by(min, max) : $super.by.call(this, min, max);
1233
+ };
1234
+ protoOf(WsBoundConstraint).toString = function () {
1235
+ return 'WsBoundConstraint(min=' + this.min + ', max=' + this.max + ')';
1236
+ };
1237
+ protoOf(WsBoundConstraint).hashCode = function () {
1238
+ var result = this.min == null ? 0 : getStringHashCode(this.min);
1239
+ result = imul(result, 31) + (this.max == null ? 0 : getStringHashCode(this.max)) | 0;
1240
+ return result;
1241
+ };
1242
+ protoOf(WsBoundConstraint).equals = function (other) {
1243
+ if (this === other)
1244
+ return true;
1245
+ if (!(other instanceof WsBoundConstraint))
1246
+ return false;
1247
+ if (!(this.min == other.min))
1248
+ return false;
1249
+ if (!(this.max == other.max))
1250
+ return false;
1251
+ return true;
1252
+ };
1158
1253
  function WsRequest(content) {
1159
1254
  this.content = content;
1160
1255
  }
1161
- protoOf(WsRequest).yx = function () {
1256
+ protoOf(WsRequest).cy = function () {
1162
1257
  return this.content;
1163
1258
  };
1164
1259
  protoOf(WsRequest).ve = function () {
1165
1260
  return this.content;
1166
1261
  };
1167
- protoOf(WsRequest).zx = function (content) {
1262
+ protoOf(WsRequest).dy = function (content) {
1168
1263
  return new WsRequest(content);
1169
1264
  };
1170
1265
  protoOf(WsRequest).copy = function (content, $super) {
1171
1266
  content = content === VOID ? this.content : content;
1172
- return $super === VOID ? this.zx(content) : $super.zx.call(this, content);
1267
+ return $super === VOID ? this.dy(content) : $super.dy.call(this, content);
1173
1268
  };
1174
1269
  protoOf(WsRequest).toString = function () {
1175
1270
  return 'WsRequest(content=' + toString_0(this.content) + ')';
@@ -1191,13 +1286,13 @@ function WsResponse(status, headers, content) {
1191
1286
  this.headers = headers;
1192
1287
  this.content = content;
1193
1288
  }
1194
- protoOf(WsResponse).ay = function () {
1289
+ protoOf(WsResponse).ey = function () {
1195
1290
  return this.status;
1196
1291
  };
1197
1292
  protoOf(WsResponse).ow = function () {
1198
1293
  return this.headers;
1199
1294
  };
1200
- protoOf(WsResponse).yx = function () {
1295
+ protoOf(WsResponse).cy = function () {
1201
1296
  return this.content;
1202
1297
  };
1203
1298
  protoOf(WsResponse).ve = function () {
@@ -1209,14 +1304,14 @@ protoOf(WsResponse).we = function () {
1209
1304
  protoOf(WsResponse).ek = function () {
1210
1305
  return this.content;
1211
1306
  };
1212
- protoOf(WsResponse).by = function (status, headers, content) {
1307
+ protoOf(WsResponse).fy = function (status, headers, content) {
1213
1308
  return new WsResponse(status, headers, content);
1214
1309
  };
1215
1310
  protoOf(WsResponse).copy = function (status, headers, content, $super) {
1216
1311
  status = status === VOID ? this.status : status;
1217
1312
  headers = headers === VOID ? this.headers : headers;
1218
1313
  content = content === VOID ? this.content : content;
1219
- return $super === VOID ? this.by(status, headers, content) : $super.by.call(this, status, headers, content);
1314
+ return $super === VOID ? this.fy(status, headers, content) : $super.fy.call(this, status, headers, content);
1220
1315
  };
1221
1316
  protoOf(WsResponse).toString = function () {
1222
1317
  return 'WsResponse(status=' + this.status + ', headers=' + toString(this.headers) + ', content=' + toString_0(this.content) + ')';
@@ -1264,14 +1359,14 @@ protoOf(WsContent).we = function () {
1264
1359
  protoOf(WsContent).ek = function () {
1265
1360
  return this.isNullable;
1266
1361
  };
1267
- protoOf(WsContent).cy = function (type, reference, isNullable) {
1362
+ protoOf(WsContent).gy = function (type, reference, isNullable) {
1268
1363
  return new WsContent(type, reference, isNullable);
1269
1364
  };
1270
1365
  protoOf(WsContent).copy = function (type, reference, isNullable, $super) {
1271
1366
  type = type === VOID ? this.type : type;
1272
1367
  reference = reference === VOID ? this.reference : reference;
1273
1368
  isNullable = isNullable === VOID ? this.isNullable : isNullable;
1274
- return $super === VOID ? this.cy(type, reference, isNullable) : $super.cy.call(this, type, reference, isNullable);
1369
+ return $super === VOID ? this.gy(type, reference, isNullable) : $super.gy.call(this, type, reference, isNullable);
1275
1370
  };
1276
1371
  protoOf(WsContent).toString = function () {
1277
1372
  return 'WsContent(type=' + this.type + ', reference=' + toString(this.reference) + ', isNullable=' + this.isNullable + ')';
@@ -1517,7 +1612,7 @@ function produce_6(_this__u8e3s4) {
1517
1612
  tmp = new WsCustom(_this__u8e3s4.bv_1, _this__u8e3s4.cv_1);
1518
1613
  } else {
1519
1614
  if (_this__u8e3s4 instanceof Primitive) {
1520
- tmp = new WsPrimitive(produce_11(_this__u8e3s4.fv_1), _this__u8e3s4.gv_1);
1615
+ tmp = new WsPrimitive(produce_11(_this__u8e3s4.fv_1), _this__u8e3s4.gv_1, produceConstraint(_this__u8e3s4.fv_1));
1521
1616
  } else {
1522
1617
  if (_this__u8e3s4 instanceof Dict) {
1523
1618
  tmp = new WsDict(produce_6(_this__u8e3s4.so_1), _this__u8e3s4.to_1);
@@ -1609,6 +1704,58 @@ function produce_11(_this__u8e3s4) {
1609
1704
  }
1610
1705
  return tmp;
1611
1706
  }
1707
+ function produceConstraint(_this__u8e3s4) {
1708
+ var tmp;
1709
+ if (_this__u8e3s4 instanceof String_0) {
1710
+ var tmp1_safe_receiver = _this__u8e3s4.hu_1;
1711
+ var tmp_0;
1712
+ var tmp_1 = tmp1_safe_receiver;
1713
+ if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
1714
+ tmp_0 = null;
1715
+ } else {
1716
+ var tmp_2 = tmp1_safe_receiver;
1717
+ // Inline function 'kotlin.let' call
1718
+ var it = (tmp_2 == null ? null : new RegExp_0(tmp_2)).pt_1;
1719
+ tmp_0 = new WsRegExpConstraint(_RegExp___get_value__impl__7o7618(it));
1720
+ }
1721
+ tmp = tmp_0;
1722
+ } else {
1723
+ if (_this__u8e3s4 instanceof Integer) {
1724
+ var tmp2_safe_receiver = _this__u8e3s4.ku_1;
1725
+ var tmp_3;
1726
+ if (tmp2_safe_receiver == null) {
1727
+ tmp_3 = null;
1728
+ } else {
1729
+ // Inline function 'kotlin.let' call
1730
+ tmp_3 = new WsBoundConstraint(tmp2_safe_receiver.fu_1, tmp2_safe_receiver.gu_1);
1731
+ }
1732
+ tmp = tmp_3;
1733
+ } else {
1734
+ if (_this__u8e3s4 instanceof Number_0) {
1735
+ var tmp3_safe_receiver = _this__u8e3s4.nu_1;
1736
+ var tmp_4;
1737
+ if (tmp3_safe_receiver == null) {
1738
+ tmp_4 = null;
1739
+ } else {
1740
+ // Inline function 'kotlin.let' call
1741
+ tmp_4 = new WsBoundConstraint(tmp3_safe_receiver.fu_1, tmp3_safe_receiver.gu_1);
1742
+ }
1743
+ tmp = tmp_4;
1744
+ } else {
1745
+ if (_this__u8e3s4 instanceof Boolean_0) {
1746
+ tmp = null;
1747
+ } else {
1748
+ if (_this__u8e3s4 instanceof Bytes) {
1749
+ tmp = null;
1750
+ } else {
1751
+ noWhenBranchMatchedException();
1752
+ }
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ return tmp;
1758
+ }
1612
1759
  function produce_12(_this__u8e3s4) {
1613
1760
  return new WsContent(_this__u8e3s4.eq_1, produce_6(_this__u8e3s4.fq_1));
1614
1761
  }
@@ -1973,7 +2120,7 @@ function consume_13(_this__u8e3s4) {
1973
2120
  tmp = new Custom(_this__u8e3s4.value, _this__u8e3s4.sx_1);
1974
2121
  } else {
1975
2122
  if (_this__u8e3s4 instanceof WsPrimitive) {
1976
- tmp = new Primitive(consume_16(_this__u8e3s4.type), _this__u8e3s4.tx_1);
2123
+ tmp = new Primitive(consumeType(_this__u8e3s4), _this__u8e3s4.tx_1);
1977
2124
  } else {
1978
2125
  if (_this__u8e3s4 instanceof WsDict) {
1979
2126
  tmp = new Dict(consume_13(_this__u8e3s4.reference), _this__u8e3s4.rx_1);
@@ -1996,35 +2143,55 @@ function consume_14(_this__u8e3s4) {
1996
2143
  function consume_15(_this__u8e3s4) {
1997
2144
  return new Content(_this__u8e3s4.type, consume_13(_this__u8e3s4.reference));
1998
2145
  }
1999
- function consume_16(_this__u8e3s4) {
2000
- var tmp;
2001
- switch (_this__u8e3s4.b3_1) {
2146
+ function consumeType(_this__u8e3s4) {
2147
+ var tmp = _this__u8e3s4.constraint;
2148
+ var tmp0_safe_receiver = tmp instanceof WsRegExpConstraint ? tmp : null;
2149
+ var tmp_0;
2150
+ if (tmp0_safe_receiver == null) {
2151
+ tmp_0 = null;
2152
+ } else {
2153
+ // Inline function 'kotlin.let' call
2154
+ tmp_0 = _RegExp___init__impl__p22noo(tmp0_safe_receiver.value);
2155
+ }
2156
+ var regExp = tmp_0;
2157
+ var tmp_1 = _this__u8e3s4.constraint;
2158
+ var tmp1_safe_receiver = tmp_1 instanceof WsBoundConstraint ? tmp_1 : null;
2159
+ var tmp_2;
2160
+ if (tmp1_safe_receiver == null) {
2161
+ tmp_2 = null;
2162
+ } else {
2163
+ // Inline function 'kotlin.let' call
2164
+ tmp_2 = new Bound(tmp1_safe_receiver.min, tmp1_safe_receiver.max);
2165
+ }
2166
+ var bound = tmp_2;
2167
+ var tmp_3;
2168
+ switch (_this__u8e3s4.type.b3_1) {
2002
2169
  case 0:
2003
- tmp = new String_0(null);
2170
+ tmp_3 = new String_0(regExp);
2004
2171
  break;
2005
2172
  case 1:
2006
- tmp = new Integer(Precision_P64_getInstance(), null);
2173
+ tmp_3 = new Integer(Precision_P64_getInstance(), bound);
2007
2174
  break;
2008
2175
  case 2:
2009
- tmp = new Integer(Precision_P32_getInstance(), null);
2176
+ tmp_3 = new Integer(Precision_P32_getInstance(), bound);
2010
2177
  break;
2011
2178
  case 3:
2012
- tmp = new Number_0(Precision_P64_getInstance(), null);
2179
+ tmp_3 = new Number_0(Precision_P64_getInstance(), bound);
2013
2180
  break;
2014
2181
  case 4:
2015
- tmp = new Number_0(Precision_P32_getInstance(), null);
2182
+ tmp_3 = new Number_0(Precision_P32_getInstance(), bound);
2016
2183
  break;
2017
2184
  case 5:
2018
- tmp = Boolean_instance;
2185
+ tmp_3 = Boolean_instance;
2019
2186
  break;
2020
2187
  case 6:
2021
- tmp = Bytes_instance;
2188
+ tmp_3 = Bytes_instance;
2022
2189
  break;
2023
2190
  default:
2024
2191
  noWhenBranchMatchedException();
2025
2192
  break;
2026
2193
  }
2027
- return tmp;
2194
+ return tmp_3;
2028
2195
  }
2029
2196
  function WsMethod_GET_getInstance() {
2030
2197
  WsMethod_initEntries();
@@ -2099,10 +2266,10 @@ function WsCompilationResult(result, errors) {
2099
2266
  this.result = result;
2100
2267
  this.errors = errors;
2101
2268
  }
2102
- protoOf(WsCompilationResult).dy = function () {
2269
+ protoOf(WsCompilationResult).hy = function () {
2103
2270
  return this.result;
2104
2271
  };
2105
- protoOf(WsCompilationResult).ey = function () {
2272
+ protoOf(WsCompilationResult).iy = function () {
2106
2273
  return this.errors;
2107
2274
  };
2108
2275
  function WsCompiled(value) {
@@ -2127,10 +2294,10 @@ function WsParseResult(result, errors) {
2127
2294
  this.result = result;
2128
2295
  this.errors = errors;
2129
2296
  }
2130
- protoOf(WsParseResult).dy = function () {
2297
+ protoOf(WsParseResult).hy = function () {
2131
2298
  return this.result;
2132
2299
  };
2133
- protoOf(WsParseResult).ey = function () {
2300
+ protoOf(WsParseResult).iy = function () {
2134
2301
  return this.errors;
2135
2302
  };
2136
2303
  function WsStringResult(result, errors) {
@@ -2139,20 +2306,20 @@ function WsStringResult(result, errors) {
2139
2306
  this.result = result;
2140
2307
  this.errors = errors;
2141
2308
  }
2142
- protoOf(WsStringResult).dy = function () {
2309
+ protoOf(WsStringResult).hy = function () {
2143
2310
  return this.result;
2144
2311
  };
2145
- protoOf(WsStringResult).ey = function () {
2312
+ protoOf(WsStringResult).iy = function () {
2146
2313
  return this.errors;
2147
2314
  };
2148
2315
  function WsEmitted(file, result) {
2149
2316
  this.file = file;
2150
2317
  this.result = result;
2151
2318
  }
2152
- protoOf(WsEmitted).fy = function () {
2319
+ protoOf(WsEmitted).jy = function () {
2153
2320
  return this.file;
2154
2321
  };
2155
- protoOf(WsEmitted).dy = function () {
2322
+ protoOf(WsEmitted).hy = function () {
2156
2323
  return this.result;
2157
2324
  };
2158
2325
  function produce_15(_this__u8e3s4) {
@@ -2222,10 +2389,10 @@ function WsTokenResult(tokens, error) {
2222
2389
  this.tokens = tokens;
2223
2390
  this.error = error;
2224
2391
  }
2225
- protoOf(WsTokenResult).gy = function () {
2392
+ protoOf(WsTokenResult).ky = function () {
2226
2393
  return this.tokens;
2227
2394
  };
2228
- protoOf(WsTokenResult).hy = function () {
2395
+ protoOf(WsTokenResult).ly = function () {
2229
2396
  return this.error;
2230
2397
  };
2231
2398
  protoOf(WsTokenResult).ve = function () {
@@ -2234,13 +2401,13 @@ protoOf(WsTokenResult).ve = function () {
2234
2401
  protoOf(WsTokenResult).we = function () {
2235
2402
  return this.error;
2236
2403
  };
2237
- protoOf(WsTokenResult).iy = function (tokens, error) {
2404
+ protoOf(WsTokenResult).my = function (tokens, error) {
2238
2405
  return new WsTokenResult(tokens, error);
2239
2406
  };
2240
2407
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
2241
2408
  tokens = tokens === VOID ? this.tokens : tokens;
2242
2409
  error = error === VOID ? this.error : error;
2243
- return $super === VOID ? this.iy(tokens, error) : $super.iy.call(this, tokens, error);
2410
+ return $super === VOID ? this.my(tokens, error) : $super.my.call(this, tokens, error);
2244
2411
  };
2245
2412
  protoOf(WsTokenResult).toString = function () {
2246
2413
  return 'WsTokenResult(tokens=' + toString_0(this.tokens) + ', error=' + toString_0(this.error) + ')';
@@ -2284,12 +2451,12 @@ protoOf(WsTokens).hashCode = function () {
2284
2451
  protoOf(WsTokens).ve = function () {
2285
2452
  return this.value;
2286
2453
  };
2287
- protoOf(WsTokens).jy = function (value) {
2454
+ protoOf(WsTokens).ny = function (value) {
2288
2455
  return new WsTokens(value);
2289
2456
  };
2290
2457
  protoOf(WsTokens).copy = function (value, $super) {
2291
2458
  value = value === VOID ? this.value : value;
2292
- return $super === VOID ? this.jy(value) : $super.jy.call(this, value);
2459
+ return $super === VOID ? this.ny(value) : $super.ny.call(this, value);
2293
2460
  };
2294
2461
  protoOf(WsTokens).toString = function () {
2295
2462
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -2306,7 +2473,7 @@ protoOf(WsToken).ux = function () {
2306
2473
  protoOf(WsToken).l1 = function () {
2307
2474
  return this.value;
2308
2475
  };
2309
- protoOf(WsToken).ky = function () {
2476
+ protoOf(WsToken).oy = function () {
2310
2477
  return this.coordinates;
2311
2478
  };
2312
2479
  protoOf(WsToken).ve = function () {
@@ -2318,14 +2485,14 @@ protoOf(WsToken).we = function () {
2318
2485
  protoOf(WsToken).ek = function () {
2319
2486
  return this.coordinates;
2320
2487
  };
2321
- protoOf(WsToken).ly = function (type, value, coordinates) {
2488
+ protoOf(WsToken).py = function (type, value, coordinates) {
2322
2489
  return new WsToken(type, value, coordinates);
2323
2490
  };
2324
2491
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
2325
2492
  type = type === VOID ? this.type : type;
2326
2493
  value = value === VOID ? this.value : value;
2327
2494
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
2328
- return $super === VOID ? this.ly(type, value, coordinates) : $super.ly.call(this, type, value, coordinates);
2495
+ return $super === VOID ? this.py(type, value, coordinates) : $super.py.call(this, type, value, coordinates);
2329
2496
  };
2330
2497
  protoOf(WsToken).toString = function () {
2331
2498
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates.toString() + ')';
@@ -2357,13 +2524,13 @@ function WsCoordinates(line, position, idxAndLength) {
2357
2524
  this.position = position;
2358
2525
  this.idxAndLength = idxAndLength;
2359
2526
  }
2360
- protoOf(WsCoordinates).my = function () {
2527
+ protoOf(WsCoordinates).qy = function () {
2361
2528
  return this.line;
2362
2529
  };
2363
- protoOf(WsCoordinates).ny = function () {
2530
+ protoOf(WsCoordinates).ry = function () {
2364
2531
  return this.position;
2365
2532
  };
2366
- protoOf(WsCoordinates).oy = function () {
2533
+ protoOf(WsCoordinates).sy = function () {
2367
2534
  return this.idxAndLength;
2368
2535
  };
2369
2536
  protoOf(WsCoordinates).ve = function () {
@@ -2375,14 +2542,14 @@ protoOf(WsCoordinates).we = function () {
2375
2542
  protoOf(WsCoordinates).ek = function () {
2376
2543
  return this.idxAndLength;
2377
2544
  };
2378
- protoOf(WsCoordinates).py = function (line, position, idxAndLength) {
2545
+ protoOf(WsCoordinates).ty = function (line, position, idxAndLength) {
2379
2546
  return new WsCoordinates(line, position, idxAndLength);
2380
2547
  };
2381
2548
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
2382
2549
  line = line === VOID ? this.line : line;
2383
2550
  position = position === VOID ? this.position : position;
2384
2551
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
2385
- return $super === VOID ? this.py(line, position, idxAndLength) : $super.py.call(this, line, position, idxAndLength);
2552
+ return $super === VOID ? this.ty(line, position, idxAndLength) : $super.ty.call(this, line, position, idxAndLength);
2386
2553
  };
2387
2554
  protoOf(WsCoordinates).toString = function () {
2388
2555
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength.toString() + ')';
@@ -2412,7 +2579,7 @@ function WsIndex(idx, length) {
2412
2579
  this.idx = idx;
2413
2580
  this.length = length;
2414
2581
  }
2415
- protoOf(WsIndex).qy = function () {
2582
+ protoOf(WsIndex).uy = function () {
2416
2583
  return this.idx;
2417
2584
  };
2418
2585
  protoOf(WsIndex).a = function () {
@@ -2424,13 +2591,13 @@ protoOf(WsIndex).ve = function () {
2424
2591
  protoOf(WsIndex).we = function () {
2425
2592
  return this.length;
2426
2593
  };
2427
- protoOf(WsIndex).ry = function (idx, length) {
2594
+ protoOf(WsIndex).vy = function (idx, length) {
2428
2595
  return new WsIndex(idx, length);
2429
2596
  };
2430
2597
  protoOf(WsIndex).copy = function (idx, length, $super) {
2431
2598
  idx = idx === VOID ? this.idx : idx;
2432
2599
  length = length === VOID ? this.length : length;
2433
- return $super === VOID ? this.ry(idx, length) : $super.ry.call(this, idx, length);
2600
+ return $super === VOID ? this.vy(idx, length) : $super.vy.call(this, idx, length);
2434
2601
  };
2435
2602
  protoOf(WsIndex).toString = function () {
2436
2603
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -2467,13 +2634,13 @@ function WsError(line, position, index, length, value) {
2467
2634
  this.length = length;
2468
2635
  this.value = value;
2469
2636
  }
2470
- protoOf(WsError).my = function () {
2637
+ protoOf(WsError).qy = function () {
2471
2638
  return this.line;
2472
2639
  };
2473
- protoOf(WsError).ny = function () {
2640
+ protoOf(WsError).ry = function () {
2474
2641
  return this.position;
2475
2642
  };
2476
- protoOf(WsError).sy = function () {
2643
+ protoOf(WsError).wy = function () {
2477
2644
  return this.index;
2478
2645
  };
2479
2646
  protoOf(WsError).a = function () {
@@ -2497,7 +2664,7 @@ protoOf(WsError).rw = function () {
2497
2664
  protoOf(WsError).sw = function () {
2498
2665
  return this.value;
2499
2666
  };
2500
- protoOf(WsError).ty = function (line, position, index, length, value) {
2667
+ protoOf(WsError).xy = function (line, position, index, length, value) {
2501
2668
  return new WsError(line, position, index, length, value);
2502
2669
  };
2503
2670
  protoOf(WsError).copy = function (line, position, index, length, value, $super) {
@@ -2506,7 +2673,7 @@ protoOf(WsError).copy = function (line, position, index, length, value, $super)
2506
2673
  index = index === VOID ? this.index : index;
2507
2674
  length = length === VOID ? this.length : length;
2508
2675
  value = value === VOID ? this.value : value;
2509
- return $super === VOID ? this.ty(line, position, index, length, value) : $super.ty.call(this, line, position, index, length, value);
2676
+ return $super === VOID ? this.xy(line, position, index, length, value) : $super.xy.call(this, line, position, index, length, value);
2510
2677
  };
2511
2678
  protoOf(WsError).toString = function () {
2512
2679
  return 'WsError(line=' + this.line + ', position=' + this.position + ', index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -2643,6 +2810,8 @@ export {
2643
2810
  WsCustom as WsCustom,
2644
2811
  WsPrimitive as WsPrimitive,
2645
2812
  WsPrimitiveType as WsPrimitiveType,
2813
+ WsRegExpConstraint as WsRegExpConstraint,
2814
+ WsBoundConstraint as WsBoundConstraint,
2646
2815
  WsRequest as WsRequest,
2647
2816
  WsResponse as WsResponse,
2648
2817
  WsContent as WsContent,