@flock/wirespec 0.19.5 → 0.19.6

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 (35) hide show
  1. package/clikt-clikt-mordant.mjs +38 -38
  2. package/colormath-root-colormath.mjs +426 -426
  3. package/kotlin-kotlin-stdlib.mjs +83 -82
  4. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  5. package/kotlin-openapi-bindings.mjs +9624 -9624
  6. package/kotlin-rgxgen.mjs +1757 -1757
  7. package/kotlinx-io-kotlinx-io-core.mjs +403 -403
  8. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1729 -1729
  9. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1454 -1454
  10. package/mordant-mordant.mjs +1157 -1157
  11. package/package.json +1 -1
  12. package/wirespec-src-compiler-core.mjs +13 -1
  13. package/wirespec-src-compiler-core.mjs.map +1 -1
  14. package/wirespec-src-compiler-emitters-java.mjs +213 -242
  15. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-kotlin.mjs +133 -133
  17. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-python.mjs +189 -181
  19. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-rust.mjs +249 -249
  21. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-scala.mjs +101 -101
  23. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-typescript.mjs +165 -165
  25. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-wirespec.mjs +9 -9
  27. package/wirespec-src-compiler-ir.mjs +2546 -2422
  28. package/wirespec-src-compiler-ir.mjs.map +1 -1
  29. package/wirespec-src-converter-avro.mjs +472 -472
  30. package/wirespec-src-converter-openapi.mjs +335 -335
  31. package/wirespec-src-ide-lsp.mjs +1346 -1346
  32. package/wirespec-src-plugin-arguments.mjs +128 -128
  33. package/wirespec-src-plugin-cli.mjs +84 -84
  34. package/wirespec-src-plugin-npm.mjs +18 -18
  35. package/wirespec-src-tools-generator.mjs +2 -2
@@ -74,10 +74,10 @@ function installMordant$lambda$lambda(it) {
74
74
  return new MordantHelpFormatter(it);
75
75
  }
76
76
  function installMordant$lambda$lambda_0(it) {
77
- return MultiplatformSystem_instance.e4l(it);
77
+ return MultiplatformSystem_instance.c4l(it);
78
78
  }
79
79
  function installMordant$lambda$lambda_1(it) {
80
- var tmp0_elvis_lhs = MultiplatformSystem_instance.g4l(it);
80
+ var tmp0_elvis_lhs = MultiplatformSystem_instance.e4l(it);
81
81
  var tmp;
82
82
  if (tmp0_elvis_lhs == null) {
83
83
  throw new FileNotFound(it);
@@ -87,14 +87,14 @@ function installMordant$lambda$lambda_1(it) {
87
87
  return tmp;
88
88
  }
89
89
  function installMordant$lambda$lambda_2(it) {
90
- MultiplatformSystem_instance.f4l(it);
90
+ MultiplatformSystem_instance.d4l(it);
91
91
  return Unit_instance;
92
92
  }
93
93
  function installMordant$lambda$lambda_3(context, message, trailingNewline, err) {
94
94
  if (trailingNewline) {
95
- get_terminal(context).d4v(message, VOID, VOID, VOID, VOID, err);
96
- } else {
97
95
  get_terminal(context).b4v(message, VOID, VOID, VOID, VOID, err);
96
+ } else {
97
+ get_terminal(context).z4u(message, VOID, VOID, VOID, VOID, err);
98
98
  }
99
99
  return Unit_instance;
100
100
  }
@@ -134,21 +134,21 @@ protoOf(NoOpCliktCommand).q13 = function () {
134
134
  };
135
135
  function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
136
136
  return function ($this$verticalLayout) {
137
- $this$verticalLayout.t4r(1);
138
- $this$verticalLayout.q4r(this$0.v18($error, $prolog, $epilog, $parameters, $programName));
137
+ $this$verticalLayout.r4r(1);
138
+ $this$verticalLayout.o4r(this$0.v18($error, $prolog, $epilog, $parameters, $programName));
139
139
  return Unit_instance;
140
140
  };
141
141
  }
142
142
  function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
143
143
  return function ($this$definitionList) {
144
- $this$definitionList.n4v($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
145
- $this$definitionList.h4v_1 = true;
146
- $this$definitionList.k4v(1);
144
+ $this$definitionList.l4v($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
145
+ $this$definitionList.f4v_1 = true;
146
+ $this$definitionList.i4v(1);
147
147
  return Unit_instance;
148
148
  };
149
149
  }
150
150
  function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
151
- $this$withPadding.q4t_1 = 2;
151
+ $this$withPadding.o4t_1 = 2;
152
152
  return Unit_instance;
153
153
  }
154
154
  function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
@@ -156,31 +156,31 @@ function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
156
156
  var _iterator__ex2g4s = this$0.i1a($parameters).t();
157
157
  while (_iterator__ex2g4s.u()) {
158
158
  var section = _iterator__ex2g4s.v();
159
- $this$definitionList.n4v(section.c18_1, section.d18_1);
159
+ $this$definitionList.l4v(section.c18_1, section.d18_1);
160
160
  }
161
161
  return Unit_instance;
162
162
  };
