@flock/wirespec 0.12.4 → 0.13.0
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-atomic.mjs.map +1 -1
- package/arrow-arrow-core.mjs +4 -4
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt.mjs +1308 -1308
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +430 -430
- package/colormath-root-colormath.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +975 -942
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +4 -4
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1803 -1803
- package/kotlin-rgxgen.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +399 -399
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +30 -30
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +94 -94
- package/markdown.mjs +1895 -1895
- package/mordant-mordant.mjs +1690 -1690
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +2925 -1608
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +594 -475
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +358 -322
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +473 -405
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +1334 -377
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +339 -1030
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +50 -22
- package/wirespec-src-plugin-npm.mjs +195 -184
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +35 -30
- package/wirespec-src-tools-generator.mjs.map +1 -1
|
@@ -1,84 +1,883 @@
|
|
|
1
1
|
import {
|
|
2
|
-
NonEmptySet__toString_impl_yfcj6n17aozveblinij as NonEmptySet__toString_impl_yfcj6n,
|
|
3
|
-
NonEmptySet__hashCode_impl_co6mds3g7qt287zdejc as NonEmptySet__hashCode_impl_co6mds,
|
|
4
|
-
NonEmptySet1rtvr2guloo52 as NonEmptySet,
|
|
5
|
-
} from './arrow-arrow-core.mjs';
|
|
6
|
-
import {
|
|
7
|
-
toString1pkumu07cwy4m as toString,
|
|
8
|
-
toString30pk9tzaqopn as toString_0,
|
|
9
|
-
protoOf180f3jzyo7rfj as protoOf,
|
|
10
|
-
hashCodeq5arwsb9dgti as hashCode,
|
|
11
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
12
|
-
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
13
|
-
equals2au1ep9vhcato as equals,
|
|
14
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
15
2
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
3
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
16
4
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
17
5
|
enumEntries20mr21zbe3az4 as enumEntries,
|
|
18
6
|
Unit_instance14hm69wy3kr8u as Unit_instance,
|
|
19
7
|
Enum3alwj03lh1n41 as Enum,
|
|
8
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
20
9
|
VOID7hggqo3abtya as VOID,
|
|
10
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
11
|
+
mapCapacity1h45rc3eh9p2l as mapCapacity,
|
|
12
|
+
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
|
|
13
|
+
LinkedHashMap_init_$Create$snys8oz8txtu as LinkedHashMap_init_$Create$,
|
|
14
|
+
ArrayList_init_$Create$2rimpp4x9tjd3 as ArrayList_init_$Create$,
|
|
15
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
16
|
+
ArrayList_init_$Create$3m1kyiqequwm5 as ArrayList_init_$Create$_0,
|
|
17
|
+
addAll1k27qatfgp3k5 as addAll,
|
|
18
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
19
|
+
println2shhhgwwt4c61 as println,
|
|
20
|
+
to2cs3ny02qtbcb as to,
|
|
21
|
+
first58ocm7j58k3q as first,
|
|
22
|
+
toString1pkumu07cwy4m as toString,
|
|
23
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
24
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
25
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
26
|
+
equals2au1ep9vhcato as equals,
|
|
21
27
|
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
22
28
|
split2bvyvnrlcifjv as split,
|
|
23
29
|
dropLast1vpiyky649o34 as dropLast,
|
|
24
30
|
last1vo29oleiqj36 as last,
|
|
25
31
|
plus310ted5e4i90h as plus,
|
|
26
32
|
IllegalStateException_init_$Create$1nm9y6jd3c9iy as IllegalStateException_init_$Create$,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
_Char___init__impl__6a9atx367vrx0avsvbg as _Char___init__impl__6a9atx,
|
|
34
|
+
charArrayOf27f4r3dozbrk1 as charArrayOf,
|
|
35
|
+
split3d3yeauc4rm2n as split_0,
|
|
36
|
+
substringAfter35b3qhto7hchb as substringAfter,
|
|
37
|
+
startsWith26w8qjqapeeq6 as startsWith,
|
|
38
|
+
throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
|
|
39
|
+
substringAfterLast3r0t0my8cpqhk as substringAfterLast,
|
|
31
40
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
41
|
+
import {
|
|
42
|
+
_NonEmptySet___get_elements__impl__g09gj93rk9dtepr20b0 as _NonEmptySet___get_elements__impl__g09gj9,
|
|
43
|
+
nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
|
|
44
|
+
Left2oemzq1tpcg4i as Left,
|
|
45
|
+
Right351sh2v8odavg as Right,
|
|
46
|
+
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
47
|
+
toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
|
|
48
|
+
DefaultRaisevd10gc79qxh8 as DefaultRaise,
|
|
49
|
+
nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow,
|
|
50
|
+
raisedOrRethrow397oyvsdde7oq as raisedOrRethrow,
|
|
51
|
+
RaiseCancellationException3n5raogfhbd1l as RaiseCancellationException,
|
|
52
|
+
NonEmptySet1rtvr2guloo52 as NonEmptySet,
|
|
53
|
+
right2w60qw9uivnyr as right,
|
|
54
|
+
NonEmptySet__toString_impl_yfcj6n17aozveblinij as NonEmptySet__toString_impl_yfcj6n,
|
|
55
|
+
NonEmptySet__hashCode_impl_co6mds3g7qt287zdejc as NonEmptySet__hashCode_impl_co6mds,
|
|
56
|
+
toNonEmptySetOrNull1tjnd9jrkd4bs as toNonEmptySetOrNull,
|
|
57
|
+
} from './arrow-arrow-core.mjs';
|
|
58
|
+
import {
|
|
59
|
+
compileit3hbmteplcy as compile,
|
|
60
|
+
Companion_instance102bxzj2ej5fu as Companion_instance,
|
|
61
|
+
get_spec3cnzsbb1ufwje as get_spec,
|
|
62
|
+
HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
|
|
63
|
+
Companion_getInstance3exl5179osn9k as Companion_getInstance,
|
|
64
|
+
Emitted3cm6ez40hij29 as Emitted,
|
|
65
|
+
get_entries4pic4pnz9ji1 as get_entries,
|
|
66
|
+
FileExtension_Wirespec_getInstancevnsx8bhpyyi1 as FileExtension_Wirespec_getInstance,
|
|
67
|
+
} from './wirespec-src-compiler-core.mjs';
|
|
68
|
+
import {
|
|
69
|
+
OpenAPIV2Parser_instance1xcejlvmy4a3a as OpenAPIV2Parser_instance,
|
|
70
|
+
OpenAPIV3Parser_instance292ngistbqurv as OpenAPIV3Parser_instance,
|
|
71
|
+
} from './wirespec-src-converter-openapi.mjs';
|
|
72
|
+
import { AvroParser_instance25ibqzb3yimhc as AvroParser_instance } from './wirespec-src-converter-avro.mjs';
|
|
73
|
+
import {
|
|
74
|
+
Path21qufdfgaayly as Path,
|
|
75
|
+
get_SystemFileSystemcqw7gp4jhbc7 as get_SystemFileSystem,
|
|
76
|
+
buffered3kq86cdmguv3h as buffered,
|
|
77
|
+
readString2nvggcfaijfhd as readString,
|
|
78
|
+
buffered1hqdy4i9j28ez as buffered_0,
|
|
79
|
+
writeString33ca4btrgctw7 as writeString,
|
|
80
|
+
} from './kotlinx-io-kotlinx-io-core.mjs';
|
|
32
81
|
//region block: imports
|
|
33
82
|
var imul = Math.imul;
|
|
34
83
|
//endregion
|
|
35
84
|
//region block: pre-declaration
|
|
36
|
-
initMetadataForClass(CompilerArguments, 'CompilerArguments');
|
|
37
|
-
initMetadataForClass(ConverterArguments, 'ConverterArguments');
|
|
38
85
|
initMetadataForCompanion(Companion);
|
|
39
86
|
initMetadataForClass(Format, 'Format', VOID, Enum);
|
|
87
|
+
initMetadataForCompanion(Companion_0);
|
|
88
|
+
initMetadataForClass(Language, 'Language', VOID, Enum);
|
|
89
|
+
initMetadataForClass(compile$ctx$1$1, VOID, VOID, VOID, [HasLanguageSpec]);
|
|
90
|
+
initMetadataForClass(convert$ctx$1$1);
|
|
91
|
+
initMetadataForClass(CompilerArguments, 'CompilerArguments');
|
|
92
|
+
initMetadataForClass(ConverterArguments, 'ConverterArguments');
|
|
93
|
+
initMetadataForClass(Source, 'Source');
|
|
94
|
+
initMetadataForClass(SourcePath, 'SourcePath');
|
|
40
95
|
initMetadataForClass(DirectoryPath, 'DirectoryPath');
|
|
41
96
|
initMetadataForClass(Directory, 'Directory');
|
|
42
|
-
initMetadataForCompanion(Companion_0);
|
|
43
|
-
initMetadataForClass(FilePath, 'FilePath');
|
|
44
|
-
initMetadataForClass(File, 'File');
|
|
45
|
-
initMetadataForClass(FileName, 'FileName');
|
|
46
97
|
initMetadataForCompanion(Companion_1);
|
|
47
|
-
initMetadataForClass(
|
|
48
|
-
initMetadataForClass(
|
|
49
|
-
initMetadataForClass(
|
|
50
|
-
initMetadataForClass(
|
|
51
|
-
initMetadataForClass(
|
|
52
|
-
initMetadataForClass(
|
|
53
|
-
initMetadataForClass(
|
|
54
|
-
initMetadataForClass(
|
|
98
|
+
initMetadataForClass(FilePath, 'FilePath');
|
|
99
|
+
initMetadataForClass(Name, 'Name');
|
|
100
|
+
initMetadataForClass(IOError, 'IOError');
|
|
101
|
+
initMetadataForClass(SpecificFile, 'SpecificFile', VOID, IOError);
|
|
102
|
+
initMetadataForClass(WirespecFileError, 'WirespecFileError', WirespecFileError, SpecificFile);
|
|
103
|
+
initMetadataForClass(CannotAccessFileOrDirectory, 'CannotAccessFileOrDirectory', VOID, IOError);
|
|
104
|
+
initMetadataForClass(IsNotAFileOrDirectory, 'IsNotAFileOrDirectory', VOID, IOError);
|
|
105
|
+
initMetadataForClass(OutputShouldBeADirectory, 'OutputShouldBeADirectory', OutputShouldBeADirectory, IOError);
|
|
55
106
|
//endregion
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
107
|
+
var Format_OpenAPIV2_instance;
|
|
108
|
+
var Format_OpenAPIV3_instance;
|
|
109
|
+
var Format_Avro_instance;
|
|
110
|
+
function Companion() {
|
|
111
|
+
}
|
|
112
|
+
protoOf(Companion).toString = function () {
|
|
113
|
+
return joinToString(get_entries_0());
|
|
114
|
+
};
|
|
115
|
+
var Companion_instance_0;
|
|
116
|
+
function Companion_getInstance_0() {
|
|
117
|
+
return Companion_instance_0;
|
|
67
118
|
}
|
|
119
|
+
function values() {
|
|
120
|
+
return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance()];
|
|
121
|
+
}
|
|
122
|
+
function get_entries_0() {
|
|
123
|
+
if ($ENTRIES == null)
|
|
124
|
+
$ENTRIES = enumEntries(values());
|
|
125
|
+
return $ENTRIES;
|
|
126
|
+
}
|
|
127
|
+
var Format_entriesInitialized;
|
|
128
|
+
function Format_initEntries() {
|
|
129
|
+
if (Format_entriesInitialized)
|
|
130
|
+
return Unit_instance;
|
|
131
|
+
Format_entriesInitialized = true;
|
|
132
|
+
Format_OpenAPIV2_instance = new Format('OpenAPIV2', 0);
|
|
133
|
+
Format_OpenAPIV3_instance = new Format('OpenAPIV3', 1);
|
|
134
|
+
Format_Avro_instance = new Format('Avro', 2);
|
|
135
|
+
}
|
|
136
|
+
var $ENTRIES;
|
|
137
|
+
function Format(name, ordinal) {
|
|
138
|
+
Enum.call(this, name, ordinal);
|
|
139
|
+
}
|
|
140
|
+
function Format_OpenAPIV2_getInstance() {
|
|
141
|
+
Format_initEntries();
|
|
142
|
+
return Format_OpenAPIV2_instance;
|
|
143
|
+
}
|
|
144
|
+
function Format_OpenAPIV3_getInstance() {
|
|
145
|
+
Format_initEntries();
|
|
146
|
+
return Format_OpenAPIV3_instance;
|
|
147
|
+
}
|
|
148
|
+
function Format_Avro_getInstance() {
|
|
149
|
+
Format_initEntries();
|
|
150
|
+
return Format_Avro_instance;
|
|
151
|
+
}
|
|
152
|
+
var Language_Java_instance;
|
|
153
|
+
var Language_Kotlin_instance;
|
|
154
|
+
var Language_Scala_instance;
|
|
155
|
+
var Language_TypeScript_instance;
|
|
156
|
+
var Language_Python_instance;
|
|
157
|
+
var Language_Wirespec_instance;
|
|
158
|
+
var Language_OpenAPIV2_instance;
|
|
159
|
+
var Language_OpenAPIV3_instance;
|
|
160
|
+
function Companion_0() {
|
|
161
|
+
}
|
|
162
|
+
protoOf(Companion_0).i2j = function () {
|
|
163
|
+
// Inline function 'kotlin.collections.associateBy' call
|
|
164
|
+
var this_0 = get_entries_1();
|
|
165
|
+
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
166
|
+
// Inline function 'kotlin.collections.associateByTo' call
|
|
167
|
+
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
168
|
+
var _iterator__ex2g4s = this_0.g();
|
|
169
|
+
while (_iterator__ex2g4s.h()) {
|
|
170
|
+
var element = _iterator__ex2g4s.i();
|
|
171
|
+
// Inline function 'community.flock.wirespec.plugin.Companion.toMap.<anonymous>' call
|
|
172
|
+
var tmp$ret$0 = element.q2_1;
|
|
173
|
+
destination.n2(tmp$ret$0, element);
|
|
174
|
+
}
|
|
175
|
+
return destination;
|
|
176
|
+
};
|
|
177
|
+
protoOf(Companion_0).toString = function () {
|
|
178
|
+
return joinToString(get_entries_1());
|
|
179
|
+
};
|
|
180
|
+
var Companion_instance_1;
|
|
181
|
+
function Companion_getInstance_1() {
|
|
182
|
+
return Companion_instance_1;
|
|
183
|
+
}
|
|
184
|
+
function values_0() {
|
|
185
|
+
return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_Scala_getInstance(), Language_TypeScript_getInstance(), Language_Python_getInstance(), Language_Wirespec_getInstance(), Language_OpenAPIV2_getInstance(), Language_OpenAPIV3_getInstance()];
|
|
186
|
+
}
|
|
187
|
+
function get_entries_1() {
|
|
188
|
+
if ($ENTRIES_0 == null)
|
|
189
|
+
$ENTRIES_0 = enumEntries(values_0());
|
|
190
|
+
return $ENTRIES_0;
|
|
191
|
+
}
|
|
192
|
+
var Language_entriesInitialized;
|
|
193
|
+
function Language_initEntries() {
|
|
194
|
+
if (Language_entriesInitialized)
|
|
195
|
+
return Unit_instance;
|
|
196
|
+
Language_entriesInitialized = true;
|
|
197
|
+
Language_Java_instance = new Language('Java', 0);
|
|
198
|
+
Language_Kotlin_instance = new Language('Kotlin', 1);
|
|
199
|
+
Language_Scala_instance = new Language('Scala', 2);
|
|
200
|
+
Language_TypeScript_instance = new Language('TypeScript', 3);
|
|
201
|
+
Language_Python_instance = new Language('Python', 4);
|
|
202
|
+
Language_Wirespec_instance = new Language('Wirespec', 5);
|
|
203
|
+
Language_OpenAPIV2_instance = new Language('OpenAPIV2', 6);
|
|
204
|
+
Language_OpenAPIV3_instance = new Language('OpenAPIV3', 7);
|
|
205
|
+
}
|
|
206
|
+
var $ENTRIES_0;
|
|
207
|
+
function Language(name, ordinal) {
|
|
208
|
+
Enum.call(this, name, ordinal);
|
|
209
|
+
}
|
|
210
|
+
function Language_Java_getInstance() {
|
|
211
|
+
Language_initEntries();
|
|
212
|
+
return Language_Java_instance;
|
|
213
|
+
}
|
|
214
|
+
function Language_Kotlin_getInstance() {
|
|
215
|
+
Language_initEntries();
|
|
216
|
+
return Language_Kotlin_instance;
|
|
217
|
+
}
|
|
218
|
+
function Language_Scala_getInstance() {
|
|
219
|
+
Language_initEntries();
|
|
220
|
+
return Language_Scala_instance;
|
|
221
|
+
}
|
|
222
|
+
function Language_TypeScript_getInstance() {
|
|
223
|
+
Language_initEntries();
|
|
224
|
+
return Language_TypeScript_instance;
|
|
225
|
+
}
|
|
226
|
+
function Language_Python_getInstance() {
|
|
227
|
+
Language_initEntries();
|
|
228
|
+
return Language_Python_instance;
|
|
229
|
+
}
|
|
230
|
+
function Language_Wirespec_getInstance() {
|
|
231
|
+
Language_initEntries();
|
|
232
|
+
return Language_Wirespec_instance;
|
|
233
|
+
}
|
|
234
|
+
function Language_OpenAPIV2_getInstance() {
|
|
235
|
+
Language_initEntries();
|
|
236
|
+
return Language_OpenAPIV2_instance;
|
|
237
|
+
}
|
|
238
|
+
function Language_OpenAPIV3_getInstance() {
|
|
239
|
+
Language_initEntries();
|
|
240
|
+
return Language_OpenAPIV3_instance;
|
|
241
|
+
}
|
|
242
|
+
function compile_0(arguments_0) {
|
|
243
|
+
var ctx = compile$lambda(arguments_0);
|
|
244
|
+
// Inline function 'arrow.core.NonEmptySet.flatMap' call
|
|
245
|
+
var this_0 = arguments_0.j2j_1;
|
|
246
|
+
// Inline function 'kotlin.collections.flatMap' call
|
|
247
|
+
var tmp0 = _NonEmptySet___get_elements__impl__g09gj9(this_0);
|
|
248
|
+
// Inline function 'kotlin.collections.flatMapTo' call
|
|
249
|
+
var destination = ArrayList_init_$Create$();
|
|
250
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
251
|
+
while (_iterator__ex2g4s.h()) {
|
|
252
|
+
var element = _iterator__ex2g4s.i();
|
|
253
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
254
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
255
|
+
var this_1 = pairWithEmitters(toFilePath(plus_0(arguments_0.k2j_1, arguments_0.o2j_1), element.s2j_1), arguments_0.l2j_1);
|
|
256
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.<anonymous>' call
|
|
257
|
+
var destruct = this_1.uk_1;
|
|
258
|
+
var outputFile = destruct.yd();
|
|
259
|
+
var emitter = destruct.zd();
|
|
260
|
+
var tmp0_0 = compile(ctx(emitter), nonEmptyListOf(element.t2j_1, []));
|
|
261
|
+
// Inline function 'arrow.core.Either.map' call
|
|
262
|
+
var f = keepSplitOrCombine(emitter.j23_1, outputFile);
|
|
263
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
264
|
+
// Inline function 'arrow.core.flatMap' call
|
|
265
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
266
|
+
var tmp;
|
|
267
|
+
if (tmp0_0 instanceof Right) {
|
|
268
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
269
|
+
var it = tmp0_0.pk_1;
|
|
270
|
+
tmp = new Right(f(it));
|
|
271
|
+
} else {
|
|
272
|
+
if (tmp0_0 instanceof Left) {
|
|
273
|
+
tmp = tmp0_0;
|
|
274
|
+
} else {
|
|
275
|
+
noWhenBranchMatchedException();
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
var tmp_0 = tmp;
|
|
279
|
+
// Inline function 'kotlin.collections.map' call
|
|
280
|
+
var this_2 = this_1.vk_1;
|
|
281
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
282
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
283
|
+
var _iterator__ex2g4s_0 = this_2.g();
|
|
284
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
285
|
+
var item = _iterator__ex2g4s_0.i();
|
|
286
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.<anonymous>' call
|
|
287
|
+
var outputFile_0 = item.yd();
|
|
288
|
+
var emitter_0 = item.zd();
|
|
289
|
+
var tmp0_1 = compile(ctx(emitter_0), nonEmptyListOf(element.t2j_1, []));
|
|
290
|
+
// Inline function 'arrow.core.Either.map' call
|
|
291
|
+
var f_0 = keepSplitOrCombine(emitter_0.j23_1, outputFile_0);
|
|
292
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
293
|
+
// Inline function 'arrow.core.flatMap' call
|
|
294
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
295
|
+
var tmp_1;
|
|
296
|
+
if (tmp0_1 instanceof Right) {
|
|
297
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
298
|
+
var it_0 = tmp0_1.pk_1;
|
|
299
|
+
tmp_1 = new Right(f_0(it_0));
|
|
300
|
+
} else {
|
|
301
|
+
if (tmp0_1 instanceof Left) {
|
|
302
|
+
tmp_1 = tmp0_1;
|
|
303
|
+
} else {
|
|
304
|
+
noWhenBranchMatchedException();
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
var tmp$ret$7 = tmp_1;
|
|
308
|
+
destination_0.e(tmp$ret$7);
|
|
309
|
+
}
|
|
310
|
+
var list = new NonEmptyList(tmp_0, destination_0);
|
|
311
|
+
addAll(destination, list);
|
|
312
|
+
}
|
|
313
|
+
// Inline function 'kotlin.let' call
|
|
314
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
315
|
+
var it_1 = ensureNotNull(toNonEmptyListOrNull(destination));
|
|
316
|
+
// Inline function 'arrow.core.raise.either' call
|
|
317
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
318
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
319
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
320
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
321
|
+
var raise = new DefaultRaise(false);
|
|
322
|
+
var tmp_2;
|
|
323
|
+
try {
|
|
324
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
325
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.<anonymous>' call
|
|
326
|
+
var res = raise.ml(it_1);
|
|
327
|
+
raise.il();
|
|
328
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
329
|
+
tmp_2 = new Right(res);
|
|
330
|
+
} catch ($p) {
|
|
331
|
+
var tmp_3;
|
|
332
|
+
if ($p instanceof RaiseCancellationException) {
|
|
333
|
+
var e = $p;
|
|
334
|
+
raise.il();
|
|
335
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
336
|
+
var it_2 = raisedOrRethrow(e, raise);
|
|
337
|
+
tmp_3 = new Left(it_2);
|
|
338
|
+
} else {
|
|
339
|
+
if ($p instanceof Error) {
|
|
340
|
+
var e_0 = $p;
|
|
341
|
+
raise.il();
|
|
342
|
+
throw nonFatalOrThrow(e_0);
|
|
343
|
+
} else {
|
|
344
|
+
throw $p;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
tmp_2 = tmp_3;
|
|
348
|
+
}
|
|
349
|
+
// Inline function 'arrow.core.Either.map' call
|
|
350
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
351
|
+
// Inline function 'arrow.core.flatMap' call
|
|
352
|
+
var this_3 = tmp_2;
|
|
353
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
354
|
+
var tmp_4;
|
|
355
|
+
if (this_3 instanceof Right) {
|
|
356
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
357
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
358
|
+
var it_3 = this_3.pk_1;
|
|
359
|
+
var tmp$ret$24 = flatten(it_3);
|
|
360
|
+
tmp_4 = new Right(tmp$ret$24);
|
|
361
|
+
} else {
|
|
362
|
+
if (this_3 instanceof Left) {
|
|
363
|
+
tmp_4 = this_3;
|
|
364
|
+
} else {
|
|
365
|
+
noWhenBranchMatchedException();
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
// Inline function 'arrow.core.Either.map' call
|
|
369
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
370
|
+
// Inline function 'arrow.core.flatMap' call
|
|
371
|
+
var this_4 = tmp_4;
|
|
372
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
373
|
+
var tmp_5;
|
|
374
|
+
if (this_4 instanceof Right) {
|
|
375
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
376
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
377
|
+
var tmp$ret$28 = this_4.pk_1.zk(mapShared(arguments_0));
|
|
378
|
+
tmp_5 = new Right(tmp$ret$28);
|
|
379
|
+
} else {
|
|
380
|
+
if (this_4 instanceof Left) {
|
|
381
|
+
tmp_5 = this_4;
|
|
382
|
+
} else {
|
|
383
|
+
noWhenBranchMatchedException();
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
// Inline function 'arrow.core.Either.mapLeft' call
|
|
387
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
388
|
+
// Inline function 'arrow.core.Either.fold' call
|
|
389
|
+
var this_5 = tmp_5;
|
|
390
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
391
|
+
var tmp_6;
|
|
392
|
+
if (this_5 instanceof Right) {
|
|
393
|
+
// Inline function 'arrow.core.Either.mapLeft.<anonymous>' call
|
|
394
|
+
var it_4 = this_5.pk_1;
|
|
395
|
+
tmp_6 = new Right(it_4);
|
|
396
|
+
} else {
|
|
397
|
+
if (this_5 instanceof Left) {
|
|
398
|
+
// Inline function 'arrow.core.Either.mapLeft.<anonymous>' call
|
|
399
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
400
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
401
|
+
var this_6 = this_5.jk_1;
|
|
402
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.stub_for_inlining' call
|
|
403
|
+
var tmp_7 = this_6.uk_1.r1();
|
|
404
|
+
// Inline function 'kotlin.collections.map' call
|
|
405
|
+
var this_7 = this_6.vk_1;
|
|
406
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
407
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_7, 10));
|
|
408
|
+
var _iterator__ex2g4s_1 = this_7.g();
|
|
409
|
+
while (_iterator__ex2g4s_1.h()) {
|
|
410
|
+
var item_0 = _iterator__ex2g4s_1.i();
|
|
411
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.stub_for_inlining' call
|
|
412
|
+
var tmp$ret$34 = item_0.r1();
|
|
413
|
+
destination_1.e(tmp$ret$34);
|
|
414
|
+
}
|
|
415
|
+
var tmp$ret$38 = new NonEmptyList(tmp_7, destination_1);
|
|
416
|
+
tmp_6 = new Left(tmp$ret$38);
|
|
417
|
+
} else {
|
|
418
|
+
noWhenBranchMatchedException();
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
// Inline function 'arrow.core.Either.fold' call
|
|
422
|
+
var this_8 = tmp_6;
|
|
423
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
424
|
+
if (this_8 instanceof Right) {
|
|
425
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
426
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
427
|
+
var _iterator__ex2g4s_2 = this_8.pk_1.g();
|
|
428
|
+
while (_iterator__ex2g4s_2.h()) {
|
|
429
|
+
var element_0 = _iterator__ex2g4s_2.i();
|
|
430
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>.<anonymous>' call
|
|
431
|
+
var file = element_0.yd();
|
|
432
|
+
var result = element_0.zd();
|
|
433
|
+
println('Writing ' + _Name___get_value__impl__3tbxxy(file.v2j_1) + ' to ' + DirectoryPath__toString_impl_ym9pdb(file.u2j_1));
|
|
434
|
+
arguments_0.m2j_1(file, result);
|
|
435
|
+
}
|
|
436
|
+
} else {
|
|
437
|
+
if (this_8 instanceof Left) {
|
|
438
|
+
// Inline function 'community.flock.wirespec.plugin.compile.<anonymous>' call
|
|
439
|
+
var it_5 = this_8.jk_1;
|
|
440
|
+
arguments_0.n2j_1(joinToString(it_5));
|
|
441
|
+
} else {
|
|
442
|
+
noWhenBranchMatchedException();
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return Unit_instance;
|
|
446
|
+
}
|
|
447
|
+
function convert(arguments_0) {
|
|
448
|
+
var ctx = convert$lambda(arguments_0);
|
|
449
|
+
// Inline function 'arrow.core.NonEmptySet.flatMap' call
|
|
450
|
+
var this_0 = arguments_0.y2j_1;
|
|
451
|
+
// Inline function 'kotlin.collections.flatMap' call
|
|
452
|
+
var tmp0 = _NonEmptySet___get_elements__impl__g09gj9(this_0);
|
|
453
|
+
// Inline function 'kotlin.collections.flatMapTo' call
|
|
454
|
+
var destination = ArrayList_init_$Create$();
|
|
455
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
456
|
+
while (_iterator__ex2g4s.h()) {
|
|
457
|
+
var element = _iterator__ex2g4s.i();
|
|
458
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
459
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
460
|
+
var this_1 = pairWithEmitters(toFilePath(plus_0(arguments_0.z2j_1, arguments_0.d2k_1), element.s2j_1), arguments_0.a2k_1);
|
|
461
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>.<anonymous>' call
|
|
462
|
+
var destruct = this_1.uk_1;
|
|
463
|
+
var outputFile = destruct.yd();
|
|
464
|
+
var emitter = destruct.zd();
|
|
465
|
+
var tmp0_0 = ctx(emitter).k2k(element.t2j_1);
|
|
466
|
+
// Inline function 'arrow.core.Either.map' call
|
|
467
|
+
var f = keepSplitOrCombine(emitter.j23_1, outputFile);
|
|
468
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
469
|
+
// Inline function 'arrow.core.flatMap' call
|
|
470
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
471
|
+
var tmp;
|
|
472
|
+
if (tmp0_0 instanceof Right) {
|
|
473
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
474
|
+
var it = tmp0_0.pk_1;
|
|
475
|
+
tmp = new Right(f(it));
|
|
476
|
+
} else {
|
|
477
|
+
if (tmp0_0 instanceof Left) {
|
|
478
|
+
tmp = tmp0_0;
|
|
479
|
+
} else {
|
|
480
|
+
noWhenBranchMatchedException();
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
var tmp_0 = tmp;
|
|
484
|
+
// Inline function 'kotlin.collections.map' call
|
|
485
|
+
var this_2 = this_1.vk_1;
|
|
486
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
487
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
488
|
+
var _iterator__ex2g4s_0 = this_2.g();
|
|
489
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
490
|
+
var item = _iterator__ex2g4s_0.i();
|
|
491
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>.<anonymous>' call
|
|
492
|
+
var outputFile_0 = item.yd();
|
|
493
|
+
var emitter_0 = item.zd();
|
|
494
|
+
var tmp0_1 = ctx(emitter_0).k2k(element.t2j_1);
|
|
495
|
+
// Inline function 'arrow.core.Either.map' call
|
|
496
|
+
var f_0 = keepSplitOrCombine(emitter_0.j23_1, outputFile_0);
|
|
497
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
498
|
+
// Inline function 'arrow.core.flatMap' call
|
|
499
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
500
|
+
var tmp_1;
|
|
501
|
+
if (tmp0_1 instanceof Right) {
|
|
502
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
503
|
+
var it_0 = tmp0_1.pk_1;
|
|
504
|
+
tmp_1 = new Right(f_0(it_0));
|
|
505
|
+
} else {
|
|
506
|
+
if (tmp0_1 instanceof Left) {
|
|
507
|
+
tmp_1 = tmp0_1;
|
|
508
|
+
} else {
|
|
509
|
+
noWhenBranchMatchedException();
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
var tmp$ret$7 = tmp_1;
|
|
513
|
+
destination_0.e(tmp$ret$7);
|
|
514
|
+
}
|
|
515
|
+
var list = new NonEmptyList(tmp_0, destination_0);
|
|
516
|
+
addAll(destination, list);
|
|
517
|
+
}
|
|
518
|
+
// Inline function 'kotlin.let' call
|
|
519
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
520
|
+
var it_1 = ensureNotNull(toNonEmptyListOrNull(destination));
|
|
521
|
+
// Inline function 'arrow.core.raise.either' call
|
|
522
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
523
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
524
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
525
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
526
|
+
var raise = new DefaultRaise(false);
|
|
527
|
+
var tmp_2;
|
|
528
|
+
try {
|
|
529
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
530
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>.<anonymous>' call
|
|
531
|
+
var res = raise.ml(it_1);
|
|
532
|
+
raise.il();
|
|
533
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
534
|
+
tmp_2 = new Right(res);
|
|
535
|
+
} catch ($p) {
|
|
536
|
+
var tmp_3;
|
|
537
|
+
if ($p instanceof RaiseCancellationException) {
|
|
538
|
+
var e = $p;
|
|
539
|
+
raise.il();
|
|
540
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
541
|
+
var it_2 = raisedOrRethrow(e, raise);
|
|
542
|
+
tmp_3 = new Left(it_2);
|
|
543
|
+
} else {
|
|
544
|
+
if ($p instanceof Error) {
|
|
545
|
+
var e_0 = $p;
|
|
546
|
+
raise.il();
|
|
547
|
+
throw nonFatalOrThrow(e_0);
|
|
548
|
+
} else {
|
|
549
|
+
throw $p;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
tmp_2 = tmp_3;
|
|
553
|
+
}
|
|
554
|
+
// Inline function 'arrow.core.Either.map' call
|
|
555
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
556
|
+
// Inline function 'arrow.core.flatMap' call
|
|
557
|
+
var this_3 = tmp_2;
|
|
558
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
559
|
+
var tmp_4;
|
|
560
|
+
if (this_3 instanceof Right) {
|
|
561
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
562
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
563
|
+
var it_3 = this_3.pk_1;
|
|
564
|
+
var tmp$ret$24 = flatten(it_3);
|
|
565
|
+
tmp_4 = new Right(tmp$ret$24);
|
|
566
|
+
} else {
|
|
567
|
+
if (this_3 instanceof Left) {
|
|
568
|
+
tmp_4 = this_3;
|
|
569
|
+
} else {
|
|
570
|
+
noWhenBranchMatchedException();
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
// Inline function 'arrow.core.Either.map' call
|
|
574
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
575
|
+
// Inline function 'arrow.core.flatMap' call
|
|
576
|
+
var this_4 = tmp_4;
|
|
577
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
578
|
+
var tmp_5;
|
|
579
|
+
if (this_4 instanceof Right) {
|
|
580
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
581
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
582
|
+
var tmp$ret$28 = this_4.pk_1.zk(mapShared(arguments_0));
|
|
583
|
+
tmp_5 = new Right(tmp$ret$28);
|
|
584
|
+
} else {
|
|
585
|
+
if (this_4 instanceof Left) {
|
|
586
|
+
tmp_5 = this_4;
|
|
587
|
+
} else {
|
|
588
|
+
noWhenBranchMatchedException();
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
// Inline function 'arrow.core.Either.fold' call
|
|
592
|
+
var this_5 = tmp_5;
|
|
593
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
594
|
+
if (this_5 instanceof Right) {
|
|
595
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
596
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
597
|
+
var _iterator__ex2g4s_1 = this_5.pk_1.g();
|
|
598
|
+
while (_iterator__ex2g4s_1.h()) {
|
|
599
|
+
var element_0 = _iterator__ex2g4s_1.i();
|
|
600
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>.<anonymous>' call
|
|
601
|
+
var file = element_0.yd();
|
|
602
|
+
var result = element_0.zd();
|
|
603
|
+
arguments_0.b2k_1(file, result);
|
|
604
|
+
}
|
|
605
|
+
} else {
|
|
606
|
+
if (this_5 instanceof Left) {
|
|
607
|
+
// Inline function 'community.flock.wirespec.plugin.convert.<anonymous>' call
|
|
608
|
+
this_5.jk_1;
|
|
609
|
+
} else {
|
|
610
|
+
noWhenBranchMatchedException();
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return Unit_instance;
|
|
614
|
+
}
|
|
615
|
+
function mapShared(_this__u8e3s4) {
|
|
616
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
617
|
+
var tmp0 = new NonEmptySet(_this__u8e3s4.l2k());
|
|
618
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
619
|
+
var destination = ArrayList_init_$Create$();
|
|
620
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
621
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
622
|
+
while (_iterator__ex2g4s.h()) {
|
|
623
|
+
var element = _iterator__ex2g4s.i();
|
|
624
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
625
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>' call
|
|
626
|
+
var tmp0_safe_receiver = mapShared_0(element, new FilePath(_this__u8e3s4.n2k().m2k_1, _Name___init__impl__o4q07e('Wirespec'), element.d26()), _this__u8e3s4.e26());
|
|
627
|
+
if (tmp0_safe_receiver == null)
|
|
628
|
+
null;
|
|
629
|
+
else {
|
|
630
|
+
// Inline function 'kotlin.let' call
|
|
631
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
632
|
+
destination.e(tmp0_safe_receiver);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
return destination;
|
|
636
|
+
}
|
|
637
|
+
function flatten(_this__u8e3s4) {
|
|
638
|
+
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
639
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>' call
|
|
640
|
+
var destruct = _this__u8e3s4.uk_1;
|
|
641
|
+
var file = destruct.yd();
|
|
642
|
+
var results = destruct.zd();
|
|
643
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
644
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>.<anonymous>' call
|
|
645
|
+
var destruct_0 = results.uk_1;
|
|
646
|
+
var name = destruct_0.yd();
|
|
647
|
+
var result = destruct_0.zd();
|
|
648
|
+
var tmp = to(file.o2k(VOID, _Name___init__impl__o4q07e(name)), result);
|
|
649
|
+
// Inline function 'kotlin.collections.map' call
|
|
650
|
+
var this_0 = results.vk_1;
|
|
651
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
652
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
653
|
+
var _iterator__ex2g4s = this_0.g();
|
|
654
|
+
while (_iterator__ex2g4s.h()) {
|
|
655
|
+
var item = _iterator__ex2g4s.i();
|
|
656
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>.<anonymous>' call
|
|
657
|
+
var name_0 = item.yd();
|
|
658
|
+
var result_0 = item.zd();
|
|
659
|
+
var tmp$ret$1 = to(file.o2k(VOID, _Name___init__impl__o4q07e(name_0)), result_0);
|
|
660
|
+
destination.e(tmp$ret$1);
|
|
661
|
+
}
|
|
662
|
+
var tmp_0 = (new NonEmptyList(tmp, destination)).sk();
|
|
663
|
+
// Inline function 'kotlin.collections.flatMap' call
|
|
664
|
+
var tmp0 = _this__u8e3s4.vk_1;
|
|
665
|
+
// Inline function 'kotlin.collections.flatMapTo' call
|
|
666
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
667
|
+
var _iterator__ex2g4s_0 = tmp0.g();
|
|
668
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
669
|
+
var element = _iterator__ex2g4s_0.i();
|
|
670
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>' call
|
|
671
|
+
var file_0 = element.yd();
|
|
672
|
+
var results_0 = element.zd();
|
|
673
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
674
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>.<anonymous>' call
|
|
675
|
+
var destruct_1 = results_0.uk_1;
|
|
676
|
+
var name_1 = destruct_1.yd();
|
|
677
|
+
var result_1 = destruct_1.zd();
|
|
678
|
+
var tmp_1 = to(file_0.o2k(VOID, _Name___init__impl__o4q07e(name_1)), result_1);
|
|
679
|
+
// Inline function 'kotlin.collections.map' call
|
|
680
|
+
var this_1 = results_0.vk_1;
|
|
681
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
682
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
683
|
+
var _iterator__ex2g4s_1 = this_1.g();
|
|
684
|
+
while (_iterator__ex2g4s_1.h()) {
|
|
685
|
+
var item_0 = _iterator__ex2g4s_1.i();
|
|
686
|
+
// Inline function 'community.flock.wirespec.plugin.flatten.<anonymous>.<anonymous>' call
|
|
687
|
+
var name_2 = item_0.yd();
|
|
688
|
+
var result_2 = item_0.zd();
|
|
689
|
+
var tmp$ret$7 = to(file_0.o2k(VOID, _Name___init__impl__o4q07e(name_2)), result_2);
|
|
690
|
+
destination_1.e(tmp$ret$7);
|
|
691
|
+
}
|
|
692
|
+
var list = new NonEmptyList(tmp_1, destination_1);
|
|
693
|
+
addAll(destination_0, list);
|
|
694
|
+
}
|
|
695
|
+
return tmp_0.zk(destination_0);
|
|
696
|
+
}
|
|
697
|
+
function keepSplitOrCombine(split, outputFile) {
|
|
698
|
+
return keepSplitOrCombine$lambda(split, outputFile);
|
|
699
|
+
}
|
|
700
|
+
function pairWithEmitters(_this__u8e3s4, emitters) {
|
|
701
|
+
// Inline function 'arrow.core.NonEmptySet.map' call
|
|
702
|
+
// Inline function 'kotlin.collections.map' call
|
|
703
|
+
var this_0 = _NonEmptySet___get_elements__impl__g09gj9(emitters);
|
|
704
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
705
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
706
|
+
var _iterator__ex2g4s = this_0.g();
|
|
707
|
+
while (_iterator__ex2g4s.h()) {
|
|
708
|
+
var item = _iterator__ex2g4s.i();
|
|
709
|
+
// Inline function 'community.flock.wirespec.plugin.pairWithEmitters.<anonymous>' call
|
|
710
|
+
var tmp$ret$0 = to(_this__u8e3s4.o2k(VOID, VOID, item.d26()), item);
|
|
711
|
+
destination.e(tmp$ret$0);
|
|
712
|
+
}
|
|
713
|
+
return ensureNotNull(toNonEmptyListOrNull(destination));
|
|
714
|
+
}
|
|
715
|
+
function mapShared_0(_this__u8e3s4, filePath, shared) {
|
|
716
|
+
// Inline function 'kotlin.takeIf' call
|
|
717
|
+
var tmp;
|
|
718
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>' call
|
|
719
|
+
if (shared) {
|
|
720
|
+
tmp = _this__u8e3s4;
|
|
721
|
+
} else {
|
|
722
|
+
tmp = null;
|
|
723
|
+
}
|
|
724
|
+
var tmp0_safe_receiver = tmp;
|
|
725
|
+
var tmp_0;
|
|
726
|
+
if (tmp0_safe_receiver == null) {
|
|
727
|
+
tmp_0 = null;
|
|
728
|
+
} else {
|
|
729
|
+
// Inline function 'kotlin.let' call
|
|
730
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>' call
|
|
731
|
+
var tmp0_safe_receiver_0 = tmp0_safe_receiver.e26();
|
|
732
|
+
var tmp_1;
|
|
733
|
+
if (tmp0_safe_receiver_0 == null) {
|
|
734
|
+
tmp_1 = null;
|
|
735
|
+
} else {
|
|
736
|
+
// Inline function 'kotlin.run' call
|
|
737
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>.<anonymous>' call
|
|
738
|
+
tmp_1 = to(filePath.o2k(VOID, VOID, tmp0_safe_receiver.d26()), tmp0_safe_receiver_0);
|
|
739
|
+
}
|
|
740
|
+
tmp_0 = tmp_1;
|
|
741
|
+
}
|
|
742
|
+
var tmp1_safe_receiver = tmp_0;
|
|
743
|
+
var tmp_2;
|
|
744
|
+
if (tmp1_safe_receiver == null) {
|
|
745
|
+
tmp_2 = null;
|
|
746
|
+
} else {
|
|
747
|
+
// Inline function 'kotlin.let' call
|
|
748
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>' call
|
|
749
|
+
var file = tmp1_safe_receiver.yd();
|
|
750
|
+
var shared_0 = tmp1_safe_receiver.zd();
|
|
751
|
+
tmp_2 = to(file.o2k(plus_1(file.u2j_1, Companion_instance.c26(shared_0.w29()))), shared_0);
|
|
752
|
+
}
|
|
753
|
+
var tmp2_safe_receiver = tmp_2;
|
|
754
|
+
var tmp_3;
|
|
755
|
+
if (tmp2_safe_receiver == null) {
|
|
756
|
+
tmp_3 = null;
|
|
757
|
+
} else {
|
|
758
|
+
// Inline function 'kotlin.let' call
|
|
759
|
+
// Inline function 'community.flock.wirespec.plugin.mapShared.<anonymous>' call
|
|
760
|
+
var file_0 = tmp2_safe_receiver.yd();
|
|
761
|
+
var shared_1 = tmp2_safe_receiver.zd();
|
|
762
|
+
tmp_3 = to(file_0, shared_1.f1g());
|
|
763
|
+
}
|
|
764
|
+
return tmp_3;
|
|
765
|
+
}
|
|
766
|
+
function compile$ctx$1$1($arguments, $emitter) {
|
|
767
|
+
this.p2k_1 = $arguments.p2j_1;
|
|
768
|
+
this.q2k_1 = $emitter;
|
|
769
|
+
}
|
|
770
|
+
protoOf(compile$ctx$1$1).y22 = function () {
|
|
771
|
+
return this.p2k_1;
|
|
772
|
+
};
|
|
773
|
+
protoOf(compile$ctx$1$1).i23 = function () {
|
|
774
|
+
return this.q2k_1;
|
|
775
|
+
};
|
|
776
|
+
function compile$lambda($arguments) {
|
|
777
|
+
return function (emitter) {
|
|
778
|
+
return new compile$ctx$1$1($arguments, emitter);
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
function OpenAPIV2Parser$parse$ref($boundThis) {
|
|
782
|
+
var l = function (p0, p1) {
|
|
783
|
+
return $boundThis.q2e(p0, p1);
|
|
784
|
+
};
|
|
785
|
+
l.callableName = 'parse';
|
|
786
|
+
return l;
|
|
787
|
+
}
|
|
788
|
+
function OpenAPIV3Parser$parse$ref($boundThis) {
|
|
789
|
+
var l = function (p0, p1) {
|
|
790
|
+
return $boundThis.q2e(p0, p1);
|
|
791
|
+
};
|
|
792
|
+
l.callableName = 'parse';
|
|
793
|
+
return l;
|
|
794
|
+
}
|
|
795
|
+
function AvroParser$parse$ref($boundThis) {
|
|
796
|
+
var l = function (p0, p1) {
|
|
797
|
+
return $boundThis.q2e(p0, p1);
|
|
798
|
+
};
|
|
799
|
+
l.callableName = 'parse';
|
|
800
|
+
return l;
|
|
801
|
+
}
|
|
802
|
+
function convert$ctx$1$1($arguments, $emitter) {
|
|
803
|
+
this.i2k_1 = $arguments;
|
|
804
|
+
this.j2k_1 = $emitter;
|
|
805
|
+
var tmp = this;
|
|
806
|
+
var tmp_0;
|
|
807
|
+
switch ($arguments.x2j_1.r2_1) {
|
|
808
|
+
case 0:
|
|
809
|
+
tmp_0 = OpenAPIV2Parser$parse$ref(OpenAPIV2Parser_instance);
|
|
810
|
+
break;
|
|
811
|
+
case 1:
|
|
812
|
+
tmp_0 = OpenAPIV3Parser$parse$ref(OpenAPIV3Parser_instance);
|
|
813
|
+
break;
|
|
814
|
+
case 2:
|
|
815
|
+
tmp_0 = AvroParser$parse$ref(AvroParser_instance);
|
|
816
|
+
break;
|
|
817
|
+
default:
|
|
818
|
+
noWhenBranchMatchedException();
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
tmp.h2k_1 = tmp_0;
|
|
822
|
+
}
|
|
823
|
+
protoOf(convert$ctx$1$1).k2k = function (source) {
|
|
824
|
+
return right(this.j2k_1.k23(this.h2k_1(source, this.i2k_1.g2k_1), this.i2k_1.e2k_1));
|
|
825
|
+
};
|
|
826
|
+
function convert$lambda($arguments) {
|
|
827
|
+
return function (emitter) {
|
|
828
|
+
return new convert$ctx$1$1($arguments, emitter);
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
function keepSplitOrCombine$lambda($split, $outputFile) {
|
|
832
|
+
return function (emitted) {
|
|
833
|
+
var tmp;
|
|
834
|
+
switch ($split) {
|
|
835
|
+
case true:
|
|
836
|
+
tmp = to($outputFile, emitted);
|
|
837
|
+
break;
|
|
838
|
+
case false:
|
|
839
|
+
tmp = to($outputFile, nonEmptyListOf(new Emitted(Companion_getInstance().l25(_Name___get_value__impl__3tbxxy($outputFile.v2j_1)), first(emitted).z26_1), []));
|
|
840
|
+
break;
|
|
841
|
+
default:
|
|
842
|
+
noWhenBranchMatchedException();
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
return tmp;
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
function CompilerArguments(input, output, emitters, writer, error, packageName, logger, shared, strict) {
|
|
849
|
+
this.j2j_1 = input;
|
|
850
|
+
this.k2j_1 = output;
|
|
851
|
+
this.l2j_1 = emitters;
|
|
852
|
+
this.m2j_1 = writer;
|
|
853
|
+
this.n2j_1 = error;
|
|
854
|
+
this.o2j_1 = packageName;
|
|
855
|
+
this.p2j_1 = logger;
|
|
856
|
+
this.q2j_1 = shared;
|
|
857
|
+
this.r2j_1 = strict;
|
|
858
|
+
}
|
|
859
|
+
protoOf(CompilerArguments).n2k = function () {
|
|
860
|
+
return this.k2j_1;
|
|
861
|
+
};
|
|
862
|
+
protoOf(CompilerArguments).l2k = function () {
|
|
863
|
+
return this.l2j_1;
|
|
864
|
+
};
|
|
865
|
+
protoOf(CompilerArguments).e26 = function () {
|
|
866
|
+
return this.q2j_1;
|
|
867
|
+
};
|
|
68
868
|
protoOf(CompilerArguments).toString = function () {
|
|
69
|
-
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.
|
|
869
|
+
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.j2j_1) + ', output=' + toString(this.k2j_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.l2j_1) + ', writer=' + toString(this.m2j_1) + ', error=' + toString(this.n2j_1) + ', packageName=' + this.o2j_1.toString() + ', logger=' + toString(this.p2j_1) + ', shared=' + this.q2j_1 + ', strict=' + this.r2j_1 + ')';
|
|
70
870
|
};
|
|
71
871
|
protoOf(CompilerArguments).hashCode = function () {
|
|
72
|
-
var result = NonEmptySet__hashCode_impl_co6mds(this.
|
|
73
|
-
result = imul(result, 31) + hashCode(this.
|
|
74
|
-
result = imul(result, 31) +
|
|
75
|
-
result = imul(result, 31) + hashCode(this.
|
|
76
|
-
result = imul(result, 31) + hashCode(this.
|
|
77
|
-
result = imul(result, 31) +
|
|
78
|
-
result = imul(result, 31) +
|
|
79
|
-
result = imul(result, 31) + this.
|
|
80
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
81
|
-
result = imul(result, 31) + getBooleanHashCode(this.r2c_1) | 0;
|
|
872
|
+
var result = NonEmptySet__hashCode_impl_co6mds(this.j2j_1);
|
|
873
|
+
result = imul(result, 31) + hashCode(this.k2j_1) | 0;
|
|
874
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.l2j_1) | 0;
|
|
875
|
+
result = imul(result, 31) + hashCode(this.m2j_1) | 0;
|
|
876
|
+
result = imul(result, 31) + hashCode(this.n2j_1) | 0;
|
|
877
|
+
result = imul(result, 31) + hashCode(this.o2j_1) | 0;
|
|
878
|
+
result = imul(result, 31) + hashCode(this.p2j_1) | 0;
|
|
879
|
+
result = imul(result, 31) + getBooleanHashCode(this.q2j_1) | 0;
|
|
880
|
+
result = imul(result, 31) + getBooleanHashCode(this.r2j_1) | 0;
|
|
82
881
|
return result;
|
|
83
882
|
};
|
|
84
883
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -87,56 +886,61 @@ protoOf(CompilerArguments).equals = function (other) {
|
|
|
87
886
|
if (!(other instanceof CompilerArguments))
|
|
88
887
|
return false;
|
|
89
888
|
var tmp0_other_with_cast = other instanceof CompilerArguments ? other : THROW_CCE();
|
|
90
|
-
if (!equals(new NonEmptySet(this.
|
|
889
|
+
if (!equals(new NonEmptySet(this.j2j_1), new NonEmptySet(tmp0_other_with_cast.j2j_1)))
|
|
91
890
|
return false;
|
|
92
|
-
if (!equals(this.
|
|
891
|
+
if (!equals(this.k2j_1, tmp0_other_with_cast.k2j_1))
|
|
93
892
|
return false;
|
|
94
|
-
if (!equals(this.
|
|
893
|
+
if (!equals(new NonEmptySet(this.l2j_1), new NonEmptySet(tmp0_other_with_cast.l2j_1)))
|
|
95
894
|
return false;
|
|
96
|
-
if (!equals(this.
|
|
895
|
+
if (!equals(this.m2j_1, tmp0_other_with_cast.m2j_1))
|
|
97
896
|
return false;
|
|
98
|
-
if (!equals(this.
|
|
897
|
+
if (!equals(this.n2j_1, tmp0_other_with_cast.n2j_1))
|
|
99
898
|
return false;
|
|
100
|
-
if (!equals(
|
|
899
|
+
if (!equals(this.o2j_1, tmp0_other_with_cast.o2j_1))
|
|
101
900
|
return false;
|
|
102
|
-
if (!equals(this.
|
|
901
|
+
if (!equals(this.p2j_1, tmp0_other_with_cast.p2j_1))
|
|
103
902
|
return false;
|
|
104
|
-
if (!this.
|
|
903
|
+
if (!(this.q2j_1 === tmp0_other_with_cast.q2j_1))
|
|
105
904
|
return false;
|
|
106
|
-
if (!(this.
|
|
107
|
-
return false;
|
|
108
|
-
if (!(this.r2c_1 === tmp0_other_with_cast.r2c_1))
|
|
905
|
+
if (!(this.r2j_1 === tmp0_other_with_cast.r2j_1))
|
|
109
906
|
return false;
|
|
110
907
|
return true;
|
|
111
908
|
};
|
|
112
|
-
function ConverterArguments(format, input, output,
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
this.c2d_1 = strict;
|
|
909
|
+
function ConverterArguments(format, input, output, emitters, writer, error, packageName, logger, shared, strict) {
|
|
910
|
+
this.x2j_1 = format;
|
|
911
|
+
this.y2j_1 = input;
|
|
912
|
+
this.z2j_1 = output;
|
|
913
|
+
this.a2k_1 = emitters;
|
|
914
|
+
this.b2k_1 = writer;
|
|
915
|
+
this.c2k_1 = error;
|
|
916
|
+
this.d2k_1 = packageName;
|
|
917
|
+
this.e2k_1 = logger;
|
|
918
|
+
this.f2k_1 = shared;
|
|
919
|
+
this.g2k_1 = strict;
|
|
124
920
|
}
|
|
921
|
+
protoOf(ConverterArguments).n2k = function () {
|
|
922
|
+
return this.z2j_1;
|
|
923
|
+
};
|
|
924
|
+
protoOf(ConverterArguments).l2k = function () {
|
|
925
|
+
return this.a2k_1;
|
|
926
|
+
};
|
|
927
|
+
protoOf(ConverterArguments).e26 = function () {
|
|
928
|
+
return this.f2k_1;
|
|
929
|
+
};
|
|
125
930
|
protoOf(ConverterArguments).toString = function () {
|
|
126
|
-
return 'ConverterArguments(format=' + this.
|
|
931
|
+
return 'ConverterArguments(format=' + this.x2j_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.y2j_1) + ', output=' + toString(this.z2j_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.a2k_1) + ', writer=' + toString(this.b2k_1) + ', error=' + toString(this.c2k_1) + ', packageName=' + this.d2k_1.toString() + ', logger=' + toString(this.e2k_1) + ', shared=' + this.f2k_1 + ', strict=' + this.g2k_1 + ')';
|
|
127
932
|
};
|
|
128
933
|
protoOf(ConverterArguments).hashCode = function () {
|
|
129
|
-
var result = this.
|
|
130
|
-
result = imul(result, 31) +
|
|
131
|
-
result = imul(result, 31) + hashCode(this.
|
|
132
|
-
result = imul(result, 31) +
|
|
133
|
-
result = imul(result, 31) + hashCode(this.
|
|
134
|
-
result = imul(result, 31) + hashCode(this.
|
|
135
|
-
result = imul(result, 31) +
|
|
136
|
-
result = imul(result, 31) +
|
|
137
|
-
result = imul(result, 31) + this.
|
|
138
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
139
|
-
result = imul(result, 31) + getBooleanHashCode(this.c2d_1) | 0;
|
|
934
|
+
var result = this.x2j_1.hashCode();
|
|
935
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.y2j_1) | 0;
|
|
936
|
+
result = imul(result, 31) + hashCode(this.z2j_1) | 0;
|
|
937
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.a2k_1) | 0;
|
|
938
|
+
result = imul(result, 31) + hashCode(this.b2k_1) | 0;
|
|
939
|
+
result = imul(result, 31) + hashCode(this.c2k_1) | 0;
|
|
940
|
+
result = imul(result, 31) + hashCode(this.d2k_1) | 0;
|
|
941
|
+
result = imul(result, 31) + hashCode(this.e2k_1) | 0;
|
|
942
|
+
result = imul(result, 31) + getBooleanHashCode(this.f2k_1) | 0;
|
|
943
|
+
result = imul(result, 31) + getBooleanHashCode(this.g2k_1) | 0;
|
|
140
944
|
return result;
|
|
141
945
|
};
|
|
142
946
|
protoOf(ConverterArguments).equals = function (other) {
|
|
@@ -145,75 +949,83 @@ protoOf(ConverterArguments).equals = function (other) {
|
|
|
145
949
|
if (!(other instanceof ConverterArguments))
|
|
146
950
|
return false;
|
|
147
951
|
var tmp0_other_with_cast = other instanceof ConverterArguments ? other : THROW_CCE();
|
|
148
|
-
if (!this.
|
|
149
|
-
return false;
|
|
150
|
-
if (!equals(this.t2c_1, tmp0_other_with_cast.t2c_1))
|
|
952
|
+
if (!this.x2j_1.equals(tmp0_other_with_cast.x2j_1))
|
|
151
953
|
return false;
|
|
152
|
-
if (!equals(this.
|
|
954
|
+
if (!equals(new NonEmptySet(this.y2j_1), new NonEmptySet(tmp0_other_with_cast.y2j_1)))
|
|
153
955
|
return false;
|
|
154
|
-
if (!equals(this.
|
|
956
|
+
if (!equals(this.z2j_1, tmp0_other_with_cast.z2j_1))
|
|
155
957
|
return false;
|
|
156
|
-
if (!equals(this.
|
|
958
|
+
if (!equals(new NonEmptySet(this.a2k_1), new NonEmptySet(tmp0_other_with_cast.a2k_1)))
|
|
157
959
|
return false;
|
|
158
|
-
if (!equals(this.
|
|
960
|
+
if (!equals(this.b2k_1, tmp0_other_with_cast.b2k_1))
|
|
159
961
|
return false;
|
|
160
|
-
if (!equals(
|
|
962
|
+
if (!equals(this.c2k_1, tmp0_other_with_cast.c2k_1))
|
|
161
963
|
return false;
|
|
162
|
-
if (!equals(this.
|
|
964
|
+
if (!equals(this.d2k_1, tmp0_other_with_cast.d2k_1))
|
|
163
965
|
return false;
|
|
164
|
-
if (!this.
|
|
966
|
+
if (!equals(this.e2k_1, tmp0_other_with_cast.e2k_1))
|
|
165
967
|
return false;
|
|
166
|
-
if (!(this.
|
|
968
|
+
if (!(this.f2k_1 === tmp0_other_with_cast.f2k_1))
|
|
167
969
|
return false;
|
|
168
|
-
if (!(this.
|
|
970
|
+
if (!(this.g2k_1 === tmp0_other_with_cast.g2k_1))
|
|
169
971
|
return false;
|
|
170
972
|
return true;
|
|
171
973
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
function Companion() {
|
|
974
|
+
function Source(name, content) {
|
|
975
|
+
this.s2j_1 = name;
|
|
976
|
+
this.t2j_1 = content;
|
|
176
977
|
}
|
|
177
|
-
protoOf(
|
|
178
|
-
return
|
|
978
|
+
protoOf(Source).toString = function () {
|
|
979
|
+
return 'Source(name=' + Name__toString_impl_61tomu(this.s2j_1) + ', content=' + this.t2j_1 + ')';
|
|
179
980
|
};
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
if (
|
|
189
|
-
|
|
190
|
-
|
|
981
|
+
protoOf(Source).hashCode = function () {
|
|
982
|
+
var result = Name__hashCode_impl_fpc861(this.s2j_1);
|
|
983
|
+
result = imul(result, 31) + getStringHashCode(this.t2j_1) | 0;
|
|
984
|
+
return result;
|
|
985
|
+
};
|
|
986
|
+
protoOf(Source).equals = function (other) {
|
|
987
|
+
if (this === other)
|
|
988
|
+
return true;
|
|
989
|
+
if (!(other instanceof Source))
|
|
990
|
+
return false;
|
|
991
|
+
var tmp0_other_with_cast = other instanceof Source ? other : THROW_CCE();
|
|
992
|
+
if (!(this.s2j_1 === tmp0_other_with_cast.s2j_1))
|
|
993
|
+
return false;
|
|
994
|
+
if (!(this.t2j_1 === tmp0_other_with_cast.t2j_1))
|
|
995
|
+
return false;
|
|
996
|
+
return true;
|
|
997
|
+
};
|
|
998
|
+
function _SourcePath___init__impl__vbnish(value) {
|
|
999
|
+
return value;
|
|
191
1000
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
if (Format_entriesInitialized)
|
|
195
|
-
return Unit_instance;
|
|
196
|
-
Format_entriesInitialized = true;
|
|
197
|
-
Format_OpenAPIV2_instance = new Format('OpenAPIV2', 0);
|
|
198
|
-
Format_OpenAPIV3_instance = new Format('OpenAPIV3', 1);
|
|
199
|
-
Format_Avro_instance = new Format('Avro', 2);
|
|
1001
|
+
function _SourcePath___get_value__impl__3qmxh1($this) {
|
|
1002
|
+
return $this;
|
|
200
1003
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Enum.call(this, name, ordinal);
|
|
1004
|
+
function SourcePath__toString_impl_ikr2m7($this) {
|
|
1005
|
+
return _SourcePath___get_value__impl__3qmxh1($this);
|
|
204
1006
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
207
|
-
return Format_OpenAPIV2_instance;
|
|
1007
|
+
function SourcePath__hashCode_impl_up72k2($this) {
|
|
1008
|
+
return getStringHashCode($this);
|
|
208
1009
|
}
|
|
209
|
-
function
|
|
210
|
-
|
|
211
|
-
|
|
1010
|
+
function SourcePath__equals_impl_mf6vea($this, other) {
|
|
1011
|
+
if (!(other instanceof SourcePath))
|
|
1012
|
+
return false;
|
|
1013
|
+
if (!($this === (other instanceof SourcePath ? other.r2k_1 : THROW_CCE())))
|
|
1014
|
+
return false;
|
|
1015
|
+
return true;
|
|
212
1016
|
}
|
|
213
|
-
function
|
|
214
|
-
|
|
215
|
-
return Format_Avro_instance;
|
|
1017
|
+
function SourcePath(value) {
|
|
1018
|
+
this.r2k_1 = value;
|
|
216
1019
|
}
|
|
1020
|
+
protoOf(SourcePath).toString = function () {
|
|
1021
|
+
return SourcePath__toString_impl_ikr2m7(this.r2k_1);
|
|
1022
|
+
};
|
|
1023
|
+
protoOf(SourcePath).hashCode = function () {
|
|
1024
|
+
return SourcePath__hashCode_impl_up72k2(this.r2k_1);
|
|
1025
|
+
};
|
|
1026
|
+
protoOf(SourcePath).equals = function (other) {
|
|
1027
|
+
return SourcePath__equals_impl_mf6vea(this.r2k_1, other);
|
|
1028
|
+
};
|
|
217
1029
|
function _DirectoryPath___init__impl__5bzkjd(value) {
|
|
218
1030
|
return value;
|
|
219
1031
|
}
|
|
@@ -229,47 +1041,47 @@ function DirectoryPath__hashCode_impl_cv3skg($this) {
|
|
|
229
1041
|
function DirectoryPath__equals_impl_c2rwsc($this, other) {
|
|
230
1042
|
if (!(other instanceof DirectoryPath))
|
|
231
1043
|
return false;
|
|
232
|
-
if (!($this === (other instanceof DirectoryPath ? other.
|
|
1044
|
+
if (!($this === (other instanceof DirectoryPath ? other.s2k_1 : THROW_CCE())))
|
|
233
1045
|
return false;
|
|
234
1046
|
return true;
|
|
235
1047
|
}
|
|
236
1048
|
function DirectoryPath(value) {
|
|
237
|
-
this.
|
|
1049
|
+
this.s2k_1 = value;
|
|
238
1050
|
}
|
|
239
1051
|
protoOf(DirectoryPath).toString = function () {
|
|
240
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
1052
|
+
return DirectoryPath__toString_impl_ym9pdb(this.s2k_1);
|
|
241
1053
|
};
|
|
242
1054
|
protoOf(DirectoryPath).hashCode = function () {
|
|
243
|
-
return DirectoryPath__hashCode_impl_cv3skg(this.
|
|
1055
|
+
return DirectoryPath__hashCode_impl_cv3skg(this.s2k_1);
|
|
244
1056
|
};
|
|
245
1057
|
protoOf(DirectoryPath).equals = function (other) {
|
|
246
|
-
return DirectoryPath__equals_impl_c2rwsc(this.
|
|
1058
|
+
return DirectoryPath__equals_impl_c2rwsc(this.s2k_1, other);
|
|
247
1059
|
};
|
|
248
1060
|
function Directory(path) {
|
|
249
|
-
this.
|
|
1061
|
+
this.m2k_1 = path;
|
|
250
1062
|
}
|
|
251
|
-
function
|
|
1063
|
+
function Companion_1() {
|
|
252
1064
|
}
|
|
253
|
-
protoOf(
|
|
1065
|
+
protoOf(Companion_1).t2k = function (input) {
|
|
254
1066
|
// Inline function 'kotlin.let' call
|
|
255
|
-
// Inline function 'community.flock.wirespec.plugin.Companion.
|
|
1067
|
+
// Inline function 'community.flock.wirespec.plugin.io.Companion.invoke.<anonymous>' call
|
|
256
1068
|
var it = split(input, ['/']);
|
|
257
1069
|
var list = plus(dropLast(it, 1), split(last(it), ['.']));
|
|
258
1070
|
// Inline function 'kotlin.text.lowercase' call
|
|
259
1071
|
// Inline function 'kotlin.js.asDynamic' call
|
|
260
1072
|
// Inline function 'kotlin.let' call
|
|
261
|
-
// Inline function 'community.flock.wirespec.plugin.Companion.
|
|
1073
|
+
// Inline function 'community.flock.wirespec.plugin.io.Companion.invoke.<anonymous>' call
|
|
262
1074
|
var ext = last(list).toLowerCase();
|
|
263
1075
|
// Inline function 'kotlin.collections.find' call
|
|
264
|
-
var tmp0 =
|
|
1076
|
+
var tmp0 = get_entries();
|
|
265
1077
|
var tmp$ret$5;
|
|
266
1078
|
$l$block: {
|
|
267
1079
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
268
1080
|
var _iterator__ex2g4s = tmp0.g();
|
|
269
1081
|
while (_iterator__ex2g4s.h()) {
|
|
270
1082
|
var element = _iterator__ex2g4s.i();
|
|
271
|
-
// Inline function 'community.flock.wirespec.plugin.Companion.
|
|
272
|
-
if (element.
|
|
1083
|
+
// Inline function 'community.flock.wirespec.plugin.io.Companion.invoke.<anonymous>.<anonymous>' call
|
|
1084
|
+
if (element.r29_1 === ext) {
|
|
273
1085
|
tmp$ret$5 = element;
|
|
274
1086
|
break $l$block;
|
|
275
1087
|
}
|
|
@@ -286,36 +1098,35 @@ protoOf(Companion_0).f2d = function (input) {
|
|
|
286
1098
|
}
|
|
287
1099
|
var extension = tmp;
|
|
288
1100
|
var idxOfFileName = list.j() - 2 | 0;
|
|
289
|
-
var filename =
|
|
1101
|
+
var filename = _Name___init__impl__o4q07e(list.k(idxOfFileName));
|
|
290
1102
|
var path = joinToString(list.w(0, idxOfFileName), '/');
|
|
291
1103
|
return new FilePath(_DirectoryPath___init__impl__5bzkjd(path), filename, extension);
|
|
292
1104
|
};
|
|
293
|
-
var
|
|
294
|
-
function
|
|
295
|
-
return
|
|
1105
|
+
var Companion_instance_2;
|
|
1106
|
+
function Companion_getInstance_2() {
|
|
1107
|
+
return Companion_instance_2;
|
|
296
1108
|
}
|
|
297
|
-
function FilePath(directory,
|
|
298
|
-
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.l2d_1 = extension;
|
|
1109
|
+
function FilePath(directory, name, extension) {
|
|
1110
|
+
this.u2j_1 = directory;
|
|
1111
|
+
this.v2j_1 = name;
|
|
1112
|
+
this.w2j_1 = extension;
|
|
302
1113
|
}
|
|
303
1114
|
protoOf(FilePath).toString = function () {
|
|
304
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
1115
|
+
return DirectoryPath__toString_impl_ym9pdb(this.u2j_1) + '/' + _Name___get_value__impl__3tbxxy(this.v2j_1) + '.' + this.w2j_1.r29_1;
|
|
305
1116
|
};
|
|
306
|
-
protoOf(FilePath).
|
|
307
|
-
return new FilePath(directory,
|
|
1117
|
+
protoOf(FilePath).u2k = function (directory, name, extension) {
|
|
1118
|
+
return new FilePath(directory, name, extension);
|
|
308
1119
|
};
|
|
309
|
-
protoOf(FilePath).
|
|
310
|
-
directory = directory === VOID ? this.
|
|
311
|
-
|
|
312
|
-
extension = extension === VOID ? this.
|
|
313
|
-
return $super === VOID ? this.
|
|
1120
|
+
protoOf(FilePath).o2k = function (directory, name, extension, $super) {
|
|
1121
|
+
directory = directory === VOID ? this.u2j_1 : directory;
|
|
1122
|
+
name = name === VOID ? this.v2j_1 : name;
|
|
1123
|
+
extension = extension === VOID ? this.w2j_1 : extension;
|
|
1124
|
+
return $super === VOID ? this.u2k(directory, name, extension) : $super.u2k.call(this, new DirectoryPath(directory), new Name(name), extension);
|
|
314
1125
|
};
|
|
315
1126
|
protoOf(FilePath).hashCode = function () {
|
|
316
|
-
var result = DirectoryPath__hashCode_impl_cv3skg(this.
|
|
317
|
-
result = imul(result, 31) +
|
|
318
|
-
result = imul(result, 31) + this.
|
|
1127
|
+
var result = DirectoryPath__hashCode_impl_cv3skg(this.u2j_1);
|
|
1128
|
+
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.v2j_1) | 0;
|
|
1129
|
+
result = imul(result, 31) + this.w2j_1.hashCode() | 0;
|
|
319
1130
|
return result;
|
|
320
1131
|
};
|
|
321
1132
|
protoOf(FilePath).equals = function (other) {
|
|
@@ -324,262 +1135,408 @@ protoOf(FilePath).equals = function (other) {
|
|
|
324
1135
|
if (!(other instanceof FilePath))
|
|
325
1136
|
return false;
|
|
326
1137
|
var tmp0_other_with_cast = other instanceof FilePath ? other : THROW_CCE();
|
|
327
|
-
if (!(this.
|
|
1138
|
+
if (!(this.u2j_1 === tmp0_other_with_cast.u2j_1))
|
|
328
1139
|
return false;
|
|
329
|
-
if (!(this.
|
|
1140
|
+
if (!(this.v2j_1 === tmp0_other_with_cast.v2j_1))
|
|
330
1141
|
return false;
|
|
331
|
-
if (!this.
|
|
1142
|
+
if (!this.w2j_1.equals(tmp0_other_with_cast.w2j_1))
|
|
332
1143
|
return false;
|
|
333
1144
|
return true;
|
|
334
1145
|
};
|
|
335
|
-
function
|
|
336
|
-
return plus_1(_this__u8e3s4.j2d_1, string);
|
|
337
|
-
}
|
|
338
|
-
function File(path) {
|
|
339
|
-
this.o2d_1 = path;
|
|
340
|
-
}
|
|
341
|
-
function _FileName___init__impl__nzn12e(value) {
|
|
1146
|
+
function _Name___init__impl__o4q07e(value) {
|
|
342
1147
|
return value;
|
|
343
1148
|
}
|
|
344
|
-
function
|
|
1149
|
+
function _Name___get_value__impl__3tbxxy($this) {
|
|
345
1150
|
return $this;
|
|
346
1151
|
}
|
|
347
|
-
function
|
|
348
|
-
return
|
|
1152
|
+
function Name__toString_impl_61tomu($this) {
|
|
1153
|
+
return _Name___get_value__impl__3tbxxy($this);
|
|
349
1154
|
}
|
|
350
|
-
function
|
|
1155
|
+
function Name__hashCode_impl_fpc861($this) {
|
|
351
1156
|
return getStringHashCode($this);
|
|
352
1157
|
}
|
|
353
|
-
function
|
|
354
|
-
if (!(other instanceof
|
|
1158
|
+
function Name__equals_impl_uazebh($this, other) {
|
|
1159
|
+
if (!(other instanceof Name))
|
|
355
1160
|
return false;
|
|
356
|
-
if (!($this === (other instanceof
|
|
1161
|
+
if (!($this === (other instanceof Name ? other.v2k_1 : THROW_CCE())))
|
|
357
1162
|
return false;
|
|
358
1163
|
return true;
|
|
359
1164
|
}
|
|
360
|
-
function
|
|
361
|
-
this.
|
|
1165
|
+
function Name(value) {
|
|
1166
|
+
this.v2k_1 = value;
|
|
362
1167
|
}
|
|
363
|
-
protoOf(
|
|
364
|
-
return
|
|
1168
|
+
protoOf(Name).toString = function () {
|
|
1169
|
+
return Name__toString_impl_61tomu(this.v2k_1);
|
|
365
1170
|
};
|
|
366
|
-
protoOf(
|
|
367
|
-
return
|
|
1171
|
+
protoOf(Name).hashCode = function () {
|
|
1172
|
+
return Name__hashCode_impl_fpc861(this.v2k_1);
|
|
368
1173
|
};
|
|
369
|
-
protoOf(
|
|
370
|
-
return
|
|
1174
|
+
protoOf(Name).equals = function (other) {
|
|
1175
|
+
return Name__equals_impl_uazebh(this.v2k_1, other);
|
|
371
1176
|
};
|
|
372
|
-
function
|
|
373
|
-
return
|
|
1177
|
+
function toFilePath(_this__u8e3s4, name) {
|
|
1178
|
+
return new FilePath(_this__u8e3s4.m2k_1, name, FileExtension_Wirespec_getInstance());
|
|
374
1179
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
var Language_Scala_instance;
|
|
378
|
-
var Language_TypeScript_instance;
|
|
379
|
-
var Language_Wirespec_instance;
|
|
380
|
-
var Language_OpenAPIV2_instance;
|
|
381
|
-
var Language_OpenAPIV3_instance;
|
|
382
|
-
function Companion_1() {
|
|
1180
|
+
function plus_0(_this__u8e3s4, packageName) {
|
|
1181
|
+
return new Directory(plus_1(_this__u8e3s4.m2k_1, packageName));
|
|
383
1182
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
1183
|
+
function plus_1(_this__u8e3s4, packageName) {
|
|
1184
|
+
var tmp;
|
|
1185
|
+
switch (packageName.t29_1) {
|
|
1186
|
+
case true:
|
|
1187
|
+
tmp = '/' + joinToString(split_0(packageName.s29_1, charArrayOf([_Char___init__impl__6a9atx(46)])), '/');
|
|
1188
|
+
break;
|
|
1189
|
+
case false:
|
|
1190
|
+
tmp = '';
|
|
1191
|
+
break;
|
|
1192
|
+
default:
|
|
1193
|
+
noWhenBranchMatchedException();
|
|
1194
|
+
break;
|
|
396
1195
|
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
return
|
|
401
|
-
};
|
|
402
|
-
var Companion_instance_1;
|
|
403
|
-
function Companion_getInstance_1() {
|
|
404
|
-
return Companion_instance_1;
|
|
405
|
-
}
|
|
406
|
-
function values_0() {
|
|
407
|
-
return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_Scala_getInstance(), Language_TypeScript_getInstance(), Language_Wirespec_getInstance(), Language_OpenAPIV2_getInstance(), Language_OpenAPIV3_getInstance()];
|
|
408
|
-
}
|
|
409
|
-
function get_entries_0() {
|
|
410
|
-
if ($ENTRIES_0 == null)
|
|
411
|
-
$ENTRIES_0 = enumEntries(values_0());
|
|
412
|
-
return $ENTRIES_0;
|
|
413
|
-
}
|
|
414
|
-
var Language_entriesInitialized;
|
|
415
|
-
function Language_initEntries() {
|
|
416
|
-
if (Language_entriesInitialized)
|
|
417
|
-
return Unit_instance;
|
|
418
|
-
Language_entriesInitialized = true;
|
|
419
|
-
Language_Java_instance = new Language('Java', 0);
|
|
420
|
-
Language_Kotlin_instance = new Language('Kotlin', 1);
|
|
421
|
-
Language_Scala_instance = new Language('Scala', 2);
|
|
422
|
-
Language_TypeScript_instance = new Language('TypeScript', 3);
|
|
423
|
-
Language_Wirespec_instance = new Language('Wirespec', 4);
|
|
424
|
-
Language_OpenAPIV2_instance = new Language('OpenAPIV2', 5);
|
|
425
|
-
Language_OpenAPIV3_instance = new Language('OpenAPIV3', 6);
|
|
426
|
-
}
|
|
427
|
-
var $ENTRIES_0;
|
|
428
|
-
function Language(name, ordinal) {
|
|
429
|
-
Enum.call(this, name, ordinal);
|
|
430
|
-
}
|
|
431
|
-
var FileExtension_Java_instance;
|
|
432
|
-
var FileExtension_Kotlin_instance;
|
|
433
|
-
var FileExtension_Scala_instance;
|
|
434
|
-
var FileExtension_TypeScript_instance;
|
|
435
|
-
var FileExtension_Wirespec_instance;
|
|
436
|
-
var FileExtension_JSON_instance;
|
|
437
|
-
function values_1() {
|
|
438
|
-
return [FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance(), FileExtension_Scala_getInstance(), FileExtension_TypeScript_getInstance(), FileExtension_Wirespec_getInstance(), FileExtension_JSON_getInstance()];
|
|
439
|
-
}
|
|
440
|
-
function get_entries_1() {
|
|
441
|
-
if ($ENTRIES_1 == null)
|
|
442
|
-
$ENTRIES_1 = enumEntries(values_1());
|
|
443
|
-
return $ENTRIES_1;
|
|
444
|
-
}
|
|
445
|
-
var FileExtension_entriesInitialized;
|
|
446
|
-
function FileExtension_initEntries() {
|
|
447
|
-
if (FileExtension_entriesInitialized)
|
|
448
|
-
return Unit_instance;
|
|
449
|
-
FileExtension_entriesInitialized = true;
|
|
450
|
-
FileExtension_Java_instance = new FileExtension('Java', 0, 'java');
|
|
451
|
-
FileExtension_Kotlin_instance = new FileExtension('Kotlin', 1, 'kt');
|
|
452
|
-
FileExtension_Scala_instance = new FileExtension('Scala', 2, 'scala');
|
|
453
|
-
FileExtension_TypeScript_instance = new FileExtension('TypeScript', 3, 'ts');
|
|
454
|
-
FileExtension_Wirespec_instance = new FileExtension('Wirespec', 4, 'ws');
|
|
455
|
-
FileExtension_JSON_instance = new FileExtension('JSON', 5, 'json');
|
|
456
|
-
}
|
|
457
|
-
var $ENTRIES_1;
|
|
458
|
-
function FileExtension(name, ordinal, value) {
|
|
459
|
-
Enum.call(this, name, ordinal);
|
|
460
|
-
this.i2d_1 = value;
|
|
461
|
-
}
|
|
462
|
-
function Language_Java_getInstance() {
|
|
463
|
-
Language_initEntries();
|
|
464
|
-
return Language_Java_instance;
|
|
1196
|
+
// Inline function 'kotlin.let' call
|
|
1197
|
+
// Inline function 'community.flock.wirespec.plugin.io.plus.<anonymous>' call
|
|
1198
|
+
var it = tmp;
|
|
1199
|
+
return plus_2(_this__u8e3s4, it);
|
|
465
1200
|
}
|
|
466
|
-
function
|
|
467
|
-
|
|
468
|
-
return Language_Kotlin_instance;
|
|
1201
|
+
function plus_2(_this__u8e3s4, string) {
|
|
1202
|
+
return _DirectoryPath___init__impl__5bzkjd(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4) + string);
|
|
469
1203
|
}
|
|
470
|
-
function
|
|
471
|
-
|
|
472
|
-
|
|
1204
|
+
function path(_this__u8e3s4) {
|
|
1205
|
+
var tmp;
|
|
1206
|
+
if (_this__u8e3s4 instanceof SourcePath) {
|
|
1207
|
+
tmp = _SourcePath___get_value__impl__3qmxh1(_this__u8e3s4.r2k_1);
|
|
1208
|
+
} else {
|
|
1209
|
+
if (_this__u8e3s4 instanceof DirectoryPath) {
|
|
1210
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.s2k_1);
|
|
1211
|
+
} else {
|
|
1212
|
+
if (_this__u8e3s4 instanceof FilePath) {
|
|
1213
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.u2j_1);
|
|
1214
|
+
} else {
|
|
1215
|
+
noWhenBranchMatchedException();
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
return tmp;
|
|
473
1220
|
}
|
|
474
|
-
function
|
|
475
|
-
|
|
476
|
-
return Language_TypeScript_instance;
|
|
1221
|
+
function IOError(message) {
|
|
1222
|
+
this.w2k_1 = message;
|
|
477
1223
|
}
|
|
478
|
-
function
|
|
479
|
-
|
|
480
|
-
return Language_Wirespec_instance;
|
|
1224
|
+
function WirespecFileError() {
|
|
1225
|
+
SpecificFile.call(this, FileExtension_Wirespec_getInstance());
|
|
481
1226
|
}
|
|
482
|
-
function
|
|
483
|
-
|
|
484
|
-
return Language_OpenAPIV2_instance;
|
|
1227
|
+
function SpecificFile(extension) {
|
|
1228
|
+
IOError.call(this, 'No ' + extension.q2_1 + ' file found');
|
|
485
1229
|
}
|
|
486
|
-
function
|
|
487
|
-
|
|
488
|
-
return Language_OpenAPIV3_instance;
|
|
1230
|
+
function CannotAccessFileOrDirectory(input) {
|
|
1231
|
+
IOError.call(this, 'Cannot access file or directory: ' + input + '.');
|
|
489
1232
|
}
|
|
490
|
-
function
|
|
491
|
-
|
|
492
|
-
return FileExtension_Java_instance;
|
|
1233
|
+
function IsNotAFileOrDirectory(input) {
|
|
1234
|
+
IOError.call(this, 'Input is not a file or directory: ' + input + '.');
|
|
493
1235
|
}
|
|
494
|
-
function
|
|
495
|
-
|
|
496
|
-
return FileExtension_Kotlin_instance;
|
|
1236
|
+
function OutputShouldBeADirectory() {
|
|
1237
|
+
IOError.call(this, 'Output should be a directory.');
|
|
497
1238
|
}
|
|
498
|
-
function
|
|
499
|
-
|
|
500
|
-
|
|
1239
|
+
function getFullPath(input, createIfNotExists_0) {
|
|
1240
|
+
createIfNotExists_0 = createIfNotExists_0 === VOID ? false : createIfNotExists_0;
|
|
1241
|
+
// Inline function 'arrow.core.raise.either' call
|
|
1242
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1243
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1244
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1245
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1246
|
+
var raise = new DefaultRaise(false);
|
|
1247
|
+
var tmp;
|
|
1248
|
+
try {
|
|
1249
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1250
|
+
// Inline function 'community.flock.wirespec.plugin.io.getFullPath.<anonymous>' call
|
|
1251
|
+
var tmp_0;
|
|
1252
|
+
if (input == null) {
|
|
1253
|
+
tmp_0 = null;
|
|
1254
|
+
} else if (startsWith(input, 'classpath:')) {
|
|
1255
|
+
tmp_0 = new SourcePath(_SourcePath___init__impl__vbnish(substringAfter(input, 'classpath:')));
|
|
1256
|
+
} else {
|
|
1257
|
+
var path = createIfNotExists(Path(input), createIfNotExists_0);
|
|
1258
|
+
var tmp0_elvis_lhs = get_SystemFileSystem().u2i(path);
|
|
1259
|
+
var tmp_1;
|
|
1260
|
+
if (tmp0_elvis_lhs == null) {
|
|
1261
|
+
raise.kl(new CannotAccessFileOrDirectory(input));
|
|
1262
|
+
} else {
|
|
1263
|
+
tmp_1 = tmp0_elvis_lhs;
|
|
1264
|
+
}
|
|
1265
|
+
var meta = tmp_1;
|
|
1266
|
+
var pathString = path.toString();
|
|
1267
|
+
var tmp_2;
|
|
1268
|
+
if (meta.x2i_1) {
|
|
1269
|
+
tmp_2 = new DirectoryPath(_DirectoryPath___init__impl__5bzkjd(pathString));
|
|
1270
|
+
} else if (meta.w2i_1) {
|
|
1271
|
+
tmp_2 = Companion_instance_2.t2k(pathString);
|
|
1272
|
+
} else {
|
|
1273
|
+
raise.kl(new IsNotAFileOrDirectory(pathString));
|
|
1274
|
+
}
|
|
1275
|
+
tmp_0 = tmp_2;
|
|
1276
|
+
}
|
|
1277
|
+
var res = tmp_0;
|
|
1278
|
+
raise.il();
|
|
1279
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1280
|
+
tmp = new Right(res);
|
|
1281
|
+
} catch ($p) {
|
|
1282
|
+
var tmp_3;
|
|
1283
|
+
if ($p instanceof RaiseCancellationException) {
|
|
1284
|
+
var e = $p;
|
|
1285
|
+
raise.il();
|
|
1286
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1287
|
+
var it = raisedOrRethrow(e, raise);
|
|
1288
|
+
tmp_3 = new Left(it);
|
|
1289
|
+
} else {
|
|
1290
|
+
if ($p instanceof Error) {
|
|
1291
|
+
var e_0 = $p;
|
|
1292
|
+
raise.il();
|
|
1293
|
+
throw nonFatalOrThrow(e_0);
|
|
1294
|
+
} else {
|
|
1295
|
+
throw $p;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
tmp = tmp_3;
|
|
1299
|
+
}
|
|
1300
|
+
return tmp;
|
|
501
1301
|
}
|
|
502
|
-
function
|
|
503
|
-
|
|
504
|
-
|
|
1302
|
+
function or(_this__u8e3s4, errorFn) {
|
|
1303
|
+
// Inline function 'arrow.core.getOrElse' call
|
|
1304
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1305
|
+
// Inline function 'arrow.core.Either.fold' call
|
|
1306
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1307
|
+
var tmp;
|
|
1308
|
+
if (_this__u8e3s4 instanceof Right) {
|
|
1309
|
+
// Inline function 'arrow.core.getOrElse.stub_for_inlining' call
|
|
1310
|
+
// Inline function 'arrow.core.identity' call
|
|
1311
|
+
tmp = _this__u8e3s4.pk_1;
|
|
1312
|
+
} else {
|
|
1313
|
+
if (_this__u8e3s4 instanceof Left) {
|
|
1314
|
+
errorFn(_this__u8e3s4.jk_1.w2k_1);
|
|
1315
|
+
tmp = throwKotlinNothingValueException();
|
|
1316
|
+
} else {
|
|
1317
|
+
noWhenBranchMatchedException();
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
return tmp;
|
|
505
1321
|
}
|
|
506
|
-
function
|
|
507
|
-
|
|
508
|
-
|
|
1322
|
+
function wirespecSources(_this__u8e3s4) {
|
|
1323
|
+
// Inline function 'arrow.core.raise.either' call
|
|
1324
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1325
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1326
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1327
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1328
|
+
var raise = new DefaultRaise(false);
|
|
1329
|
+
var tmp;
|
|
1330
|
+
try {
|
|
1331
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1332
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>' call
|
|
1333
|
+
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.m2k_1));
|
|
1334
|
+
// Inline function 'kotlin.let' call
|
|
1335
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>.stub_for_inlining' call
|
|
1336
|
+
// Inline function 'kotlin.collections.filter' call
|
|
1337
|
+
var tmp0_0 = get_SystemFileSystem().v2i(tmp0);
|
|
1338
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
1339
|
+
var destination = ArrayList_init_$Create$();
|
|
1340
|
+
var _iterator__ex2g4s = tmp0_0.g();
|
|
1341
|
+
while (_iterator__ex2g4s.h()) {
|
|
1342
|
+
var element = _iterator__ex2g4s.i();
|
|
1343
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>.stub_for_inlining' call
|
|
1344
|
+
if (isRegularFile(element)) {
|
|
1345
|
+
destination.e(element);
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
// Inline function 'kotlin.collections.filter' call
|
|
1349
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
1350
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
1351
|
+
var _iterator__ex2g4s_0 = destination.g();
|
|
1352
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
1353
|
+
var element_0 = _iterator__ex2g4s_0.i();
|
|
1354
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>.stub_for_inlining' call
|
|
1355
|
+
if (isWirespecFile(element_0)) {
|
|
1356
|
+
destination_0.e(element_0);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
// Inline function 'kotlin.collections.map' call
|
|
1360
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1361
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
|
|
1362
|
+
var _iterator__ex2g4s_1 = destination_0.g();
|
|
1363
|
+
while (_iterator__ex2g4s_1.h()) {
|
|
1364
|
+
var item = _iterator__ex2g4s_1.i();
|
|
1365
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>.<anonymous>' call
|
|
1366
|
+
var tmp$ret$8 = to(Companion_instance_2.t2k(item.toString()), readString(buffered(get_SystemFileSystem().r2i(item))));
|
|
1367
|
+
destination_1.e(tmp$ret$8);
|
|
1368
|
+
}
|
|
1369
|
+
// Inline function 'kotlin.collections.map' call
|
|
1370
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
1371
|
+
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_1, 10));
|
|
1372
|
+
var _iterator__ex2g4s_2 = destination_1.g();
|
|
1373
|
+
while (_iterator__ex2g4s_2.h()) {
|
|
1374
|
+
var item_0 = _iterator__ex2g4s_2.i();
|
|
1375
|
+
// Inline function 'community.flock.wirespec.plugin.io.wirespecSources.<anonymous>.<anonymous>' call
|
|
1376
|
+
var path = item_0.yd();
|
|
1377
|
+
var source = item_0.zd();
|
|
1378
|
+
var tmp$ret$11 = new Source(path.v2j_1, source);
|
|
1379
|
+
destination_2.e(tmp$ret$11);
|
|
1380
|
+
}
|
|
1381
|
+
var tmp0_elvis_lhs = toNonEmptySetOrNull(destination_2);
|
|
1382
|
+
var tmp_0;
|
|
1383
|
+
var tmp_1 = tmp0_elvis_lhs;
|
|
1384
|
+
if ((tmp_1 == null ? null : new NonEmptySet(tmp_1)) == null) {
|
|
1385
|
+
raise.kl(new WirespecFileError());
|
|
1386
|
+
} else {
|
|
1387
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
1388
|
+
}
|
|
1389
|
+
var res = new NonEmptySet(tmp_0);
|
|
1390
|
+
raise.il();
|
|
1391
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1392
|
+
tmp = new Right(res);
|
|
1393
|
+
} catch ($p) {
|
|
1394
|
+
var tmp_2;
|
|
1395
|
+
if ($p instanceof RaiseCancellationException) {
|
|
1396
|
+
var e = $p;
|
|
1397
|
+
raise.il();
|
|
1398
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1399
|
+
var it = raisedOrRethrow(e, raise);
|
|
1400
|
+
tmp_2 = new Left(it);
|
|
1401
|
+
} else {
|
|
1402
|
+
if ($p instanceof Error) {
|
|
1403
|
+
var e_0 = $p;
|
|
1404
|
+
raise.il();
|
|
1405
|
+
throw nonFatalOrThrow(e_0);
|
|
1406
|
+
} else {
|
|
1407
|
+
throw $p;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
tmp = tmp_2;
|
|
1411
|
+
}
|
|
1412
|
+
return tmp;
|
|
509
1413
|
}
|
|
510
|
-
function
|
|
511
|
-
|
|
512
|
-
|
|
1414
|
+
function read(_this__u8e3s4) {
|
|
1415
|
+
// Inline function 'kotlin.let' call
|
|
1416
|
+
// Inline function 'community.flock.wirespec.plugin.io.read.<anonymous>' call
|
|
1417
|
+
var it = Path(_this__u8e3s4.toString());
|
|
1418
|
+
return readString(buffered(get_SystemFileSystem().r2i(it)));
|
|
513
1419
|
}
|
|
514
|
-
function
|
|
515
|
-
|
|
1420
|
+
function getOutPutPath(inputPath, output) {
|
|
1421
|
+
// Inline function 'arrow.core.raise.either' call
|
|
1422
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1423
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1424
|
+
// Inline function 'arrow.core.raise.fold' call
|
|
1425
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1426
|
+
var raise = new DefaultRaise(false);
|
|
1427
|
+
var tmp;
|
|
1428
|
+
try {
|
|
1429
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1430
|
+
// Inline function 'community.flock.wirespec.plugin.io.getOutPutPath.<anonymous>' call
|
|
1431
|
+
var it = raise.ll(getFullPath(output, true));
|
|
1432
|
+
var tmp_0;
|
|
1433
|
+
if (it == null) {
|
|
1434
|
+
tmp_0 = _DirectoryPath___init__impl__5bzkjd(path(inputPath) + '/out');
|
|
1435
|
+
} else {
|
|
1436
|
+
if (it instanceof DirectoryPath) {
|
|
1437
|
+
tmp_0 = it.s2k_1;
|
|
1438
|
+
} else {
|
|
1439
|
+
var tmp_1;
|
|
1440
|
+
if (it instanceof FilePath) {
|
|
1441
|
+
tmp_1 = true;
|
|
1442
|
+
} else {
|
|
1443
|
+
tmp_1 = it instanceof SourcePath;
|
|
1444
|
+
}
|
|
1445
|
+
if (tmp_1) {
|
|
1446
|
+
raise.kl(new OutputShouldBeADirectory());
|
|
1447
|
+
} else {
|
|
1448
|
+
noWhenBranchMatchedException();
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
var res = new DirectoryPath(tmp_0);
|
|
1453
|
+
raise.il();
|
|
1454
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1455
|
+
tmp = new Right(res);
|
|
1456
|
+
} catch ($p) {
|
|
1457
|
+
var tmp_2;
|
|
1458
|
+
if ($p instanceof RaiseCancellationException) {
|
|
1459
|
+
var e = $p;
|
|
1460
|
+
raise.il();
|
|
1461
|
+
// Inline function 'arrow.core.raise.either.<anonymous>' call
|
|
1462
|
+
var it_0 = raisedOrRethrow(e, raise);
|
|
1463
|
+
tmp_2 = new Left(it_0);
|
|
1464
|
+
} else {
|
|
1465
|
+
if ($p instanceof Error) {
|
|
1466
|
+
var e_0 = $p;
|
|
1467
|
+
raise.il();
|
|
1468
|
+
throw nonFatalOrThrow(e_0);
|
|
1469
|
+
} else {
|
|
1470
|
+
throw $p;
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
tmp = tmp_2;
|
|
1474
|
+
}
|
|
1475
|
+
return tmp;
|
|
516
1476
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
function
|
|
521
|
-
|
|
1477
|
+
function write(_this__u8e3s4, string) {
|
|
1478
|
+
// Inline function 'kotlin.also' call
|
|
1479
|
+
var this_0 = Path(_this__u8e3s4.toString());
|
|
1480
|
+
// Inline function 'community.flock.wirespec.plugin.io.write.<anonymous>' call
|
|
1481
|
+
var tmp0_safe_receiver = this_0.a2j();
|
|
1482
|
+
if (tmp0_safe_receiver == null)
|
|
1483
|
+
null;
|
|
1484
|
+
else
|
|
1485
|
+
createIfNotExists(tmp0_safe_receiver);
|
|
1486
|
+
// Inline function 'kotlin.let' call
|
|
1487
|
+
// Inline function 'community.flock.wirespec.plugin.io.write.<anonymous>' call
|
|
1488
|
+
// Inline function 'kotlin.apply' call
|
|
1489
|
+
var this_1 = buffered_0(get_SystemFileSystem().t2i(this_0));
|
|
1490
|
+
// Inline function 'community.flock.wirespec.plugin.io.write.<anonymous>.<anonymous>' call
|
|
1491
|
+
writeString(this_1, string);
|
|
1492
|
+
this_1.r8();
|
|
1493
|
+
return Unit_instance;
|
|
522
1494
|
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
function
|
|
527
|
-
|
|
1495
|
+
function createIfNotExists(_this__u8e3s4, create) {
|
|
1496
|
+
create = create === VOID ? true : create;
|
|
1497
|
+
// Inline function 'kotlin.also' call
|
|
1498
|
+
// Inline function 'community.flock.wirespec.plugin.io.createIfNotExists.<anonymous>' call
|
|
1499
|
+
if (create && !get_SystemFileSystem().p2i(_this__u8e3s4)) {
|
|
1500
|
+
get_SystemFileSystem().q2i(_this__u8e3s4, true);
|
|
1501
|
+
}
|
|
1502
|
+
return _this__u8e3s4;
|
|
528
1503
|
}
|
|
529
|
-
|
|
530
|
-
return
|
|
531
|
-
};
|
|
532
|
-
function ScalaFile(path) {
|
|
533
|
-
File.call(this, path.n2d(VOID, VOID, FileExtension_Scala_getInstance()));
|
|
1504
|
+
function isWirespecFile(path) {
|
|
1505
|
+
return get_extension(path) === FileExtension_Wirespec_getInstance().r29_1;
|
|
534
1506
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
function TypeScriptFile(path) {
|
|
539
|
-
File.call(this, path.n2d(VOID, VOID, FileExtension_TypeScript_getInstance()));
|
|
1507
|
+
function isRegularFile(path) {
|
|
1508
|
+
var tmp0_safe_receiver = get_SystemFileSystem().u2i(path);
|
|
1509
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w2i_1) === true;
|
|
540
1510
|
}
|
|
541
|
-
|
|
542
|
-
return
|
|
543
|
-
};
|
|
544
|
-
function WirespecFile(path) {
|
|
545
|
-
File.call(this, path.n2d(VOID, VOID, FileExtension_Wirespec_getInstance()));
|
|
1511
|
+
function get_extension(_this__u8e3s4) {
|
|
1512
|
+
return substringAfterLast(_this__u8e3s4.s2(), _Char___init__impl__6a9atx(46), '');
|
|
546
1513
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
1514
|
+
//region block: post-declaration
|
|
1515
|
+
protoOf(compile$ctx$1$1).h23 = get_spec;
|
|
1516
|
+
//endregion
|
|
550
1517
|
//region block: init
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
1518
|
+
Companion_instance_0 = new Companion();
|
|
1519
|
+
Companion_instance_1 = new Companion_0();
|
|
1520
|
+
Companion_instance_2 = new Companion_1();
|
|
554
1521
|
//endregion
|
|
555
1522
|
//region block: exports
|
|
556
1523
|
export {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
1524
|
+
DirectoryPath as DirectoryPath39bbfr0ixndbr,
|
|
1525
|
+
Directory as Directory1msbu5hqetml1,
|
|
1526
|
+
FilePath as FilePath16n0cgvs38g6y,
|
|
1527
|
+
SourcePath as SourcePath3m57qddtnytut,
|
|
1528
|
+
Source as Source2leyaqfqfs5k3,
|
|
1529
|
+
getFullPath as getFullPath4g3ciksg8rpm,
|
|
1530
|
+
getOutPutPath as getOutPutPathqmn3xkxu6se6,
|
|
1531
|
+
or as or33xhl4wx85q9x,
|
|
1532
|
+
read as read1bpb5m43oodfb,
|
|
1533
|
+
wirespecSources as wirespecSources3k3ry4x3ljoa3,
|
|
1534
|
+
write as write1u316o1mmac8j,
|
|
563
1535
|
CompilerArguments as CompilerArguments27p1etc1665zg,
|
|
564
1536
|
ConverterArguments as ConverterArgumentsa8xc45eyvf51,
|
|
565
|
-
DirectoryPath as DirectoryPath2csdb6gzs7bpq,
|
|
566
|
-
Directory as Directory2pzela5ei9b8y,
|
|
567
|
-
FilePath as FilePath19g13s23dhifl,
|
|
568
1537
|
values as values39f22etrsivck,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
FileExtension_JSON_getInstance as FileExtension_JSON_getInstance2b5cqly6h8zzl,
|
|
572
|
-
FileExtension_Java_getInstance as FileExtension_Java_getInstance2y5b2sxkahmzv,
|
|
573
|
-
FileExtension_Kotlin_getInstance as FileExtension_Kotlin_getInstance33a993g70gip4,
|
|
574
|
-
FileExtension_Scala_getInstance as FileExtension_Scala_getInstanceheb2yniip135,
|
|
575
|
-
FileExtension_TypeScript_getInstance as FileExtension_TypeScript_getInstance327v4uq0judmp,
|
|
576
|
-
FileExtension_Wirespec_getInstance as FileExtension_Wirespec_getInstance19818qj53f25i,
|
|
577
|
-
Language_Wirespec_getInstance as Language_Wirespec_getInstance1zl47mdevd656,
|
|
578
|
-
_DirectoryPath___init__impl__5bzkjd as _DirectoryPath___init__impl__5bzkjd1ktpd1ghksag0,
|
|
579
|
-
_DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e31yc2tub9sv1l0,
|
|
580
|
-
_FileName___init__impl__nzn12e as _FileName___init__impl__nzn12e2ttezdy3facli,
|
|
581
|
-
_FileName___get_value__impl__3u4cz6 as _FileName___get_value__impl__3u4cz62y98r2mblb9vx,
|
|
582
|
-
Companion_instance_0 as Companion_instance29usj1v156zfd,
|
|
1538
|
+
compile_0 as compile3ocumkpx3p9ko,
|
|
1539
|
+
convert as convert3g5kyi4d6y9kc,
|
|
583
1540
|
Companion_instance_1 as Companion_instance16jo4jh8p2erh,
|
|
584
1541
|
};
|
|
585
1542
|
//endregion
|