@flock/wirespec 0.16.7 → 0.16.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt.mjs +1172 -1172
- package/colormath-root-colormath.mjs +425 -425
- package/kotlin-kotlin-stdlib.mjs +31 -31
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1767 -1767
- package/kotlinx-io-kotlinx-io-core.mjs +380 -380
- package/markdown.mjs +1864 -1864
- package/mordant-mordant.mjs +1638 -1638
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1908 -1928
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +697 -609
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +627 -577
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +789 -739
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +288 -284
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +258 -222
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +310 -310
- package/wirespec-src-converter-avro.mjs +372 -347
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +507 -499
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +136 -136
- package/wirespec-src-plugin-cli.mjs +75 -75
- package/wirespec-src-plugin-npm.mjs +15 -15
- package/wirespec-src-tools-generator.mjs +24 -24
|
@@ -1,242 +1,90 @@
|
|
|
1
1
|
import {
|
|
2
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
3
|
+
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
2
4
|
VOID7hggqo3abtya as VOID,
|
|
5
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
6
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
3
7
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
4
8
|
firstOrNull1982767dljvdy as firstOrNull,
|
|
9
|
+
trimMarginhyd3fsmh8iev as trimMargin,
|
|
5
10
|
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
6
11
|
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
|
|
7
12
|
toString14fd7g605f91p as toString,
|
|
8
13
|
toString1pkumu07cwy4m as toString_0,
|
|
9
14
|
setOf45ia9pnfhe90 as setOf,
|
|
10
|
-
protoOf180f3jzyo7rfj as protoOf,
|
|
11
15
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
12
|
-
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
13
|
-
trimMarginhyd3fsmh8iev as trimMargin,
|
|
14
16
|
first3kg261hmihapu as first,
|
|
15
17
|
isUpperCase16ivdixranflt as isUpperCase,
|
|
16
18
|
equals2au1ep9vhcato as equals,
|
|
17
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
18
19
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
19
20
|
import {
|
|
21
|
+
LanguageEmitterxhzgykhux3qm as LanguageEmitter,
|
|
22
|
+
FileExtension_Wirespec_getInstance2ludls5udllsg as FileExtension_Wirespec_getInstance,
|
|
23
|
+
Bound1dotva4vah4jp as Bound,
|
|
24
|
+
_RegExp___get_value__impl__7o761828ey0cgsx2afa as _RegExp___get_value__impl__7o7618,
|
|
25
|
+
RegExp1kvu7kxwy7td5 as RegExp_0,
|
|
20
26
|
Spacer_instancel9yep7i0q3er as Spacer_instance,
|
|
27
|
+
fixStatus2l9jrn3538wpy as fixStatus,
|
|
21
28
|
Literal32wmkquj6qapn as Literal,
|
|
22
29
|
Param33sus5zaarsk0 as Param,
|
|
23
|
-
Emitterpslsvv25okcl as Emitter,
|
|
24
|
-
FileExtension_Wirespec_getInstance2ludls5udllsg as FileExtension_Wirespec_getInstance,
|
|
25
30
|
addBackticks1di5q03fw4yhx as addBackticks,
|
|
26
31
|
FieldIdentifier2fnn30qixmpf as FieldIdentifier,
|
|
27
32
|
DefinitionIdentifier21mzme854zakh as DefinitionIdentifier,
|
|
33
|
+
Bytes_instance1at7binw0nl40 as Bytes_instance,
|
|
34
|
+
Boolean_instance3qnzv8pgzox40 as Boolean_instance,
|
|
35
|
+
String23kqvhe3sk098 as String_0,
|
|
28
36
|
Number3i05nlui0wcz8 as Number_0,
|
|
29
37
|
Integeryrcje1s9u7kr as Integer,
|
|
30
38
|
Bytes2moci2lqqzua3 as Bytes,
|
|
31
39
|
Boolean1v54w5v4qjba1 as Boolean_0,
|
|
32
|
-
String23kqvhe3sk098 as String_0,
|
|
33
40
|
Primitivexjb7c0cm123a as Primitive,
|
|
34
41
|
Custom37hvrfgd6b0uj as Custom,
|
|
35
42
|
Any268baxyo9do19 as Any,
|
|
36
43
|
Unit3rie819ih39bz as Unit,
|
|
37
44
|
Iterablerto606wd057m as Iterable,
|
|
38
45
|
Dict3l6tdihpke4rr as Dict,
|
|
39
|
-
|
|
40
|
-
Boolean_instance3qnzv8pgzox40 as Boolean_instance,
|
|
41
|
-
RegExp1kvu7kxwy7td5 as RegExp_0,
|
|
42
|
-
Bound1dotva4vah4jp as Bound,
|
|
43
|
-
_RegExp___get_value__impl__7o761828ey0cgsx2afa as _RegExp___get_value__impl__7o7618,
|
|
46
|
+
TypeDefinitionEmitter18est4d94fpw8 as TypeDefinitionEmitter,
|
|
44
47
|
} from './wirespec-src-compiler-core.mjs';
|
|
45
48
|
//region block: imports
|
|
46
49
|
//endregion
|
|
47
50
|
//region block: pre-declaration
|
|
48
|
-
|
|
49
|
-
initMetadataForClass(WirespecEmitter, 'WirespecEmitter', WirespecEmitter, Emitter);
|
|
50
|
-
//endregion
|
|
51
|
-
function emitPath(_this__u8e3s4, $this) {
|
|
52
|
-
return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, WirespecEmitter$emitPath$lambda($this));
|
|
53
|
-
}
|
|
54
|
-
function emitRequest(_this__u8e3s4, $this) {
|
|
55
|
-
// Inline function 'kotlin.text.orEmpty' call
|
|
56
|
-
var tmp0_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
57
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x26_1;
|
|
58
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.z26_1;
|
|
59
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : $this.w25(tmp2_safe_receiver);
|
|
60
|
-
var tmp;
|
|
61
|
-
if (tmp3_safe_receiver == null) {
|
|
62
|
-
tmp = null;
|
|
63
|
-
} else {
|
|
64
|
-
// Inline function 'kotlin.let' call
|
|
65
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
66
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEmitter.emitRequest.<anonymous>' call
|
|
67
|
-
tmp = ' ' + tmp3_safe_receiver;
|
|
68
|
-
}
|
|
69
|
-
var tmp0_elvis_lhs = tmp;
|
|
70
|
-
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
71
|
-
}
|
|
72
|
-
function emitQuery(_this__u8e3s4, $this) {
|
|
73
|
-
// Inline function 'kotlin.text.orEmpty' call
|
|
74
|
-
// Inline function 'kotlin.takeIf' call
|
|
75
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
76
|
-
var tmp;
|
|
77
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEmitter.emitQuery.<anonymous>' call
|
|
78
|
-
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
79
|
-
if (!_this__u8e3s4.l()) {
|
|
80
|
-
tmp = _this__u8e3s4;
|
|
81
|
-
} else {
|
|
82
|
-
tmp = null;
|
|
83
|
-
}
|
|
84
|
-
var tmp0_safe_receiver = tmp;
|
|
85
|
-
var tmp_0;
|
|
86
|
-
if (tmp0_safe_receiver == null) {
|
|
87
|
-
tmp_0 = null;
|
|
88
|
-
} else {
|
|
89
|
-
tmp_0 = joinToString(tmp0_safe_receiver, ',', '{', '}', VOID, VOID, WirespecEmitter$emitQuery$lambda($this));
|
|
90
|
-
}
|
|
91
|
-
var tmp1_safe_receiver = tmp_0;
|
|
92
|
-
var tmp_1;
|
|
93
|
-
if (tmp1_safe_receiver == null) {
|
|
94
|
-
tmp_1 = null;
|
|
95
|
-
} else {
|
|
96
|
-
// Inline function 'kotlin.let' call
|
|
97
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
98
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEmitter.emitQuery.<anonymous>' call
|
|
99
|
-
tmp_1 = ' ? ' + tmp1_safe_receiver;
|
|
100
|
-
}
|
|
101
|
-
var tmp0_elvis_lhs = tmp_1;
|
|
102
|
-
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
103
|
-
}
|
|
104
|
-
function capitalize(_this__u8e3s4, $this) {
|
|
105
|
-
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
106
|
-
var tmp;
|
|
107
|
-
// Inline function 'kotlin.text.isNotEmpty' call
|
|
108
|
-
if (charSequenceLength(_this__u8e3s4) > 0) {
|
|
109
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEmitter.capitalize.<anonymous>' call
|
|
110
|
-
// Inline function 'kotlin.text.uppercase' call
|
|
111
|
-
var this_0 = charSequenceGet(_this__u8e3s4, 0);
|
|
112
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
113
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
114
|
-
var tmp$ret$4 = toString(this_0).toUpperCase();
|
|
115
|
-
var tmp_0 = toString_0(tmp$ret$4);
|
|
116
|
-
// Inline function 'kotlin.text.substring' call
|
|
117
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
118
|
-
tmp = tmp_0 + _this__u8e3s4.substring(1);
|
|
119
|
-
} else {
|
|
120
|
-
tmp = _this__u8e3s4;
|
|
121
|
-
}
|
|
122
|
-
return tmp;
|
|
123
|
-
}
|
|
124
|
-
function Companion() {
|
|
125
|
-
Companion_instance = this;
|
|
126
|
-
this.n2c_1 = setOf(['type', 'enum', 'endpoint']);
|
|
127
|
-
}
|
|
128
|
-
var Companion_instance;
|
|
129
|
-
function Companion_getInstance() {
|
|
130
|
-
if (Companion_instance == null)
|
|
131
|
-
new Companion();
|
|
132
|
-
return Companion_instance;
|
|
133
|
-
}
|
|
134
|
-
function WirespecEmitter$emit$lambda(this$0) {
|
|
135
|
-
return function (it) {
|
|
136
|
-
return Spacer_instance.toString() + this$0.v25(it);
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function WirespecEmitter$emit$lambda_0(this$0) {
|
|
140
|
-
return function (it) {
|
|
141
|
-
return capitalize(it, this$0);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
function WirespecEmitter$emit$lambda_1(this$0) {
|
|
145
|
-
return function (it) {
|
|
146
|
-
var tmp = Spacer_instance.toString();
|
|
147
|
-
var tmp_0 = this$0.k26(it.r26_1);
|
|
148
|
-
var tmp0_safe_receiver = it.t26_1;
|
|
149
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z26_1;
|
|
150
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : this$0.w25(tmp1_safe_receiver);
|
|
151
|
-
var tmp_1 = tmp2_elvis_lhs == null ? 'Unit' : tmp2_elvis_lhs;
|
|
152
|
-
var tmp_2;
|
|
153
|
-
var tmp3_safe_receiver = it.t26_1;
|
|
154
|
-
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.z26_1;
|
|
155
|
-
if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.hm()) === true) {
|
|
156
|
-
tmp_2 = '?';
|
|
157
|
-
} else {
|
|
158
|
-
tmp_2 = '';
|
|
159
|
-
}
|
|
160
|
-
return tmp + tmp_0 + ' -> ' + tmp_1 + tmp_2;
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
function WirespecEmitter$emit$lambda_2(this$0) {
|
|
164
|
-
return function (it) {
|
|
165
|
-
return this$0.w25(it);
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
function WirespecEmitter$emitPath$lambda(this$0) {
|
|
169
|
-
return function (it) {
|
|
170
|
-
var tmp;
|
|
171
|
-
if (it instanceof Param) {
|
|
172
|
-
tmp = '{' + it.o26_1.b1() + ': ' + this$0.w25(it.p26_1) + '}';
|
|
173
|
-
} else {
|
|
174
|
-
if (it instanceof Literal) {
|
|
175
|
-
tmp = it.q26_1;
|
|
176
|
-
} else {
|
|
177
|
-
noWhenBranchMatchedException();
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return tmp;
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
function WirespecEmitter$emitQuery$lambda(this$0) {
|
|
184
|
-
return function (it) {
|
|
185
|
-
return this$0.v25(it);
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
function WirespecEmitter() {
|
|
189
|
-
Companion_getInstance();
|
|
190
|
-
Emitter.call(this);
|
|
191
|
-
this.k2c_1 = FileExtension_Wirespec_getInstance();
|
|
192
|
-
this.l2c_1 = null;
|
|
193
|
-
this.m2c_1 = '\n';
|
|
194
|
-
}
|
|
195
|
-
protoOf(WirespecEmitter).k24 = function () {
|
|
196
|
-
return this.k2c_1;
|
|
197
|
-
};
|
|
198
|
-
protoOf(WirespecEmitter).b26 = function () {
|
|
199
|
-
return this.m2c_1;
|
|
200
|
-
};
|
|
201
|
-
protoOf(WirespecEmitter).t25 = function (type, module_0) {
|
|
202
|
-
return trimMargin('\n |type ' + this.s24(type.q25_1) + ' {\n |' + this.u25(type.r25_1) + '\n |}\n |');
|
|
203
|
-
};
|
|
204
|
-
protoOf(WirespecEmitter).u25 = function (_this__u8e3s4) {
|
|
205
|
-
return joinToString(_this__u8e3s4.u26_1, ',\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda(this));
|
|
206
|
-
};
|
|
207
|
-
protoOf(WirespecEmitter).v25 = function (_this__u8e3s4) {
|
|
208
|
-
return this.s24(_this__u8e3s4.v26_1) + ': ' + this.w25(_this__u8e3s4.w26_1);
|
|
209
|
-
};
|
|
210
|
-
protoOf(WirespecEmitter).s24 = function (identifier) {
|
|
51
|
+
function emit(identifier) {
|
|
211
52
|
var tmp;
|
|
212
53
|
if (identifier instanceof DefinitionIdentifier) {
|
|
213
54
|
// Inline function 'kotlin.run' call
|
|
214
55
|
// Inline function 'kotlin.contracts.contract' call
|
|
215
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.
|
|
216
|
-
tmp = Companion_getInstance().
|
|
56
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecIdentifierEmitter.emit.<anonymous>' call
|
|
57
|
+
tmp = Companion_getInstance().e2c_1.o1(identifier.b1()) ? addBackticks(identifier.b1()) : identifier.b1();
|
|
217
58
|
} else {
|
|
218
59
|
if (identifier instanceof FieldIdentifier) {
|
|
219
60
|
// Inline function 'kotlin.run' call
|
|
220
61
|
// Inline function 'kotlin.contracts.contract' call
|
|
221
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.
|
|
222
|
-
tmp = Companion_getInstance().
|
|
62
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecIdentifierEmitter.emit.<anonymous>' call
|
|
63
|
+
tmp = Companion_getInstance().e2c_1.o1(identifier.b1()) || isUpperCase(first(identifier.b1())) ? addBackticks(identifier.b1()) : identifier.b1();
|
|
223
64
|
} else {
|
|
224
65
|
noWhenBranchMatchedException();
|
|
225
66
|
}
|
|
226
67
|
}
|
|
227
68
|
return tmp;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
};
|
|
232
|
-
|
|
69
|
+
}
|
|
70
|
+
initMetadataForInterface(WirespecIdentifierEmitter, 'WirespecIdentifierEmitter');
|
|
71
|
+
function emit_0(type, module_0) {
|
|
72
|
+
return trimMargin('\n |type ' + this.f26(type.h24_1) + ' {\n |' + this.e25(type.i24_1) + '\n |}\n |');
|
|
73
|
+
}
|
|
74
|
+
function emit_1(_this__u8e3s4) {
|
|
75
|
+
return joinToString(_this__u8e3s4.f24_1, ',\n', VOID, VOID, VOID, VOID, WirespecTypeDefinitionEmitter$emit$lambda(this));
|
|
76
|
+
}
|
|
77
|
+
function emit_2(_this__u8e3s4) {
|
|
78
|
+
return this.f26(_this__u8e3s4.l24_1) + ': ' + this.g25(_this__u8e3s4.m24_1);
|
|
79
|
+
}
|
|
80
|
+
function emit_3(_this__u8e3s4) {
|
|
233
81
|
// Inline function 'kotlin.let' call
|
|
234
82
|
var tmp;
|
|
235
83
|
if (_this__u8e3s4 instanceof Dict) {
|
|
236
|
-
tmp = '{ ' + this.
|
|
84
|
+
tmp = '{ ' + this.g25(_this__u8e3s4.r23_1) + ' }';
|
|
237
85
|
} else {
|
|
238
86
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
239
|
-
tmp = this.
|
|
87
|
+
tmp = this.g25(_this__u8e3s4.o23_1) + '[]';
|
|
240
88
|
} else {
|
|
241
89
|
if (_this__u8e3s4 instanceof Unit) {
|
|
242
90
|
tmp = 'Unit';
|
|
@@ -245,10 +93,10 @@ protoOf(WirespecEmitter).w25 = function (_this__u8e3s4) {
|
|
|
245
93
|
tmp = 'Any';
|
|
246
94
|
} else {
|
|
247
95
|
if (_this__u8e3s4 instanceof Custom) {
|
|
248
|
-
tmp = _this__u8e3s4.
|
|
96
|
+
tmp = _this__u8e3s4.w28_1;
|
|
249
97
|
} else {
|
|
250
98
|
if (_this__u8e3s4 instanceof Primitive) {
|
|
251
|
-
var t = _this__u8e3s4.
|
|
99
|
+
var t = _this__u8e3s4.a29_1;
|
|
252
100
|
var tmp_0;
|
|
253
101
|
if (t instanceof String_0) {
|
|
254
102
|
tmp_0 = 'String';
|
|
@@ -261,7 +109,7 @@ protoOf(WirespecEmitter).w25 = function (_this__u8e3s4) {
|
|
|
261
109
|
} else {
|
|
262
110
|
if (t instanceof Integer) {
|
|
263
111
|
var tmp_1;
|
|
264
|
-
switch (t.
|
|
112
|
+
switch (t.f28_1.r2_1) {
|
|
265
113
|
case 0:
|
|
266
114
|
tmp_1 = 'Integer32';
|
|
267
115
|
break;
|
|
@@ -276,7 +124,7 @@ protoOf(WirespecEmitter).w25 = function (_this__u8e3s4) {
|
|
|
276
124
|
} else {
|
|
277
125
|
if (t instanceof Number_0) {
|
|
278
126
|
var tmp_2;
|
|
279
|
-
switch (t.
|
|
127
|
+
switch (t.i28_1.r2_1) {
|
|
280
128
|
case 0:
|
|
281
129
|
tmp_2 = 'Number32';
|
|
282
130
|
break;
|
|
@@ -305,39 +153,50 @@ protoOf(WirespecEmitter).w25 = function (_this__u8e3s4) {
|
|
|
305
153
|
}
|
|
306
154
|
}
|
|
307
155
|
// Inline function 'kotlin.contracts.contract' call
|
|
308
|
-
// Inline function 'community.flock.wirespec.emitters.wirespec.
|
|
156
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecTypeDefinitionEmitter.emit.<anonymous>' call
|
|
309
157
|
var it = tmp;
|
|
310
158
|
return _this__u8e3s4.hm() ? it + '?' : it;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
159
|
+
}
|
|
160
|
+
initMetadataForInterface(WirespecTypeDefinitionEmitter, 'WirespecTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter, WirespecIdentifierEmitter]);
|
|
161
|
+
function emit_4(channel) {
|
|
162
|
+
return 'channel ' + this.f26(channel.a24_1) + ' -> ' + this.g25(channel.b24_1);
|
|
163
|
+
}
|
|
164
|
+
initMetadataForInterface(WirespecChannelDefinitionEmitter, 'WirespecChannelDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
165
|
+
function emit_5(union) {
|
|
166
|
+
var tmp = this.f26(union.d24_1);
|
|
167
|
+
return 'type ' + tmp + ' = ' + joinToString(union.e24_1, ' | ', VOID, VOID, VOID, VOID, WirespecUnionDefinitionEmitter$emit$lambda(this)) + '\n';
|
|
168
|
+
}
|
|
169
|
+
initMetadataForInterface(WirespecUnionDefinitionEmitter, 'WirespecUnionDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
170
|
+
function emit_6(enum_0, module_0) {
|
|
171
|
+
var tmp = this.f26(enum_0.n26_1);
|
|
314
172
|
var tmp_0 = Spacer_instance.toString();
|
|
315
|
-
return 'enum ' + tmp + ' {\n' + tmp_0 + joinToString(enum_0.
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
173
|
+
return 'enum ' + tmp + ' {\n' + tmp_0 + joinToString(enum_0.o26_1, ', ', VOID, VOID, VOID, VOID, WirespecEnumDefinitionEmitter$emit$lambda(this)) + '\n}\n';
|
|
174
|
+
}
|
|
175
|
+
initMetadataForInterface(WirespecEnumDefinitionEmitter, 'WirespecEnumDefinitionEmitter', VOID, VOID, [WirespecIdentifierEmitter]);
|
|
176
|
+
function emit_7(refined) {
|
|
177
|
+
return 'type ' + this.f26(refined.j26_1) + ' = ' + this.g25(refined.k26_1) + this.r26(refined) + '\n';
|
|
178
|
+
}
|
|
179
|
+
function emitValidator(_this__u8e3s4) {
|
|
180
|
+
var type = _this__u8e3s4.k26_1.a29_1;
|
|
322
181
|
var tmp;
|
|
323
182
|
if (type instanceof Integer) {
|
|
324
|
-
var tmp0_safe_receiver = type.
|
|
325
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.
|
|
183
|
+
var tmp0_safe_receiver = type.g28_1;
|
|
184
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.h25(tmp0_safe_receiver);
|
|
326
185
|
tmp = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
327
186
|
} else {
|
|
328
187
|
if (type instanceof Number_0) {
|
|
329
|
-
var tmp2_safe_receiver = type.
|
|
330
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.
|
|
188
|
+
var tmp2_safe_receiver = type.j28_1;
|
|
189
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.h25(tmp2_safe_receiver);
|
|
331
190
|
tmp = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
332
191
|
} else {
|
|
333
192
|
if (type instanceof String_0) {
|
|
334
|
-
var tmp4_safe_receiver = type.
|
|
193
|
+
var tmp4_safe_receiver = type.d28_1;
|
|
335
194
|
var tmp_0;
|
|
336
195
|
var tmp_1 = tmp4_safe_receiver;
|
|
337
196
|
if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
|
|
338
197
|
tmp_0 = null;
|
|
339
198
|
} else {
|
|
340
|
-
tmp_0 = this.
|
|
199
|
+
tmp_0 = this.h25(new RegExp_0(tmp4_safe_receiver));
|
|
341
200
|
}
|
|
342
201
|
var tmp5_elvis_lhs = tmp_0;
|
|
343
202
|
tmp = tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs;
|
|
@@ -355,32 +214,209 @@ protoOf(WirespecEmitter).z25 = function (_this__u8e3s4) {
|
|
|
355
214
|
}
|
|
356
215
|
}
|
|
357
216
|
return tmp;
|
|
217
|
+
}
|
|
218
|
+
initMetadataForInterface(WirespecRefinedTypeDefinitionEmitter, 'WirespecRefinedTypeDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
219
|
+
function emit_8(endpoint) {
|
|
220
|
+
var tmp = this.f26(endpoint.o24_1);
|
|
221
|
+
var tmp_0 = endpoint.p24_1.toString();
|
|
222
|
+
var tmp_1 = emitRequest(endpoint.t24_1, this);
|
|
223
|
+
var tmp_2 = emitPath(endpoint.q24_1, this);
|
|
224
|
+
var tmp_3 = emitQuery(endpoint.r24_1, this);
|
|
225
|
+
return trimMargin('\n |endpoint ' + tmp + ' ' + tmp_0 + tmp_1 + ' ' + tmp_2 + tmp_3 + ' -> {\n |' + joinToString(endpoint.u24_1, '\n', VOID, VOID, VOID, VOID, WirespecEndpointDefinitionEmitter$emit$lambda(this)) + '\n |}\n |\n ');
|
|
226
|
+
}
|
|
227
|
+
initMetadataForInterface(WirespecEndpointDefinitionEmitter, 'WirespecEndpointDefinitionEmitter', VOID, VOID, [WirespecTypeDefinitionEmitter]);
|
|
228
|
+
initMetadataForClass(WirespecEmitter, 'WirespecEmitter', WirespecEmitter, LanguageEmitter, [LanguageEmitter, WirespecChannelDefinitionEmitter, WirespecUnionDefinitionEmitter, WirespecTypeDefinitionEmitter, WirespecEnumDefinitionEmitter, WirespecRefinedTypeDefinitionEmitter, WirespecEndpointDefinitionEmitter, WirespecIdentifierEmitter]);
|
|
229
|
+
initMetadataForCompanion(Companion);
|
|
230
|
+
//endregion
|
|
231
|
+
function WirespecChannelDefinitionEmitter() {
|
|
232
|
+
}
|
|
233
|
+
function WirespecEmitter() {
|
|
234
|
+
LanguageEmitter.call(this);
|
|
235
|
+
this.b2c_1 = FileExtension_Wirespec_getInstance();
|
|
236
|
+
this.c2c_1 = null;
|
|
237
|
+
this.d2c_1 = '\n';
|
|
238
|
+
}
|
|
239
|
+
protoOf(WirespecEmitter).n25 = function () {
|
|
240
|
+
return this.b2c_1;
|
|
358
241
|
};
|
|
359
|
-
protoOf(WirespecEmitter).
|
|
242
|
+
protoOf(WirespecEmitter).o25 = function () {
|
|
243
|
+
return this.d2c_1;
|
|
244
|
+
};
|
|
245
|
+
protoOf(WirespecEmitter).h25 = function (_this__u8e3s4) {
|
|
360
246
|
var tmp;
|
|
361
247
|
if (_this__u8e3s4 instanceof RegExp_0) {
|
|
362
|
-
tmp = '(' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.
|
|
248
|
+
tmp = '(' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.a28_1) + ')';
|
|
363
249
|
} else {
|
|
364
250
|
if (_this__u8e3s4 instanceof Bound) {
|
|
365
|
-
tmp = '(' + _this__u8e3s4.
|
|
251
|
+
tmp = '(' + _this__u8e3s4.b28_1 + ', ' + _this__u8e3s4.c28_1 + ')';
|
|
366
252
|
} else {
|
|
367
253
|
noWhenBranchMatchedException();
|
|
368
254
|
}
|
|
369
255
|
}
|
|
370
256
|
return tmp;
|
|
371
257
|
};
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
var
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
var tmp
|
|
382
|
-
|
|
383
|
-
|
|
258
|
+
function emitPath(_this__u8e3s4, $this) {
|
|
259
|
+
return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, WirespecEndpointDefinitionEmitter$emitPath$lambda($this));
|
|
260
|
+
}
|
|
261
|
+
function emitRequest(_this__u8e3s4, $this) {
|
|
262
|
+
// Inline function 'kotlin.text.orEmpty' call
|
|
263
|
+
var tmp0_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
264
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x24_1;
|
|
265
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.z24_1;
|
|
266
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : $this.g25(tmp2_safe_receiver);
|
|
267
|
+
var tmp;
|
|
268
|
+
if (tmp3_safe_receiver == null) {
|
|
269
|
+
tmp = null;
|
|
270
|
+
} else {
|
|
271
|
+
// Inline function 'kotlin.let' call
|
|
272
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
273
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEndpointDefinitionEmitter.emitRequest.<anonymous>' call
|
|
274
|
+
tmp = ' ' + tmp3_safe_receiver;
|
|
275
|
+
}
|
|
276
|
+
var tmp0_elvis_lhs = tmp;
|
|
277
|
+
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
278
|
+
}
|
|
279
|
+
function emitQuery(_this__u8e3s4, $this) {
|
|
280
|
+
// Inline function 'kotlin.text.orEmpty' call
|
|
281
|
+
// Inline function 'kotlin.takeIf' call
|
|
282
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
283
|
+
var tmp;
|
|
284
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEndpointDefinitionEmitter.emitQuery.<anonymous>' call
|
|
285
|
+
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
286
|
+
if (!_this__u8e3s4.l()) {
|
|
287
|
+
tmp = _this__u8e3s4;
|
|
288
|
+
} else {
|
|
289
|
+
tmp = null;
|
|
290
|
+
}
|
|
291
|
+
var tmp0_safe_receiver = tmp;
|
|
292
|
+
var tmp_0;
|
|
293
|
+
if (tmp0_safe_receiver == null) {
|
|
294
|
+
tmp_0 = null;
|
|
295
|
+
} else {
|
|
296
|
+
tmp_0 = joinToString(tmp0_safe_receiver, ',', '{', '}', VOID, VOID, WirespecEndpointDefinitionEmitter$emitQuery$lambda($this));
|
|
297
|
+
}
|
|
298
|
+
var tmp1_safe_receiver = tmp_0;
|
|
299
|
+
var tmp_1;
|
|
300
|
+
if (tmp1_safe_receiver == null) {
|
|
301
|
+
tmp_1 = null;
|
|
302
|
+
} else {
|
|
303
|
+
// Inline function 'kotlin.let' call
|
|
304
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
305
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEndpointDefinitionEmitter.emitQuery.<anonymous>' call
|
|
306
|
+
tmp_1 = ' ? ' + tmp1_safe_receiver;
|
|
307
|
+
}
|
|
308
|
+
var tmp0_elvis_lhs = tmp_1;
|
|
309
|
+
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
310
|
+
}
|
|
311
|
+
function WirespecEndpointDefinitionEmitter$emit$lambda(this$0) {
|
|
312
|
+
return function (it) {
|
|
313
|
+
var tmp = Spacer_instance.toString();
|
|
314
|
+
var tmp_0 = fixStatus(it.a25_1);
|
|
315
|
+
var tmp0_safe_receiver = it.c25_1;
|
|
316
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z24_1;
|
|
317
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : this$0.g25(tmp1_safe_receiver);
|
|
318
|
+
var tmp_1 = tmp2_elvis_lhs == null ? 'Unit' : tmp2_elvis_lhs;
|
|
319
|
+
var tmp_2;
|
|
320
|
+
var tmp3_safe_receiver = it.c25_1;
|
|
321
|
+
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.z24_1;
|
|
322
|
+
if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.hm()) === true) {
|
|
323
|
+
tmp_2 = '?';
|
|
324
|
+
} else {
|
|
325
|
+
tmp_2 = '';
|
|
326
|
+
}
|
|
327
|
+
return tmp + tmp_0 + ' -> ' + tmp_1 + tmp_2;
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
function WirespecEndpointDefinitionEmitter$emitPath$lambda(this$0) {
|
|
331
|
+
return function (it) {
|
|
332
|
+
var tmp;
|
|
333
|
+
if (it instanceof Param) {
|
|
334
|
+
tmp = '{' + it.v24_1.b1() + ': ' + this$0.g25(it.w24_1) + '}';
|
|
335
|
+
} else {
|
|
336
|
+
if (it instanceof Literal) {
|
|
337
|
+
tmp = it.q25_1;
|
|
338
|
+
} else {
|
|
339
|
+
noWhenBranchMatchedException();
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
return tmp;
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
function WirespecEndpointDefinitionEmitter$emitQuery$lambda(this$0) {
|
|
346
|
+
return function (it) {
|
|
347
|
+
return this$0.f25(it);
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
function WirespecEndpointDefinitionEmitter() {
|
|
351
|
+
}
|
|
352
|
+
function capitalize(_this__u8e3s4, $this) {
|
|
353
|
+
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
354
|
+
var tmp;
|
|
355
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
356
|
+
if (charSequenceLength(_this__u8e3s4) > 0) {
|
|
357
|
+
// Inline function 'community.flock.wirespec.emitters.wirespec.WirespecEnumDefinitionEmitter.capitalize.<anonymous>' call
|
|
358
|
+
// Inline function 'kotlin.text.uppercase' call
|
|
359
|
+
var this_0 = charSequenceGet(_this__u8e3s4, 0);
|
|
360
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
361
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
362
|
+
var tmp$ret$4 = toString(this_0).toUpperCase();
|
|
363
|
+
var tmp_0 = toString_0(tmp$ret$4);
|
|
364
|
+
// Inline function 'kotlin.text.substring' call
|
|
365
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
366
|
+
tmp = tmp_0 + _this__u8e3s4.substring(1);
|
|
367
|
+
} else {
|
|
368
|
+
tmp = _this__u8e3s4;
|
|
369
|
+
}
|
|
370
|
+
return tmp;
|
|
371
|
+
}
|
|
372
|
+
function WirespecEnumDefinitionEmitter$emit$lambda(this$0) {
|
|
373
|
+
return function (it) {
|
|
374
|
+
return capitalize(it, this$0);
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
function WirespecEnumDefinitionEmitter() {
|
|
378
|
+
}
|
|
379
|
+
function Companion() {
|
|
380
|
+
Companion_instance = this;
|
|
381
|
+
this.e2c_1 = setOf(['type', 'enum', 'endpoint']);
|
|
382
|
+
}
|
|
383
|
+
var Companion_instance;
|
|
384
|
+
function Companion_getInstance() {
|
|
385
|
+
if (Companion_instance == null)
|
|
386
|
+
new Companion();
|
|
387
|
+
return Companion_instance;
|
|
388
|
+
}
|
|
389
|
+
function WirespecIdentifierEmitter() {
|
|
390
|
+
}
|
|
391
|
+
function WirespecRefinedTypeDefinitionEmitter() {
|
|
392
|
+
}
|
|
393
|
+
function WirespecTypeDefinitionEmitter$emit$lambda(this$0) {
|
|
394
|
+
return function (it) {
|
|
395
|
+
return Spacer_instance.toString() + this$0.f25(it);
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
function WirespecTypeDefinitionEmitter() {
|
|
399
|
+
}
|
|
400
|
+
function WirespecUnionDefinitionEmitter$emit$lambda(this$0) {
|
|
401
|
+
return function (it) {
|
|
402
|
+
return this$0.g25(it);
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
function WirespecUnionDefinitionEmitter() {
|
|
406
|
+
}
|
|
407
|
+
//region block: post-declaration
|
|
408
|
+
protoOf(WirespecEmitter).f26 = emit;
|
|
409
|
+
protoOf(WirespecEmitter).d25 = emit_0;
|
|
410
|
+
protoOf(WirespecEmitter).e25 = emit_1;
|
|
411
|
+
protoOf(WirespecEmitter).f25 = emit_2;
|
|
412
|
+
protoOf(WirespecEmitter).g25 = emit_3;
|
|
413
|
+
protoOf(WirespecEmitter).q26 = emit_8;
|
|
414
|
+
protoOf(WirespecEmitter).g26 = emit_4;
|
|
415
|
+
protoOf(WirespecEmitter).p26 = emit_6;
|
|
416
|
+
protoOf(WirespecEmitter).h26 = emit_5;
|
|
417
|
+
protoOf(WirespecEmitter).l26 = emit_7;
|
|
418
|
+
protoOf(WirespecEmitter).r26 = emitValidator;
|
|
419
|
+
//endregion
|
|
384
420
|
//region block: exports
|
|
385
421
|
export {
|
|
386
422
|
WirespecEmitter as WirespecEmitter2ad9je4ecrvjk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecIdentifierEmitter.kt","src/kotlin/util/Standard.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecTypeDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecChannelDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecUnionDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEnumDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecRefinedTypeDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEndpointDefinitionEmitter.kt","../../../../../../../../compiler/emitters/wirespec/src/commonMain/kotlin/community/flock/wirespec/emitters/wirespec/WirespecEmitter.kt","src/kotlin/text/Strings.kt","src/kotlin/collections/Collections.kt","js/src/kotlin/dynamic.kt","js/src/kotlin/text/stringJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["emit","identifier","type","module","<this>","t","channel","union","enum","refined","emitValidator","endpoint","<init>","<get-extension>","<get-singleLineComment>","emitPath","emitRequest","emitQuery","WirespecEndpointDefinitionEmitter$emit$lambda","WirespecEndpointDefinitionEmitter$emit$lambda$lambda","it","WirespecEndpointDefinitionEmitter$emitPath$lambda","WirespecEndpointDefinitionEmitter$emitPath$lambda$lambda","WirespecEndpointDefinitionEmitter$emitQuery$lambda","WirespecEndpointDefinitionEmitter$emitQuery$lambda$lambda","capitalize","WirespecEnumDefinitionEmitter$emit$lambda","WirespecEnumDefinitionEmitter$emit$lambda$lambda","WirespecTypeDefinitionEmitter$emit$lambda","WirespecTypeDefinitionEmitter$emit$lambda$lambda","WirespecUnionDefinitionEmitter$emit$lambda","WirespecUnionDefinitionEmitter$emit$lambda$lambda"],"mappings":";;;;;;;;;;;;;;;;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