163
163
  }
164
164
  function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
165
+ $this$withPadding.l4t_1 = 1;
166
+ $this$withPadding.o4t_1 = 2;
165
167
  $this$withPadding.n4t_1 = 1;
166
- $this$withPadding.q4t_1 = 2;
167
- $this$withPadding.p4t_1 = 1;
168
168
  return Unit_instance;
169
169
  }
170
170
  function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
171
171
  return function ($this$verticalLayout) {
172
- $this$verticalLayout.s4r($markdown);
173
- $this$verticalLayout.s4r(this$0.s1a($options));
172
+ $this$verticalLayout.q4r($markdown);
173
+ $this$verticalLayout.q4r(this$0.s1a($options));
174
174
  return Unit_instance;
175
175
  };
176
176
  }
177
177
  function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
178
178
  return function ($this$definitionList) {
179
- $this$definitionList.h4v_1 = true;
179
+ $this$definitionList.f4v_1 = true;
180
180
  var _iterator__ex2g4s = $rows.t();
181
181
  while (_iterator__ex2g4s.u()) {
182
182
  var row = _iterator__ex2g4s.v();
183
- $this$definitionList.o4v(this$0.o1b(row), this$0.p1b(row));
183
+ $this$definitionList.m4v(this$0.o1b(row), this$0.p1b(row));
184
184
  }
185
185
  return Unit_instance;
186
186
  };
@@ -191,18 +191,18 @@ function MordantHelpFormatter(context, requiredOptionMarker, showDefaultValues,
191
191
  showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
192
192
  AbstractHelpFormatter.call(this, context, requiredOptionMarker, showDefaultValues, showRequiredTag);
193
193
  }
