@flock/wirespec 0.22.4 → 0.22.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-core.mjs +5 -0
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1335 -1335
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +114 -50
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10209 -10209
- package/kotlin-rgxgen.mjs +1760 -1760
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1802 -1802
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1503 -1503
- package/mordant-mordant.mjs +1202 -1202
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +2897 -2620
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +106 -106
- package/wirespec-src-compiler-emitters-kotlin.mjs +136 -116
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +84 -84
- package/wirespec-src-compiler-emitters-rust.mjs +209 -209
- package/wirespec-src-compiler-emitters-scala.mjs +85 -85
- package/wirespec-src-compiler-emitters-typescript.mjs +108 -108
- package/wirespec-src-compiler-emitters-wirespec.mjs +78 -78
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +194 -194
- package/wirespec-src-converter-asyncapi.mjs +532 -532
- package/wirespec-src-converter-avro.mjs +566 -510
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +11 -11
- package/wirespec-src-converter-graphql.mjs +936 -936
- package/wirespec-src-converter-openapi.mjs +435 -435
- package/wirespec-src-ide-lsp.mjs +1358 -1358
- package/wirespec-src-plugin-arguments.mjs +413 -214
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +135 -99
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +4357 -0
- package/wirespec-src-plugin-extensions.mjs.map +1 -0
- package/wirespec-src-plugin-npm.d.mts +43 -1
- package/wirespec-src-plugin-npm.mjs +230 -54
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +13 -13
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
3
|
+
mapCapacity1h45rc3eh9p2l as mapCapacity,
|
|
4
|
+
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
|
|
5
|
+
LinkedHashMap_init_$Create$1gzy1x4a46gd4 as LinkedHashMap_init_$Create$,
|
|
6
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
3
7
|
protoOf180f3jzyo7rfj as protoOf,
|
|
8
|
+
joinToString1cxrrlmo0chqs as joinToString,
|
|
4
9
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
5
10
|
enumEntries20mr21zbe3az4 as enumEntries,
|
|
6
|
-
|
|
11
|
+
getKClass3t8tygqu4lcxf as getKClass,
|
|
12
|
+
setOf45ia9pnfhe90 as setOf,
|
|
13
|
+
setOf1u3mizs95ngxo as setOf_0,
|
|
7
14
|
Enum3alwj03lh1n41 as Enum,
|
|
8
15
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
9
16
|
VOID3gxj6tk5isa35 as VOID,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
|
|
13
|
-
LinkedHashMap_init_$Create$1gzy1x4a46gd4 as LinkedHashMap_init_$Create$,
|
|
17
|
+
isInterface3d6p8outrmvmk as isInterface,
|
|
18
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$,
|
|
14
19
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
15
|
-
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create
|
|
16
|
-
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
20
|
+
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$_0,
|
|
17
21
|
addAll1k27qatfgp3k5 as addAll,
|
|
18
22
|
toString1pkumu07cwy4m as toString,
|
|
19
23
|
hashCodeq5arwsb9dgti as hashCode,
|
|
@@ -33,28 +37,38 @@ import {
|
|
|
33
37
|
_Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
|
|
34
38
|
substringAfterLast3r0t0my8cpqhk as substringAfterLast,
|
|
35
39
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
36
|
-
import { JavaEmitter1ye60adpym6m1 as JavaEmitter } from './wirespec-src-compiler-emitters-java.mjs';
|
|
37
|
-
import { KotlinEmitterddb8247fx90i as KotlinEmitter } from './wirespec-src-compiler-emitters-kotlin.mjs';
|
|
38
|
-
import { PythonEmitter2pjclp0u1gkmn as PythonEmitter } from './wirespec-src-compiler-emitters-python.mjs';
|
|
39
|
-
import { RustEmitter1jgbjguzalmhv as RustEmitter } from './wirespec-src-compiler-emitters-rust.mjs';
|
|
40
|
-
import { ScalaEmitter3fpajh5neerxm as ScalaEmitter } from './wirespec-src-compiler-emitters-scala.mjs';
|
|
41
|
-
import { TypeScriptEmitter1b8xo1btx35xi as TypeScriptEmitter } from './wirespec-src-compiler-emitters-typescript.mjs';
|
|
42
|
-
import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
|
|
43
40
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
AvroExtension2wwjmwjwaw598 as AvroExtension,
|
|
42
|
+
JacksonExtension2apty7n2u8qwe as JacksonExtension,
|
|
43
|
+
JvmBuilderExtension2kiaqxykl1i7i as JvmBuilderExtension,
|
|
44
|
+
KotestDslExtension3b1gkjx78hy8l as KotestDslExtension,
|
|
45
|
+
KotlinxSerializationExtension2mu27sgt74cx0 as KotlinxSerializationExtension,
|
|
46
|
+
SpringMappingAnnotationsExtension2ztar9kzbv7sb as SpringMappingAnnotationsExtension,
|
|
47
|
+
SpringNativeHintsExtension1dir3w0zn6fa3 as SpringNativeHintsExtension,
|
|
48
|
+
} from './wirespec-src-plugin-extensions.mjs';
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
FileExtension_Java_getInstance27piumj2wqd2g as FileExtension_Java_getInstance,
|
|
51
|
+
FileExtension_Kotlin_getInstance29s41mx2tvhb1 as FileExtension_Kotlin_getInstance,
|
|
52
|
+
FileExtension_Scala_getInstance2u2efusiez9e8 as FileExtension_Scala_getInstance,
|
|
53
|
+
IrEmitter2jy94gp21kviv as IrEmitter,
|
|
54
|
+
applyExtensions24jc84bzutu51 as applyExtensions,
|
|
55
|
+
compile2gnmwcihhk0tg as compile,
|
|
56
|
+
ParseOptionspl50698nv4gs as ParseOptions,
|
|
57
|
+
Validator_instance3rdxavtegfyrs as Validator_instance,
|
|
58
|
+
withoutDefaults3uvx7w3zn9naw as withoutDefaults,
|
|
59
|
+
get_spec3cnzsbb1ufwje as get_spec,
|
|
60
|
+
HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
|
|
61
|
+
FileUri2xjkmf4jmvpab as FileUri,
|
|
62
|
+
ModuleContent750xezzquzy9 as ModuleContent,
|
|
63
|
+
get_entries1b334j69qpu9d as get_entries,
|
|
64
|
+
FileExtension_Wirespec_getInstance3awesett59616 as FileExtension_Wirespec_getInstance,
|
|
65
|
+
} from './wirespec-src-compiler-core.mjs';
|
|
53
66
|
import {
|
|
67
|
+
toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
|
|
68
|
+
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
54
69
|
NonEmptySet__map_impl_ngjswd1fxcincnj6e60 as NonEmptySet__map_impl_ngjswd,
|
|
55
70
|
_NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d as _NonEmptyList___get_all__impl__pmf509,
|
|
56
71
|
_NonEmptyList___init__impl__fxd0xprpnd63likgzm as _NonEmptyList___init__impl__fxd0xp,
|
|
57
|
-
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
58
72
|
DefaultRaisevd10gc79qxh8 as DefaultRaise,
|
|
59
73
|
Right351sh2v8odavg as Right,
|
|
60
74
|
raisedOrRethrow397oyvsdde7oq as raisedOrRethrow,
|
|
@@ -66,18 +80,23 @@ import {
|
|
|
66
80
|
NonEmptySet1rtvr2guloo52 as NonEmptySet,
|
|
67
81
|
toNonEmptySetOrNull1tjnd9jrkd4bs as toNonEmptySetOrNull,
|
|
68
82
|
} from './arrow-arrow-core.mjs';
|
|
83
|
+
import { JavaEmitter1ye60adpym6m1 as JavaEmitter } from './wirespec-src-compiler-emitters-java.mjs';
|
|
84
|
+
import { KotlinEmitterddb8247fx90i as KotlinEmitter } from './wirespec-src-compiler-emitters-kotlin.mjs';
|
|
85
|
+
import { PythonEmitter2pjclp0u1gkmn as PythonEmitter } from './wirespec-src-compiler-emitters-python.mjs';
|
|
86
|
+
import { RustEmitter1jgbjguzalmhv as RustEmitter } from './wirespec-src-compiler-emitters-rust.mjs';
|
|
87
|
+
import { ScalaEmitter3fpajh5neerxm as ScalaEmitter } from './wirespec-src-compiler-emitters-scala.mjs';
|
|
88
|
+
import { TypeScriptEmitter1b8xo1btx35xi as TypeScriptEmitter } from './wirespec-src-compiler-emitters-typescript.mjs';
|
|
89
|
+
import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
|
|
69
90
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
FileExtension_Wirespec_getInstance3awesett59616 as FileExtension_Wirespec_getInstance,
|
|
80
|
-
} from './wirespec-src-compiler-core.mjs';
|
|
91
|
+
OpenAPIV2Emitter_getInstance225k4773lxme5 as OpenAPIV2Emitter_getInstance,
|
|
92
|
+
OpenAPIV3Emitter_getInstance1xw545fw8ct0e as OpenAPIV3Emitter_getInstance,
|
|
93
|
+
OpenAPIV2Parser_instanceod31xfqmuuw4 as OpenAPIV2Parser_instance,
|
|
94
|
+
OpenAPIV3Parser_instance2nsxoj7s65j71 as OpenAPIV3Parser_instance,
|
|
95
|
+
} from './wirespec-src-converter-openapi.mjs';
|
|
96
|
+
import {
|
|
97
|
+
AvroJsonEmitter_getInstanceqxb8ioshyd02 as AvroJsonEmitter_getInstance,
|
|
98
|
+
AvroJsonParser_instance5zz3bwjsci7v as AvroJsonParser_instance,
|
|
99
|
+
} from './wirespec-src-converter-avro.mjs';
|
|
81
100
|
import { GraphQLParser_instancea59ka24ixfoj as GraphQLParser_instance } from './wirespec-src-converter-graphql.mjs';
|
|
82
101
|
import { AsyncAPIParser_instance1afg6q7t1ch1g as AsyncAPIParser_instance } from './wirespec-src-converter-asyncapi.mjs';
|
|
83
102
|
import { nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow } from './arrow-arrow-exception-utils.mjs';
|
|
@@ -94,8 +113,10 @@ var imul = Math.imul;
|
|
|
94
113
|
//endregion
|
|
95
114
|
//region block: pre-declaration
|
|
96
115
|
initMetadataForCompanion(Companion);
|
|
97
|
-
initMetadataForClass(
|
|
116
|
+
initMetadataForClass(Extension, 'Extension', VOID, Enum);
|
|
98
117
|
initMetadataForCompanion(Companion_0);
|
|
118
|
+
initMetadataForClass(Format, 'Format', VOID, Enum);
|
|
119
|
+
initMetadataForCompanion(Companion_1);
|
|
99
120
|
initMetadataForClass(Language, 'Language', VOID, Enum);
|
|
100
121
|
initMetadataForClass(compile$ctx$1, VOID, VOID, VOID, [HasLanguageSpec]);
|
|
101
122
|
initMetadataForClass(CompilerArguments, 'CompilerArguments');
|
|
@@ -104,7 +125,7 @@ initMetadataForClass(Source, 'Source');
|
|
|
104
125
|
initMetadataForClass(ClassPath, 'ClassPath');
|
|
105
126
|
initMetadataForClass(DirectoryPath, 'DirectoryPath');
|
|
106
127
|
initMetadataForClass(Directory, 'Directory');
|
|
107
|
-
initMetadataForCompanion(
|
|
128
|
+
initMetadataForCompanion(Companion_2);
|
|
108
129
|
initMetadataForClass(FilePath, 'FilePath');
|
|
109
130
|
initMetadataForClass(IOError, 'IOError');
|
|
110
131
|
initMetadataForClass(SpecificFile, 'SpecificFile', VOID, IOError);
|
|
@@ -113,13 +134,29 @@ initMetadataForClass(CannotAccessFileOrDirectory, 'CannotAccessFileOrDirectory',
|
|
|
113
134
|
initMetadataForClass(IsNotAFileOrDirectory, 'IsNotAFileOrDirectory', VOID, IOError);
|
|
114
135
|
initMetadataForClass(OutputShouldBeADirectory, 'OutputShouldBeADirectory', OutputShouldBeADirectory, IOError);
|
|
115
136
|
//endregion
|
|
116
|
-
var
|
|
117
|
-
var
|
|
118
|
-
var
|
|
119
|
-
var
|
|
120
|
-
var
|
|
137
|
+
var Extension_Avro_instance;
|
|
138
|
+
var Extension_Jackson_instance;
|
|
139
|
+
var Extension_JvmBuilder_instance;
|
|
140
|
+
var Extension_KotestDsl_instance;
|
|
141
|
+
var Extension_KotlinxSerialization_instance;
|
|
142
|
+
var Extension_SpringMappingAnnotations_instance;
|
|
143
|
+
var Extension_SpringNativeHints_instance;
|
|
121
144
|
function Companion() {
|
|
122
145
|
}
|
|
146
|
+
protoOf(Companion).z4u = function () {
|
|
147
|
+
// Inline function 'kotlin.collections.associateBy' call
|
|
148
|
+
var this_0 = get_entries_0();
|
|
149
|
+
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
150
|
+
// Inline function 'kotlin.collections.associateByTo' call
|
|
151
|
+
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
152
|
+
var _iterator__ex2g4s = this_0.t();
|
|
153
|
+
while (_iterator__ex2g4s.u()) {
|
|
154
|
+
var element = _iterator__ex2g4s.v();
|
|
155
|
+
var tmp$ret$2 = element.d3_1;
|
|
156
|
+
destination.v2(tmp$ret$2, element);
|
|
157
|
+
}
|
|
158
|
+
return destination;
|
|
159
|
+
};
|
|
123
160
|
protoOf(Companion).toString = function () {
|
|
124
161
|
return joinToString(get_entries_0());
|
|
125
162
|
};
|
|
@@ -128,13 +165,164 @@ function Companion_getInstance() {
|
|
|
128
165
|
return Companion_instance;
|
|
129
166
|
}
|
|
130
167
|
function values() {
|
|
131
|
-
return [
|
|
168
|
+
return [Extension_Avro_getInstance(), Extension_Jackson_getInstance(), Extension_JvmBuilder_getInstance(), Extension_KotestDsl_getInstance(), Extension_KotlinxSerialization_getInstance(), Extension_SpringMappingAnnotations_getInstance(), Extension_SpringNativeHints_getInstance()];
|
|
132
169
|
}
|
|
133
170
|
function get_entries_0() {
|
|
134
171
|
if ($ENTRIES == null)
|
|
135
172
|
$ENTRIES = enumEntries(values());
|
|
136
173
|
return $ENTRIES;
|
|
137
174
|
}
|
|
175
|
+
var Extension_entriesInitialized;
|
|
176
|
+
function Extension_initEntries() {
|
|
177
|
+
if (Extension_entriesInitialized)
|
|
178
|
+
return Unit_instance;
|
|
179
|
+
Extension_entriesInitialized = true;
|
|
180
|
+
Extension_Avro_instance = new Extension('Avro', 0, getKClass(AvroExtension), setOf([FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance()]));
|
|
181
|
+
Extension_Jackson_instance = new Extension('Jackson', 1, getKClass(JacksonExtension), setOf([FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance()]));
|
|
182
|
+
Extension_JvmBuilder_instance = new Extension('JvmBuilder', 2, getKClass(JvmBuilderExtension), setOf([FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance(), FileExtension_Scala_getInstance()]));
|
|
183
|
+
Extension_KotestDsl_instance = new Extension('KotestDsl', 3, getKClass(KotestDslExtension), setOf_0(FileExtension_Kotlin_getInstance()));
|
|
184
|
+
Extension_KotlinxSerialization_instance = new Extension('KotlinxSerialization', 4, getKClass(KotlinxSerializationExtension), setOf_0(FileExtension_Kotlin_getInstance()));
|
|
185
|
+
Extension_SpringMappingAnnotations_instance = new Extension('SpringMappingAnnotations', 5, getKClass(SpringMappingAnnotationsExtension), setOf([FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance()]));
|
|
186
|
+
Extension_SpringNativeHints_instance = new Extension('SpringNativeHints', 6, getKClass(SpringNativeHintsExtension), setOf([FileExtension_Java_getInstance(), FileExtension_Kotlin_getInstance()]));
|
|
187
|
+
}
|
|
188
|
+
var $ENTRIES;
|
|
189
|
+
function Extension(name, ordinal, type, languages) {
|
|
190
|
+
Enum.call(this, name, ordinal);
|
|
191
|
+
this.c4v_1 = type;
|
|
192
|
+
this.d4v_1 = languages;
|
|
193
|
+
}
|
|
194
|
+
protoOf(Extension).e4v = function (language) {
|
|
195
|
+
return this.d4v_1.i1(language);
|
|
196
|
+
};
|
|
197
|
+
function withExtensions(_this__u8e3s4, extensions) {
|
|
198
|
+
var tmp0_safe_receiver = toNonEmptyListOrNull(extensions);
|
|
199
|
+
var tmp;
|
|
200
|
+
var tmp_0 = tmp0_safe_receiver;
|
|
201
|
+
if ((tmp_0 == null ? null : new NonEmptyList(tmp_0)) == null) {
|
|
202
|
+
tmp = null;
|
|
203
|
+
} else {
|
|
204
|
+
var tmp_1 = tmp0_safe_receiver;
|
|
205
|
+
// Inline function 'kotlin.let' call
|
|
206
|
+
var it = (tmp_1 == null ? null : new NonEmptyList(tmp_1)).dn_1;
|
|
207
|
+
var tmp0_safe_receiver_0 = isInterface(_this__u8e3s4, IrEmitter) ? _this__u8e3s4 : null;
|
|
208
|
+
tmp = tmp0_safe_receiver_0 == null ? null : applyExtensions(tmp0_safe_receiver_0, it);
|
|
209
|
+
}
|
|
210
|
+
var tmp1_elvis_lhs = tmp;
|
|
211
|
+
return tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
212
|
+
}
|
|
213
|
+
function toIrExtensions(_this__u8e3s4, packageName, language) {
|
|
214
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
215
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
216
|
+
var destination = ArrayList_init_$Create$();
|
|
217
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
218
|
+
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
219
|
+
while (_iterator__ex2g4s.u()) {
|
|
220
|
+
var element = _iterator__ex2g4s.v();
|
|
221
|
+
var tmp0_safe_receiver = toIrExtension(element, packageName, language);
|
|
222
|
+
if (tmp0_safe_receiver == null)
|
|
223
|
+
null;
|
|
224
|
+
else {
|
|
225
|
+
// Inline function 'kotlin.let' call
|
|
226
|
+
destination.x(tmp0_safe_receiver);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
return destination;
|
|
230
|
+
}
|
|
231
|
+
function toIrExtension(_this__u8e3s4, packageName, language) {
|
|
232
|
+
// Inline function 'kotlin.takeIf' call
|
|
233
|
+
var tmp;
|
|
234
|
+
if (_this__u8e3s4.e4v(language)) {
|
|
235
|
+
tmp = _this__u8e3s4;
|
|
236
|
+
} else {
|
|
237
|
+
tmp = null;
|
|
238
|
+
}
|
|
239
|
+
var tmp0_safe_receiver = tmp;
|
|
240
|
+
var tmp_0;
|
|
241
|
+
if (tmp0_safe_receiver == null) {
|
|
242
|
+
tmp_0 = null;
|
|
243
|
+
} else {
|
|
244
|
+
// Inline function 'kotlin.let' call
|
|
245
|
+
var tmp_1;
|
|
246
|
+
switch (tmp0_safe_receiver.e3_1) {
|
|
247
|
+
case 0:
|
|
248
|
+
tmp_1 = new AvroExtension(packageName, language);
|
|
249
|
+
break;
|
|
250
|
+
case 1:
|
|
251
|
+
tmp_1 = new JacksonExtension();
|
|
252
|
+
break;
|
|
253
|
+
case 2:
|
|
254
|
+
tmp_1 = new JvmBuilderExtension(language);
|
|
255
|
+
break;
|
|
256
|
+
case 3:
|
|
257
|
+
tmp_1 = new KotestDslExtension(packageName);
|
|
258
|
+
break;
|
|
259
|
+
case 4:
|
|
260
|
+
tmp_1 = new KotlinxSerializationExtension();
|
|
261
|
+
break;
|
|
262
|
+
case 5:
|
|
263
|
+
tmp_1 = new SpringMappingAnnotationsExtension(language);
|
|
264
|
+
break;
|
|
265
|
+
case 6:
|
|
266
|
+
tmp_1 = new SpringNativeHintsExtension(packageName, language);
|
|
267
|
+
break;
|
|
268
|
+
default:
|
|
269
|
+
noWhenBranchMatchedException();
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
tmp_0 = tmp_1;
|
|
273
|
+
}
|
|
274
|
+
return tmp_0;
|
|
275
|
+
}
|
|
276
|
+
function Extension_Avro_getInstance() {
|
|
277
|
+
Extension_initEntries();
|
|
278
|
+
return Extension_Avro_instance;
|
|
279
|
+
}
|
|
280
|
+
function Extension_Jackson_getInstance() {
|
|
281
|
+
Extension_initEntries();
|
|
282
|
+
return Extension_Jackson_instance;
|
|
283
|
+
}
|
|
284
|
+
function Extension_JvmBuilder_getInstance() {
|
|
285
|
+
Extension_initEntries();
|
|
286
|
+
return Extension_JvmBuilder_instance;
|
|
287
|
+
}
|
|
288
|
+
function Extension_KotestDsl_getInstance() {
|
|
289
|
+
Extension_initEntries();
|
|
290
|
+
return Extension_KotestDsl_instance;
|
|
291
|
+
}
|
|
292
|
+
function Extension_KotlinxSerialization_getInstance() {
|
|
293
|
+
Extension_initEntries();
|
|
294
|
+
return Extension_KotlinxSerialization_instance;
|
|
295
|
+
}
|
|
296
|
+
function Extension_SpringMappingAnnotations_getInstance() {
|
|
297
|
+
Extension_initEntries();
|
|
298
|
+
return Extension_SpringMappingAnnotations_instance;
|
|
299
|
+
}
|
|
300
|
+
function Extension_SpringNativeHints_getInstance() {
|
|
301
|
+
Extension_initEntries();
|
|
302
|
+
return Extension_SpringNativeHints_instance;
|
|
303
|
+
}
|
|
304
|
+
var Format_OpenAPIV2_instance;
|
|
305
|
+
var Format_OpenAPIV3_instance;
|
|
306
|
+
var Format_Avro_instance;
|
|
307
|
+
var Format_GraphQL_instance;
|
|
308
|
+
var Format_AsyncAPI_instance;
|
|
309
|
+
function Companion_0() {
|
|
310
|
+
}
|
|
311
|
+
protoOf(Companion_0).toString = function () {
|
|
312
|
+
return joinToString(get_entries_1());
|
|
313
|
+
};
|
|
314
|
+
var Companion_instance_0;
|
|
315
|
+
function Companion_getInstance_0() {
|
|
316
|
+
return Companion_instance_0;
|
|
317
|
+
}
|
|
318
|
+
function values_0() {
|
|
319
|
+
return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance(), Format_GraphQL_getInstance(), Format_AsyncAPI_getInstance()];
|
|
320
|
+
}
|
|
321
|
+
function get_entries_1() {
|
|
322
|
+
if ($ENTRIES_0 == null)
|
|
323
|
+
$ENTRIES_0 = enumEntries(values_0());
|
|
324
|
+
return $ENTRIES_0;
|
|
325
|
+
}
|
|
138
326
|
var Format_entriesInitialized;
|
|
139
327
|
function Format_initEntries() {
|
|
140
328
|
if (Format_entriesInitialized)
|
|
@@ -146,7 +334,7 @@ function Format_initEntries() {
|
|
|
146
334
|
Format_GraphQL_instance = new Format('GraphQL', 3);
|
|
147
335
|
Format_AsyncAPI_instance = new Format('AsyncAPI', 4);
|
|
148
336
|
}
|
|
149
|
-
var $
|
|
337
|
+
var $ENTRIES_0;
|
|
150
338
|
function Format(name, ordinal) {
|
|
151
339
|
Enum.call(this, name, ordinal);
|
|
152
340
|
}
|
|
@@ -180,11 +368,11 @@ var Language_Wirespec_instance;
|
|
|
180
368
|
var Language_OpenAPIV2_instance;
|
|
181
369
|
var Language_OpenAPIV3_instance;
|
|
182
370
|
var Language_Avro_instance;
|
|
183
|
-
function
|
|
371
|
+
function Companion_1() {
|
|
184
372
|
}
|
|
185
|
-
protoOf(
|
|
373
|
+
protoOf(Companion_1).z4u = function () {
|
|
186
374
|
// Inline function 'kotlin.collections.associateBy' call
|
|
187
|
-
var this_0 =
|
|
375
|
+
var this_0 = get_entries_2();
|
|
188
376
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
189
377
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
190
378
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -196,20 +384,20 @@ protoOf(Companion_0).v4q = function () {
|
|
|
196
384
|
}
|
|
197
385
|
return destination;
|
|
198
386
|
};
|
|
199
|
-
protoOf(
|
|
200
|
-
return joinToString(
|
|
387
|
+
protoOf(Companion_1).toString = function () {
|
|
388
|
+
return joinToString(get_entries_2());
|
|
201
389
|
};
|
|
202
|
-
var
|
|
203
|
-
function
|
|
204
|
-
return
|
|
390
|
+
var Companion_instance_1;
|
|
391
|
+
function Companion_getInstance_1() {
|
|
392
|
+
return Companion_instance_1;
|
|
205
393
|
}
|
|
206
|
-
function
|
|
394
|
+
function values_1() {
|
|
207
395
|
return [Language_Java_getInstance(), Language_Kotlin_getInstance(), Language_TypeScript_getInstance(), Language_Python_getInstance(), Language_Rust_getInstance(), Language_Scala_getInstance(), Language_Wirespec_getInstance(), Language_OpenAPIV2_getInstance(), Language_OpenAPIV3_getInstance(), Language_Avro_getInstance()];
|
|
208
396
|
}
|
|
209
|
-
function
|
|
210
|
-
if ($
|
|
211
|
-
$
|
|
212
|
-
return $
|
|
397
|
+
function get_entries_2() {
|
|
398
|
+
if ($ENTRIES_1 == null)
|
|
399
|
+
$ENTRIES_1 = enumEntries(values_1());
|
|
400
|
+
return $ENTRIES_1;
|
|
213
401
|
}
|
|
214
402
|
var Language_entriesInitialized;
|
|
215
403
|
function Language_initEntries() {
|
|
@@ -227,7 +415,7 @@ function Language_initEntries() {
|
|
|
227
415
|
Language_OpenAPIV3_instance = new Language('OpenAPIV3', 8);
|
|
228
416
|
Language_Avro_instance = new Language('Avro', 9);
|
|
229
417
|
}
|
|
230
|
-
var $
|
|
418
|
+
var $ENTRIES_1;
|
|
231
419
|
function Language(name, ordinal) {
|
|
232
420
|
Enum.call(this, name, ordinal);
|
|
233
421
|
}
|
|
@@ -312,11 +500,11 @@ function Language_Avro_getInstance() {
|
|
|
312
500
|
}
|
|
313
501
|
function compile_0(arguments_0) {
|
|
314
502
|
var ctx = new compile$ctx$1(arguments_0);
|
|
315
|
-
fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.
|
|
503
|
+
fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.f4v_1, compile$lambda), arguments_0.n4v_1), arguments_0);
|
|
316
504
|
}
|
|
317
505
|
function convert(arguments_0) {
|
|
318
506
|
var tmp;
|
|
319
|
-
switch (arguments_0.
|
|
507
|
+
switch (arguments_0.o4v_1.e3_1) {
|
|
320
508
|
case 0:
|
|
321
509
|
tmp = OpenAPIV2Parser_instance;
|
|
322
510
|
break;
|
|
@@ -337,17 +525,17 @@ function convert(arguments_0) {
|
|
|
337
525
|
break;
|
|
338
526
|
}
|
|
339
527
|
var parser = tmp;
|
|
340
|
-
var options = new ParseOptions(arguments_0.
|
|
528
|
+
var options = new ParseOptions(arguments_0.w4v_1);
|
|
341
529
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
342
|
-
var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.
|
|
530
|
+
var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.p4v_1, convert$lambda);
|
|
343
531
|
// Inline function 'kotlin.collections.map' call
|
|
344
532
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
345
533
|
// Inline function 'kotlin.collections.mapTo' call
|
|
346
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
534
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
347
535
|
var _iterator__ex2g4s = this_1.t();
|
|
348
536
|
while (_iterator__ex2g4s.u()) {
|
|
349
537
|
var item = _iterator__ex2g4s.v();
|
|
350
|
-
var tmp$ret$3 = parser.
|
|
538
|
+
var tmp$ret$3 = parser.q30(item, arguments_0.w4v_1);
|
|
351
539
|
destination.x(tmp$ret$3);
|
|
352
540
|
}
|
|
353
541
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
@@ -355,11 +543,11 @@ function convert(arguments_0) {
|
|
|
355
543
|
// Inline function 'kotlin.collections.map' call
|
|
356
544
|
var this_3 = _NonEmptyList___get_all__impl__pmf509(this_2);
|
|
357
545
|
// Inline function 'kotlin.collections.mapTo' call
|
|
358
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
546
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
359
547
|
var _iterator__ex2g4s_0 = this_3.t();
|
|
360
548
|
while (_iterator__ex2g4s_0.u()) {
|
|
361
549
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
362
|
-
var tmp$ret$7 = Validator_instance.
|
|
550
|
+
var tmp$ret$7 = Validator_instance.z1c(options, item_0);
|
|
363
551
|
destination_0.x(tmp$ret$7);
|
|
364
552
|
}
|
|
365
553
|
// Inline function 'kotlin.let' call
|
|
@@ -401,11 +589,11 @@ function convert(arguments_0) {
|
|
|
401
589
|
// Inline function 'kotlin.collections.map' call
|
|
402
590
|
var this_6 = _NonEmptyList___get_all__impl__pmf509(this_5);
|
|
403
591
|
// Inline function 'kotlin.collections.mapTo' call
|
|
404
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_6, 10));
|
|
592
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_6, 10));
|
|
405
593
|
var _iterator__ex2g4s_1 = this_6.t();
|
|
406
594
|
while (_iterator__ex2g4s_1.u()) {
|
|
407
595
|
var item_1 = _iterator__ex2g4s_1.v();
|
|
408
|
-
var tmp$ret$24 = arguments_0.
|
|
596
|
+
var tmp$ret$24 = arguments_0.x4v_1 ? withoutDefaults(item_1) : item_1;
|
|
409
597
|
destination_1.x(tmp$ret$24);
|
|
410
598
|
}
|
|
411
599
|
var tmp$ret$21 = _NonEmptyList___init__impl__fxd0xp(destination_1);
|
|
@@ -428,11 +616,11 @@ function convert(arguments_0) {
|
|
|
428
616
|
// Inline function 'kotlin.collections.flatMap' call
|
|
429
617
|
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_8);
|
|
430
618
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
431
|
-
var destination_2 = ArrayList_init_$Create$
|
|
619
|
+
var destination_2 = ArrayList_init_$Create$();
|
|
432
620
|
var _iterator__ex2g4s_2 = tmp0.t();
|
|
433
621
|
while (_iterator__ex2g4s_2.u()) {
|
|
434
622
|
var element = _iterator__ex2g4s_2.v();
|
|
435
|
-
var list = new NonEmptyList(NonEmptySet__flatMap_impl_ovm5jg(arguments_0.
|
|
623
|
+
var list = new NonEmptyList(NonEmptySet__flatMap_impl_ovm5jg(arguments_0.q4v_1, convert$lambda_0(element, arguments_0)));
|
|
436
624
|
addAll(destination_2, list);
|
|
437
625
|
}
|
|
438
626
|
var tmp$ret$29 = _NonEmptyList___init__impl__fxd0xp(destination_2);
|
|
@@ -457,7 +645,7 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
457
645
|
// Inline function 'kotlin.collections.map' call
|
|
458
646
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
459
647
|
// Inline function 'kotlin.collections.mapTo' call
|
|
460
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
648
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
461
649
|
var _iterator__ex2g4s = this_1.t();
|
|
462
650
|
while (_iterator__ex2g4s.u()) {
|
|
463
651
|
var item = _iterator__ex2g4s.v();
|
|
@@ -489,9 +677,9 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
489
677
|
}
|
|
490
678
|
}
|
|
491
679
|
var tmp0 = tmp_0;
|
|
492
|
-
var tmp2 = arguments_0.
|
|
680
|
+
var tmp2 = arguments_0.q1g();
|
|
493
681
|
// Inline function 'arrow.core.Either.fold' call
|
|
494
|
-
var ifRight = arguments_0.
|
|
682
|
+
var ifRight = arguments_0.y4v();
|
|
495
683
|
if (tmp0 instanceof Right)
|
|
496
684
|
ifRight(tmp0.um_1);
|
|
497
685
|
else {
|
|
@@ -504,57 +692,57 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
504
692
|
return Unit_instance;
|
|
505
693
|
}
|
|
506
694
|
function compile$ctx$1($arguments) {
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
695
|
+
this.z4v_1 = $arguments.k4v_1;
|
|
696
|
+
this.a4w_1 = $arguments.g4v_1;
|
|
509
697
|
}
|
|
510
698
|
protoOf(compile$ctx$1).mo = function () {
|
|
511
|
-
return this.
|
|
699
|
+
return this.z4v_1;
|
|
512
700
|
};
|
|
513
701
|
protoOf(compile$ctx$1).so = function () {
|
|
514
|
-
return this.
|
|
702
|
+
return this.a4w_1;
|
|
515
703
|
};
|
|
516
704
|
function compile$lambda(it) {
|
|
517
|
-
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.
|
|
705
|
+
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.b4w_1)), it.c4w_1);
|
|
518
706
|
}
|
|
519
707
|
function convert$lambda(it) {
|
|
520
|
-
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.
|
|
708
|
+
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.b4w_1)), it.c4w_1);
|
|
521
709
|
}
|
|
522
710
|
function convert$lambda_0($ast, $arguments) {
|
|
523
711
|
return function (it) {
|
|
524
|
-
return new NonEmptyList(it.to($ast, $arguments.
|
|
712
|
+
return new NonEmptyList(it.to($ast, $arguments.u4v_1));
|
|
525
713
|
};
|
|
526
714
|
}
|
|
527
715
|
function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
528
716
|
ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
531
|
-
this.
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
538
|
-
}
|
|
539
|
-
protoOf(CompilerArguments).
|
|
540
|
-
return this.
|
|
717
|
+
this.f4v_1 = input;
|
|
718
|
+
this.g4v_1 = emitters;
|
|
719
|
+
this.h4v_1 = writer;
|
|
720
|
+
this.i4v_1 = error;
|
|
721
|
+
this.j4v_1 = packageName;
|
|
722
|
+
this.k4v_1 = logger;
|
|
723
|
+
this.l4v_1 = shared;
|
|
724
|
+
this.m4v_1 = strict;
|
|
725
|
+
this.n4v_1 = ignoreDefaults;
|
|
726
|
+
}
|
|
727
|
+
protoOf(CompilerArguments).y4v = function () {
|
|
728
|
+
return this.h4v_1;
|
|
541
729
|
};
|
|
542
|
-
protoOf(CompilerArguments).
|
|
543
|
-
return this.
|
|
730
|
+
protoOf(CompilerArguments).q1g = function () {
|
|
731
|
+
return this.i4v_1;
|
|
544
732
|
};
|
|
545
733
|
protoOf(CompilerArguments).toString = function () {
|
|
546
|
-
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.
|
|
734
|
+
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.f4v_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.g4v_1) + ', writer=' + toString(this.h4v_1) + ', error=' + toString(this.i4v_1) + ', packageName=' + this.j4v_1.toString() + ', logger=' + toString(this.k4v_1) + ', shared=' + this.l4v_1 + ', strict=' + this.m4v_1 + ', ignoreDefaults=' + this.n4v_1 + ')';
|
|
547
735
|
};
|
|
548
736
|
protoOf(CompilerArguments).hashCode = function () {
|
|
549
|
-
var result = NonEmptySet__hashCode_impl_co6mds(this.
|
|
550
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
551
|
-
result = imul(result, 31) + hashCode(this.
|
|
552
|
-
result = imul(result, 31) + hashCode(this.
|
|
553
|
-
result = imul(result, 31) + hashCode(this.
|
|
554
|
-
result = imul(result, 31) + hashCode(this.
|
|
555
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
556
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
557
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
737
|
+
var result = NonEmptySet__hashCode_impl_co6mds(this.f4v_1);
|
|
738
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.g4v_1) | 0;
|
|
739
|
+
result = imul(result, 31) + hashCode(this.h4v_1) | 0;
|
|
740
|
+
result = imul(result, 31) + hashCode(this.i4v_1) | 0;
|
|
741
|
+
result = imul(result, 31) + hashCode(this.j4v_1) | 0;
|
|
742
|
+
result = imul(result, 31) + hashCode(this.k4v_1) | 0;
|
|
743
|
+
result = imul(result, 31) + getBooleanHashCode(this.l4v_1) | 0;
|
|
744
|
+
result = imul(result, 31) + getBooleanHashCode(this.m4v_1) | 0;
|
|
745
|
+
result = imul(result, 31) + getBooleanHashCode(this.n4v_1) | 0;
|
|
558
746
|
return result;
|
|
559
747
|
};
|
|
560
748
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -562,59 +750,59 @@ protoOf(CompilerArguments).equals = function (other) {
|
|
|
562
750
|
return true;
|
|
563
751
|
if (!(other instanceof CompilerArguments))
|
|
564
752
|
return false;
|
|
565
|
-
if (!equals(new NonEmptySet(this.
|
|
753
|
+
if (!equals(new NonEmptySet(this.f4v_1), new NonEmptySet(other.f4v_1)))
|
|
566
754
|
return false;
|
|
567
|
-
if (!equals(new NonEmptySet(this.
|
|
755
|
+
if (!equals(new NonEmptySet(this.g4v_1), new NonEmptySet(other.g4v_1)))
|
|
568
756
|
return false;
|
|
569
|
-
if (!equals(this.
|
|
757
|
+
if (!equals(this.h4v_1, other.h4v_1))
|
|
570
758
|
return false;
|
|
571
|
-
if (!equals(this.
|
|
759
|
+
if (!equals(this.i4v_1, other.i4v_1))
|
|
572
760
|
return false;
|
|
573
|
-
if (!equals(this.
|
|
761
|
+
if (!equals(this.j4v_1, other.j4v_1))
|
|
574
762
|
return false;
|
|
575
|
-
if (!equals(this.
|
|
763
|
+
if (!equals(this.k4v_1, other.k4v_1))
|
|
576
764
|
return false;
|
|
577
|
-
if (!(this.
|
|
765
|
+
if (!(this.l4v_1 === other.l4v_1))
|
|
578
766
|
return false;
|
|
579
|
-
if (!(this.
|
|
767
|
+
if (!(this.m4v_1 === other.m4v_1))
|
|
580
768
|
return false;
|
|
581
|
-
if (!(this.
|
|
769
|
+
if (!(this.n4v_1 === other.n4v_1))
|
|
582
770
|
return false;
|
|
583
771
|
return true;
|
|
584
772
|
};
|
|
585
773
|
function ConverterArguments(format, input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
586
774
|
ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
}
|
|
598
|
-
protoOf(ConverterArguments).
|
|
599
|
-
return this.
|
|
775
|
+
this.o4v_1 = format;
|
|
776
|
+
this.p4v_1 = input;
|
|
777
|
+
this.q4v_1 = emitters;
|
|
778
|
+
this.r4v_1 = writer;
|
|
779
|
+
this.s4v_1 = error;
|
|
780
|
+
this.t4v_1 = packageName;
|
|
781
|
+
this.u4v_1 = logger;
|
|
782
|
+
this.v4v_1 = shared;
|
|
783
|
+
this.w4v_1 = strict;
|
|
784
|
+
this.x4v_1 = ignoreDefaults;
|
|
785
|
+
}
|
|
786
|
+
protoOf(ConverterArguments).y4v = function () {
|
|
787
|
+
return this.r4v_1;
|
|
600
788
|
};
|
|
601
|
-
protoOf(ConverterArguments).
|
|
602
|
-
return this.
|
|
789
|
+
protoOf(ConverterArguments).q1g = function () {
|
|
790
|
+
return this.s4v_1;
|
|
603
791
|
};
|
|
604
792
|
protoOf(ConverterArguments).toString = function () {
|
|
605
|
-
return 'ConverterArguments(format=' + this.
|
|
793
|
+
return 'ConverterArguments(format=' + this.o4v_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.p4v_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.q4v_1) + ', writer=' + toString(this.r4v_1) + ', error=' + toString(this.s4v_1) + ', packageName=' + this.t4v_1.toString() + ', logger=' + toString(this.u4v_1) + ', shared=' + this.v4v_1 + ', strict=' + this.w4v_1 + ', ignoreDefaults=' + this.x4v_1 + ')';
|
|
606
794
|
};
|
|
607
795
|
protoOf(ConverterArguments).hashCode = function () {
|
|
608
|
-
var result = this.
|
|
609
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
610
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
611
|
-
result = imul(result, 31) + hashCode(this.
|
|
612
|
-
result = imul(result, 31) + hashCode(this.
|
|
613
|
-
result = imul(result, 31) + hashCode(this.
|
|
614
|
-
result = imul(result, 31) + hashCode(this.
|
|
615
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
616
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
617
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
796
|
+
var result = this.o4v_1.hashCode();
|
|
797
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.p4v_1) | 0;
|
|
798
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.q4v_1) | 0;
|
|
799
|
+
result = imul(result, 31) + hashCode(this.r4v_1) | 0;
|
|
800
|
+
result = imul(result, 31) + hashCode(this.s4v_1) | 0;
|
|
801
|
+
result = imul(result, 31) + hashCode(this.t4v_1) | 0;
|
|
802
|
+
result = imul(result, 31) + hashCode(this.u4v_1) | 0;
|
|
803
|
+
result = imul(result, 31) + getBooleanHashCode(this.v4v_1) | 0;
|
|
804
|
+
result = imul(result, 31) + getBooleanHashCode(this.w4v_1) | 0;
|
|
805
|
+
result = imul(result, 31) + getBooleanHashCode(this.x4v_1) | 0;
|
|
618
806
|
return result;
|
|
619
807
|
};
|
|
620
808
|
protoOf(ConverterArguments).equals = function (other) {
|
|
@@ -622,38 +810,38 @@ protoOf(ConverterArguments).equals = function (other) {
|
|
|
622
810
|
return true;
|
|
623
811
|
if (!(other instanceof ConverterArguments))
|
|
624
812
|
return false;
|
|
625
|
-
if (!this.
|
|
813
|
+
if (!this.o4v_1.equals(other.o4v_1))
|
|
626
814
|
return false;
|
|
627
|
-
if (!equals(new NonEmptySet(this.
|
|
815
|
+
if (!equals(new NonEmptySet(this.p4v_1), new NonEmptySet(other.p4v_1)))
|
|
628
816
|
return false;
|
|
629
|
-
if (!equals(new NonEmptySet(this.
|
|
817
|
+
if (!equals(new NonEmptySet(this.q4v_1), new NonEmptySet(other.q4v_1)))
|
|
630
818
|
return false;
|
|
631
|
-
if (!equals(this.
|
|
819
|
+
if (!equals(this.r4v_1, other.r4v_1))
|
|
632
820
|
return false;
|
|
633
|
-
if (!equals(this.
|
|
821
|
+
if (!equals(this.s4v_1, other.s4v_1))
|
|
634
822
|
return false;
|
|
635
|
-
if (!equals(this.
|
|
823
|
+
if (!equals(this.t4v_1, other.t4v_1))
|
|
636
824
|
return false;
|
|
637
|
-
if (!equals(this.
|
|
825
|
+
if (!equals(this.u4v_1, other.u4v_1))
|
|
638
826
|
return false;
|
|
639
|
-
if (!(this.
|
|
827
|
+
if (!(this.v4v_1 === other.v4v_1))
|
|
640
828
|
return false;
|
|
641
|
-
if (!(this.
|
|
829
|
+
if (!(this.w4v_1 === other.w4v_1))
|
|
642
830
|
return false;
|
|
643
|
-
if (!(this.
|
|
831
|
+
if (!(this.x4v_1 === other.x4v_1))
|
|
644
832
|
return false;
|
|
645
833
|
return true;
|
|
646
834
|
};
|
|
647
835
|
function Source(name, content) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
836
|
+
this.b4w_1 = name;
|
|
837
|
+
this.c4w_1 = content;
|
|
650
838
|
}
|
|
651
839
|
protoOf(Source).toString = function () {
|
|
652
|
-
return 'Source(name=' + Name__toString_impl_61tomu(this.
|
|
840
|
+
return 'Source(name=' + Name__toString_impl_61tomu(this.b4w_1) + ', content=' + this.c4w_1 + ')';
|
|
653
841
|
};
|
|
654
842
|
protoOf(Source).hashCode = function () {
|
|
655
|
-
var result = Name__hashCode_impl_fpc861(this.
|
|
656
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
843
|
+
var result = Name__hashCode_impl_fpc861(this.b4w_1);
|
|
844
|
+
result = imul(result, 31) + getStringHashCode(this.c4w_1) | 0;
|
|
657
845
|
return result;
|
|
658
846
|
};
|
|
659
847
|
protoOf(Source).equals = function (other) {
|
|
@@ -661,9 +849,9 @@ protoOf(Source).equals = function (other) {
|
|
|
661
849
|
return true;
|
|
662
850
|
if (!(other instanceof Source))
|
|
663
851
|
return false;
|
|
664
|
-
if (!(this.
|
|
852
|
+
if (!(this.b4w_1 === other.b4w_1))
|
|
665
853
|
return false;
|
|
666
|
-
if (!(this.
|
|
854
|
+
if (!(this.c4w_1 === other.c4w_1))
|
|
667
855
|
return false;
|
|
668
856
|
return true;
|
|
669
857
|
};
|
|
@@ -694,24 +882,24 @@ function ClassPath__hashCode_impl_cciyyd($this) {
|
|
|
694
882
|
function ClassPath__equals_impl_kffpch($this, other) {
|
|
695
883
|
if (!(other instanceof ClassPath))
|
|
696
884
|
return false;
|
|
697
|
-
if (!($this === other.
|
|
885
|
+
if (!($this === other.d4w_1))
|
|
698
886
|
return false;
|
|
699
887
|
return true;
|
|
700
888
|
}
|
|
701
889
|
function ClassPath(value) {
|
|
702
|
-
this.
|
|
890
|
+
this.d4w_1 = value;
|
|
703
891
|
}
|
|
704
892
|
protoOf(ClassPath).o1 = function () {
|
|
705
|
-
return _ClassPath___get_value__impl__lfuxg0(this.
|
|
893
|
+
return _ClassPath___get_value__impl__lfuxg0(this.d4w_1);
|
|
706
894
|
};
|
|
707
895
|
protoOf(ClassPath).toString = function () {
|
|
708
|
-
return ClassPath__toString_impl_y3ovr8(this.
|
|
896
|
+
return ClassPath__toString_impl_y3ovr8(this.d4w_1);
|
|
709
897
|
};
|
|
710
898
|
protoOf(ClassPath).hashCode = function () {
|
|
711
|
-
return ClassPath__hashCode_impl_cciyyd(this.
|
|
899
|
+
return ClassPath__hashCode_impl_cciyyd(this.d4w_1);
|
|
712
900
|
};
|
|
713
901
|
protoOf(ClassPath).equals = function (other) {
|
|
714
|
-
return ClassPath__equals_impl_kffpch(this.
|
|
902
|
+
return ClassPath__equals_impl_kffpch(this.d4w_1, other);
|
|
715
903
|
};
|
|
716
904
|
function _DirectoryPath___init__impl__5bzkjd(value) {
|
|
717
905
|
return value;
|
|
@@ -728,31 +916,31 @@ function DirectoryPath__hashCode_impl_cv3skg($this) {
|
|
|
728
916
|
function DirectoryPath__equals_impl_c2rwsc($this, other) {
|
|
729
917
|
if (!(other instanceof DirectoryPath))
|
|
730
918
|
return false;
|
|
731
|
-
if (!($this === other.
|
|
919
|
+
if (!($this === other.e4w_1))
|
|
732
920
|
return false;
|
|
733
921
|
return true;
|
|
734
922
|
}
|
|
735
923
|
function DirectoryPath(value) {
|
|
736
|
-
this.
|
|
924
|
+
this.e4w_1 = value;
|
|
737
925
|
}
|
|
738
926
|
protoOf(DirectoryPath).o1 = function () {
|
|
739
|
-
return _DirectoryPath___get_value__impl__hdy2e3(this.
|
|
927
|
+
return _DirectoryPath___get_value__impl__hdy2e3(this.e4w_1);
|
|
740
928
|
};
|
|
741
929
|
protoOf(DirectoryPath).toString = function () {
|
|
742
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
930
|
+
return DirectoryPath__toString_impl_ym9pdb(this.e4w_1);
|
|
743
931
|
};
|
|
744
932
|
protoOf(DirectoryPath).hashCode = function () {
|
|
745
|
-
return DirectoryPath__hashCode_impl_cv3skg(this.
|
|
933
|
+
return DirectoryPath__hashCode_impl_cv3skg(this.e4w_1);
|
|
746
934
|
};
|
|
747
935
|
protoOf(DirectoryPath).equals = function (other) {
|
|
748
|
-
return DirectoryPath__equals_impl_c2rwsc(this.
|
|
936
|
+
return DirectoryPath__equals_impl_c2rwsc(this.e4w_1, other);
|
|
749
937
|
};
|
|
750
938
|
function Directory(path) {
|
|
751
|
-
this.
|
|
939
|
+
this.f4w_1 = path;
|
|
752
940
|
}
|
|
753
|
-
function
|
|
941
|
+
function Companion_2() {
|
|
754
942
|
}
|
|
755
|
-
protoOf(
|
|
943
|
+
protoOf(Companion_2).g4w = function (input) {
|
|
756
944
|
// Inline function 'kotlin.let' call
|
|
757
945
|
var it = split(input, ['/']);
|
|
758
946
|
var list = plus(dropLast(it, 1), split(last(it), ['.']));
|
|
@@ -789,22 +977,22 @@ protoOf(Companion_1).x4r = function (input) {
|
|
|
789
977
|
var path = joinToString(list.p2(0, idxOfFileName), '/');
|
|
790
978
|
return new FilePath(_DirectoryPath___init__impl__5bzkjd(path), filename, extension);
|
|
791
979
|
};
|
|
792
|
-
var
|
|
793
|
-
function
|
|
794
|
-
return
|
|
980
|
+
var Companion_instance_2;
|
|
981
|
+
function Companion_getInstance_2() {
|
|
982
|
+
return Companion_instance_2;
|
|
795
983
|
}
|
|
796
984
|
function FilePath(directory, name, extension) {
|
|
797
|
-
this.
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
985
|
+
this.h4w_1 = directory;
|
|
986
|
+
this.i4w_1 = name;
|
|
987
|
+
this.j4w_1 = extension;
|
|
800
988
|
}
|
|
801
989
|
protoOf(FilePath).toString = function () {
|
|
802
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
990
|
+
return DirectoryPath__toString_impl_ym9pdb(this.h4w_1) + '/' + _Name___get_value__impl__3tbxxy(this.i4w_1) + '.' + this.j4w_1.xr_1;
|
|
803
991
|
};
|
|
804
992
|
protoOf(FilePath).hashCode = function () {
|
|
805
|
-
var result = DirectoryPath__hashCode_impl_cv3skg(this.
|
|
806
|
-
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.
|
|
807
|
-
result = imul(result, 31) + this.
|
|
993
|
+
var result = DirectoryPath__hashCode_impl_cv3skg(this.h4w_1);
|
|
994
|
+
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.i4w_1) | 0;
|
|
995
|
+
result = imul(result, 31) + this.j4w_1.hashCode() | 0;
|
|
808
996
|
return result;
|
|
809
997
|
};
|
|
810
998
|
protoOf(FilePath).equals = function (other) {
|
|
@@ -812,24 +1000,24 @@ protoOf(FilePath).equals = function (other) {
|
|
|
812
1000
|
return true;
|
|
813
1001
|
if (!(other instanceof FilePath))
|
|
814
1002
|
return false;
|
|
815
|
-
if (!(this.
|
|
1003
|
+
if (!(this.h4w_1 === other.h4w_1))
|
|
816
1004
|
return false;
|
|
817
|
-
if (!(this.
|
|
1005
|
+
if (!(this.i4w_1 === other.i4w_1))
|
|
818
1006
|
return false;
|
|
819
|
-
if (!this.
|
|
1007
|
+
if (!this.j4w_1.equals(other.j4w_1))
|
|
820
1008
|
return false;
|
|
821
1009
|
return true;
|
|
822
1010
|
};
|
|
823
1011
|
function path(_this__u8e3s4) {
|
|
824
1012
|
var tmp;
|
|
825
1013
|
if (_this__u8e3s4 instanceof ClassPath) {
|
|
826
|
-
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.
|
|
1014
|
+
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.d4w_1);
|
|
827
1015
|
} else {
|
|
828
1016
|
if (_this__u8e3s4 instanceof DirectoryPath) {
|
|
829
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1017
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.e4w_1);
|
|
830
1018
|
} else {
|
|
831
1019
|
if (_this__u8e3s4 instanceof FilePath) {
|
|
832
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1020
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.h4w_1);
|
|
833
1021
|
} else {
|
|
834
1022
|
noWhenBranchMatchedException();
|
|
835
1023
|
}
|
|
@@ -838,7 +1026,7 @@ function path(_this__u8e3s4) {
|
|
|
838
1026
|
return tmp;
|
|
839
1027
|
}
|
|
840
1028
|
function IOError(message) {
|
|
841
|
-
this.
|
|
1029
|
+
this.k4w_1 = message;
|
|
842
1030
|
}
|
|
843
1031
|
function WirespecFileError() {
|
|
844
1032
|
SpecificFile.call(this, FileExtension_Wirespec_getInstance());
|
|
@@ -870,7 +1058,7 @@ function getFullPath(input, createIfNotExists_0) {
|
|
|
870
1058
|
tmp_0 = new ClassPath(_ClassPath___init__impl__obyw3o(substringAfter(input, 'classpath:')));
|
|
871
1059
|
} else {
|
|
872
1060
|
var path = createIfNotExists(Path(input), createIfNotExists_0);
|
|
873
|
-
var tmp0_elvis_lhs = get_SystemFileSystem().
|
|
1061
|
+
var tmp0_elvis_lhs = get_SystemFileSystem().o4u(path);
|
|
874
1062
|
var tmp_1;
|
|
875
1063
|
if (tmp0_elvis_lhs == null) {
|
|
876
1064
|
raise.gn(new CannotAccessFileOrDirectory(input));
|
|
@@ -880,10 +1068,10 @@ function getFullPath(input, createIfNotExists_0) {
|
|
|
880
1068
|
var meta = tmp_1;
|
|
881
1069
|
var pathString = path.toString();
|
|
882
1070
|
var tmp_2;
|
|
883
|
-
if (meta.
|
|
1071
|
+
if (meta.h4u_1) {
|
|
884
1072
|
tmp_2 = new DirectoryPath(_DirectoryPath___init__impl__5bzkjd(pathString));
|
|
885
|
-
} else if (meta.
|
|
886
|
-
tmp_2 =
|
|
1073
|
+
} else if (meta.g4u_1) {
|
|
1074
|
+
tmp_2 = Companion_instance_2.g4w(pathString);
|
|
887
1075
|
} else {
|
|
888
1076
|
raise.gn(new IsNotAFileOrDirectory(pathString));
|
|
889
1077
|
}
|
|
@@ -917,7 +1105,7 @@ function or(_this__u8e3s4, errorFn) {
|
|
|
917
1105
|
var tmp;
|
|
918
1106
|
if (_this__u8e3s4 instanceof Left) {
|
|
919
1107
|
var tmp$ret$1;
|
|
920
|
-
errorFn(_this__u8e3s4.sm_1.
|
|
1108
|
+
errorFn(_this__u8e3s4.sm_1.k4w_1);
|
|
921
1109
|
throwKotlinNothingValueException();
|
|
922
1110
|
tmp = tmp$ret$1;
|
|
923
1111
|
} else {
|
|
@@ -936,12 +1124,12 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
936
1124
|
var raise = new DefaultRaise(false);
|
|
937
1125
|
var tmp;
|
|
938
1126
|
try {
|
|
939
|
-
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1127
|
+
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.f4w_1));
|
|
940
1128
|
// Inline function 'kotlin.let' call
|
|
941
1129
|
// Inline function 'kotlin.collections.filter' call
|
|
942
|
-
var tmp0_0 = get_SystemFileSystem().
|
|
1130
|
+
var tmp0_0 = get_SystemFileSystem().p4u(tmp0);
|
|
943
1131
|
// Inline function 'kotlin.collections.filterTo' call
|
|
944
|
-
var destination = ArrayList_init_$Create$
|
|
1132
|
+
var destination = ArrayList_init_$Create$();
|
|
945
1133
|
var _iterator__ex2g4s = tmp0_0.t();
|
|
946
1134
|
while (_iterator__ex2g4s.u()) {
|
|
947
1135
|
var element = _iterator__ex2g4s.v();
|
|
@@ -951,7 +1139,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
951
1139
|
}
|
|
952
1140
|
// Inline function 'kotlin.collections.filter' call
|
|
953
1141
|
// Inline function 'kotlin.collections.filterTo' call
|
|
954
|
-
var destination_0 = ArrayList_init_$Create$
|
|
1142
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
955
1143
|
var _iterator__ex2g4s_0 = destination.t();
|
|
956
1144
|
while (_iterator__ex2g4s_0.u()) {
|
|
957
1145
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
@@ -961,15 +1149,15 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
961
1149
|
}
|
|
962
1150
|
// Inline function 'kotlin.collections.map' call
|
|
963
1151
|
// Inline function 'kotlin.collections.mapTo' call
|
|
964
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_0, 10));
|
|
1152
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
|
|
965
1153
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
966
1154
|
while (_iterator__ex2g4s_1.u()) {
|
|
967
1155
|
var item = _iterator__ex2g4s_1.v();
|
|
968
|
-
var tmp$ret$14 = to(
|
|
1156
|
+
var tmp$ret$14 = to(Companion_instance_2.g4w(item.toString()), readString(buffered(get_SystemFileSystem().l4u(item))));
|
|
969
1157
|
destination_1.x(tmp$ret$14);
|
|
970
1158
|
}
|
|
971
1159
|
// Inline function 'kotlin.also' call
|
|
972
|
-
logger.as('Found ' + destination_1.b1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1160
|
+
logger.as('Found ' + destination_1.b1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.f4w_1));
|
|
973
1161
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
974
1162
|
var index = 0;
|
|
975
1163
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
@@ -978,17 +1166,17 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
978
1166
|
var _unary__edvuaz = index;
|
|
979
1167
|
index = _unary__edvuaz + 1 | 0;
|
|
980
1168
|
var prefix = checkIndexOverflow(_unary__edvuaz) < (destination_1.b1() - 1 | 0) ? '\u251C\u2500\u2500 ' : '\u2514\u2500\u2500 ';
|
|
981
|
-
logger.as(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ff_1.
|
|
1169
|
+
logger.as(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ff_1.i4w_1) + '.' + item_0.ff_1.j4w_1.xr_1);
|
|
982
1170
|
}
|
|
983
1171
|
// Inline function 'kotlin.collections.map' call
|
|
984
1172
|
// Inline function 'kotlin.collections.mapTo' call
|
|
985
|
-
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_1, 10));
|
|
1173
|
+
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_1, 10));
|
|
986
1174
|
var _iterator__ex2g4s_3 = destination_1.t();
|
|
987
1175
|
while (_iterator__ex2g4s_3.u()) {
|
|
988
1176
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
989
1177
|
var path = item_1.ze();
|
|
990
1178
|
var source = item_1.af();
|
|
991
|
-
var tmp$ret$21 = new Source(path.
|
|
1179
|
+
var tmp$ret$21 = new Source(path.i4w_1, source);
|
|
992
1180
|
destination_2.x(tmp$ret$21);
|
|
993
1181
|
}
|
|
994
1182
|
var tmp0_elvis_lhs = toNonEmptySetOrNull(destination_2);
|
|
@@ -1025,7 +1213,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
1025
1213
|
function read(_this__u8e3s4) {
|
|
1026
1214
|
// Inline function 'kotlin.let' call
|
|
1027
1215
|
var it = Path(_this__u8e3s4.toString());
|
|
1028
|
-
return readString(buffered(get_SystemFileSystem().
|
|
1216
|
+
return readString(buffered(get_SystemFileSystem().l4u(it)));
|
|
1029
1217
|
}
|
|
1030
1218
|
function getOutPutPath(inputPath, output) {
|
|
1031
1219
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1040,7 +1228,7 @@ function getOutPutPath(inputPath, output) {
|
|
|
1040
1228
|
tmp_0 = _DirectoryPath___init__impl__5bzkjd(path(inputPath) + '/out');
|
|
1041
1229
|
} else {
|
|
1042
1230
|
if (it instanceof DirectoryPath) {
|
|
1043
|
-
tmp_0 = it.
|
|
1231
|
+
tmp_0 = it.e4w_1;
|
|
1044
1232
|
} else {
|
|
1045
1233
|
var tmp_1;
|
|
1046
1234
|
if (it instanceof FilePath) {
|
|
@@ -1081,14 +1269,14 @@ function getOutPutPath(inputPath, output) {
|
|
|
1081
1269
|
function write(_this__u8e3s4, string) {
|
|
1082
1270
|
// Inline function 'kotlin.also' call
|
|
1083
1271
|
var this_0 = Path(_this__u8e3s4.toString());
|
|
1084
|
-
var tmp0_safe_receiver = this_0.
|
|
1272
|
+
var tmp0_safe_receiver = this_0.r4u();
|
|
1085
1273
|
if (tmp0_safe_receiver == null)
|
|
1086
1274
|
null;
|
|
1087
1275
|
else
|
|
1088
1276
|
createIfNotExists(tmp0_safe_receiver);
|
|
1089
1277
|
// Inline function 'kotlin.let' call
|
|
1090
1278
|
// Inline function 'kotlin.apply' call
|
|
1091
|
-
var this_1 = buffered_0(get_SystemFileSystem().
|
|
1279
|
+
var this_1 = buffered_0(get_SystemFileSystem().n4u(this_0));
|
|
1092
1280
|
writeString(this_1, string);
|
|
1093
1281
|
this_1.c9();
|
|
1094
1282
|
return Unit_instance;
|
|
@@ -1096,14 +1284,14 @@ function write(_this__u8e3s4, string) {
|
|
|
1096
1284
|
function createIfNotExists(_this__u8e3s4, create) {
|
|
1097
1285
|
create = create === VOID ? true : create;
|
|
1098
1286
|
// Inline function 'kotlin.also' call
|
|
1099
|
-
if (create && !get_SystemFileSystem().
|
|
1100
|
-
get_SystemFileSystem().
|
|
1287
|
+
if (create && !get_SystemFileSystem().j4u(_this__u8e3s4)) {
|
|
1288
|
+
get_SystemFileSystem().k4u(_this__u8e3s4, true);
|
|
1101
1289
|
}
|
|
1102
1290
|
return _this__u8e3s4;
|
|
1103
1291
|
}
|
|
1104
1292
|
function isRegularFile(path) {
|
|
1105
|
-
var tmp0_safe_receiver = get_SystemFileSystem().
|
|
1106
|
-
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1293
|
+
var tmp0_safe_receiver = get_SystemFileSystem().o4u(path);
|
|
1294
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g4u_1) === true;
|
|
1107
1295
|
}
|
|
1108
1296
|
function isWirespecFile(path) {
|
|
1109
1297
|
return get_extension(path) === FileExtension_Wirespec_getInstance().xr_1;
|
|
@@ -1118,6 +1306,7 @@ protoOf(compile$ctx$1).lo = get_spec;
|
|
|
1118
1306
|
Companion_instance = new Companion();
|
|
1119
1307
|
Companion_instance_0 = new Companion_0();
|
|
1120
1308
|
Companion_instance_1 = new Companion_1();
|
|
1309
|
+
Companion_instance_2 = new Companion_2();
|
|
1121
1310
|
//endregion
|
|
1122
1311
|
//region block: exports
|
|
1123
1312
|
export {
|
|
@@ -1134,12 +1323,22 @@ export {
|
|
|
1134
1323
|
write as write1u316o1mmac8j,
|
|
1135
1324
|
CompilerArguments as CompilerArguments27p1etc1665zg,
|
|
1136
1325
|
ConverterArguments as ConverterArgumentsa8xc45eyvf51,
|
|
1137
|
-
|
|
1326
|
+
values_0 as values39f22etrsivck,
|
|
1138
1327
|
compile_0 as compile3ocumkpx3p9ko,
|
|
1139
1328
|
convert as convert3g5kyi4d6y9kc,
|
|
1140
1329
|
toEmitter as toEmitter3vk7m5bivtqhk,
|
|
1141
|
-
|
|
1142
|
-
|
|
1330
|
+
toIrExtensions as toIrExtensions3bmv0ihl79yku,
|
|
1331
|
+
withExtensions as withExtensions10gpwkl2s1rlm,
|
|
1332
|
+
Companion_instance_2 as Companion_instance3u189ncjgxp6,
|
|
1333
|
+
Companion_instance as Companion_instanceh05mpoofy9qh,
|
|
1334
|
+
Companion_instance_1 as Companion_instanceostrm0i8dq1p,
|
|
1335
|
+
Extension_Avro_getInstance as Extension_Avro_getInstance22hu8ja38xbww,
|
|
1336
|
+
Extension_Jackson_getInstance as Extension_Jackson_getInstance12ge1t6pp9fq7,
|
|
1337
|
+
Extension_JvmBuilder_getInstance as Extension_JvmBuilder_getInstance28hbauax2jt2s,
|
|
1338
|
+
Extension_KotestDsl_getInstance as Extension_KotestDsl_getInstance1szx6asmv9ylb,
|
|
1339
|
+
Extension_KotlinxSerialization_getInstance as Extension_KotlinxSerialization_getInstance3i9k3p5ubqalx,
|
|
1340
|
+
Extension_SpringMappingAnnotations_getInstance as Extension_SpringMappingAnnotations_getInstance1n0r3g1b75wjp,
|
|
1341
|
+
Extension_SpringNativeHints_getInstance as Extension_SpringNativeHints_getInstance18tn7y425ujoe,
|
|
1143
1342
|
Language_Kotlin_getInstance as Language_Kotlin_getInstancel9flkgp6e3q4,
|
|
1144
1343
|
_DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e31of6jj3zjtzs5,
|
|
1145
1344
|
_Name___init__impl__o4q07e as _Name___init__impl__o4q07e3vb5gulc0hok1,
|