@flock/wirespec 0.22.4 → 0.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-core.mjs +13 -8
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1367 -1366
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +436 -436
- package/kotlin-kotlin-stdlib.mjs +304 -239
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10221 -10221
- package/kotlin-rgxgen.mjs +1771 -1771
- package/kotlinx-io-kotlinx-io-core.mjs +425 -425
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1824 -1824
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1509 -1509
- package/mordant-mordant.mjs +1246 -1246
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +5972 -5367
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +171 -187
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +174 -165
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +147 -160
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +356 -370
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +165 -175
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +187 -313
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +81 -81
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +194 -194
- package/wirespec-src-converter-asyncapi.mjs +545 -545
- package/wirespec-src-converter-avro.mjs +570 -514
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +11 -11
- package/wirespec-src-converter-graphql.mjs +942 -942
- package/wirespec-src-converter-openapi.mjs +453 -453
- package/wirespec-src-ide-lsp.mjs +1359 -1359
- package/wirespec-src-plugin-arguments.mjs +419 -224
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +170 -137
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +4874 -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 +17 -17
|
@@ -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,51 +37,66 @@ 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,
|
|
61
75
|
Left2oemzq1tpcg4i as Left,
|
|
62
76
|
RaiseCancellationException3n5raogfhbd1l as RaiseCancellationException,
|
|
63
|
-
|
|
77
|
+
nonEmptySetOf3p7fhmt51pz4b as nonEmptySetOf,
|
|
64
78
|
NonEmptySet__toString_impl_yfcj6ns81v4qijlr42 as NonEmptySet__toString_impl_yfcj6n,
|
|
65
79
|
NonEmptySet__hashCode_impl_co6mdsl81ll59f92cp as NonEmptySet__hashCode_impl_co6mds,
|
|
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).i4x = 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.l4x_1 = type;
|
|
192
|
+
this.m4x_1 = languages;
|
|
193
|
+
}
|
|
194
|
+
protoOf(Extension).n4x = function (language) {
|
|
195
|
+
return this.m4x_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.n4x(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).i4x = 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.o4x_1, compile$lambda), arguments_0.w4x_1), arguments_0);
|
|
316
504
|
}
|
|
317
505
|
function convert(arguments_0) {
|
|
318
506
|
var tmp;
|
|
319
|
-
switch (arguments_0.
|
|
507
|
+
switch (arguments_0.x4x_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.f4y_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.y4x_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.p31(item, arguments_0.f4y_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.y1d(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.g4y_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(
|
|
623
|
+
var list = new NonEmptyList(arguments_0.z4x_1.to(element, arguments_0.d4y_1));
|
|
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.p1h();
|
|
493
681
|
// Inline function 'arrow.core.Either.fold' call
|
|
494
|
-
var ifRight = arguments_0.
|
|
682
|
+
var ifRight = arguments_0.h4y();
|
|
495
683
|
if (tmp0 instanceof Right)
|
|
496
684
|
ifRight(tmp0.um_1);
|
|
497
685
|
else {
|
|
@@ -504,57 +692,52 @@ 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.i4y_1 = $arguments.t4x_1;
|
|
696
|
+
this.j4y_1 = nonEmptySetOf($arguments.p4x_1, []);
|
|
509
697
|
}
|
|
510
698
|
protoOf(compile$ctx$1).mo = function () {
|
|
511
|
-
return this.
|
|
699
|
+
return this.i4y_1;
|
|
512
700
|
};
|
|
513
701
|
protoOf(compile$ctx$1).so = function () {
|
|
514
|
-
return this.
|
|
702
|
+
return this.j4y_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.k4y_1)), it.l4y_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.k4y_1)), it.l4y_1);
|
|
521
709
|
}
|
|
522
|
-
function
|
|
523
|
-
return function (it) {
|
|
524
|
-
return new NonEmptyList(it.to($ast, $arguments.l4r_1));
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
710
|
+
function CompilerArguments(input, emitter, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
528
711
|
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.
|
|
712
|
+
this.o4x_1 = input;
|
|
713
|
+
this.p4x_1 = emitter;
|
|
714
|
+
this.q4x_1 = writer;
|
|
715
|
+
this.r4x_1 = error;
|
|
716
|
+
this.s4x_1 = packageName;
|
|
717
|
+
this.t4x_1 = logger;
|
|
718
|
+
this.u4x_1 = shared;
|
|
719
|
+
this.v4x_1 = strict;
|
|
720
|
+
this.w4x_1 = ignoreDefaults;
|
|
721
|
+
}
|
|
722
|
+
protoOf(CompilerArguments).h4y = function () {
|
|
723
|
+
return this.q4x_1;
|
|
541
724
|
};
|
|
542
|
-
protoOf(CompilerArguments).
|
|
543
|
-
return this.
|
|
725
|
+
protoOf(CompilerArguments).p1h = function () {
|
|
726
|
+
return this.r4x_1;
|
|
544
727
|
};
|
|
545
728
|
protoOf(CompilerArguments).toString = function () {
|
|
546
|
-
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.
|
|
729
|
+
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.o4x_1) + ', emitter=' + toString(this.p4x_1) + ', writer=' + toString(this.q4x_1) + ', error=' + toString(this.r4x_1) + ', packageName=' + this.s4x_1.toString() + ', logger=' + toString(this.t4x_1) + ', shared=' + this.u4x_1 + ', strict=' + this.v4x_1 + ', ignoreDefaults=' + this.w4x_1 + ')';
|
|
547
730
|
};
|
|
548
731
|
protoOf(CompilerArguments).hashCode = function () {
|
|
549
|
-
var result = NonEmptySet__hashCode_impl_co6mds(this.
|
|
550
|
-
result = imul(result, 31) +
|
|
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.
|
|
732
|
+
var result = NonEmptySet__hashCode_impl_co6mds(this.o4x_1);
|
|
733
|
+
result = imul(result, 31) + hashCode(this.p4x_1) | 0;
|
|
734
|
+
result = imul(result, 31) + hashCode(this.q4x_1) | 0;
|
|
735
|
+
result = imul(result, 31) + hashCode(this.r4x_1) | 0;
|
|
736
|
+
result = imul(result, 31) + hashCode(this.s4x_1) | 0;
|
|
737
|
+
result = imul(result, 31) + hashCode(this.t4x_1) | 0;
|
|
738
|
+
result = imul(result, 31) + getBooleanHashCode(this.u4x_1) | 0;
|
|
739
|
+
result = imul(result, 31) + getBooleanHashCode(this.v4x_1) | 0;
|
|
740
|
+
result = imul(result, 31) + getBooleanHashCode(this.w4x_1) | 0;
|
|
558
741
|
return result;
|
|
559
742
|
};
|
|
560
743
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -562,59 +745,59 @@ protoOf(CompilerArguments).equals = function (other) {
|
|
|
562
745
|
return true;
|
|
563
746
|
if (!(other instanceof CompilerArguments))
|
|
564
747
|
return false;
|
|
565
|
-
if (!equals(new NonEmptySet(this.
|
|
748
|
+
if (!equals(new NonEmptySet(this.o4x_1), new NonEmptySet(other.o4x_1)))
|
|
566
749
|
return false;
|
|
567
|
-
if (!equals(
|
|
750
|
+
if (!equals(this.p4x_1, other.p4x_1))
|
|
568
751
|
return false;
|
|
569
|
-
if (!equals(this.
|
|
752
|
+
if (!equals(this.q4x_1, other.q4x_1))
|
|
570
753
|
return false;
|
|
571
|
-
if (!equals(this.
|
|
754
|
+
if (!equals(this.r4x_1, other.r4x_1))
|
|
572
755
|
return false;
|
|
573
|
-
if (!equals(this.
|
|
756
|
+
if (!equals(this.s4x_1, other.s4x_1))
|
|
574
757
|
return false;
|
|
575
|
-
if (!equals(this.
|
|
758
|
+
if (!equals(this.t4x_1, other.t4x_1))
|
|
576
759
|
return false;
|
|
577
|
-
if (!(this.
|
|
760
|
+
if (!(this.u4x_1 === other.u4x_1))
|
|
578
761
|
return false;
|
|
579
|
-
if (!(this.
|
|
762
|
+
if (!(this.v4x_1 === other.v4x_1))
|
|
580
763
|
return false;
|
|
581
|
-
if (!(this.
|
|
764
|
+
if (!(this.w4x_1 === other.w4x_1))
|
|
582
765
|
return false;
|
|
583
766
|
return true;
|
|
584
767
|
};
|
|
585
|
-
function ConverterArguments(format, input,
|
|
768
|
+
function ConverterArguments(format, input, emitter, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
586
769
|
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.
|
|
770
|
+
this.x4x_1 = format;
|
|
771
|
+
this.y4x_1 = input;
|
|
772
|
+
this.z4x_1 = emitter;
|
|
773
|
+
this.a4y_1 = writer;
|
|
774
|
+
this.b4y_1 = error;
|
|
775
|
+
this.c4y_1 = packageName;
|
|
776
|
+
this.d4y_1 = logger;
|
|
777
|
+
this.e4y_1 = shared;
|
|
778
|
+
this.f4y_1 = strict;
|
|
779
|
+
this.g4y_1 = ignoreDefaults;
|
|
780
|
+
}
|
|
781
|
+
protoOf(ConverterArguments).h4y = function () {
|
|
782
|
+
return this.a4y_1;
|
|
600
783
|
};
|
|
601
|
-
protoOf(ConverterArguments).
|
|
602
|
-
return this.
|
|
784
|
+
protoOf(ConverterArguments).p1h = function () {
|
|
785
|
+
return this.b4y_1;
|
|
603
786
|
};
|
|
604
787
|
protoOf(ConverterArguments).toString = function () {
|
|
605
|
-
return 'ConverterArguments(format=' + this.
|
|
788
|
+
return 'ConverterArguments(format=' + this.x4x_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.y4x_1) + ', emitter=' + toString(this.z4x_1) + ', writer=' + toString(this.a4y_1) + ', error=' + toString(this.b4y_1) + ', packageName=' + this.c4y_1.toString() + ', logger=' + toString(this.d4y_1) + ', shared=' + this.e4y_1 + ', strict=' + this.f4y_1 + ', ignoreDefaults=' + this.g4y_1 + ')';
|
|
606
789
|
};
|
|
607
790
|
protoOf(ConverterArguments).hashCode = function () {
|
|
608
|
-
var result = this.
|
|
609
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
610
|
-
result = imul(result, 31) +
|
|
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.
|
|
791
|
+
var result = this.x4x_1.hashCode();
|
|
792
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.y4x_1) | 0;
|
|
793
|
+
result = imul(result, 31) + hashCode(this.z4x_1) | 0;
|
|
794
|
+
result = imul(result, 31) + hashCode(this.a4y_1) | 0;
|
|
795
|
+
result = imul(result, 31) + hashCode(this.b4y_1) | 0;
|
|
796
|
+
result = imul(result, 31) + hashCode(this.c4y_1) | 0;
|
|
797
|
+
result = imul(result, 31) + hashCode(this.d4y_1) | 0;
|
|
798
|
+
result = imul(result, 31) + getBooleanHashCode(this.e4y_1) | 0;
|
|
799
|
+
result = imul(result, 31) + getBooleanHashCode(this.f4y_1) | 0;
|
|
800
|
+
result = imul(result, 31) + getBooleanHashCode(this.g4y_1) | 0;
|
|
618
801
|
return result;
|
|
619
802
|
};
|
|
620
803
|
protoOf(ConverterArguments).equals = function (other) {
|
|
@@ -622,38 +805,38 @@ protoOf(ConverterArguments).equals = function (other) {
|
|
|
622
805
|
return true;
|
|
623
806
|
if (!(other instanceof ConverterArguments))
|
|
624
807
|
return false;
|
|
625
|
-
if (!this.
|
|
808
|
+
if (!this.x4x_1.equals(other.x4x_1))
|
|
626
809
|
return false;
|
|
627
|
-
if (!equals(new NonEmptySet(this.
|
|
810
|
+
if (!equals(new NonEmptySet(this.y4x_1), new NonEmptySet(other.y4x_1)))
|
|
628
811
|
return false;
|
|
629
|
-
if (!equals(
|
|
812
|
+
if (!equals(this.z4x_1, other.z4x_1))
|
|
630
813
|
return false;
|
|
631
|
-
if (!equals(this.
|
|
814
|
+
if (!equals(this.a4y_1, other.a4y_1))
|
|
632
815
|
return false;
|
|
633
|
-
if (!equals(this.
|
|
816
|
+
if (!equals(this.b4y_1, other.b4y_1))
|
|
634
817
|
return false;
|
|
635
|
-
if (!equals(this.
|
|
818
|
+
if (!equals(this.c4y_1, other.c4y_1))
|
|
636
819
|
return false;
|
|
637
|
-
if (!equals(this.
|
|
820
|
+
if (!equals(this.d4y_1, other.d4y_1))
|
|
638
821
|
return false;
|
|
639
|
-
if (!(this.
|
|
822
|
+
if (!(this.e4y_1 === other.e4y_1))
|
|
640
823
|
return false;
|
|
641
|
-
if (!(this.
|
|
824
|
+
if (!(this.f4y_1 === other.f4y_1))
|
|
642
825
|
return false;
|
|
643
|
-
if (!(this.
|
|
826
|
+
if (!(this.g4y_1 === other.g4y_1))
|
|
644
827
|
return false;
|
|
645
828
|
return true;
|
|
646
829
|
};
|
|
647
830
|
function Source(name, content) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
831
|
+
this.k4y_1 = name;
|
|
832
|
+
this.l4y_1 = content;
|
|
650
833
|
}
|
|
651
834
|
protoOf(Source).toString = function () {
|
|
652
|
-
return 'Source(name=' + Name__toString_impl_61tomu(this.
|
|
835
|
+
return 'Source(name=' + Name__toString_impl_61tomu(this.k4y_1) + ', content=' + this.l4y_1 + ')';
|
|
653
836
|
};
|
|
654
837
|
protoOf(Source).hashCode = function () {
|
|
655
|
-
var result = Name__hashCode_impl_fpc861(this.
|
|
656
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
838
|
+
var result = Name__hashCode_impl_fpc861(this.k4y_1);
|
|
839
|
+
result = imul(result, 31) + getStringHashCode(this.l4y_1) | 0;
|
|
657
840
|
return result;
|
|
658
841
|
};
|
|
659
842
|
protoOf(Source).equals = function (other) {
|
|
@@ -661,9 +844,9 @@ protoOf(Source).equals = function (other) {
|
|
|
661
844
|
return true;
|
|
662
845
|
if (!(other instanceof Source))
|
|
663
846
|
return false;
|
|
664
|
-
if (!(this.
|
|
847
|
+
if (!(this.k4y_1 === other.k4y_1))
|
|
665
848
|
return false;
|
|
666
|
-
if (!(this.
|
|
849
|
+
if (!(this.l4y_1 === other.l4y_1))
|
|
667
850
|
return false;
|
|
668
851
|
return true;
|
|
669
852
|
};
|
|
@@ -694,24 +877,24 @@ function ClassPath__hashCode_impl_cciyyd($this) {
|
|
|
694
877
|
function ClassPath__equals_impl_kffpch($this, other) {
|
|
695
878
|
if (!(other instanceof ClassPath))
|
|
696
879
|
return false;
|
|
697
|
-
if (!($this === other.
|
|
880
|
+
if (!($this === other.m4y_1))
|
|
698
881
|
return false;
|
|
699
882
|
return true;
|
|
700
883
|
}
|
|
701
884
|
function ClassPath(value) {
|
|
702
|
-
this.
|
|
885
|
+
this.m4y_1 = value;
|
|
703
886
|
}
|
|
704
887
|
protoOf(ClassPath).o1 = function () {
|
|
705
|
-
return _ClassPath___get_value__impl__lfuxg0(this.
|
|
888
|
+
return _ClassPath___get_value__impl__lfuxg0(this.m4y_1);
|
|
706
889
|
};
|
|
707
890
|
protoOf(ClassPath).toString = function () {
|
|
708
|
-
return ClassPath__toString_impl_y3ovr8(this.
|
|
891
|
+
return ClassPath__toString_impl_y3ovr8(this.m4y_1);
|
|
709
892
|
};
|
|
710
893
|
protoOf(ClassPath).hashCode = function () {
|
|
711
|
-
return ClassPath__hashCode_impl_cciyyd(this.
|
|
894
|
+
return ClassPath__hashCode_impl_cciyyd(this.m4y_1);
|
|
712
895
|
};
|
|
713
896
|
protoOf(ClassPath).equals = function (other) {
|
|
714
|
-
return ClassPath__equals_impl_kffpch(this.
|
|
897
|
+
return ClassPath__equals_impl_kffpch(this.m4y_1, other);
|
|
715
898
|
};
|
|
716
899
|
function _DirectoryPath___init__impl__5bzkjd(value) {
|
|
717
900
|
return value;
|
|
@@ -728,31 +911,31 @@ function DirectoryPath__hashCode_impl_cv3skg($this) {
|
|
|
728
911
|
function DirectoryPath__equals_impl_c2rwsc($this, other) {
|
|
729
912
|
if (!(other instanceof DirectoryPath))
|
|
730
913
|
return false;
|
|
731
|
-
if (!($this === other.
|
|
914
|
+
if (!($this === other.n4y_1))
|
|
732
915
|
return false;
|
|
733
916
|
return true;
|
|
734
917
|
}
|
|
735
918
|
function DirectoryPath(value) {
|
|
736
|
-
this.
|
|
919
|
+
this.n4y_1 = value;
|
|
737
920
|
}
|
|
738
921
|
protoOf(DirectoryPath).o1 = function () {
|
|
739
|
-
return _DirectoryPath___get_value__impl__hdy2e3(this.
|
|
922
|
+
return _DirectoryPath___get_value__impl__hdy2e3(this.n4y_1);
|
|
740
923
|
};
|
|
741
924
|
protoOf(DirectoryPath).toString = function () {
|
|
742
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
925
|
+
return DirectoryPath__toString_impl_ym9pdb(this.n4y_1);
|
|
743
926
|
};
|
|
744
927
|
protoOf(DirectoryPath).hashCode = function () {
|
|
745
|
-
return DirectoryPath__hashCode_impl_cv3skg(this.
|
|
928
|
+
return DirectoryPath__hashCode_impl_cv3skg(this.n4y_1);
|
|
746
929
|
};
|
|
747
930
|
protoOf(DirectoryPath).equals = function (other) {
|
|
748
|
-
return DirectoryPath__equals_impl_c2rwsc(this.
|
|
931
|
+
return DirectoryPath__equals_impl_c2rwsc(this.n4y_1, other);
|
|
749
932
|
};
|
|
750
933
|
function Directory(path) {
|
|
751
|
-
this.
|
|
934
|
+
this.o4y_1 = path;
|
|
752
935
|
}
|
|
753
|
-
function
|
|
936
|
+
function Companion_2() {
|
|
754
937
|
}
|
|
755
|
-
protoOf(
|
|
938
|
+
protoOf(Companion_2).p4y = function (input) {
|
|
756
939
|
// Inline function 'kotlin.let' call
|
|
757
940
|
var it = split(input, ['/']);
|
|
758
941
|
var list = plus(dropLast(it, 1), split(last(it), ['.']));
|
|
@@ -784,27 +967,27 @@ protoOf(Companion_1).x4r = function (input) {
|
|
|
784
967
|
tmp = tmp0_elvis_lhs;
|
|
785
968
|
}
|
|
786
969
|
var extension = tmp;
|
|
787
|
-
var idxOfFileName = list.
|
|
788
|
-
var filename = _Name___init__impl__o4q07e(list.
|
|
970
|
+
var idxOfFileName = list.c1() - 2 | 0;
|
|
971
|
+
var filename = _Name___init__impl__o4q07e(list.b1(idxOfFileName));
|
|
789
972
|
var path = joinToString(list.p2(0, idxOfFileName), '/');
|
|
790
973
|
return new FilePath(_DirectoryPath___init__impl__5bzkjd(path), filename, extension);
|
|
791
974
|
};
|
|
792
|
-
var
|
|
793
|
-
function
|
|
794
|
-
return
|
|
975
|
+
var Companion_instance_2;
|
|
976
|
+
function Companion_getInstance_2() {
|
|
977
|
+
return Companion_instance_2;
|
|
795
978
|
}
|
|
796
979
|
function FilePath(directory, name, extension) {
|
|
797
|
-
this.
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
980
|
+
this.q4y_1 = directory;
|
|
981
|
+
this.r4y_1 = name;
|
|
982
|
+
this.s4y_1 = extension;
|
|
800
983
|
}
|
|
801
984
|
protoOf(FilePath).toString = function () {
|
|
802
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
985
|
+
return DirectoryPath__toString_impl_ym9pdb(this.q4y_1) + '/' + _Name___get_value__impl__3tbxxy(this.r4y_1) + '.' + this.s4y_1.xr_1;
|
|
803
986
|
};
|
|
804
987
|
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.
|
|
988
|
+
var result = DirectoryPath__hashCode_impl_cv3skg(this.q4y_1);
|
|
989
|
+
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.r4y_1) | 0;
|
|
990
|
+
result = imul(result, 31) + this.s4y_1.hashCode() | 0;
|
|
808
991
|
return result;
|
|
809
992
|
};
|
|
810
993
|
protoOf(FilePath).equals = function (other) {
|
|
@@ -812,24 +995,24 @@ protoOf(FilePath).equals = function (other) {
|
|
|
812
995
|
return true;
|
|
813
996
|
if (!(other instanceof FilePath))
|
|
814
997
|
return false;
|
|
815
|
-
if (!(this.
|
|
998
|
+
if (!(this.q4y_1 === other.q4y_1))
|
|
816
999
|
return false;
|
|
817
|
-
if (!(this.
|
|
1000
|
+
if (!(this.r4y_1 === other.r4y_1))
|
|
818
1001
|
return false;
|
|
819
|
-
if (!this.
|
|
1002
|
+
if (!this.s4y_1.equals(other.s4y_1))
|
|
820
1003
|
return false;
|
|
821
1004
|
return true;
|
|
822
1005
|
};
|
|
823
1006
|
function path(_this__u8e3s4) {
|
|
824
1007
|
var tmp;
|
|
825
1008
|
if (_this__u8e3s4 instanceof ClassPath) {
|
|
826
|
-
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.
|
|
1009
|
+
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.m4y_1);
|
|
827
1010
|
} else {
|
|
828
1011
|
if (_this__u8e3s4 instanceof DirectoryPath) {
|
|
829
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1012
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.n4y_1);
|
|
830
1013
|
} else {
|
|
831
1014
|
if (_this__u8e3s4 instanceof FilePath) {
|
|
832
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1015
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.q4y_1);
|
|
833
1016
|
} else {
|
|
834
1017
|
noWhenBranchMatchedException();
|
|
835
1018
|
}
|
|
@@ -838,7 +1021,7 @@ function path(_this__u8e3s4) {
|
|
|
838
1021
|
return tmp;
|
|
839
1022
|
}
|
|
840
1023
|
function IOError(message) {
|
|
841
|
-
this.
|
|
1024
|
+
this.t4y_1 = message;
|
|
842
1025
|
}
|
|
843
1026
|
function WirespecFileError() {
|
|
844
1027
|
SpecificFile.call(this, FileExtension_Wirespec_getInstance());
|
|
@@ -870,7 +1053,7 @@ function getFullPath(input, createIfNotExists_0) {
|
|
|
870
1053
|
tmp_0 = new ClassPath(_ClassPath___init__impl__obyw3o(substringAfter(input, 'classpath:')));
|
|
871
1054
|
} else {
|
|
872
1055
|
var path = createIfNotExists(Path(input), createIfNotExists_0);
|
|
873
|
-
var tmp0_elvis_lhs = get_SystemFileSystem().
|
|
1056
|
+
var tmp0_elvis_lhs = get_SystemFileSystem().x4w(path);
|
|
874
1057
|
var tmp_1;
|
|
875
1058
|
if (tmp0_elvis_lhs == null) {
|
|
876
1059
|
raise.gn(new CannotAccessFileOrDirectory(input));
|
|
@@ -880,10 +1063,10 @@ function getFullPath(input, createIfNotExists_0) {
|
|
|
880
1063
|
var meta = tmp_1;
|
|
881
1064
|
var pathString = path.toString();
|
|
882
1065
|
var tmp_2;
|
|
883
|
-
if (meta.
|
|
1066
|
+
if (meta.q4w_1) {
|
|
884
1067
|
tmp_2 = new DirectoryPath(_DirectoryPath___init__impl__5bzkjd(pathString));
|
|
885
|
-
} else if (meta.
|
|
886
|
-
tmp_2 =
|
|
1068
|
+
} else if (meta.p4w_1) {
|
|
1069
|
+
tmp_2 = Companion_instance_2.p4y(pathString);
|
|
887
1070
|
} else {
|
|
888
1071
|
raise.gn(new IsNotAFileOrDirectory(pathString));
|
|
889
1072
|
}
|
|
@@ -917,7 +1100,7 @@ function or(_this__u8e3s4, errorFn) {
|
|
|
917
1100
|
var tmp;
|
|
918
1101
|
if (_this__u8e3s4 instanceof Left) {
|
|
919
1102
|
var tmp$ret$1;
|
|
920
|
-
errorFn(_this__u8e3s4.sm_1.
|
|
1103
|
+
errorFn(_this__u8e3s4.sm_1.t4y_1);
|
|
921
1104
|
throwKotlinNothingValueException();
|
|
922
1105
|
tmp = tmp$ret$1;
|
|
923
1106
|
} else {
|
|
@@ -936,12 +1119,12 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
936
1119
|
var raise = new DefaultRaise(false);
|
|
937
1120
|
var tmp;
|
|
938
1121
|
try {
|
|
939
|
-
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
1122
|
+
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.o4y_1));
|
|
940
1123
|
// Inline function 'kotlin.let' call
|
|
941
1124
|
// Inline function 'kotlin.collections.filter' call
|
|
942
|
-
var tmp0_0 = get_SystemFileSystem().
|
|
1125
|
+
var tmp0_0 = get_SystemFileSystem().y4w(tmp0);
|
|
943
1126
|
// Inline function 'kotlin.collections.filterTo' call
|
|
944
|
-
var destination = ArrayList_init_$Create$
|
|
1127
|
+
var destination = ArrayList_init_$Create$();
|
|
945
1128
|
var _iterator__ex2g4s = tmp0_0.t();
|
|
946
1129
|
while (_iterator__ex2g4s.u()) {
|
|
947
1130
|
var element = _iterator__ex2g4s.v();
|
|
@@ -951,7 +1134,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
951
1134
|
}
|
|
952
1135
|
// Inline function 'kotlin.collections.filter' call
|
|
953
1136
|
// Inline function 'kotlin.collections.filterTo' call
|
|
954
|
-
var destination_0 = ArrayList_init_$Create$
|
|
1137
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
955
1138
|
var _iterator__ex2g4s_0 = destination.t();
|
|
956
1139
|
while (_iterator__ex2g4s_0.u()) {
|
|
957
1140
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
@@ -961,15 +1144,15 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
961
1144
|
}
|
|
962
1145
|
// Inline function 'kotlin.collections.map' call
|
|
963
1146
|
// Inline function 'kotlin.collections.mapTo' call
|
|
964
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_0, 10));
|
|
1147
|
+
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
|
|
965
1148
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
966
1149
|
while (_iterator__ex2g4s_1.u()) {
|
|
967
1150
|
var item = _iterator__ex2g4s_1.v();
|
|
968
|
-
var tmp$ret$14 = to(
|
|
1151
|
+
var tmp$ret$14 = to(Companion_instance_2.p4y(item.toString()), readString(buffered(get_SystemFileSystem().u4w(item))));
|
|
969
1152
|
destination_1.x(tmp$ret$14);
|
|
970
1153
|
}
|
|
971
1154
|
// Inline function 'kotlin.also' call
|
|
972
|
-
logger.as('Found ' + destination_1.
|
|
1155
|
+
logger.as('Found ' + destination_1.c1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.o4y_1));
|
|
973
1156
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
974
1157
|
var index = 0;
|
|
975
1158
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
@@ -977,18 +1160,18 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
977
1160
|
var item_0 = _iterator__ex2g4s_2.v();
|
|
978
1161
|
var _unary__edvuaz = index;
|
|
979
1162
|
index = _unary__edvuaz + 1 | 0;
|
|
980
|
-
var prefix = checkIndexOverflow(_unary__edvuaz) < (destination_1.
|
|
981
|
-
logger.as(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ff_1.
|
|
1163
|
+
var prefix = checkIndexOverflow(_unary__edvuaz) < (destination_1.c1() - 1 | 0) ? '\u251C\u2500\u2500 ' : '\u2514\u2500\u2500 ';
|
|
1164
|
+
logger.as(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ff_1.r4y_1) + '.' + item_0.ff_1.s4y_1.xr_1);
|
|
982
1165
|
}
|
|
983
1166
|
// Inline function 'kotlin.collections.map' call
|
|
984
1167
|
// Inline function 'kotlin.collections.mapTo' call
|
|
985
|
-
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_1, 10));
|
|
1168
|
+
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_1, 10));
|
|
986
1169
|
var _iterator__ex2g4s_3 = destination_1.t();
|
|
987
1170
|
while (_iterator__ex2g4s_3.u()) {
|
|
988
1171
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
989
1172
|
var path = item_1.ze();
|
|
990
1173
|
var source = item_1.af();
|
|
991
|
-
var tmp$ret$21 = new Source(path.
|
|
1174
|
+
var tmp$ret$21 = new Source(path.r4y_1, source);
|
|
992
1175
|
destination_2.x(tmp$ret$21);
|
|
993
1176
|
}
|
|
994
1177
|
var tmp0_elvis_lhs = toNonEmptySetOrNull(destination_2);
|
|
@@ -1025,7 +1208,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
1025
1208
|
function read(_this__u8e3s4) {
|
|
1026
1209
|
// Inline function 'kotlin.let' call
|
|
1027
1210
|
var it = Path(_this__u8e3s4.toString());
|
|
1028
|
-
return readString(buffered(get_SystemFileSystem().
|
|
1211
|
+
return readString(buffered(get_SystemFileSystem().u4w(it)));
|
|
1029
1212
|
}
|
|
1030
1213
|
function getOutPutPath(inputPath, output) {
|
|
1031
1214
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -1040,7 +1223,7 @@ function getOutPutPath(inputPath, output) {
|
|
|
1040
1223
|
tmp_0 = _DirectoryPath___init__impl__5bzkjd(path(inputPath) + '/out');
|
|
1041
1224
|
} else {
|
|
1042
1225
|
if (it instanceof DirectoryPath) {
|
|
1043
|
-
tmp_0 = it.
|
|
1226
|
+
tmp_0 = it.n4y_1;
|
|
1044
1227
|
} else {
|
|
1045
1228
|
var tmp_1;
|
|
1046
1229
|
if (it instanceof FilePath) {
|
|
@@ -1081,14 +1264,14 @@ function getOutPutPath(inputPath, output) {
|
|
|
1081
1264
|
function write(_this__u8e3s4, string) {
|
|
1082
1265
|
// Inline function 'kotlin.also' call
|
|
1083
1266
|
var this_0 = Path(_this__u8e3s4.toString());
|
|
1084
|
-
var tmp0_safe_receiver = this_0.
|
|
1267
|
+
var tmp0_safe_receiver = this_0.a4x();
|
|
1085
1268
|
if (tmp0_safe_receiver == null)
|
|
1086
1269
|
null;
|
|
1087
1270
|
else
|
|
1088
1271
|
createIfNotExists(tmp0_safe_receiver);
|
|
1089
1272
|
// Inline function 'kotlin.let' call
|
|
1090
1273
|
// Inline function 'kotlin.apply' call
|
|
1091
|
-
var this_1 = buffered_0(get_SystemFileSystem().
|
|
1274
|
+
var this_1 = buffered_0(get_SystemFileSystem().w4w(this_0));
|
|
1092
1275
|
writeString(this_1, string);
|
|
1093
1276
|
this_1.c9();
|
|
1094
1277
|
return Unit_instance;
|
|
@@ -1096,14 +1279,14 @@ function write(_this__u8e3s4, string) {
|
|
|
1096
1279
|
function createIfNotExists(_this__u8e3s4, create) {
|
|
1097
1280
|
create = create === VOID ? true : create;
|
|
1098
1281
|
// Inline function 'kotlin.also' call
|
|
1099
|
-
if (create && !get_SystemFileSystem().
|
|
1100
|
-
get_SystemFileSystem().
|
|
1282
|
+
if (create && !get_SystemFileSystem().s4w(_this__u8e3s4)) {
|
|
1283
|
+
get_SystemFileSystem().t4w(_this__u8e3s4, true);
|
|
1101
1284
|
}
|
|
1102
1285
|
return _this__u8e3s4;
|
|
1103
1286
|
}
|
|
1104
1287
|
function isRegularFile(path) {
|
|
1105
|
-
var tmp0_safe_receiver = get_SystemFileSystem().
|
|
1106
|
-
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1288
|
+
var tmp0_safe_receiver = get_SystemFileSystem().x4w(path);
|
|
1289
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p4w_1) === true;
|
|
1107
1290
|
}
|
|
1108
1291
|
function isWirespecFile(path) {
|
|
1109
1292
|
return get_extension(path) === FileExtension_Wirespec_getInstance().xr_1;
|
|
@@ -1118,6 +1301,7 @@ protoOf(compile$ctx$1).lo = get_spec;
|
|
|
1118
1301
|
Companion_instance = new Companion();
|
|
1119
1302
|
Companion_instance_0 = new Companion_0();
|
|
1120
1303
|
Companion_instance_1 = new Companion_1();
|
|
1304
|
+
Companion_instance_2 = new Companion_2();
|
|
1121
1305
|
//endregion
|
|
1122
1306
|
//region block: exports
|
|
1123
1307
|
export {
|
|
@@ -1134,13 +1318,24 @@ export {
|
|
|
1134
1318
|
write as write1u316o1mmac8j,
|
|
1135
1319
|
CompilerArguments as CompilerArguments27p1etc1665zg,
|
|
1136
1320
|
ConverterArguments as ConverterArgumentsa8xc45eyvf51,
|
|
1137
|
-
|
|
1321
|
+
values_0 as values39f22etrsivck,
|
|
1138
1322
|
compile_0 as compile3ocumkpx3p9ko,
|
|
1139
1323
|
convert as convert3g5kyi4d6y9kc,
|
|
1140
1324
|
toEmitter as toEmitter3vk7m5bivtqhk,
|
|
1141
|
-
|
|
1142
|
-
|
|
1325
|
+
toIrExtensions as toIrExtensions3bmv0ihl79yku,
|
|
1326
|
+
withExtensions as withExtensions10gpwkl2s1rlm,
|
|
1327
|
+
Companion_instance_2 as Companion_instance3u189ncjgxp6,
|
|
1328
|
+
Companion_instance as Companion_instanceh05mpoofy9qh,
|
|
1329
|
+
Companion_instance_1 as Companion_instanceostrm0i8dq1p,
|
|
1330
|
+
Extension_Avro_getInstance as Extension_Avro_getInstance22hu8ja38xbww,
|
|
1331
|
+
Extension_Jackson_getInstance as Extension_Jackson_getInstance12ge1t6pp9fq7,
|
|
1332
|
+
Extension_JvmBuilder_getInstance as Extension_JvmBuilder_getInstance28hbauax2jt2s,
|
|
1333
|
+
Extension_KotestDsl_getInstance as Extension_KotestDsl_getInstance1szx6asmv9ylb,
|
|
1334
|
+
Extension_KotlinxSerialization_getInstance as Extension_KotlinxSerialization_getInstance3i9k3p5ubqalx,
|
|
1335
|
+
Extension_SpringMappingAnnotations_getInstance as Extension_SpringMappingAnnotations_getInstance1n0r3g1b75wjp,
|
|
1336
|
+
Extension_SpringNativeHints_getInstance as Extension_SpringNativeHints_getInstance18tn7y425ujoe,
|
|
1143
1337
|
Language_Kotlin_getInstance as Language_Kotlin_getInstancel9flkgp6e3q4,
|
|
1338
|
+
Language_Wirespec_getInstance as Language_Wirespec_getInstancez8ixv3cb7hat,
|
|
1144
1339
|
_DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e31of6jj3zjtzs5,
|
|
1145
1340
|
_Name___init__impl__o4q07e as _Name___init__impl__o4q07e3vb5gulc0hok1,
|
|
1146
1341
|
};
|