@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
|
@@ -21,36 +21,36 @@ import {
|
|
|
21
21
|
getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
|
|
22
22
|
listOfvhqybd2zx248 as listOf,
|
|
23
23
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
24
|
-
|
|
24
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
25
25
|
mapCapacity1h45rc3eh9p2l as mapCapacity,
|
|
26
26
|
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
|
|
27
|
-
LinkedHashMap_init_$Create$
|
|
27
|
+
LinkedHashMap_init_$Create$1gzy1x4a46gd4 as LinkedHashMap_init_$Create$,
|
|
28
28
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
29
29
|
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
30
30
|
trim11nh7r46at6sx as trim,
|
|
31
31
|
toString1pkumu07cwy4m as toString,
|
|
32
32
|
Enum3alwj03lh1n41 as Enum,
|
|
33
33
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
34
|
-
ArrayList_init_$Create$
|
|
34
|
+
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
|
|
35
35
|
until1jbpn0z3f8lbg as until,
|
|
36
|
-
ArrayList_init_$Create$
|
|
36
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
37
37
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
38
|
-
IllegalStateException_init_$Create$
|
|
38
|
+
IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
|
|
39
39
|
addAll1k27qatfgp3k5 as addAll,
|
|
40
40
|
copyToArray2j022khrow2yi as copyToArray,
|
|
41
41
|
isArray1hxjqtqy632bc as isArray,
|
|
42
42
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
FileExtension_Wirespec_getInstance3awesett59616 as FileExtension_Wirespec_getInstance,
|
|
45
|
+
FileExtension_JSON_getInstancel2q389n0axuc as FileExtension_JSON_getInstance,
|
|
46
|
+
Companion_instance20rky2ffsqbmt as Companion_instance,
|
|
47
47
|
Logger1cwdyrq5itr5l as Logger,
|
|
48
|
-
|
|
48
|
+
Companion_instance21vwhhqsaytqt as Companion_instance_0,
|
|
49
49
|
EmitSharedetokabwo9q4q as EmitShared,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
Level_INFO_getInstance1jwffmh2os99t as Level_INFO_getInstance,
|
|
51
|
+
Level_DEBUG_getInstance3osr5ne4jmdcj as Level_DEBUG_getInstance,
|
|
52
|
+
Level_WARN_getInstanceq4euntxdpan3 as Level_WARN_getInstance,
|
|
53
|
+
Level_ERROR_getInstance23ddtl147gk4n as Level_ERROR_getInstance,
|
|
54
54
|
FileUri2xjkmf4jmvpab as FileUri,
|
|
55
55
|
ModuleContent750xezzquzy9 as ModuleContent,
|
|
56
56
|
parse24q0pxmbph48t as parse,
|
|
@@ -64,8 +64,8 @@ import {
|
|
|
64
64
|
CliktCommand1a5aj7xujka26 as CliktCommand,
|
|
65
65
|
} from './clikt-clikt-mordant.mjs';
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
Companion_instanceostrm0i8dq1p as Companion_instance_1,
|
|
68
|
+
Language_Kotlin_getInstancel9flkgp6e3q4 as Language_Kotlin_getInstance,
|
|
69
69
|
getFullPath4g3ciksg8rpm as getFullPath,
|
|
70
70
|
read1bpb5m43oodfb as read,
|
|
71
71
|
Source2leyaqfqfs5k3 as Source,
|
|
@@ -75,13 +75,13 @@ import {
|
|
|
75
75
|
or33xhl4wx85q9x as or,
|
|
76
76
|
DirectoryPath39bbfr0ixndbr as DirectoryPath,
|
|
77
77
|
ClassPath7upbvx9mwagz as ClassPath,
|
|
78
|
-
|
|
78
|
+
_Name___init__impl__o4q07e3vb5gulc0hok1 as _Name___init__impl__o4q07e,
|
|
79
79
|
getOutPutPathqmn3xkxu6se6 as getOutPutPath,
|
|
80
80
|
CompilerArguments27p1etc1665zg as CompilerArguments,
|
|
81
81
|
values39f22etrsivck as values,
|
|
82
82
|
ConverterArgumentsa8xc45eyvf51 as ConverterArguments,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
Companion_instance3u189ncjgxp6 as Companion_instance_2,
|
|
84
|
+
_DirectoryPath___get_value__impl__hdy2e31of6jj3zjtzs5 as _DirectoryPath___get_value__impl__hdy2e3,
|
|
85
85
|
write1u316o1mmac8j as write,
|
|
86
86
|
toEmitter3vk7m5bivtqhk as toEmitter,
|
|
87
87
|
compile3ocumkpx3p9ko as compile,
|
|
@@ -95,10 +95,10 @@ import {
|
|
|
95
95
|
toNonEmptySetOrNull1tjnd9jrkd4bs as toNonEmptySetOrNull,
|
|
96
96
|
nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
|
|
97
97
|
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
_NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d as _NonEmptyList___get_all__impl__pmf509,
|
|
99
|
+
_NonEmptyList___init__impl__fxd0xprpnd63likgzm as _NonEmptyList___init__impl__fxd0xp,
|
|
100
|
+
NonEmptyList__toList_impl_t5xcy266xhxpenbpfx as NonEmptyList__toList_impl_t5xcy2,
|
|
101
|
+
Companion_instancexcyhq1gimo3o as Companion_instance_3,
|
|
102
102
|
} from './arrow-arrow-core.mjs';
|
|
103
103
|
import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
|
|
104
104
|
import { produce6pbudlitvnns as produce } from './wirespec-src-compiler-lib.mjs';
|
|
@@ -146,12 +146,12 @@ function ChooseALogLevel() {
|
|
|
146
146
|
captureStack(this, ChooseALogLevel);
|
|
147
147
|
}
|
|
148
148
|
function SpecificFile(extension) {
|
|
149
|
-
CliktError.call(this, 'No ' + extension.
|
|
149
|
+
CliktError.call(this, 'No ' + extension.d3_1 + ' file found');
|
|
150
150
|
captureStack(this, SpecificFile);
|
|
151
151
|
}
|
|
152
152
|
function Companion() {
|
|
153
153
|
}
|
|
154
|
-
protoOf(Companion).
|
|
154
|
+
protoOf(Companion).h5a = function (compile, convert) {
|
|
155
155
|
return subcommands(new WirespecCli(), [new Compile(compile), new Convert(convert)]);
|
|
156
156
|
};
|
|
157
157
|
var Companion_instance_4;
|
|
@@ -163,11 +163,11 @@ function WirespecCli() {
|
|
|
163
163
|
}
|
|
164
164
|
function _get_stdin__b8xnlj($this) {
|
|
165
165
|
var tmp = KProperty1;
|
|
166
|
-
return $this.
|
|
166
|
+
return $this.f5b_1.s1u($this, getPropertyCallableRef('stdin', 1, tmp, Compile$_get_stdin_$ref_5ywd7d_0(), null));
|
|
167
167
|
}
|
|
168
168
|
function _get_languages__ojonze($this) {
|
|
169
169
|
var tmp = KProperty1;
|
|
170
|
-
return $this.
|
|
170
|
+
return $this.g5b_1.s1u($this, getPropertyCallableRef('languages', 1, tmp, Compile$_get_languages_$ref_nluohg_0(), null));
|
|
171
171
|
}
|
|
172
172
|
function Compile$_get_stdin_$ref_5ywd7d() {
|
|
173
173
|
return function (p0) {
|
|
@@ -210,27 +210,27 @@ function handleError$ref_1() {
|
|
|
210
210
|
}
|
|
211
211
|
function Compile(compiler) {
|
|
212
212
|
CommonOptions.call(this);
|
|
213
|
-
this.
|
|
213
|
+
this.e5b_1 = compiler;
|
|
214
214
|
var tmp = this;
|
|
215
215
|
var tmp_0 = optional(argument(this, VOID, 'stdin'));
|
|
216
216
|
var tmp_1 = KProperty1;
|
|
217
|
-
tmp.
|
|
217
|
+
tmp.f5b_1 = tmp_0.y1t(this, getPropertyCallableRef('stdin', 1, tmp_1, Compile$_get_stdin_$ref_5ywd7d(), null));
|
|
218
218
|
var tmp_2 = this;
|
|
219
|
-
var tmp_3 = multiple(choice(option(this, Options_Language_getInstance().
|
|
219
|
+
var tmp_3 = multiple(choice(option(this, Options_Language_getInstance().j5b_1.slice(), 'Language'), Companion_instance_1.z4p(), VOID, true), listOf(Language_Kotlin_getInstance()));
|
|
220
220
|
var tmp_4 = KProperty1;
|
|
221
|
-
tmp_2.
|
|
221
|
+
tmp_2.g5b_1 = tmp_3.c1v(this, getPropertyCallableRef('languages', 1, tmp_4, Compile$_get_languages_$ref_nluohg(), null));
|
|
222
222
|
}
|
|
223
|
-
protoOf(Compile).
|
|
224
|
-
var logger = new Logger(this.
|
|
223
|
+
protoOf(Compile).r1l = function () {
|
|
224
|
+
var logger = new Logger(this.h5c(this.g5c()));
|
|
225
225
|
// Inline function 'arrow.core.getOrElse' call
|
|
226
|
-
var this_0 = getFullPath(this.
|
|
226
|
+
var this_0 = getFullPath(this.i5c());
|
|
227
227
|
var tmp;
|
|
228
228
|
if (this_0 instanceof Left) {
|
|
229
|
-
var it = this_0.
|
|
230
|
-
throw new CliktError(it.
|
|
229
|
+
var it = this_0.sm_1;
|
|
230
|
+
throw new CliktError(it.f4r_1);
|
|
231
231
|
} else {
|
|
232
232
|
if (this_0 instanceof Right) {
|
|
233
|
-
tmp = this_0.
|
|
233
|
+
tmp = this_0.um_1;
|
|
234
234
|
} else {
|
|
235
235
|
noWhenBranchMatchedException();
|
|
236
236
|
}
|
|
@@ -260,17 +260,17 @@ protoOf(Compile).g13 = function () {
|
|
|
260
260
|
throw new NoClasspathPossible();
|
|
261
261
|
} else {
|
|
262
262
|
if (inputPath instanceof DirectoryPath) {
|
|
263
|
-
var tmp_4 = wirespecSources(new Directory(inputPath.
|
|
264
|
-
tmp_0 = or(tmp_4, handleError$ref()).
|
|
263
|
+
var tmp_4 = wirespecSources(new Directory(inputPath.z4q_1), logger);
|
|
264
|
+
tmp_0 = or(tmp_4, handleError$ref()).in_1;
|
|
265
265
|
} else {
|
|
266
266
|
if (inputPath instanceof FilePath) {
|
|
267
267
|
var tmp_5;
|
|
268
|
-
if (inputPath.
|
|
268
|
+
if (inputPath.e4r_1.e3_1 === 6) {
|
|
269
269
|
// Inline function 'kotlin.also' call
|
|
270
|
-
var this_1 = new NonEmptySet(nonEmptySetOf(new Source(inputPath.
|
|
271
|
-
this_1.
|
|
272
|
-
logger.
|
|
273
|
-
tmp_5 = this_1.
|
|
270
|
+
var this_1 = new NonEmptySet(nonEmptySetOf(new Source(inputPath.d4r_1, read(inputPath)), []));
|
|
271
|
+
this_1.in_1;
|
|
272
|
+
logger.zr('Found 1 wirespec file to process: ' + inputPath.toString());
|
|
273
|
+
tmp_5 = this_1.in_1;
|
|
274
274
|
} else {
|
|
275
275
|
throw new WirespecFileError();
|
|
276
276
|
}
|
|
@@ -282,32 +282,32 @@ protoOf(Compile).g13 = function () {
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
var sources = tmp_0;
|
|
285
|
-
var emitters = toEmitters(_get_languages__ojonze(this), Companion_instance_0.
|
|
285
|
+
var emitters = toEmitters(_get_languages__ojonze(this), Companion_instance_0.zs(this.y1z()), new EmitShared(this.r4o()));
|
|
286
286
|
var tmp_6;
|
|
287
287
|
if (inputPath == null) {
|
|
288
288
|
tmp_6 = null;
|
|
289
289
|
} else {
|
|
290
290
|
// Inline function 'kotlin.let' call
|
|
291
|
-
var tmp_7 = getOutPutPath(inputPath, this.
|
|
292
|
-
tmp_6 = new Directory(or(tmp_7, handleError$ref_0()).
|
|
291
|
+
var tmp_7 = getOutPutPath(inputPath, this.j5c());
|
|
292
|
+
tmp_6 = new Directory(or(tmp_7, handleError$ref_0()).z4q_1);
|
|
293
293
|
}
|
|
294
294
|
var outputDir = tmp_6;
|
|
295
|
-
var tmp_8 = this.
|
|
296
|
-
var tmp0 = new CompilerArguments(sources, emitters, tmp_8, handleError$ref_1(), Companion_instance_0.
|
|
295
|
+
var tmp_8 = this.k5c(outputDir);
|
|
296
|
+
var tmp0 = new CompilerArguments(sources, emitters, tmp_8, handleError$ref_1(), Companion_instance_0.zs(this.y1z()), logger, this.r4o(), this.l5c(), this.m5c());
|
|
297
297
|
// Inline function 'kotlin.let' call
|
|
298
|
-
this.
|
|
298
|
+
this.e5b_1(tmp0);
|
|
299
299
|
};
|
|
300
300
|
function _get_format__qlarck($this) {
|
|
301
301
|
var tmp = KProperty1;
|
|
302
|
-
return $this.
|
|
302
|
+
return $this.k5d_1.s1u($this, getPropertyCallableRef('format', 1, tmp, Convert$_get_format_$ref_ve190_0(), null));
|
|
303
303
|
}
|
|
304
304
|
function _get_stdin__b8xnlj_0($this) {
|
|
305
305
|
var tmp = KProperty1;
|
|
306
|
-
return $this.
|
|
306
|
+
return $this.l5d_1.s1u($this, getPropertyCallableRef('stdin', 1, tmp, Convert$_get_stdin_$ref_yiqct5_0(), null));
|
|
307
307
|
}
|
|
308
308
|
function _get_languages__ojonze_0($this) {
|
|
309
309
|
var tmp = KProperty1;
|
|
310
|
-
return $this.
|
|
310
|
+
return $this.m5d_1.s1u($this, getPropertyCallableRef('languages', 1, tmp, Convert$_get_languages_$ref_ykvilw_0(), null));
|
|
311
311
|
}
|
|
312
312
|
function Convert$_get_format_$ref_ve190() {
|
|
313
313
|
return function (p0) {
|
|
@@ -360,7 +360,7 @@ function handleError$ref_4() {
|
|
|
360
360
|
}
|
|
361
361
|
function Convert(converter) {
|
|
362
362
|
CommonOptions.call(this);
|
|
363
|
-
this.
|
|
363
|
+
this.j5d_1 = converter;
|
|
364
364
|
var tmp = this;
|
|
365
365
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
366
366
|
var this_0 = argument(this, VOID, 'Input format');
|
|
@@ -375,24 +375,24 @@ function Convert(converter) {
|
|
|
375
375
|
while (inductionVariable < last) {
|
|
376
376
|
var element = this_1[inductionVariable];
|
|
377
377
|
inductionVariable = inductionVariable + 1 | 0;
|
|
378
|
-
var tmp$ret$
|
|
379
|
-
destination.
|
|
378
|
+
var tmp$ret$4 = element.d3_1;
|
|
379
|
+
destination.v2(tmp$ret$4, element);
|
|
380
380
|
}
|
|
381
381
|
var tmp_0 = choice_0(this_0, destination, true);
|
|
382
382
|
var tmp_1 = KProperty1;
|
|
383
|
-
tmp.
|
|
383
|
+
tmp.k5d_1 = tmp_0.y1t(this, getPropertyCallableRef('format', 1, tmp_1, Convert$_get_format_$ref_ve190(), null));
|
|
384
384
|
var tmp_2 = this;
|
|
385
385
|
var tmp_3 = optional(argument(this, VOID, 'stdin'));
|
|
386
386
|
var tmp_4 = KProperty1;
|
|
387
|
-
tmp_2.
|
|
387
|
+
tmp_2.l5d_1 = tmp_3.y1t(this, getPropertyCallableRef('stdin', 1, tmp_4, Convert$_get_stdin_$ref_yiqct5(), null));
|
|
388
388
|
var tmp_5 = this;
|
|
389
|
-
var tmp_6 = multiple(choice(option(this, Options_Language_getInstance().
|
|
389
|
+
var tmp_6 = multiple(choice(option(this, Options_Language_getInstance().j5b_1.slice(), 'Language'), Companion_instance_1.z4p(), VOID, true));
|
|
390
390
|
var tmp_7 = KProperty1;
|
|
391
|
-
tmp_5.
|
|
391
|
+
tmp_5.m5d_1 = tmp_6.c1v(this, getPropertyCallableRef('languages', 1, tmp_7, Convert$_get_languages_$ref_ykvilw(), null));
|
|
392
392
|
}
|
|
393
|
-
protoOf(Convert).
|
|
394
|
-
var logger = new Logger(this.
|
|
395
|
-
var tmp = getFullPath(this.
|
|
393
|
+
protoOf(Convert).r1l = function () {
|
|
394
|
+
var logger = new Logger(this.h5c(this.g5c()));
|
|
395
|
+
var tmp = getFullPath(this.i5c());
|
|
396
396
|
var inputPath = or(tmp, handleError$ref_2());
|
|
397
397
|
var tmp_0;
|
|
398
398
|
if (inputPath == null) {
|
|
@@ -421,14 +421,17 @@ protoOf(Convert).g13 = function () {
|
|
|
421
421
|
} else {
|
|
422
422
|
if (inputPath instanceof FilePath) {
|
|
423
423
|
var tmp_3;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
424
|
+
switch (inputPath.e4r_1.e3_1) {
|
|
425
|
+
case 7:
|
|
426
|
+
case 11:
|
|
427
|
+
tmp_3 = new Source(inputPath.d4r_1, read(inputPath));
|
|
428
|
+
break;
|
|
429
|
+
default:
|
|
430
|
+
throw new JSONFileError();
|
|
428
431
|
}
|
|
429
432
|
// Inline function 'kotlin.also' call
|
|
430
433
|
var this_0 = tmp_3;
|
|
431
|
-
logger.
|
|
434
|
+
logger.zr('Found 1 file to process: ' + inputPath.toString());
|
|
432
435
|
tmp_0 = this_0;
|
|
433
436
|
} else {
|
|
434
437
|
noWhenBranchMatchedException();
|
|
@@ -437,81 +440,91 @@ protoOf(Convert).g13 = function () {
|
|
|
437
440
|
}
|
|
438
441
|
}
|
|
439
442
|
var source = tmp_0;
|
|
440
|
-
var emitters = toEmitters(_get_languages__ojonze_0(this), Companion_instance_0.
|
|
443
|
+
var emitters = toEmitters(_get_languages__ojonze_0(this), Companion_instance_0.zs(this.y1z()), new EmitShared(this.r4o()));
|
|
441
444
|
var tmp_4;
|
|
442
445
|
if (inputPath == null) {
|
|
443
446
|
tmp_4 = null;
|
|
444
447
|
} else {
|
|
445
448
|
// Inline function 'kotlin.let' call
|
|
446
|
-
var tmp_5 = getOutPutPath(inputPath, this.
|
|
447
|
-
tmp_4 = new Directory(or(tmp_5, handleError$ref_3()).
|
|
449
|
+
var tmp_5 = getOutPutPath(inputPath, this.j5c());
|
|
450
|
+
tmp_4 = new Directory(or(tmp_5, handleError$ref_3()).z4q_1);
|
|
448
451
|
}
|
|
449
452
|
var directory = tmp_4;
|
|
450
453
|
var tmp_6 = _get_format__qlarck(this);
|
|
451
454
|
var tmp_7 = nonEmptySetOf(source, []);
|
|
452
|
-
var tmp_8 = this.
|
|
453
|
-
var tmp0 = new ConverterArguments(tmp_6, tmp_7, emitters, tmp_8, handleError$ref_4(), Companion_instance_0.
|
|
455
|
+
var tmp_8 = this.k5c(directory);
|
|
456
|
+
var tmp0 = new ConverterArguments(tmp_6, tmp_7, emitters, tmp_8, handleError$ref_4(), Companion_instance_0.zs(this.y1z()), logger, this.r4o(), this.l5c(), this.m5c());
|
|
454
457
|
// Inline function 'kotlin.let' call
|
|
455
|
-
this.
|
|
458
|
+
this.j5d_1(tmp0);
|
|
456
459
|
};
|
|
457
460
|
function CommonOptions$_get_input_$ref_6c1nvp() {
|
|
458
461
|
return function (p0) {
|
|
459
|
-
return p0.
|
|
462
|
+
return p0.i5c();
|
|
460
463
|
};
|
|
461
464
|
}
|
|
462
465
|
function CommonOptions$_get_input_$ref_6c1nvp_0() {
|
|
463
466
|
return function (p0) {
|
|
464
|
-
return p0.
|
|
467
|
+
return p0.i5c();
|
|
465
468
|
};
|
|
466
469
|
}
|
|
467
470
|
function CommonOptions$_get_output_$ref_eo6xdi() {
|
|
468
471
|
return function (p0) {
|
|
469
|
-
return p0.
|
|
472
|
+
return p0.j5c();
|
|
470
473
|
};
|
|
471
474
|
}
|
|
472
475
|
function CommonOptions$_get_output_$ref_eo6xdi_0() {
|
|
473
476
|
return function (p0) {
|
|
474
|
-
return p0.
|
|
477
|
+
return p0.j5c();
|
|
475
478
|
};
|
|
476
479
|
}
|
|
477
480
|
function CommonOptions$_get_packageName_$ref_k5vxsu() {
|
|
478
481
|
return function (p0) {
|
|
479
|
-
return p0.
|
|
482
|
+
return p0.y1z();
|
|
480
483
|
};
|
|
481
484
|
}
|
|
482
485
|
function CommonOptions$_get_packageName_$ref_k5vxsu_0() {
|
|
483
486
|
return function (p0) {
|
|
484
|
-
return p0.
|
|
487
|
+
return p0.y1z();
|
|
485
488
|
};
|
|
486
489
|
}
|
|
487
490
|
function CommonOptions$_get_logLevel_$ref_mp4bhx() {
|
|
488
491
|
return function (p0) {
|
|
489
|
-
return p0.
|
|
492
|
+
return p0.g5c();
|
|
490
493
|
};
|
|
491
494
|
}
|
|
492
495
|
function CommonOptions$_get_logLevel_$ref_mp4bhx_0() {
|
|
493
496
|
return function (p0) {
|
|
494
|
-
return p0.
|
|
497
|
+
return p0.g5c();
|
|
495
498
|
};
|
|
496
499
|
}
|
|
497
500
|
function CommonOptions$_get_shared_$ref_7r7o2u() {
|
|
498
501
|
return function (p0) {
|
|
499
|
-
return p0.
|
|
502
|
+
return p0.r4o();
|
|
500
503
|
};
|
|
501
504
|
}
|
|
502
505
|
function CommonOptions$_get_shared_$ref_7r7o2u_0() {
|
|
503
506
|
return function (p0) {
|
|
504
|
-
return p0.
|
|
507
|
+
return p0.r4o();
|
|
505
508
|
};
|
|
506
509
|
}
|
|
507
510
|
function CommonOptions$_get_strict_$ref_vrzh6q() {
|
|
508
511
|
return function (p0) {
|
|
509
|
-
return p0.
|
|
512
|
+
return p0.l5c();
|
|
510
513
|
};
|
|
511
514
|
}
|
|
512
515
|
function CommonOptions$_get_strict_$ref_vrzh6q_0() {
|
|
513
516
|
return function (p0) {
|
|
514
|
-
return p0.
|
|
517
|
+
return p0.l5c();
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
function CommonOptions$_get_ignoreDefaults_$ref_doa1uh() {
|
|
521
|
+
return function (p0) {
|
|
522
|
+
return p0.m5c();
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
function CommonOptions$_get_ignoreDefaults_$ref_doa1uh_0() {
|
|
526
|
+
return function (p0) {
|
|
527
|
+
return p0.m5c();
|
|
515
528
|
};
|
|
516
529
|
}
|
|
517
530
|
function CommonOptions$writer$lambda($directory, this$0) {
|
|
@@ -526,11 +539,11 @@ function CommonOptions$writer$lambda($directory, this$0) {
|
|
|
526
539
|
tmp = null;
|
|
527
540
|
} else {
|
|
528
541
|
// Inline function 'kotlin.let' call
|
|
529
|
-
write(Companion_instance_2.
|
|
542
|
+
write(Companion_instance_2.b4r(_DirectoryPath___get_value__impl__hdy2e3(tmp0_safe_receiver.a4r_1) + '/' + element.gq_1), element.hq_1);
|
|
530
543
|
tmp = Unit_instance;
|
|
531
544
|
}
|
|
532
545
|
if (tmp == null) {
|
|
533
|
-
this$0.
|
|
546
|
+
this$0.g1k(element.hq_1);
|
|
534
547
|
}
|
|
535
548
|
}
|
|
536
549
|
return Unit_instance;
|
|
@@ -539,55 +552,63 @@ function CommonOptions$writer$lambda($directory, this$0) {
|
|
|
539
552
|
function CommonOptions() {
|
|
540
553
|
CliktCommand.call(this);
|
|
541
554
|
var tmp = this;
|
|
542
|
-
var tmp_0 = option(this, Options_Input_getInstance().
|
|
555
|
+
var tmp_0 = option(this, Options_Input_getInstance().j5b_1.slice(), 'Input');
|
|
543
556
|
var tmp_1 = KProperty1;
|
|
544
|
-
tmp.
|
|
557
|
+
tmp.z5b_1 = tmp_0.c1v(this, getPropertyCallableRef('input', 1, tmp_1, CommonOptions$_get_input_$ref_6c1nvp(), null));
|
|
545
558
|
var tmp_2 = this;
|
|
546
|
-
var tmp_3 = option(this, Options_Output_getInstance().
|
|
559
|
+
var tmp_3 = option(this, Options_Output_getInstance().j5b_1.slice(), 'Output');
|
|
547
560
|
var tmp_4 = KProperty1;
|
|
548
|
-
tmp_2.
|
|
561
|
+
tmp_2.a5c_1 = tmp_3.c1v(this, getPropertyCallableRef('output', 1, tmp_4, CommonOptions$_get_output_$ref_eo6xdi(), null));
|
|
549
562
|
var tmp_5 = this;
|
|
550
|
-
var tmp_6 = default_0(option(this, Options_PackageName_getInstance().
|
|
563
|
+
var tmp_6 = default_0(option(this, Options_PackageName_getInstance().j5b_1.slice(), 'Package name'), 'community.flock.wirespec.generated');
|
|
551
564
|
var tmp_7 = KProperty1;
|
|
552
|
-
tmp_5.
|
|
565
|
+
tmp_5.b5c_1 = tmp_6.c1v(this, getPropertyCallableRef('packageName', 1, tmp_7, CommonOptions$_get_packageName_$ref_k5vxsu(), null));
|
|
553
566
|
var tmp_8 = this;
|
|
554
|
-
var tmp_9 = default_0(option(this, Options_LogLevel_getInstance().
|
|
567
|
+
var tmp_9 = default_0(option(this, Options_LogLevel_getInstance().j5b_1.slice(), 'Log level: ' + Companion_instance.toString()), Level_INFO_getInstance().toString());
|
|
555
568
|
var tmp_10 = KProperty1;
|
|
556
|
-
tmp_8.
|
|
569
|
+
tmp_8.c5c_1 = tmp_9.c1v(this, getPropertyCallableRef('logLevel', 1, tmp_10, CommonOptions$_get_logLevel_$ref_mp4bhx(), null));
|
|
557
570
|
var tmp_11 = this;
|
|
558
|
-
var tmp_12 = flag(option(this, Options_Shared_getInstance().
|
|
571
|
+
var tmp_12 = flag(option(this, Options_Shared_getInstance().j5b_1.slice(), 'Generate shared wirespec code'), [], false);
|
|
559
572
|
var tmp_13 = KProperty1;
|
|
560
|
-
tmp_11.
|
|
573
|
+
tmp_11.d5c_1 = tmp_12.c1v(this, getPropertyCallableRef('shared', 1, tmp_13, CommonOptions$_get_shared_$ref_7r7o2u(), null));
|
|
561
574
|
var tmp_14 = this;
|
|
562
|
-
var tmp_15 = flag(option(this, Options_Strict_getInstance().
|
|
575
|
+
var tmp_15 = flag(option(this, Options_Strict_getInstance().j5b_1.slice(), 'Strict mode'), []);
|
|
563
576
|
var tmp_16 = KProperty1;
|
|
564
|
-
tmp_14.
|
|
577
|
+
tmp_14.e5c_1 = tmp_15.c1v(this, getPropertyCallableRef('strict', 1, tmp_16, CommonOptions$_get_strict_$ref_vrzh6q(), null));
|
|
578
|
+
var tmp_17 = this;
|
|
579
|
+
var tmp_18 = flag(option(this, Options_IgnoreDefaults_getInstance().j5b_1.slice(), 'Leave field default values out of the emitted code'), []);
|
|
580
|
+
var tmp_19 = KProperty1;
|
|
581
|
+
tmp_17.f5c_1 = tmp_18.c1v(this, getPropertyCallableRef('ignoreDefaults', 1, tmp_19, CommonOptions$_get_ignoreDefaults_$ref_doa1uh(), null));
|
|
565
582
|
}
|
|
566
|
-
protoOf(CommonOptions).
|
|
583
|
+
protoOf(CommonOptions).i5c = function () {
|
|
584
|
+
var tmp = KProperty1;
|
|
585
|
+
return this.z5b_1.s1u(this, getPropertyCallableRef('input', 1, tmp, CommonOptions$_get_input_$ref_6c1nvp_0(), null));
|
|
586
|
+
};
|
|
587
|
+
protoOf(CommonOptions).j5c = function () {
|
|
567
588
|
var tmp = KProperty1;
|
|
568
|
-
return this.
|
|
589
|
+
return this.a5c_1.s1u(this, getPropertyCallableRef('output', 1, tmp, CommonOptions$_get_output_$ref_eo6xdi_0(), null));
|
|
569
590
|
};
|
|
570
|
-
protoOf(CommonOptions).
|
|
591
|
+
protoOf(CommonOptions).y1z = function () {
|
|
571
592
|
var tmp = KProperty1;
|
|
572
|
-
return this.
|
|
593
|
+
return this.b5c_1.s1u(this, getPropertyCallableRef('packageName', 1, tmp, CommonOptions$_get_packageName_$ref_k5vxsu_0(), null));
|
|
573
594
|
};
|
|
574
|
-
protoOf(CommonOptions).
|
|
595
|
+
protoOf(CommonOptions).g5c = function () {
|
|
575
596
|
var tmp = KProperty1;
|
|
576
|
-
return this.
|
|
597
|
+
return this.c5c_1.s1u(this, getPropertyCallableRef('logLevel', 1, tmp, CommonOptions$_get_logLevel_$ref_mp4bhx_0(), null));
|
|
577
598
|
};
|
|
578
|
-
protoOf(CommonOptions).
|
|
599
|
+
protoOf(CommonOptions).r4o = function () {
|
|
579
600
|
var tmp = KProperty1;
|
|
580
|
-
return this.
|
|
601
|
+
return this.d5c_1.s1u(this, getPropertyCallableRef('shared', 1, tmp, CommonOptions$_get_shared_$ref_7r7o2u_0(), null));
|
|
581
602
|
};
|
|
582
|
-
protoOf(CommonOptions).
|
|
603
|
+
protoOf(CommonOptions).l5c = function () {
|
|
583
604
|
var tmp = KProperty1;
|
|
584
|
-
return this.
|
|
605
|
+
return this.e5c_1.s1u(this, getPropertyCallableRef('strict', 1, tmp, CommonOptions$_get_strict_$ref_vrzh6q_0(), null));
|
|
585
606
|
};
|
|
586
|
-
protoOf(CommonOptions).
|
|
607
|
+
protoOf(CommonOptions).m5c = function () {
|
|
587
608
|
var tmp = KProperty1;
|
|
588
|
-
return this.
|
|
609
|
+
return this.f5c_1.s1u(this, getPropertyCallableRef('ignoreDefaults', 1, tmp, CommonOptions$_get_ignoreDefaults_$ref_doa1uh_0(), null));
|
|
589
610
|
};
|
|
590
|
-
protoOf(CommonOptions).
|
|
611
|
+
protoOf(CommonOptions).h5c = function (_this__u8e3s4) {
|
|
591
612
|
// Inline function 'kotlin.text.trim' call
|
|
592
613
|
// Inline function 'kotlin.text.uppercase' call
|
|
593
614
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -610,7 +631,7 @@ protoOf(CommonOptions).a4y = function (_this__u8e3s4) {
|
|
|
610
631
|
}
|
|
611
632
|
return tmp;
|
|
612
633
|
};
|
|
613
|
-
protoOf(CommonOptions).
|
|
634
|
+
protoOf(CommonOptions).k5c = function (directory) {
|
|
614
635
|
return CommonOptions$writer$lambda(directory, this);
|
|
615
636
|
};
|
|
616
637
|
var Options_Input_instance;
|
|
@@ -620,6 +641,7 @@ var Options_PackageName_instance;
|
|
|
620
641
|
var Options_LogLevel_instance;
|
|
621
642
|
var Options_Shared_instance;
|
|
622
643
|
var Options_Strict_instance;
|
|
644
|
+
var Options_IgnoreDefaults_instance;
|
|
623
645
|
var Options_entriesInitialized;
|
|
624
646
|
function Options_initEntries() {
|
|
625
647
|
if (Options_entriesInitialized)
|
|
@@ -632,10 +654,11 @@ function Options_initEntries() {
|
|
|
632
654
|
Options_LogLevel_instance = new Options('LogLevel', 4, ['--log-level']);
|
|
633
655
|
Options_Shared_instance = new Options('Shared', 5, ['--shared']);
|
|
634
656
|
Options_Strict_instance = new Options('Strict', 6, ['--strict']);
|
|
657
|
+
Options_IgnoreDefaults_instance = new Options('IgnoreDefaults', 7, ['--ignore-defaults']);
|
|
635
658
|
}
|
|
636
659
|
function Options(name, ordinal, flags) {
|
|
637
660
|
Enum.call(this, name, ordinal);
|
|
638
|
-
this.
|
|
661
|
+
this.j5b_1 = flags;
|
|
639
662
|
}
|
|
640
663
|
function handleError(string) {
|
|
641
664
|
throw new CliktError(string);
|
|
@@ -647,8 +670,8 @@ function toEmitters(_this__u8e3s4, packageName, emitShared) {
|
|
|
647
670
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
648
671
|
while (_iterator__ex2g4s.u()) {
|
|
649
672
|
var item = _iterator__ex2g4s.v();
|
|
650
|
-
var tmp$ret$
|
|
651
|
-
destination.x(tmp$ret$
|
|
673
|
+
var tmp$ret$2 = toEmitter(item, packageName, emitShared);
|
|
674
|
+
destination.x(tmp$ret$2);
|
|
652
675
|
}
|
|
653
676
|
var tmp0_elvis_lhs = toNonEmptySetOrNull(destination);
|
|
654
677
|
var tmp;
|
|
@@ -688,14 +711,18 @@ function Options_Strict_getInstance() {
|
|
|
688
711
|
Options_initEntries();
|
|
689
712
|
return Options_Strict_instance;
|
|
690
713
|
}
|
|
714
|
+
function Options_IgnoreDefaults_getInstance() {
|
|
715
|
+
Options_initEntries();
|
|
716
|
+
return Options_IgnoreDefaults_instance;
|
|
717
|
+
}
|
|
691
718
|
function main_0(args) {
|
|
692
719
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
693
720
|
var tmp0 = until(0, 20);
|
|
694
721
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
695
722
|
var destination = ArrayList_init_$Create$_0();
|
|
696
723
|
// Inline function 'kotlin.collections.forEach' call
|
|
697
|
-
var inductionVariable = tmp0.
|
|
698
|
-
var last = tmp0.
|
|
724
|
+
var inductionVariable = tmp0.q1_1;
|
|
725
|
+
var last = tmp0.r1_1;
|
|
699
726
|
if (inductionVariable <= last)
|
|
700
727
|
do {
|
|
701
728
|
var element = inductionVariable;
|
|
@@ -713,7 +740,7 @@ function main_0(args) {
|
|
|
713
740
|
// Inline function 'kotlin.let' call
|
|
714
741
|
var tmp = Companion_instance_4;
|
|
715
742
|
var tmp_0 = compile$ref();
|
|
716
|
-
main(tmp.
|
|
743
|
+
main(tmp.h5a(tmp_0, convert$ref()), destination);
|
|
717
744
|
}
|
|
718
745
|
function compile$ref() {
|
|
719
746
|
var l = function (p0) {
|
|
@@ -739,18 +766,19 @@ function parser(source) {
|
|
|
739
766
|
var this_0 = parse(new parser$1(), nonEmptyListOf(new ModuleContent(new FileUri(''), source), []));
|
|
740
767
|
var tmp;
|
|
741
768
|
if (this_0 instanceof Left) {
|
|
742
|
-
var it = this_0.
|
|
769
|
+
var it = this_0.sm_1.dn_1;
|
|
770
|
+
// Inline function 'kotlin.error' call
|
|
743
771
|
var message = 'Cannot parse source: ' + joinToString(new NonEmptyList(it), VOID, VOID, VOID, VOID, VOID, parser$lambda);
|
|
744
772
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
745
773
|
} else {
|
|
746
774
|
if (this_0 instanceof Right) {
|
|
747
|
-
tmp = this_0.
|
|
775
|
+
tmp = this_0.um_1;
|
|
748
776
|
} else {
|
|
749
777
|
noWhenBranchMatchedException();
|
|
750
778
|
}
|
|
751
779
|
}
|
|
752
780
|
// Inline function 'arrow.core.NonEmptyList.flatMap' call
|
|
753
|
-
var this_1 = tmp.
|
|
781
|
+
var this_1 = tmp.ep_1;
|
|
754
782
|
// Inline function 'kotlin.collections.flatMap' call
|
|
755
783
|
var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_1);
|
|
756
784
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -758,19 +786,19 @@ function parser(source) {
|
|
|
758
786
|
var _iterator__ex2g4s = tmp0.t();
|
|
759
787
|
while (_iterator__ex2g4s.u()) {
|
|
760
788
|
var element = _iterator__ex2g4s.v();
|
|
761
|
-
var list = new NonEmptyList(element.
|
|
789
|
+
var list = new NonEmptyList(element.gp_1);
|
|
762
790
|
addAll(destination, list);
|
|
763
791
|
}
|
|
764
|
-
var tmp$ret$
|
|
792
|
+
var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
765
793
|
// Inline function 'kotlin.collections.map' call
|
|
766
|
-
var this_2 = NonEmptyList__toList_impl_t5xcy2(tmp$ret$
|
|
794
|
+
var this_2 = NonEmptyList__toList_impl_t5xcy2(tmp$ret$3);
|
|
767
795
|
// Inline function 'kotlin.collections.mapTo' call
|
|
768
796
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
769
797
|
var _iterator__ex2g4s_0 = this_2.t();
|
|
770
798
|
while (_iterator__ex2g4s_0.u()) {
|
|
771
799
|
var item = _iterator__ex2g4s_0.v();
|
|
772
|
-
var tmp$ret$
|
|
773
|
-
destination_0.x(tmp$ret$
|
|
800
|
+
var tmp$ret$9 = produce(item);
|
|
801
|
+
destination_0.x(tmp$ret$9);
|
|
774
802
|
}
|
|
775
803
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
776
804
|
return copyToArray(destination_0);
|
|
@@ -788,7 +816,7 @@ var nodeArgs;
|
|
|
788
816
|
function orNull(_this__u8e3s4, idx) {
|
|
789
817
|
_init_properties_CommandLineArguments_kt__b5v7hl();
|
|
790
818
|
// Inline function 'arrow.core.Companion.catch' call
|
|
791
|
-
var tmp$ret$
|
|
819
|
+
var tmp$ret$1;
|
|
792
820
|
$l$block: {
|
|
793
821
|
// Inline function 'arrow.core.raise.catch' call
|
|
794
822
|
// Inline function 'arrow.core.raise.catch' call
|
|
@@ -800,16 +828,16 @@ function orNull(_this__u8e3s4, idx) {
|
|
|
800
828
|
if ($p instanceof Error) {
|
|
801
829
|
var t = $p;
|
|
802
830
|
var p0 = nonFatalOrThrow(t);
|
|
803
|
-
tmp$ret$
|
|
831
|
+
tmp$ret$1 = new Left(p0);
|
|
804
832
|
break $l$block;
|
|
805
833
|
} else {
|
|
806
834
|
throw $p;
|
|
807
835
|
}
|
|
808
836
|
}
|
|
809
837
|
var value = tmp;
|
|
810
|
-
tmp$ret$
|
|
838
|
+
tmp$ret$1 = new Right(value);
|
|
811
839
|
}
|
|
812
|
-
return tmp$ret$
|
|
840
|
+
return tmp$ret$1.tm();
|
|
813
841
|
}
|
|
814
842
|
var properties_initialized_CommandLineArguments_kt_ekn5uh;
|
|
815
843
|
function _init_properties_CommandLineArguments_kt__b5v7hl() {
|
|
@@ -820,8 +848,8 @@ function _init_properties_CommandLineArguments_kt__b5v7hl() {
|
|
|
820
848
|
}
|
|
821
849
|
}
|
|
822
850
|
//region block: post-declaration
|
|
823
|
-
protoOf(parser$1).
|
|
824
|
-
protoOf(parser$1).
|
|
851
|
+
protoOf(parser$1).lo = get_spec;
|
|
852
|
+
protoOf(parser$1).mo = get_logger;
|
|
825
853
|
//endregion
|
|
826
854
|
//region block: init
|
|
827
855
|
Companion_instance_4 = new Companion();
|