@flock/wirespec 0.9.18 → 0.9.20
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/clikt-clikt.js +1122 -1122
- package/colormath-root-colormath.js +331 -331
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-rgxgen.js +1760 -1760
- package/markdown.js +1785 -1785
- package/mordant-mordant.js +1486 -1486
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +27 -17
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +215 -215
- package/wirespec-src-converter-openapi.js +163 -163
- package/wirespec-src-plugin-arguments.js +72 -72
- package/wirespec-src-plugin-cli.js +103 -103
- package/wirespec-src-plugin-npm.js +2 -2
- package/wirespec-src-tools-generator.js +9 -9
package/clikt-clikt.js
CHANGED
|
@@ -192,24 +192,24 @@
|
|
|
192
192
|
}
|
|
193
193
|
function parameterHelp(context) {
|
|
194
194
|
var tmp;
|
|
195
|
-
if (this.
|
|
195
|
+
if (this.l3p()) {
|
|
196
196
|
tmp = null;
|
|
197
197
|
} else {
|
|
198
|
-
var tmp_0 = this.
|
|
199
|
-
var tmp_1 = this.
|
|
200
|
-
var tmp_2 = this.
|
|
201
|
-
var tmp_3 = this.
|
|
202
|
-
var tmp_4 = this.
|
|
203
|
-
var tmp_5 = this.
|
|
204
|
-
var tmp_6 = this.
|
|
205
|
-
var tmp_7 = this.
|
|
198
|
+
var tmp_0 = this.o3o();
|
|
199
|
+
var tmp_1 = this.p3o();
|
|
200
|
+
var tmp_2 = this.q40(context);
|
|
201
|
+
var tmp_3 = this.w3p(context);
|
|
202
|
+
var tmp_4 = this.n3p();
|
|
203
|
+
var tmp_5 = this.m3s();
|
|
204
|
+
var tmp_6 = this.l3q();
|
|
205
|
+
var tmp_7 = this.p3s();
|
|
206
206
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
207
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
207
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l3s();
|
|
208
208
|
var tmp_8;
|
|
209
209
|
if (tmp3_elvis_lhs == null) {
|
|
210
210
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
211
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
212
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
211
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q3s();
|
|
212
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.l3s();
|
|
213
213
|
} else {
|
|
214
214
|
tmp_8 = tmp3_elvis_lhs;
|
|
215
215
|
}
|
|
@@ -377,19 +377,19 @@
|
|
|
377
377
|
setMetadataFor(Argument_0, 'Argument', interfaceMeta);
|
|
378
378
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
379
379
|
name = name === VOID ? this.za() : name;
|
|
380
|
-
nvalues = nvalues === VOID ? this.
|
|
381
|
-
required = required === VOID ? this.
|
|
382
|
-
helpGetter = helpGetter === VOID ? this.
|
|
383
|
-
helpTags = helpTags === VOID ? this.
|
|
384
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
385
|
-
return $super === VOID ? this.
|
|
380
|
+
nvalues = nvalues === VOID ? this.n3p() : nvalues;
|
|
381
|
+
required = required === VOID ? this.d3z() : required;
|
|
382
|
+
helpGetter = helpGetter === VOID ? this.g3z() : helpGetter;
|
|
383
|
+
helpTags = helpTags === VOID ? this.m3s() : helpTags;
|
|
384
|
+
completionCandidates = completionCandidates === VOID ? this.i3z() : completionCandidates;
|
|
385
|
+
return $super === VOID ? this.j3z(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.j3z.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
386
386
|
}
|
|
387
387
|
setMetadataFor(ProcessedArgument, 'ProcessedArgument', interfaceMeta, VOID, [Argument_0]);
|
|
388
388
|
setMetadataFor(ArgumentTransformContext, 'ArgumentTransformContext', classMeta, VOID, [Argument_0]);
|
|
389
389
|
setMetadataFor(ProcessedArgumentImpl, 'ProcessedArgumentImpl', classMeta, VOID, [ProcessedArgument]);
|
|
390
390
|
function parameterHelp_0(context) {
|
|
391
|
-
var n = this.
|
|
392
|
-
var h = this.
|
|
391
|
+
var n = this.l3s();
|
|
392
|
+
var h = this.h40();
|
|
393
393
|
return (n == null ? true : h == null) ? null : new Group(n, h);
|
|
394
394
|
}
|
|
395
395
|
setMetadataFor(ParameterGroup, 'ParameterGroup', interfaceMeta);
|
|
@@ -405,39 +405,39 @@
|
|
|
405
405
|
setMetadataFor(Envvar, 'Envvar', classMeta, FinalValue);
|
|
406
406
|
setMetadataFor(OptionTransformContext, 'OptionTransformContext', classMeta, VOID, [Option_0]);
|
|
407
407
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
408
|
-
names = names === VOID ? this.
|
|
409
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
410
|
-
nvalues = nvalues === VOID ? this.
|
|
411
|
-
helpGetter = helpGetter === VOID ? this.
|
|
412
|
-
hidden = hidden === VOID ? this.
|
|
413
|
-
helpTags = helpTags === VOID ? this.
|
|
414
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
415
|
-
envvar = envvar === VOID ? this.
|
|
416
|
-
valueSplit = valueSplit === VOID ? this.
|
|
417
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
418
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
419
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
420
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
421
|
-
eager = eager === VOID ? this.
|
|
422
|
-
return $super === VOID ? this.
|
|
408
|
+
names = names === VOID ? this.o3o() : names;
|
|
409
|
+
metavarGetter = metavarGetter === VOID ? this.a41() : metavarGetter;
|
|
410
|
+
nvalues = nvalues === VOID ? this.n3p() : nvalues;
|
|
411
|
+
helpGetter = helpGetter === VOID ? this.g3z() : helpGetter;
|
|
412
|
+
hidden = hidden === VOID ? this.l3p() : hidden;
|
|
413
|
+
helpTags = helpTags === VOID ? this.m3s() : helpTags;
|
|
414
|
+
valueSourceKey = valueSourceKey === VOID ? this.n3s() : valueSourceKey;
|
|
415
|
+
envvar = envvar === VOID ? this.y40() : envvar;
|
|
416
|
+
valueSplit = valueSplit === VOID ? this.b41() : valueSplit;
|
|
417
|
+
completionCandidates = completionCandidates === VOID ? this.i3z() : completionCandidates;
|
|
418
|
+
secondaryNames = secondaryNames === VOID ? this.p3o() : secondaryNames;
|
|
419
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3q() : acceptsNumberValueWithoutName;
|
|
420
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.p3s() : acceptsUnattachedValue;
|
|
421
|
+
eager = eager === VOID ? this.o3s() : eager;
|
|
422
|
+
return $super === VOID ? this.c41(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.c41.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
423
423
|
}
|
|
424
424
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
425
|
-
validator = validator === VOID ? this.
|
|
426
|
-
names = names === VOID ? this.
|
|
427
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
428
|
-
nvalues = nvalues === VOID ? this.
|
|
429
|
-
helpGetter = helpGetter === VOID ? this.
|
|
430
|
-
hidden = hidden === VOID ? this.
|
|
431
|
-
helpTags = helpTags === VOID ? this.
|
|
432
|
-
envvar = envvar === VOID ? this.
|
|
433
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
434
|
-
valueSplit = valueSplit === VOID ? this.
|
|
435
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
436
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
437
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
438
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
439
|
-
eager = eager === VOID ? this.
|
|
440
|
-
return $super === VOID ? this.
|
|
425
|
+
validator = validator === VOID ? this.z40() : validator;
|
|
426
|
+
names = names === VOID ? this.o3o() : names;
|
|
427
|
+
metavarGetter = metavarGetter === VOID ? this.a41() : metavarGetter;
|
|
428
|
+
nvalues = nvalues === VOID ? this.n3p() : nvalues;
|
|
429
|
+
helpGetter = helpGetter === VOID ? this.g3z() : helpGetter;
|
|
430
|
+
hidden = hidden === VOID ? this.l3p() : hidden;
|
|
431
|
+
helpTags = helpTags === VOID ? this.m3s() : helpTags;
|
|
432
|
+
envvar = envvar === VOID ? this.y40() : envvar;
|
|
433
|
+
valueSourceKey = valueSourceKey === VOID ? this.n3s() : valueSourceKey;
|
|
434
|
+
valueSplit = valueSplit === VOID ? this.b41() : valueSplit;
|
|
435
|
+
completionCandidates = completionCandidates === VOID ? this.i3z() : completionCandidates;
|
|
436
|
+
secondaryNames = secondaryNames === VOID ? this.p3o() : secondaryNames;
|
|
437
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3q() : acceptsNumberValueWithoutName;
|
|
438
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.p3s() : acceptsUnattachedValue;
|
|
439
|
+
eager = eager === VOID ? this.o3s() : eager;
|
|
440
|
+
return $super === VOID ? this.d41(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.d41.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
441
441
|
}
|
|
442
442
|
setMetadataFor(OptionWithValues, 'OptionWithValues', interfaceMeta, VOID, [OptionDelegate]);
|
|
443
443
|
setMetadataFor(OptionCallTransformContext, 'OptionCallTransformContext', classMeta, VOID, [Option_0]);
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
setMetadataFor(BrowserMppImpls, 'BrowserMppImpls', objectMeta);
|
|
455
455
|
//endregion
|
|
456
456
|
function commandCompletionFuncName($this, command) {
|
|
457
|
-
var tmp = command.
|
|
457
|
+
var tmp = command.n3o();
|
|
458
458
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
459
459
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
460
460
|
var isTopLevel = ancestors.p() === 1;
|
|
@@ -465,34 +465,34 @@
|
|
|
465
465
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').t8(name, '_');
|
|
466
466
|
}
|
|
467
467
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
468
|
-
return plus(_this__u8e3s4.
|
|
468
|
+
return plus(_this__u8e3s4.o3o(), _this__u8e3s4.p3o());
|
|
469
469
|
}
|
|
470
470
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
471
471
|
return "'" + it + "'";
|
|
472
472
|
}
|
|
473
473
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
474
|
-
return it.
|
|
474
|
+
return it.q3o_1;
|
|
475
475
|
}
|
|
476
476
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
477
|
-
return it.
|
|
477
|
+
return it.r3o_1.d3o_1;
|
|
478
478
|
}
|
|
479
479
|
function BashCompletionGenerator() {
|
|
480
480
|
}
|
|
481
|
-
protoOf(BashCompletionGenerator).
|
|
482
|
-
var commandName = command.
|
|
481
|
+
protoOf(BashCompletionGenerator).k3p = function (command, zsh) {
|
|
482
|
+
var commandName = command.d3o_1;
|
|
483
483
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
484
484
|
var isTopLevel = tmp0_container.jd();
|
|
485
485
|
var funcName = tmp0_container.kd();
|
|
486
486
|
// Inline function 'kotlin.collections.map' call
|
|
487
487
|
// Inline function 'kotlin.collections.filterNot' call
|
|
488
488
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
489
|
-
var this_0 = command.
|
|
489
|
+
var this_0 = command.h3o_1;
|
|
490
490
|
var destination = ArrayList_init_$Create$();
|
|
491
491
|
var tmp0_iterator = this_0.v();
|
|
492
492
|
while (tmp0_iterator.w()) {
|
|
493
493
|
var element = tmp0_iterator.y();
|
|
494
494
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
495
|
-
if (!element.
|
|
495
|
+
if (!element.l3p()) {
|
|
496
496
|
destination.s(element);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
@@ -502,43 +502,43 @@
|
|
|
502
502
|
while (tmp0_iterator_0.w()) {
|
|
503
503
|
var item = tmp0_iterator_0.y();
|
|
504
504
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
505
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
505
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.m3p(), item.n3p());
|
|
506
506
|
destination_0.s(tmp$ret$3);
|
|
507
507
|
}
|
|
508
508
|
var options = destination_0;
|
|
509
509
|
// Inline function 'kotlin.collections.map' call
|
|
510
|
-
var this_1 = command.
|
|
510
|
+
var this_1 = command.i3o_1;
|
|
511
511
|
// Inline function 'kotlin.collections.mapTo' call
|
|
512
512
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
513
513
|
var tmp0_iterator_1 = this_1.v();
|
|
514
514
|
while (tmp0_iterator_1.w()) {
|
|
515
515
|
var item_0 = tmp0_iterator_1.y();
|
|
516
516
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
517
|
-
var tmp$ret$6 = to(item_0.za(), item_0.
|
|
517
|
+
var tmp$ret$6 = to(item_0.za(), item_0.m3p());
|
|
518
518
|
destination_1.s(tmp$ret$6);
|
|
519
519
|
}
|
|
520
520
|
var arguments_0 = destination_1;
|
|
521
521
|
// Inline function 'kotlin.collections.map' call
|
|
522
|
-
var this_2 = command.
|
|
522
|
+
var this_2 = command.g3o_1;
|
|
523
523
|
// Inline function 'kotlin.collections.mapTo' call
|
|
524
524
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
525
525
|
var tmp0_iterator_2 = this_2.v();
|
|
526
526
|
while (tmp0_iterator_2.w()) {
|
|
527
527
|
var item_1 = tmp0_iterator_2.y();
|
|
528
528
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
529
|
-
var tmp$ret$9 = item_1.
|
|
529
|
+
var tmp$ret$9 = item_1.d3o_1;
|
|
530
530
|
destination_2.s(tmp$ret$9);
|
|
531
531
|
}
|
|
532
532
|
var subcommands = destination_2;
|
|
533
533
|
// Inline function 'kotlin.collections.flatMap' call
|
|
534
534
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
535
|
-
var this_3 = command.
|
|
535
|
+
var this_3 = command.i3o_1;
|
|
536
536
|
var list = ArrayList_init_$Create$();
|
|
537
537
|
var tmp0_iterator_3 = this_3.v();
|
|
538
538
|
$l$loop: while (tmp0_iterator_3.w()) {
|
|
539
539
|
var item_2 = tmp0_iterator_3.y();
|
|
540
540
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
541
|
-
if (!(item_2.
|
|
541
|
+
if (!(item_2.n3p() > 0))
|
|
542
542
|
break $l$loop;
|
|
543
543
|
list.s(item_2);
|
|
544
544
|
}
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
var element_0 = tmp0_iterator_4.y();
|
|
550
550
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
551
551
|
// Inline function 'kotlin.collections.map' call
|
|
552
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
552
|
+
var this_4 = numberRangeToNumber(1, element_0.n3p());
|
|
553
553
|
// Inline function 'kotlin.collections.mapTo' call
|
|
554
554
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
555
555
|
var tmp0_iterator_5 = this_4.v();
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
566
566
|
// Inline function 'kotlin.text.orEmpty' call
|
|
567
567
|
// Inline function 'kotlin.collections.find' call
|
|
568
|
-
var this_5 = command.
|
|
568
|
+
var this_5 = command.i3o_1;
|
|
569
569
|
var tmp$ret$21;
|
|
570
570
|
$l$block: {
|
|
571
571
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
while (tmp0_iterator_6.w()) {
|
|
574
574
|
var element_1 = tmp0_iterator_6.y();
|
|
575
575
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
576
|
-
if (element_1.
|
|
576
|
+
if (element_1.n3p() < 0) {
|
|
577
577
|
tmp$ret$21 = element_1;
|
|
578
578
|
break $l$block;
|
|
579
579
|
}
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
var name = tmp1_loop_parameter.jd();
|
|
643
643
|
var candidate = tmp1_loop_parameter.kd();
|
|
644
644
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
645
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
645
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.o3p_1;
|
|
646
646
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
647
647
|
var tmp;
|
|
648
648
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
}
|
|
701
701
|
this_6.i5(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
702
702
|
// Inline function 'kotlin.collections.iterator' call
|
|
703
|
-
var tmp7_iterator = command.
|
|
703
|
+
var tmp7_iterator = command.p3p().n2().v();
|
|
704
704
|
while (tmp7_iterator.w()) {
|
|
705
705
|
var tmp8_loop_parameter = tmp7_iterator.y();
|
|
706
706
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -711,18 +711,18 @@
|
|
|
711
711
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
712
712
|
this_6.i5(' "${COMP_WORDS[@]:${i}}" )').i5('\n');
|
|
713
713
|
this_6.i5(' (( COMP_CWORD = COMP_CWORD + ' + toks.p() + ' ))\n');
|
|
714
|
-
if (!command.
|
|
714
|
+
if (!command.n3o().s3o_1) {
|
|
715
715
|
this_6.i5(' can_parse_options=0\n');
|
|
716
716
|
}
|
|
717
717
|
this_6.i5(' ;;\n');
|
|
718
718
|
}
|
|
719
|
-
var tmp9_iterator = command.
|
|
719
|
+
var tmp9_iterator = command.g3o_1.v();
|
|
720
720
|
while (tmp9_iterator.w()) {
|
|
721
721
|
var sub = tmp9_iterator.y();
|
|
722
|
-
this_6.i5(trimMargin('\n | ' + sub.
|
|
722
|
+
this_6.i5(trimMargin('\n | ' + sub.d3o_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).wd_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
723
723
|
}
|
|
724
724
|
this_6.i5(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
725
|
-
if (!command.
|
|
725
|
+
if (!command.n3o().s3o_1) {
|
|
726
726
|
this_6.i5(' can_parse_options=0\n');
|
|
727
727
|
}
|
|
728
728
|
this_6.i5(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -782,11 +782,11 @@
|
|
|
782
782
|
} else {
|
|
783
783
|
if (completion instanceof Fixed) {
|
|
784
784
|
this_6.i5(" COMPREPLY=($(compgen -W '");
|
|
785
|
-
joinTo(completion.
|
|
785
|
+
joinTo(completion.q3p_1, this_6, ' ');
|
|
786
786
|
this_6.i5('\' -- "${word}"))\n');
|
|
787
787
|
} else {
|
|
788
788
|
if (completion instanceof Custom) {
|
|
789
|
-
if (!(completion.
|
|
789
|
+
if (!(completion.o3p_1(ShellType_BASH_getInstance()) == null)) {
|
|
790
790
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
791
791
|
this_6.i5(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
792
792
|
}
|
|
@@ -805,10 +805,10 @@
|
|
|
805
805
|
this_6.i5('\' -- "${word}"))\n ;;\n');
|
|
806
806
|
}
|
|
807
807
|
this_6.i5(' esac\n}\n');
|
|
808
|
-
var tmp13_iterator = command.
|
|
808
|
+
var tmp13_iterator = command.g3o_1.v();
|
|
809
809
|
while (tmp13_iterator.w()) {
|
|
810
810
|
var subcommand = tmp13_iterator.y();
|
|
811
|
-
this_6.i5(BashCompletionGenerator_instance.
|
|
811
|
+
this_6.i5(BashCompletionGenerator_instance.k3p(subcommand, zsh));
|
|
812
812
|
}
|
|
813
813
|
if (isTopLevel) {
|
|
814
814
|
this_6.i5('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -938,13 +938,13 @@
|
|
|
938
938
|
}
|
|
939
939
|
function Fixed(candidates) {
|
|
940
940
|
CompletionCandidates.call(this);
|
|
941
|
-
this.
|
|
941
|
+
this.q3p_1 = candidates;
|
|
942
942
|
}
|
|
943
943
|
protoOf(Fixed).toString = function () {
|
|
944
|
-
return 'Fixed(candidates=' + this.
|
|
944
|
+
return 'Fixed(candidates=' + this.q3p_1 + ')';
|
|
945
945
|
};
|
|
946
946
|
protoOf(Fixed).hashCode = function () {
|
|
947
|
-
return hashCode(this.
|
|
947
|
+
return hashCode(this.q3p_1);
|
|
948
948
|
};
|
|
949
949
|
protoOf(Fixed).equals = function (other) {
|
|
950
950
|
if (this === other)
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
if (!(other instanceof Fixed))
|
|
953
953
|
return false;
|
|
954
954
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
955
|
-
if (!equals(this.
|
|
955
|
+
if (!equals(this.q3p_1, tmp0_other_with_cast.q3p_1))
|
|
956
956
|
return false;
|
|
957
957
|
return true;
|
|
958
958
|
};
|
|
@@ -962,20 +962,20 @@
|
|
|
962
962
|
}
|
|
963
963
|
function CompletionGenerator() {
|
|
964
964
|
}
|
|
965
|
-
protoOf(CompletionGenerator).
|
|
965
|
+
protoOf(CompletionGenerator).r3p = function (command, shell) {
|
|
966
966
|
// Inline function 'kotlin.text.lowercase' call
|
|
967
967
|
// Inline function 'kotlin.text.trim' call
|
|
968
968
|
// Inline function 'kotlin.js.asDynamic' call
|
|
969
969
|
var message;
|
|
970
970
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
971
971
|
case 'fish':
|
|
972
|
-
message = FishCompletionGenerator_instance.
|
|
972
|
+
message = FishCompletionGenerator_instance.s3p(command);
|
|
973
973
|
break;
|
|
974
974
|
case 'zsh':
|
|
975
|
-
message = BashCompletionGenerator_instance.
|
|
975
|
+
message = BashCompletionGenerator_instance.k3p(command, true);
|
|
976
976
|
break;
|
|
977
977
|
default:
|
|
978
|
-
message = BashCompletionGenerator_instance.
|
|
978
|
+
message = BashCompletionGenerator_instance.k3p(command, false);
|
|
979
979
|
break;
|
|
980
980
|
}
|
|
981
981
|
throw new PrintCompletionMessage(message);
|
|
@@ -991,29 +991,29 @@
|
|
|
991
991
|
var this_0 = StringBuilder_init_$Create$();
|
|
992
992
|
// Inline function 'kotlin.contracts.contract' call
|
|
993
993
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
994
|
-
var parentCommandName = lastOrNull(command.
|
|
995
|
-
var rootCommandName = first_0(command.
|
|
994
|
+
var parentCommandName = lastOrNull(command.n3o().t3p());
|
|
995
|
+
var rootCommandName = first_0(command.n3o().u3p());
|
|
996
996
|
var isTopLevel = parentCommandName == null;
|
|
997
|
-
var commandName = command.
|
|
997
|
+
var commandName = command.d3o_1;
|
|
998
998
|
// Inline function 'kotlin.collections.filterNot' call
|
|
999
999
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1000
|
-
var this_1 = command.
|
|
1000
|
+
var this_1 = command.h3o_1;
|
|
1001
1001
|
var destination = ArrayList_init_$Create$();
|
|
1002
1002
|
var tmp0_iterator = this_1.v();
|
|
1003
1003
|
while (tmp0_iterator.w()) {
|
|
1004
1004
|
var element = tmp0_iterator.y();
|
|
1005
1005
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1006
|
-
if (!element.
|
|
1006
|
+
if (!element.l3p()) {
|
|
1007
1007
|
destination.s(element);
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
var options = destination;
|
|
1011
|
-
var arguments_0 = command.
|
|
1012
|
-
var subcommands = command.
|
|
1011
|
+
var arguments_0 = command.i3o_1;
|
|
1012
|
+
var subcommands = command.g3o_1;
|
|
1013
1013
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1014
1014
|
var hasSubcommands = !subcommands.c1();
|
|
1015
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1016
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1015
|
+
var subcommandsVarName_0 = subcommandsVarName(command.n3o().u3p(), FishCompletionGenerator_instance);
|
|
1016
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.n3o().t3p(), FishCompletionGenerator_instance);
|
|
1017
1017
|
if (isTopLevel) {
|
|
1018
1018
|
// Inline function 'kotlin.text.appendLine' call
|
|
1019
1019
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
this_0.i5('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1042
1042
|
}
|
|
1043
1043
|
this_0.i5('-a ' + commandName + ' ');
|
|
1044
|
-
var help = replace_0(command.
|
|
1044
|
+
var help = replace_0(command.v3p(command.n3o()), "'", "\\'");
|
|
1045
1045
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1046
1046
|
if (!isBlank(help)) {
|
|
1047
1047
|
this_0.i5("-d '" + help + "'");
|
|
@@ -1137,11 +1137,11 @@
|
|
|
1137
1137
|
}
|
|
1138
1138
|
this_0.i5(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1139
1139
|
}
|
|
1140
|
-
if (option.
|
|
1140
|
+
if (option.n3p().ha_1 > 0) {
|
|
1141
1141
|
this_0.i5(' -r');
|
|
1142
1142
|
}
|
|
1143
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1144
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1143
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.m3p());
|
|
1144
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.w3p(command.n3o()));
|
|
1145
1145
|
// Inline function 'kotlin.text.appendLine' call
|
|
1146
1146
|
this_0.j5(_Char___init__impl__6a9atx(10));
|
|
1147
1147
|
}
|
|
@@ -1156,8 +1156,8 @@
|
|
|
1156
1156
|
while (tmp2_iterator.w()) {
|
|
1157
1157
|
var argument = tmp2_iterator.y();
|
|
1158
1158
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1159
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1160
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1159
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.m3p());
|
|
1160
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.x3p(command.n3o()));
|
|
1161
1161
|
// Inline function 'kotlin.text.appendLine' call
|
|
1162
1162
|
this_0.j5(_Char___init__impl__6a9atx(10));
|
|
1163
1163
|
}
|
|
@@ -1218,10 +1218,10 @@
|
|
|
1218
1218
|
_this__u8e3s4.i5(' -fa "(__fish_complete_users)"');
|
|
1219
1219
|
} else {
|
|
1220
1220
|
if (completion instanceof Fixed) {
|
|
1221
|
-
joinTo(completion.
|
|
1221
|
+
joinTo(completion.q3p_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1222
1222
|
} else {
|
|
1223
1223
|
if (completion instanceof Custom) {
|
|
1224
|
-
var customCompletion = completion.
|
|
1224
|
+
var customCompletion = completion.o3p_1(ShellType_FISH_getInstance());
|
|
1225
1225
|
_this__u8e3s4.i5(' -fa ' + customCompletion);
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
@@ -1237,11 +1237,11 @@
|
|
|
1237
1237
|
var tmp;
|
|
1238
1238
|
var tmp_0;
|
|
1239
1239
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1240
|
-
if (!_this__u8e3s4.
|
|
1240
|
+
if (!_this__u8e3s4.i3o_1.c1()) {
|
|
1241
1241
|
tmp_0 = true;
|
|
1242
1242
|
} else {
|
|
1243
1243
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1244
|
-
tmp_0 = !_this__u8e3s4.
|
|
1244
|
+
tmp_0 = !_this__u8e3s4.g3o_1.c1();
|
|
1245
1245
|
}
|
|
1246
1246
|
if (tmp_0) {
|
|
1247
1247
|
tmp = true;
|
|
@@ -1251,7 +1251,7 @@
|
|
|
1251
1251
|
// Inline function 'kotlin.collections.any' call
|
|
1252
1252
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1253
1253
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1254
|
-
var this_0 = _this__u8e3s4.
|
|
1254
|
+
var this_0 = _this__u8e3s4.h3o_1;
|
|
1255
1255
|
var destination = ArrayList_init_$Create$();
|
|
1256
1256
|
var tmp0_iterator = this_0.v();
|
|
1257
1257
|
while (tmp0_iterator.w()) {
|
|
@@ -1289,10 +1289,10 @@
|
|
|
1289
1289
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1290
1290
|
}
|
|
1291
1291
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1292
|
-
return plus(_this__u8e3s4.
|
|
1292
|
+
return plus(_this__u8e3s4.o3o(), _this__u8e3s4.p3o());
|
|
1293
1293
|
}
|
|
1294
1294
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1295
|
-
return it.
|
|
1295
|
+
return it.d3o_1;
|
|
1296
1296
|
}
|
|
1297
1297
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1298
1298
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1300,7 +1300,7 @@
|
|
|
1300
1300
|
}
|
|
1301
1301
|
function FishCompletionGenerator() {
|
|
1302
1302
|
}
|
|
1303
|
-
protoOf(FishCompletionGenerator).
|
|
1303
|
+
protoOf(FishCompletionGenerator).s3p = function (command) {
|
|
1304
1304
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1305
1305
|
return '';
|
|
1306
1306
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1311,30 +1311,30 @@
|
|
|
1311
1311
|
}
|
|
1312
1312
|
function registeredOptionNames($this) {
|
|
1313
1313
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1314
|
-
var this_0 = $this.
|
|
1314
|
+
var this_0 = $this.h3o_1;
|
|
1315
1315
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1316
1316
|
var destination = LinkedHashSet_init_$Create$();
|
|
1317
1317
|
var tmp0_iterator = this_0.v();
|
|
1318
1318
|
while (tmp0_iterator.w()) {
|
|
1319
1319
|
var element = tmp0_iterator.y();
|
|
1320
1320
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1321
|
-
var list = element.
|
|
1321
|
+
var list = element.o3o();
|
|
1322
1322
|
addAll(destination, list);
|
|
1323
1323
|
}
|
|
1324
1324
|
return destination;
|
|
1325
1325
|
}
|
|
1326
1326
|
function createContext($this, argv, parent, ancestors) {
|
|
1327
|
-
$this.
|
|
1328
|
-
if ($this.
|
|
1327
|
+
$this.l3o_1 = Companion_instance_0.y3p($this, parent, argv, $this.k3o_1);
|
|
1328
|
+
if ($this.a3o_1) {
|
|
1329
1329
|
// Inline function 'kotlin.require' call
|
|
1330
1330
|
var tmp$ret$1;
|
|
1331
1331
|
$l$block: {
|
|
1332
1332
|
// Inline function 'kotlin.sequences.none' call
|
|
1333
|
-
var tmp0_iterator = $this.
|
|
1333
|
+
var tmp0_iterator = $this.n3o().z3p().v();
|
|
1334
1334
|
while (tmp0_iterator.w()) {
|
|
1335
1335
|
var element = tmp0_iterator.y();
|
|
1336
1336
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1337
|
-
if (element.
|
|
1337
|
+
if (element.r3o_1.a3o_1) {
|
|
1338
1338
|
tmp$ret$1 = false;
|
|
1339
1339
|
break $l$block;
|
|
1340
1340
|
}
|
|
@@ -1349,48 +1349,48 @@
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1352
|
-
if (!$this.
|
|
1353
|
-
var names = minus($this.
|
|
1352
|
+
if (!$this.n3o().w3o_1.c1()) {
|
|
1353
|
+
var names = minus($this.n3o().w3o_1, registeredOptionNames($this));
|
|
1354
1354
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1355
1355
|
if (!names.c1()) {
|
|
1356
|
-
var tmp = $this.
|
|
1356
|
+
var tmp = $this.n3o().e3p_1.a3q();
|
|
1357
1357
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
var tmp0_iterator_0 = $this.
|
|
1360
|
+
var tmp0_iterator_0 = $this.g3o_1.v();
|
|
1361
1361
|
while (tmp0_iterator_0.w()) {
|
|
1362
1362
|
var command = tmp0_iterator_0.y();
|
|
1363
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1363
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.r3o_1));
|
|
1364
1364
|
// Inline function 'kotlin.check' call
|
|
1365
1365
|
// Inline function 'kotlin.contracts.contract' call
|
|
1366
1366
|
if (!!a.r(command)) {
|
|
1367
1367
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1368
|
-
var message_0 = 'Command ' + command.
|
|
1368
|
+
var message_0 = 'Command ' + command.d3o_1 + ' already registered';
|
|
1369
1369
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1370
1370
|
}
|
|
1371
|
-
createContext(command, argv, $this.
|
|
1371
|
+
createContext(command, argv, $this.n3o(), a);
|
|
1372
1372
|
}
|
|
1373
|
-
return ensureNotNull($this.
|
|
1373
|
+
return ensureNotNull($this.l3o_1);
|
|
1374
1374
|
}
|
|
1375
1375
|
function getCommandNameWithParents($this) {
|
|
1376
|
-
if ($this.
|
|
1376
|
+
if ($this.l3o_1 == null) {
|
|
1377
1377
|
createContext($this, emptyList(), null, emptyList());
|
|
1378
1378
|
}
|
|
1379
|
-
return joinToString($this.
|
|
1379
|
+
return joinToString($this.n3o().u3p(), ' ');
|
|
1380
1380
|
}
|
|
1381
1381
|
function generateCompletion($this) {
|
|
1382
|
-
if ($this.
|
|
1382
|
+
if ($this.z3n_1 == null)
|
|
1383
1383
|
return Unit_instance;
|
|
1384
1384
|
var tmp;
|
|
1385
|
-
if (isBlank($this.
|
|
1385
|
+
if (isBlank($this.z3n_1)) {
|
|
1386
1386
|
// Inline function 'kotlin.text.uppercase' call
|
|
1387
1387
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1388
|
-
tmp = '_' + replace_0($this.
|
|
1388
|
+
tmp = '_' + replace_0($this.d3o_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1389
1389
|
} else {
|
|
1390
|
-
tmp = $this.
|
|
1390
|
+
tmp = $this.z3n_1;
|
|
1391
1391
|
}
|
|
1392
1392
|
var envvar = tmp;
|
|
1393
|
-
var tmp0_elvis_lhs = $this.
|
|
1393
|
+
var tmp0_elvis_lhs = $this.n3o().f3p_1(envvar);
|
|
1394
1394
|
var tmp_0;
|
|
1395
1395
|
if (tmp0_elvis_lhs == null) {
|
|
1396
1396
|
return Unit_instance;
|
|
@@ -1398,13 +1398,13 @@
|
|
|
1398
1398
|
tmp_0 = tmp0_elvis_lhs;
|
|
1399
1399
|
}
|
|
1400
1400
|
var envval = tmp_0;
|
|
1401
|
-
CompletionGenerator_instance.
|
|
1401
|
+
CompletionGenerator_instance.r3p($this, envval);
|
|
1402
1402
|
}
|
|
1403
1403
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1404
1404
|
return Unit_instance;
|
|
1405
1405
|
}
|
|
1406
1406
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1407
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1407
|
+
throw new PrintHelpMessage($this$eagerOption.c3q_1);
|
|
1408
1408
|
}
|
|
1409
1409
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1410
1410
|
help = help === VOID ? '' : help;
|
|
@@ -1417,50 +1417,50 @@
|
|
|
1417
1417
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1418
1418
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1419
1419
|
hidden = hidden === VOID ? false : hidden;
|
|
1420
|
-
this.
|
|
1421
|
-
this.
|
|
1422
|
-
this.
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1426
|
-
this.
|
|
1420
|
+
this.w3n_1 = invokeWithoutSubcommand;
|
|
1421
|
+
this.x3n_1 = printHelpOnEmptyArgs;
|
|
1422
|
+
this.y3n_1 = helpTags;
|
|
1423
|
+
this.z3n_1 = autoCompleteEnvvar;
|
|
1424
|
+
this.a3o_1 = allowMultipleSubcommands;
|
|
1425
|
+
this.b3o_1 = treatUnknownOptionsAsArgs;
|
|
1426
|
+
this.c3o_1 = hidden;
|
|
1427
1427
|
var tmp = this;
|
|
1428
|
-
tmp.
|
|
1429
|
-
this.
|
|
1430
|
-
this.
|
|
1431
|
-
this.
|
|
1428
|
+
tmp.d3o_1 = name == null ? inferCommandName(this) : name;
|
|
1429
|
+
this.e3o_1 = help;
|
|
1430
|
+
this.f3o_1 = epilog;
|
|
1431
|
+
this.g3o_1 = emptyList();
|
|
1432
1432
|
var tmp_0 = this;
|
|
1433
1433
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1434
|
-
tmp_0.
|
|
1434
|
+
tmp_0.h3o_1 = ArrayList_init_$Create$();
|
|
1435
1435
|
var tmp_1 = this;
|
|
1436
1436
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1437
|
-
tmp_1.
|
|
1437
|
+
tmp_1.i3o_1 = ArrayList_init_$Create$();
|
|
1438
1438
|
var tmp_2 = this;
|
|
1439
1439
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1440
|
-
tmp_2.
|
|
1440
|
+
tmp_2.j3o_1 = ArrayList_init_$Create$();
|
|
1441
1441
|
var tmp_3 = this;
|
|
1442
|
-
tmp_3.
|
|
1443
|
-
this.
|
|
1442
|
+
tmp_3.k3o_1 = CliktCommand$_contextConfig$lambda;
|
|
1443
|
+
this.l3o_1 = null;
|
|
1444
1444
|
var tmp_4 = this;
|
|
1445
1445
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1446
|
-
tmp_4.
|
|
1446
|
+
tmp_4.m3o_1 = ArrayList_init_$Create$();
|
|
1447
1447
|
}
|
|
1448
|
-
protoOf(CliktCommand).c3q = function () {
|
|
1449
|
-
return this.d3o_1;
|
|
1450
|
-
};
|
|
1451
|
-
protoOf(CliktCommand).u3p = function (context) {
|
|
1452
|
-
return this.c3q();
|
|
1453
|
-
};
|
|
1454
1448
|
protoOf(CliktCommand).d3q = function () {
|
|
1455
1449
|
return this.e3o_1;
|
|
1456
1450
|
};
|
|
1457
|
-
protoOf(CliktCommand).
|
|
1451
|
+
protoOf(CliktCommand).v3p = function (context) {
|
|
1458
1452
|
return this.d3q();
|
|
1459
1453
|
};
|
|
1460
|
-
protoOf(CliktCommand).
|
|
1454
|
+
protoOf(CliktCommand).e3q = function () {
|
|
1455
|
+
return this.f3o_1;
|
|
1456
|
+
};
|
|
1457
|
+
protoOf(CliktCommand).f3q = function (context) {
|
|
1458
|
+
return this.e3q();
|
|
1459
|
+
};
|
|
1460
|
+
protoOf(CliktCommand).g3q = function () {
|
|
1461
1461
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1462
1462
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1463
|
-
var this_0 = this.
|
|
1463
|
+
var this_0 = this.h3o_1;
|
|
1464
1464
|
var destination = ArrayList_init_$Create$();
|
|
1465
1465
|
// Inline function 'kotlin.collections.forEach' call
|
|
1466
1466
|
var tmp0_iterator = this_0.v();
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
var element = tmp0_iterator.y();
|
|
1469
1469
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1470
1470
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1471
|
-
var tmp0_safe_receiver = element.
|
|
1471
|
+
var tmp0_safe_receiver = element.h3q(this.n3o());
|
|
1472
1472
|
if (tmp0_safe_receiver == null)
|
|
1473
1473
|
null;
|
|
1474
1474
|
else {
|
|
@@ -1480,7 +1480,7 @@
|
|
|
1480
1480
|
var tmp = destination;
|
|
1481
1481
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1482
1482
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1483
|
-
var this_1 = this.
|
|
1483
|
+
var this_1 = this.i3o_1;
|
|
1484
1484
|
var destination_0 = ArrayList_init_$Create$();
|
|
1485
1485
|
// Inline function 'kotlin.collections.forEach' call
|
|
1486
1486
|
var tmp0_iterator_0 = this_1.v();
|
|
@@ -1488,7 +1488,7 @@
|
|
|
1488
1488
|
var element_0 = tmp0_iterator_0.y();
|
|
1489
1489
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1490
1490
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1491
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1491
|
+
var tmp0_safe_receiver_0 = element_0.h3q(this.n3o());
|
|
1492
1492
|
if (tmp0_safe_receiver_0 == null)
|
|
1493
1493
|
null;
|
|
1494
1494
|
else {
|
|
@@ -1500,7 +1500,7 @@
|
|
|
1500
1500
|
var tmp_0 = destination_0;
|
|
1501
1501
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1502
1502
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1503
|
-
var this_2 = this.
|
|
1503
|
+
var this_2 = this.j3o_1;
|
|
1504
1504
|
var destination_1 = ArrayList_init_$Create$();
|
|
1505
1505
|
// Inline function 'kotlin.collections.forEach' call
|
|
1506
1506
|
var tmp0_iterator_1 = this_2.v();
|
|
@@ -1508,7 +1508,7 @@
|
|
|
1508
1508
|
var element_1 = tmp0_iterator_1.y();
|
|
1509
1509
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1510
1510
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1511
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1511
|
+
var tmp0_safe_receiver_1 = element_1.h3q(this.n3o());
|
|
1512
1512
|
if (tmp0_safe_receiver_1 == null)
|
|
1513
1513
|
null;
|
|
1514
1514
|
else {
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
var tmp_1 = destination_1;
|
|
1521
1521
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1522
1522
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1523
|
-
var this_3 = this.
|
|
1523
|
+
var this_3 = this.g3o_1;
|
|
1524
1524
|
var destination_2 = ArrayList_init_$Create$();
|
|
1525
1525
|
// Inline function 'kotlin.collections.forEach' call
|
|
1526
1526
|
var tmp0_iterator_2 = this_3.v();
|
|
@@ -1529,11 +1529,11 @@
|
|
|
1529
1529
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1530
1530
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1531
1531
|
// Inline function 'kotlin.takeUnless' call
|
|
1532
|
-
var this_4 = new Subcommand(element_2.
|
|
1532
|
+
var this_4 = new Subcommand(element_2.d3o_1, element_2.i3q(this.n3o()), element_2.y3n_1);
|
|
1533
1533
|
// Inline function 'kotlin.contracts.contract' call
|
|
1534
1534
|
var tmp_2;
|
|
1535
1535
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1536
|
-
if (!element_2.
|
|
1536
|
+
if (!element_2.c3o_1) {
|
|
1537
1537
|
tmp_2 = this_4;
|
|
1538
1538
|
} else {
|
|
1539
1539
|
tmp_2 = null;
|
|
@@ -1549,11 +1549,11 @@
|
|
|
1549
1549
|
}
|
|
1550
1550
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1551
1551
|
};
|
|
1552
|
-
protoOf(CliktCommand).
|
|
1552
|
+
protoOf(CliktCommand).n3o = function () {
|
|
1553
1553
|
$l$block: {
|
|
1554
1554
|
// Inline function 'kotlin.checkNotNull' call
|
|
1555
1555
|
// Inline function 'kotlin.contracts.contract' call
|
|
1556
|
-
if (this.
|
|
1556
|
+
if (this.l3o_1 == null) {
|
|
1557
1557
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1558
1558
|
var message = 'Context accessed before parse has been called.';
|
|
1559
1559
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1561,21 +1561,21 @@
|
|
|
1561
1561
|
break $l$block;
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
|
-
return ensureNotNull(this.
|
|
1564
|
+
return ensureNotNull(this.l3o_1);
|
|
1565
1565
|
};
|
|
1566
|
-
protoOf(CliktCommand).
|
|
1567
|
-
return this.
|
|
1566
|
+
protoOf(CliktCommand).j3q = function () {
|
|
1567
|
+
return this.m3o_1;
|
|
1568
1568
|
};
|
|
1569
|
-
protoOf(CliktCommand).
|
|
1570
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').q8(this.
|
|
1569
|
+
protoOf(CliktCommand).i3q = function (context) {
|
|
1570
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').q8(this.v3p(context));
|
|
1571
1571
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j9();
|
|
1572
1572
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g1(1);
|
|
1573
1573
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.i9_1;
|
|
1574
1574
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1575
1575
|
};
|
|
1576
|
-
protoOf(CliktCommand).
|
|
1576
|
+
protoOf(CliktCommand).k3q = function (option) {
|
|
1577
1577
|
var names = registeredOptionNames(this);
|
|
1578
|
-
var tmp0_iterator = option.
|
|
1578
|
+
var tmp0_iterator = option.o3o().v();
|
|
1579
1579
|
while (tmp0_iterator.w()) {
|
|
1580
1580
|
var name = tmp0_iterator.y();
|
|
1581
1581
|
// Inline function 'kotlin.require' call
|
|
@@ -1586,12 +1586,12 @@
|
|
|
1586
1586
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
|
-
if (option.
|
|
1589
|
+
if (option.l3q()) {
|
|
1590
1590
|
// Inline function 'kotlin.require' call
|
|
1591
1591
|
var tmp$ret$1;
|
|
1592
1592
|
$l$block_0: {
|
|
1593
1593
|
// Inline function 'kotlin.collections.none' call
|
|
1594
|
-
var this_0 = this.
|
|
1594
|
+
var this_0 = this.h3o_1;
|
|
1595
1595
|
var tmp;
|
|
1596
1596
|
if (isInterface(this_0, Collection)) {
|
|
1597
1597
|
tmp = this_0.c1();
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
while (tmp0_iterator_0.w()) {
|
|
1607
1607
|
var element = tmp0_iterator_0.y();
|
|
1608
1608
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1609
|
-
if (element.
|
|
1609
|
+
if (element.l3q()) {
|
|
1610
1610
|
tmp$ret$1 = false;
|
|
1611
1611
|
break $l$block_0;
|
|
1612
1612
|
}
|
|
@@ -1621,21 +1621,21 @@
|
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1624
|
-
this.
|
|
1624
|
+
this.h3o_1.s(option);
|
|
1625
1625
|
};
|
|
1626
|
-
protoOf(CliktCommand).
|
|
1627
|
-
return this.
|
|
1626
|
+
protoOf(CliktCommand).m3q = function (option) {
|
|
1627
|
+
return this.k3q(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1628
1628
|
};
|
|
1629
|
-
protoOf(CliktCommand).
|
|
1629
|
+
protoOf(CliktCommand).n3q = function (argument) {
|
|
1630
1630
|
// Inline function 'kotlin.require' call
|
|
1631
1631
|
var tmp;
|
|
1632
|
-
if (argument.
|
|
1632
|
+
if (argument.n3p() > 0) {
|
|
1633
1633
|
tmp = true;
|
|
1634
1634
|
} else {
|
|
1635
1635
|
var tmp$ret$0;
|
|
1636
1636
|
$l$block_0: {
|
|
1637
1637
|
// Inline function 'kotlin.collections.none' call
|
|
1638
|
-
var this_0 = this.
|
|
1638
|
+
var this_0 = this.i3o_1;
|
|
1639
1639
|
var tmp_0;
|
|
1640
1640
|
if (isInterface(this_0, Collection)) {
|
|
1641
1641
|
tmp_0 = this_0.c1();
|
|
@@ -1650,7 +1650,7 @@
|
|
|
1650
1650
|
while (tmp0_iterator.w()) {
|
|
1651
1651
|
var element = tmp0_iterator.y();
|
|
1652
1652
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1653
|
-
if (element.
|
|
1653
|
+
if (element.n3p() < 0) {
|
|
1654
1654
|
tmp$ret$0 = false;
|
|
1655
1655
|
break $l$block_0;
|
|
1656
1656
|
}
|
|
@@ -1666,9 +1666,9 @@
|
|
|
1666
1666
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1667
1667
|
}
|
|
1668
1668
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1669
|
-
this.
|
|
1669
|
+
this.i3o_1.s(argument);
|
|
1670
1670
|
};
|
|
1671
|
-
protoOf(CliktCommand).
|
|
1671
|
+
protoOf(CliktCommand).o3q = function (error) {
|
|
1672
1672
|
var tmp;
|
|
1673
1673
|
if (!(error == null)) {
|
|
1674
1674
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1680,73 +1680,73 @@
|
|
|
1680
1680
|
}
|
|
1681
1681
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1682
1682
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jc();
|
|
1683
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1683
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.l3o_1 : tmp1_elvis_lhs;
|
|
1684
1684
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1685
|
-
var cmd = ctx.
|
|
1685
|
+
var cmd = ctx.r3o_1;
|
|
1686
1686
|
var programName = getCommandNameWithParents(cmd);
|
|
1687
|
-
var tmp_0 = ctx.
|
|
1688
|
-
return tmp_0.
|
|
1687
|
+
var tmp_0 = ctx.x3o_1(ctx);
|
|
1688
|
+
return tmp_0.p3q(error instanceof UsageError ? error : null, cmd.v3p(ctx), cmd.f3q(ctx), cmd.g3q(), programName);
|
|
1689
1689
|
};
|
|
1690
|
-
protoOf(CliktCommand).
|
|
1691
|
-
var msg = this.
|
|
1690
|
+
protoOf(CliktCommand).q3q = function (error) {
|
|
1691
|
+
var msg = this.o3q(error);
|
|
1692
1692
|
if (!(msg == null)) {
|
|
1693
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1694
|
-
this.
|
|
1693
|
+
var tmp1_elvis_lhs = error == null ? null : error.s3q_1;
|
|
1694
|
+
this.t3q(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
|
-
protoOf(CliktCommand).
|
|
1697
|
+
protoOf(CliktCommand).p3p = function () {
|
|
1698
1698
|
return emptyMap();
|
|
1699
1699
|
};
|
|
1700
|
-
protoOf(CliktCommand).
|
|
1700
|
+
protoOf(CliktCommand).u3q = function (message, trailingNewline, err) {
|
|
1701
1701
|
if (trailingNewline) {
|
|
1702
|
-
this.
|
|
1702
|
+
this.n3o().z3o_1.j3l(message, VOID, VOID, VOID, VOID, err);
|
|
1703
1703
|
} else {
|
|
1704
|
-
this.
|
|
1704
|
+
this.n3o().z3o_1.i3l(message, VOID, VOID, VOID, VOID, err);
|
|
1705
1705
|
}
|
|
1706
1706
|
};
|
|
1707
|
-
protoOf(CliktCommand).
|
|
1707
|
+
protoOf(CliktCommand).t3q = function (message, trailingNewline, err, $super) {
|
|
1708
1708
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1709
1709
|
err = err === VOID ? false : err;
|
|
1710
1710
|
var tmp;
|
|
1711
1711
|
if ($super === VOID) {
|
|
1712
|
-
this.
|
|
1712
|
+
this.u3q(message, trailingNewline, err);
|
|
1713
1713
|
tmp = Unit_instance;
|
|
1714
1714
|
} else {
|
|
1715
|
-
tmp = $super.
|
|
1715
|
+
tmp = $super.u3q.call(this, message, trailingNewline, err);
|
|
1716
1716
|
}
|
|
1717
1717
|
return tmp;
|
|
1718
1718
|
};
|
|
1719
|
-
protoOf(CliktCommand).
|
|
1719
|
+
protoOf(CliktCommand).v3q = function (argv, parentContext) {
|
|
1720
1720
|
createContext(this, argv, parentContext, emptyList());
|
|
1721
1721
|
generateCompletion(this);
|
|
1722
|
-
Parser_instance.
|
|
1722
|
+
Parser_instance.w3q(argv, this.n3o());
|
|
1723
1723
|
};
|
|
1724
|
-
protoOf(CliktCommand).
|
|
1724
|
+
protoOf(CliktCommand).x3q = function (argv, parentContext, $super) {
|
|
1725
1725
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1726
1726
|
var tmp;
|
|
1727
1727
|
if ($super === VOID) {
|
|
1728
|
-
this.
|
|
1728
|
+
this.v3q(argv, parentContext);
|
|
1729
1729
|
tmp = Unit_instance;
|
|
1730
1730
|
} else {
|
|
1731
|
-
tmp = $super.
|
|
1731
|
+
tmp = $super.v3q.call(this, argv, parentContext);
|
|
1732
1732
|
}
|
|
1733
1733
|
return tmp;
|
|
1734
1734
|
};
|
|
1735
|
-
protoOf(CliktCommand).
|
|
1735
|
+
protoOf(CliktCommand).y3q = function (argv) {
|
|
1736
1736
|
try {
|
|
1737
|
-
this.
|
|
1737
|
+
this.x3q(argv);
|
|
1738
1738
|
} catch ($p) {
|
|
1739
1739
|
if ($p instanceof CliktError) {
|
|
1740
1740
|
var e = $p;
|
|
1741
|
-
this.
|
|
1742
|
-
exitProcessMpp(e.
|
|
1741
|
+
this.q3q(e);
|
|
1742
|
+
exitProcessMpp(e.r3q_1);
|
|
1743
1743
|
} else {
|
|
1744
1744
|
throw $p;
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
1747
|
};
|
|
1748
|
-
protoOf(CliktCommand).
|
|
1749
|
-
return this.
|
|
1748
|
+
protoOf(CliktCommand).z3q = function (argv) {
|
|
1749
|
+
return this.y3q(asList(argv));
|
|
1750
1750
|
};
|
|
1751
1751
|
protoOf(CliktCommand).toString = function () {
|
|
1752
1752
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1755,18 +1755,18 @@
|
|
|
1755
1755
|
var this_0 = StringBuilder_init_$Create$();
|
|
1756
1756
|
// Inline function 'kotlin.contracts.contract' call
|
|
1757
1757
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1758
|
-
this_0.i5('<' + classSimpleName(this) + ' name=' + this.
|
|
1758
|
+
this_0.i5('<' + classSimpleName(this) + ' name=' + this.d3o_1);
|
|
1759
1759
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1760
|
-
if (!this.
|
|
1761
|
-
joinTo(this.
|
|
1760
|
+
if (!this.h3o_1.c1()) {
|
|
1761
|
+
joinTo(this.h3o_1, this_0, VOID, ' options=[', ']');
|
|
1762
1762
|
}
|
|
1763
1763
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1764
|
-
if (!this.
|
|
1765
|
-
joinTo(this.
|
|
1764
|
+
if (!this.i3o_1.c1()) {
|
|
1765
|
+
joinTo(this.i3o_1, this_0, VOID, ' arguments=[', ']');
|
|
1766
1766
|
}
|
|
1767
1767
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1768
|
-
if (!this.
|
|
1769
|
-
joinTo(this.
|
|
1768
|
+
if (!this.g3o_1.c1()) {
|
|
1769
|
+
joinTo(this.g3o_1, this_0, VOID, ' subcommands=[', ']');
|
|
1770
1770
|
}
|
|
1771
1771
|
this_0.i5('>');
|
|
1772
1772
|
return this_0.toString();
|
|
@@ -1784,7 +1784,7 @@
|
|
|
1784
1784
|
return regex.u8(this_0, transform).toLowerCase();
|
|
1785
1785
|
}
|
|
1786
1786
|
function get_terminal(_this__u8e3s4) {
|
|
1787
|
-
return _this__u8e3s4.
|
|
1787
|
+
return _this__u8e3s4.n3o().z3o_1;
|
|
1788
1788
|
}
|
|
1789
1789
|
function classSimpleName(_this__u8e3s4) {
|
|
1790
1790
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1796,7 +1796,7 @@
|
|
|
1796
1796
|
// Inline function 'kotlin.apply' call
|
|
1797
1797
|
// Inline function 'kotlin.contracts.contract' call
|
|
1798
1798
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1799
|
-
_this__u8e3s4.
|
|
1799
|
+
_this__u8e3s4.g3o_1 = plus_2(_this__u8e3s4.g3o_1, commands);
|
|
1800
1800
|
return _this__u8e3s4;
|
|
1801
1801
|
}
|
|
1802
1802
|
function inferCommandName$lambda(it) {
|
|
@@ -1822,36 +1822,36 @@
|
|
|
1822
1822
|
}
|
|
1823
1823
|
function Builder(command, parent) {
|
|
1824
1824
|
parent = parent === VOID ? null : parent;
|
|
1825
|
-
this.
|
|
1825
|
+
this.b3r_1 = parent;
|
|
1826
1826
|
var tmp = this;
|
|
1827
|
-
var tmp0_safe_receiver = this.
|
|
1828
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1829
|
-
tmp.
|
|
1830
|
-
this.
|
|
1827
|
+
var tmp0_safe_receiver = this.b3r_1;
|
|
1828
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s3o_1;
|
|
1829
|
+
tmp.c3r_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1830
|
+
this.d3r_1 = true;
|
|
1831
1831
|
var tmp_0 = this;
|
|
1832
|
-
var tmp0_safe_receiver_0 = this.
|
|
1833
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1834
|
-
tmp_0.
|
|
1832
|
+
var tmp0_safe_receiver_0 = this.b3r_1;
|
|
1833
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.v3o_1;
|
|
1834
|
+
tmp_0.e3r_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1835
1835
|
var tmp_1 = this;
|
|
1836
|
-
var tmp0_safe_receiver_1 = this.
|
|
1837
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1838
|
-
tmp_1.
|
|
1836
|
+
var tmp0_safe_receiver_1 = this.b3r_1;
|
|
1837
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.w3o_1;
|
|
1838
|
+
tmp_1.f3r_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1839
1839
|
var tmp_2 = this;
|
|
1840
|
-
var tmp0_safe_receiver_2 = this.
|
|
1841
|
-
tmp_2.
|
|
1840
|
+
var tmp0_safe_receiver_2 = this.b3r_1;
|
|
1841
|
+
tmp_2.g3r_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.x3o_1;
|
|
1842
1842
|
var tmp_3 = this;
|
|
1843
|
-
var tmp0_safe_receiver_3 = this.
|
|
1844
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1843
|
+
var tmp0_safe_receiver_3 = this.b3r_1;
|
|
1844
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.y3o_1;
|
|
1845
1845
|
var tmp_4;
|
|
1846
1846
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1847
1847
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1848
1848
|
} else {
|
|
1849
1849
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1850
1850
|
}
|
|
1851
|
-
tmp_3.
|
|
1851
|
+
tmp_3.h3r_1 = tmp_4;
|
|
1852
1852
|
var tmp_5 = this;
|
|
1853
|
-
var tmp0_safe_receiver_4 = this.
|
|
1854
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1853
|
+
var tmp0_safe_receiver_4 = this.b3r_1;
|
|
1854
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.u3o_1;
|
|
1855
1855
|
var tmp_6;
|
|
1856
1856
|
if (tmp1_safe_receiver == null) {
|
|
1857
1857
|
tmp_6 = null;
|
|
@@ -1862,48 +1862,48 @@
|
|
|
1862
1862
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1863
1863
|
// Inline function 'kotlin.text.uppercase' call
|
|
1864
1864
|
// Inline function 'kotlin.text.replace' call
|
|
1865
|
-
var this_0 = command.
|
|
1865
|
+
var this_0 = command.d3o_1;
|
|
1866
1866
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1867
1867
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').t8(this_0, '_').toUpperCase();
|
|
1868
1868
|
}
|
|
1869
|
-
tmp_5.
|
|
1869
|
+
tmp_5.i3r_1 = tmp_6;
|
|
1870
1870
|
var tmp_8 = this;
|
|
1871
|
-
var tmp0_safe_receiver_5 = this.
|
|
1872
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1873
|
-
tmp_8.
|
|
1874
|
-
this.
|
|
1871
|
+
var tmp0_safe_receiver_5 = this.b3r_1;
|
|
1872
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.z3o_1;
|
|
1873
|
+
tmp_8.j3r_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1874
|
+
this.k3r_1 = get_defaultArgFileReader();
|
|
1875
1875
|
var tmp_9 = this;
|
|
1876
|
-
var tmp0_safe_receiver_6 = this.
|
|
1877
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1878
|
-
tmp_9.
|
|
1876
|
+
var tmp0_safe_receiver_6 = this.b3r_1;
|
|
1877
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.b3p_1;
|
|
1878
|
+
tmp_9.l3r_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1879
1879
|
var tmp_10 = this;
|
|
1880
|
-
var tmp0_safe_receiver_7 = this.
|
|
1881
|
-
tmp_10.
|
|
1882
|
-
this.
|
|
1883
|
-
this.
|
|
1880
|
+
var tmp0_safe_receiver_7 = this.b3r_1;
|
|
1881
|
+
tmp_10.m3r_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.c3p_1;
|
|
1882
|
+
this.n3r_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1883
|
+
this.o3r_1 = get_defaultLocalization();
|
|
1884
1884
|
var tmp_11 = this;
|
|
1885
|
-
var tmp0_safe_receiver_8 = this.
|
|
1886
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1885
|
+
var tmp0_safe_receiver_8 = this.b3r_1;
|
|
1886
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.f3p_1;
|
|
1887
1887
|
var tmp_12;
|
|
1888
1888
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1889
1889
|
tmp_12 = readEnvvar$ref();
|
|
1890
1890
|
} else {
|
|
1891
1891
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1892
1892
|
}
|
|
1893
|
-
tmp_11.
|
|
1893
|
+
tmp_11.p3r_1 = tmp_12;
|
|
1894
1894
|
var tmp_13 = this;
|
|
1895
|
-
var tmp0_safe_receiver_9 = this.
|
|
1896
|
-
tmp_13.
|
|
1895
|
+
var tmp0_safe_receiver_9 = this.b3r_1;
|
|
1896
|
+
tmp_13.q3r_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.g3p_1;
|
|
1897
1897
|
}
|
|
1898
1898
|
function Companion() {
|
|
1899
1899
|
}
|
|
1900
|
-
protoOf(Companion).
|
|
1900
|
+
protoOf(Companion).y3p = function (command, parent, argv, block) {
|
|
1901
1901
|
// Inline function 'kotlin.with' call
|
|
1902
1902
|
// Inline function 'kotlin.contracts.contract' call
|
|
1903
1903
|
var $this$with = new Builder(command, parent);
|
|
1904
1904
|
block($this$with);
|
|
1905
1905
|
var tmp;
|
|
1906
|
-
if ($this$with.
|
|
1906
|
+
if ($this$with.c3r_1 ? !command.a3o_1 : false) {
|
|
1907
1907
|
var tmp_0;
|
|
1908
1908
|
if (parent == null) {
|
|
1909
1909
|
tmp_0 = null;
|
|
@@ -1914,11 +1914,11 @@
|
|
|
1914
1914
|
var tmp$ret$1;
|
|
1915
1915
|
$l$block: {
|
|
1916
1916
|
// Inline function 'kotlin.sequences.any' call
|
|
1917
|
-
var tmp0_iterator = parent.
|
|
1917
|
+
var tmp0_iterator = parent.r3r().v();
|
|
1918
1918
|
while (tmp0_iterator.w()) {
|
|
1919
1919
|
var element = tmp0_iterator.y();
|
|
1920
1920
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1921
|
-
if (element.
|
|
1921
|
+
if (element.r3o_1.a3o_1) {
|
|
1922
1922
|
tmp$ret$1 = true;
|
|
1923
1923
|
break $l$block;
|
|
1924
1924
|
}
|
|
@@ -1932,7 +1932,7 @@
|
|
|
1932
1932
|
tmp = false;
|
|
1933
1933
|
}
|
|
1934
1934
|
var interspersed = tmp;
|
|
1935
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1935
|
+
var tmp1_elvis_lhs = $this$with.g3r_1;
|
|
1936
1936
|
var tmp_1;
|
|
1937
1937
|
if (tmp1_elvis_lhs == null) {
|
|
1938
1938
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1940,58 +1940,58 @@
|
|
|
1940
1940
|
tmp_1 = tmp1_elvis_lhs;
|
|
1941
1941
|
}
|
|
1942
1942
|
var formatter = tmp_1;
|
|
1943
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1943
|
+
return new Context(parent, command, interspersed, $this$with.d3r_1, $this$with.i3r_1, $this$with.e3r_1, toSet($this$with.f3r_1), formatter, $this$with.h3r_1, $this$with.j3r_1, $this$with.k3r_1, $this$with.l3r_1, $this$with.m3r_1, $this$with.n3r_1, $this$with.o3r_1, $this$with.p3r_1, $this$with.q3r_1, argv);
|
|
1944
1944
|
};
|
|
1945
1945
|
var Companion_instance_0;
|
|
1946
1946
|
function Companion_getInstance() {
|
|
1947
1947
|
return Companion_instance_0;
|
|
1948
1948
|
}
|
|
1949
1949
|
function Context$parentNames$lambda(it) {
|
|
1950
|
-
return it.
|
|
1950
|
+
return it.r3o_1.d3o_1;
|
|
1951
1951
|
}
|
|
1952
1952
|
function Context$ancestors$lambda(it) {
|
|
1953
|
-
return it.
|
|
1953
|
+
return it.q3o_1;
|
|
1954
1954
|
}
|
|
1955
1955
|
function Context$selfAndAncestors$lambda(it) {
|
|
1956
|
-
return it.
|
|
1956
|
+
return it.q3o_1;
|
|
1957
1957
|
}
|
|
1958
1958
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1959
|
-
this.
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1962
|
-
this.
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1971
|
-
this.
|
|
1972
|
-
this.
|
|
1973
|
-
this.
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1979
|
-
}
|
|
1980
|
-
protoOf(Context).
|
|
1981
|
-
var tmp = this.
|
|
1959
|
+
this.q3o_1 = parent;
|
|
1960
|
+
this.r3o_1 = command;
|
|
1961
|
+
this.s3o_1 = allowInterspersedArgs;
|
|
1962
|
+
this.t3o_1 = allowGroupedShortOptions;
|
|
1963
|
+
this.u3o_1 = autoEnvvarPrefix;
|
|
1964
|
+
this.v3o_1 = printExtraMessages;
|
|
1965
|
+
this.w3o_1 = helpOptionNames;
|
|
1966
|
+
this.x3o_1 = helpFormatter;
|
|
1967
|
+
this.y3o_1 = tokenTransformer;
|
|
1968
|
+
this.z3o_1 = terminal;
|
|
1969
|
+
this.a3p_1 = argumentFileReader;
|
|
1970
|
+
this.b3p_1 = readEnvvarBeforeValueSource;
|
|
1971
|
+
this.c3p_1 = valueSource;
|
|
1972
|
+
this.d3p_1 = correctionSuggestor;
|
|
1973
|
+
this.e3p_1 = localization;
|
|
1974
|
+
this.f3p_1 = readEnvvar;
|
|
1975
|
+
this.g3p_1 = obj;
|
|
1976
|
+
this.h3p_1 = originalArgv;
|
|
1977
|
+
this.i3p_1 = null;
|
|
1978
|
+
this.j3p_1 = false;
|
|
1979
|
+
}
|
|
1980
|
+
protoOf(Context).t3p = function () {
|
|
1981
|
+
var tmp = this.z3p();
|
|
1982
1982
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
1983
1983
|
};
|
|
1984
|
-
protoOf(Context).
|
|
1985
|
-
return plus_1(this.
|
|
1984
|
+
protoOf(Context).u3p = function () {
|
|
1985
|
+
return plus_1(this.t3p(), this.r3o_1.d3o_1);
|
|
1986
1986
|
};
|
|
1987
|
-
protoOf(Context).
|
|
1988
|
-
return generateSequence(this.
|
|
1987
|
+
protoOf(Context).z3p = function () {
|
|
1988
|
+
return generateSequence(this.q3o_1, Context$ancestors$lambda);
|
|
1989
1989
|
};
|
|
1990
|
-
protoOf(Context).
|
|
1990
|
+
protoOf(Context).r3r = function () {
|
|
1991
1991
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
1992
1992
|
};
|
|
1993
|
-
protoOf(Context).
|
|
1994
|
-
return !(this.
|
|
1993
|
+
protoOf(Context).s3r = function () {
|
|
1994
|
+
return !(this.a3p_1 == null);
|
|
1995
1995
|
};
|
|
1996
1996
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
1997
1997
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2034,10 +2034,10 @@
|
|
|
2034
2034
|
return destination_1;
|
|
2035
2035
|
}
|
|
2036
2036
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2037
|
-
this.
|
|
2037
|
+
this.t3r_1 = function_0;
|
|
2038
2038
|
}
|
|
2039
2039
|
protoOf(sam$kotlin_Comparator$0).x9 = function (a, b) {
|
|
2040
|
-
return this.
|
|
2040
|
+
return this.t3r_1(a, b);
|
|
2041
2041
|
};
|
|
2042
2042
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2043
2043
|
return this.x9(a, b);
|
|
@@ -2144,7 +2144,7 @@
|
|
|
2144
2144
|
hidden = hidden === VOID ? false : hidden;
|
|
2145
2145
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2146
2146
|
}
|
|
2147
|
-
protoOf(NoOpCliktCommand).
|
|
2147
|
+
protoOf(NoOpCliktCommand).a3r = function () {
|
|
2148
2148
|
return Unit_instance;
|
|
2149
2149
|
};
|
|
2150
2150
|
function StaticallyGroupedOption() {
|
|
@@ -2156,10 +2156,10 @@
|
|
|
2156
2156
|
function FileNotFound(filename) {
|
|
2157
2157
|
UsageError.call(this, null);
|
|
2158
2158
|
captureStack(this, FileNotFound);
|
|
2159
|
-
this.
|
|
2159
|
+
this.w3s_1 = filename;
|
|
2160
2160
|
}
|
|
2161
|
-
protoOf(FileNotFound).
|
|
2162
|
-
return localization.
|
|
2161
|
+
protoOf(FileNotFound).x3s = function (localization, formatter) {
|
|
2162
|
+
return localization.y3s(this.w3s_1);
|
|
2163
2163
|
};
|
|
2164
2164
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2165
2165
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2186,18 +2186,18 @@
|
|
|
2186
2186
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2187
2187
|
CliktError.call(this, message, VOID, statusCode);
|
|
2188
2188
|
captureStack(this, UsageError);
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2189
|
+
this.b3t_1 = paramName;
|
|
2190
|
+
this.c3t_1 = null;
|
|
2191
2191
|
}
|
|
2192
|
-
protoOf(UsageError).
|
|
2192
|
+
protoOf(UsageError).x3s = function (localization, formatter) {
|
|
2193
2193
|
var tmp0_elvis_lhs = this.message;
|
|
2194
2194
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2195
2195
|
};
|
|
2196
|
-
protoOf(UsageError).
|
|
2197
|
-
this.
|
|
2196
|
+
protoOf(UsageError).d3t = function (_set____db54di) {
|
|
2197
|
+
this.c3t_1 = _set____db54di;
|
|
2198
2198
|
};
|
|
2199
2199
|
protoOf(UsageError).jc = function () {
|
|
2200
|
-
return this.
|
|
2200
|
+
return this.c3t_1;
|
|
2201
2201
|
};
|
|
2202
2202
|
function CliktError(message, cause, statusCode, printError) {
|
|
2203
2203
|
message = message === VOID ? null : message;
|
|
@@ -2206,8 +2206,8 @@
|
|
|
2206
2206
|
printError = printError === VOID ? true : printError;
|
|
2207
2207
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2208
2208
|
captureStack(this, CliktError);
|
|
2209
|
-
this.
|
|
2210
|
-
this.
|
|
2209
|
+
this.r3q_1 = statusCode;
|
|
2210
|
+
this.s3q_1 = printError;
|
|
2211
2211
|
}
|
|
2212
2212
|
function ContextCliktError() {
|
|
2213
2213
|
}
|
|
@@ -2216,15 +2216,15 @@
|
|
|
2216
2216
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2217
2217
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2218
2218
|
captureStack(this, PrintHelpMessage);
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2219
|
+
this.g3t_1 = context;
|
|
2220
|
+
this.h3t_1 = error;
|
|
2221
2221
|
}
|
|
2222
2222
|
protoOf(PrintHelpMessage).jc = function () {
|
|
2223
|
-
return this.
|
|
2223
|
+
return this.g3t_1;
|
|
2224
2224
|
};
|
|
2225
2225
|
function Companion_0() {
|
|
2226
2226
|
}
|
|
2227
|
-
protoOf(Companion_0).
|
|
2227
|
+
protoOf(Companion_0).i3t = function (errors) {
|
|
2228
2228
|
var tmp;
|
|
2229
2229
|
switch (errors.p()) {
|
|
2230
2230
|
case 0:
|
|
@@ -2244,7 +2244,7 @@
|
|
|
2244
2244
|
var element = tmp0_iterator.y();
|
|
2245
2245
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2246
2246
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2247
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2247
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n3t_1;
|
|
2248
2248
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2249
2249
|
addAll(destination, list);
|
|
2250
2250
|
}
|
|
@@ -2260,16 +2260,16 @@
|
|
|
2260
2260
|
}
|
|
2261
2261
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2262
2262
|
return function (it) {
|
|
2263
|
-
return it.
|
|
2263
|
+
return it.x3s($localization, $formatter);
|
|
2264
2264
|
};
|
|
2265
2265
|
}
|
|
2266
2266
|
function MultiUsageError(errors) {
|
|
2267
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2267
|
+
UsageError.call(this, null, VOID, first_0(errors).r3q_1);
|
|
2268
2268
|
captureStack(this, MultiUsageError);
|
|
2269
|
-
this.
|
|
2269
|
+
this.n3t_1 = errors;
|
|
2270
2270
|
}
|
|
2271
|
-
protoOf(MultiUsageError).
|
|
2272
|
-
return joinToString(this.
|
|
2271
|
+
protoOf(MultiUsageError).x3s = function (localization, formatter) {
|
|
2272
|
+
return joinToString(this.n3t_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2273
2273
|
};
|
|
2274
2274
|
var Kind_Argument_instance;
|
|
2275
2275
|
var Kind_Option_instance;
|
|
@@ -2287,7 +2287,7 @@
|
|
|
2287
2287
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2288
2288
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2289
2289
|
BadParameterValue.call($this);
|
|
2290
|
-
$this.
|
|
2290
|
+
$this.s3t_1 = Kind_Argument_getInstance();
|
|
2291
2291
|
return $this;
|
|
2292
2292
|
}
|
|
2293
2293
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2298,7 +2298,7 @@
|
|
|
2298
2298
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2299
2299
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2300
2300
|
BadParameterValue.call($this);
|
|
2301
|
-
$this.
|
|
2301
|
+
$this.s3t_1 = Kind_Option_getInstance();
|
|
2302
2302
|
return $this;
|
|
2303
2303
|
}
|
|
2304
2304
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2309,7 +2309,7 @@
|
|
|
2309
2309
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2310
2310
|
UsageError.call($this, message, name);
|
|
2311
2311
|
BadParameterValue.call($this);
|
|
2312
|
-
$this.
|
|
2312
|
+
$this.s3t_1 = Kind_Option_getInstance();
|
|
2313
2313
|
return $this;
|
|
2314
2314
|
}
|
|
2315
2315
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2325,7 +2325,7 @@
|
|
|
2325
2325
|
Kind_initEntries();
|
|
2326
2326
|
return Kind_Option_instance;
|
|
2327
2327
|
}
|
|
2328
|
-
protoOf(BadParameterValue).
|
|
2328
|
+
protoOf(BadParameterValue).x3s = function (localization, formatter) {
|
|
2329
2329
|
// Inline function 'kotlin.takeUnless' call
|
|
2330
2330
|
var this_0 = this.message;
|
|
2331
2331
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2339,7 +2339,7 @@
|
|
|
2339
2339
|
tmp = null;
|
|
2340
2340
|
}
|
|
2341
2341
|
var m = tmp;
|
|
2342
|
-
var tmp0_safe_receiver = this.
|
|
2342
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2343
2343
|
var tmp_0;
|
|
2344
2344
|
if (tmp0_safe_receiver == null) {
|
|
2345
2345
|
tmp_0 = null;
|
|
@@ -2364,14 +2364,14 @@
|
|
|
2364
2364
|
// Inline function 'kotlin.let' call
|
|
2365
2365
|
// Inline function 'kotlin.contracts.contract' call
|
|
2366
2366
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2367
|
-
var tmp0_subject = this.
|
|
2367
|
+
var tmp0_subject = this.s3t_1;
|
|
2368
2368
|
var tmp_3;
|
|
2369
2369
|
switch (tmp0_subject == null ? -1 : tmp0_subject.g9_1) {
|
|
2370
2370
|
case 0:
|
|
2371
|
-
tmp_3 = formatter.
|
|
2371
|
+
tmp_3 = formatter.t3t(tmp1_safe_receiver);
|
|
2372
2372
|
break;
|
|
2373
2373
|
case 1:
|
|
2374
|
-
tmp_3 = formatter.
|
|
2374
|
+
tmp_3 = formatter.u3t(tmp1_safe_receiver);
|
|
2375
2375
|
break;
|
|
2376
2376
|
case -1:
|
|
2377
2377
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2385,13 +2385,13 @@
|
|
|
2385
2385
|
var p = tmp_2;
|
|
2386
2386
|
var tmp_4;
|
|
2387
2387
|
if (m == null ? p == null : false) {
|
|
2388
|
-
tmp_4 = localization.
|
|
2388
|
+
tmp_4 = localization.y3t();
|
|
2389
2389
|
} else if (m == null ? !(p == null) : false) {
|
|
2390
|
-
tmp_4 = localization.
|
|
2390
|
+
tmp_4 = localization.x3t(p);
|
|
2391
2391
|
} else if (!(m == null) ? p == null : false) {
|
|
2392
|
-
tmp_4 = localization.
|
|
2392
|
+
tmp_4 = localization.w3t(m);
|
|
2393
2393
|
} else if (!(m == null) ? !(p == null) : false) {
|
|
2394
|
-
tmp_4 = localization.
|
|
2394
|
+
tmp_4 = localization.v3t(p, m);
|
|
2395
2395
|
} else {
|
|
2396
2396
|
var message = 'impossible';
|
|
2397
2397
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2409,64 +2409,64 @@
|
|
|
2409
2409
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2410
2410
|
UsageError.call(this, null, paramName);
|
|
2411
2411
|
captureStack(this, NoSuchSubcommand);
|
|
2412
|
-
this.
|
|
2412
|
+
this.d3u_1 = possibilities;
|
|
2413
2413
|
}
|
|
2414
|
-
protoOf(NoSuchSubcommand).
|
|
2415
|
-
var tmp0_safe_receiver = this.
|
|
2414
|
+
protoOf(NoSuchSubcommand).x3s = function (localization, formatter) {
|
|
2415
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2416
2416
|
var tmp;
|
|
2417
2417
|
if (tmp0_safe_receiver == null) {
|
|
2418
2418
|
tmp = null;
|
|
2419
2419
|
} else {
|
|
2420
2420
|
// Inline function 'kotlin.let' call
|
|
2421
2421
|
// Inline function 'kotlin.contracts.contract' call
|
|
2422
|
-
tmp = formatter.
|
|
2422
|
+
tmp = formatter.e3u(tmp0_safe_receiver);
|
|
2423
2423
|
}
|
|
2424
2424
|
var tmp1_elvis_lhs = tmp;
|
|
2425
2425
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2426
2426
|
// Inline function 'kotlin.collections.map' call
|
|
2427
|
-
var this_0 = this.
|
|
2427
|
+
var this_0 = this.d3u_1;
|
|
2428
2428
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2429
2429
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2430
2430
|
var tmp0_iterator = this_0.v();
|
|
2431
2431
|
while (tmp0_iterator.w()) {
|
|
2432
2432
|
var item = tmp0_iterator.y();
|
|
2433
|
-
var tmp$ret$2 = formatter.
|
|
2433
|
+
var tmp$ret$2 = formatter.e3u(item);
|
|
2434
2434
|
destination.s(tmp$ret$2);
|
|
2435
2435
|
}
|
|
2436
|
-
return localization.
|
|
2436
|
+
return localization.f3u(tmp_0, destination);
|
|
2437
2437
|
};
|
|
2438
2438
|
function NoSuchOption(paramName, possibilities) {
|
|
2439
2439
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2440
2440
|
UsageError.call(this, null, paramName);
|
|
2441
2441
|
captureStack(this, NoSuchOption);
|
|
2442
|
-
this.
|
|
2442
|
+
this.k3u_1 = possibilities;
|
|
2443
2443
|
}
|
|
2444
|
-
protoOf(NoSuchOption).
|
|
2445
|
-
var tmp0_safe_receiver = this.
|
|
2444
|
+
protoOf(NoSuchOption).x3s = function (localization, formatter) {
|
|
2445
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2446
2446
|
var tmp;
|
|
2447
2447
|
if (tmp0_safe_receiver == null) {
|
|
2448
2448
|
tmp = null;
|
|
2449
2449
|
} else {
|
|
2450
2450
|
// Inline function 'kotlin.let' call
|
|
2451
2451
|
// Inline function 'kotlin.contracts.contract' call
|
|
2452
|
-
tmp = formatter.
|
|
2452
|
+
tmp = formatter.u3t(tmp0_safe_receiver);
|
|
2453
2453
|
}
|
|
2454
2454
|
var tmp1_elvis_lhs = tmp;
|
|
2455
2455
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2456
2456
|
// Inline function 'kotlin.collections.map' call
|
|
2457
|
-
var this_0 = this.
|
|
2457
|
+
var this_0 = this.k3u_1;
|
|
2458
2458
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2459
2459
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2460
2460
|
var tmp0_iterator = this_0.v();
|
|
2461
2461
|
while (tmp0_iterator.w()) {
|
|
2462
2462
|
var item = tmp0_iterator.y();
|
|
2463
|
-
var tmp$ret$2 = formatter.
|
|
2463
|
+
var tmp$ret$2 = formatter.u3t(item);
|
|
2464
2464
|
destination.s(tmp$ret$2);
|
|
2465
2465
|
}
|
|
2466
|
-
return localization.
|
|
2466
|
+
return localization.l3u(tmp_0, destination);
|
|
2467
2467
|
};
|
|
2468
2468
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2469
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2469
|
+
IncorrectOptionValueCount.call($this, option.n3p().ha_1, paramName);
|
|
2470
2470
|
return $this;
|
|
2471
2471
|
}
|
|
2472
2472
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2477,40 +2477,40 @@
|
|
|
2477
2477
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2478
2478
|
UsageError.call(this, null, paramName);
|
|
2479
2479
|
captureStack(this, IncorrectOptionValueCount);
|
|
2480
|
-
this.
|
|
2480
|
+
this.q3u_1 = minValues;
|
|
2481
2481
|
}
|
|
2482
|
-
protoOf(IncorrectOptionValueCount).
|
|
2483
|
-
var tmp0_safe_receiver = this.
|
|
2482
|
+
protoOf(IncorrectOptionValueCount).x3s = function (localization, formatter) {
|
|
2483
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2484
2484
|
var tmp;
|
|
2485
2485
|
if (tmp0_safe_receiver == null) {
|
|
2486
2486
|
tmp = null;
|
|
2487
2487
|
} else {
|
|
2488
2488
|
// Inline function 'kotlin.let' call
|
|
2489
2489
|
// Inline function 'kotlin.contracts.contract' call
|
|
2490
|
-
tmp = formatter.
|
|
2490
|
+
tmp = formatter.u3t(tmp0_safe_receiver);
|
|
2491
2491
|
}
|
|
2492
2492
|
var tmp1_elvis_lhs = tmp;
|
|
2493
|
-
return localization.
|
|
2493
|
+
return localization.r3u(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.q3u_1);
|
|
2494
2494
|
};
|
|
2495
2495
|
function MissingArgument(argument) {
|
|
2496
2496
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2497
2497
|
captureStack(this, MissingArgument);
|
|
2498
2498
|
}
|
|
2499
|
-
protoOf(MissingArgument).
|
|
2500
|
-
var tmp0_safe_receiver = this.
|
|
2499
|
+
protoOf(MissingArgument).x3s = function (localization, formatter) {
|
|
2500
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2501
2501
|
var tmp;
|
|
2502
2502
|
if (tmp0_safe_receiver == null) {
|
|
2503
2503
|
tmp = null;
|
|
2504
2504
|
} else {
|
|
2505
2505
|
// Inline function 'kotlin.let' call
|
|
2506
2506
|
// Inline function 'kotlin.contracts.contract' call
|
|
2507
|
-
tmp = formatter.
|
|
2507
|
+
tmp = formatter.t3t(tmp0_safe_receiver);
|
|
2508
2508
|
}
|
|
2509
2509
|
var tmp1_elvis_lhs = tmp;
|
|
2510
|
-
return localization.
|
|
2510
|
+
return localization.w3u(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2511
2511
|
};
|
|
2512
2512
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2513
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2513
|
+
IncorrectArgumentValueCount.call($this, argument.n3p(), argument);
|
|
2514
2514
|
return $this;
|
|
2515
2515
|
}
|
|
2516
2516
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2521,20 +2521,20 @@
|
|
|
2521
2521
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2522
2522
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2523
2523
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2524
|
-
this.
|
|
2524
|
+
this.b3v_1 = nvalues;
|
|
2525
2525
|
}
|
|
2526
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2527
|
-
var tmp0_safe_receiver = this.
|
|
2526
|
+
protoOf(IncorrectArgumentValueCount).x3s = function (localization, formatter) {
|
|
2527
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2528
2528
|
var tmp;
|
|
2529
2529
|
if (tmp0_safe_receiver == null) {
|
|
2530
2530
|
tmp = null;
|
|
2531
2531
|
} else {
|
|
2532
2532
|
// Inline function 'kotlin.let' call
|
|
2533
2533
|
// Inline function 'kotlin.contracts.contract' call
|
|
2534
|
-
tmp = formatter.
|
|
2534
|
+
tmp = formatter.t3t(tmp0_safe_receiver);
|
|
2535
2535
|
}
|
|
2536
2536
|
var tmp1_elvis_lhs = tmp;
|
|
2537
|
-
return localization.
|
|
2537
|
+
return localization.c3v(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.b3v_1);
|
|
2538
2538
|
};
|
|
2539
2539
|
function Abort() {
|
|
2540
2540
|
}
|
|
@@ -2550,28 +2550,28 @@
|
|
|
2550
2550
|
lineno = lineno === VOID ? null : lineno;
|
|
2551
2551
|
UsageError.call(this, message);
|
|
2552
2552
|
captureStack(this, InvalidFileFormat);
|
|
2553
|
-
this.
|
|
2554
|
-
this.
|
|
2553
|
+
this.h3v_1 = filename;
|
|
2554
|
+
this.i3v_1 = lineno;
|
|
2555
2555
|
}
|
|
2556
|
-
protoOf(InvalidFileFormat).
|
|
2557
|
-
return this.
|
|
2556
|
+
protoOf(InvalidFileFormat).x3s = function (localization, formatter) {
|
|
2557
|
+
return this.i3v_1 == null ? localization.k3v(this.h3v_1, ensureNotNull(this.message)) : localization.j3v(this.h3v_1, this.i3v_1, ensureNotNull(this.message));
|
|
2558
2558
|
};
|
|
2559
2559
|
function MissingOption(option) {
|
|
2560
2560
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2561
2561
|
captureStack(this, MissingOption);
|
|
2562
2562
|
}
|
|
2563
|
-
protoOf(MissingOption).
|
|
2564
|
-
var tmp0_safe_receiver = this.
|
|
2563
|
+
protoOf(MissingOption).x3s = function (localization, formatter) {
|
|
2564
|
+
var tmp0_safe_receiver = this.b3t_1;
|
|
2565
2565
|
var tmp;
|
|
2566
2566
|
if (tmp0_safe_receiver == null) {
|
|
2567
2567
|
tmp = null;
|
|
2568
2568
|
} else {
|
|
2569
2569
|
// Inline function 'kotlin.let' call
|
|
2570
2570
|
// Inline function 'kotlin.contracts.contract' call
|
|
2571
|
-
tmp = formatter.
|
|
2571
|
+
tmp = formatter.u3t(tmp0_safe_receiver);
|
|
2572
2572
|
}
|
|
2573
2573
|
var tmp1_elvis_lhs = tmp;
|
|
2574
|
-
return localization.
|
|
2574
|
+
return localization.p3v(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2575
2575
|
};
|
|
2576
2576
|
function get_defaultArgFileReader() {
|
|
2577
2577
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2608,13 +2608,13 @@
|
|
|
2608
2608
|
// Inline function 'kotlin.collections.component2' call
|
|
2609
2609
|
var invocations = tmp1_loop_parameter.p2();
|
|
2610
2610
|
try {
|
|
2611
|
-
option.
|
|
2611
|
+
option.q3v(context, invocations);
|
|
2612
2612
|
} catch ($p) {
|
|
2613
2613
|
if ($p instanceof UsageError) {
|
|
2614
2614
|
var e = $p;
|
|
2615
2615
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2616
2616
|
errors.s(e);
|
|
2617
|
-
context.
|
|
2617
|
+
context.j3p_1 = true;
|
|
2618
2618
|
} else {
|
|
2619
2619
|
throw $p;
|
|
2620
2620
|
}
|
|
@@ -2639,7 +2639,7 @@
|
|
|
2639
2639
|
while (tmp2_iterator.w()) {
|
|
2640
2640
|
var o = tmp2_iterator.y();
|
|
2641
2641
|
try {
|
|
2642
|
-
o.
|
|
2642
|
+
o.q3v(context, emptyList());
|
|
2643
2643
|
} catch ($p) {
|
|
2644
2644
|
if ($p instanceof IllegalStateException) {
|
|
2645
2645
|
var e_0 = $p;
|
|
@@ -2653,7 +2653,7 @@
|
|
|
2653
2653
|
} else {
|
|
2654
2654
|
if ($p instanceof Abort) {
|
|
2655
2655
|
var e_2 = $p;
|
|
2656
|
-
if (!context.
|
|
2656
|
+
if (!context.j3p_1)
|
|
2657
2657
|
throw e_2;
|
|
2658
2658
|
} else {
|
|
2659
2659
|
throw $p;
|
|
@@ -2666,11 +2666,11 @@
|
|
|
2666
2666
|
while (tmp3_iterator.w()) {
|
|
2667
2667
|
var o_0 = tmp3_iterator.y();
|
|
2668
2668
|
try {
|
|
2669
|
-
o_0.
|
|
2669
|
+
o_0.q3v(context, emptyList());
|
|
2670
2670
|
} catch ($p) {
|
|
2671
2671
|
if ($p instanceof IllegalStateException) {
|
|
2672
2672
|
var e_3 = $p;
|
|
2673
|
-
var tmp4_safe_receiver = Companion_instance_1.
|
|
2673
|
+
var tmp4_safe_receiver = Companion_instance_1.i3t(errors);
|
|
2674
2674
|
if (tmp4_safe_receiver == null)
|
|
2675
2675
|
null;
|
|
2676
2676
|
else {
|
|
@@ -2684,14 +2684,14 @@
|
|
|
2684
2684
|
var e_4 = $p;
|
|
2685
2685
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2686
2686
|
errors.s(e_4);
|
|
2687
|
-
context.
|
|
2687
|
+
context.j3p_1 = true;
|
|
2688
2688
|
} else {
|
|
2689
2689
|
throw $p;
|
|
2690
2690
|
}
|
|
2691
2691
|
}
|
|
2692
2692
|
}
|
|
2693
2693
|
}
|
|
2694
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2694
|
+
var tmp5_safe_receiver = Companion_instance_1.i3t(errors);
|
|
2695
2695
|
if (tmp5_safe_receiver == null)
|
|
2696
2696
|
null;
|
|
2697
2697
|
else {
|
|
@@ -2714,29 +2714,29 @@
|
|
|
2714
2714
|
}
|
|
2715
2715
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2716
2716
|
ParameterHelp.call(this);
|
|
2717
|
-
this.
|
|
2718
|
-
this.
|
|
2719
|
-
this.
|
|
2720
|
-
this.
|
|
2721
|
-
this.
|
|
2722
|
-
this.
|
|
2723
|
-
this.
|
|
2724
|
-
this.
|
|
2725
|
-
this.
|
|
2717
|
+
this.r3v_1 = names;
|
|
2718
|
+
this.s3v_1 = secondaryNames;
|
|
2719
|
+
this.t3v_1 = metavar;
|
|
2720
|
+
this.u3v_1 = help;
|
|
2721
|
+
this.v3v_1 = nvalues;
|
|
2722
|
+
this.w3v_1 = tags;
|
|
2723
|
+
this.x3v_1 = acceptsNumberValueWithoutName;
|
|
2724
|
+
this.y3v_1 = acceptsUnattachedValue;
|
|
2725
|
+
this.z3v_1 = groupName;
|
|
2726
2726
|
}
|
|
2727
2727
|
protoOf(Option).toString = function () {
|
|
2728
|
-
return 'Option(names=' + this.
|
|
2728
|
+
return 'Option(names=' + this.r3v_1 + ', secondaryNames=' + this.s3v_1 + ', metavar=' + this.t3v_1 + ', help=' + this.u3v_1 + ', nvalues=' + this.v3v_1 + ', tags=' + this.w3v_1 + ', acceptsNumberValueWithoutName=' + this.x3v_1 + ', acceptsUnattachedValue=' + this.y3v_1 + ', groupName=' + this.z3v_1 + ')';
|
|
2729
2729
|
};
|
|
2730
2730
|
protoOf(Option).hashCode = function () {
|
|
2731
|
-
var result = hashCode(this.
|
|
2732
|
-
result = imul(result, 31) + hashCode(this.
|
|
2733
|
-
result = imul(result, 31) + (this.
|
|
2734
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2735
|
-
result = imul(result, 31) + this.
|
|
2736
|
-
result = imul(result, 31) + hashCode(this.
|
|
2737
|
-
result = imul(result, 31) + getBooleanHashCode(this.w3v_1) | 0;
|
|
2731
|
+
var result = hashCode(this.r3v_1);
|
|
2732
|
+
result = imul(result, 31) + hashCode(this.s3v_1) | 0;
|
|
2733
|
+
result = imul(result, 31) + (this.t3v_1 == null ? 0 : getStringHashCode(this.t3v_1)) | 0;
|
|
2734
|
+
result = imul(result, 31) + getStringHashCode(this.u3v_1) | 0;
|
|
2735
|
+
result = imul(result, 31) + this.v3v_1.hashCode() | 0;
|
|
2736
|
+
result = imul(result, 31) + hashCode(this.w3v_1) | 0;
|
|
2738
2737
|
result = imul(result, 31) + getBooleanHashCode(this.x3v_1) | 0;
|
|
2739
|
-
result = imul(result, 31) + (this.y3v_1
|
|
2738
|
+
result = imul(result, 31) + getBooleanHashCode(this.y3v_1) | 0;
|
|
2739
|
+
result = imul(result, 31) + (this.z3v_1 == null ? 0 : getStringHashCode(this.z3v_1)) | 0;
|
|
2740
2740
|
return result;
|
|
2741
2741
|
};
|
|
2742
2742
|
protoOf(Option).equals = function (other) {
|
|
@@ -2745,43 +2745,43 @@
|
|
|
2745
2745
|
if (!(other instanceof Option))
|
|
2746
2746
|
return false;
|
|
2747
2747
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2748
|
-
if (!equals(this.q3v_1, tmp0_other_with_cast.q3v_1))
|
|
2749
|
-
return false;
|
|
2750
2748
|
if (!equals(this.r3v_1, tmp0_other_with_cast.r3v_1))
|
|
2751
2749
|
return false;
|
|
2752
|
-
if (!(this.s3v_1
|
|
2750
|
+
if (!equals(this.s3v_1, tmp0_other_with_cast.s3v_1))
|
|
2753
2751
|
return false;
|
|
2754
|
-
if (!(this.t3v_1
|
|
2752
|
+
if (!(this.t3v_1 == tmp0_other_with_cast.t3v_1))
|
|
2755
2753
|
return false;
|
|
2756
|
-
if (!this.u3v_1
|
|
2754
|
+
if (!(this.u3v_1 === tmp0_other_with_cast.u3v_1))
|
|
2757
2755
|
return false;
|
|
2758
|
-
if (!
|
|
2756
|
+
if (!this.v3v_1.equals(tmp0_other_with_cast.v3v_1))
|
|
2759
2757
|
return false;
|
|
2760
|
-
if (!(this.w3v_1
|
|
2758
|
+
if (!equals(this.w3v_1, tmp0_other_with_cast.w3v_1))
|
|
2761
2759
|
return false;
|
|
2762
2760
|
if (!(this.x3v_1 === tmp0_other_with_cast.x3v_1))
|
|
2763
2761
|
return false;
|
|
2764
|
-
if (!(this.y3v_1
|
|
2762
|
+
if (!(this.y3v_1 === tmp0_other_with_cast.y3v_1))
|
|
2763
|
+
return false;
|
|
2764
|
+
if (!(this.z3v_1 == tmp0_other_with_cast.z3v_1))
|
|
2765
2765
|
return false;
|
|
2766
2766
|
return true;
|
|
2767
2767
|
};
|
|
2768
2768
|
function Argument(name, help, required, repeatable, tags) {
|
|
2769
2769
|
ParameterHelp.call(this);
|
|
2770
|
-
this.
|
|
2771
|
-
this.
|
|
2772
|
-
this.
|
|
2773
|
-
this.
|
|
2774
|
-
this.
|
|
2770
|
+
this.a3w_1 = name;
|
|
2771
|
+
this.b3w_1 = help;
|
|
2772
|
+
this.c3w_1 = required;
|
|
2773
|
+
this.d3w_1 = repeatable;
|
|
2774
|
+
this.e3w_1 = tags;
|
|
2775
2775
|
}
|
|
2776
2776
|
protoOf(Argument).toString = function () {
|
|
2777
|
-
return 'Argument(name=' + this.
|
|
2777
|
+
return 'Argument(name=' + this.a3w_1 + ', help=' + this.b3w_1 + ', required=' + this.c3w_1 + ', repeatable=' + this.d3w_1 + ', tags=' + this.e3w_1 + ')';
|
|
2778
2778
|
};
|
|
2779
2779
|
protoOf(Argument).hashCode = function () {
|
|
2780
|
-
var result = getStringHashCode(this.
|
|
2781
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2782
|
-
result = imul(result, 31) + getBooleanHashCode(this.b3w_1) | 0;
|
|
2780
|
+
var result = getStringHashCode(this.a3w_1);
|
|
2781
|
+
result = imul(result, 31) + getStringHashCode(this.b3w_1) | 0;
|
|
2783
2782
|
result = imul(result, 31) + getBooleanHashCode(this.c3w_1) | 0;
|
|
2784
|
-
result = imul(result, 31) +
|
|
2783
|
+
result = imul(result, 31) + getBooleanHashCode(this.d3w_1) | 0;
|
|
2784
|
+
result = imul(result, 31) + hashCode(this.e3w_1) | 0;
|
|
2785
2785
|
return result;
|
|
2786
2786
|
};
|
|
2787
2787
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2790,31 +2790,31 @@
|
|
|
2790
2790
|
if (!(other instanceof Argument))
|
|
2791
2791
|
return false;
|
|
2792
2792
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2793
|
-
if (!(this.z3v_1 === tmp0_other_with_cast.z3v_1))
|
|
2794
|
-
return false;
|
|
2795
2793
|
if (!(this.a3w_1 === tmp0_other_with_cast.a3w_1))
|
|
2796
2794
|
return false;
|
|
2797
2795
|
if (!(this.b3w_1 === tmp0_other_with_cast.b3w_1))
|
|
2798
2796
|
return false;
|
|
2799
2797
|
if (!(this.c3w_1 === tmp0_other_with_cast.c3w_1))
|
|
2800
2798
|
return false;
|
|
2801
|
-
if (!
|
|
2799
|
+
if (!(this.d3w_1 === tmp0_other_with_cast.d3w_1))
|
|
2800
|
+
return false;
|
|
2801
|
+
if (!equals(this.e3w_1, tmp0_other_with_cast.e3w_1))
|
|
2802
2802
|
return false;
|
|
2803
2803
|
return true;
|
|
2804
2804
|
};
|
|
2805
2805
|
function Subcommand(name, help, tags) {
|
|
2806
2806
|
ParameterHelp.call(this);
|
|
2807
|
-
this.
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2807
|
+
this.f3w_1 = name;
|
|
2808
|
+
this.g3w_1 = help;
|
|
2809
|
+
this.h3w_1 = tags;
|
|
2810
2810
|
}
|
|
2811
2811
|
protoOf(Subcommand).toString = function () {
|
|
2812
|
-
return 'Subcommand(name=' + this.
|
|
2812
|
+
return 'Subcommand(name=' + this.f3w_1 + ', help=' + this.g3w_1 + ', tags=' + this.h3w_1 + ')';
|
|
2813
2813
|
};
|
|
2814
2814
|
protoOf(Subcommand).hashCode = function () {
|
|
2815
|
-
var result = getStringHashCode(this.
|
|
2816
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2817
|
-
result = imul(result, 31) + hashCode(this.
|
|
2815
|
+
var result = getStringHashCode(this.f3w_1);
|
|
2816
|
+
result = imul(result, 31) + getStringHashCode(this.g3w_1) | 0;
|
|
2817
|
+
result = imul(result, 31) + hashCode(this.h3w_1) | 0;
|
|
2818
2818
|
return result;
|
|
2819
2819
|
};
|
|
2820
2820
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2823,25 +2823,25 @@
|
|
|
2823
2823
|
if (!(other instanceof Subcommand))
|
|
2824
2824
|
return false;
|
|
2825
2825
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2826
|
-
if (!(this.e3w_1 === tmp0_other_with_cast.e3w_1))
|
|
2827
|
-
return false;
|
|
2828
2826
|
if (!(this.f3w_1 === tmp0_other_with_cast.f3w_1))
|
|
2829
2827
|
return false;
|
|
2830
|
-
if (!
|
|
2828
|
+
if (!(this.g3w_1 === tmp0_other_with_cast.g3w_1))
|
|
2829
|
+
return false;
|
|
2830
|
+
if (!equals(this.h3w_1, tmp0_other_with_cast.h3w_1))
|
|
2831
2831
|
return false;
|
|
2832
2832
|
return true;
|
|
2833
2833
|
};
|
|
2834
2834
|
function Group(name, help) {
|
|
2835
2835
|
ParameterHelp.call(this);
|
|
2836
|
-
this.
|
|
2837
|
-
this.
|
|
2836
|
+
this.i3w_1 = name;
|
|
2837
|
+
this.j3w_1 = help;
|
|
2838
2838
|
}
|
|
2839
2839
|
protoOf(Group).toString = function () {
|
|
2840
|
-
return 'Group(name=' + this.
|
|
2840
|
+
return 'Group(name=' + this.i3w_1 + ', help=' + this.j3w_1 + ')';
|
|
2841
2841
|
};
|
|
2842
2842
|
protoOf(Group).hashCode = function () {
|
|
2843
|
-
var result = getStringHashCode(this.
|
|
2844
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2843
|
+
var result = getStringHashCode(this.i3w_1);
|
|
2844
|
+
result = imul(result, 31) + getStringHashCode(this.j3w_1) | 0;
|
|
2845
2845
|
return result;
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(Group).equals = function (other) {
|
|
@@ -2850,17 +2850,17 @@
|
|
|
2850
2850
|
if (!(other instanceof Group))
|
|
2851
2851
|
return false;
|
|
2852
2852
|
var tmp0_other_with_cast = other instanceof Group ? other : THROW_CCE();
|
|
2853
|
-
if (!(this.h3w_1 === tmp0_other_with_cast.h3w_1))
|
|
2854
|
-
return false;
|
|
2855
2853
|
if (!(this.i3w_1 === tmp0_other_with_cast.i3w_1))
|
|
2856
2854
|
return false;
|
|
2855
|
+
if (!(this.j3w_1 === tmp0_other_with_cast.j3w_1))
|
|
2856
|
+
return false;
|
|
2857
2857
|
return true;
|
|
2858
2858
|
};
|
|
2859
2859
|
function ParameterHelp() {
|
|
2860
2860
|
}
|
|
2861
2861
|
function Tags() {
|
|
2862
|
-
this.
|
|
2863
|
-
this.
|
|
2862
|
+
this.k3w_1 = 'default';
|
|
2863
|
+
this.l3w_1 = 'required';
|
|
2864
2864
|
}
|
|
2865
2865
|
var Tags_instance;
|
|
2866
2866
|
function Tags_getInstance() {
|
|
@@ -2890,15 +2890,15 @@
|
|
|
2890
2890
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2891
2891
|
}
|
|
2892
2892
|
function RenderedSection(title, content) {
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2893
|
+
this.f3x_1 = title;
|
|
2894
|
+
this.g3x_1 = content;
|
|
2895
2895
|
}
|
|
2896
2896
|
protoOf(RenderedSection).toString = function () {
|
|
2897
|
-
return 'RenderedSection(title=' + this.
|
|
2897
|
+
return 'RenderedSection(title=' + this.f3x_1 + ', content=' + this.g3x_1 + ')';
|
|
2898
2898
|
};
|
|
2899
2899
|
protoOf(RenderedSection).hashCode = function () {
|
|
2900
|
-
var result = hashCode(this.
|
|
2901
|
-
result = imul(result, 31) + hashCode(this.
|
|
2900
|
+
var result = hashCode(this.f3x_1);
|
|
2901
|
+
result = imul(result, 31) + hashCode(this.g3x_1) | 0;
|
|
2902
2902
|
return result;
|
|
2903
2903
|
};
|
|
2904
2904
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -2907,25 +2907,25 @@
|
|
|
2907
2907
|
if (!(other instanceof RenderedSection))
|
|
2908
2908
|
return false;
|
|
2909
2909
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
2910
|
-
if (!equals(this.e3x_1, tmp0_other_with_cast.e3x_1))
|
|
2911
|
-
return false;
|
|
2912
2910
|
if (!equals(this.f3x_1, tmp0_other_with_cast.f3x_1))
|
|
2913
2911
|
return false;
|
|
2912
|
+
if (!equals(this.g3x_1, tmp0_other_with_cast.g3x_1))
|
|
2913
|
+
return false;
|
|
2914
2914
|
return true;
|
|
2915
2915
|
};
|
|
2916
2916
|
function DefinitionRow(term, description, marker) {
|
|
2917
2917
|
marker = marker === VOID ? null : marker;
|
|
2918
|
-
this.
|
|
2919
|
-
this.
|
|
2920
|
-
this.
|
|
2918
|
+
this.h3x_1 = term;
|
|
2919
|
+
this.i3x_1 = description;
|
|
2920
|
+
this.j3x_1 = marker;
|
|
2921
2921
|
}
|
|
2922
2922
|
protoOf(DefinitionRow).toString = function () {
|
|
2923
|
-
return 'DefinitionRow(term=' + this.
|
|
2923
|
+
return 'DefinitionRow(term=' + this.h3x_1 + ', description=' + this.i3x_1 + ', marker=' + this.j3x_1 + ')';
|
|
2924
2924
|
};
|
|
2925
2925
|
protoOf(DefinitionRow).hashCode = function () {
|
|
2926
|
-
var result = getStringHashCode(this.
|
|
2927
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2928
|
-
result = imul(result, 31) + (this.
|
|
2926
|
+
var result = getStringHashCode(this.h3x_1);
|
|
2927
|
+
result = imul(result, 31) + getStringHashCode(this.i3x_1) | 0;
|
|
2928
|
+
result = imul(result, 31) + (this.j3x_1 == null ? 0 : getStringHashCode(this.j3x_1)) | 0;
|
|
2929
2929
|
return result;
|
|
2930
2930
|
};
|
|
2931
2931
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -2934,49 +2934,49 @@
|
|
|
2934
2934
|
if (!(other instanceof DefinitionRow))
|
|
2935
2935
|
return false;
|
|
2936
2936
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
2937
|
-
if (!(this.g3x_1 === tmp0_other_with_cast.g3x_1))
|
|
2938
|
-
return false;
|
|
2939
2937
|
if (!(this.h3x_1 === tmp0_other_with_cast.h3x_1))
|
|
2940
2938
|
return false;
|
|
2941
|
-
if (!(this.i3x_1
|
|
2939
|
+
if (!(this.i3x_1 === tmp0_other_with_cast.i3x_1))
|
|
2940
|
+
return false;
|
|
2941
|
+
if (!(this.j3x_1 == tmp0_other_with_cast.j3x_1))
|
|
2942
2942
|
return false;
|
|
2943
2943
|
return true;
|
|
2944
2944
|
};
|
|
2945
2945
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
2946
|
-
this.
|
|
2946
|
+
this.k3x_1 = function_0;
|
|
2947
2947
|
}
|
|
2948
2948
|
protoOf(sam$kotlin_Comparator$0_0).x9 = function (a, b) {
|
|
2949
|
-
return this.
|
|
2949
|
+
return this.k3x_1(a, b);
|
|
2950
2950
|
};
|
|
2951
2951
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
2952
2952
|
return this.x9(a, b);
|
|
2953
2953
|
};
|
|
2954
2954
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
2955
|
-
this.
|
|
2955
|
+
this.l3x_1 = function_0;
|
|
2956
2956
|
}
|
|
2957
2957
|
protoOf(sam$kotlin_Comparator$0_1).x9 = function (a, b) {
|
|
2958
|
-
return this.
|
|
2958
|
+
return this.l3x_1(a, b);
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
2961
2961
|
return this.x9(a, b);
|
|
2962
2962
|
};
|
|
2963
2963
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
2964
2964
|
return function ($this$verticalLayout) {
|
|
2965
|
-
$this$verticalLayout.
|
|
2966
|
-
$this$verticalLayout.
|
|
2965
|
+
$this$verticalLayout.b3i(1);
|
|
2966
|
+
$this$verticalLayout.z3h(this$0.q3x($error, $prolog, $epilog, $parameters, $programName));
|
|
2967
2967
|
return Unit_instance;
|
|
2968
2968
|
};
|
|
2969
2969
|
}
|
|
2970
2970
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
2971
2971
|
return function ($this$definitionList) {
|
|
2972
|
-
$this$definitionList.
|
|
2973
|
-
$this$definitionList.
|
|
2974
|
-
$this$definitionList.
|
|
2972
|
+
$this$definitionList.y3l($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
2973
|
+
$this$definitionList.s3l_1 = true;
|
|
2974
|
+
$this$definitionList.v3l(1);
|
|
2975
2975
|
return Unit_instance;
|
|
2976
2976
|
};
|
|
2977
2977
|
}
|
|
2978
2978
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
2979
|
-
$this$withPadding.
|
|
2979
|
+
$this$withPadding.w3c_1 = 2;
|
|
2980
2980
|
return Unit_instance;
|
|
2981
2981
|
}
|
|
2982
2982
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -2989,24 +2989,24 @@
|
|
|
2989
2989
|
}
|
|
2990
2990
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
2991
2991
|
return function ($this$definitionList) {
|
|
2992
|
-
var tmp0_iterator = this$0.
|
|
2992
|
+
var tmp0_iterator = this$0.r3x($parameters).v();
|
|
2993
2993
|
while (tmp0_iterator.w()) {
|
|
2994
2994
|
var section = tmp0_iterator.y();
|
|
2995
|
-
$this$definitionList.
|
|
2995
|
+
$this$definitionList.z3l(section.f3x_1, section.g3x_1);
|
|
2996
2996
|
}
|
|
2997
2997
|
return Unit_instance;
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
3000
3000
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3001
|
-
$this$withPadding.
|
|
3002
|
-
$this$withPadding.
|
|
3003
|
-
$this$withPadding.
|
|
3001
|
+
$this$withPadding.t3c_1 = 1;
|
|
3002
|
+
$this$withPadding.w3c_1 = 2;
|
|
3003
|
+
$this$withPadding.v3c_1 = 1;
|
|
3004
3004
|
return Unit_instance;
|
|
3005
3005
|
}
|
|
3006
3006
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3007
3007
|
return function ($this$verticalLayout) {
|
|
3008
|
-
$this$verticalLayout.
|
|
3009
|
-
$this$verticalLayout.
|
|
3008
|
+
$this$verticalLayout.c3c($markdown);
|
|
3009
|
+
$this$verticalLayout.c3c(this$0.s3x($options));
|
|
3010
3010
|
return Unit_instance;
|
|
3011
3011
|
};
|
|
3012
3012
|
}
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
var k = _name_for_destructuring_parameter_0__wldtmu.o2();
|
|
3017
3017
|
// Inline function 'kotlin.collections.component2' call
|
|
3018
3018
|
var v = _name_for_destructuring_parameter_0__wldtmu.p2();
|
|
3019
|
-
return this$0.
|
|
3019
|
+
return this$0.t3x(k, v);
|
|
3020
3020
|
};
|
|
3021
3021
|
}
|
|
3022
3022
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3025,7 +3025,7 @@
|
|
|
3025
3025
|
var k = _name_for_destructuring_parameter_0__wldtmu.o2();
|
|
3026
3026
|
// Inline function 'kotlin.collections.component2' call
|
|
3027
3027
|
var v = _name_for_destructuring_parameter_0__wldtmu.p2();
|
|
3028
|
-
return this$0.
|
|
3028
|
+
return this$0.u3x(k, v);
|
|
3029
3029
|
};
|
|
3030
3030
|
}
|
|
3031
3031
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3038,28 +3038,28 @@
|
|
|
3038
3038
|
}
|
|
3039
3039
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3040
3040
|
return function (it) {
|
|
3041
|
-
return this$0.
|
|
3041
|
+
return this$0.v3x(it);
|
|
3042
3042
|
};
|
|
3043
3043
|
}
|
|
3044
3044
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3045
|
-
this.
|
|
3045
|
+
this.w3x_1 = this$0;
|
|
3046
3046
|
}
|
|
3047
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3048
|
-
return this.
|
|
3047
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).u3t = function (name) {
|
|
3048
|
+
return this.w3x_1.v3x(name);
|
|
3049
3049
|
};
|
|
3050
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3051
|
-
return this.
|
|
3050
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).t3t = function (name) {
|
|
3051
|
+
return this.w3x_1.y3x(this.w3x_1.x3x(name));
|
|
3052
3052
|
};
|
|
3053
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3054
|
-
return this.
|
|
3053
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).e3u = function (name) {
|
|
3054
|
+
return this.w3x_1.z3x(name);
|
|
3055
3055
|
};
|
|
3056
3056
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3057
3057
|
return function ($this$definitionList) {
|
|
3058
|
-
$this$definitionList.
|
|
3058
|
+
$this$definitionList.s3l_1 = true;
|
|
3059
3059
|
var tmp0_iterator = $rows.v();
|
|
3060
3060
|
while (tmp0_iterator.w()) {
|
|
3061
3061
|
var row = tmp0_iterator.y();
|
|
3062
|
-
$this$definitionList.
|
|
3062
|
+
$this$definitionList.z3l(this$0.a3y(row), this$0.b3y(row));
|
|
3063
3063
|
}
|
|
3064
3064
|
return Unit_instance;
|
|
3065
3065
|
};
|
|
@@ -3068,22 +3068,22 @@
|
|
|
3068
3068
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3069
3069
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3070
3070
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3071
|
-
this.
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3074
|
-
this.
|
|
3071
|
+
this.m3x_1 = context;
|
|
3072
|
+
this.n3x_1 = requiredOptionMarker;
|
|
3073
|
+
this.o3x_1 = showDefaultValues;
|
|
3074
|
+
this.p3x_1 = showRequiredTag;
|
|
3075
3075
|
}
|
|
3076
|
-
protoOf(MordantHelpFormatter).b3y = function () {
|
|
3077
|
-
return this.l3x_1.d3p_1;
|
|
3078
|
-
};
|
|
3079
3076
|
protoOf(MordantHelpFormatter).c3y = function () {
|
|
3080
|
-
return this.
|
|
3077
|
+
return this.m3x_1.e3p_1;
|
|
3078
|
+
};
|
|
3079
|
+
protoOf(MordantHelpFormatter).d3y = function () {
|
|
3080
|
+
return this.m3x_1.z3o_1.t39_1;
|
|
3081
3081
|
};
|
|
3082
|
-
protoOf(MordantHelpFormatter).
|
|
3082
|
+
protoOf(MordantHelpFormatter).p3q = function (error, prolog, epilog, parameters, programName) {
|
|
3083
3083
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3084
|
-
return this.
|
|
3084
|
+
return this.m3x_1.z3o_1.k3l(widget);
|
|
3085
3085
|
};
|
|
3086
|
-
protoOf(MordantHelpFormatter).
|
|
3086
|
+
protoOf(MordantHelpFormatter).q3x = function (error, prolog, epilog, parameters, programName) {
|
|
3087
3087
|
// Inline function 'kotlin.collections.buildList' call
|
|
3088
3088
|
// Inline function 'kotlin.contracts.contract' call
|
|
3089
3089
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3091,26 +3091,26 @@
|
|
|
3091
3091
|
var this_0 = ArrayList_init_$Create$();
|
|
3092
3092
|
// Inline function 'kotlin.contracts.contract' call
|
|
3093
3093
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3094
|
-
this_0.s(this.
|
|
3094
|
+
this_0.s(this.e3y(parameters, programName));
|
|
3095
3095
|
if (error == null) {
|
|
3096
3096
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3097
3097
|
if (charSequenceLength(prolog) > 0) {
|
|
3098
|
-
this_0.s(this.
|
|
3098
|
+
this_0.s(this.g3y(prolog));
|
|
3099
3099
|
}
|
|
3100
3100
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3101
3101
|
if (!parameters.c1()) {
|
|
3102
|
-
this_0.s(this.
|
|
3102
|
+
this_0.s(this.h3y(parameters));
|
|
3103
3103
|
}
|
|
3104
3104
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3105
3105
|
if (charSequenceLength(epilog) > 0) {
|
|
3106
|
-
this_0.s(this.
|
|
3106
|
+
this_0.s(this.i3y(epilog));
|
|
3107
3107
|
}
|
|
3108
3108
|
} else {
|
|
3109
|
-
this_0.s(this.
|
|
3109
|
+
this_0.s(this.f3y(parameters, error));
|
|
3110
3110
|
}
|
|
3111
3111
|
return this_0.b3();
|
|
3112
3112
|
};
|
|
3113
|
-
protoOf(MordantHelpFormatter).
|
|
3113
|
+
protoOf(MordantHelpFormatter).f3y = function (parameters, error) {
|
|
3114
3114
|
// Inline function 'kotlin.text.buildString' call
|
|
3115
3115
|
// Inline function 'kotlin.contracts.contract' call
|
|
3116
3116
|
// Inline function 'kotlin.apply' call
|
|
@@ -3118,7 +3118,7 @@
|
|
|
3118
3118
|
// Inline function 'kotlin.contracts.contract' call
|
|
3119
3119
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3120
3120
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3121
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3121
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n3t_1;
|
|
3122
3122
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3123
3123
|
var iterator = errors.v();
|
|
3124
3124
|
var index = 0;
|
|
@@ -3130,16 +3130,16 @@
|
|
|
3130
3130
|
// Inline function 'kotlin.text.appendLine' call
|
|
3131
3131
|
this_0.j5(_Char___init__impl__6a9atx(10));
|
|
3132
3132
|
}
|
|
3133
|
-
this_0.i5(this.
|
|
3133
|
+
this_0.i5(this.j3y(this.c3y().m3w()));
|
|
3134
3134
|
this_0.i5(' ');
|
|
3135
|
-
this_0.i5(e.
|
|
3135
|
+
this_0.i5(e.x3s(this.c3y(), this.k3y(this.m3x_1)));
|
|
3136
3136
|
}
|
|
3137
3137
|
var tmp$ret$2 = this_0.toString();
|
|
3138
3138
|
return Text_init_$Create$(tmp$ret$2);
|
|
3139
3139
|
};
|
|
3140
|
-
protoOf(MordantHelpFormatter).
|
|
3141
|
-
var optionalStyle = this.
|
|
3142
|
-
var title = this.
|
|
3140
|
+
protoOf(MordantHelpFormatter).e3y = function (parameters, programName) {
|
|
3141
|
+
var optionalStyle = this.d3y().z3a('muted');
|
|
3142
|
+
var title = this.l3y(this.c3y().w3w());
|
|
3143
3143
|
var prog = title + ' ' + programName;
|
|
3144
3144
|
// Inline function 'kotlin.collections.buildList' call
|
|
3145
3145
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3173,8 +3173,8 @@
|
|
|
3173
3173
|
tmp$ret$0 = false;
|
|
3174
3174
|
}
|
|
3175
3175
|
if (tmp$ret$0) {
|
|
3176
|
-
var metavar = this.
|
|
3177
|
-
this_0.s(optionalStyle.w28(this.
|
|
3176
|
+
var metavar = this.x3x(this.c3y().a3x());
|
|
3177
|
+
this_0.s(optionalStyle.w28(this.m3y(metavar)));
|
|
3178
3178
|
}
|
|
3179
3179
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3180
3180
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3191,12 +3191,12 @@
|
|
|
3191
3191
|
while (tmp0_iterator_1.w()) {
|
|
3192
3192
|
var item = tmp0_iterator_1.y();
|
|
3193
3193
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3194
|
-
var name = this.
|
|
3195
|
-
if (!item.
|
|
3196
|
-
name = this.l3y(name);
|
|
3197
|
-
if (item.c3w_1)
|
|
3194
|
+
var name = this.x3x(item.a3w_1);
|
|
3195
|
+
if (!item.c3w_1)
|
|
3198
3196
|
name = this.m3y(name);
|
|
3199
|
-
|
|
3197
|
+
if (item.d3w_1)
|
|
3198
|
+
name = this.n3y(name);
|
|
3199
|
+
var style = item.c3w_1 ? TextStyle() : optionalStyle;
|
|
3200
3200
|
var tmp$ret$4 = style.w28(name);
|
|
3201
3201
|
this_0.s(tmp$ret$4);
|
|
3202
3202
|
}
|
|
@@ -3225,9 +3225,9 @@
|
|
|
3225
3225
|
tmp$ret$6 = false;
|
|
3226
3226
|
}
|
|
3227
3227
|
if (tmp$ret$6) {
|
|
3228
|
-
var commandMetavar = this.
|
|
3229
|
-
var argsMetavar = this.
|
|
3230
|
-
var repeatedArgs = this.
|
|
3228
|
+
var commandMetavar = this.x3x(this.c3y().b3x());
|
|
3229
|
+
var argsMetavar = this.x3x(this.c3y().c3x());
|
|
3230
|
+
var repeatedArgs = this.n3y(this.m3y(argsMetavar));
|
|
3231
3231
|
this_0.s(optionalStyle.w28(commandMetavar + ' ' + repeatedArgs));
|
|
3232
3232
|
}
|
|
3233
3233
|
var usageParts = this_0.b3();
|
|
@@ -3239,17 +3239,17 @@
|
|
|
3239
3239
|
}
|
|
3240
3240
|
return tmp_1;
|
|
3241
3241
|
};
|
|
3242
|
-
protoOf(MordantHelpFormatter).
|
|
3242
|
+
protoOf(MordantHelpFormatter).g3y = function (prolog) {
|
|
3243
3243
|
var tmp = new Markdown(prolog, true);
|
|
3244
3244
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3245
3245
|
};
|
|
3246
|
-
protoOf(MordantHelpFormatter).
|
|
3246
|
+
protoOf(MordantHelpFormatter).i3y = function (epilog) {
|
|
3247
3247
|
return new Markdown(epilog, true);
|
|
3248
3248
|
};
|
|
3249
|
-
protoOf(MordantHelpFormatter).
|
|
3249
|
+
protoOf(MordantHelpFormatter).o3y = function (title) {
|
|
3250
3250
|
return title + ':';
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf(MordantHelpFormatter).
|
|
3252
|
+
protoOf(MordantHelpFormatter).p3y = function (parameters) {
|
|
3253
3253
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3254
3254
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3255
3255
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3268,7 +3268,7 @@
|
|
|
3268
3268
|
while (tmp0_iterator_0.w()) {
|
|
3269
3269
|
var element_0 = tmp0_iterator_0.y();
|
|
3270
3270
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3271
|
-
var tmp$ret$2 = element_0.
|
|
3271
|
+
var tmp$ret$2 = element_0.i3w_1;
|
|
3272
3272
|
destination_0.l2(tmp$ret$2, element_0);
|
|
3273
3273
|
}
|
|
3274
3274
|
var groupsByName = destination_0;
|
|
@@ -3292,7 +3292,7 @@
|
|
|
3292
3292
|
while (tmp0_iterator_2.w()) {
|
|
3293
3293
|
var element_2 = tmp0_iterator_2.y();
|
|
3294
3294
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3295
|
-
var key = element_2.
|
|
3295
|
+
var key = element_2.z3v_1;
|
|
3296
3296
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3297
3297
|
var value = destination_2.u2(key);
|
|
3298
3298
|
var tmp;
|
|
@@ -3331,19 +3331,19 @@
|
|
|
3331
3331
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3332
3332
|
var title = item.jd();
|
|
3333
3333
|
var params = item.kd();
|
|
3334
|
-
var renderedTitle = this.
|
|
3334
|
+
var renderedTitle = this.o3y(title == null ? this.c3y().x3w() : title);
|
|
3335
3335
|
// Inline function 'kotlin.collections.get' call
|
|
3336
3336
|
var tmp1_safe_receiver = (isInterface(groupsByName, Map) ? groupsByName : THROW_CCE()).u2(title);
|
|
3337
|
-
var content = this.
|
|
3338
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3337
|
+
var content = this.q3y(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j3w_1, params);
|
|
3338
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.r3y(renderedTitle), content);
|
|
3339
3339
|
destination_4.s(tmp$ret$19);
|
|
3340
3340
|
}
|
|
3341
3341
|
return toList_1(destination_4);
|
|
3342
3342
|
};
|
|
3343
|
-
protoOf(MordantHelpFormatter).
|
|
3343
|
+
protoOf(MordantHelpFormatter).h3y = function (parameters) {
|
|
3344
3344
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3345
3345
|
};
|
|
3346
|
-
protoOf(MordantHelpFormatter).
|
|
3346
|
+
protoOf(MordantHelpFormatter).r3x = function (parameters) {
|
|
3347
3347
|
// Inline function 'kotlin.collections.buildList' call
|
|
3348
3348
|
// Inline function 'kotlin.contracts.contract' call
|
|
3349
3349
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3351,12 +3351,12 @@
|
|
|
3351
3351
|
var this_0 = ArrayList_init_$Create$();
|
|
3352
3352
|
// Inline function 'kotlin.contracts.contract' call
|
|
3353
3353
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3354
|
-
this_0.z(this.
|
|
3355
|
-
this_0.z(this.r3y(parameters));
|
|
3354
|
+
this_0.z(this.p3y(parameters));
|
|
3356
3355
|
this_0.z(this.s3y(parameters));
|
|
3356
|
+
this_0.z(this.t3y(parameters));
|
|
3357
3357
|
return this_0.b3();
|
|
3358
3358
|
};
|
|
3359
|
-
protoOf(MordantHelpFormatter).
|
|
3359
|
+
protoOf(MordantHelpFormatter).q3y = function (help, parameters) {
|
|
3360
3360
|
// Inline function 'kotlin.collections.map' call
|
|
3361
3361
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3362
3362
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3365,28 +3365,28 @@
|
|
|
3365
3365
|
var item = tmp0_iterator.y();
|
|
3366
3366
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3367
3367
|
var tmp;
|
|
3368
|
-
if (item.
|
|
3369
|
-
tmp = plus_0(listOf_0(this.
|
|
3368
|
+
if (item.x3v_1) {
|
|
3369
|
+
tmp = plus_0(listOf_0(this.u3y(item)), item.r3v_1);
|
|
3370
3370
|
} else {
|
|
3371
|
-
tmp = item.
|
|
3371
|
+
tmp = item.r3v_1;
|
|
3372
3372
|
}
|
|
3373
3373
|
var unjoinedNames = tmp;
|
|
3374
|
-
var names = mutableListOf([this.
|
|
3374
|
+
var names = mutableListOf([this.v3y(unjoinedNames)]);
|
|
3375
3375
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3376
|
-
if (!item.
|
|
3376
|
+
if (!item.s3v_1.c1()) {
|
|
3377
3377
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3378
|
-
var element = this.
|
|
3378
|
+
var element = this.v3y(item.s3v_1);
|
|
3379
3379
|
names.s(element);
|
|
3380
3380
|
}
|
|
3381
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3382
|
-
var tmp_1 = this.
|
|
3381
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.w3y(item));
|
|
3382
|
+
var tmp_1 = this.x3y(item.u3v_1, item.w3v_1);
|
|
3383
3383
|
var tmp0_subject = 'required';
|
|
3384
3384
|
var tmp_2;
|
|
3385
3385
|
// Inline function 'kotlin.collections.contains' call
|
|
3386
3386
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3387
|
-
var this_0 = item.
|
|
3387
|
+
var this_0 = item.w3v_1;
|
|
3388
3388
|
if ((isInterface(this_0, Map) ? this_0 : THROW_CCE()).s2(tmp0_subject)) {
|
|
3389
|
-
var tmp1_safe_receiver = this.
|
|
3389
|
+
var tmp1_safe_receiver = this.n3x_1;
|
|
3390
3390
|
var tmp_3;
|
|
3391
3391
|
if (tmp1_safe_receiver == null) {
|
|
3392
3392
|
tmp_3 = null;
|
|
@@ -3394,7 +3394,7 @@
|
|
|
3394
3394
|
// Inline function 'kotlin.let' call
|
|
3395
3395
|
// Inline function 'kotlin.contracts.contract' call
|
|
3396
3396
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3397
|
-
tmp_3 = this.
|
|
3397
|
+
tmp_3 = this.y3y(tmp1_safe_receiver);
|
|
3398
3398
|
}
|
|
3399
3399
|
tmp_2 = tmp_3;
|
|
3400
3400
|
} else {
|
|
@@ -3405,12 +3405,12 @@
|
|
|
3405
3405
|
}
|
|
3406
3406
|
var options = destination;
|
|
3407
3407
|
if (help == null)
|
|
3408
|
-
return this.
|
|
3408
|
+
return this.s3x(options);
|
|
3409
3409
|
var tmp_4 = new Markdown(help, true);
|
|
3410
3410
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3411
3411
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3412
3412
|
};
|
|
3413
|
-
protoOf(MordantHelpFormatter).
|
|
3413
|
+
protoOf(MordantHelpFormatter).s3y = function (parameters) {
|
|
3414
3414
|
// Inline function 'kotlin.collections.map' call
|
|
3415
3415
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3416
3416
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3428,7 +3428,7 @@
|
|
|
3428
3428
|
while (tmp0_iterator_0.w()) {
|
|
3429
3429
|
var item = tmp0_iterator_0.y();
|
|
3430
3430
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3431
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3431
|
+
var tmp$ret$2 = new DefinitionRow(this.y3x(this.x3x(item.a3w_1)), this.x3y(item.b3w_1, item.e3w_1));
|
|
3432
3432
|
destination_0.s(tmp$ret$2);
|
|
3433
3433
|
}
|
|
3434
3434
|
var arguments_0 = destination_0;
|
|
@@ -3454,7 +3454,7 @@
|
|
|
3454
3454
|
var element_0 = tmp0_iterator_1.y();
|
|
3455
3455
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3456
3456
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3457
|
-
var this_0 = element_0.
|
|
3457
|
+
var this_0 = element_0.i3x_1;
|
|
3458
3458
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3459
3459
|
tmp$ret$5 = false;
|
|
3460
3460
|
break $l$block_0;
|
|
@@ -3466,10 +3466,10 @@
|
|
|
3466
3466
|
}
|
|
3467
3467
|
if (tmp)
|
|
3468
3468
|
return emptyList();
|
|
3469
|
-
var title = this.
|
|
3470
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3469
|
+
var title = this.r3y(this.o3y(this.c3y().y3w()));
|
|
3470
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.s3x(arguments_0)));
|
|
3471
3471
|
};
|
|
3472
|
-
protoOf(MordantHelpFormatter).
|
|
3472
|
+
protoOf(MordantHelpFormatter).t3y = function (parameters) {
|
|
3473
3473
|
// Inline function 'kotlin.collections.map' call
|
|
3474
3474
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3475
3475
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3487,16 +3487,16 @@
|
|
|
3487
3487
|
while (tmp0_iterator_0.w()) {
|
|
3488
3488
|
var item = tmp0_iterator_0.y();
|
|
3489
3489
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3490
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3490
|
+
var tmp$ret$2 = new DefinitionRow(this.z3x(item.f3w_1), this.x3y(item.g3w_1, item.h3w_1));
|
|
3491
3491
|
destination_0.s(tmp$ret$2);
|
|
3492
3492
|
}
|
|
3493
3493
|
var commands = destination_0;
|
|
3494
3494
|
if (commands.c1())
|
|
3495
3495
|
return emptyList();
|
|
3496
|
-
var title = this.
|
|
3497
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3496
|
+
var title = this.r3y(this.o3y(this.c3y().z3w()));
|
|
3497
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.s3x(commands)));
|
|
3498
3498
|
};
|
|
3499
|
-
protoOf(MordantHelpFormatter).
|
|
3499
|
+
protoOf(MordantHelpFormatter).x3y = function (help, tags) {
|
|
3500
3500
|
var tmp = asSequence(tags);
|
|
3501
3501
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3502
3502
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3514,11 +3514,11 @@
|
|
|
3514
3514
|
}
|
|
3515
3515
|
return tmp_1;
|
|
3516
3516
|
};
|
|
3517
|
-
protoOf(MordantHelpFormatter).
|
|
3517
|
+
protoOf(MordantHelpFormatter).t3x = function (tag, value) {
|
|
3518
3518
|
var tmp;
|
|
3519
3519
|
if (tag === 'default') {
|
|
3520
3520
|
var tmp_0;
|
|
3521
|
-
if (this.
|
|
3521
|
+
if (this.o3x_1) {
|
|
3522
3522
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3523
3523
|
tmp_0 = !isBlank(value);
|
|
3524
3524
|
} else {
|
|
@@ -3527,14 +3527,14 @@
|
|
|
3527
3527
|
tmp = tmp_0;
|
|
3528
3528
|
} else {
|
|
3529
3529
|
if (tag === 'required') {
|
|
3530
|
-
tmp = this.
|
|
3530
|
+
tmp = this.p3x_1;
|
|
3531
3531
|
} else {
|
|
3532
3532
|
tmp = true;
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
3535
|
return tmp;
|
|
3536
3536
|
};
|
|
3537
|
-
protoOf(MordantHelpFormatter).
|
|
3537
|
+
protoOf(MordantHelpFormatter).v3y = function (names) {
|
|
3538
3538
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3539
3539
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3540
3540
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3542,13 +3542,13 @@
|
|
|
3542
3542
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3543
3543
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3544
3544
|
};
|
|
3545
|
-
protoOf(MordantHelpFormatter).
|
|
3545
|
+
protoOf(MordantHelpFormatter).u3x = function (tag, value) {
|
|
3546
3546
|
var tmp;
|
|
3547
3547
|
if (tag === 'default') {
|
|
3548
|
-
tmp = this.
|
|
3548
|
+
tmp = this.c3y().d3x();
|
|
3549
3549
|
} else {
|
|
3550
3550
|
if (tag === 'required') {
|
|
3551
|
-
tmp = this.
|
|
3551
|
+
tmp = this.c3y().e3x();
|
|
3552
3552
|
} else {
|
|
3553
3553
|
tmp = tag;
|
|
3554
3554
|
}
|
|
@@ -3557,67 +3557,67 @@
|
|
|
3557
3557
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3558
3558
|
var tmp_0;
|
|
3559
3559
|
if (tag === 'required') {
|
|
3560
|
-
tmp_0 = this.x3y(fullTag);
|
|
3561
|
-
} else {
|
|
3562
3560
|
tmp_0 = this.y3y(fullTag);
|
|
3561
|
+
} else {
|
|
3562
|
+
tmp_0 = this.z3y(fullTag);
|
|
3563
3563
|
}
|
|
3564
3564
|
return tmp_0;
|
|
3565
3565
|
};
|
|
3566
|
-
protoOf(MordantHelpFormatter).
|
|
3567
|
-
var tmp0_elvis_lhs = option.
|
|
3568
|
-
var metavar = this.
|
|
3569
|
-
return toString(first(first_1(option.
|
|
3566
|
+
protoOf(MordantHelpFormatter).u3y = function (option) {
|
|
3567
|
+
var tmp0_elvis_lhs = option.t3v_1;
|
|
3568
|
+
var metavar = this.x3x(tmp0_elvis_lhs == null ? this.c3y().v3w() : tmp0_elvis_lhs);
|
|
3569
|
+
return toString(first(first_1(option.r3v_1))) + metavar;
|
|
3570
3570
|
};
|
|
3571
|
-
protoOf(MordantHelpFormatter).
|
|
3571
|
+
protoOf(MordantHelpFormatter).x3x = function (name) {
|
|
3572
3572
|
// Inline function 'kotlin.text.lowercase' call
|
|
3573
3573
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3574
3574
|
return '<' + name.toLowerCase() + '>';
|
|
3575
3575
|
};
|
|
3576
|
-
protoOf(MordantHelpFormatter).x3y = function (name) {
|
|
3577
|
-
return this.c3y().y3a('danger').w28(name);
|
|
3578
|
-
};
|
|
3579
3576
|
protoOf(MordantHelpFormatter).y3y = function (name) {
|
|
3580
|
-
return this.
|
|
3577
|
+
return this.d3y().z3a('danger').w28(name);
|
|
3581
3578
|
};
|
|
3582
|
-
protoOf(MordantHelpFormatter).
|
|
3583
|
-
return this.
|
|
3579
|
+
protoOf(MordantHelpFormatter).z3y = function (name) {
|
|
3580
|
+
return this.d3y().z3a('muted').w28(name);
|
|
3584
3581
|
};
|
|
3585
|
-
protoOf(MordantHelpFormatter).
|
|
3586
|
-
return this.
|
|
3582
|
+
protoOf(MordantHelpFormatter).v3x = function (name) {
|
|
3583
|
+
return this.d3y().z3a('info').w28(name);
|
|
3587
3584
|
};
|
|
3588
3585
|
protoOf(MordantHelpFormatter).y3x = function (name) {
|
|
3589
|
-
return this.
|
|
3586
|
+
return this.d3y().z3a('info').w28(name);
|
|
3587
|
+
};
|
|
3588
|
+
protoOf(MordantHelpFormatter).z3x = function (name) {
|
|
3589
|
+
return this.d3y().z3a('info').w28(name);
|
|
3590
3590
|
};
|
|
3591
|
-
protoOf(MordantHelpFormatter).
|
|
3592
|
-
return this.
|
|
3591
|
+
protoOf(MordantHelpFormatter).r3y = function (title) {
|
|
3592
|
+
return this.d3y().z3a('warning').w28(title);
|
|
3593
3593
|
};
|
|
3594
|
-
protoOf(MordantHelpFormatter).
|
|
3595
|
-
return this.
|
|
3594
|
+
protoOf(MordantHelpFormatter).l3y = function (title) {
|
|
3595
|
+
return this.d3y().z3a('warning').w28(title);
|
|
3596
3596
|
};
|
|
3597
|
-
protoOf(MordantHelpFormatter).
|
|
3598
|
-
return this.
|
|
3597
|
+
protoOf(MordantHelpFormatter).j3y = function (title) {
|
|
3598
|
+
return this.d3y().z3a('danger').w28(title);
|
|
3599
3599
|
};
|
|
3600
|
-
protoOf(MordantHelpFormatter).
|
|
3601
|
-
var style = this.
|
|
3600
|
+
protoOf(MordantHelpFormatter).a3z = function (metavar) {
|
|
3601
|
+
var style = this.d3y().z3a('warning').y38(this.d3y().z3a('muted'));
|
|
3602
3602
|
return style.w28(metavar);
|
|
3603
3603
|
};
|
|
3604
|
-
protoOf(MordantHelpFormatter).
|
|
3604
|
+
protoOf(MordantHelpFormatter).k3y = function (context) {
|
|
3605
3605
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3606
3606
|
};
|
|
3607
|
-
protoOf(MordantHelpFormatter).
|
|
3607
|
+
protoOf(MordantHelpFormatter).m3y = function (metavar) {
|
|
3608
3608
|
return '[' + metavar + ']';
|
|
3609
3609
|
};
|
|
3610
|
-
protoOf(MordantHelpFormatter).
|
|
3610
|
+
protoOf(MordantHelpFormatter).n3y = function (metavar) {
|
|
3611
3611
|
return metavar + '...';
|
|
3612
3612
|
};
|
|
3613
|
-
protoOf(MordantHelpFormatter).
|
|
3613
|
+
protoOf(MordantHelpFormatter).b3z = function (metavar) {
|
|
3614
3614
|
return '=' + metavar;
|
|
3615
3615
|
};
|
|
3616
|
-
protoOf(MordantHelpFormatter).
|
|
3617
|
-
if (option.
|
|
3616
|
+
protoOf(MordantHelpFormatter).w3y = function (option) {
|
|
3617
|
+
if (option.t3v_1 == null)
|
|
3618
3618
|
return '';
|
|
3619
3619
|
// Inline function 'kotlin.text.trim' call
|
|
3620
|
-
var this_0 = option.
|
|
3620
|
+
var this_0 = option.t3v_1;
|
|
3621
3621
|
// Inline function 'kotlin.text.trim' call
|
|
3622
3622
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3623
3623
|
var startIndex = 0;
|
|
@@ -3643,25 +3643,25 @@
|
|
|
3643
3643
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3644
3644
|
var metavar = toString_0(tmp$ret$1);
|
|
3645
3645
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3646
|
-
metavar = this.
|
|
3647
|
-
metavar = this.z3y(metavar);
|
|
3648
|
-
if (option.u3v_1.ia_1 > 1)
|
|
3649
|
-
metavar = this.m3y(metavar);
|
|
3646
|
+
metavar = this.x3x(metavar);
|
|
3650
3647
|
metavar = this.a3z(metavar);
|
|
3651
|
-
if (option.
|
|
3652
|
-
metavar = this.
|
|
3648
|
+
if (option.v3v_1.ia_1 > 1)
|
|
3649
|
+
metavar = this.n3y(metavar);
|
|
3650
|
+
metavar = this.b3z(metavar);
|
|
3651
|
+
if (option.v3v_1.ha_1 === 0)
|
|
3652
|
+
metavar = this.m3y(metavar);
|
|
3653
3653
|
return metavar;
|
|
3654
3654
|
};
|
|
3655
|
-
protoOf(MordantHelpFormatter).
|
|
3655
|
+
protoOf(MordantHelpFormatter).a3y = function (row) {
|
|
3656
3656
|
var tmp;
|
|
3657
3657
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3658
|
-
var this_0 = row.
|
|
3658
|
+
var this_0 = row.j3x_1;
|
|
3659
3659
|
// Inline function 'kotlin.contracts.contract' call
|
|
3660
3660
|
if (this_0 == null ? true : charSequenceLength(this_0) === 0) {
|
|
3661
3661
|
tmp = ' ';
|
|
3662
3662
|
} else {
|
|
3663
3663
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3664
|
-
var this_1 = drop(' ', this.
|
|
3664
|
+
var this_1 = drop(' ', this.c3z(row.j3x_1));
|
|
3665
3665
|
var tmp_0;
|
|
3666
3666
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3667
3667
|
if (charSequenceLength(this_1) === 0) {
|
|
@@ -3671,18 +3671,18 @@
|
|
|
3671
3671
|
tmp_0 = this_1;
|
|
3672
3672
|
}
|
|
3673
3673
|
var tmp$ret$3 = tmp_0;
|
|
3674
|
-
tmp = row.
|
|
3674
|
+
tmp = row.j3x_1 + tmp$ret$3;
|
|
3675
3675
|
}
|
|
3676
3676
|
var termPrefix = tmp;
|
|
3677
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3677
|
+
return Text_init_$Create$(termPrefix + row.h3x_1, Whitespace_PRE_WRAP_getInstance());
|
|
3678
3678
|
};
|
|
3679
|
-
protoOf(MordantHelpFormatter).
|
|
3680
|
-
return isBlank(row.
|
|
3679
|
+
protoOf(MordantHelpFormatter).b3y = function (row) {
|
|
3680
|
+
return isBlank(row.i3x_1) ? Text_init_$Create$('') : new Markdown(row.i3x_1, true);
|
|
3681
3681
|
};
|
|
3682
|
-
protoOf(MordantHelpFormatter).
|
|
3682
|
+
protoOf(MordantHelpFormatter).s3x = function (rows) {
|
|
3683
3683
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3684
3684
|
};
|
|
3685
|
-
protoOf(MordantHelpFormatter).
|
|
3685
|
+
protoOf(MordantHelpFormatter).c3z = function (_this__u8e3s4) {
|
|
3686
3686
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3687
3687
|
};
|
|
3688
3688
|
function Argument_0() {
|
|
@@ -3698,118 +3698,118 @@
|
|
|
3698
3698
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3699
3699
|
}
|
|
3700
3700
|
function ArgumentTransformContext(argument, context) {
|
|
3701
|
-
this.
|
|
3702
|
-
this.
|
|
3701
|
+
this.m3z_1 = argument;
|
|
3702
|
+
this.n3z_1 = context;
|
|
3703
3703
|
}
|
|
3704
3704
|
protoOf(ArgumentTransformContext).jc = function () {
|
|
3705
|
-
return this.
|
|
3705
|
+
return this.n3z_1;
|
|
3706
3706
|
};
|
|
3707
|
-
protoOf(ArgumentTransformContext).
|
|
3708
|
-
return this.
|
|
3707
|
+
protoOf(ArgumentTransformContext).m3p = function () {
|
|
3708
|
+
return this.m3z_1.m3p();
|
|
3709
3709
|
};
|
|
3710
3710
|
protoOf(ArgumentTransformContext).za = function () {
|
|
3711
|
-
return this.
|
|
3711
|
+
return this.m3z_1.za();
|
|
3712
3712
|
};
|
|
3713
|
-
protoOf(ArgumentTransformContext).
|
|
3714
|
-
return this.
|
|
3713
|
+
protoOf(ArgumentTransformContext).n3p = function () {
|
|
3714
|
+
return this.m3z_1.n3p();
|
|
3715
3715
|
};
|
|
3716
|
-
protoOf(ArgumentTransformContext).
|
|
3717
|
-
return this.
|
|
3716
|
+
protoOf(ArgumentTransformContext).d3z = function () {
|
|
3717
|
+
return this.m3z_1.d3z();
|
|
3718
3718
|
};
|
|
3719
|
-
protoOf(ArgumentTransformContext).
|
|
3720
|
-
this.
|
|
3719
|
+
protoOf(ArgumentTransformContext).e3z = function (context, values) {
|
|
3720
|
+
this.m3z_1.e3z(context, values);
|
|
3721
3721
|
};
|
|
3722
|
-
protoOf(ArgumentTransformContext).
|
|
3723
|
-
return this.
|
|
3722
|
+
protoOf(ArgumentTransformContext).x3p = function (context) {
|
|
3723
|
+
return this.m3z_1.x3p(context);
|
|
3724
3724
|
};
|
|
3725
|
-
protoOf(ArgumentTransformContext).
|
|
3726
|
-
return this.
|
|
3725
|
+
protoOf(ArgumentTransformContext).h3q = function (context) {
|
|
3726
|
+
return this.m3z_1.h3q(context);
|
|
3727
3727
|
};
|
|
3728
|
-
protoOf(ArgumentTransformContext).
|
|
3729
|
-
this.
|
|
3728
|
+
protoOf(ArgumentTransformContext).f3z = function (context) {
|
|
3729
|
+
this.m3z_1.f3z(context);
|
|
3730
3730
|
};
|
|
3731
|
-
protoOf(ArgumentTransformContext).
|
|
3732
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3731
|
+
protoOf(ArgumentTransformContext).o3z = function (message) {
|
|
3732
|
+
throw BadParameterValue_init_$Create$(message, this.m3z_1);
|
|
3733
3733
|
};
|
|
3734
3734
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3735
|
-
this.
|
|
3736
|
-
this.
|
|
3737
|
-
this.
|
|
3738
|
-
this.
|
|
3739
|
-
this.
|
|
3740
|
-
this.
|
|
3741
|
-
this.
|
|
3742
|
-
this.
|
|
3743
|
-
this.
|
|
3735
|
+
this.p3z_1 = name;
|
|
3736
|
+
this.q3z_1 = nvalues;
|
|
3737
|
+
this.r3z_1 = required;
|
|
3738
|
+
this.s3z_1 = helpGetter;
|
|
3739
|
+
this.t3z_1 = helpTags;
|
|
3740
|
+
this.u3z_1 = explicitCompletionCandidates;
|
|
3741
|
+
this.v3z_1 = transformValue;
|
|
3742
|
+
this.w3z_1 = transformAll;
|
|
3743
|
+
this.x3z_1 = transformValidator;
|
|
3744
3744
|
// Inline function 'kotlin.require' call
|
|
3745
3745
|
// Inline function 'kotlin.contracts.contract' call
|
|
3746
|
-
if (!!(this.
|
|
3746
|
+
if (!!(this.q3z_1 === 0)) {
|
|
3747
3747
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3748
3748
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3749
3749
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3750
3750
|
}
|
|
3751
|
-
this.
|
|
3751
|
+
this.y3z_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3752
3752
|
}
|
|
3753
3753
|
protoOf(ProcessedArgumentImpl).za = function () {
|
|
3754
|
-
return this.o3z_1;
|
|
3755
|
-
};
|
|
3756
|
-
protoOf(ProcessedArgumentImpl).m3p = function () {
|
|
3757
3754
|
return this.p3z_1;
|
|
3758
3755
|
};
|
|
3759
|
-
protoOf(ProcessedArgumentImpl).
|
|
3756
|
+
protoOf(ProcessedArgumentImpl).n3p = function () {
|
|
3760
3757
|
return this.q3z_1;
|
|
3761
3758
|
};
|
|
3762
|
-
protoOf(ProcessedArgumentImpl).
|
|
3759
|
+
protoOf(ProcessedArgumentImpl).d3z = function () {
|
|
3763
3760
|
return this.r3z_1;
|
|
3764
3761
|
};
|
|
3765
|
-
protoOf(ProcessedArgumentImpl).
|
|
3762
|
+
protoOf(ProcessedArgumentImpl).g3z = function () {
|
|
3766
3763
|
return this.s3z_1;
|
|
3767
3764
|
};
|
|
3768
|
-
protoOf(ProcessedArgumentImpl).
|
|
3765
|
+
protoOf(ProcessedArgumentImpl).m3s = function () {
|
|
3769
3766
|
return this.t3z_1;
|
|
3770
3767
|
};
|
|
3771
|
-
protoOf(ProcessedArgumentImpl).
|
|
3768
|
+
protoOf(ProcessedArgumentImpl).i3z = function () {
|
|
3772
3769
|
return this.u3z_1;
|
|
3773
3770
|
};
|
|
3774
|
-
protoOf(ProcessedArgumentImpl).
|
|
3775
|
-
|
|
3771
|
+
protoOf(ProcessedArgumentImpl).h3z = function () {
|
|
3772
|
+
return this.v3z_1;
|
|
3773
|
+
};
|
|
3774
|
+
protoOf(ProcessedArgumentImpl).x3p = function (context) {
|
|
3775
|
+
var tmp0_safe_receiver = this.s3z_1;
|
|
3776
3776
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3777
3777
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3778
3778
|
};
|
|
3779
|
-
protoOf(ProcessedArgumentImpl).
|
|
3780
|
-
return this.
|
|
3779
|
+
protoOf(ProcessedArgumentImpl).z3z = function (_set____db54di) {
|
|
3780
|
+
return this.y3z_1.c40(this, value$factory(), _set____db54di);
|
|
3781
3781
|
};
|
|
3782
3782
|
protoOf(ProcessedArgumentImpl).p2 = function () {
|
|
3783
|
-
return this.
|
|
3783
|
+
return this.y3z_1.d40(this, value$factory_0());
|
|
3784
3784
|
};
|
|
3785
|
-
protoOf(ProcessedArgumentImpl).
|
|
3786
|
-
var tmp0_elvis_lhs = this.
|
|
3785
|
+
protoOf(ProcessedArgumentImpl).m3p = function () {
|
|
3786
|
+
var tmp0_elvis_lhs = this.u3z_1;
|
|
3787
3787
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3788
3788
|
};
|
|
3789
|
-
protoOf(ProcessedArgumentImpl).
|
|
3790
|
-
return new Argument(this.
|
|
3791
|
-
};
|
|
3792
|
-
protoOf(ProcessedArgumentImpl).d40 = function (thisRef, property) {
|
|
3793
|
-
return this.p2();
|
|
3789
|
+
protoOf(ProcessedArgumentImpl).h3q = function (context) {
|
|
3790
|
+
return new Argument(this.p3z_1, this.x3p(context), this.r3z_1 ? true : this.q3z_1 > 1, this.q3z_1 < 0, this.t3z_1);
|
|
3794
3791
|
};
|
|
3795
3792
|
protoOf(ProcessedArgumentImpl).e40 = function (thisRef, property) {
|
|
3796
|
-
return this.
|
|
3793
|
+
return this.p2();
|
|
3797
3794
|
};
|
|
3798
3795
|
protoOf(ProcessedArgumentImpl).f40 = function (thisRef, property) {
|
|
3799
|
-
|
|
3796
|
+
return this.e40(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3797
|
+
};
|
|
3798
|
+
protoOf(ProcessedArgumentImpl).g40 = function (thisRef, property) {
|
|
3799
|
+
if (isBlank(this.p3z_1)) {
|
|
3800
3800
|
var tmp = this;
|
|
3801
3801
|
// Inline function 'kotlin.text.uppercase' call
|
|
3802
3802
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3803
3803
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3804
|
-
tmp.
|
|
3804
|
+
tmp.p3z_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3805
3805
|
}
|
|
3806
|
-
thisRef.
|
|
3806
|
+
thisRef.n3q(this);
|
|
3807
3807
|
return this;
|
|
3808
3808
|
};
|
|
3809
|
-
protoOf(ProcessedArgumentImpl).
|
|
3810
|
-
return this.
|
|
3809
|
+
protoOf(ProcessedArgumentImpl).l3z = function (thisRef, property) {
|
|
3810
|
+
return this.g40(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3811
3811
|
};
|
|
3812
|
-
protoOf(ProcessedArgumentImpl).
|
|
3812
|
+
protoOf(ProcessedArgumentImpl).e3z = function (context, values) {
|
|
3813
3813
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3814
3814
|
// Inline function 'kotlin.collections.map' call
|
|
3815
3815
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3818,15 +3818,15 @@
|
|
|
3818
3818
|
while (tmp0_iterator.w()) {
|
|
3819
3819
|
var item = tmp0_iterator.y();
|
|
3820
3820
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3821
|
-
var tmp$ret$0 = this.
|
|
3821
|
+
var tmp$ret$0 = this.v3z_1(ctx, item);
|
|
3822
3822
|
destination.s(tmp$ret$0);
|
|
3823
3823
|
}
|
|
3824
|
-
this.
|
|
3824
|
+
this.z3z(this.w3z_1(ctx, destination));
|
|
3825
3825
|
};
|
|
3826
|
-
protoOf(ProcessedArgumentImpl).
|
|
3827
|
-
this.
|
|
3826
|
+
protoOf(ProcessedArgumentImpl).f3z = function (context) {
|
|
3827
|
+
this.x3z_1(new ArgumentTransformContext(this, context), this.p2());
|
|
3828
3828
|
};
|
|
3829
|
-
protoOf(ProcessedArgumentImpl).
|
|
3829
|
+
protoOf(ProcessedArgumentImpl).j3z = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3830
3830
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3831
3831
|
};
|
|
3832
3832
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3836,7 +3836,7 @@
|
|
|
3836
3836
|
var this_0 = StringBuilder_init_$Create$();
|
|
3837
3837
|
// Inline function 'kotlin.contracts.contract' call
|
|
3838
3838
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3839
|
-
this_0.i5(this.
|
|
3839
|
+
this_0.i5(this.p3z_1);
|
|
3840
3840
|
// Inline function 'kotlin.onSuccess' call
|
|
3841
3841
|
// Inline function 'kotlin.runCatching' call
|
|
3842
3842
|
var tmp;
|
|
@@ -3890,14 +3890,14 @@
|
|
|
3890
3890
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3891
3891
|
return receiver.p2();
|
|
3892
3892
|
}, function (receiver, value) {
|
|
3893
|
-
return receiver.
|
|
3893
|
+
return receiver.z3z(value);
|
|
3894
3894
|
});
|
|
3895
3895
|
}
|
|
3896
3896
|
function value$factory_0() {
|
|
3897
3897
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3898
3898
|
return receiver.p2();
|
|
3899
3899
|
}, function (receiver, value) {
|
|
3900
|
-
return receiver.
|
|
3900
|
+
return receiver.z3z(value);
|
|
3901
3901
|
});
|
|
3902
3902
|
}
|
|
3903
3903
|
function ParameterGroup() {
|
|
@@ -3909,29 +3909,29 @@
|
|
|
3909
3909
|
return UNINITIALIZED_instance;
|
|
3910
3910
|
}
|
|
3911
3911
|
function NullableLateinit(errorMessage) {
|
|
3912
|
-
this.
|
|
3913
|
-
this.
|
|
3912
|
+
this.a40_1 = errorMessage;
|
|
3913
|
+
this.b40_1 = UNINITIALIZED_instance;
|
|
3914
3914
|
}
|
|
3915
|
-
protoOf(NullableLateinit).
|
|
3916
|
-
if (this.
|
|
3917
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3915
|
+
protoOf(NullableLateinit).d40 = function (thisRef, property) {
|
|
3916
|
+
if (this.b40_1 === UNINITIALIZED_instance)
|
|
3917
|
+
throw IllegalStateException_init_$Create$(this.a40_1);
|
|
3918
3918
|
try {
|
|
3919
|
-
var tmp = this.
|
|
3919
|
+
var tmp = this.b40_1;
|
|
3920
3920
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
3921
3921
|
} catch ($p) {
|
|
3922
3922
|
if ($p instanceof ClassCastException) {
|
|
3923
3923
|
var e = $p;
|
|
3924
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3924
|
+
throw IllegalStateException_init_$Create$(this.a40_1);
|
|
3925
3925
|
} else {
|
|
3926
3926
|
throw $p;
|
|
3927
3927
|
}
|
|
3928
3928
|
}
|
|
3929
3929
|
};
|
|
3930
|
-
protoOf(NullableLateinit).
|
|
3931
|
-
return this.
|
|
3930
|
+
protoOf(NullableLateinit).f40 = function (thisRef, property) {
|
|
3931
|
+
return this.d40(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
3932
3932
|
};
|
|
3933
|
-
protoOf(NullableLateinit).
|
|
3934
|
-
this.
|
|
3933
|
+
protoOf(NullableLateinit).c40 = function (thisRef, property, value) {
|
|
3934
|
+
this.b40_1 = value;
|
|
3935
3935
|
};
|
|
3936
3936
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
3937
3937
|
help = help === VOID ? '' : help;
|
|
@@ -3942,12 +3942,12 @@
|
|
|
3942
3942
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3943
3943
|
var tmp$ret$0 = copyToArray(names);
|
|
3944
3944
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
3945
|
-
var tmp = this_0.
|
|
3946
|
-
var tmp_0 = this_0.
|
|
3947
|
-
var tmp_1 = this_0.
|
|
3948
|
-
var o = this_0.
|
|
3949
|
-
o.
|
|
3950
|
-
_this__u8e3s4.
|
|
3945
|
+
var tmp = this_0.h3z();
|
|
3946
|
+
var tmp_0 = this_0.j40();
|
|
3947
|
+
var tmp_1 = this_0.k40();
|
|
3948
|
+
var o = this_0.l40(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
3949
|
+
o.r3s(groupName);
|
|
3950
|
+
_this__u8e3s4.m3q(o);
|
|
3951
3951
|
return _this__u8e3s4;
|
|
3952
3952
|
}
|
|
3953
3953
|
function eagerOption$lambda($action) {
|
|
@@ -3967,16 +3967,16 @@
|
|
|
3967
3967
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
3968
3968
|
var tmp = boolean(_this__u8e3s4);
|
|
3969
3969
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
3970
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
3970
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).m40(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
3971
3971
|
}
|
|
3972
3972
|
function nullableFlag$lambda($secondaryNames) {
|
|
3973
3973
|
return function ($this$transformValues, it) {
|
|
3974
3974
|
var tmp;
|
|
3975
3975
|
if (it.p() > 1) {
|
|
3976
|
-
$this$transformValues.
|
|
3976
|
+
$this$transformValues.o3z($this$transformValues.p40_1.e3p_1.r3w($this$transformValues.n40_1));
|
|
3977
3977
|
}
|
|
3978
3978
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
3979
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
3979
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.n40_1) : tmp0_elvis_lhs;
|
|
3980
3980
|
};
|
|
3981
3981
|
}
|
|
3982
3982
|
function Option_0() {
|
|
@@ -3985,7 +3985,7 @@
|
|
|
3985
3985
|
var tmp$ret$0;
|
|
3986
3986
|
$l$block_0: {
|
|
3987
3987
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
3988
|
-
var iterator = _this__u8e3s4.
|
|
3988
|
+
var iterator = _this__u8e3s4.o3o().v();
|
|
3989
3989
|
if (!iterator.w()) {
|
|
3990
3990
|
tmp$ret$0 = null;
|
|
3991
3991
|
break $l$block_0;
|
|
@@ -4076,13 +4076,13 @@
|
|
|
4076
4076
|
}
|
|
4077
4077
|
function Parsed(values) {
|
|
4078
4078
|
FinalValue.call(this);
|
|
4079
|
-
this.
|
|
4079
|
+
this.t40_1 = values;
|
|
4080
4080
|
}
|
|
4081
4081
|
protoOf(Parsed).toString = function () {
|
|
4082
|
-
return 'Parsed(values=' + this.
|
|
4082
|
+
return 'Parsed(values=' + this.t40_1 + ')';
|
|
4083
4083
|
};
|
|
4084
4084
|
protoOf(Parsed).hashCode = function () {
|
|
4085
|
-
return hashCode(this.
|
|
4085
|
+
return hashCode(this.t40_1);
|
|
4086
4086
|
};
|
|
4087
4087
|
protoOf(Parsed).equals = function (other) {
|
|
4088
4088
|
if (this === other)
|
|
@@ -4090,19 +4090,19 @@
|
|
|
4090
4090
|
if (!(other instanceof Parsed))
|
|
4091
4091
|
return false;
|
|
4092
4092
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4093
|
-
if (!equals(this.
|
|
4093
|
+
if (!equals(this.t40_1, tmp0_other_with_cast.t40_1))
|
|
4094
4094
|
return false;
|
|
4095
4095
|
return true;
|
|
4096
4096
|
};
|
|
4097
4097
|
function Sourced(values) {
|
|
4098
4098
|
FinalValue.call(this);
|
|
4099
|
-
this.
|
|
4099
|
+
this.u40_1 = values;
|
|
4100
4100
|
}
|
|
4101
4101
|
protoOf(Sourced).toString = function () {
|
|
4102
|
-
return 'Sourced(values=' + this.
|
|
4102
|
+
return 'Sourced(values=' + this.u40_1 + ')';
|
|
4103
4103
|
};
|
|
4104
4104
|
protoOf(Sourced).hashCode = function () {
|
|
4105
|
-
return hashCode(this.
|
|
4105
|
+
return hashCode(this.u40_1);
|
|
4106
4106
|
};
|
|
4107
4107
|
protoOf(Sourced).equals = function (other) {
|
|
4108
4108
|
if (this === other)
|
|
@@ -4110,21 +4110,21 @@
|
|
|
4110
4110
|
if (!(other instanceof Sourced))
|
|
4111
4111
|
return false;
|
|
4112
4112
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4113
|
-
if (!equals(this.
|
|
4113
|
+
if (!equals(this.u40_1, tmp0_other_with_cast.u40_1))
|
|
4114
4114
|
return false;
|
|
4115
4115
|
return true;
|
|
4116
4116
|
};
|
|
4117
4117
|
function Envvar(key, value) {
|
|
4118
4118
|
FinalValue.call(this);
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4119
|
+
this.v40_1 = key;
|
|
4120
|
+
this.w40_1 = value;
|
|
4121
4121
|
}
|
|
4122
4122
|
protoOf(Envvar).toString = function () {
|
|
4123
|
-
return 'Envvar(key=' + this.
|
|
4123
|
+
return 'Envvar(key=' + this.v40_1 + ', value=' + this.w40_1 + ')';
|
|
4124
4124
|
};
|
|
4125
4125
|
protoOf(Envvar).hashCode = function () {
|
|
4126
|
-
var result = getStringHashCode(this.
|
|
4127
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4126
|
+
var result = getStringHashCode(this.v40_1);
|
|
4127
|
+
result = imul(result, 31) + getStringHashCode(this.w40_1) | 0;
|
|
4128
4128
|
return result;
|
|
4129
4129
|
};
|
|
4130
4130
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4133,10 +4133,10 @@
|
|
|
4133
4133
|
if (!(other instanceof Envvar))
|
|
4134
4134
|
return false;
|
|
4135
4135
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4136
|
-
if (!(this.u40_1 === tmp0_other_with_cast.u40_1))
|
|
4137
|
-
return false;
|
|
4138
4136
|
if (!(this.v40_1 === tmp0_other_with_cast.v40_1))
|
|
4139
4137
|
return false;
|
|
4138
|
+
if (!(this.w40_1 === tmp0_other_with_cast.w40_1))
|
|
4139
|
+
return false;
|
|
4140
4140
|
return true;
|
|
4141
4141
|
};
|
|
4142
4142
|
function FinalValue() {
|
|
@@ -4147,7 +4147,7 @@
|
|
|
4147
4147
|
if (!invocations.c1()) {
|
|
4148
4148
|
tmp = new Parsed(invocations);
|
|
4149
4149
|
} else {
|
|
4150
|
-
if (context.
|
|
4150
|
+
if (context.b3p_1) {
|
|
4151
4151
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4152
4152
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4153
4153
|
} else {
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
return setOf_0(normalizedName);
|
|
4197
4197
|
}
|
|
4198
4198
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4199
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4199
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.o3o(), envvar, context.u3o_1);
|
|
4200
4200
|
var tmp;
|
|
4201
4201
|
if (tmp0_elvis_lhs == null) {
|
|
4202
4202
|
return null;
|
|
@@ -4204,7 +4204,7 @@
|
|
|
4204
4204
|
tmp = tmp0_elvis_lhs;
|
|
4205
4205
|
}
|
|
4206
4206
|
var env = tmp;
|
|
4207
|
-
var tmp1_safe_receiver = context.
|
|
4207
|
+
var tmp1_safe_receiver = context.f3p_1(env);
|
|
4208
4208
|
var tmp_0;
|
|
4209
4209
|
if (tmp1_safe_receiver == null) {
|
|
4210
4210
|
tmp_0 = null;
|
|
@@ -4217,8 +4217,8 @@
|
|
|
4217
4217
|
return tmp_0;
|
|
4218
4218
|
}
|
|
4219
4219
|
function readValueSource(_this__u8e3s4, context) {
|
|
4220
|
-
var tmp0_safe_receiver = context.
|
|
4221
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4220
|
+
var tmp0_safe_receiver = context.c3p_1;
|
|
4221
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x40(context, _this__u8e3s4);
|
|
4222
4222
|
var tmp;
|
|
4223
4223
|
if (tmp1_safe_receiver == null) {
|
|
4224
4224
|
tmp = null;
|
|
@@ -4249,56 +4249,56 @@
|
|
|
4249
4249
|
return toString(charSequenceGet(it.p2(), 0)) + '-' + toString(charSequenceGet(it.p2(), 1));
|
|
4250
4250
|
}
|
|
4251
4251
|
function OptionTransformContext(option, context) {
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4252
|
+
this.b3q_1 = option;
|
|
4253
|
+
this.c3q_1 = context;
|
|
4254
4254
|
}
|
|
4255
4255
|
protoOf(OptionTransformContext).jc = function () {
|
|
4256
|
-
return this.
|
|
4256
|
+
return this.c3q_1;
|
|
4257
4257
|
};
|
|
4258
|
-
protoOf(OptionTransformContext).
|
|
4259
|
-
return this.
|
|
4258
|
+
protoOf(OptionTransformContext).l3q = function () {
|
|
4259
|
+
return this.b3q_1.l3q();
|
|
4260
4260
|
};
|
|
4261
|
-
protoOf(OptionTransformContext).
|
|
4262
|
-
return this.
|
|
4261
|
+
protoOf(OptionTransformContext).p3s = function () {
|
|
4262
|
+
return this.b3q_1.p3s();
|
|
4263
4263
|
};
|
|
4264
|
-
protoOf(OptionTransformContext).
|
|
4265
|
-
return this.
|
|
4264
|
+
protoOf(OptionTransformContext).m3p = function () {
|
|
4265
|
+
return this.b3q_1.m3p();
|
|
4266
4266
|
};
|
|
4267
|
-
protoOf(OptionTransformContext).
|
|
4268
|
-
return this.
|
|
4267
|
+
protoOf(OptionTransformContext).o3s = function () {
|
|
4268
|
+
return this.b3q_1.o3s();
|
|
4269
4269
|
};
|
|
4270
|
-
protoOf(OptionTransformContext).
|
|
4271
|
-
return this.
|
|
4270
|
+
protoOf(OptionTransformContext).m3s = function () {
|
|
4271
|
+
return this.b3q_1.m3s();
|
|
4272
4272
|
};
|
|
4273
|
-
protoOf(OptionTransformContext).
|
|
4274
|
-
return this.
|
|
4273
|
+
protoOf(OptionTransformContext).l3p = function () {
|
|
4274
|
+
return this.b3q_1.l3p();
|
|
4275
4275
|
};
|
|
4276
|
-
protoOf(OptionTransformContext).
|
|
4277
|
-
return this.
|
|
4276
|
+
protoOf(OptionTransformContext).o3o = function () {
|
|
4277
|
+
return this.b3q_1.o3o();
|
|
4278
4278
|
};
|
|
4279
|
-
protoOf(OptionTransformContext).
|
|
4280
|
-
return this.
|
|
4279
|
+
protoOf(OptionTransformContext).n3p = function () {
|
|
4280
|
+
return this.b3q_1.n3p();
|
|
4281
4281
|
};
|
|
4282
|
-
protoOf(OptionTransformContext).
|
|
4283
|
-
return this.
|
|
4282
|
+
protoOf(OptionTransformContext).p3o = function () {
|
|
4283
|
+
return this.b3q_1.p3o();
|
|
4284
4284
|
};
|
|
4285
|
-
protoOf(OptionTransformContext).
|
|
4286
|
-
this.
|
|
4285
|
+
protoOf(OptionTransformContext).q3v = function (context, invocations) {
|
|
4286
|
+
this.b3q_1.q3v(context, invocations);
|
|
4287
4287
|
};
|
|
4288
|
-
protoOf(OptionTransformContext).
|
|
4289
|
-
return this.
|
|
4288
|
+
protoOf(OptionTransformContext).q40 = function (context) {
|
|
4289
|
+
return this.b3q_1.q40(context);
|
|
4290
4290
|
};
|
|
4291
|
-
protoOf(OptionTransformContext).
|
|
4292
|
-
return this.
|
|
4291
|
+
protoOf(OptionTransformContext).w3p = function (context) {
|
|
4292
|
+
return this.b3q_1.w3p(context);
|
|
4293
4293
|
};
|
|
4294
|
-
protoOf(OptionTransformContext).
|
|
4295
|
-
return this.
|
|
4294
|
+
protoOf(OptionTransformContext).h3q = function (context) {
|
|
4295
|
+
return this.b3q_1.h3q(context);
|
|
4296
4296
|
};
|
|
4297
|
-
protoOf(OptionTransformContext).
|
|
4298
|
-
this.
|
|
4297
|
+
protoOf(OptionTransformContext).f3z = function (context) {
|
|
4298
|
+
this.b3q_1.f3z(context);
|
|
4299
4299
|
};
|
|
4300
|
-
protoOf(OptionTransformContext).
|
|
4301
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4300
|
+
protoOf(OptionTransformContext).o3z = function (message) {
|
|
4301
|
+
throw BadParameterValue_init_$Create$_0(message, this.b3q_1);
|
|
4302
4302
|
};
|
|
4303
4303
|
function OptionWithValues() {
|
|
4304
4304
|
}
|
|
@@ -4331,146 +4331,146 @@
|
|
|
4331
4331
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, null, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4332
4332
|
}
|
|
4333
4333
|
function OptionCallTransformContext(name, option, context) {
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4334
|
+
this.n40_1 = name;
|
|
4335
|
+
this.o40_1 = option;
|
|
4336
|
+
this.p40_1 = context;
|
|
4337
4337
|
}
|
|
4338
4338
|
protoOf(OptionCallTransformContext).jc = function () {
|
|
4339
|
-
return this.
|
|
4339
|
+
return this.p40_1;
|
|
4340
4340
|
};
|
|
4341
|
-
protoOf(OptionCallTransformContext).
|
|
4342
|
-
return this.
|
|
4341
|
+
protoOf(OptionCallTransformContext).l3q = function () {
|
|
4342
|
+
return this.o40_1.l3q();
|
|
4343
4343
|
};
|
|
4344
|
-
protoOf(OptionCallTransformContext).
|
|
4345
|
-
return this.
|
|
4344
|
+
protoOf(OptionCallTransformContext).p3s = function () {
|
|
4345
|
+
return this.o40_1.p3s();
|
|
4346
4346
|
};
|
|
4347
|
-
protoOf(OptionCallTransformContext).
|
|
4348
|
-
return this.
|
|
4347
|
+
protoOf(OptionCallTransformContext).m3p = function () {
|
|
4348
|
+
return this.o40_1.m3p();
|
|
4349
4349
|
};
|
|
4350
|
-
protoOf(OptionCallTransformContext).
|
|
4351
|
-
return this.
|
|
4350
|
+
protoOf(OptionCallTransformContext).o3s = function () {
|
|
4351
|
+
return this.o40_1.o3s();
|
|
4352
4352
|
};
|
|
4353
|
-
protoOf(OptionCallTransformContext).
|
|
4354
|
-
return this.
|
|
4353
|
+
protoOf(OptionCallTransformContext).m3s = function () {
|
|
4354
|
+
return this.o40_1.m3s();
|
|
4355
4355
|
};
|
|
4356
|
-
protoOf(OptionCallTransformContext).
|
|
4357
|
-
return this.
|
|
4356
|
+
protoOf(OptionCallTransformContext).l3p = function () {
|
|
4357
|
+
return this.o40_1.l3p();
|
|
4358
4358
|
};
|
|
4359
|
-
protoOf(OptionCallTransformContext).
|
|
4360
|
-
return this.
|
|
4359
|
+
protoOf(OptionCallTransformContext).o3o = function () {
|
|
4360
|
+
return this.o40_1.o3o();
|
|
4361
4361
|
};
|
|
4362
|
-
protoOf(OptionCallTransformContext).
|
|
4363
|
-
return this.
|
|
4362
|
+
protoOf(OptionCallTransformContext).n3p = function () {
|
|
4363
|
+
return this.o40_1.n3p();
|
|
4364
4364
|
};
|
|
4365
|
-
protoOf(OptionCallTransformContext).
|
|
4366
|
-
return this.
|
|
4365
|
+
protoOf(OptionCallTransformContext).p3o = function () {
|
|
4366
|
+
return this.o40_1.p3o();
|
|
4367
4367
|
};
|
|
4368
|
-
protoOf(OptionCallTransformContext).
|
|
4369
|
-
this.
|
|
4368
|
+
protoOf(OptionCallTransformContext).q3v = function (context, invocations) {
|
|
4369
|
+
this.o40_1.q3v(context, invocations);
|
|
4370
4370
|
};
|
|
4371
|
-
protoOf(OptionCallTransformContext).
|
|
4372
|
-
return this.
|
|
4371
|
+
protoOf(OptionCallTransformContext).q40 = function (context) {
|
|
4372
|
+
return this.o40_1.q40(context);
|
|
4373
4373
|
};
|
|
4374
|
-
protoOf(OptionCallTransformContext).
|
|
4375
|
-
return this.
|
|
4374
|
+
protoOf(OptionCallTransformContext).w3p = function (context) {
|
|
4375
|
+
return this.o40_1.w3p(context);
|
|
4376
4376
|
};
|
|
4377
|
-
protoOf(OptionCallTransformContext).
|
|
4378
|
-
return this.
|
|
4377
|
+
protoOf(OptionCallTransformContext).h3q = function (context) {
|
|
4378
|
+
return this.o40_1.h3q(context);
|
|
4379
4379
|
};
|
|
4380
|
-
protoOf(OptionCallTransformContext).
|
|
4381
|
-
this.
|
|
4380
|
+
protoOf(OptionCallTransformContext).f3z = function (context) {
|
|
4381
|
+
this.o40_1.f3z(context);
|
|
4382
4382
|
};
|
|
4383
|
-
protoOf(OptionCallTransformContext).
|
|
4384
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4383
|
+
protoOf(OptionCallTransformContext).o3z = function (message) {
|
|
4384
|
+
throw BadParameterValue_init_$Create$_1(message, this.o40_1, this.n40_1);
|
|
4385
4385
|
};
|
|
4386
4386
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4387
|
-
return $this$null.
|
|
4387
|
+
return $this$null.e3p_1.u3w();
|
|
4388
4388
|
}
|
|
4389
4389
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4395
|
-
this.
|
|
4396
|
-
this.
|
|
4397
|
-
this.
|
|
4398
|
-
this.
|
|
4399
|
-
this.
|
|
4400
|
-
this.
|
|
4401
|
-
this.
|
|
4402
|
-
this.
|
|
4403
|
-
this.
|
|
4404
|
-
this.
|
|
4405
|
-
this.
|
|
4406
|
-
this.
|
|
4407
|
-
this.u41_1 = null;
|
|
4390
|
+
this.e41_1 = metavarGetter;
|
|
4391
|
+
this.f41_1 = nvalues;
|
|
4392
|
+
this.g41_1 = helpGetter;
|
|
4393
|
+
this.h41_1 = hidden;
|
|
4394
|
+
this.i41_1 = helpTags;
|
|
4395
|
+
this.j41_1 = valueSourceKey;
|
|
4396
|
+
this.k41_1 = envvar;
|
|
4397
|
+
this.l41_1 = valueSplit;
|
|
4398
|
+
this.m41_1 = explicitCompletionCandidates;
|
|
4399
|
+
this.n41_1 = secondaryNames;
|
|
4400
|
+
this.o41_1 = acceptsNumberValueWithoutName;
|
|
4401
|
+
this.p41_1 = acceptsUnattachedValue;
|
|
4402
|
+
this.q41_1 = eager;
|
|
4403
|
+
this.r41_1 = transformValue;
|
|
4404
|
+
this.s41_1 = transformEach;
|
|
4405
|
+
this.t41_1 = transformAll;
|
|
4406
|
+
this.u41_1 = transformValidator;
|
|
4408
4407
|
this.v41_1 = null;
|
|
4409
|
-
this.w41_1 =
|
|
4410
|
-
this.x41_1 =
|
|
4408
|
+
this.w41_1 = null;
|
|
4409
|
+
this.x41_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4410
|
+
this.y41_1 = names;
|
|
4411
4411
|
}
|
|
4412
|
-
protoOf(OptionWithValuesImpl).
|
|
4413
|
-
return this.d41_1;
|
|
4414
|
-
};
|
|
4415
|
-
protoOf(OptionWithValuesImpl).m3p = function () {
|
|
4412
|
+
protoOf(OptionWithValuesImpl).a41 = function () {
|
|
4416
4413
|
return this.e41_1;
|
|
4417
4414
|
};
|
|
4418
|
-
protoOf(OptionWithValuesImpl).
|
|
4415
|
+
protoOf(OptionWithValuesImpl).n3p = function () {
|
|
4419
4416
|
return this.f41_1;
|
|
4420
4417
|
};
|
|
4421
|
-
protoOf(OptionWithValuesImpl).
|
|
4418
|
+
protoOf(OptionWithValuesImpl).g3z = function () {
|
|
4422
4419
|
return this.g41_1;
|
|
4423
4420
|
};
|
|
4424
|
-
protoOf(OptionWithValuesImpl).
|
|
4421
|
+
protoOf(OptionWithValuesImpl).l3p = function () {
|
|
4425
4422
|
return this.h41_1;
|
|
4426
4423
|
};
|
|
4427
4424
|
protoOf(OptionWithValuesImpl).m3s = function () {
|
|
4428
4425
|
return this.i41_1;
|
|
4429
4426
|
};
|
|
4430
|
-
protoOf(OptionWithValuesImpl).
|
|
4427
|
+
protoOf(OptionWithValuesImpl).n3s = function () {
|
|
4431
4428
|
return this.j41_1;
|
|
4432
4429
|
};
|
|
4433
|
-
protoOf(OptionWithValuesImpl).
|
|
4430
|
+
protoOf(OptionWithValuesImpl).y40 = function () {
|
|
4434
4431
|
return this.k41_1;
|
|
4435
4432
|
};
|
|
4436
|
-
protoOf(OptionWithValuesImpl).
|
|
4433
|
+
protoOf(OptionWithValuesImpl).b41 = function () {
|
|
4437
4434
|
return this.l41_1;
|
|
4438
4435
|
};
|
|
4439
|
-
protoOf(OptionWithValuesImpl).
|
|
4436
|
+
protoOf(OptionWithValuesImpl).i3z = function () {
|
|
4440
4437
|
return this.m41_1;
|
|
4441
4438
|
};
|
|
4442
|
-
protoOf(OptionWithValuesImpl).
|
|
4439
|
+
protoOf(OptionWithValuesImpl).p3o = function () {
|
|
4443
4440
|
return this.n41_1;
|
|
4444
4441
|
};
|
|
4445
|
-
protoOf(OptionWithValuesImpl).
|
|
4442
|
+
protoOf(OptionWithValuesImpl).l3q = function () {
|
|
4446
4443
|
return this.o41_1;
|
|
4447
4444
|
};
|
|
4448
|
-
protoOf(OptionWithValuesImpl).
|
|
4445
|
+
protoOf(OptionWithValuesImpl).p3s = function () {
|
|
4449
4446
|
return this.p41_1;
|
|
4450
4447
|
};
|
|
4451
|
-
protoOf(OptionWithValuesImpl).
|
|
4448
|
+
protoOf(OptionWithValuesImpl).o3s = function () {
|
|
4452
4449
|
return this.q41_1;
|
|
4453
4450
|
};
|
|
4454
|
-
protoOf(OptionWithValuesImpl).
|
|
4451
|
+
protoOf(OptionWithValuesImpl).h3z = function () {
|
|
4455
4452
|
return this.r41_1;
|
|
4456
4453
|
};
|
|
4457
4454
|
protoOf(OptionWithValuesImpl).j40 = function () {
|
|
4458
4455
|
return this.s41_1;
|
|
4459
4456
|
};
|
|
4460
|
-
protoOf(OptionWithValuesImpl).
|
|
4457
|
+
protoOf(OptionWithValuesImpl).k40 = function () {
|
|
4461
4458
|
return this.t41_1;
|
|
4462
4459
|
};
|
|
4463
|
-
protoOf(OptionWithValuesImpl).
|
|
4460
|
+
protoOf(OptionWithValuesImpl).z40 = function () {
|
|
4464
4461
|
return this.u41_1;
|
|
4465
4462
|
};
|
|
4466
|
-
protoOf(OptionWithValuesImpl).q3s = function (
|
|
4467
|
-
this.v41_1 = _set____db54di;
|
|
4468
|
-
};
|
|
4469
|
-
protoOf(OptionWithValuesImpl).k3s = function () {
|
|
4463
|
+
protoOf(OptionWithValuesImpl).q3s = function () {
|
|
4470
4464
|
return this.v41_1;
|
|
4471
4465
|
};
|
|
4472
|
-
protoOf(OptionWithValuesImpl).
|
|
4473
|
-
|
|
4466
|
+
protoOf(OptionWithValuesImpl).r3s = function (_set____db54di) {
|
|
4467
|
+
this.w41_1 = _set____db54di;
|
|
4468
|
+
};
|
|
4469
|
+
protoOf(OptionWithValuesImpl).l3s = function () {
|
|
4470
|
+
return this.w41_1;
|
|
4471
|
+
};
|
|
4472
|
+
protoOf(OptionWithValuesImpl).q40 = function (context) {
|
|
4473
|
+
var tmp0_elvis_lhs = this.e41_1;
|
|
4474
4474
|
var tmp;
|
|
4475
4475
|
if (tmp0_elvis_lhs == null) {
|
|
4476
4476
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4479,30 +4479,30 @@
|
|
|
4479
4479
|
}
|
|
4480
4480
|
return tmp(context);
|
|
4481
4481
|
};
|
|
4482
|
-
protoOf(OptionWithValuesImpl).
|
|
4483
|
-
return this.
|
|
4482
|
+
protoOf(OptionWithValuesImpl).z3z = function (_set____db54di) {
|
|
4483
|
+
return this.x41_1.c40(this, value$factory_1(), _set____db54di);
|
|
4484
4484
|
};
|
|
4485
4485
|
protoOf(OptionWithValuesImpl).p2 = function () {
|
|
4486
|
-
return this.
|
|
4486
|
+
return this.x41_1.d40(this, value$factory_2());
|
|
4487
4487
|
};
|
|
4488
|
-
protoOf(OptionWithValuesImpl).
|
|
4489
|
-
return this.
|
|
4488
|
+
protoOf(OptionWithValuesImpl).o3o = function () {
|
|
4489
|
+
return this.y41_1;
|
|
4490
4490
|
};
|
|
4491
|
-
protoOf(OptionWithValuesImpl).
|
|
4492
|
-
var tmp0_elvis_lhs = this.
|
|
4491
|
+
protoOf(OptionWithValuesImpl).m3p = function () {
|
|
4492
|
+
var tmp0_elvis_lhs = this.m41_1;
|
|
4493
4493
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4494
4494
|
};
|
|
4495
|
-
protoOf(OptionWithValuesImpl).
|
|
4496
|
-
var tmp0_safe_receiver = this.
|
|
4495
|
+
protoOf(OptionWithValuesImpl).w3p = function (context) {
|
|
4496
|
+
var tmp0_safe_receiver = this.g41_1;
|
|
4497
4497
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4498
4498
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4499
4499
|
};
|
|
4500
|
-
protoOf(OptionWithValuesImpl).
|
|
4501
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4500
|
+
protoOf(OptionWithValuesImpl).q3v = function (context, invocations) {
|
|
4501
|
+
var v = getFinalValue(this, context, invocations, this.k41_1);
|
|
4502
4502
|
var tmp;
|
|
4503
4503
|
if (v instanceof Parsed) {
|
|
4504
4504
|
var tmp_0;
|
|
4505
|
-
if (this.
|
|
4505
|
+
if (this.l41_1 == null) {
|
|
4506
4506
|
tmp_0 = invocations;
|
|
4507
4507
|
} else {
|
|
4508
4508
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4514,17 +4514,17 @@
|
|
|
4514
4514
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4515
4515
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4516
4516
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4517
|
-
var this_0 = item.
|
|
4517
|
+
var this_0 = item.b42_1;
|
|
4518
4518
|
var destination_0 = ArrayList_init_$Create$();
|
|
4519
4519
|
var tmp0_iterator_0 = this_0.v();
|
|
4520
4520
|
while (tmp0_iterator_0.w()) {
|
|
4521
4521
|
var element = tmp0_iterator_0.y();
|
|
4522
4522
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4523
4523
|
// Inline function 'kotlin.text.split' call
|
|
4524
|
-
var list = this.
|
|
4524
|
+
var list = this.l41_1.b9(element, 0);
|
|
4525
4525
|
addAll(destination_0, list);
|
|
4526
4526
|
}
|
|
4527
|
-
var tmp$ret$4 = item.
|
|
4527
|
+
var tmp$ret$4 = item.c42(VOID, destination_0);
|
|
4528
4528
|
destination.s(tmp$ret$4);
|
|
4529
4529
|
}
|
|
4530
4530
|
tmp_0 = destination;
|
|
@@ -4533,27 +4533,27 @@
|
|
|
4533
4533
|
} else {
|
|
4534
4534
|
if (v instanceof Sourced) {
|
|
4535
4535
|
// Inline function 'kotlin.collections.map' call
|
|
4536
|
-
var this_1 = v.
|
|
4536
|
+
var this_1 = v.u40_1;
|
|
4537
4537
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4538
4538
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4539
4539
|
var tmp0_iterator_1 = this_1.v();
|
|
4540
4540
|
while (tmp0_iterator_1.w()) {
|
|
4541
4541
|
var item_0 = tmp0_iterator_1.y();
|
|
4542
4542
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4543
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4543
|
+
var tmp$ret$7 = new Invocation('', item_0.z41_1);
|
|
4544
4544
|
destination_1.s(tmp$ret$7);
|
|
4545
4545
|
}
|
|
4546
4546
|
tmp = destination_1;
|
|
4547
4547
|
} else {
|
|
4548
4548
|
if (v instanceof Envvar) {
|
|
4549
4549
|
var tmp_1;
|
|
4550
|
-
if (this.
|
|
4551
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4550
|
+
if (this.l41_1 == null) {
|
|
4551
|
+
tmp_1 = listOf_0(new Invocation(v.v40_1, listOf_0(v.w40_1)));
|
|
4552
4552
|
} else {
|
|
4553
4553
|
// Inline function 'kotlin.text.split' call
|
|
4554
|
-
var this_2 = v.
|
|
4555
|
-
var tmp$ret$10 = this.
|
|
4556
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4554
|
+
var this_2 = v.w40_1;
|
|
4555
|
+
var tmp$ret$10 = this.l41_1.b9(this_2, 0);
|
|
4556
|
+
tmp_1 = listOf_0(new Invocation(v.v40_1, tmp$ret$10));
|
|
4557
4557
|
}
|
|
4558
4558
|
tmp = tmp_1;
|
|
4559
4559
|
} else {
|
|
@@ -4570,39 +4570,39 @@
|
|
|
4570
4570
|
while (tmp0_iterator_2.w()) {
|
|
4571
4571
|
var item_1 = tmp0_iterator_2.y();
|
|
4572
4572
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4573
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4573
|
+
var tc = new OptionCallTransformContext(item_1.a42_1, this, context);
|
|
4574
4574
|
// Inline function 'kotlin.collections.map' call
|
|
4575
|
-
var this_3 = item_1.
|
|
4575
|
+
var this_3 = item_1.b42_1;
|
|
4576
4576
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4577
4577
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
4578
4578
|
var tmp0_iterator_3 = this_3.v();
|
|
4579
4579
|
while (tmp0_iterator_3.w()) {
|
|
4580
4580
|
var item_2 = tmp0_iterator_3.y();
|
|
4581
4581
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4582
|
-
var tmp$ret$11 = this.
|
|
4582
|
+
var tmp$ret$11 = this.r41_1(tc, item_2);
|
|
4583
4583
|
destination_3.s(tmp$ret$11);
|
|
4584
4584
|
}
|
|
4585
|
-
var tmp$ret$14 = this.
|
|
4585
|
+
var tmp$ret$14 = this.s41_1(tc, destination_3);
|
|
4586
4586
|
destination_2.s(tmp$ret$14);
|
|
4587
4587
|
}
|
|
4588
|
-
this.
|
|
4588
|
+
this.z3z(this.t41_1(tmp_2, destination_2));
|
|
4589
4589
|
};
|
|
4590
|
-
protoOf(OptionWithValuesImpl).
|
|
4591
|
-
this.
|
|
4592
|
-
thisRef.
|
|
4590
|
+
protoOf(OptionWithValuesImpl).r40 = function (thisRef, property) {
|
|
4591
|
+
this.y41_1 = inferOptionNames(this.y41_1, property.callableName);
|
|
4592
|
+
thisRef.m3q(this);
|
|
4593
4593
|
return this;
|
|
4594
4594
|
};
|
|
4595
|
-
protoOf(OptionWithValuesImpl).
|
|
4596
|
-
return this.
|
|
4595
|
+
protoOf(OptionWithValuesImpl).l3z = function (thisRef, property) {
|
|
4596
|
+
return this.r40((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4597
4597
|
};
|
|
4598
|
-
protoOf(OptionWithValuesImpl).
|
|
4599
|
-
this.
|
|
4598
|
+
protoOf(OptionWithValuesImpl).f3z = function (context) {
|
|
4599
|
+
this.u41_1(new OptionTransformContext(this, context), this.p2());
|
|
4600
4600
|
};
|
|
4601
|
-
protoOf(OptionWithValuesImpl).
|
|
4601
|
+
protoOf(OptionWithValuesImpl).c41 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4602
4602
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4603
4603
|
};
|
|
4604
|
-
protoOf(OptionWithValuesImpl).
|
|
4605
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4604
|
+
protoOf(OptionWithValuesImpl).d41 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4605
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.r41_1, this.s41_1, this.t41_1, validator);
|
|
4606
4606
|
};
|
|
4607
4607
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4608
4608
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4641,8 +4641,8 @@
|
|
|
4641
4641
|
}
|
|
4642
4642
|
return this_0.toString();
|
|
4643
4643
|
};
|
|
4644
|
-
protoOf(OptionWithValuesImpl).
|
|
4645
|
-
return this.
|
|
4644
|
+
protoOf(OptionWithValuesImpl).f40 = function (thisRef, property) {
|
|
4645
|
+
return this.s40((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4646
4646
|
};
|
|
4647
4647
|
function defaultEachProcessor() {
|
|
4648
4648
|
return defaultEachProcessor$lambda;
|
|
@@ -4679,14 +4679,14 @@
|
|
|
4679
4679
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4680
4680
|
return receiver.p2();
|
|
4681
4681
|
}, function (receiver, value) {
|
|
4682
|
-
return receiver.
|
|
4682
|
+
return receiver.z3z(value);
|
|
4683
4683
|
});
|
|
4684
4684
|
}
|
|
4685
4685
|
function value$factory_2() {
|
|
4686
4686
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4687
4687
|
return receiver.p2();
|
|
4688
4688
|
}, function (receiver, value) {
|
|
4689
|
-
return receiver.
|
|
4689
|
+
return receiver.z3z(value);
|
|
4690
4690
|
});
|
|
4691
4691
|
}
|
|
4692
4692
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4696,7 +4696,7 @@
|
|
|
4696
4696
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4697
4697
|
var tmp;
|
|
4698
4698
|
if (defaultForHelp === VOID) {
|
|
4699
|
-
var tmp_0 = _this__u8e3s4.
|
|
4699
|
+
var tmp_0 = _this__u8e3s4.m3s();
|
|
4700
4700
|
tmp = tmp_0.u2('default');
|
|
4701
4701
|
} else {
|
|
4702
4702
|
tmp = defaultForHelp;
|
|
@@ -4705,7 +4705,7 @@
|
|
|
4705
4705
|
var tmp_1;
|
|
4706
4706
|
if (showAsRequired === VOID) {
|
|
4707
4707
|
// Inline function 'kotlin.collections.contains' call
|
|
4708
|
-
var this_0 = _this__u8e3s4.
|
|
4708
|
+
var this_0 = _this__u8e3s4.m3s();
|
|
4709
4709
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4710
4710
|
var key = 'required';
|
|
4711
4711
|
tmp_1 = (isInterface(this_0, Map) ? this_0 : THROW_CCE()).s2(key);
|
|
@@ -4713,7 +4713,7 @@
|
|
|
4713
4713
|
tmp_1 = showAsRequired;
|
|
4714
4714
|
}
|
|
4715
4715
|
showAsRequired = tmp_1;
|
|
4716
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4716
|
+
var tags = toMutableMap(_this__u8e3s4.m3s());
|
|
4717
4717
|
if (showAsRequired) {
|
|
4718
4718
|
// Inline function 'kotlin.collections.set' call
|
|
4719
4719
|
var key_0 = 'required';
|
|
@@ -4727,7 +4727,7 @@
|
|
|
4727
4727
|
} else {
|
|
4728
4728
|
tags.m2('default');
|
|
4729
4729
|
}
|
|
4730
|
-
return _this__u8e3s4.
|
|
4730
|
+
return _this__u8e3s4.l40(_this__u8e3s4.h3z(), _this__u8e3s4.j40(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4731
4731
|
}
|
|
4732
4732
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4733
4733
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4744,7 +4744,7 @@
|
|
|
4744
4744
|
return function ($this$transformAll, it) {
|
|
4745
4745
|
var tmp;
|
|
4746
4746
|
if (it.c1() ? $required : false) {
|
|
4747
|
-
throw new MissingOption($this$transformAll.
|
|
4747
|
+
throw new MissingOption($this$transformAll.b3q_1);
|
|
4748
4748
|
} else if (it.c1() ? !$required : false) {
|
|
4749
4749
|
tmp = $default;
|
|
4750
4750
|
} else {
|
|
@@ -4775,34 +4775,34 @@
|
|
|
4775
4775
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4776
4776
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4777
4777
|
}
|
|
4778
|
-
var tmp = _this__u8e3s4.
|
|
4778
|
+
var tmp = _this__u8e3s4.h3z();
|
|
4779
4779
|
var tmp_0 = defaultAllProcessor_0();
|
|
4780
4780
|
var tmp_1 = defaultValidator_0();
|
|
4781
4781
|
var tmp_2;
|
|
4782
4782
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4783
4783
|
tmp_2 = transformValues$lambda;
|
|
4784
4784
|
} else {
|
|
4785
|
-
tmp_2 = _this__u8e3s4.
|
|
4785
|
+
tmp_2 = _this__u8e3s4.a41();
|
|
4786
4786
|
}
|
|
4787
|
-
return _this__u8e3s4.
|
|
4787
|
+
return _this__u8e3s4.l40(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4788
4788
|
}
|
|
4789
4789
|
function transformValues$lambda($this$null) {
|
|
4790
4790
|
return null;
|
|
4791
4791
|
}
|
|
4792
4792
|
function HelpTransformContext(context) {
|
|
4793
|
-
this.
|
|
4793
|
+
this.d42_1 = context;
|
|
4794
4794
|
}
|
|
4795
4795
|
protoOf(HelpTransformContext).jc = function () {
|
|
4796
|
-
return this.
|
|
4796
|
+
return this.d42_1;
|
|
4797
4797
|
};
|
|
4798
|
-
protoOf(HelpTransformContext).
|
|
4798
|
+
protoOf(HelpTransformContext).o3z = function (message) {
|
|
4799
4799
|
throw new UsageError(message);
|
|
4800
4800
|
};
|
|
4801
4801
|
protoOf(HelpTransformContext).toString = function () {
|
|
4802
|
-
return 'HelpTransformContext(context=' + this.
|
|
4802
|
+
return 'HelpTransformContext(context=' + this.d42_1 + ')';
|
|
4803
4803
|
};
|
|
4804
4804
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4805
|
-
return hashCode(this.
|
|
4805
|
+
return hashCode(this.d42_1);
|
|
4806
4806
|
};
|
|
4807
4807
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4808
4808
|
if (this === other)
|
|
@@ -4810,7 +4810,7 @@
|
|
|
4810
4810
|
if (!(other instanceof HelpTransformContext))
|
|
4811
4811
|
return false;
|
|
4812
4812
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4813
|
-
if (!equals(this.
|
|
4813
|
+
if (!equals(this.d42_1, tmp0_other_with_cast.d42_1))
|
|
4814
4814
|
return false;
|
|
4815
4815
|
return true;
|
|
4816
4816
|
};
|
|
@@ -4823,10 +4823,10 @@
|
|
|
4823
4823
|
var tmp = defaultEachProcessor();
|
|
4824
4824
|
var tmp_0 = defaultAllProcessor_0();
|
|
4825
4825
|
var tmp_1 = defaultValidator_0();
|
|
4826
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4826
|
+
var tmp0_elvis_lhs = _this__u8e3s4.a41();
|
|
4827
4827
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4828
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4829
|
-
return _this__u8e3s4.
|
|
4828
|
+
var tmp1_elvis_lhs = _this__u8e3s4.i3z();
|
|
4829
|
+
return _this__u8e3s4.l40(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4830
4830
|
}
|
|
4831
4831
|
function valueToBool(_this__u8e3s4, value) {
|
|
4832
4832
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4850,7 +4850,7 @@
|
|
|
4850
4850
|
tmp = false;
|
|
4851
4851
|
break;
|
|
4852
4852
|
default:
|
|
4853
|
-
_this__u8e3s4.
|
|
4853
|
+
_this__u8e3s4.o3z(_this__u8e3s4.jc().e3p_1.s3w(value));
|
|
4854
4854
|
break;
|
|
4855
4855
|
}
|
|
4856
4856
|
return tmp;
|
|
@@ -4865,18 +4865,18 @@
|
|
|
4865
4865
|
var tmp;
|
|
4866
4866
|
try {
|
|
4867
4867
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
4868
|
-
var it_0 = $this.
|
|
4868
|
+
var it_0 = $this.h3z()($this$null, it);
|
|
4869
4869
|
tmp = valueToBool($this$null, it_0);
|
|
4870
4870
|
} catch ($p) {
|
|
4871
4871
|
var tmp_0;
|
|
4872
4872
|
if ($p instanceof UsageError) {
|
|
4873
4873
|
var err = $p;
|
|
4874
4874
|
var tmp_1 = err;
|
|
4875
|
-
var tmp0_elvis_lhs = err.
|
|
4875
|
+
var tmp0_elvis_lhs = err.b3t_1;
|
|
4876
4876
|
var tmp_2;
|
|
4877
4877
|
if (tmp0_elvis_lhs == null) {
|
|
4878
4878
|
// Inline function 'kotlin.takeUnless' call
|
|
4879
|
-
var this_0 = $this$null.
|
|
4879
|
+
var this_0 = $this$null.n40_1;
|
|
4880
4880
|
// Inline function 'kotlin.contracts.contract' call
|
|
4881
4881
|
var tmp_3;
|
|
4882
4882
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -4891,13 +4891,13 @@
|
|
|
4891
4891
|
tmp_2 = tmp0_elvis_lhs;
|
|
4892
4892
|
}
|
|
4893
4893
|
var tmp1_elvis_lhs = tmp_2;
|
|
4894
|
-
tmp_1.
|
|
4894
|
+
tmp_1.b3t_1 = tmp1_elvis_lhs == null ? longestName($this$null.o40_1) : tmp1_elvis_lhs;
|
|
4895
4895
|
throw err;
|
|
4896
4896
|
} else {
|
|
4897
4897
|
if ($p instanceof Exception) {
|
|
4898
4898
|
var err_0 = $p;
|
|
4899
4899
|
var tmp2_elvis_lhs = err_0.message;
|
|
4900
|
-
$this$null.
|
|
4900
|
+
$this$null.o3z(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
4901
4901
|
} else {
|
|
4902
4902
|
throw $p;
|
|
4903
4903
|
}
|
|
@@ -4948,16 +4948,16 @@
|
|
|
4948
4948
|
var tmp_1 = defaultEachProcessor();
|
|
4949
4949
|
var tmp_2 = defaultAllProcessor_0();
|
|
4950
4950
|
var tmp_3 = defaultValidator_0();
|
|
4951
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4951
|
+
var tmp0_elvis_lhs = _this__u8e3s4.a41();
|
|
4952
4952
|
var tmp_4 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4953
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4954
|
-
return _this__u8e3s4.
|
|
4953
|
+
var tmp1_elvis_lhs = _this__u8e3s4.i3z();
|
|
4954
|
+
return _this__u8e3s4.l40(valueTransform, tmp_1, tmp_2, tmp_3, VOID, tmp_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? completionCandidates : tmp1_elvis_lhs);
|
|
4955
4955
|
}
|
|
4956
4956
|
function mvar(choices) {
|
|
4957
4957
|
return joinToString(choices, '|', '(', ')');
|
|
4958
4958
|
}
|
|
4959
4959
|
function errorMessage(context, choice, choices) {
|
|
4960
|
-
return context.
|
|
4960
|
+
return context.e3p_1.t3w(choice, toList_1(choices.k2()));
|
|
4961
4961
|
}
|
|
4962
4962
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
4963
4963
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -4996,8 +4996,8 @@
|
|
|
4996
4996
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
4997
4997
|
var tmp_1 = defaultAllProcessor();
|
|
4998
4998
|
var tmp_2 = defaultValidator();
|
|
4999
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5000
|
-
return _this__u8e3s4.
|
|
4999
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i3z();
|
|
5000
|
+
return _this__u8e3s4.k3z(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? completionCandidates : tmp0_elvis_lhs);
|
|
5001
5001
|
}
|
|
5002
5002
|
function choice$lambda($metavar) {
|
|
5003
5003
|
return function ($this$convert) {
|
|
@@ -5009,7 +5009,7 @@
|
|
|
5009
5009
|
var tmp;
|
|
5010
5010
|
try {
|
|
5011
5011
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5012
|
-
var it_0 = $this.
|
|
5012
|
+
var it_0 = $this.h3z()($this$null, it);
|
|
5013
5013
|
var tmp_0;
|
|
5014
5014
|
if ($ignoreCase) {
|
|
5015
5015
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5021,7 +5021,7 @@
|
|
|
5021
5021
|
var tmp0_elvis_lhs = $c.u2(tmp_0);
|
|
5022
5022
|
var tmp_1;
|
|
5023
5023
|
if (tmp0_elvis_lhs == null) {
|
|
5024
|
-
$this$null.
|
|
5024
|
+
$this$null.o3z(errorMessage($this$null.p40_1, it_0, $choices));
|
|
5025
5025
|
} else {
|
|
5026
5026
|
tmp_1 = tmp0_elvis_lhs;
|
|
5027
5027
|
}
|
|
@@ -5031,11 +5031,11 @@
|
|
|
5031
5031
|
if ($p instanceof UsageError) {
|
|
5032
5032
|
var err = $p;
|
|
5033
5033
|
var tmp_3 = err;
|
|
5034
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5034
|
+
var tmp0_elvis_lhs_0 = err.b3t_1;
|
|
5035
5035
|
var tmp_4;
|
|
5036
5036
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5037
5037
|
// Inline function 'kotlin.takeUnless' call
|
|
5038
|
-
var this_0 = $this$null.
|
|
5038
|
+
var this_0 = $this$null.n40_1;
|
|
5039
5039
|
// Inline function 'kotlin.contracts.contract' call
|
|
5040
5040
|
var tmp_5;
|
|
5041
5041
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5050,13 +5050,13 @@
|
|
|
5050
5050
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5051
5051
|
}
|
|
5052
5052
|
var tmp1_elvis_lhs = tmp_4;
|
|
5053
|
-
tmp_3.
|
|
5053
|
+
tmp_3.b3t_1 = tmp1_elvis_lhs == null ? longestName($this$null.o40_1) : tmp1_elvis_lhs;
|
|
5054
5054
|
throw err;
|
|
5055
5055
|
} else {
|
|
5056
5056
|
if ($p instanceof Exception) {
|
|
5057
5057
|
var err_0 = $p;
|
|
5058
5058
|
var tmp2_elvis_lhs = err_0.message;
|
|
5059
|
-
$this$null.
|
|
5059
|
+
$this$null.o3z(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5060
5060
|
} else {
|
|
5061
5061
|
throw $p;
|
|
5062
5062
|
}
|
|
@@ -5071,7 +5071,7 @@
|
|
|
5071
5071
|
var tmp;
|
|
5072
5072
|
try {
|
|
5073
5073
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5074
|
-
var it_0 = $this.
|
|
5074
|
+
var it_0 = $this.h3z()($this$null, it);
|
|
5075
5075
|
var tmp_0;
|
|
5076
5076
|
if ($ignoreCase) {
|
|
5077
5077
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5083,7 +5083,7 @@
|
|
|
5083
5083
|
var tmp0_elvis_lhs = $c.u2(tmp_0);
|
|
5084
5084
|
var tmp_1;
|
|
5085
5085
|
if (tmp0_elvis_lhs == null) {
|
|
5086
|
-
$this$null.
|
|
5086
|
+
$this$null.o3z(errorMessage($this$null.n3z_1, it_0, $choices));
|
|
5087
5087
|
} else {
|
|
5088
5088
|
tmp_1 = tmp0_elvis_lhs;
|
|
5089
5089
|
}
|
|
@@ -5093,14 +5093,14 @@
|
|
|
5093
5093
|
if ($p instanceof UsageError) {
|
|
5094
5094
|
var err = $p;
|
|
5095
5095
|
var tmp_3 = err;
|
|
5096
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5097
|
-
tmp_3.
|
|
5096
|
+
var tmp0_elvis_lhs_0 = err.b3t_1;
|
|
5097
|
+
tmp_3.b3t_1 = tmp0_elvis_lhs_0 == null ? $this$null.m3z_1.za() : tmp0_elvis_lhs_0;
|
|
5098
5098
|
throw err;
|
|
5099
5099
|
} else {
|
|
5100
5100
|
if ($p instanceof Exception) {
|
|
5101
5101
|
var err_0 = $p;
|
|
5102
5102
|
var tmp1_elvis_lhs = err_0.message;
|
|
5103
|
-
$this$null.
|
|
5103
|
+
$this$null.o3z(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5104
5104
|
} else {
|
|
5105
5105
|
throw $p;
|
|
5106
5106
|
}
|
|
@@ -5111,23 +5111,23 @@
|
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
5113
|
function Invocation(name, values) {
|
|
5114
|
-
this.
|
|
5115
|
-
this.
|
|
5114
|
+
this.a42_1 = name;
|
|
5115
|
+
this.b42_1 = values;
|
|
5116
5116
|
}
|
|
5117
|
-
protoOf(Invocation).
|
|
5117
|
+
protoOf(Invocation).e42 = function (name, values) {
|
|
5118
5118
|
return new Invocation(name, values);
|
|
5119
5119
|
};
|
|
5120
|
-
protoOf(Invocation).
|
|
5121
|
-
name = name === VOID ? this.
|
|
5122
|
-
values = values === VOID ? this.
|
|
5123
|
-
return $super === VOID ? this.
|
|
5120
|
+
protoOf(Invocation).c42 = function (name, values, $super) {
|
|
5121
|
+
name = name === VOID ? this.a42_1 : name;
|
|
5122
|
+
values = values === VOID ? this.b42_1 : values;
|
|
5123
|
+
return $super === VOID ? this.e42(name, values) : $super.e42.call(this, name, values);
|
|
5124
5124
|
};
|
|
5125
5125
|
protoOf(Invocation).toString = function () {
|
|
5126
|
-
return 'Invocation(name=' + this.
|
|
5126
|
+
return 'Invocation(name=' + this.a42_1 + ', values=' + this.b42_1 + ')';
|
|
5127
5127
|
};
|
|
5128
5128
|
protoOf(Invocation).hashCode = function () {
|
|
5129
|
-
var result = getStringHashCode(this.
|
|
5130
|
-
result = imul(result, 31) + hashCode(this.
|
|
5129
|
+
var result = getStringHashCode(this.a42_1);
|
|
5130
|
+
result = imul(result, 31) + hashCode(this.b42_1) | 0;
|
|
5131
5131
|
return result;
|
|
5132
5132
|
};
|
|
5133
5133
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5136,18 +5136,18 @@
|
|
|
5136
5136
|
if (!(other instanceof Invocation))
|
|
5137
5137
|
return false;
|
|
5138
5138
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5139
|
-
if (!(this.
|
|
5139
|
+
if (!(this.a42_1 === tmp0_other_with_cast.a42_1))
|
|
5140
5140
|
return false;
|
|
5141
|
-
if (!equals(this.
|
|
5141
|
+
if (!equals(this.b42_1, tmp0_other_with_cast.b42_1))
|
|
5142
5142
|
return false;
|
|
5143
5143
|
return true;
|
|
5144
5144
|
};
|
|
5145
5145
|
function parse($this, argv, context, canRun) {
|
|
5146
5146
|
var tokens = argv;
|
|
5147
|
-
var command = context.
|
|
5148
|
-
var aliases = command.
|
|
5147
|
+
var command = context.r3o_1;
|
|
5148
|
+
var aliases = command.p3p();
|
|
5149
5149
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5150
|
-
var this_0 = command.
|
|
5150
|
+
var this_0 = command.g3o_1;
|
|
5151
5151
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
5152
5152
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5153
5153
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5155,7 +5155,7 @@
|
|
|
5155
5155
|
while (tmp0_iterator.w()) {
|
|
5156
5156
|
var element = tmp0_iterator.y();
|
|
5157
5157
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5158
|
-
var tmp$ret$0 = element.
|
|
5158
|
+
var tmp$ret$0 = element.d3o_1;
|
|
5159
5159
|
destination.l2(tmp$ret$0, element);
|
|
5160
5160
|
}
|
|
5161
5161
|
var subcommands = destination;
|
|
@@ -5163,7 +5163,7 @@
|
|
|
5163
5163
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5164
5164
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5165
5165
|
// Inline function 'kotlin.collections.find' call
|
|
5166
|
-
var this_1 = command.
|
|
5166
|
+
var this_1 = command.h3o_1;
|
|
5167
5167
|
var tmp$ret$5;
|
|
5168
5168
|
$l$block: {
|
|
5169
5169
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5171,7 +5171,7 @@
|
|
|
5171
5171
|
while (tmp0_iterator_0.w()) {
|
|
5172
5172
|
var element_0 = tmp0_iterator_0.y();
|
|
5173
5173
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5174
|
-
if (element_0.
|
|
5174
|
+
if (element_0.l3q()) {
|
|
5175
5175
|
tmp$ret$5 = element_0;
|
|
5176
5176
|
break $l$block;
|
|
5177
5177
|
}
|
|
@@ -5179,7 +5179,7 @@
|
|
|
5179
5179
|
tmp$ret$5 = null;
|
|
5180
5180
|
}
|
|
5181
5181
|
var numberOption = tmp$ret$5;
|
|
5182
|
-
var arguments_0 = command.
|
|
5182
|
+
var arguments_0 = command.i3o_1;
|
|
5183
5183
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5184
5184
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5185
5185
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -5187,11 +5187,11 @@
|
|
|
5187
5187
|
var tmp$ret$10;
|
|
5188
5188
|
$l$block_0: {
|
|
5189
5189
|
// Inline function 'kotlin.sequences.any' call
|
|
5190
|
-
var tmp0_iterator_1 = context.
|
|
5190
|
+
var tmp0_iterator_1 = context.z3p().v();
|
|
5191
5191
|
while (tmp0_iterator_1.w()) {
|
|
5192
5192
|
var element_1 = tmp0_iterator_1.y();
|
|
5193
5193
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5194
|
-
if (element_1.
|
|
5194
|
+
if (element_1.r3o_1.a3o_1) {
|
|
5195
5195
|
tmp$ret$10 = true;
|
|
5196
5196
|
break $l$block_0;
|
|
5197
5197
|
}
|
|
@@ -5203,24 +5203,24 @@
|
|
|
5203
5203
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5204
5204
|
var subcommand = null;
|
|
5205
5205
|
var canParseOptions = true;
|
|
5206
|
-
var canExpandAtFiles = context.
|
|
5206
|
+
var canExpandAtFiles = context.s3r();
|
|
5207
5207
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5208
5208
|
var invocations = ArrayList_init_$Create$();
|
|
5209
5209
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5210
5210
|
var errors = ArrayList_init_$Create$();
|
|
5211
5211
|
var i = {_v: 0};
|
|
5212
5212
|
var minAliasI = 0;
|
|
5213
|
-
var tmp0_iterator_2 = command.
|
|
5213
|
+
var tmp0_iterator_2 = command.h3o_1.v();
|
|
5214
5214
|
while (tmp0_iterator_2.w()) {
|
|
5215
5215
|
var option = tmp0_iterator_2.y();
|
|
5216
5216
|
// Inline function 'kotlin.require' call
|
|
5217
5217
|
var tmp;
|
|
5218
5218
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5219
|
-
if (!option.
|
|
5219
|
+
if (!option.o3o().c1()) {
|
|
5220
5220
|
tmp = true;
|
|
5221
5221
|
} else {
|
|
5222
5222
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5223
|
-
tmp = !option.
|
|
5223
|
+
tmp = !option.p3o().c1();
|
|
5224
5224
|
}
|
|
5225
5225
|
// Inline function 'kotlin.contracts.contract' call
|
|
5226
5226
|
if (!tmp) {
|
|
@@ -5230,12 +5230,12 @@
|
|
|
5230
5230
|
}
|
|
5231
5231
|
// Inline function 'kotlin.require' call
|
|
5232
5232
|
// Inline function 'kotlin.contracts.contract' call
|
|
5233
|
-
if (!(option.
|
|
5233
|
+
if (!(option.p3s() ? true : option.n3p().ia_1 <= 1)) {
|
|
5234
5234
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5235
5235
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5236
5236
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5237
5237
|
}
|
|
5238
|
-
var tmp1_iterator = plus(option.
|
|
5238
|
+
var tmp1_iterator = plus(option.o3o(), option.p3o()).v();
|
|
5239
5239
|
while (tmp1_iterator.w()) {
|
|
5240
5240
|
var name = tmp1_iterator.y();
|
|
5241
5241
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5250,12 +5250,12 @@
|
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
5252
5252
|
prefixes.t('');
|
|
5253
|
-
if (tokens.c1() ? command.
|
|
5253
|
+
if (tokens.c1() ? command.x3n_1 : false) {
|
|
5254
5254
|
throw new PrintHelpMessage(context, true);
|
|
5255
5255
|
}
|
|
5256
5256
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5257
5257
|
var tok = tokens.g1(i._v);
|
|
5258
|
-
var normTok = context.
|
|
5258
|
+
var normTok = context.y3o_1(context, tok);
|
|
5259
5259
|
var prefix = splitOptionPrefix(tok).vd_1;
|
|
5260
5260
|
var tmp_0;
|
|
5261
5261
|
if (canExpandAtFiles ? startsWith(tok, '@') : false) {
|
|
@@ -5283,8 +5283,8 @@
|
|
|
5283
5283
|
canParseOptions = false;
|
|
5284
5284
|
canExpandAtFiles = false;
|
|
5285
5285
|
} else {
|
|
5286
|
-
if (canParseOptions ? (((prefix.length > 1 ? prefixes.r(prefix) : false) ? true : longNames.r(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.
|
|
5287
|
-
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseLongOpt($this, command.
|
|
5286
|
+
if (canParseOptions ? (((prefix.length > 1 ? prefixes.r(prefix) : false) ? true : longNames.r(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.t3o_1 : false) {
|
|
5287
|
+
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseLongOpt($this, command.b3o_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5288
5288
|
} else {
|
|
5289
5289
|
var tmp_1;
|
|
5290
5290
|
var tmp_2;
|
|
@@ -5300,7 +5300,7 @@
|
|
|
5300
5300
|
tmp_1 = false;
|
|
5301
5301
|
}
|
|
5302
5302
|
if (tmp_1) {
|
|
5303
|
-
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseShortOpt($this, command.
|
|
5303
|
+
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseShortOpt($this, command.b3o_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5304
5304
|
} else {
|
|
5305
5305
|
var tmp_3;
|
|
5306
5306
|
if (i._v >= minAliasI) {
|
|
@@ -5322,7 +5322,7 @@
|
|
|
5322
5322
|
i._v = i._v + 1 | 0;
|
|
5323
5323
|
break loop;
|
|
5324
5324
|
} else {
|
|
5325
|
-
if (!context.
|
|
5325
|
+
if (!context.s3o_1)
|
|
5326
5326
|
canParseOptions = false;
|
|
5327
5327
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5328
5328
|
var element_4 = to(i._v, tokens.g1(i._v));
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
while (tmp0_iterator_3.w()) {
|
|
5343
5343
|
var element_5 = tmp0_iterator_3.y();
|
|
5344
5344
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5345
|
-
var key = element_5.
|
|
5345
|
+
var key = element_5.f42_1;
|
|
5346
5346
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5347
5347
|
var value = destination_0.u2(key);
|
|
5348
5348
|
var tmp_4;
|
|
@@ -5356,7 +5356,7 @@
|
|
|
5356
5356
|
}
|
|
5357
5357
|
var list = tmp_4;
|
|
5358
5358
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5359
|
-
var tmp$ret$28 = element_5.
|
|
5359
|
+
var tmp$ret$28 = element_5.i42();
|
|
5360
5360
|
list.s(tmp$ret$28);
|
|
5361
5361
|
}
|
|
5362
5362
|
var invocationsByOption = destination_0;
|
|
@@ -5367,9 +5367,9 @@
|
|
|
5367
5367
|
while (tmp0_iterator_4.w()) {
|
|
5368
5368
|
var element_6 = tmp0_iterator_4.y();
|
|
5369
5369
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5370
|
-
var tmp_5 = element_6.
|
|
5370
|
+
var tmp_5 = element_6.f42_1;
|
|
5371
5371
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5372
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5372
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q3s();
|
|
5373
5373
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5374
5374
|
var value_0 = destination_1.u2(key_0);
|
|
5375
5375
|
var tmp_6;
|
|
@@ -5405,7 +5405,7 @@
|
|
|
5405
5405
|
while (tmp0_iterator_6.w()) {
|
|
5406
5406
|
var element_8 = tmp0_iterator_6.y();
|
|
5407
5407
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5408
|
-
var key_1 = element_8.
|
|
5408
|
+
var key_1 = element_8.f42_1;
|
|
5409
5409
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5410
5410
|
var value_1 = destination_3.u2(key_1);
|
|
5411
5411
|
var tmp_8;
|
|
@@ -5419,7 +5419,7 @@
|
|
|
5419
5419
|
}
|
|
5420
5420
|
var list_1 = tmp_8;
|
|
5421
5421
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5422
|
-
var tmp$ret$41 = element_8.
|
|
5422
|
+
var tmp$ret$41 = element_8.i42();
|
|
5423
5423
|
list_1.s(tmp$ret$41);
|
|
5424
5424
|
}
|
|
5425
5425
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5428,7 +5428,7 @@
|
|
|
5428
5428
|
while (tmp0_iterator_7.w()) {
|
|
5429
5429
|
var entry = tmp0_iterator_7.y();
|
|
5430
5430
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5431
|
-
if (!entry.o2().
|
|
5431
|
+
if (!entry.o2().o3s()) {
|
|
5432
5432
|
result.l2(entry.o2(), entry.p2());
|
|
5433
5433
|
}
|
|
5434
5434
|
}
|
|
@@ -5437,16 +5437,16 @@
|
|
|
5437
5437
|
var invocationsByOptionByGroup = destination_2;
|
|
5438
5438
|
// Inline function 'kotlin.collections.filter' call
|
|
5439
5439
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5440
|
-
var this_2 = command.
|
|
5440
|
+
var this_2 = command.h3o_1;
|
|
5441
5441
|
var destination_4 = ArrayList_init_$Create$();
|
|
5442
5442
|
var tmp0_iterator_8 = this_2.v();
|
|
5443
5443
|
while (tmp0_iterator_8.w()) {
|
|
5444
5444
|
var element_9 = tmp0_iterator_8.y();
|
|
5445
5445
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5446
5446
|
var tmp_9;
|
|
5447
|
-
if (!element_9.
|
|
5447
|
+
if (!element_9.o3s()) {
|
|
5448
5448
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5449
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5449
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.q3s()) == null;
|
|
5450
5450
|
} else {
|
|
5451
5451
|
tmp_9 = false;
|
|
5452
5452
|
}
|
|
@@ -5467,13 +5467,13 @@
|
|
|
5467
5467
|
var o = element_10.o2();
|
|
5468
5468
|
// Inline function 'kotlin.collections.component2' call
|
|
5469
5469
|
var inv = element_10.p2();
|
|
5470
|
-
if (o.
|
|
5471
|
-
o.
|
|
5472
|
-
o.
|
|
5470
|
+
if (o.o3s()) {
|
|
5471
|
+
o.q3v(context, inv);
|
|
5472
|
+
o.f3z(context);
|
|
5473
5473
|
}
|
|
5474
5474
|
}
|
|
5475
5475
|
var argsParseResult = parseArguments($this, i._v, positionalArgs, arguments_0);
|
|
5476
|
-
var tmp2_safe_receiver = argsParseResult.
|
|
5476
|
+
var tmp2_safe_receiver = argsParseResult.l42_1;
|
|
5477
5477
|
if (tmp2_safe_receiver == null)
|
|
5478
5478
|
null;
|
|
5479
5479
|
else {
|
|
@@ -5481,7 +5481,7 @@
|
|
|
5481
5481
|
// Inline function 'kotlin.contracts.contract' call
|
|
5482
5482
|
parse$addError(errors, context, tmp2_safe_receiver);
|
|
5483
5483
|
}
|
|
5484
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5484
|
+
var excessResult = handleExcessArguments($this, argsParseResult.j42_1, hasMultipleSubAncestor, i._v, tokens, subcommands, positionalArgs, context);
|
|
5485
5485
|
var tmp3_safe_receiver = excessResult.wd_1;
|
|
5486
5486
|
if (tmp3_safe_receiver == null)
|
|
5487
5487
|
null;
|
|
@@ -5500,7 +5500,7 @@
|
|
|
5500
5500
|
while (tmp0_iterator_10.w()) {
|
|
5501
5501
|
var element_11 = tmp0_iterator_10.y();
|
|
5502
5502
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5503
|
-
if (element_11.
|
|
5503
|
+
if (element_11.o42_1) {
|
|
5504
5504
|
destination_5.s(element_11);
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
@@ -5522,19 +5522,19 @@
|
|
|
5522
5522
|
while (tmp0_iterator_11.w()) {
|
|
5523
5523
|
var item = tmp0_iterator_11.y();
|
|
5524
5524
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5525
|
-
var tmp$ret$69 = item.
|
|
5525
|
+
var tmp$ret$69 = item.m42_1;
|
|
5526
5526
|
destination_6.s(tmp$ret$69);
|
|
5527
5527
|
}
|
|
5528
5528
|
var usageErrors = destination_6;
|
|
5529
5529
|
i._v = excessResult.vd_1;
|
|
5530
|
-
var tmp4_container = finalizeArguments($this, argsParseResult.
|
|
5530
|
+
var tmp4_container = finalizeArguments($this, argsParseResult.k42_1, context);
|
|
5531
5531
|
var retries = tmp4_container.jd();
|
|
5532
5532
|
var argErrs = tmp4_container.kd();
|
|
5533
5533
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5534
5534
|
addAll(usageErrors, argErrs);
|
|
5535
5535
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5536
5536
|
if (!argErrs.c1())
|
|
5537
|
-
context.
|
|
5537
|
+
context.j3p_1 = true;
|
|
5538
5538
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5539
5539
|
try {
|
|
5540
5540
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
@@ -5545,12 +5545,12 @@
|
|
|
5545
5545
|
var e = $p;
|
|
5546
5546
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5547
5547
|
usageErrors.s(e);
|
|
5548
|
-
context.
|
|
5548
|
+
context.j3p_1 = true;
|
|
5549
5549
|
} else {
|
|
5550
5550
|
throw $p;
|
|
5551
5551
|
}
|
|
5552
5552
|
}
|
|
5553
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
5553
|
+
var tmp5_safe_receiver = Companion_instance_1.i3t(usageErrors);
|
|
5554
5554
|
if (tmp5_safe_receiver == null)
|
|
5555
5555
|
null;
|
|
5556
5556
|
else {
|
|
@@ -5573,20 +5573,20 @@
|
|
|
5573
5573
|
if (group == null)
|
|
5574
5574
|
null;
|
|
5575
5575
|
else {
|
|
5576
|
-
group.
|
|
5576
|
+
group.i40(context, invs);
|
|
5577
5577
|
}
|
|
5578
5578
|
} catch ($p) {
|
|
5579
5579
|
if ($p instanceof UsageError) {
|
|
5580
5580
|
var e_0 = $p;
|
|
5581
5581
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5582
5582
|
usageErrors.s(e_0);
|
|
5583
|
-
context.
|
|
5583
|
+
context.j3p_1 = true;
|
|
5584
5584
|
} else {
|
|
5585
5585
|
throw $p;
|
|
5586
5586
|
}
|
|
5587
5587
|
}
|
|
5588
5588
|
}
|
|
5589
|
-
var tmp8_iterator = command.
|
|
5589
|
+
var tmp8_iterator = command.j3o_1.v();
|
|
5590
5590
|
while (tmp8_iterator.w()) {
|
|
5591
5591
|
var g = tmp8_iterator.y();
|
|
5592
5592
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -5595,20 +5595,20 @@
|
|
|
5595
5595
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5596
5596
|
try {
|
|
5597
5597
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5598
|
-
g.
|
|
5598
|
+
g.i40(context, emptyMap());
|
|
5599
5599
|
} catch ($p) {
|
|
5600
5600
|
if ($p instanceof UsageError) {
|
|
5601
5601
|
var e_1 = $p;
|
|
5602
5602
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5603
5603
|
usageErrors.s(e_1);
|
|
5604
|
-
context.
|
|
5604
|
+
context.j3p_1 = true;
|
|
5605
5605
|
} else {
|
|
5606
5606
|
throw $p;
|
|
5607
5607
|
}
|
|
5608
5608
|
}
|
|
5609
5609
|
}
|
|
5610
5610
|
}
|
|
5611
|
-
var tmp9_safe_receiver = Companion_instance_1.
|
|
5611
|
+
var tmp9_safe_receiver = Companion_instance_1.i3t(usageErrors);
|
|
5612
5612
|
if (tmp9_safe_receiver == null)
|
|
5613
5613
|
null;
|
|
5614
5614
|
else {
|
|
@@ -5630,13 +5630,13 @@
|
|
|
5630
5630
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5631
5631
|
try {
|
|
5632
5632
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5633
|
-
arg.
|
|
5633
|
+
arg.e3z(context, v);
|
|
5634
5634
|
} catch ($p) {
|
|
5635
5635
|
if ($p instanceof UsageError) {
|
|
5636
5636
|
var e_2 = $p;
|
|
5637
5637
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5638
5638
|
usageErrors.s(e_2);
|
|
5639
|
-
context.
|
|
5639
|
+
context.j3p_1 = true;
|
|
5640
5640
|
} else {
|
|
5641
5641
|
throw $p;
|
|
5642
5642
|
}
|
|
@@ -5650,59 +5650,59 @@
|
|
|
5650
5650
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5651
5651
|
try {
|
|
5652
5652
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5653
|
-
element_13.
|
|
5653
|
+
element_13.f3z(context);
|
|
5654
5654
|
} catch ($p) {
|
|
5655
5655
|
if ($p instanceof UsageError) {
|
|
5656
5656
|
var e_3 = $p;
|
|
5657
5657
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5658
5658
|
usageErrors.s(e_3);
|
|
5659
|
-
context.
|
|
5659
|
+
context.j3p_1 = true;
|
|
5660
5660
|
} else {
|
|
5661
5661
|
throw $p;
|
|
5662
5662
|
}
|
|
5663
5663
|
}
|
|
5664
5664
|
}
|
|
5665
5665
|
// Inline function 'kotlin.collections.forEach' call
|
|
5666
|
-
var tmp0_iterator_14 = command.
|
|
5666
|
+
var tmp0_iterator_14 = command.j3o_1.v();
|
|
5667
5667
|
while (tmp0_iterator_14.w()) {
|
|
5668
5668
|
var element_14 = tmp0_iterator_14.y();
|
|
5669
5669
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5670
5670
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5671
5671
|
try {
|
|
5672
5672
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5673
|
-
element_14.
|
|
5673
|
+
element_14.f3z(context);
|
|
5674
5674
|
} catch ($p) {
|
|
5675
5675
|
if ($p instanceof UsageError) {
|
|
5676
5676
|
var e_4 = $p;
|
|
5677
5677
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5678
5678
|
usageErrors.s(e_4);
|
|
5679
|
-
context.
|
|
5679
|
+
context.j3p_1 = true;
|
|
5680
5680
|
} else {
|
|
5681
5681
|
throw $p;
|
|
5682
5682
|
}
|
|
5683
5683
|
}
|
|
5684
5684
|
}
|
|
5685
5685
|
// Inline function 'kotlin.collections.forEach' call
|
|
5686
|
-
var tmp0_iterator_15 = command.
|
|
5686
|
+
var tmp0_iterator_15 = command.i3o_1.v();
|
|
5687
5687
|
while (tmp0_iterator_15.w()) {
|
|
5688
5688
|
var element_15 = tmp0_iterator_15.y();
|
|
5689
5689
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5690
5690
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5691
5691
|
try {
|
|
5692
5692
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5693
|
-
element_15.
|
|
5693
|
+
element_15.f3z(context);
|
|
5694
5694
|
} catch ($p) {
|
|
5695
5695
|
if ($p instanceof UsageError) {
|
|
5696
5696
|
var e_5 = $p;
|
|
5697
5697
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5698
5698
|
usageErrors.s(e_5);
|
|
5699
|
-
context.
|
|
5699
|
+
context.j3p_1 = true;
|
|
5700
5700
|
} else {
|
|
5701
5701
|
throw $p;
|
|
5702
5702
|
}
|
|
5703
5703
|
}
|
|
5704
5704
|
}
|
|
5705
|
-
var tmp10_safe_receiver = Companion_instance_1.
|
|
5705
|
+
var tmp10_safe_receiver = Companion_instance_1.i3t(usageErrors);
|
|
5706
5706
|
if (tmp10_safe_receiver == null)
|
|
5707
5707
|
null;
|
|
5708
5708
|
else {
|
|
@@ -5719,22 +5719,22 @@
|
|
|
5719
5719
|
tmp_13 = false;
|
|
5720
5720
|
}
|
|
5721
5721
|
if (tmp_13) {
|
|
5722
|
-
tmp_12 = !command.
|
|
5722
|
+
tmp_12 = !command.w3n_1;
|
|
5723
5723
|
} else {
|
|
5724
5724
|
tmp_12 = false;
|
|
5725
5725
|
}
|
|
5726
5726
|
if (tmp_12) {
|
|
5727
5727
|
throw new PrintHelpMessage(context, true);
|
|
5728
5728
|
}
|
|
5729
|
-
command.
|
|
5730
|
-
if (command.
|
|
5731
|
-
var tmp11_iterator = command.
|
|
5729
|
+
command.n3o().i3p_1 = subcommand;
|
|
5730
|
+
if (command.n3o().v3o_1) {
|
|
5731
|
+
var tmp11_iterator = command.j3q().v();
|
|
5732
5732
|
while (tmp11_iterator.w()) {
|
|
5733
5733
|
var warning = tmp11_iterator.y();
|
|
5734
|
-
get_terminal(command).
|
|
5734
|
+
get_terminal(command).e3l(warning, VOID, VOID, VOID, VOID, true);
|
|
5735
5735
|
}
|
|
5736
5736
|
}
|
|
5737
|
-
command.
|
|
5737
|
+
command.a3r();
|
|
5738
5738
|
} else {
|
|
5739
5739
|
var tmp_14;
|
|
5740
5740
|
if (subcommand == null) {
|
|
@@ -5750,16 +5750,16 @@
|
|
|
5750
5750
|
} catch ($p) {
|
|
5751
5751
|
if ($p instanceof UsageError) {
|
|
5752
5752
|
var e_6 = $p;
|
|
5753
|
-
e_6.
|
|
5753
|
+
e_6.d3t(context);
|
|
5754
5754
|
throw e_6;
|
|
5755
5755
|
} else {
|
|
5756
5756
|
throw $p;
|
|
5757
5757
|
}
|
|
5758
5758
|
}
|
|
5759
5759
|
if (!(subcommand == null)) {
|
|
5760
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5760
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.n3o(), true);
|
|
5761
5761
|
var tmp_15;
|
|
5762
|
-
if (command.
|
|
5762
|
+
if (command.a3o_1) {
|
|
5763
5763
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5764
5764
|
tmp_15 = !nextTokens.c1();
|
|
5765
5765
|
} else {
|
|
@@ -5787,7 +5787,7 @@
|
|
|
5787
5787
|
}
|
|
5788
5788
|
if (tmp_0) {
|
|
5789
5789
|
var actual = last(positionalArgs).wd_1;
|
|
5790
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5790
|
+
throw new NoSuchSubcommand(actual, context.d3p_1(actual, toList_1(subcommands.k2())));
|
|
5791
5791
|
} else {
|
|
5792
5792
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5793
5793
|
}
|
|
@@ -5814,7 +5814,7 @@
|
|
|
5814
5814
|
var tmp0_container = tmp;
|
|
5815
5815
|
var name = tmp0_container.jd();
|
|
5816
5816
|
var attachedValue = tmp0_container.kd();
|
|
5817
|
-
name = context.
|
|
5817
|
+
name = context.y3o_1(context, name);
|
|
5818
5818
|
var tmp1_elvis_lhs = optionsByName.u2(name);
|
|
5819
5819
|
var tmp_1;
|
|
5820
5820
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5831,11 +5831,11 @@
|
|
|
5831
5831
|
while (tmp0_iterator.w()) {
|
|
5832
5832
|
var element = tmp0_iterator.y();
|
|
5833
5833
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5834
|
-
if (!element.p2().
|
|
5834
|
+
if (!element.p2().l3p()) {
|
|
5835
5835
|
destination.l2(element.o2(), element.p2());
|
|
5836
5836
|
}
|
|
5837
5837
|
}
|
|
5838
|
-
var possibilities = context.
|
|
5838
|
+
var possibilities = context.d3p_1(tmp_3, toList_1(destination.k2()));
|
|
5839
5839
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5840
5840
|
}
|
|
5841
5841
|
} else {
|
|
@@ -5850,7 +5850,7 @@
|
|
|
5850
5850
|
if (!(attachedValue == null)) {
|
|
5851
5851
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5852
5852
|
values.s(attachedValue);
|
|
5853
|
-
} else if (!option.
|
|
5853
|
+
} else if (!option.p3s()) {
|
|
5854
5854
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5855
5855
|
}
|
|
5856
5856
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5860,10 +5860,10 @@
|
|
|
5860
5860
|
var i = inductionVariable;
|
|
5861
5861
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5862
5862
|
var tok = tokens.g1(i);
|
|
5863
|
-
if (values.p() >= option.
|
|
5863
|
+
if (values.p() >= option.n3p().ia_1)
|
|
5864
5864
|
break $l$loop_0;
|
|
5865
5865
|
var tmp;
|
|
5866
|
-
if (values.p() >= option.
|
|
5866
|
+
if (values.p() >= option.n3p().ha_1) {
|
|
5867
5867
|
var tmp_0;
|
|
5868
5868
|
var tmp_1;
|
|
5869
5869
|
var tmp_2;
|
|
@@ -5904,7 +5904,7 @@
|
|
|
5904
5904
|
}
|
|
5905
5905
|
while (!(i === last));
|
|
5906
5906
|
var consumed = values.p() + (attachedValue == null ? 1 : 0) | 0;
|
|
5907
|
-
var progression = option.
|
|
5907
|
+
var progression = option.n3p();
|
|
5908
5908
|
var containsLower = progression.ha_1;
|
|
5909
5909
|
var containsUpper = progression.ia_1;
|
|
5910
5910
|
var containsArg = values.p();
|
|
@@ -5950,7 +5950,7 @@
|
|
|
5950
5950
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5951
5951
|
if (i === 0)
|
|
5952
5952
|
continue $l$loop;
|
|
5953
|
-
var name = context.
|
|
5953
|
+
var name = context.y3o_1(context, prefix + toString(opt));
|
|
5954
5954
|
var tmp2_elvis_lhs = optionsByName.u2(name);
|
|
5955
5955
|
var tmp_0;
|
|
5956
5956
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -5980,10 +5980,10 @@
|
|
|
5980
5980
|
tmp_0 = tmp2_elvis_lhs;
|
|
5981
5981
|
}
|
|
5982
5982
|
var option = tmp_0;
|
|
5983
|
-
if (option.
|
|
5983
|
+
if (option.n3p().ia_1 > 0) {
|
|
5984
5984
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
5985
5985
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
5986
|
-
return result.
|
|
5986
|
+
return result.t42(VOID, VOID, plus_0(invocations, result.r42_1));
|
|
5987
5987
|
} else {
|
|
5988
5988
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5989
5989
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6004,7 +6004,7 @@
|
|
|
6004
6004
|
$l$loop: while (tmp0_iterator.w()) {
|
|
6005
6005
|
var item = tmp0_iterator.y();
|
|
6006
6006
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6007
|
-
if (!(item.
|
|
6007
|
+
if (!(item.n3p() > 0))
|
|
6008
6008
|
break $l$loop;
|
|
6009
6009
|
list.s(item);
|
|
6010
6010
|
}
|
|
@@ -6014,7 +6014,7 @@
|
|
|
6014
6014
|
var element = tmp0_iterator_0.y();
|
|
6015
6015
|
var tmp_0 = sum;
|
|
6016
6016
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6017
|
-
sum = tmp_0 + element.
|
|
6017
|
+
sum = tmp_0 + element.n3p() | 0;
|
|
6018
6018
|
}
|
|
6019
6019
|
var endSize = sum;
|
|
6020
6020
|
var i = 0;
|
|
@@ -6023,15 +6023,15 @@
|
|
|
6023
6023
|
var argument = tmp0_iterator_1.y();
|
|
6024
6024
|
var remaining = positionalArgs.p() - i | 0;
|
|
6025
6025
|
var tmp_1;
|
|
6026
|
-
if (argument.
|
|
6026
|
+
if (argument.n3p() <= 0) {
|
|
6027
6027
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6028
|
-
var a = argument.
|
|
6028
|
+
var a = argument.d3z() ? 1 : 0;
|
|
6029
6029
|
var b = remaining - endSize | 0;
|
|
6030
6030
|
tmp_1 = Math.max(a, b);
|
|
6031
|
-
} else if ((argument.
|
|
6031
|
+
} else if ((argument.n3p() > 0 ? !argument.d3z() : false) ? remaining === 0 : false) {
|
|
6032
6032
|
tmp_1 = 0;
|
|
6033
6033
|
} else {
|
|
6034
|
-
tmp_1 = argument.
|
|
6034
|
+
tmp_1 = argument.n3p();
|
|
6035
6035
|
}
|
|
6036
6036
|
var consumed = tmp_1;
|
|
6037
6037
|
if (consumed > remaining) {
|
|
@@ -6074,7 +6074,7 @@
|
|
|
6074
6074
|
// Inline function 'kotlin.collections.component2' call
|
|
6075
6075
|
var v = tmp1_loop_parameter.p2();
|
|
6076
6076
|
try {
|
|
6077
|
-
it.
|
|
6077
|
+
it.e3z(context, v);
|
|
6078
6078
|
} catch ($p) {
|
|
6079
6079
|
if ($p instanceof IllegalStateException) {
|
|
6080
6080
|
var e = $p;
|
|
@@ -6085,11 +6085,11 @@
|
|
|
6085
6085
|
var e_0 = $p;
|
|
6086
6086
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6087
6087
|
usageErrors.s(e_0);
|
|
6088
|
-
context.
|
|
6088
|
+
context.j3p_1 = true;
|
|
6089
6089
|
} else {
|
|
6090
6090
|
if ($p instanceof Abort) {
|
|
6091
6091
|
var e_1 = $p;
|
|
6092
|
-
if (!context.
|
|
6092
|
+
if (!context.j3p_1)
|
|
6093
6093
|
throw e_1;
|
|
6094
6094
|
} else {
|
|
6095
6095
|
throw $p;
|
|
@@ -6101,19 +6101,19 @@
|
|
|
6101
6101
|
return to(retries, usageErrors);
|
|
6102
6102
|
}
|
|
6103
6103
|
function loadArgFile($this, filename, context) {
|
|
6104
|
-
return shlex(filename, ensureNotNull(context.
|
|
6104
|
+
return shlex(filename, ensureNotNull(context.a3p_1)(filename), context);
|
|
6105
6105
|
}
|
|
6106
6106
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6107
6107
|
var tmp = takeLast(positionalArgs, excess);
|
|
6108
6108
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6109
|
-
var message = excess === 1 ? context.
|
|
6109
|
+
var message = excess === 1 ? context.e3p_1.p3w(actual) : context.e3p_1.q3w(actual, excess);
|
|
6110
6110
|
return new UsageError(message);
|
|
6111
6111
|
}
|
|
6112
6112
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6113
|
-
this.
|
|
6113
|
+
this.u42_1 = function_0;
|
|
6114
6114
|
}
|
|
6115
6115
|
protoOf(sam$kotlin_Comparator$0_2).x9 = function (a, b) {
|
|
6116
|
-
return this.
|
|
6116
|
+
return this.u42_1(a, b);
|
|
6117
6117
|
};
|
|
6118
6118
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6119
6119
|
return this.x9(a, b);
|
|
@@ -6126,22 +6126,22 @@
|
|
|
6126
6126
|
return false;
|
|
6127
6127
|
if (prefix.length > 1)
|
|
6128
6128
|
return true;
|
|
6129
|
-
if (longNames.r($context.
|
|
6129
|
+
if (longNames.r($context.y3o_1($context, substringBefore(token, '='))))
|
|
6130
6130
|
return true;
|
|
6131
6131
|
// Inline function 'kotlin.collections.contains' call
|
|
6132
6132
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6133
|
-
var key = $context.
|
|
6133
|
+
var key = $context.y3o_1($context, take(token, 2));
|
|
6134
6134
|
return !(isInterface(optionsByName, Map) ? optionsByName : THROW_CCE()).s2(key);
|
|
6135
6135
|
}
|
|
6136
6136
|
function parse$addError(errors, $context, e) {
|
|
6137
6137
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6138
6138
|
errors.s(e);
|
|
6139
|
-
$context.
|
|
6139
|
+
$context.j3p_1 = true;
|
|
6140
6140
|
}
|
|
6141
6141
|
function parse$consumeParse(positionalArgs, invocations, i, errors, $context, tokenIndex, result) {
|
|
6142
6142
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6143
6143
|
// Inline function 'kotlin.collections.map' call
|
|
6144
|
-
var this_0 = result.
|
|
6144
|
+
var this_0 = result.q42_1;
|
|
6145
6145
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6146
6146
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6147
6147
|
var tmp0_iterator = this_0.v();
|
|
@@ -6153,9 +6153,9 @@
|
|
|
6153
6153
|
}
|
|
6154
6154
|
addAll(positionalArgs, destination);
|
|
6155
6155
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6156
|
-
var elements = result.
|
|
6156
|
+
var elements = result.r42_1;
|
|
6157
6157
|
addAll(invocations, elements);
|
|
6158
|
-
var tmp0_safe_receiver = result.
|
|
6158
|
+
var tmp0_safe_receiver = result.s42_1;
|
|
6159
6159
|
if (tmp0_safe_receiver == null)
|
|
6160
6160
|
null;
|
|
6161
6161
|
else {
|
|
@@ -6163,14 +6163,14 @@
|
|
|
6163
6163
|
// Inline function 'kotlin.contracts.contract' call
|
|
6164
6164
|
parse$addError(errors, $context, tmp0_safe_receiver);
|
|
6165
6165
|
}
|
|
6166
|
-
i._v = i._v + result.
|
|
6166
|
+
i._v = i._v + result.p42_1 | 0;
|
|
6167
6167
|
}
|
|
6168
6168
|
function Parser$parse$lambda(a, b) {
|
|
6169
6169
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6170
6170
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6171
|
-
var tmp = a.
|
|
6171
|
+
var tmp = a.n42_1;
|
|
6172
6172
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6173
|
-
var tmp$ret$1 = b.
|
|
6173
|
+
var tmp$ret$1 = b.n42_1;
|
|
6174
6174
|
return compareValues(tmp, tmp$ret$1);
|
|
6175
6175
|
}
|
|
6176
6176
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6182,7 +6182,7 @@
|
|
|
6182
6182
|
}
|
|
6183
6183
|
function Parser() {
|
|
6184
6184
|
}
|
|
6185
|
-
protoOf(Parser).
|
|
6185
|
+
protoOf(Parser).w3q = function (argv, context) {
|
|
6186
6186
|
parse(this, argv, context, true);
|
|
6187
6187
|
};
|
|
6188
6188
|
var Parser_instance;
|
|
@@ -6190,20 +6190,20 @@
|
|
|
6190
6190
|
return Parser_instance;
|
|
6191
6191
|
}
|
|
6192
6192
|
function OptInvocation(opt, name, values) {
|
|
6193
|
-
this.
|
|
6194
|
-
this.
|
|
6195
|
-
this.
|
|
6193
|
+
this.f42_1 = opt;
|
|
6194
|
+
this.g42_1 = name;
|
|
6195
|
+
this.h42_1 = values;
|
|
6196
6196
|
}
|
|
6197
|
-
protoOf(OptInvocation).
|
|
6198
|
-
return new Invocation(this.
|
|
6197
|
+
protoOf(OptInvocation).i42 = function () {
|
|
6198
|
+
return new Invocation(this.g42_1, this.h42_1);
|
|
6199
6199
|
};
|
|
6200
6200
|
protoOf(OptInvocation).toString = function () {
|
|
6201
|
-
return 'OptInvocation(opt=' + this.
|
|
6201
|
+
return 'OptInvocation(opt=' + this.f42_1 + ', name=' + this.g42_1 + ', values=' + this.h42_1 + ')';
|
|
6202
6202
|
};
|
|
6203
6203
|
protoOf(OptInvocation).hashCode = function () {
|
|
6204
|
-
var result = hashCode(this.
|
|
6205
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6206
|
-
result = imul(result, 31) + hashCode(this.
|
|
6204
|
+
var result = hashCode(this.f42_1);
|
|
6205
|
+
result = imul(result, 31) + getStringHashCode(this.g42_1) | 0;
|
|
6206
|
+
result = imul(result, 31) + hashCode(this.h42_1) | 0;
|
|
6207
6207
|
return result;
|
|
6208
6208
|
};
|
|
6209
6209
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6212,27 +6212,27 @@
|
|
|
6212
6212
|
if (!(other instanceof OptInvocation))
|
|
6213
6213
|
return false;
|
|
6214
6214
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6215
|
-
if (!equals(this.
|
|
6215
|
+
if (!equals(this.f42_1, tmp0_other_with_cast.f42_1))
|
|
6216
6216
|
return false;
|
|
6217
|
-
if (!(this.
|
|
6217
|
+
if (!(this.g42_1 === tmp0_other_with_cast.g42_1))
|
|
6218
6218
|
return false;
|
|
6219
|
-
if (!equals(this.
|
|
6219
|
+
if (!equals(this.h42_1, tmp0_other_with_cast.h42_1))
|
|
6220
6220
|
return false;
|
|
6221
6221
|
return true;
|
|
6222
6222
|
};
|
|
6223
6223
|
function Err(e, i, includeInMulti) {
|
|
6224
6224
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6225
|
-
this.
|
|
6226
|
-
this.
|
|
6227
|
-
this.
|
|
6225
|
+
this.m42_1 = e;
|
|
6226
|
+
this.n42_1 = i;
|
|
6227
|
+
this.o42_1 = includeInMulti;
|
|
6228
6228
|
}
|
|
6229
6229
|
protoOf(Err).toString = function () {
|
|
6230
|
-
return 'Err(e=' + this.
|
|
6230
|
+
return 'Err(e=' + this.m42_1 + ', i=' + this.n42_1 + ', includeInMulti=' + this.o42_1 + ')';
|
|
6231
6231
|
};
|
|
6232
6232
|
protoOf(Err).hashCode = function () {
|
|
6233
|
-
var result = hashCode(this.
|
|
6234
|
-
result = imul(result, 31) + this.
|
|
6235
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6233
|
+
var result = hashCode(this.m42_1);
|
|
6234
|
+
result = imul(result, 31) + this.n42_1 | 0;
|
|
6235
|
+
result = imul(result, 31) + getBooleanHashCode(this.o42_1) | 0;
|
|
6236
6236
|
return result;
|
|
6237
6237
|
};
|
|
6238
6238
|
protoOf(Err).equals = function (other) {
|
|
@@ -6241,12 +6241,12 @@
|
|
|
6241
6241
|
if (!(other instanceof Err))
|
|
6242
6242
|
return false;
|
|
6243
6243
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6244
|
-
if (!equals(this.
|
|
6245
|
-
return false;
|
|
6246
|
-
if (!(this.m42_1 === tmp0_other_with_cast.m42_1))
|
|
6244
|
+
if (!equals(this.m42_1, tmp0_other_with_cast.m42_1))
|
|
6247
6245
|
return false;
|
|
6248
6246
|
if (!(this.n42_1 === tmp0_other_with_cast.n42_1))
|
|
6249
6247
|
return false;
|
|
6248
|
+
if (!(this.o42_1 === tmp0_other_with_cast.o42_1))
|
|
6249
|
+
return false;
|
|
6250
6250
|
return true;
|
|
6251
6251
|
};
|
|
6252
6252
|
function OptParseResult_init_$Init$(consumed, invocations, $this) {
|
|
@@ -6267,29 +6267,29 @@
|
|
|
6267
6267
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6268
6268
|
known = known === VOID ? emptyList() : known;
|
|
6269
6269
|
err = err === VOID ? null : err;
|
|
6270
|
-
this.
|
|
6271
|
-
this.
|
|
6272
|
-
this.
|
|
6273
|
-
this.
|
|
6270
|
+
this.p42_1 = consumed;
|
|
6271
|
+
this.q42_1 = unknown;
|
|
6272
|
+
this.r42_1 = known;
|
|
6273
|
+
this.s42_1 = err;
|
|
6274
6274
|
}
|
|
6275
|
-
protoOf(OptParseResult).
|
|
6275
|
+
protoOf(OptParseResult).v42 = function (consumed, unknown, known, err) {
|
|
6276
6276
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6277
6277
|
};
|
|
6278
|
-
protoOf(OptParseResult).
|
|
6279
|
-
consumed = consumed === VOID ? this.
|
|
6280
|
-
unknown = unknown === VOID ? this.
|
|
6281
|
-
known = known === VOID ? this.
|
|
6282
|
-
err = err === VOID ? this.
|
|
6283
|
-
return $super === VOID ? this.
|
|
6278
|
+
protoOf(OptParseResult).t42 = function (consumed, unknown, known, err, $super) {
|
|
6279
|
+
consumed = consumed === VOID ? this.p42_1 : consumed;
|
|
6280
|
+
unknown = unknown === VOID ? this.q42_1 : unknown;
|
|
6281
|
+
known = known === VOID ? this.r42_1 : known;
|
|
6282
|
+
err = err === VOID ? this.s42_1 : err;
|
|
6283
|
+
return $super === VOID ? this.v42(consumed, unknown, known, err) : $super.v42.call(this, consumed, unknown, known, err);
|
|
6284
6284
|
};
|
|
6285
6285
|
protoOf(OptParseResult).toString = function () {
|
|
6286
|
-
return 'OptParseResult(consumed=' + this.
|
|
6286
|
+
return 'OptParseResult(consumed=' + this.p42_1 + ', unknown=' + this.q42_1 + ', known=' + this.r42_1 + ', err=' + this.s42_1 + ')';
|
|
6287
6287
|
};
|
|
6288
6288
|
protoOf(OptParseResult).hashCode = function () {
|
|
6289
|
-
var result = this.
|
|
6290
|
-
result = imul(result, 31) + hashCode(this.p42_1) | 0;
|
|
6289
|
+
var result = this.p42_1;
|
|
6291
6290
|
result = imul(result, 31) + hashCode(this.q42_1) | 0;
|
|
6292
|
-
result = imul(result, 31) + (this.r42_1
|
|
6291
|
+
result = imul(result, 31) + hashCode(this.r42_1) | 0;
|
|
6292
|
+
result = imul(result, 31) + (this.s42_1 == null ? 0 : this.s42_1.hashCode()) | 0;
|
|
6293
6293
|
return result;
|
|
6294
6294
|
};
|
|
6295
6295
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6298,28 +6298,28 @@
|
|
|
6298
6298
|
if (!(other instanceof OptParseResult))
|
|
6299
6299
|
return false;
|
|
6300
6300
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6301
|
-
if (!(this.
|
|
6302
|
-
return false;
|
|
6303
|
-
if (!equals(this.p42_1, tmp0_other_with_cast.p42_1))
|
|
6301
|
+
if (!(this.p42_1 === tmp0_other_with_cast.p42_1))
|
|
6304
6302
|
return false;
|
|
6305
6303
|
if (!equals(this.q42_1, tmp0_other_with_cast.q42_1))
|
|
6306
6304
|
return false;
|
|
6307
6305
|
if (!equals(this.r42_1, tmp0_other_with_cast.r42_1))
|
|
6308
6306
|
return false;
|
|
6307
|
+
if (!equals(this.s42_1, tmp0_other_with_cast.s42_1))
|
|
6308
|
+
return false;
|
|
6309
6309
|
return true;
|
|
6310
6310
|
};
|
|
6311
6311
|
function ArgsParseResult(excessCount, args, err) {
|
|
6312
|
-
this.
|
|
6313
|
-
this.
|
|
6314
|
-
this.
|
|
6312
|
+
this.j42_1 = excessCount;
|
|
6313
|
+
this.k42_1 = args;
|
|
6314
|
+
this.l42_1 = err;
|
|
6315
6315
|
}
|
|
6316
6316
|
protoOf(ArgsParseResult).toString = function () {
|
|
6317
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6317
|
+
return 'ArgsParseResult(excessCount=' + this.j42_1 + ', args=' + this.k42_1 + ', err=' + this.l42_1 + ')';
|
|
6318
6318
|
};
|
|
6319
6319
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6320
|
-
var result = this.
|
|
6321
|
-
result = imul(result, 31) + hashCode(this.
|
|
6322
|
-
result = imul(result, 31) + (this.
|
|
6320
|
+
var result = this.j42_1;
|
|
6321
|
+
result = imul(result, 31) + hashCode(this.k42_1) | 0;
|
|
6322
|
+
result = imul(result, 31) + (this.l42_1 == null ? 0 : this.l42_1.hashCode()) | 0;
|
|
6323
6323
|
return result;
|
|
6324
6324
|
};
|
|
6325
6325
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6328,16 +6328,16 @@
|
|
|
6328
6328
|
if (!(other instanceof ArgsParseResult))
|
|
6329
6329
|
return false;
|
|
6330
6330
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6331
|
-
if (!(this.
|
|
6332
|
-
return false;
|
|
6333
|
-
if (!equals(this.j42_1, tmp0_other_with_cast.j42_1))
|
|
6331
|
+
if (!(this.j42_1 === tmp0_other_with_cast.j42_1))
|
|
6334
6332
|
return false;
|
|
6335
6333
|
if (!equals(this.k42_1, tmp0_other_with_cast.k42_1))
|
|
6336
6334
|
return false;
|
|
6335
|
+
if (!equals(this.l42_1, tmp0_other_with_cast.l42_1))
|
|
6336
|
+
return false;
|
|
6337
6337
|
return true;
|
|
6338
6338
|
};
|
|
6339
6339
|
function shlex(filename, text, context) {
|
|
6340
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6340
|
+
var tmp1_elvis_lhs = context == null ? null : context.e3p_1;
|
|
6341
6341
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6342
6342
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6343
6343
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6359,7 +6359,7 @@
|
|
|
6359
6359
|
} else {
|
|
6360
6360
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6361
6361
|
if (i._v >= get_lastIndex(text)) {
|
|
6362
|
-
shlex$err(filename, text, i, localization.
|
|
6362
|
+
shlex$err(filename, text, i, localization.o3w());
|
|
6363
6363
|
}
|
|
6364
6364
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6365
6365
|
do {
|
|
@@ -6431,7 +6431,7 @@
|
|
|
6431
6431
|
}
|
|
6432
6432
|
var tmp_8 = inQuote;
|
|
6433
6433
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6434
|
-
shlex$err(filename, text, i, localization.
|
|
6434
|
+
shlex$err(filename, text, i, localization.n3w());
|
|
6435
6435
|
}
|
|
6436
6436
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6437
6437
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6517,23 +6517,23 @@
|
|
|
6517
6517
|
var LETTER_OR_DIGIT_RE;
|
|
6518
6518
|
function readFileIfExists(filename) {
|
|
6519
6519
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6520
|
-
return get_impls().
|
|
6520
|
+
return get_impls().w42(filename);
|
|
6521
6521
|
}
|
|
6522
6522
|
function NodeMppImpls(fs) {
|
|
6523
|
-
this.
|
|
6523
|
+
this.x42_1 = fs;
|
|
6524
6524
|
}
|
|
6525
|
-
protoOf(NodeMppImpls).
|
|
6525
|
+
protoOf(NodeMppImpls).o3n = function (key) {
|
|
6526
6526
|
var tmp = process.env[key];
|
|
6527
6527
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6528
6528
|
};
|
|
6529
|
-
protoOf(NodeMppImpls).
|
|
6529
|
+
protoOf(NodeMppImpls).y42 = function (status) {
|
|
6530
6530
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6531
6531
|
return process.exit(status);
|
|
6532
6532
|
};
|
|
6533
|
-
protoOf(NodeMppImpls).
|
|
6533
|
+
protoOf(NodeMppImpls).w42 = function (filename) {
|
|
6534
6534
|
var tmp;
|
|
6535
6535
|
try {
|
|
6536
|
-
var tmp_0 = this.
|
|
6536
|
+
var tmp_0 = this.x42_1.readFileSync(filename, 'utf-8');
|
|
6537
6537
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6538
6538
|
} catch ($p) {
|
|
6539
6539
|
var tmp_1;
|
|
@@ -6549,12 +6549,12 @@
|
|
|
6549
6549
|
};
|
|
6550
6550
|
function BrowserMppImpls() {
|
|
6551
6551
|
}
|
|
6552
|
-
protoOf(BrowserMppImpls).
|
|
6552
|
+
protoOf(BrowserMppImpls).o3n = function (key) {
|
|
6553
6553
|
return null;
|
|
6554
6554
|
};
|
|
6555
|
-
protoOf(BrowserMppImpls).
|
|
6555
|
+
protoOf(BrowserMppImpls).y42 = function (status) {
|
|
6556
6556
|
};
|
|
6557
|
-
protoOf(BrowserMppImpls).
|
|
6557
|
+
protoOf(BrowserMppImpls).w42 = function (filename) {
|
|
6558
6558
|
return null;
|
|
6559
6559
|
};
|
|
6560
6560
|
var BrowserMppImpls_instance;
|
|
@@ -6563,11 +6563,11 @@
|
|
|
6563
6563
|
}
|
|
6564
6564
|
function readEnvvar(key) {
|
|
6565
6565
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6566
|
-
return get_impls().
|
|
6566
|
+
return get_impls().o3n(key);
|
|
6567
6567
|
}
|
|
6568
6568
|
function exitProcessMpp(status) {
|
|
6569
6569
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6570
|
-
return get_impls().
|
|
6570
|
+
return get_impls().y42(status);
|
|
6571
6571
|
}
|
|
6572
6572
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6573
6573
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6600,44 +6600,44 @@
|
|
|
6600
6600
|
}
|
|
6601
6601
|
}
|
|
6602
6602
|
//region block: post-declaration
|
|
6603
|
-
protoOf(defaultLocalization$1).
|
|
6604
|
-
protoOf(defaultLocalization$1).
|
|
6605
|
-
protoOf(defaultLocalization$1).
|
|
6606
|
-
protoOf(defaultLocalization$1).
|
|
6607
|
-
protoOf(defaultLocalization$1).
|
|
6608
|
-
protoOf(defaultLocalization$1).
|
|
6609
|
-
protoOf(defaultLocalization$1).
|
|
6610
|
-
protoOf(defaultLocalization$1).
|
|
6611
|
-
protoOf(defaultLocalization$1).
|
|
6612
|
-
protoOf(defaultLocalization$1).
|
|
6613
|
-
protoOf(defaultLocalization$1).
|
|
6614
|
-
protoOf(defaultLocalization$1).
|
|
6615
|
-
protoOf(defaultLocalization$1).
|
|
6616
|
-
protoOf(defaultLocalization$1).
|
|
6617
|
-
protoOf(defaultLocalization$1).
|
|
6618
|
-
protoOf(defaultLocalization$1).
|
|
6619
|
-
protoOf(defaultLocalization$1).
|
|
6620
|
-
protoOf(defaultLocalization$1).
|
|
6621
|
-
protoOf(defaultLocalization$1).
|
|
6622
|
-
protoOf(defaultLocalization$1).
|
|
6623
|
-
protoOf(defaultLocalization$1).
|
|
6624
|
-
protoOf(defaultLocalization$1).
|
|
6625
|
-
protoOf(defaultLocalization$1).
|
|
6626
|
-
protoOf(defaultLocalization$1).
|
|
6627
|
-
protoOf(defaultLocalization$1).
|
|
6628
|
-
protoOf(defaultLocalization$1).
|
|
6629
|
-
protoOf(defaultLocalization$1).
|
|
6630
|
-
protoOf(defaultLocalization$1).
|
|
6631
|
-
protoOf(defaultLocalization$1).
|
|
6632
|
-
protoOf(defaultLocalization$1).
|
|
6633
|
-
protoOf(defaultLocalization$1).
|
|
6634
|
-
protoOf(defaultLocalization$1).
|
|
6635
|
-
protoOf(defaultLocalization$1).
|
|
6636
|
-
protoOf(ProcessedArgumentImpl).
|
|
6637
|
-
protoOf(OptionWithValuesImpl).
|
|
6638
|
-
protoOf(OptionWithValuesImpl).
|
|
6639
|
-
protoOf(OptionWithValuesImpl).
|
|
6640
|
-
protoOf(OptionWithValuesImpl).
|
|
6603
|
+
protoOf(defaultLocalization$1).m3w = usageError;
|
|
6604
|
+
protoOf(defaultLocalization$1).y3t = badParameter;
|
|
6605
|
+
protoOf(defaultLocalization$1).w3t = badParameterWithMessage;
|
|
6606
|
+
protoOf(defaultLocalization$1).x3t = badParameterWithParam;
|
|
6607
|
+
protoOf(defaultLocalization$1).v3t = badParameterWithMessageAndParam;
|
|
6608
|
+
protoOf(defaultLocalization$1).p3v = missingOption;
|
|
6609
|
+
protoOf(defaultLocalization$1).w3u = missingArgument;
|
|
6610
|
+
protoOf(defaultLocalization$1).f3u = noSuchSubcommand;
|
|
6611
|
+
protoOf(defaultLocalization$1).l3u = noSuchOption;
|
|
6612
|
+
protoOf(defaultLocalization$1).r3u = incorrectOptionValueCount;
|
|
6613
|
+
protoOf(defaultLocalization$1).c3v = incorrectArgumentValueCount;
|
|
6614
|
+
protoOf(defaultLocalization$1).y3s = fileNotFound;
|
|
6615
|
+
protoOf(defaultLocalization$1).k3v = invalidFileFormat;
|
|
6616
|
+
protoOf(defaultLocalization$1).j3v = invalidFileFormat_0;
|
|
6617
|
+
protoOf(defaultLocalization$1).n3w = unclosedQuote;
|
|
6618
|
+
protoOf(defaultLocalization$1).o3w = fileEndsWithSlash;
|
|
6619
|
+
protoOf(defaultLocalization$1).p3w = extraArgumentOne;
|
|
6620
|
+
protoOf(defaultLocalization$1).q3w = extraArgumentMany;
|
|
6621
|
+
protoOf(defaultLocalization$1).r3w = invalidFlagValueInFile;
|
|
6622
|
+
protoOf(defaultLocalization$1).s3w = boolConversionError;
|
|
6623
|
+
protoOf(defaultLocalization$1).t3w = invalidChoice;
|
|
6624
|
+
protoOf(defaultLocalization$1).u3w = stringMetavar;
|
|
6625
|
+
protoOf(defaultLocalization$1).v3w = intMetavar;
|
|
6626
|
+
protoOf(defaultLocalization$1).w3w = usageTitle;
|
|
6627
|
+
protoOf(defaultLocalization$1).x3w = optionsTitle;
|
|
6628
|
+
protoOf(defaultLocalization$1).y3w = argumentsTitle;
|
|
6629
|
+
protoOf(defaultLocalization$1).z3w = commandsTitle;
|
|
6630
|
+
protoOf(defaultLocalization$1).a3x = optionsMetavar;
|
|
6631
|
+
protoOf(defaultLocalization$1).b3x = commandMetavar;
|
|
6632
|
+
protoOf(defaultLocalization$1).c3x = argumentsMetavar;
|
|
6633
|
+
protoOf(defaultLocalization$1).d3x = helpTagDefault;
|
|
6634
|
+
protoOf(defaultLocalization$1).e3x = helpTagRequired;
|
|
6635
|
+
protoOf(defaultLocalization$1).a3q = helpOptionMessage;
|
|
6636
|
+
protoOf(ProcessedArgumentImpl).k3z = copy$default;
|
|
6637
|
+
protoOf(OptionWithValuesImpl).l40 = copy$default_0;
|
|
6638
|
+
protoOf(OptionWithValuesImpl).m40 = copy$default_1;
|
|
6639
|
+
protoOf(OptionWithValuesImpl).s40 = getValue_0;
|
|
6640
|
+
protoOf(OptionWithValuesImpl).h3q = parameterHelp;
|
|
6641
6641
|
//endregion
|
|
6642
6642
|
//region block: init
|
|
6643
6643
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|