@flock/wirespec 0.17.20 → 0.18.0-RC.1
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/arrow-arrow-annotations.mjs.map +1 -1
- package/arrow-arrow-atomic.mjs +13 -13
- package/arrow-arrow-atomic.mjs.map +1 -1
- package/arrow-arrow-core.mjs +594 -431
- package/arrow-arrow-core.mjs.map +1 -1
- package/arrow-arrow-exception-utils.mjs +30 -0
- package/arrow-arrow-exception-utils.mjs.map +1 -0
- package/clikt-clikt-mordant.mjs +318 -0
- package/clikt-clikt-mordant.mjs.map +1 -0
- package/clikt-clikt.mjs +3834 -3696
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +619 -682
- package/colormath-root-colormath.mjs.map +1 -1
- package/kotlin-js-core.mjs +4 -0
- package/kotlin-js-core.mjs.map +1 -0
- package/kotlin-js.mjs +4 -0
- package/kotlin-js.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +6339 -5816
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +8163 -8198
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-plugins-js-plain-objects-runtime.mjs +4 -0
- package/kotlin-plugins-js-plain-objects-runtime.mjs.map +1 -0
- package/kotlin-rgxgen.mjs +2007 -2062
- package/kotlin-rgxgen.mjs.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +4 -0
- package/kotlinx-atomicfu.mjs.map +1 -0
- package/kotlinx-coroutines-core.mjs +4 -0
- package/kotlinx-coroutines-core.mjs.map +1 -0
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +803 -839
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2483 -2553
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1869 -1928
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant-omnibus.mjs +4 -0
- package/mordant-mordant-omnibus.mjs.map +1 -0
- package/mordant-mordant.mjs +2532 -4425
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +4 -7
- package/seskar-core.mjs +4 -0
- package/seskar-core.mjs.map +1 -0
- package/wirespec-bin.mjs +13 -1
- package/wirespec-fetch.d.ts +4 -1
- package/wirespec-fetch.mjs +34 -0
- package/wirespec-serialization.d.ts +13 -2
- package/wirespec-serialization.mjs +22 -1
- package/wirespec-src-compiler-core.mjs +2856 -3908
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +1344 -413
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +1010 -337
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +1462 -385
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +2247 -0
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -0
- package/wirespec-src-compiler-emitters-scala.mjs +1018 -0
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -0
- package/wirespec-src-compiler-emitters-typescript.mjs +1542 -428
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +123 -145
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +17339 -0
- package/wirespec-src-compiler-ir.mjs.map +1 -0
- package/wirespec-src-compiler-lib.mjs +662 -728
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +630 -656
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +1705 -2024
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +418 -459
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +367 -331
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/{wirespec-src-plugin-npm.d.ts → wirespec-src-plugin-npm.d.mts} +247 -0
- package/wirespec-src-plugin-npm.mjs +166 -359
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +79 -106
- package/wirespec-src-tools-generator.mjs.map +1 -1
- package/arrow-arrow-continuations.mjs +0 -18
- package/arrow-arrow-continuations.mjs.map +0 -1
- package/markdown.mjs +0 -6756
- package/markdown.mjs.map +0 -1
|
@@ -1,58 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
THROW_IAE23kobfj9wdoxr as THROW_IAE,
|
|
3
|
-
|
|
3
|
+
Unit_instance28fytmsmm6r23 as Unit_instance,
|
|
4
4
|
Enum3alwj03lh1n41 as Enum,
|
|
5
5
|
protoOf180f3jzyo7rfj as protoOf,
|
|
6
|
-
|
|
6
|
+
defineProp3ur6h3slcvq4x as defineProp,
|
|
7
7
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
8
|
-
|
|
8
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
9
9
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
10
|
-
ArrayList_init_$Create$
|
|
10
|
+
ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$,
|
|
11
11
|
copyToArray2j022khrow2yi as copyToArray,
|
|
12
12
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
13
13
|
toString1pkumu07cwy4m as toString,
|
|
14
|
-
ArrayList_init_$Create$
|
|
14
|
+
ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
|
|
15
15
|
addAll1k27qatfgp3k5 as addAll,
|
|
16
16
|
KtList3hktaavzmj137 as KtList,
|
|
17
|
-
|
|
17
|
+
getKClass3t8tygqu4lcxf as getKClass,
|
|
18
18
|
arrayOf1akklvh2at202 as arrayOf,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
createKType31ecntyyaay3k as createKType,
|
|
20
|
+
createInvariantKTypeProjection3h5364czc0a8w as createInvariantKTypeProjection,
|
|
21
21
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
22
22
|
isInterface3d6p8outrmvmk as isInterface,
|
|
23
23
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from './wirespec-src-compiler-emitters-
|
|
28
|
-
import {
|
|
29
|
-
JavaShared_getInstance1dymryq5p96 as JavaShared_getInstance,
|
|
30
|
-
JavaEmitter1ye60adpym6m1 as JavaEmitter,
|
|
31
|
-
} from './wirespec-src-compiler-emitters-java.mjs';
|
|
32
|
-
import {
|
|
33
|
-
TypeScriptShared_getInstance1i92wfog13qlr as TypeScriptShared_getInstance,
|
|
34
|
-
TypeScriptEmitter1b8xo1btx35xi as TypeScriptEmitter,
|
|
35
|
-
} from './wirespec-src-compiler-emitters-typescript.mjs';
|
|
36
|
-
import {
|
|
37
|
-
PythonShared_instance2e1tc3jds5wkh as PythonShared_instance,
|
|
38
|
-
PythonEmitter2pjclp0u1gkmn as PythonEmitter,
|
|
39
|
-
} from './wirespec-src-compiler-emitters-python.mjs';
|
|
24
|
+
import { KotlinIrEmitterbehcpsqpuupy as KotlinIrEmitter } from './wirespec-src-compiler-emitters-kotlin.mjs';
|
|
25
|
+
import { JavaIrEmittereoab4zj7i4gq as JavaIrEmitter } from './wirespec-src-compiler-emitters-java.mjs';
|
|
26
|
+
import { TypeScriptIrEmitter3q01omscsvyj9 as TypeScriptIrEmitter } from './wirespec-src-compiler-emitters-typescript.mjs';
|
|
27
|
+
import { PythonIrEmittergogj1wcisct7 as PythonIrEmitter } from './wirespec-src-compiler-emitters-python.mjs';
|
|
40
28
|
import { main18ozy59zvnjcv as main } from './wirespec-src-plugin-cli.mjs';
|
|
41
29
|
import {
|
|
42
|
-
|
|
30
|
+
WirespecSpec_getInstance2x4f4ixdva2y9 as WirespecSpec_getInstance,
|
|
43
31
|
tokenize2ymgjd76lr1sl as tokenize,
|
|
44
32
|
FileUri2xjkmf4jmvpab as FileUri,
|
|
45
33
|
ModuleContent750xezzquzy9 as ModuleContent,
|
|
46
34
|
parse24q0pxmbph48t as parse,
|
|
47
35
|
get_noLogger1h44wq0vgj38h as get_noLogger,
|
|
48
|
-
|
|
36
|
+
Companion_instance1a2xqc448tlhh as Companion_instance,
|
|
49
37
|
EmitSharedetokabwo9q4q as EmitShared,
|
|
38
|
+
Emitted12h24rpo4uifw as Emitted,
|
|
50
39
|
get_spec3cnzsbb1ufwje as get_spec,
|
|
51
40
|
get_logger18kl6wyy7pz6k as get_logger,
|
|
52
41
|
HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
|
|
53
42
|
NoLoggero51bdi3we1s0 as NoLogger,
|
|
54
|
-
Emitted12h24rpo4uifw as Emitted,
|
|
55
43
|
} from './wirespec-src-compiler-core.mjs';
|
|
44
|
+
import {
|
|
45
|
+
_NonEmptyList___get_all__impl__pmf5092svcdxelgy1aa as _NonEmptyList___get_all__impl__pmf509,
|
|
46
|
+
_NonEmptyList___init__impl__fxd0xp3qwfhfa83yk9f as _NonEmptyList___init__impl__fxd0xp,
|
|
47
|
+
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
48
|
+
nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
|
|
49
|
+
Left2oemzq1tpcg4i as Left,
|
|
50
|
+
Right351sh2v8odavg as Right,
|
|
51
|
+
} from './arrow-arrow-core.mjs';
|
|
56
52
|
import {
|
|
57
53
|
produce6u3tkbj47p5z as produce,
|
|
58
54
|
produce3sny9ut66ny5i as produce_0,
|
|
@@ -62,30 +58,23 @@ import {
|
|
|
62
58
|
produce35d26104l8zai as produce_3,
|
|
63
59
|
} from './wirespec-src-compiler-lib.mjs';
|
|
64
60
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
curriedvu30mssefbqd as curried,
|
|
70
|
-
} from './arrow-arrow-core.mjs';
|
|
71
|
-
import {
|
|
72
|
-
OpenAPIV2Parser_instance3853tvzrce12g as OpenAPIV2Parser_instance,
|
|
73
|
-
OpenAPIV3Parser_instance23izvpvl4ad2l as OpenAPIV3Parser_instance,
|
|
74
|
-
OpenAPIV2Emitter_getInstance2h4ew4hncs9qx as OpenAPIV2Emitter_getInstance,
|
|
75
|
-
OpenAPIV3Emitter_getInstance26cg8x9h7k2p7 as OpenAPIV3Emitter_getInstance,
|
|
61
|
+
OpenAPIV2Parser_instance13nnqqmpglx58 as OpenAPIV2Parser_instance,
|
|
62
|
+
OpenAPIV3Parser_instance2np8yf419qqkk as OpenAPIV3Parser_instance,
|
|
63
|
+
OpenAPIV2Emitter_getInstance102n45c081e7p as OpenAPIV2Emitter_getInstance,
|
|
64
|
+
OpenAPIV3Emitter_getInstance1fafdn8z2657y as OpenAPIV3Emitter_getInstance,
|
|
76
65
|
} from './wirespec-src-converter-openapi.mjs';
|
|
77
66
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
67
|
+
AvroParser_instanceyxg9ykrsu04j as AvroParser_instance,
|
|
68
|
+
AvroEmitter_getInstancesm3gayvnct4k as AvroEmitter_getInstance,
|
|
80
69
|
Typel89stdvlxo83 as Type,
|
|
81
70
|
} from './wirespec-src-converter-avro.mjs';
|
|
82
71
|
import { generate15jqrwqywee3p as generate } from './wirespec-src-tools-generator.mjs';
|
|
83
72
|
import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
|
|
84
73
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
74
|
+
Companion_getInstancep9wmua5f5pn5 as Companion_getInstance,
|
|
75
|
+
Companion_getInstance2fzv99ie3zycq as Companion_getInstance_0,
|
|
87
76
|
} from './kotlin-openapi-bindings.mjs';
|
|
88
|
-
import {
|
|
77
|
+
import { Default_getInstancejkv49nkel8hp as Default_getInstance } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
89
78
|
import {
|
|
90
79
|
serializer1i4e9ym37oxmo as serializer,
|
|
91
80
|
KSerializerzf77vz1967fq as KSerializer,
|
|
@@ -97,7 +86,7 @@ initMetadataForClass(Shared, 'Shared', VOID, Enum);
|
|
|
97
86
|
initMetadataForClass(Emitters, 'Emitters', VOID, Enum);
|
|
98
87
|
initMetadataForClass(Converters, 'Converters', VOID, Enum);
|
|
99
88
|
initMetadataForClass(parse$1, VOID, VOID, VOID, [HasLanguageSpec, NoLogger]);
|
|
100
|
-
initMetadataForClass(generate$
|
|
89
|
+
initMetadataForClass(generate$1, VOID, VOID, VOID, [HasLanguageSpec, NoLogger]);
|
|
101
90
|
//endregion
|
|
102
91
|
var Shared_KOTLIN_instance;
|
|
103
92
|
var Shared_JAVA_instance;
|
|
@@ -118,7 +107,7 @@ function valueOf(value) {
|
|
|
118
107
|
return Shared_PYTHON_getInstance();
|
|
119
108
|
default:
|
|
120
109
|
Shared_initEntries();
|
|
121
|
-
THROW_IAE('No enum constant
|
|
110
|
+
THROW_IAE('No enum constant community.flock.wirespec.plugin.npm.Shared.' + value);
|
|
122
111
|
break;
|
|
123
112
|
}
|
|
124
113
|
}
|
|
@@ -127,16 +116,16 @@ function Shared_initEntries() {
|
|
|
127
116
|
if (Shared_entriesInitialized)
|
|
128
117
|
return Unit_instance;
|
|
129
118
|
Shared_entriesInitialized = true;
|
|
130
|
-
Shared_KOTLIN_instance = new Shared('KOTLIN', 0,
|
|
131
|
-
Shared_JAVA_instance = new Shared('JAVA', 1,
|
|
132
|
-
Shared_TYPESCRIPT_instance = new Shared('TYPESCRIPT', 2,
|
|
133
|
-
Shared_PYTHON_instance = new Shared('PYTHON', 3,
|
|
119
|
+
Shared_KOTLIN_instance = new Shared('KOTLIN', 0, (new KotlinIrEmitter()).u1v().s1w());
|
|
120
|
+
Shared_JAVA_instance = new Shared('JAVA', 1, (new JavaIrEmitter()).u1v().s1w());
|
|
121
|
+
Shared_TYPESCRIPT_instance = new Shared('TYPESCRIPT', 2, (new TypeScriptIrEmitter()).u1v().s1w());
|
|
122
|
+
Shared_PYTHON_instance = new Shared('PYTHON', 3, (new PythonIrEmitter()).u1v().s1w());
|
|
134
123
|
}
|
|
135
124
|
function Shared(name, ordinal, source) {
|
|
136
125
|
Enum.call(this, name, ordinal);
|
|
137
126
|
this.source = source;
|
|
138
127
|
}
|
|
139
|
-
protoOf(Shared).
|
|
128
|
+
protoOf(Shared).s1w = function () {
|
|
140
129
|
return this.source;
|
|
141
130
|
};
|
|
142
131
|
var Emitters_WIRESPEC_instance;
|
|
@@ -170,7 +159,7 @@ function valueOf_0(value) {
|
|
|
170
159
|
return Emitters_AVRO_getInstance();
|
|
171
160
|
default:
|
|
172
161
|
Emitters_initEntries();
|
|
173
|
-
THROW_IAE('No enum constant
|
|
162
|
+
THROW_IAE('No enum constant community.flock.wirespec.plugin.npm.Emitters.' + value);
|
|
174
163
|
break;
|
|
175
164
|
}
|
|
176
165
|
}
|
|
@@ -207,7 +196,7 @@ function valueOf_1(value) {
|
|
|
207
196
|
return Converters_AVRO_getInstance();
|
|
208
197
|
default:
|
|
209
198
|
Converters_initEntries();
|
|
210
|
-
THROW_IAE('No enum constant
|
|
199
|
+
THROW_IAE('No enum constant community.flock.wirespec.plugin.npm.Converters.' + value);
|
|
211
200
|
break;
|
|
212
201
|
}
|
|
213
202
|
}
|
|
@@ -227,24 +216,21 @@ function cli(args) {
|
|
|
227
216
|
return main(args);
|
|
228
217
|
}
|
|
229
218
|
function tokenize_0(source) {
|
|
230
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
231
219
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
232
220
|
var this_0 = tokenize(WirespecSpec_getInstance(), source);
|
|
233
|
-
// Inline function 'community.flock.wirespec.plugin.npm.tokenize.<anonymous>' call
|
|
234
|
-
var it = this_0.pk_1;
|
|
235
|
-
var tmp = produce(it);
|
|
236
221
|
// Inline function 'kotlin.collections.map' call
|
|
237
|
-
var this_1 = this_0
|
|
222
|
+
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
238
223
|
// Inline function 'kotlin.collections.mapTo' call
|
|
239
224
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
240
|
-
var
|
|
241
|
-
while (
|
|
242
|
-
var item =
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
destination.e(tmp$ret$1);
|
|
225
|
+
var _iterator__ex2g4s = this_1.t();
|
|
226
|
+
while (_iterator__ex2g4s.u()) {
|
|
227
|
+
var item = _iterator__ex2g4s.v();
|
|
228
|
+
var tmp$ret$0 = produce(item);
|
|
229
|
+
destination.x(tmp$ret$0);
|
|
246
230
|
}
|
|
247
|
-
var
|
|
231
|
+
var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
232
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
233
|
+
var this_2 = new NonEmptyList(tmp$ret$3);
|
|
248
234
|
return copyToArray(this_2);
|
|
249
235
|
}
|
|
250
236
|
function parse_0(source) {
|
|
@@ -253,15 +239,15 @@ function parse_0(source) {
|
|
|
253
239
|
function convert(source, converters, strict) {
|
|
254
240
|
strict = strict === VOID ? false : strict;
|
|
255
241
|
var tmp;
|
|
256
|
-
switch (converters.
|
|
242
|
+
switch (converters.c3_1) {
|
|
257
243
|
case 0:
|
|
258
|
-
tmp = produce_1(OpenAPIV2Parser_instance.
|
|
244
|
+
tmp = produce_1(OpenAPIV2Parser_instance.a3i(new ModuleContent(new FileUri(''), source), strict));
|
|
259
245
|
break;
|
|
260
246
|
case 1:
|
|
261
|
-
tmp = produce_1(OpenAPIV3Parser_instance.
|
|
247
|
+
tmp = produce_1(OpenAPIV3Parser_instance.a3i(new ModuleContent(new FileUri(''), source), strict));
|
|
262
248
|
break;
|
|
263
249
|
case 2:
|
|
264
|
-
tmp = produce_1(AvroParser_instance.
|
|
250
|
+
tmp = produce_1(AvroParser_instance.a3i(new ModuleContent(new FileUri(''), source), strict));
|
|
265
251
|
break;
|
|
266
252
|
default:
|
|
267
253
|
noWhenBranchMatchedException();
|
|
@@ -271,15 +257,11 @@ function convert(source, converters, strict) {
|
|
|
271
257
|
}
|
|
272
258
|
function generate_0(source, type) {
|
|
273
259
|
// Inline function 'arrow.core.Either.map' call
|
|
274
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
275
260
|
// Inline function 'arrow.core.flatMap' call
|
|
276
|
-
var this_0 = parse(new generate$
|
|
277
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
261
|
+
var this_0 = parse(new generate$1(), nonEmptyListOf(new ModuleContent(new FileUri(''), source), []));
|
|
278
262
|
var tmp;
|
|
279
263
|
if (this_0 instanceof Right) {
|
|
280
|
-
|
|
281
|
-
// Inline function 'community.flock.wirespec.plugin.npm.generate.<anonymous>' call
|
|
282
|
-
var it = this_0.ek_1;
|
|
264
|
+
var it = this_0.rl_1;
|
|
283
265
|
var tmp$ret$0 = toString(generate(it, type));
|
|
284
266
|
tmp = new Right(tmp$ret$0);
|
|
285
267
|
} else {
|
|
@@ -294,347 +276,172 @@ function generate_0(source, type) {
|
|
|
294
276
|
}
|
|
295
277
|
function emit(wsAst, emitter, packageName, emitShared) {
|
|
296
278
|
var ast = consume(wsAst);
|
|
297
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
298
|
-
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
299
279
|
var tmp;
|
|
300
|
-
switch (emitter.
|
|
280
|
+
switch (emitter.c3_1) {
|
|
301
281
|
case 0:
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
var this_0 = ast.d25_1;
|
|
305
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
306
|
-
|
|
307
|
-
var it = this_0.pk_1;
|
|
308
|
-
var tmp_0 = (new WirespecEmitter()).v25(it, get_noLogger()).nk();
|
|
309
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
310
|
-
|
|
311
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
312
|
-
|
|
313
|
-
var this_1 = this_0.qk_1;
|
|
314
|
-
var destination = ArrayList_init_$Create$_0();
|
|
315
|
-
var tmp0_iterator = this_1.g();
|
|
316
|
-
while (tmp0_iterator.h()) {
|
|
317
|
-
var element = tmp0_iterator.i();
|
|
318
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
319
|
-
var list = (new WirespecEmitter()).v25(element, get_noLogger());
|
|
320
|
-
addAll(destination, list);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
tmp = tmp_0.uk(destination);
|
|
282
|
+
tmp = (new WirespecEmitter()).qn(ast, get_noLogger());
|
|
324
283
|
break;
|
|
325
284
|
case 1:
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
var this_2 = ast.d25_1;
|
|
329
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
330
|
-
|
|
331
|
-
var it_0 = this_2.pk_1;
|
|
332
|
-
var tmp_1 = (new TypeScriptEmitter()).v25(it_0, get_noLogger()).nk();
|
|
333
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
334
|
-
|
|
335
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
336
|
-
|
|
337
|
-
var this_3 = this_2.qk_1;
|
|
338
|
-
var destination_0 = ArrayList_init_$Create$_0();
|
|
339
|
-
var tmp0_iterator_0 = this_3.g();
|
|
340
|
-
while (tmp0_iterator_0.h()) {
|
|
341
|
-
var element_0 = tmp0_iterator_0.i();
|
|
342
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
343
|
-
var list_0 = (new TypeScriptEmitter()).v25(element_0, get_noLogger());
|
|
344
|
-
addAll(destination_0, list_0);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
tmp = tmp_1.uk(destination_0);
|
|
285
|
+
tmp = (new TypeScriptIrEmitter()).qn(ast, get_noLogger());
|
|
348
286
|
break;
|
|
349
287
|
case 2:
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
var this_4 = ast.d25_1;
|
|
353
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
354
|
-
|
|
355
|
-
var it_1 = this_4.pk_1;
|
|
356
|
-
var tmp_2 = (new JavaEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(it_1, get_noLogger()).nk();
|
|
357
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
358
|
-
|
|
359
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
360
|
-
|
|
361
|
-
var this_5 = this_4.qk_1;
|
|
362
|
-
var destination_1 = ArrayList_init_$Create$_0();
|
|
363
|
-
var tmp0_iterator_1 = this_5.g();
|
|
364
|
-
while (tmp0_iterator_1.h()) {
|
|
365
|
-
var element_1 = tmp0_iterator_1.i();
|
|
366
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
367
|
-
var list_1 = (new JavaEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(element_1, get_noLogger());
|
|
368
|
-
addAll(destination_1, list_1);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
tmp = tmp_2.uk(destination_1);
|
|
288
|
+
tmp = (new JavaIrEmitter(Companion_instance.nr(packageName), new EmitShared(emitShared))).qn(ast, get_noLogger());
|
|
372
289
|
break;
|
|
373
290
|
case 3:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
var this_6 = ast.d25_1;
|
|
377
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
378
|
-
|
|
379
|
-
var it_2 = this_6.pk_1;
|
|
380
|
-
var tmp_3 = (new KotlinEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(it_2, get_noLogger()).nk();
|
|
381
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
382
|
-
|
|
383
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
384
|
-
|
|
385
|
-
var this_7 = this_6.qk_1;
|
|
386
|
-
var destination_2 = ArrayList_init_$Create$_0();
|
|
387
|
-
var tmp0_iterator_2 = this_7.g();
|
|
388
|
-
while (tmp0_iterator_2.h()) {
|
|
389
|
-
var element_2 = tmp0_iterator_2.i();
|
|
390
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
391
|
-
var list_2 = (new KotlinEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(element_2, get_noLogger());
|
|
392
|
-
addAll(destination_2, list_2);
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
tmp = tmp_3.uk(destination_2);
|
|
291
|
+
tmp = (new KotlinIrEmitter(Companion_instance.nr(packageName), new EmitShared(emitShared))).qn(ast, get_noLogger());
|
|
396
292
|
break;
|
|
397
293
|
case 4:
|
|
294
|
+
tmp = (new PythonIrEmitter(Companion_instance.nr(packageName), new EmitShared(emitShared))).qn(ast, get_noLogger());
|
|
295
|
+
break;
|
|
296
|
+
case 5:
|
|
297
|
+
var tmp_0 = OpenAPIV2Emitter_getInstance();
|
|
398
298
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
399
299
|
|
|
400
|
-
var
|
|
401
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
402
|
-
|
|
403
|
-
var it_3 = this_8.pk_1;
|
|
404
|
-
var tmp_4 = (new PythonEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(it_3, get_noLogger()).nk();
|
|
300
|
+
var this_0 = ast.dq_1;
|
|
405
301
|
// Inline function 'kotlin.collections.flatMap' call
|
|
406
302
|
|
|
303
|
+
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
407
304
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
408
305
|
|
|
409
|
-
var
|
|
410
|
-
var
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
var
|
|
414
|
-
|
|
415
|
-
var list_3 = (new PythonEmitter(Companion_instance.n26(packageName), new EmitShared(emitShared))).v25(element_3, get_noLogger());
|
|
416
|
-
addAll(destination_3, list_3);
|
|
306
|
+
var destination = ArrayList_init_$Create$_0();
|
|
307
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
308
|
+
while (_iterator__ex2g4s.u()) {
|
|
309
|
+
var element = _iterator__ex2g4s.v();
|
|
310
|
+
var list = new NonEmptyList(element.fq_1);
|
|
311
|
+
addAll(destination, list);
|
|
417
312
|
}
|
|
418
313
|
|
|
419
|
-
tmp =
|
|
420
|
-
|
|
421
|
-
case 5:
|
|
314
|
+
var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
315
|
+
var tmp0_0 = tmp_0.y3h(tmp$ret$3, get_noLogger());
|
|
422
316
|
// Inline function 'kotlin.let' call
|
|
423
317
|
|
|
424
318
|
// Inline function 'kotlin.let' call
|
|
425
319
|
|
|
320
|
+
var it = encode(Companion_getInstance().q2n())(tmp0_0);
|
|
426
321
|
// Inline function 'kotlin.let' call
|
|
427
322
|
|
|
428
|
-
var
|
|
323
|
+
var it_0 = new Emitted('openapi', it);
|
|
324
|
+
tmp = nonEmptyListOf(it_0, []);
|
|
325
|
+
break;
|
|
326
|
+
case 6:
|
|
327
|
+
var tmp_1 = OpenAPIV3Emitter_getInstance();
|
|
429
328
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
430
329
|
|
|
431
|
-
var
|
|
432
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
433
|
-
|
|
434
|
-
var tmp_6 = this_10.pk_1.f25_1.nk();
|
|
330
|
+
var this_1 = ast.dq_1;
|
|
435
331
|
// Inline function 'kotlin.collections.flatMap' call
|
|
436
332
|
|
|
333
|
+
var tmp0_1 = _NonEmptyList___get_all__impl__pmf509(this_1);
|
|
437
334
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
438
335
|
|
|
439
|
-
var
|
|
440
|
-
var
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
var
|
|
444
|
-
|
|
445
|
-
var list_4 = element_4.f25_1;
|
|
446
|
-
addAll(destination_4, list_4);
|
|
336
|
+
var destination_0 = ArrayList_init_$Create$_0();
|
|
337
|
+
var _iterator__ex2g4s_0 = tmp0_1.t();
|
|
338
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
339
|
+
var element_0 = _iterator__ex2g4s_0.v();
|
|
340
|
+
var list_0 = new NonEmptyList(element_0.fq_1);
|
|
341
|
+
addAll(destination_0, list_0);
|
|
447
342
|
}
|
|
448
343
|
|
|
449
|
-
var tmp$ret$
|
|
450
|
-
var
|
|
451
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
452
|
-
|
|
453
|
-
var this_13 = encode(Companion_getInstance().v17())(this_12);
|
|
454
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
455
|
-
|
|
456
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
457
|
-
|
|
458
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
459
|
-
|
|
460
|
-
var it_4 = curried(Emitted$_init_$ref_9uzepx())('openapi')(this_13);
|
|
461
|
-
tmp = nonEmptyListOf(it_4, []);
|
|
462
|
-
break;
|
|
463
|
-
case 6:
|
|
344
|
+
var tmp$ret$12 = _NonEmptyList___init__impl__fxd0xp(destination_0);
|
|
345
|
+
var tmp0_2 = tmp_1.c3i(tmp$ret$12, null, get_noLogger());
|
|
464
346
|
// Inline function 'kotlin.let' call
|
|
465
347
|
|
|
466
348
|
// Inline function 'kotlin.let' call
|
|
467
349
|
|
|
350
|
+
var it_1 = encode(Companion_getInstance_0().q2n())(tmp0_2);
|
|
468
351
|
// Inline function 'kotlin.let' call
|
|
469
352
|
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
var this_14 = ast.d25_1;
|
|
474
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
475
|
-
|
|
476
|
-
var tmp_8 = this_14.pk_1.f25_1.nk();
|
|
477
|
-
// Inline function 'kotlin.collections.flatMap' call
|
|
478
|
-
|
|
479
|
-
// Inline function 'kotlin.collections.flatMapTo' call
|
|
480
|
-
|
|
481
|
-
var this_15 = this_14.qk_1;
|
|
482
|
-
var destination_5 = ArrayList_init_$Create$_0();
|
|
483
|
-
var tmp0_iterator_5 = this_15.g();
|
|
484
|
-
while (tmp0_iterator_5.h()) {
|
|
485
|
-
var element_5 = tmp0_iterator_5.i();
|
|
486
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
487
|
-
var list_5 = element_5.f25_1;
|
|
488
|
-
addAll(destination_5, list_5);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
var tmp$ret$39 = tmp_8.uk(destination_5);
|
|
492
|
-
var this_16 = tmp_7.l2f(tmp$ret$39, null, get_noLogger());
|
|
493
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
494
|
-
|
|
495
|
-
var this_17 = encode(Companion_getInstance_0().v17())(this_16);
|
|
496
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
497
|
-
|
|
498
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
499
|
-
|
|
500
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
501
|
-
|
|
502
|
-
var it_5 = curried(Emitted$_init_$ref_9uzepx_0())('openapi')(this_17);
|
|
503
|
-
tmp = nonEmptyListOf(it_5, []);
|
|
353
|
+
var it_2 = new Emitted('openapi', it_1);
|
|
354
|
+
tmp = nonEmptyListOf(it_2, []);
|
|
504
355
|
break;
|
|
505
356
|
case 7:
|
|
506
357
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
507
358
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
511
|
-
|
|
512
|
-
var this_18 = ast.d25_1;
|
|
513
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
514
|
-
|
|
515
|
-
var ast_0 = this_18.pk_1;
|
|
516
|
-
var tmp_9 = AvroEmitter_getInstance().s2d(ast_0);
|
|
359
|
+
var this_2 = ast.dq_1;
|
|
517
360
|
// Inline function 'kotlin.collections.map' call
|
|
518
361
|
|
|
519
|
-
var
|
|
362
|
+
var this_3 = _NonEmptyList___get_all__impl__pmf509(this_2);
|
|
520
363
|
// Inline function 'kotlin.collections.mapTo' call
|
|
521
364
|
|
|
522
|
-
var
|
|
523
|
-
var
|
|
524
|
-
while (
|
|
525
|
-
var item =
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
destination_6.e(tmp$ret$46);
|
|
365
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
366
|
+
var _iterator__ex2g4s_1 = this_3.t();
|
|
367
|
+
while (_iterator__ex2g4s_1.u()) {
|
|
368
|
+
var item = _iterator__ex2g4s_1.v();
|
|
369
|
+
var tmp$ret$18 = AvroEmitter_getInstance().i3j(item);
|
|
370
|
+
destination_1.x(tmp$ret$18);
|
|
529
371
|
}
|
|
530
372
|
|
|
531
|
-
|
|
532
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
533
|
-
|
|
534
|
-
var it_6 = this_20.pk_1;
|
|
535
|
-
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
536
|
-
|
|
537
|
-
var this_21 = Default_getInstance();
|
|
538
|
-
// Inline function 'kotlinx.serialization.serializer' call
|
|
539
|
-
|
|
540
|
-
var this_22 = this_21.zo();
|
|
541
|
-
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
373
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
542
374
|
|
|
543
|
-
var
|
|
544
|
-
var tmp$ret$51 = isInterface(this_23, KSerializer) ? this_23 : THROW_CCE();
|
|
545
|
-
var tmp_10 = this_21.m15(tmp$ret$51, it_6);
|
|
375
|
+
var this_4 = _NonEmptyList___init__impl__fxd0xp(destination_1);
|
|
546
376
|
// Inline function 'kotlin.collections.map' call
|
|
547
377
|
|
|
548
|
-
var
|
|
378
|
+
var this_5 = _NonEmptyList___get_all__impl__pmf509(this_4);
|
|
549
379
|
// Inline function 'kotlin.collections.mapTo' call
|
|
550
380
|
|
|
551
|
-
var
|
|
552
|
-
var
|
|
553
|
-
while (
|
|
554
|
-
var item_0 =
|
|
555
|
-
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
381
|
+
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_5, 10));
|
|
382
|
+
var _iterator__ex2g4s_2 = this_5.t();
|
|
383
|
+
while (_iterator__ex2g4s_2.u()) {
|
|
384
|
+
var item_0 = _iterator__ex2g4s_2.v();
|
|
556
385
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
557
|
-
var
|
|
386
|
+
var this_6 = Default_getInstance();
|
|
558
387
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
559
|
-
var
|
|
388
|
+
var this_7 = this_6.s24();
|
|
560
389
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
561
|
-
var
|
|
562
|
-
var tmp$ret$
|
|
563
|
-
var tmp$ret$
|
|
564
|
-
|
|
390
|
+
var this_8 = serializer(this_7, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Type), arrayOf([]), false))]), false));
|
|
391
|
+
var tmp$ret$23 = isInterface(this_8, KSerializer) ? this_8 : THROW_CCE();
|
|
392
|
+
var tmp$ret$25 = this_6.f2l(tmp$ret$23, item_0);
|
|
393
|
+
destination_2.x(tmp$ret$25);
|
|
565
394
|
}
|
|
566
395
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
var
|
|
396
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
397
|
+
|
|
398
|
+
var this_9 = _NonEmptyList___init__impl__fxd0xp(destination_2);
|
|
570
399
|
// Inline function 'kotlin.collections.map' call
|
|
571
400
|
|
|
572
|
-
var
|
|
401
|
+
var this_10 = _NonEmptyList___get_all__impl__pmf509(this_9);
|
|
573
402
|
// Inline function 'kotlin.collections.mapTo' call
|
|
574
403
|
|
|
575
|
-
var
|
|
576
|
-
var
|
|
577
|
-
while (
|
|
578
|
-
var item_1 =
|
|
579
|
-
var tmp$ret$
|
|
580
|
-
|
|
404
|
+
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_10, 10));
|
|
405
|
+
var _iterator__ex2g4s_3 = this_10.t();
|
|
406
|
+
while (_iterator__ex2g4s_3.u()) {
|
|
407
|
+
var item_1 = _iterator__ex2g4s_3.v();
|
|
408
|
+
var tmp$ret$29 = new Emitted('avro', item_1);
|
|
409
|
+
destination_3.x(tmp$ret$29);
|
|
581
410
|
}
|
|
582
411
|
|
|
583
|
-
tmp =
|
|
412
|
+
tmp = _NonEmptyList___init__impl__fxd0xp(destination_3);
|
|
584
413
|
break;
|
|
585
414
|
default:
|
|
586
415
|
noWhenBranchMatchedException();
|
|
587
416
|
break;
|
|
588
417
|
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
var it_7 = this_30.pk_1;
|
|
592
|
-
var tmp_12 = produce_3(it_7);
|
|
418
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
419
|
+
var this_11 = tmp;
|
|
593
420
|
// Inline function 'kotlin.collections.map' call
|
|
594
|
-
var
|
|
421
|
+
var this_12 = _NonEmptyList___get_all__impl__pmf509(this_11);
|
|
595
422
|
// Inline function 'kotlin.collections.mapTo' call
|
|
596
|
-
var
|
|
597
|
-
var
|
|
598
|
-
while (
|
|
599
|
-
var item_2 =
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
destination_9.e(tmp$ret$67);
|
|
423
|
+
var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_12, 10));
|
|
424
|
+
var _iterator__ex2g4s_4 = this_12.t();
|
|
425
|
+
while (_iterator__ex2g4s_4.u()) {
|
|
426
|
+
var item_2 = _iterator__ex2g4s_4.v();
|
|
427
|
+
var tmp$ret$33 = produce_3(item_2);
|
|
428
|
+
destination_4.x(tmp$ret$33);
|
|
603
429
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
430
|
+
var tmp$ret$36 = _NonEmptyList___init__impl__fxd0xp(destination_4);
|
|
431
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
432
|
+
var this_13 = new NonEmptyList(tmp$ret$36);
|
|
433
|
+
return copyToArray(this_13);
|
|
606
434
|
}
|
|
607
435
|
function encode(serializer) {
|
|
608
436
|
return encode$lambda(serializer);
|
|
609
437
|
}
|
|
610
438
|
function parse$1() {
|
|
611
439
|
}
|
|
612
|
-
function generate$
|
|
613
|
-
}
|
|
614
|
-
function Emitted$_init_$ref_9uzepx() {
|
|
615
|
-
var l = function (p0, p1) {
|
|
616
|
-
return new Emitted(p0, p1);
|
|
617
|
-
};
|
|
618
|
-
l.callableName = '<init>';
|
|
619
|
-
return l;
|
|
620
|
-
}
|
|
621
|
-
function Emitted$_init_$ref_9uzepx_0() {
|
|
622
|
-
var l = function (p0, p1) {
|
|
623
|
-
return new Emitted(p0, p1);
|
|
624
|
-
};
|
|
625
|
-
l.callableName = '<init>';
|
|
626
|
-
return l;
|
|
627
|
-
}
|
|
628
|
-
function Emitted$_init_$ref_9uzepx_1() {
|
|
629
|
-
var l = function (p0, p1) {
|
|
630
|
-
return new Emitted(p0, p1);
|
|
631
|
-
};
|
|
632
|
-
l.callableName = '<init>';
|
|
633
|
-
return l;
|
|
440
|
+
function generate$1() {
|
|
634
441
|
}
|
|
635
442
|
function encode$lambda($serializer) {
|
|
636
443
|
return function (value) {
|
|
637
|
-
return Default_getInstance().
|
|
444
|
+
return Default_getInstance().f2l($serializer, value);
|
|
638
445
|
};
|
|
639
446
|
}
|
|
640
447
|
function Shared_KOTLIN_getInstance() {
|
|
@@ -698,39 +505,39 @@ function Converters_AVRO_getInstance() {
|
|
|
698
505
|
return Converters_AVRO_instance;
|
|
699
506
|
}
|
|
700
507
|
//region block: post-declaration
|
|
701
|
-
defineProp(protoOf(Shared), 'name', protoOf(Shared).
|
|
702
|
-
defineProp(protoOf(Shared), 'ordinal', protoOf(Shared).
|
|
703
|
-
defineProp(protoOf(Emitters), 'name', protoOf(Emitters).
|
|
704
|
-
defineProp(protoOf(Emitters), 'ordinal', protoOf(Emitters).
|
|
705
|
-
defineProp(protoOf(Converters), 'name', protoOf(Converters).
|
|
706
|
-
defineProp(protoOf(Converters), 'ordinal', protoOf(Converters).
|
|
707
|
-
protoOf(parse$1).
|
|
708
|
-
protoOf(parse$1).
|
|
709
|
-
protoOf(generate$
|
|
710
|
-
protoOf(generate$
|
|
508
|
+
defineProp(protoOf(Shared), 'name', protoOf(Shared).m);
|
|
509
|
+
defineProp(protoOf(Shared), 'ordinal', protoOf(Shared).d3);
|
|
510
|
+
defineProp(protoOf(Emitters), 'name', protoOf(Emitters).m);
|
|
511
|
+
defineProp(protoOf(Emitters), 'ordinal', protoOf(Emitters).d3);
|
|
512
|
+
defineProp(protoOf(Converters), 'name', protoOf(Converters).m);
|
|
513
|
+
defineProp(protoOf(Converters), 'ordinal', protoOf(Converters).d3);
|
|
514
|
+
protoOf(parse$1).in = get_spec;
|
|
515
|
+
protoOf(parse$1).jn = get_logger;
|
|
516
|
+
protoOf(generate$1).in = get_spec;
|
|
517
|
+
protoOf(generate$1).jn = get_logger;
|
|
711
518
|
//endregion
|
|
712
519
|
//region block: exports
|
|
713
520
|
Shared.values = values;
|
|
714
521
|
Shared.valueOf = valueOf;
|
|
715
|
-
defineProp(Shared, 'KOTLIN', Shared_KOTLIN_getInstance);
|
|
716
|
-
defineProp(Shared, 'JAVA', Shared_JAVA_getInstance);
|
|
717
|
-
defineProp(Shared, 'TYPESCRIPT', Shared_TYPESCRIPT_getInstance);
|
|
718
|
-
defineProp(Shared, 'PYTHON', Shared_PYTHON_getInstance);
|
|
522
|
+
defineProp(Shared, 'KOTLIN', Shared_KOTLIN_getInstance, VOID, true);
|
|
523
|
+
defineProp(Shared, 'JAVA', Shared_JAVA_getInstance, VOID, true);
|
|
524
|
+
defineProp(Shared, 'TYPESCRIPT', Shared_TYPESCRIPT_getInstance, VOID, true);
|
|
525
|
+
defineProp(Shared, 'PYTHON', Shared_PYTHON_getInstance, VOID, true);
|
|
719
526
|
Emitters.values = values_0;
|
|
720
527
|
Emitters.valueOf = valueOf_0;
|
|
721
|
-
defineProp(Emitters, 'WIRESPEC', Emitters_WIRESPEC_getInstance);
|
|
722
|
-
defineProp(Emitters, 'TYPESCRIPT', Emitters_TYPESCRIPT_getInstance);
|
|
723
|
-
defineProp(Emitters, 'JAVA', Emitters_JAVA_getInstance);
|
|
724
|
-
defineProp(Emitters, 'KOTLIN', Emitters_KOTLIN_getInstance);
|
|
725
|
-
defineProp(Emitters, 'PYTHON', Emitters_PYTHON_getInstance);
|
|
726
|
-
defineProp(Emitters, 'OPENAPI_V2', Emitters_OPENAPI_V2_getInstance);
|
|
727
|
-
defineProp(Emitters, 'OPENAPI_V3', Emitters_OPENAPI_V3_getInstance);
|
|
728
|
-
defineProp(Emitters, 'AVRO', Emitters_AVRO_getInstance);
|
|
528
|
+
defineProp(Emitters, 'WIRESPEC', Emitters_WIRESPEC_getInstance, VOID, true);
|
|
529
|
+
defineProp(Emitters, 'TYPESCRIPT', Emitters_TYPESCRIPT_getInstance, VOID, true);
|
|
530
|
+
defineProp(Emitters, 'JAVA', Emitters_JAVA_getInstance, VOID, true);
|
|
531
|
+
defineProp(Emitters, 'KOTLIN', Emitters_KOTLIN_getInstance, VOID, true);
|
|
532
|
+
defineProp(Emitters, 'PYTHON', Emitters_PYTHON_getInstance, VOID, true);
|
|
533
|
+
defineProp(Emitters, 'OPENAPI_V2', Emitters_OPENAPI_V2_getInstance, VOID, true);
|
|
534
|
+
defineProp(Emitters, 'OPENAPI_V3', Emitters_OPENAPI_V3_getInstance, VOID, true);
|
|
535
|
+
defineProp(Emitters, 'AVRO', Emitters_AVRO_getInstance, VOID, true);
|
|
729
536
|
Converters.values = values_1;
|
|
730
537
|
Converters.valueOf = valueOf_1;
|
|
731
|
-
defineProp(Converters, 'OPENAPI_V2', Converters_OPENAPI_V2_getInstance);
|
|
732
|
-
defineProp(Converters, 'OPENAPI_V3', Converters_OPENAPI_V3_getInstance);
|
|
733
|
-
defineProp(Converters, 'AVRO', Converters_AVRO_getInstance);
|
|
538
|
+
defineProp(Converters, 'OPENAPI_V2', Converters_OPENAPI_V2_getInstance, VOID, true);
|
|
539
|
+
defineProp(Converters, 'OPENAPI_V3', Converters_OPENAPI_V3_getInstance, VOID, true);
|
|
540
|
+
defineProp(Converters, 'AVRO', Converters_AVRO_getInstance, VOID, true);
|
|
734
541
|
export {
|
|
735
542
|
Shared as Shared,
|
|
736
543
|
Emitters as Emitters,
|