194
- protoOf(MordantHelpFormatter).h4x = function () {
195
- return get_terminal(this.j18_1).n4o_1;
194
+ protoOf(MordantHelpFormatter).f4x = function () {
195
+ return get_terminal(this.j18_1).l4o_1;
196
196
  };
197
197
  protoOf(MordantHelpFormatter).b12 = function (error, prolog, epilog, parameters, programName) {
198
198
  var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
199
- return get_terminal(this.j18_1).e4v(widget);
199
+ return get_terminal(this.j18_1).c4v(widget);
200
200
  };
201
201
  protoOf(MordantHelpFormatter).x18 = function (parameters, error) {
202
202
  return Text_init_$Create$(this.b19(parameters, error));
203
203
  };
204
204
  protoOf(MordantHelpFormatter).w18 = function (parameters, programName) {
205
- var title = this.i4x(this.u18().j1b());
205
+ var title = this.g4x(this.u18().j1b());
206
206
  var prog = title + ' ' + programName;
207
207
  var usageParts = this.f19(parameters);
208
208
  var tmp;
@@ -215,11 +215,11 @@ protoOf(MordantHelpFormatter).w18 = function (parameters, programName) {
215
215
  return tmp;
216
216
  };
217
217
  protoOf(MordantHelpFormatter).y18 = function (prolog) {
218
- var tmp = this.j4x(prolog);
218
+ var tmp = this.h4x(prolog);
219
219
  return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
220
220
  };
221
221
  protoOf(MordantHelpFormatter).a19 = function (epilog) {
222
- return this.j4x(epilog);
222
+ return this.h4x(epilog);
223
223
  };
224
224
  protoOf(MordantHelpFormatter).z18 = function (parameters) {
225
225
  return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
@@ -237,7 +237,7 @@ protoOf(MordantHelpFormatter).g1a = function (help, parameters) {
237
237
  var options = destination;
238
238
  if (help == null)
239
239
  return this.s1a(options);
240
- var tmp = this.j4x(help);
240
+ var tmp = this.h4x(help);
241
241
  var markdown = withPadding(tmp, false, MordantHelpFormatter$renderOptionGroup$lambda);
242
242
  return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
243
243
  };
@@ -247,34 +247,34 @@ protoOf(MordantHelpFormatter).r18 = function (name) {
247
247
  return '<' + name.toLowerCase() + '>';
248
248
  };
249
249
  protoOf(MordantHelpFormatter).q1a = function (name) {
250
- return this.h4x().c4o('danger').f4e(name);
250
+ return this.f4x().a4o('danger').d4e(name);
251
251
  };
252
252
  protoOf(MordantHelpFormatter).z1a = function (name) {
253
- return this.h4x().c4o('muted').f4e(name);
253
+ return this.f4x().a4o('muted').d4e(name);
254
254
  };
255
255
  protoOf(MordantHelpFormatter).p18 = function (name) {
256
- return this.h4x().c4o('info').f4e(name);
256
+ return this.f4x().a4o('info').d4e(name);
257
257
  };
258
258
  protoOf(MordantHelpFormatter).s18 = function (name) {
259
- return this.h4x().c4o('info').f4e(name);
259
+ return this.f4x().a4o('info').d4e(name);
260
260
  };
261
261
  protoOf(MordantHelpFormatter).t18 = function (name) {
262
- return this.h4x().c4o('info').f4e(name);
262
+ return this.f4x().a4o('info').d4e(name);
263
263
  };
264
264
  protoOf(MordantHelpFormatter).h1a = function (title) {
265
- return this.h4x().c4o('warning').f4e(title);
265
+ return this.f4x().a4o('warning').d4e(title);
266
266
  };
267
- protoOf(MordantHelpFormatter).i4x = function (title) {
268
- return this.h4x().c4o('warning').f4e(title);
267
+ protoOf(MordantHelpFormatter).g4x = function (title) {
268
+ return this.f4x().a4o('warning').d4e(title);
269
269
  };
270
270
  protoOf(MordantHelpFormatter).d19 = function (title) {
271
- return this.h4x().c4o('danger').f4e(title);
271
+ return this.f4x().a4o('danger').d4e(title);
272
272
  };
273
273
  protoOf(MordantHelpFormatter).i19 = function (parameter) {
274
- return this.h4x().c4o('muted').f4e(parameter);
274
+ return this.f4x().a4o('muted').d4e(parameter);
275
275
  };
276
276
  protoOf(MordantHelpFormatter).b1b = function (metavar) {
277
- return this.h4x().c4o('warning').r4k(this.h4x().c4o('muted')).f4e(metavar);
277
+ return this.f4x().a4o('warning').p4k(this.f4x().a4o('muted')).d4e(metavar);
278
278
  };
279
279
  protoOf(MordantHelpFormatter).o1b = function (row) {
280
280
  var tmp;
@@ -299,12 +299,12 @@ protoOf(MordantHelpFormatter).o1b = function (row) {
299
299
  return Text_init_$Create$(termPrefix + row.e18_1, Whitespace_PRE_WRAP_getInstance());
300
300
  };
301
301
  protoOf(MordantHelpFormatter).p1b = function (row) {
302
- return isBlank(row.f18_1) ? Text_init_$Create$('') : this.j4x(row.f18_1);
302
+ return isBlank(row.f18_1) ? Text_init_$Create$('') : this.h4x(row.f18_1);
303
303
  };
304
304
  protoOf(MordantHelpFormatter).s1a = function (rows) {
305
305
  return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
306
306
  };
307
- protoOf(MordantHelpFormatter).j4x = function (text) {
307
+ protoOf(MordantHelpFormatter).h4x = function (text) {
308
308
  return Text_init_$Create$(replace(text, '\n\n', '\x85\x85'), Whitespace_NORMAL_getInstance());
309
309
  };
310
310
  //region block: exports