@flock/wirespec 0.21.1 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.mjs +14 -14
- package/arrow-arrow-atomic.mjs.map +1 -1
- package/arrow-arrow-core.mjs +187 -182
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +89 -89
- package/clikt-clikt-mordant.mjs.map +1 -1
- package/clikt-clikt.mjs +1704 -1706
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +465 -465
- package/colormath-root-colormath.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +2644 -2481
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10373 -10346
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1851 -1855
- package/kotlin-rgxgen.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +469 -469
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2038 -2046
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1859 -1813
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1452 -1447
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +25964 -3598
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +373 -469
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +327 -382
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +355 -354
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +756 -754
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +361 -361
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +484 -472
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +434 -153
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +978 -441
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +5382 -0
- package/wirespec-src-converter-asyncapi.mjs.map +1 -0
- package/wirespec-src-converter-avro.mjs +1297 -725
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +267 -0
- package/wirespec-src-converter-common.mjs.map +1 -1
- package/wirespec-src-converter-graphql.mjs +5691 -0
- package/wirespec-src-converter-graphql.mjs.map +1 -0
- package/wirespec-src-converter-openapi.mjs +1304 -1225
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-ide-lsp.mjs +1728 -1642
- package/wirespec-src-ide-lsp.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +301 -240
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +161 -133
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-npm.d.mts +216 -29
- package/wirespec-src-plugin-npm.mjs +188 -95
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +61 -53
- package/wirespec-src-tools-generator.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +0 -18912
- package/wirespec-src-compiler-ir.mjs.map +0 -1
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
protoOf180f3jzyo7rfj as protoOf,
|
|
4
4
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
5
5
|
enumEntries20mr21zbe3az4 as enumEntries,
|
|
6
|
-
|
|
6
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
7
7
|
Enum3alwj03lh1n41 as Enum,
|
|
8
8
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
9
9
|
VOID3gxj6tk5isa35 as VOID,
|
|
10
10
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
11
11
|
mapCapacity1h45rc3eh9p2l as mapCapacity,
|
|
12
12
|
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
|
|
13
|
-
LinkedHashMap_init_$Create$
|
|
13
|
+
LinkedHashMap_init_$Create$1gzy1x4a46gd4 as LinkedHashMap_init_$Create$,
|
|
14
14
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
15
|
-
ArrayList_init_$Create$
|
|
16
|
-
ArrayList_init_$Create$
|
|
15
|
+
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
|
|
16
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
17
17
|
addAll1k27qatfgp3k5 as addAll,
|
|
18
18
|
toString1pkumu07cwy4m as toString,
|
|
19
19
|
hashCodeq5arwsb9dgti as hashCode,
|
|
@@ -24,59 +24,62 @@ import {
|
|
|
24
24
|
dropLast1vpiyky649o34 as dropLast,
|
|
25
25
|
last1vo29oleiqj36 as last,
|
|
26
26
|
plus310ted5e4i90h as plus,
|
|
27
|
-
IllegalStateException_init_$Create$
|
|
27
|
+
IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
|
|
28
28
|
substringAfter35b3qhto7hchb as substringAfter,
|
|
29
29
|
startsWith26w8qjqapeeq6 as startsWith,
|
|
30
30
|
throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
|
|
31
31
|
to2cs3ny02qtbcb as to,
|
|
32
32
|
checkIndexOverflow3frtmheghr0th as checkIndexOverflow,
|
|
33
|
-
|
|
33
|
+
_Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
|
|
34
34
|
substringAfterLast3r0t0my8cpqhk as substringAfterLast,
|
|
35
35
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
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
42
|
import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
OpenAPIV2Emitter_getInstance225k4773lxme5 as OpenAPIV2Emitter_getInstance,
|
|
45
|
+
OpenAPIV3Emitter_getInstance1xw545fw8ct0e as OpenAPIV3Emitter_getInstance,
|
|
46
|
+
OpenAPIV2Parser_instanceod31xfqmuuw4 as OpenAPIV2Parser_instance,
|
|
47
|
+
OpenAPIV3Parser_instance2nsxoj7s65j71 as OpenAPIV3Parser_instance,
|
|
48
48
|
} from './wirespec-src-converter-openapi.mjs';
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
AvroJsonEmitter_getInstanceqxb8ioshyd02 as AvroJsonEmitter_getInstance,
|
|
51
|
+
AvroJsonParser_instance5zz3bwjsci7v as AvroJsonParser_instance,
|
|
52
52
|
} from './wirespec-src-converter-avro.mjs';
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
NonEmptySet__map_impl_ngjswd1fxcincnj6e60 as NonEmptySet__map_impl_ngjswd,
|
|
55
|
+
_NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d as _NonEmptyList___get_all__impl__pmf509,
|
|
56
|
+
_NonEmptyList___init__impl__fxd0xprpnd63likgzm as _NonEmptyList___init__impl__fxd0xp,
|
|
57
57
|
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
58
58
|
DefaultRaisevd10gc79qxh8 as DefaultRaise,
|
|
59
59
|
Right351sh2v8odavg as Right,
|
|
60
60
|
raisedOrRethrow397oyvsdde7oq as raisedOrRethrow,
|
|
61
61
|
Left2oemzq1tpcg4i as Left,
|
|
62
62
|
RaiseCancellationException3n5raogfhbd1l as RaiseCancellationException,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
NonEmptySet__flatMap_impl_ovm5jg3sic4v1sa4qlf as NonEmptySet__flatMap_impl_ovm5jg,
|
|
64
|
+
NonEmptySet__toString_impl_yfcj6ns81v4qijlr42 as NonEmptySet__toString_impl_yfcj6n,
|
|
65
|
+
NonEmptySet__hashCode_impl_co6mdsl81ll59f92cp as NonEmptySet__hashCode_impl_co6mds,
|
|
66
66
|
NonEmptySet1rtvr2guloo52 as NonEmptySet,
|
|
67
67
|
toNonEmptySetOrNull1tjnd9jrkd4bs as toNonEmptySetOrNull,
|
|
68
68
|
} from './arrow-arrow-core.mjs';
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
compile2gnmwcihhk0tg as compile,
|
|
71
71
|
ParseOptionspl50698nv4gs as ParseOptions,
|
|
72
|
-
|
|
72
|
+
Validator_instance3rdxavtegfyrs as Validator_instance,
|
|
73
|
+
withoutDefaults3uvx7w3zn9naw as withoutDefaults,
|
|
73
74
|
get_spec3cnzsbb1ufwje as get_spec,
|
|
74
75
|
HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
|
|
75
76
|
FileUri2xjkmf4jmvpab as FileUri,
|
|
76
77
|
ModuleContent750xezzquzy9 as ModuleContent,
|
|
77
78
|
get_entries1b334j69qpu9d as get_entries,
|
|
78
|
-
|
|
79
|
+
FileExtension_Wirespec_getInstance3awesett59616 as FileExtension_Wirespec_getInstance,
|
|
79
80
|
} from './wirespec-src-compiler-core.mjs';
|
|
81
|
+
import { GraphQLParser_instancea59ka24ixfoj as GraphQLParser_instance } from './wirespec-src-converter-graphql.mjs';
|
|
82
|
+
import { AsyncAPIParser_instance1afg6q7t1ch1g as AsyncAPIParser_instance } from './wirespec-src-converter-asyncapi.mjs';
|
|
80
83
|
import { nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow } from './arrow-arrow-exception-utils.mjs';
|
|
81
84
|
import {
|
|
82
85
|
Path21qufdfgaayly as Path,
|
|
@@ -113,6 +116,8 @@ initMetadataForClass(OutputShouldBeADirectory, 'OutputShouldBeADirectory', Outpu
|
|
|
113
116
|
var Format_OpenAPIV2_instance;
|
|
114
117
|
var Format_OpenAPIV3_instance;
|
|
115
118
|
var Format_Avro_instance;
|
|
119
|
+
var Format_GraphQL_instance;
|
|
120
|
+
var Format_AsyncAPI_instance;
|
|
116
121
|
function Companion() {
|
|
117
122
|
}
|
|
118
123
|
protoOf(Companion).toString = function () {
|
|
@@ -123,7 +128,7 @@ function Companion_getInstance() {
|
|
|
123
128
|
return Companion_instance;
|
|
124
129
|
}
|
|
125
130
|
function values() {
|
|
126
|
-
return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance()];
|
|
131
|
+
return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance(), Format_GraphQL_getInstance(), Format_AsyncAPI_getInstance()];
|
|
127
132
|
}
|
|
128
133
|
function get_entries_0() {
|
|
129
134
|
if ($ENTRIES == null)
|
|
@@ -138,6 +143,8 @@ function Format_initEntries() {
|
|
|
138
143
|
Format_OpenAPIV2_instance = new Format('OpenAPIV2', 0);
|
|
139
144
|
Format_OpenAPIV3_instance = new Format('OpenAPIV3', 1);
|
|
140
145
|
Format_Avro_instance = new Format('Avro', 2);
|
|
146
|
+
Format_GraphQL_instance = new Format('GraphQL', 3);
|
|
147
|
+
Format_AsyncAPI_instance = new Format('AsyncAPI', 4);
|
|
141
148
|
}
|
|
142
149
|
var $ENTRIES;
|
|
143
150
|
function Format(name, ordinal) {
|
|
@@ -155,6 +162,14 @@ function Format_Avro_getInstance() {
|
|
|
155
162
|
Format_initEntries();
|
|
156
163
|
return Format_Avro_instance;
|
|
157
164
|
}
|
|
165
|
+
function Format_GraphQL_getInstance() {
|
|
166
|
+
Format_initEntries();
|
|
167
|
+
return Format_GraphQL_instance;
|
|
168
|
+
}
|
|
169
|
+
function Format_AsyncAPI_getInstance() {
|
|
170
|
+
Format_initEntries();
|
|
171
|
+
return Format_AsyncAPI_instance;
|
|
172
|
+
}
|
|
158
173
|
var Language_Java_instance;
|
|
159
174
|
var Language_Kotlin_instance;
|
|
160
175
|
var Language_TypeScript_instance;
|
|
@@ -167,7 +182,7 @@ var Language_OpenAPIV3_instance;
|
|
|
167
182
|
var Language_Avro_instance;
|
|
168
183
|
function Companion_0() {
|
|
169
184
|
}
|
|
170
|
-
protoOf(Companion_0).
|
|
185
|
+
protoOf(Companion_0).z4p = function () {
|
|
171
186
|
// Inline function 'kotlin.collections.associateBy' call
|
|
172
187
|
var this_0 = get_entries_1();
|
|
173
188
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
@@ -176,8 +191,8 @@ protoOf(Companion_0).x4b = function () {
|
|
|
176
191
|
var _iterator__ex2g4s = this_0.t();
|
|
177
192
|
while (_iterator__ex2g4s.u()) {
|
|
178
193
|
var element = _iterator__ex2g4s.v();
|
|
179
|
-
var tmp$ret$
|
|
180
|
-
destination.
|
|
194
|
+
var tmp$ret$2 = element.d3_1;
|
|
195
|
+
destination.v2(tmp$ret$2, element);
|
|
181
196
|
}
|
|
182
197
|
return destination;
|
|
183
198
|
};
|
|
@@ -218,24 +233,24 @@ function Language(name, ordinal) {
|
|
|
218
233
|
}
|
|
219
234
|
function toEmitter(_this__u8e3s4, packageName, emitShared) {
|
|
220
235
|
var tmp;
|
|
221
|
-
switch (_this__u8e3s4.
|
|
236
|
+
switch (_this__u8e3s4.e3_1) {
|
|
222
237
|
case 0:
|
|
223
|
-
tmp = new
|
|
238
|
+
tmp = new JavaEmitter(packageName, emitShared);
|
|
224
239
|
break;
|
|
225
240
|
case 1:
|
|
226
|
-
tmp = new
|
|
241
|
+
tmp = new KotlinEmitter(packageName, emitShared);
|
|
227
242
|
break;
|
|
228
243
|
case 3:
|
|
229
|
-
tmp = new
|
|
244
|
+
tmp = new PythonEmitter(packageName, emitShared);
|
|
230
245
|
break;
|
|
231
246
|
case 4:
|
|
232
|
-
tmp = new
|
|
247
|
+
tmp = new RustEmitter(packageName, emitShared);
|
|
233
248
|
break;
|
|
234
249
|
case 5:
|
|
235
|
-
tmp = new
|
|
250
|
+
tmp = new ScalaEmitter(packageName, emitShared);
|
|
236
251
|
break;
|
|
237
252
|
case 2:
|
|
238
|
-
tmp = new
|
|
253
|
+
tmp = new TypeScriptEmitter();
|
|
239
254
|
break;
|
|
240
255
|
case 6:
|
|
241
256
|
tmp = new WirespecEmitter();
|
|
@@ -297,11 +312,11 @@ function Language_Avro_getInstance() {
|
|
|
297
312
|
}
|
|
298
313
|
function compile_0(arguments_0) {
|
|
299
314
|
var ctx = new compile$ctx$1(arguments_0);
|
|
300
|
-
fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.
|
|
315
|
+
fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.a4q_1, compile$lambda), arguments_0.i4q_1), arguments_0);
|
|
301
316
|
}
|
|
302
317
|
function convert(arguments_0) {
|
|
303
318
|
var tmp;
|
|
304
|
-
switch (arguments_0.
|
|
319
|
+
switch (arguments_0.j4q_1.e3_1) {
|
|
305
320
|
case 0:
|
|
306
321
|
tmp = OpenAPIV2Parser_instance;
|
|
307
322
|
break;
|
|
@@ -311,14 +326,20 @@ function convert(arguments_0) {
|
|
|
311
326
|
case 2:
|
|
312
327
|
tmp = AvroJsonParser_instance;
|
|
313
328
|
break;
|
|
329
|
+
case 3:
|
|
330
|
+
tmp = GraphQLParser_instance;
|
|
331
|
+
break;
|
|
332
|
+
case 4:
|
|
333
|
+
tmp = AsyncAPIParser_instance;
|
|
334
|
+
break;
|
|
314
335
|
default:
|
|
315
336
|
noWhenBranchMatchedException();
|
|
316
337
|
break;
|
|
317
338
|
}
|
|
318
339
|
var parser = tmp;
|
|
319
|
-
var options = new ParseOptions(arguments_0.
|
|
340
|
+
var options = new ParseOptions(arguments_0.r4q_1);
|
|
320
341
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
321
|
-
var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.
|
|
342
|
+
var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.k4q_1, convert$lambda);
|
|
322
343
|
// Inline function 'kotlin.collections.map' call
|
|
323
344
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
324
345
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -326,8 +347,8 @@ function convert(arguments_0) {
|
|
|
326
347
|
var _iterator__ex2g4s = this_1.t();
|
|
327
348
|
while (_iterator__ex2g4s.u()) {
|
|
328
349
|
var item = _iterator__ex2g4s.v();
|
|
329
|
-
var tmp$ret$
|
|
330
|
-
destination.x(tmp$ret$
|
|
350
|
+
var tmp$ret$3 = parser.r48(item, arguments_0.r4q_1);
|
|
351
|
+
destination.x(tmp$ret$3);
|
|
331
352
|
}
|
|
332
353
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
333
354
|
var this_2 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
@@ -338,8 +359,8 @@ function convert(arguments_0) {
|
|
|
338
359
|
var _iterator__ex2g4s_0 = this_3.t();
|
|
339
360
|
while (_iterator__ex2g4s_0.u()) {
|
|
340
361
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
341
|
-
var tmp$ret$
|
|
342
|
-
destination_0.x(tmp$ret$
|
|
362
|
+
var tmp$ret$7 = Validator_instance.z1b(options, item_0);
|
|
363
|
+
destination_0.x(tmp$ret$7);
|
|
343
364
|
}
|
|
344
365
|
// Inline function 'kotlin.let' call
|
|
345
366
|
var it = _NonEmptyList___init__impl__fxd0xp(destination_0);
|
|
@@ -349,20 +370,20 @@ function convert(arguments_0) {
|
|
|
349
370
|
var raise = new DefaultRaise(false);
|
|
350
371
|
var tmp_0;
|
|
351
372
|
try {
|
|
352
|
-
var res = new NonEmptyList(raise.
|
|
353
|
-
raise.
|
|
373
|
+
var res = new NonEmptyList(raise.ln(it));
|
|
374
|
+
raise.cn();
|
|
354
375
|
tmp_0 = new Right(res);
|
|
355
376
|
} catch ($p) {
|
|
356
377
|
var tmp_1;
|
|
357
378
|
if ($p instanceof RaiseCancellationException) {
|
|
358
379
|
var e = $p;
|
|
359
|
-
raise.
|
|
380
|
+
raise.cn();
|
|
360
381
|
var it_0 = raisedOrRethrow(e, raise);
|
|
361
382
|
tmp_1 = new Left(it_0);
|
|
362
383
|
} else {
|
|
363
384
|
if ($p instanceof Error) {
|
|
364
385
|
var e_0 = $p;
|
|
365
|
-
raise.
|
|
386
|
+
raise.cn();
|
|
366
387
|
throw nonFatalOrThrow(e_0);
|
|
367
388
|
} else {
|
|
368
389
|
throw $p;
|
|
@@ -375,20 +396,20 @@ function convert(arguments_0) {
|
|
|
375
396
|
var this_4 = tmp_0;
|
|
376
397
|
var tmp_2;
|
|
377
398
|
if (this_4 instanceof Right) {
|
|
378
|
-
// Inline function 'arrow.core.NonEmptyList.
|
|
379
|
-
var this_5 = this_4.
|
|
380
|
-
// Inline function 'kotlin.collections.
|
|
381
|
-
var
|
|
382
|
-
// Inline function 'kotlin.collections.
|
|
383
|
-
var destination_1 = ArrayList_init_$Create$
|
|
384
|
-
var _iterator__ex2g4s_1 =
|
|
399
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
400
|
+
var this_5 = this_4.um_1.dn_1;
|
|
401
|
+
// Inline function 'kotlin.collections.map' call
|
|
402
|
+
var this_6 = _NonEmptyList___get_all__impl__pmf509(this_5);
|
|
403
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
404
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_6, 10));
|
|
405
|
+
var _iterator__ex2g4s_1 = this_6.t();
|
|
385
406
|
while (_iterator__ex2g4s_1.u()) {
|
|
386
|
-
var
|
|
387
|
-
var
|
|
388
|
-
|
|
407
|
+
var item_1 = _iterator__ex2g4s_1.v();
|
|
408
|
+
var tmp$ret$24 = arguments_0.s4q_1 ? withoutDefaults(item_1) : item_1;
|
|
409
|
+
destination_1.x(tmp$ret$24);
|
|
389
410
|
}
|
|
390
|
-
var tmp$ret$
|
|
391
|
-
var tmp$ret$20 = new NonEmptyList(tmp$ret$
|
|
411
|
+
var tmp$ret$21 = _NonEmptyList___init__impl__fxd0xp(destination_1);
|
|
412
|
+
var tmp$ret$20 = new NonEmptyList(tmp$ret$21);
|
|
392
413
|
tmp_2 = new Right(tmp$ret$20);
|
|
393
414
|
} else {
|
|
394
415
|
if (this_4 instanceof Left) {
|
|
@@ -397,15 +418,42 @@ function convert(arguments_0) {
|
|
|
397
418
|
noWhenBranchMatchedException();
|
|
398
419
|
}
|
|
399
420
|
}
|
|
400
|
-
|
|
401
|
-
|
|
421
|
+
// Inline function 'arrow.core.Either.map' call
|
|
422
|
+
// Inline function 'arrow.core.flatMap' call
|
|
423
|
+
var this_7 = tmp_2;
|
|
424
|
+
var tmp_3;
|
|
425
|
+
if (this_7 instanceof Right) {
|
|
426
|
+
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
427
|
+
var this_8 = this_7.um_1.dn_1;
|
|
428
|
+
// Inline function 'kotlin.collections.flatMap' call
|
|
429
|
+
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_8);
|
|
430
|
+
// Inline function 'kotlin.collections.flatMapTo' call
|
|
431
|
+
var destination_2 = ArrayList_init_$Create$_0();
|
|
432
|
+
var _iterator__ex2g4s_2 = tmp0.t();
|
|
433
|
+
while (_iterator__ex2g4s_2.u()) {
|
|
434
|
+
var element = _iterator__ex2g4s_2.v();
|
|
435
|
+
var list = new NonEmptyList(NonEmptySet__flatMap_impl_ovm5jg(arguments_0.l4q_1, convert$lambda_0(element, arguments_0)));
|
|
436
|
+
addAll(destination_2, list);
|
|
437
|
+
}
|
|
438
|
+
var tmp$ret$29 = _NonEmptyList___init__impl__fxd0xp(destination_2);
|
|
439
|
+
var tmp$ret$28 = new NonEmptyList(tmp$ret$29);
|
|
440
|
+
tmp_3 = new Right(tmp$ret$28);
|
|
441
|
+
} else {
|
|
442
|
+
if (this_7 instanceof Left) {
|
|
443
|
+
tmp_3 = this_7;
|
|
444
|
+
} else {
|
|
445
|
+
noWhenBranchMatchedException();
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
var tmp$ret$25 = tmp_3;
|
|
449
|
+
fold(tmp$ret$25, arguments_0);
|
|
402
450
|
}
|
|
403
451
|
function fold(_this__u8e3s4, arguments_0) {
|
|
404
452
|
// Inline function 'arrow.core.Either.mapLeft' call
|
|
405
453
|
var tmp;
|
|
406
454
|
if (_this__u8e3s4 instanceof Left) {
|
|
407
455
|
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
408
|
-
var this_0 = _this__u8e3s4.
|
|
456
|
+
var this_0 = _this__u8e3s4.sm_1.dn_1;
|
|
409
457
|
// Inline function 'kotlin.collections.map' call
|
|
410
458
|
var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
|
|
411
459
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -413,15 +461,15 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
413
461
|
var _iterator__ex2g4s = this_1.t();
|
|
414
462
|
while (_iterator__ex2g4s.u()) {
|
|
415
463
|
var item = _iterator__ex2g4s.v();
|
|
416
|
-
var tmp$ret$
|
|
417
|
-
destination.x(tmp$ret$
|
|
464
|
+
var tmp$ret$5 = item.e();
|
|
465
|
+
destination.x(tmp$ret$5);
|
|
418
466
|
}
|
|
419
|
-
var tmp$ret$
|
|
420
|
-
var tmp$ret$
|
|
421
|
-
tmp = new Left(tmp$ret$
|
|
467
|
+
var tmp$ret$2 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
468
|
+
var tmp$ret$1 = new NonEmptyList(tmp$ret$2);
|
|
469
|
+
tmp = new Left(tmp$ret$1);
|
|
422
470
|
} else {
|
|
423
471
|
if (_this__u8e3s4 instanceof Right) {
|
|
424
|
-
tmp = new Right(_this__u8e3s4.
|
|
472
|
+
tmp = new Right(_this__u8e3s4.um_1);
|
|
425
473
|
} else {
|
|
426
474
|
noWhenBranchMatchedException();
|
|
427
475
|
}
|
|
@@ -430,25 +478,25 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
430
478
|
var this_2 = tmp;
|
|
431
479
|
var tmp_0;
|
|
432
480
|
if (this_2 instanceof Left) {
|
|
433
|
-
var it = this_2.
|
|
434
|
-
var tmp$ret$
|
|
435
|
-
tmp_0 = new Left(tmp$ret$
|
|
481
|
+
var it = this_2.sm_1.dn_1;
|
|
482
|
+
var tmp$ret$7 = joinToString(new NonEmptyList(it));
|
|
483
|
+
tmp_0 = new Left(tmp$ret$7);
|
|
436
484
|
} else {
|
|
437
485
|
if (this_2 instanceof Right) {
|
|
438
|
-
tmp_0 = new Right(this_2.
|
|
486
|
+
tmp_0 = new Right(this_2.um_1);
|
|
439
487
|
} else {
|
|
440
488
|
noWhenBranchMatchedException();
|
|
441
489
|
}
|
|
442
490
|
}
|
|
443
491
|
var tmp0 = tmp_0;
|
|
444
|
-
var tmp2 = arguments_0.
|
|
492
|
+
var tmp2 = arguments_0.n1f();
|
|
445
493
|
// Inline function 'arrow.core.Either.fold' call
|
|
446
|
-
var ifRight = arguments_0.
|
|
494
|
+
var ifRight = arguments_0.t4q();
|
|
447
495
|
if (tmp0 instanceof Right)
|
|
448
|
-
ifRight(tmp0.
|
|
496
|
+
ifRight(tmp0.um_1);
|
|
449
497
|
else {
|
|
450
498
|
if (tmp0 instanceof Left)
|
|
451
|
-
tmp2(tmp0.
|
|
499
|
+
tmp2(tmp0.sm_1);
|
|
452
500
|
else {
|
|
453
501
|
noWhenBranchMatchedException();
|
|
454
502
|
}
|
|
@@ -456,54 +504,57 @@ function fold(_this__u8e3s4, arguments_0) {
|
|
|
456
504
|
return Unit_instance;
|
|
457
505
|
}
|
|
458
506
|
function compile$ctx$1($arguments) {
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
507
|
+
this.u4q_1 = $arguments.f4q_1;
|
|
508
|
+
this.v4q_1 = $arguments.b4q_1;
|
|
461
509
|
}
|
|
462
|
-
protoOf(compile$ctx$1).go = function () {
|
|
463
|
-
return this.q4c_1;
|
|
464
|
-
};
|
|
465
510
|
protoOf(compile$ctx$1).mo = function () {
|
|
466
|
-
return this.
|
|
511
|
+
return this.u4q_1;
|
|
512
|
+
};
|
|
513
|
+
protoOf(compile$ctx$1).so = function () {
|
|
514
|
+
return this.v4q_1;
|
|
467
515
|
};
|
|
468
516
|
function compile$lambda(it) {
|
|
469
|
-
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.
|
|
517
|
+
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.w4q_1)), it.x4q_1);
|
|
470
518
|
}
|
|
471
519
|
function convert$lambda(it) {
|
|
472
|
-
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.
|
|
520
|
+
return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.w4q_1)), it.x4q_1);
|
|
473
521
|
}
|
|
474
522
|
function convert$lambda_0($ast, $arguments) {
|
|
475
523
|
return function (it) {
|
|
476
|
-
return new NonEmptyList(it.
|
|
524
|
+
return new NonEmptyList(it.to($ast, $arguments.p4q_1));
|
|
477
525
|
};
|
|
478
526
|
}
|
|
479
|
-
function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict) {
|
|
480
|
-
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
527
|
+
function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
528
|
+
ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
|
|
529
|
+
this.a4q_1 = input;
|
|
530
|
+
this.b4q_1 = emitters;
|
|
531
|
+
this.c4q_1 = writer;
|
|
532
|
+
this.d4q_1 = error;
|
|
533
|
+
this.e4q_1 = packageName;
|
|
534
|
+
this.f4q_1 = logger;
|
|
535
|
+
this.g4q_1 = shared;
|
|
536
|
+
this.h4q_1 = strict;
|
|
537
|
+
this.i4q_1 = ignoreDefaults;
|
|
538
|
+
}
|
|
539
|
+
protoOf(CompilerArguments).t4q = function () {
|
|
540
|
+
return this.c4q_1;
|
|
491
541
|
};
|
|
492
|
-
protoOf(CompilerArguments).
|
|
493
|
-
return this.
|
|
542
|
+
protoOf(CompilerArguments).n1f = function () {
|
|
543
|
+
return this.d4q_1;
|
|
494
544
|
};
|
|
495
545
|
protoOf(CompilerArguments).toString = function () {
|
|
496
|
-
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.
|
|
546
|
+
return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.a4q_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.b4q_1) + ', writer=' + toString(this.c4q_1) + ', error=' + toString(this.d4q_1) + ', packageName=' + this.e4q_1.toString() + ', logger=' + toString(this.f4q_1) + ', shared=' + this.g4q_1 + ', strict=' + this.h4q_1 + ', ignoreDefaults=' + this.i4q_1 + ')';
|
|
497
547
|
};
|
|
498
548
|
protoOf(CompilerArguments).hashCode = function () {
|
|
499
|
-
var result = NonEmptySet__hashCode_impl_co6mds(this.
|
|
500
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
501
|
-
result = imul(result, 31) + hashCode(this.
|
|
502
|
-
result = imul(result, 31) + hashCode(this.
|
|
503
|
-
result = imul(result, 31) + hashCode(this.
|
|
504
|
-
result = imul(result, 31) + hashCode(this.
|
|
505
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
506
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
549
|
+
var result = NonEmptySet__hashCode_impl_co6mds(this.a4q_1);
|
|
550
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.b4q_1) | 0;
|
|
551
|
+
result = imul(result, 31) + hashCode(this.c4q_1) | 0;
|
|
552
|
+
result = imul(result, 31) + hashCode(this.d4q_1) | 0;
|
|
553
|
+
result = imul(result, 31) + hashCode(this.e4q_1) | 0;
|
|
554
|
+
result = imul(result, 31) + hashCode(this.f4q_1) | 0;
|
|
555
|
+
result = imul(result, 31) + getBooleanHashCode(this.g4q_1) | 0;
|
|
556
|
+
result = imul(result, 31) + getBooleanHashCode(this.h4q_1) | 0;
|
|
557
|
+
result = imul(result, 31) + getBooleanHashCode(this.i4q_1) | 0;
|
|
507
558
|
return result;
|
|
508
559
|
};
|
|
509
560
|
protoOf(CompilerArguments).equals = function (other) {
|
|
@@ -511,54 +562,59 @@ protoOf(CompilerArguments).equals = function (other) {
|
|
|
511
562
|
return true;
|
|
512
563
|
if (!(other instanceof CompilerArguments))
|
|
513
564
|
return false;
|
|
514
|
-
if (!equals(new NonEmptySet(this.
|
|
565
|
+
if (!equals(new NonEmptySet(this.a4q_1), new NonEmptySet(other.a4q_1)))
|
|
566
|
+
return false;
|
|
567
|
+
if (!equals(new NonEmptySet(this.b4q_1), new NonEmptySet(other.b4q_1)))
|
|
515
568
|
return false;
|
|
516
|
-
if (!equals(
|
|
569
|
+
if (!equals(this.c4q_1, other.c4q_1))
|
|
517
570
|
return false;
|
|
518
|
-
if (!equals(this.
|
|
571
|
+
if (!equals(this.d4q_1, other.d4q_1))
|
|
519
572
|
return false;
|
|
520
|
-
if (!equals(this.
|
|
573
|
+
if (!equals(this.e4q_1, other.e4q_1))
|
|
521
574
|
return false;
|
|
522
|
-
if (!equals(this.
|
|
575
|
+
if (!equals(this.f4q_1, other.f4q_1))
|
|
523
576
|
return false;
|
|
524
|
-
if (!
|
|
577
|
+
if (!(this.g4q_1 === other.g4q_1))
|
|
525
578
|
return false;
|
|
526
|
-
if (!(this.
|
|
579
|
+
if (!(this.h4q_1 === other.h4q_1))
|
|
527
580
|
return false;
|
|
528
|
-
if (!(this.
|
|
581
|
+
if (!(this.i4q_1 === other.i4q_1))
|
|
529
582
|
return false;
|
|
530
583
|
return true;
|
|
531
584
|
};
|
|
532
|
-
function ConverterArguments(format, input, emitters, writer, error, packageName, logger, shared, strict) {
|
|
533
|
-
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
539
|
-
this.
|
|
540
|
-
this.
|
|
541
|
-
this.
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
585
|
+
function ConverterArguments(format, input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
|
|
586
|
+
ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
|
|
587
|
+
this.j4q_1 = format;
|
|
588
|
+
this.k4q_1 = input;
|
|
589
|
+
this.l4q_1 = emitters;
|
|
590
|
+
this.m4q_1 = writer;
|
|
591
|
+
this.n4q_1 = error;
|
|
592
|
+
this.o4q_1 = packageName;
|
|
593
|
+
this.p4q_1 = logger;
|
|
594
|
+
this.q4q_1 = shared;
|
|
595
|
+
this.r4q_1 = strict;
|
|
596
|
+
this.s4q_1 = ignoreDefaults;
|
|
597
|
+
}
|
|
598
|
+
protoOf(ConverterArguments).t4q = function () {
|
|
599
|
+
return this.m4q_1;
|
|
545
600
|
};
|
|
546
|
-
protoOf(ConverterArguments).
|
|
547
|
-
return this.
|
|
601
|
+
protoOf(ConverterArguments).n1f = function () {
|
|
602
|
+
return this.n4q_1;
|
|
548
603
|
};
|
|
549
604
|
protoOf(ConverterArguments).toString = function () {
|
|
550
|
-
return 'ConverterArguments(format=' + this.
|
|
605
|
+
return 'ConverterArguments(format=' + this.j4q_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.k4q_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.l4q_1) + ', writer=' + toString(this.m4q_1) + ', error=' + toString(this.n4q_1) + ', packageName=' + this.o4q_1.toString() + ', logger=' + toString(this.p4q_1) + ', shared=' + this.q4q_1 + ', strict=' + this.r4q_1 + ', ignoreDefaults=' + this.s4q_1 + ')';
|
|
551
606
|
};
|
|
552
607
|
protoOf(ConverterArguments).hashCode = function () {
|
|
553
|
-
var result = this.
|
|
554
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
555
|
-
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.
|
|
556
|
-
result = imul(result, 31) + hashCode(this.
|
|
557
|
-
result = imul(result, 31) + hashCode(this.
|
|
558
|
-
result = imul(result, 31) + hashCode(this.
|
|
559
|
-
result = imul(result, 31) + hashCode(this.
|
|
560
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
561
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
608
|
+
var result = this.j4q_1.hashCode();
|
|
609
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.k4q_1) | 0;
|
|
610
|
+
result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.l4q_1) | 0;
|
|
611
|
+
result = imul(result, 31) + hashCode(this.m4q_1) | 0;
|
|
612
|
+
result = imul(result, 31) + hashCode(this.n4q_1) | 0;
|
|
613
|
+
result = imul(result, 31) + hashCode(this.o4q_1) | 0;
|
|
614
|
+
result = imul(result, 31) + hashCode(this.p4q_1) | 0;
|
|
615
|
+
result = imul(result, 31) + getBooleanHashCode(this.q4q_1) | 0;
|
|
616
|
+
result = imul(result, 31) + getBooleanHashCode(this.r4q_1) | 0;
|
|
617
|
+
result = imul(result, 31) + getBooleanHashCode(this.s4q_1) | 0;
|
|
562
618
|
return result;
|
|
563
619
|
};
|
|
564
620
|
protoOf(ConverterArguments).equals = function (other) {
|
|
@@ -566,36 +622,38 @@ protoOf(ConverterArguments).equals = function (other) {
|
|
|
566
622
|
return true;
|
|
567
623
|
if (!(other instanceof ConverterArguments))
|
|
568
624
|
return false;
|
|
569
|
-
if (!this.
|
|
625
|
+
if (!this.j4q_1.equals(other.j4q_1))
|
|
626
|
+
return false;
|
|
627
|
+
if (!equals(new NonEmptySet(this.k4q_1), new NonEmptySet(other.k4q_1)))
|
|
570
628
|
return false;
|
|
571
|
-
if (!equals(new NonEmptySet(this.
|
|
629
|
+
if (!equals(new NonEmptySet(this.l4q_1), new NonEmptySet(other.l4q_1)))
|
|
572
630
|
return false;
|
|
573
|
-
if (!equals(
|
|
631
|
+
if (!equals(this.m4q_1, other.m4q_1))
|
|
574
632
|
return false;
|
|
575
|
-
if (!equals(this.
|
|
633
|
+
if (!equals(this.n4q_1, other.n4q_1))
|
|
576
634
|
return false;
|
|
577
|
-
if (!equals(this.
|
|
635
|
+
if (!equals(this.o4q_1, other.o4q_1))
|
|
578
636
|
return false;
|
|
579
|
-
if (!equals(this.
|
|
637
|
+
if (!equals(this.p4q_1, other.p4q_1))
|
|
580
638
|
return false;
|
|
581
|
-
if (!
|
|
639
|
+
if (!(this.q4q_1 === other.q4q_1))
|
|
582
640
|
return false;
|
|
583
|
-
if (!(this.
|
|
641
|
+
if (!(this.r4q_1 === other.r4q_1))
|
|
584
642
|
return false;
|
|
585
|
-
if (!(this.
|
|
643
|
+
if (!(this.s4q_1 === other.s4q_1))
|
|
586
644
|
return false;
|
|
587
645
|
return true;
|
|
588
646
|
};
|
|
589
647
|
function Source(name, content) {
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
648
|
+
this.w4q_1 = name;
|
|
649
|
+
this.x4q_1 = content;
|
|
592
650
|
}
|
|
593
651
|
protoOf(Source).toString = function () {
|
|
594
|
-
return 'Source(name=' + Name__toString_impl_61tomu(this.
|
|
652
|
+
return 'Source(name=' + Name__toString_impl_61tomu(this.w4q_1) + ', content=' + this.x4q_1 + ')';
|
|
595
653
|
};
|
|
596
654
|
protoOf(Source).hashCode = function () {
|
|
597
|
-
var result = Name__hashCode_impl_fpc861(this.
|
|
598
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
655
|
+
var result = Name__hashCode_impl_fpc861(this.w4q_1);
|
|
656
|
+
result = imul(result, 31) + getStringHashCode(this.x4q_1) | 0;
|
|
599
657
|
return result;
|
|
600
658
|
};
|
|
601
659
|
protoOf(Source).equals = function (other) {
|
|
@@ -603,9 +661,9 @@ protoOf(Source).equals = function (other) {
|
|
|
603
661
|
return true;
|
|
604
662
|
if (!(other instanceof Source))
|
|
605
663
|
return false;
|
|
606
|
-
if (!(this.
|
|
664
|
+
if (!(this.w4q_1 === other.w4q_1))
|
|
607
665
|
return false;
|
|
608
|
-
if (!(this.
|
|
666
|
+
if (!(this.x4q_1 === other.x4q_1))
|
|
609
667
|
return false;
|
|
610
668
|
return true;
|
|
611
669
|
};
|
|
@@ -636,24 +694,24 @@ function ClassPath__hashCode_impl_cciyyd($this) {
|
|
|
636
694
|
function ClassPath__equals_impl_kffpch($this, other) {
|
|
637
695
|
if (!(other instanceof ClassPath))
|
|
638
696
|
return false;
|
|
639
|
-
if (!($this === other.
|
|
697
|
+
if (!($this === other.y4q_1))
|
|
640
698
|
return false;
|
|
641
699
|
return true;
|
|
642
700
|
}
|
|
643
701
|
function ClassPath(value) {
|
|
644
|
-
this.
|
|
702
|
+
this.y4q_1 = value;
|
|
645
703
|
}
|
|
646
|
-
protoOf(ClassPath).
|
|
647
|
-
return _ClassPath___get_value__impl__lfuxg0(this.
|
|
704
|
+
protoOf(ClassPath).o1 = function () {
|
|
705
|
+
return _ClassPath___get_value__impl__lfuxg0(this.y4q_1);
|
|
648
706
|
};
|
|
649
707
|
protoOf(ClassPath).toString = function () {
|
|
650
|
-
return ClassPath__toString_impl_y3ovr8(this.
|
|
708
|
+
return ClassPath__toString_impl_y3ovr8(this.y4q_1);
|
|
651
709
|
};
|
|
652
710
|
protoOf(ClassPath).hashCode = function () {
|
|
653
|
-
return ClassPath__hashCode_impl_cciyyd(this.
|
|
711
|
+
return ClassPath__hashCode_impl_cciyyd(this.y4q_1);
|
|
654
712
|
};
|
|
655
713
|
protoOf(ClassPath).equals = function (other) {
|
|
656
|
-
return ClassPath__equals_impl_kffpch(this.
|
|
714
|
+
return ClassPath__equals_impl_kffpch(this.y4q_1, other);
|
|
657
715
|
};
|
|
658
716
|
function _DirectoryPath___init__impl__5bzkjd(value) {
|
|
659
717
|
return value;
|
|
@@ -670,31 +728,31 @@ function DirectoryPath__hashCode_impl_cv3skg($this) {
|
|
|
670
728
|
function DirectoryPath__equals_impl_c2rwsc($this, other) {
|
|
671
729
|
if (!(other instanceof DirectoryPath))
|
|
672
730
|
return false;
|
|
673
|
-
if (!($this === other.
|
|
731
|
+
if (!($this === other.z4q_1))
|
|
674
732
|
return false;
|
|
675
733
|
return true;
|
|
676
734
|
}
|
|
677
735
|
function DirectoryPath(value) {
|
|
678
|
-
this.
|
|
736
|
+
this.z4q_1 = value;
|
|
679
737
|
}
|
|
680
|
-
protoOf(DirectoryPath).
|
|
681
|
-
return _DirectoryPath___get_value__impl__hdy2e3(this.
|
|
738
|
+
protoOf(DirectoryPath).o1 = function () {
|
|
739
|
+
return _DirectoryPath___get_value__impl__hdy2e3(this.z4q_1);
|
|
682
740
|
};
|
|
683
741
|
protoOf(DirectoryPath).toString = function () {
|
|
684
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
742
|
+
return DirectoryPath__toString_impl_ym9pdb(this.z4q_1);
|
|
685
743
|
};
|
|
686
744
|
protoOf(DirectoryPath).hashCode = function () {
|
|
687
|
-
return DirectoryPath__hashCode_impl_cv3skg(this.
|
|
745
|
+
return DirectoryPath__hashCode_impl_cv3skg(this.z4q_1);
|
|
688
746
|
};
|
|
689
747
|
protoOf(DirectoryPath).equals = function (other) {
|
|
690
|
-
return DirectoryPath__equals_impl_c2rwsc(this.
|
|
748
|
+
return DirectoryPath__equals_impl_c2rwsc(this.z4q_1, other);
|
|
691
749
|
};
|
|
692
750
|
function Directory(path) {
|
|
693
|
-
this.
|
|
751
|
+
this.a4r_1 = path;
|
|
694
752
|
}
|
|
695
753
|
function Companion_1() {
|
|
696
754
|
}
|
|
697
|
-
protoOf(Companion_1).
|
|
755
|
+
protoOf(Companion_1).b4r = function (input) {
|
|
698
756
|
// Inline function 'kotlin.let' call
|
|
699
757
|
var it = split(input, ['/']);
|
|
700
758
|
var list = plus(dropLast(it, 1), split(last(it), ['.']));
|
|
@@ -709,7 +767,7 @@ protoOf(Companion_1).x4c = function (input) {
|
|
|
709
767
|
var _iterator__ex2g4s = tmp0.t();
|
|
710
768
|
while (_iterator__ex2g4s.u()) {
|
|
711
769
|
var element = _iterator__ex2g4s.v();
|
|
712
|
-
if (element.
|
|
770
|
+
if (element.wr_1 === ext) {
|
|
713
771
|
tmp$ret$5 = element;
|
|
714
772
|
break $l$block;
|
|
715
773
|
}
|
|
@@ -719,6 +777,7 @@ protoOf(Companion_1).x4c = function (input) {
|
|
|
719
777
|
var tmp0_elvis_lhs = tmp$ret$5;
|
|
720
778
|
var tmp;
|
|
721
779
|
if (tmp0_elvis_lhs == null) {
|
|
780
|
+
// Inline function 'kotlin.error' call
|
|
722
781
|
var message = 'Invalid file extension: ' + ext;
|
|
723
782
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
724
783
|
} else {
|
|
@@ -727,7 +786,7 @@ protoOf(Companion_1).x4c = function (input) {
|
|
|
727
786
|
var extension = tmp;
|
|
728
787
|
var idxOfFileName = list.b1() - 2 | 0;
|
|
729
788
|
var filename = _Name___init__impl__o4q07e(list.c1(idxOfFileName));
|
|
730
|
-
var path = joinToString(list.
|
|
789
|
+
var path = joinToString(list.o2(0, idxOfFileName), '/');
|
|
731
790
|
return new FilePath(_DirectoryPath___init__impl__5bzkjd(path), filename, extension);
|
|
732
791
|
};
|
|
733
792
|
var Companion_instance_1;
|
|
@@ -735,17 +794,17 @@ function Companion_getInstance_1() {
|
|
|
735
794
|
return Companion_instance_1;
|
|
736
795
|
}
|
|
737
796
|
function FilePath(directory, name, extension) {
|
|
738
|
-
this.
|
|
739
|
-
this.
|
|
740
|
-
this.
|
|
797
|
+
this.c4r_1 = directory;
|
|
798
|
+
this.d4r_1 = name;
|
|
799
|
+
this.e4r_1 = extension;
|
|
741
800
|
}
|
|
742
801
|
protoOf(FilePath).toString = function () {
|
|
743
|
-
return DirectoryPath__toString_impl_ym9pdb(this.
|
|
802
|
+
return DirectoryPath__toString_impl_ym9pdb(this.c4r_1) + '/' + _Name___get_value__impl__3tbxxy(this.d4r_1) + '.' + this.e4r_1.wr_1;
|
|
744
803
|
};
|
|
745
804
|
protoOf(FilePath).hashCode = function () {
|
|
746
|
-
var result = DirectoryPath__hashCode_impl_cv3skg(this.
|
|
747
|
-
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.
|
|
748
|
-
result = imul(result, 31) + this.
|
|
805
|
+
var result = DirectoryPath__hashCode_impl_cv3skg(this.c4r_1);
|
|
806
|
+
result = imul(result, 31) + Name__hashCode_impl_fpc861(this.d4r_1) | 0;
|
|
807
|
+
result = imul(result, 31) + this.e4r_1.hashCode() | 0;
|
|
749
808
|
return result;
|
|
750
809
|
};
|
|
751
810
|
protoOf(FilePath).equals = function (other) {
|
|
@@ -753,24 +812,24 @@ protoOf(FilePath).equals = function (other) {
|
|
|
753
812
|
return true;
|
|
754
813
|
if (!(other instanceof FilePath))
|
|
755
814
|
return false;
|
|
756
|
-
if (!(this.
|
|
815
|
+
if (!(this.c4r_1 === other.c4r_1))
|
|
757
816
|
return false;
|
|
758
|
-
if (!(this.
|
|
817
|
+
if (!(this.d4r_1 === other.d4r_1))
|
|
759
818
|
return false;
|
|
760
|
-
if (!this.
|
|
819
|
+
if (!this.e4r_1.equals(other.e4r_1))
|
|
761
820
|
return false;
|
|
762
821
|
return true;
|
|
763
822
|
};
|
|
764
823
|
function path(_this__u8e3s4) {
|
|
765
824
|
var tmp;
|
|
766
825
|
if (_this__u8e3s4 instanceof ClassPath) {
|
|
767
|
-
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.
|
|
826
|
+
tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.y4q_1);
|
|
768
827
|
} else {
|
|
769
828
|
if (_this__u8e3s4 instanceof DirectoryPath) {
|
|
770
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
829
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.z4q_1);
|
|
771
830
|
} else {
|
|
772
831
|
if (_this__u8e3s4 instanceof FilePath) {
|
|
773
|
-
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
832
|
+
tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.c4r_1);
|
|
774
833
|
} else {
|
|
775
834
|
noWhenBranchMatchedException();
|
|
776
835
|
}
|
|
@@ -779,13 +838,13 @@ function path(_this__u8e3s4) {
|
|
|
779
838
|
return tmp;
|
|
780
839
|
}
|
|
781
840
|
function IOError(message) {
|
|
782
|
-
this.
|
|
841
|
+
this.f4r_1 = message;
|
|
783
842
|
}
|
|
784
843
|
function WirespecFileError() {
|
|
785
844
|
SpecificFile.call(this, FileExtension_Wirespec_getInstance());
|
|
786
845
|
}
|
|
787
846
|
function SpecificFile(extension) {
|
|
788
|
-
IOError.call(this, 'No ' + extension.
|
|
847
|
+
IOError.call(this, 'No ' + extension.d3_1 + ' file found');
|
|
789
848
|
}
|
|
790
849
|
function CannotAccessFileOrDirectory(input) {
|
|
791
850
|
IOError.call(this, 'Cannot access file or directory: ' + input + '.');
|
|
@@ -811,39 +870,39 @@ function getFullPath(input, createIfNotExists_0) {
|
|
|
811
870
|
tmp_0 = new ClassPath(_ClassPath___init__impl__obyw3o(substringAfter(input, 'classpath:')));
|
|
812
871
|
} else {
|
|
813
872
|
var path = createIfNotExists(Path(input), createIfNotExists_0);
|
|
814
|
-
var tmp0_elvis_lhs = get_SystemFileSystem().
|
|
873
|
+
var tmp0_elvis_lhs = get_SystemFileSystem().o4p(path);
|
|
815
874
|
var tmp_1;
|
|
816
875
|
if (tmp0_elvis_lhs == null) {
|
|
817
|
-
raise.
|
|
876
|
+
raise.gn(new CannotAccessFileOrDirectory(input));
|
|
818
877
|
} else {
|
|
819
878
|
tmp_1 = tmp0_elvis_lhs;
|
|
820
879
|
}
|
|
821
880
|
var meta = tmp_1;
|
|
822
881
|
var pathString = path.toString();
|
|
823
882
|
var tmp_2;
|
|
824
|
-
if (meta.
|
|
883
|
+
if (meta.h4p_1) {
|
|
825
884
|
tmp_2 = new DirectoryPath(_DirectoryPath___init__impl__5bzkjd(pathString));
|
|
826
|
-
} else if (meta.
|
|
827
|
-
tmp_2 = Companion_instance_1.
|
|
885
|
+
} else if (meta.g4p_1) {
|
|
886
|
+
tmp_2 = Companion_instance_1.b4r(pathString);
|
|
828
887
|
} else {
|
|
829
|
-
raise.
|
|
888
|
+
raise.gn(new IsNotAFileOrDirectory(pathString));
|
|
830
889
|
}
|
|
831
890
|
tmp_0 = tmp_2;
|
|
832
891
|
}
|
|
833
892
|
var res = tmp_0;
|
|
834
|
-
raise.
|
|
893
|
+
raise.cn();
|
|
835
894
|
tmp = new Right(res);
|
|
836
895
|
} catch ($p) {
|
|
837
896
|
var tmp_3;
|
|
838
897
|
if ($p instanceof RaiseCancellationException) {
|
|
839
898
|
var e = $p;
|
|
840
|
-
raise.
|
|
899
|
+
raise.cn();
|
|
841
900
|
var it = raisedOrRethrow(e, raise);
|
|
842
901
|
tmp_3 = new Left(it);
|
|
843
902
|
} else {
|
|
844
903
|
if ($p instanceof Error) {
|
|
845
904
|
var e_0 = $p;
|
|
846
|
-
raise.
|
|
905
|
+
raise.cn();
|
|
847
906
|
throw nonFatalOrThrow(e_0);
|
|
848
907
|
} else {
|
|
849
908
|
throw $p;
|
|
@@ -857,11 +916,13 @@ function or(_this__u8e3s4, errorFn) {
|
|
|
857
916
|
// Inline function 'arrow.core.getOrElse' call
|
|
858
917
|
var tmp;
|
|
859
918
|
if (_this__u8e3s4 instanceof Left) {
|
|
860
|
-
|
|
861
|
-
|
|
919
|
+
var tmp$ret$1;
|
|
920
|
+
errorFn(_this__u8e3s4.sm_1.f4r_1);
|
|
921
|
+
throwKotlinNothingValueException();
|
|
922
|
+
tmp = tmp$ret$1;
|
|
862
923
|
} else {
|
|
863
924
|
if (_this__u8e3s4 instanceof Right) {
|
|
864
|
-
tmp = _this__u8e3s4.
|
|
925
|
+
tmp = _this__u8e3s4.um_1;
|
|
865
926
|
} else {
|
|
866
927
|
noWhenBranchMatchedException();
|
|
867
928
|
}
|
|
@@ -875,10 +936,10 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
875
936
|
var raise = new DefaultRaise(false);
|
|
876
937
|
var tmp;
|
|
877
938
|
try {
|
|
878
|
-
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.
|
|
939
|
+
var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.a4r_1));
|
|
879
940
|
// Inline function 'kotlin.let' call
|
|
880
941
|
// Inline function 'kotlin.collections.filter' call
|
|
881
|
-
var tmp0_0 = get_SystemFileSystem().
|
|
942
|
+
var tmp0_0 = get_SystemFileSystem().p4p(tmp0);
|
|
882
943
|
// Inline function 'kotlin.collections.filterTo' call
|
|
883
944
|
var destination = ArrayList_init_$Create$_0();
|
|
884
945
|
var _iterator__ex2g4s = tmp0_0.t();
|
|
@@ -904,11 +965,11 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
904
965
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
905
966
|
while (_iterator__ex2g4s_1.u()) {
|
|
906
967
|
var item = _iterator__ex2g4s_1.v();
|
|
907
|
-
var tmp$ret$
|
|
908
|
-
destination_1.x(tmp$ret$
|
|
968
|
+
var tmp$ret$14 = to(Companion_instance_1.b4r(item.toString()), readString(buffered(get_SystemFileSystem().l4p(item))));
|
|
969
|
+
destination_1.x(tmp$ret$14);
|
|
909
970
|
}
|
|
910
971
|
// Inline function 'kotlin.also' call
|
|
911
|
-
logger.
|
|
972
|
+
logger.zr('Found ' + destination_1.b1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.a4r_1));
|
|
912
973
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
913
974
|
var index = 0;
|
|
914
975
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
@@ -917,7 +978,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
917
978
|
var _unary__edvuaz = index;
|
|
918
979
|
index = _unary__edvuaz + 1 | 0;
|
|
919
980
|
var prefix = checkIndexOverflow(_unary__edvuaz) < (destination_1.b1() - 1 | 0) ? '\u251C\u2500\u2500 ' : '\u2514\u2500\u2500 ';
|
|
920
|
-
logger.
|
|
981
|
+
logger.zr(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ef_1.d4r_1) + '.' + item_0.ef_1.e4r_1.wr_1);
|
|
921
982
|
}
|
|
922
983
|
// Inline function 'kotlin.collections.map' call
|
|
923
984
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -925,33 +986,33 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
925
986
|
var _iterator__ex2g4s_3 = destination_1.t();
|
|
926
987
|
while (_iterator__ex2g4s_3.u()) {
|
|
927
988
|
var item_1 = _iterator__ex2g4s_3.v();
|
|
928
|
-
var path = item_1.
|
|
929
|
-
var source = item_1.
|
|
930
|
-
var tmp$ret$
|
|
931
|
-
destination_2.x(tmp$ret$
|
|
989
|
+
var path = item_1.ye();
|
|
990
|
+
var source = item_1.ze();
|
|
991
|
+
var tmp$ret$21 = new Source(path.d4r_1, source);
|
|
992
|
+
destination_2.x(tmp$ret$21);
|
|
932
993
|
}
|
|
933
994
|
var tmp0_elvis_lhs = toNonEmptySetOrNull(destination_2);
|
|
934
995
|
var tmp_0;
|
|
935
996
|
var tmp_1 = tmp0_elvis_lhs;
|
|
936
997
|
if ((tmp_1 == null ? null : new NonEmptySet(tmp_1)) == null) {
|
|
937
|
-
raise.
|
|
998
|
+
raise.gn(new WirespecFileError());
|
|
938
999
|
} else {
|
|
939
1000
|
tmp_0 = tmp0_elvis_lhs;
|
|
940
1001
|
}
|
|
941
1002
|
var res = new NonEmptySet(tmp_0);
|
|
942
|
-
raise.
|
|
1003
|
+
raise.cn();
|
|
943
1004
|
tmp = new Right(res);
|
|
944
1005
|
} catch ($p) {
|
|
945
1006
|
var tmp_2;
|
|
946
1007
|
if ($p instanceof RaiseCancellationException) {
|
|
947
1008
|
var e = $p;
|
|
948
|
-
raise.
|
|
1009
|
+
raise.cn();
|
|
949
1010
|
var it = raisedOrRethrow(e, raise);
|
|
950
1011
|
tmp_2 = new Left(it);
|
|
951
1012
|
} else {
|
|
952
1013
|
if ($p instanceof Error) {
|
|
953
1014
|
var e_0 = $p;
|
|
954
|
-
raise.
|
|
1015
|
+
raise.cn();
|
|
955
1016
|
throw nonFatalOrThrow(e_0);
|
|
956
1017
|
} else {
|
|
957
1018
|
throw $p;
|
|
@@ -964,7 +1025,7 @@ function wirespecSources(_this__u8e3s4, logger) {
|
|
|
964
1025
|
function read(_this__u8e3s4) {
|
|
965
1026
|
// Inline function 'kotlin.let' call
|
|
966
1027
|
var it = Path(_this__u8e3s4.toString());
|
|
967
|
-
return readString(buffered(get_SystemFileSystem().
|
|
1028
|
+
return readString(buffered(get_SystemFileSystem().l4p(it)));
|
|
968
1029
|
}
|
|
969
1030
|
function getOutPutPath(inputPath, output) {
|
|
970
1031
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -973,13 +1034,13 @@ function getOutPutPath(inputPath, output) {
|
|
|
973
1034
|
var raise = new DefaultRaise(false);
|
|
974
1035
|
var tmp;
|
|
975
1036
|
try {
|
|
976
|
-
var it = raise.
|
|
1037
|
+
var it = raise.kn(getFullPath(output, true));
|
|
977
1038
|
var tmp_0;
|
|
978
1039
|
if (it == null) {
|
|
979
1040
|
tmp_0 = _DirectoryPath___init__impl__5bzkjd(path(inputPath) + '/out');
|
|
980
1041
|
} else {
|
|
981
1042
|
if (it instanceof DirectoryPath) {
|
|
982
|
-
tmp_0 = it.
|
|
1043
|
+
tmp_0 = it.z4q_1;
|
|
983
1044
|
} else {
|
|
984
1045
|
var tmp_1;
|
|
985
1046
|
if (it instanceof FilePath) {
|
|
@@ -988,26 +1049,26 @@ function getOutPutPath(inputPath, output) {
|
|
|
988
1049
|
tmp_1 = it instanceof ClassPath;
|
|
989
1050
|
}
|
|
990
1051
|
if (tmp_1) {
|
|
991
|
-
raise.
|
|
1052
|
+
raise.gn(new OutputShouldBeADirectory());
|
|
992
1053
|
} else {
|
|
993
1054
|
noWhenBranchMatchedException();
|
|
994
1055
|
}
|
|
995
1056
|
}
|
|
996
1057
|
}
|
|
997
1058
|
var res = new DirectoryPath(tmp_0);
|
|
998
|
-
raise.
|
|
1059
|
+
raise.cn();
|
|
999
1060
|
tmp = new Right(res);
|
|
1000
1061
|
} catch ($p) {
|
|
1001
1062
|
var tmp_2;
|
|
1002
1063
|
if ($p instanceof RaiseCancellationException) {
|
|
1003
1064
|
var e = $p;
|
|
1004
|
-
raise.
|
|
1065
|
+
raise.cn();
|
|
1005
1066
|
var it_0 = raisedOrRethrow(e, raise);
|
|
1006
1067
|
tmp_2 = new Left(it_0);
|
|
1007
1068
|
} else {
|
|
1008
1069
|
if ($p instanceof Error) {
|
|
1009
1070
|
var e_0 = $p;
|
|
1010
|
-
raise.
|
|
1071
|
+
raise.cn();
|
|
1011
1072
|
throw nonFatalOrThrow(e_0);
|
|
1012
1073
|
} else {
|
|
1013
1074
|
throw $p;
|
|
@@ -1020,38 +1081,38 @@ function getOutPutPath(inputPath, output) {
|
|
|
1020
1081
|
function write(_this__u8e3s4, string) {
|
|
1021
1082
|
// Inline function 'kotlin.also' call
|
|
1022
1083
|
var this_0 = Path(_this__u8e3s4.toString());
|
|
1023
|
-
var tmp0_safe_receiver = this_0.
|
|
1084
|
+
var tmp0_safe_receiver = this_0.r4p();
|
|
1024
1085
|
if (tmp0_safe_receiver == null)
|
|
1025
1086
|
null;
|
|
1026
1087
|
else
|
|
1027
1088
|
createIfNotExists(tmp0_safe_receiver);
|
|
1028
1089
|
// Inline function 'kotlin.let' call
|
|
1029
1090
|
// Inline function 'kotlin.apply' call
|
|
1030
|
-
var this_1 = buffered_0(get_SystemFileSystem().
|
|
1091
|
+
var this_1 = buffered_0(get_SystemFileSystem().n4p(this_0));
|
|
1031
1092
|
writeString(this_1, string);
|
|
1032
|
-
this_1.
|
|
1093
|
+
this_1.c9();
|
|
1033
1094
|
return Unit_instance;
|
|
1034
1095
|
}
|
|
1035
1096
|
function createIfNotExists(_this__u8e3s4, create) {
|
|
1036
1097
|
create = create === VOID ? true : create;
|
|
1037
1098
|
// Inline function 'kotlin.also' call
|
|
1038
|
-
if (create && !get_SystemFileSystem().
|
|
1039
|
-
get_SystemFileSystem().
|
|
1099
|
+
if (create && !get_SystemFileSystem().j4p(_this__u8e3s4)) {
|
|
1100
|
+
get_SystemFileSystem().k4p(_this__u8e3s4, true);
|
|
1040
1101
|
}
|
|
1041
1102
|
return _this__u8e3s4;
|
|
1042
1103
|
}
|
|
1043
1104
|
function isRegularFile(path) {
|
|
1044
|
-
var tmp0_safe_receiver = get_SystemFileSystem().
|
|
1045
|
-
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1105
|
+
var tmp0_safe_receiver = get_SystemFileSystem().o4p(path);
|
|
1106
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g4p_1) === true;
|
|
1046
1107
|
}
|
|
1047
1108
|
function isWirespecFile(path) {
|
|
1048
|
-
return get_extension(path) === FileExtension_Wirespec_getInstance().
|
|
1109
|
+
return get_extension(path) === FileExtension_Wirespec_getInstance().wr_1;
|
|
1049
1110
|
}
|
|
1050
1111
|
function get_extension(_this__u8e3s4) {
|
|
1051
1112
|
return substringAfterLast(_this__u8e3s4.m(), _Char___init__impl__6a9atx(46), '');
|
|
1052
1113
|
}
|
|
1053
1114
|
//region block: post-declaration
|
|
1054
|
-
protoOf(compile$ctx$1).
|
|
1115
|
+
protoOf(compile$ctx$1).lo = get_spec;
|
|
1055
1116
|
//endregion
|
|
1056
1117
|
//region block: init
|
|
1057
1118
|
Companion_instance = new Companion();
|
|
@@ -1077,11 +1138,11 @@ export {
|
|
|
1077
1138
|
compile_0 as compile3ocumkpx3p9ko,
|
|
1078
1139
|
convert as convert3g5kyi4d6y9kc,
|
|
1079
1140
|
toEmitter as toEmitter3vk7m5bivtqhk,
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1141
|
+
Companion_instance_1 as Companion_instance3u189ncjgxp6,
|
|
1142
|
+
Companion_instance_0 as Companion_instanceostrm0i8dq1p,
|
|
1143
|
+
Language_Kotlin_getInstance as Language_Kotlin_getInstancel9flkgp6e3q4,
|
|
1144
|
+
_DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e31of6jj3zjtzs5,
|
|
1145
|
+
_Name___init__impl__o4q07e as _Name___init__impl__o4q07e3vb5gulc0hok1,
|
|
1085
1146
|
};
|
|
1086
1147
|
//endregion
|
|
1087
1148
|
|