@flock/wirespec 0.10.1 → 0.10.3
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 +1154 -1154
- package/colormath-root-colormath.js +430 -430
- package/kotlin-kotlin-stdlib.js +3 -3
- package/kotlin-rgxgen.js +1763 -1763
- package/markdown.js +1871 -1871
- package/mordant-mordant.js +1641 -1641
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2855 -2438
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +304 -304
- package/wirespec-src-converter-openapi.js +318 -318
- package/wirespec-src-plugin-arguments.js +90 -84
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +154 -139
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +11 -11
- package/wirespec-src-tools-generator.js +24 -24
package/clikt-clikt.js
CHANGED
|
@@ -195,24 +195,24 @@
|
|
|
195
195
|
}
|
|
196
196
|
function parameterHelp(context) {
|
|
197
197
|
var tmp;
|
|
198
|
-
if (this.
|
|
198
|
+
if (this.l3t()) {
|
|
199
199
|
tmp = null;
|
|
200
200
|
} else {
|
|
201
|
-
var tmp_0 = this.
|
|
202
|
-
var tmp_1 = this.
|
|
203
|
-
var tmp_2 = this.
|
|
204
|
-
var tmp_3 = this.
|
|
205
|
-
var tmp_4 = this.
|
|
206
|
-
var tmp_5 = this.
|
|
207
|
-
var tmp_6 = this.
|
|
208
|
-
var tmp_7 = this.
|
|
201
|
+
var tmp_0 = this.n3s();
|
|
202
|
+
var tmp_1 = this.o3s();
|
|
203
|
+
var tmp_2 = this.v44(context);
|
|
204
|
+
var tmp_3 = this.w3t(context);
|
|
205
|
+
var tmp_4 = this.n3t();
|
|
206
|
+
var tmp_5 = this.n3w();
|
|
207
|
+
var tmp_6 = this.l3u();
|
|
208
|
+
var tmp_7 = this.q3w();
|
|
209
209
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
210
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
210
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m3w();
|
|
211
211
|
var tmp_8;
|
|
212
212
|
if (tmp3_elvis_lhs == null) {
|
|
213
213
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
214
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
215
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
214
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r3w();
|
|
215
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.m3w();
|
|
216
216
|
} else {
|
|
217
217
|
tmp_8 = tmp3_elvis_lhs;
|
|
218
218
|
}
|
|
@@ -383,19 +383,19 @@
|
|
|
383
383
|
initMetadataForInterface(Argument_0, 'Argument');
|
|
384
384
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
385
385
|
name = name === VOID ? this.r2() : name;
|
|
386
|
-
nvalues = nvalues === VOID ? this.
|
|
387
|
-
required = required === VOID ? this.
|
|
388
|
-
helpGetter = helpGetter === VOID ? this.
|
|
389
|
-
helpTags = helpTags === VOID ? this.
|
|
390
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
391
|
-
return $super === VOID ? this.
|
|
386
|
+
nvalues = nvalues === VOID ? this.n3t() : nvalues;
|
|
387
|
+
required = required === VOID ? this.k43() : required;
|
|
388
|
+
helpGetter = helpGetter === VOID ? this.m43() : helpGetter;
|
|
389
|
+
helpTags = helpTags === VOID ? this.n3w() : helpTags;
|
|
390
|
+
completionCandidates = completionCandidates === VOID ? this.o43() : completionCandidates;
|
|
391
|
+
return $super === VOID ? this.p43(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.p43.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
392
392
|
}
|
|
393
393
|
initMetadataForInterface(ProcessedArgument, 'ProcessedArgument', VOID, VOID, [Argument_0]);
|
|
394
394
|
initMetadataForClass(ArgumentTransformContext, 'ArgumentTransformContext', VOID, VOID, [Argument_0]);
|
|
395
395
|
initMetadataForClass(ProcessedArgumentImpl, 'ProcessedArgumentImpl', VOID, VOID, [ProcessedArgument]);
|
|
396
396
|
function parameterHelp_0(context) {
|
|
397
|
-
var n = this.
|
|
398
|
-
var h = this.
|
|
397
|
+
var n = this.m3w();
|
|
398
|
+
var h = this.n44();
|
|
399
399
|
return n == null || h == null ? null : new Group_0(n, h);
|
|
400
400
|
}
|
|
401
401
|
initMetadataForInterface(ParameterGroup, 'ParameterGroup');
|
|
@@ -411,39 +411,39 @@
|
|
|
411
411
|
initMetadataForClass(Envvar, 'Envvar', VOID, FinalValue);
|
|
412
412
|
initMetadataForClass(OptionTransformContext, 'OptionTransformContext', VOID, VOID, [Option_0]);
|
|
413
413
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
414
|
-
names = names === VOID ? this.
|
|
415
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
416
|
-
nvalues = nvalues === VOID ? this.
|
|
417
|
-
helpGetter = helpGetter === VOID ? this.
|
|
418
|
-
hidden = hidden === VOID ? this.
|
|
419
|
-
helpTags = helpTags === VOID ? this.
|
|
420
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
421
|
-
envvar = envvar === VOID ? this.
|
|
422
|
-
valueSplit = valueSplit === VOID ? this.
|
|
423
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
424
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
425
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
426
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
427
|
-
eager = eager === VOID ? this.
|
|
428
|
-
return $super === VOID ? this.
|
|
414
|
+
names = names === VOID ? this.n3s() : names;
|
|
415
|
+
metavarGetter = metavarGetter === VOID ? this.f45() : metavarGetter;
|
|
416
|
+
nvalues = nvalues === VOID ? this.n3t() : nvalues;
|
|
417
|
+
helpGetter = helpGetter === VOID ? this.m43() : helpGetter;
|
|
418
|
+
hidden = hidden === VOID ? this.l3t() : hidden;
|
|
419
|
+
helpTags = helpTags === VOID ? this.n3w() : helpTags;
|
|
420
|
+
valueSourceKey = valueSourceKey === VOID ? this.o3w() : valueSourceKey;
|
|
421
|
+
envvar = envvar === VOID ? this.d45() : envvar;
|
|
422
|
+
valueSplit = valueSplit === VOID ? this.g45() : valueSplit;
|
|
423
|
+
completionCandidates = completionCandidates === VOID ? this.o43() : completionCandidates;
|
|
424
|
+
secondaryNames = secondaryNames === VOID ? this.o3s() : secondaryNames;
|
|
425
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3u() : acceptsNumberValueWithoutName;
|
|
426
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.q3w() : acceptsUnattachedValue;
|
|
427
|
+
eager = eager === VOID ? this.p3w() : eager;
|
|
428
|
+
return $super === VOID ? this.h45(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.h45.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
429
429
|
}
|
|
430
430
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
431
|
-
validator = validator === VOID ? this.
|
|
432
|
-
names = names === VOID ? this.
|
|
433
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
434
|
-
nvalues = nvalues === VOID ? this.
|
|
435
|
-
helpGetter = helpGetter === VOID ? this.
|
|
436
|
-
hidden = hidden === VOID ? this.
|
|
437
|
-
helpTags = helpTags === VOID ? this.
|
|
438
|
-
envvar = envvar === VOID ? this.
|
|
439
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
440
|
-
valueSplit = valueSplit === VOID ? this.
|
|
441
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
442
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
443
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
444
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
445
|
-
eager = eager === VOID ? this.
|
|
446
|
-
return $super === VOID ? this.
|
|
431
|
+
validator = validator === VOID ? this.e45() : validator;
|
|
432
|
+
names = names === VOID ? this.n3s() : names;
|
|
433
|
+
metavarGetter = metavarGetter === VOID ? this.f45() : metavarGetter;
|
|
434
|
+
nvalues = nvalues === VOID ? this.n3t() : nvalues;
|
|
435
|
+
helpGetter = helpGetter === VOID ? this.m43() : helpGetter;
|
|
436
|
+
hidden = hidden === VOID ? this.l3t() : hidden;
|
|
437
|
+
helpTags = helpTags === VOID ? this.n3w() : helpTags;
|
|
438
|
+
envvar = envvar === VOID ? this.d45() : envvar;
|
|
439
|
+
valueSourceKey = valueSourceKey === VOID ? this.o3w() : valueSourceKey;
|
|
440
|
+
valueSplit = valueSplit === VOID ? this.g45() : valueSplit;
|
|
441
|
+
completionCandidates = completionCandidates === VOID ? this.o43() : completionCandidates;
|
|
442
|
+
secondaryNames = secondaryNames === VOID ? this.o3s() : secondaryNames;
|
|
443
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3u() : acceptsNumberValueWithoutName;
|
|
444
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.q3w() : acceptsUnattachedValue;
|
|
445
|
+
eager = eager === VOID ? this.p3w() : eager;
|
|
446
|
+
return $super === VOID ? this.i45(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.i45.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
447
447
|
}
|
|
448
448
|
initMetadataForInterface(OptionWithValues, 'OptionWithValues', VOID, VOID, [OptionDelegate]);
|
|
449
449
|
initMetadataForClass(OptionCallTransformContext, 'OptionCallTransformContext', VOID, VOID, [Option_0]);
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
initMetadataForObject(BrowserMppImpls, 'BrowserMppImpls');
|
|
461
461
|
//endregion
|
|
462
462
|
function commandCompletionFuncName($this, command) {
|
|
463
|
-
var tmp = command.
|
|
463
|
+
var tmp = command.m3s();
|
|
464
464
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
465
465
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
466
466
|
var isTopLevel = ancestors.j() === 1;
|
|
@@ -471,34 +471,34 @@
|
|
|
471
471
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').ub(name, '_');
|
|
472
472
|
}
|
|
473
473
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
474
|
-
return plus(_this__u8e3s4.
|
|
474
|
+
return plus(_this__u8e3s4.n3s(), _this__u8e3s4.o3s());
|
|
475
475
|
}
|
|
476
476
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
477
477
|
return "'" + it + "'";
|
|
478
478
|
}
|
|
479
479
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
480
|
-
return it.
|
|
480
|
+
return it.p3s_1;
|
|
481
481
|
}
|
|
482
482
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
483
|
-
return it.
|
|
483
|
+
return it.q3s_1.c3s_1;
|
|
484
484
|
}
|
|
485
485
|
function BashCompletionGenerator() {
|
|
486
486
|
}
|
|
487
|
-
protoOf(BashCompletionGenerator).
|
|
488
|
-
var commandName = command.
|
|
487
|
+
protoOf(BashCompletionGenerator).k3t = function (command, zsh) {
|
|
488
|
+
var commandName = command.c3s_1;
|
|
489
489
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
490
490
|
var isTopLevel = tmp0_container.od();
|
|
491
491
|
var funcName = tmp0_container.pd();
|
|
492
492
|
// Inline function 'kotlin.collections.map' call
|
|
493
493
|
// Inline function 'kotlin.collections.filterNot' call
|
|
494
494
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
495
|
-
var this_0 = command.
|
|
495
|
+
var this_0 = command.g3s_1;
|
|
496
496
|
var destination = ArrayList_init_$Create$();
|
|
497
497
|
var tmp0_iterator = this_0.g();
|
|
498
498
|
while (tmp0_iterator.h()) {
|
|
499
499
|
var element = tmp0_iterator.i();
|
|
500
500
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
501
|
-
if (!element.
|
|
501
|
+
if (!element.l3t()) {
|
|
502
502
|
destination.e(element);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
@@ -508,43 +508,43 @@
|
|
|
508
508
|
while (tmp0_iterator_0.h()) {
|
|
509
509
|
var item = tmp0_iterator_0.i();
|
|
510
510
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
511
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
511
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.m3t(), item.n3t());
|
|
512
512
|
destination_0.e(tmp$ret$3);
|
|
513
513
|
}
|
|
514
514
|
var options = destination_0;
|
|
515
515
|
// Inline function 'kotlin.collections.map' call
|
|
516
|
-
var this_1 = command.
|
|
516
|
+
var this_1 = command.h3s_1;
|
|
517
517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
518
518
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
519
519
|
var tmp0_iterator_1 = this_1.g();
|
|
520
520
|
while (tmp0_iterator_1.h()) {
|
|
521
521
|
var item_0 = tmp0_iterator_1.i();
|
|
522
522
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
523
|
-
var tmp$ret$6 = to(item_0.r2(), item_0.
|
|
523
|
+
var tmp$ret$6 = to(item_0.r2(), item_0.m3t());
|
|
524
524
|
destination_1.e(tmp$ret$6);
|
|
525
525
|
}
|
|
526
526
|
var arguments_0 = destination_1;
|
|
527
527
|
// Inline function 'kotlin.collections.map' call
|
|
528
|
-
var this_2 = command.
|
|
528
|
+
var this_2 = command.f3s_1;
|
|
529
529
|
// Inline function 'kotlin.collections.mapTo' call
|
|
530
530
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
531
531
|
var tmp0_iterator_2 = this_2.g();
|
|
532
532
|
while (tmp0_iterator_2.h()) {
|
|
533
533
|
var item_1 = tmp0_iterator_2.i();
|
|
534
534
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
535
|
-
var tmp$ret$9 = item_1.
|
|
535
|
+
var tmp$ret$9 = item_1.c3s_1;
|
|
536
536
|
destination_2.e(tmp$ret$9);
|
|
537
537
|
}
|
|
538
538
|
var subcommands = destination_2;
|
|
539
539
|
// Inline function 'kotlin.collections.flatMap' call
|
|
540
540
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
541
|
-
var this_3 = command.
|
|
541
|
+
var this_3 = command.h3s_1;
|
|
542
542
|
var list = ArrayList_init_$Create$();
|
|
543
543
|
var tmp0_iterator_3 = this_3.g();
|
|
544
544
|
$l$loop: while (tmp0_iterator_3.h()) {
|
|
545
545
|
var item_2 = tmp0_iterator_3.i();
|
|
546
546
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
547
|
-
if (!(item_2.
|
|
547
|
+
if (!(item_2.n3t() > 0))
|
|
548
548
|
break $l$loop;
|
|
549
549
|
list.e(item_2);
|
|
550
550
|
}
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
var element_0 = tmp0_iterator_4.i();
|
|
556
556
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
557
557
|
// Inline function 'kotlin.collections.map' call
|
|
558
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
558
|
+
var this_4 = numberRangeToNumber(1, element_0.n3t());
|
|
559
559
|
// Inline function 'kotlin.collections.mapTo' call
|
|
560
560
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
561
561
|
var tmp0_iterator_5 = this_4.g();
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
572
572
|
// Inline function 'kotlin.text.orEmpty' call
|
|
573
573
|
// Inline function 'kotlin.collections.find' call
|
|
574
|
-
var this_5 = command.
|
|
574
|
+
var this_5 = command.h3s_1;
|
|
575
575
|
var tmp$ret$21;
|
|
576
576
|
$l$block: {
|
|
577
577
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
while (tmp0_iterator_6.h()) {
|
|
580
580
|
var element_1 = tmp0_iterator_6.i();
|
|
581
581
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
582
|
-
if (element_1.
|
|
582
|
+
if (element_1.n3t() < 0) {
|
|
583
583
|
tmp$ret$21 = element_1;
|
|
584
584
|
break $l$block;
|
|
585
585
|
}
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
var name = tmp1_loop_parameter.od();
|
|
649
649
|
var candidate = tmp1_loop_parameter.pd();
|
|
650
650
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
651
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
651
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.o3t_1;
|
|
652
652
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
653
653
|
var tmp;
|
|
654
654
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
}
|
|
707
707
|
this_6.v7(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
708
708
|
// Inline function 'kotlin.collections.iterator' call
|
|
709
|
-
var tmp7_iterator = command.
|
|
709
|
+
var tmp7_iterator = command.p3t().z().g();
|
|
710
710
|
while (tmp7_iterator.h()) {
|
|
711
711
|
var tmp8_loop_parameter = tmp7_iterator.i();
|
|
712
712
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -717,18 +717,18 @@
|
|
|
717
717
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
718
718
|
this_6.v7(' "${COMP_WORDS[@]:${i}}" )').v7('\n');
|
|
719
719
|
this_6.v7(' (( COMP_CWORD = COMP_CWORD + ' + toks.j() + ' ))\n');
|
|
720
|
-
if (!command.
|
|
720
|
+
if (!command.m3s().r3s_1) {
|
|
721
721
|
this_6.v7(' can_parse_options=0\n');
|
|
722
722
|
}
|
|
723
723
|
this_6.v7(' ;;\n');
|
|
724
724
|
}
|
|
725
|
-
var tmp9_iterator = command.
|
|
725
|
+
var tmp9_iterator = command.f3s_1.g();
|
|
726
726
|
while (tmp9_iterator.h()) {
|
|
727
727
|
var sub = tmp9_iterator.i();
|
|
728
|
-
this_6.v7(trimMargin('\n | ' + sub.
|
|
728
|
+
this_6.v7(trimMargin('\n | ' + sub.c3s_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).be_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
729
729
|
}
|
|
730
730
|
this_6.v7(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
731
|
-
if (!command.
|
|
731
|
+
if (!command.m3s().r3s_1) {
|
|
732
732
|
this_6.v7(' can_parse_options=0\n');
|
|
733
733
|
}
|
|
734
734
|
this_6.v7(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -788,11 +788,11 @@
|
|
|
788
788
|
} else {
|
|
789
789
|
if (completion instanceof Fixed) {
|
|
790
790
|
this_6.v7(" COMPREPLY=($(compgen -W '");
|
|
791
|
-
joinTo(completion.
|
|
791
|
+
joinTo(completion.q3t_1, this_6, ' ');
|
|
792
792
|
this_6.v7('\' -- "${word}"))\n');
|
|
793
793
|
} else {
|
|
794
794
|
if (completion instanceof Custom) {
|
|
795
|
-
if (!(completion.
|
|
795
|
+
if (!(completion.o3t_1(ShellType_BASH_getInstance()) == null)) {
|
|
796
796
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
797
797
|
this_6.v7(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
798
798
|
}
|
|
@@ -811,10 +811,10 @@
|
|
|
811
811
|
this_6.v7('\' -- "${word}"))\n ;;\n');
|
|
812
812
|
}
|
|
813
813
|
this_6.v7(' esac\n}\n');
|
|
814
|
-
var tmp13_iterator = command.
|
|
814
|
+
var tmp13_iterator = command.f3s_1.g();
|
|
815
815
|
while (tmp13_iterator.h()) {
|
|
816
816
|
var subcommand = tmp13_iterator.i();
|
|
817
|
-
this_6.v7(BashCompletionGenerator_instance.
|
|
817
|
+
this_6.v7(BashCompletionGenerator_instance.k3t(subcommand, zsh));
|
|
818
818
|
}
|
|
819
819
|
if (isTopLevel) {
|
|
820
820
|
this_6.v7('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -944,13 +944,13 @@
|
|
|
944
944
|
}
|
|
945
945
|
function Fixed(candidates) {
|
|
946
946
|
CompletionCandidates.call(this);
|
|
947
|
-
this.
|
|
947
|
+
this.q3t_1 = candidates;
|
|
948
948
|
}
|
|
949
949
|
protoOf(Fixed).toString = function () {
|
|
950
|
-
return 'Fixed(candidates=' + toString_0(this.
|
|
950
|
+
return 'Fixed(candidates=' + toString_0(this.q3t_1) + ')';
|
|
951
951
|
};
|
|
952
952
|
protoOf(Fixed).hashCode = function () {
|
|
953
|
-
return hashCode(this.
|
|
953
|
+
return hashCode(this.q3t_1);
|
|
954
954
|
};
|
|
955
955
|
protoOf(Fixed).equals = function (other) {
|
|
956
956
|
if (this === other)
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
if (!(other instanceof Fixed))
|
|
959
959
|
return false;
|
|
960
960
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
961
|
-
if (!equals(this.
|
|
961
|
+
if (!equals(this.q3t_1, tmp0_other_with_cast.q3t_1))
|
|
962
962
|
return false;
|
|
963
963
|
return true;
|
|
964
964
|
};
|
|
@@ -968,20 +968,20 @@
|
|
|
968
968
|
}
|
|
969
969
|
function CompletionGenerator() {
|
|
970
970
|
}
|
|
971
|
-
protoOf(CompletionGenerator).
|
|
971
|
+
protoOf(CompletionGenerator).r3t = function (command, shell) {
|
|
972
972
|
// Inline function 'kotlin.text.lowercase' call
|
|
973
973
|
// Inline function 'kotlin.text.trim' call
|
|
974
974
|
// Inline function 'kotlin.js.asDynamic' call
|
|
975
975
|
var message;
|
|
976
976
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
977
977
|
case 'fish':
|
|
978
|
-
message = FishCompletionGenerator_instance.
|
|
978
|
+
message = FishCompletionGenerator_instance.s3t(command);
|
|
979
979
|
break;
|
|
980
980
|
case 'zsh':
|
|
981
|
-
message = BashCompletionGenerator_instance.
|
|
981
|
+
message = BashCompletionGenerator_instance.k3t(command, true);
|
|
982
982
|
break;
|
|
983
983
|
default:
|
|
984
|
-
message = BashCompletionGenerator_instance.
|
|
984
|
+
message = BashCompletionGenerator_instance.k3t(command, false);
|
|
985
985
|
break;
|
|
986
986
|
}
|
|
987
987
|
throw new PrintCompletionMessage(message);
|
|
@@ -997,29 +997,29 @@
|
|
|
997
997
|
var this_0 = StringBuilder_init_$Create$();
|
|
998
998
|
// Inline function 'kotlin.contracts.contract' call
|
|
999
999
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
1000
|
-
var parentCommandName = lastOrNull(command.
|
|
1001
|
-
var rootCommandName = first_0(command.
|
|
1000
|
+
var parentCommandName = lastOrNull(command.m3s().t3t());
|
|
1001
|
+
var rootCommandName = first_0(command.m3s().u3t());
|
|
1002
1002
|
var isTopLevel = parentCommandName == null;
|
|
1003
|
-
var commandName = command.
|
|
1003
|
+
var commandName = command.c3s_1;
|
|
1004
1004
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1005
1005
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1006
|
-
var this_1 = command.
|
|
1006
|
+
var this_1 = command.g3s_1;
|
|
1007
1007
|
var destination = ArrayList_init_$Create$();
|
|
1008
1008
|
var tmp0_iterator = this_1.g();
|
|
1009
1009
|
while (tmp0_iterator.h()) {
|
|
1010
1010
|
var element = tmp0_iterator.i();
|
|
1011
1011
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1012
|
-
if (!element.
|
|
1012
|
+
if (!element.l3t()) {
|
|
1013
1013
|
destination.e(element);
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
var options = destination;
|
|
1017
|
-
var arguments_0 = command.
|
|
1018
|
-
var subcommands = command.
|
|
1017
|
+
var arguments_0 = command.h3s_1;
|
|
1018
|
+
var subcommands = command.f3s_1;
|
|
1019
1019
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1020
1020
|
var hasSubcommands = !subcommands.l();
|
|
1021
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1022
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1021
|
+
var subcommandsVarName_0 = subcommandsVarName(command.m3s().u3t(), FishCompletionGenerator_instance);
|
|
1022
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.m3s().t3t(), FishCompletionGenerator_instance);
|
|
1023
1023
|
if (isTopLevel) {
|
|
1024
1024
|
// Inline function 'kotlin.text.appendLine' call
|
|
1025
1025
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
this_0.v7('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1048
1048
|
}
|
|
1049
1049
|
this_0.v7('-a ' + commandName + ' ');
|
|
1050
|
-
var help = replace_0(command.
|
|
1050
|
+
var help = replace_0(command.v3t(command.m3s()), "'", "\\'");
|
|
1051
1051
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1052
1052
|
if (!isBlank(help)) {
|
|
1053
1053
|
this_0.v7("-d '" + help + "'");
|
|
@@ -1143,11 +1143,11 @@
|
|
|
1143
1143
|
}
|
|
1144
1144
|
this_0.v7(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1145
1145
|
}
|
|
1146
|
-
if (option.
|
|
1146
|
+
if (option.n3t().d1_1 > 0) {
|
|
1147
1147
|
this_0.v7(' -r');
|
|
1148
1148
|
}
|
|
1149
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1150
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1149
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.m3t());
|
|
1150
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.w3t(command.m3s()));
|
|
1151
1151
|
// Inline function 'kotlin.text.appendLine' call
|
|
1152
1152
|
this_0.w7(_Char___init__impl__6a9atx(10));
|
|
1153
1153
|
}
|
|
@@ -1162,8 +1162,8 @@
|
|
|
1162
1162
|
while (tmp2_iterator.h()) {
|
|
1163
1163
|
var argument = tmp2_iterator.i();
|
|
1164
1164
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1165
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1166
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1165
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.m3t());
|
|
1166
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.x3t(command.m3s()));
|
|
1167
1167
|
// Inline function 'kotlin.text.appendLine' call
|
|
1168
1168
|
this_0.w7(_Char___init__impl__6a9atx(10));
|
|
1169
1169
|
}
|
|
@@ -1224,10 +1224,10 @@
|
|
|
1224
1224
|
_this__u8e3s4.v7(' -fa "(__fish_complete_users)"');
|
|
1225
1225
|
} else {
|
|
1226
1226
|
if (completion instanceof Fixed) {
|
|
1227
|
-
joinTo(completion.
|
|
1227
|
+
joinTo(completion.q3t_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1228
1228
|
} else {
|
|
1229
1229
|
if (completion instanceof Custom) {
|
|
1230
|
-
var customCompletion = completion.
|
|
1230
|
+
var customCompletion = completion.o3t_1(ShellType_FISH_getInstance());
|
|
1231
1231
|
_this__u8e3s4.v7(' -fa ' + customCompletion);
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
@@ -1243,11 +1243,11 @@
|
|
|
1243
1243
|
var tmp;
|
|
1244
1244
|
var tmp_0;
|
|
1245
1245
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1246
|
-
if (!_this__u8e3s4.
|
|
1246
|
+
if (!_this__u8e3s4.h3s_1.l()) {
|
|
1247
1247
|
tmp_0 = true;
|
|
1248
1248
|
} else {
|
|
1249
1249
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1250
|
-
tmp_0 = !_this__u8e3s4.
|
|
1250
|
+
tmp_0 = !_this__u8e3s4.f3s_1.l();
|
|
1251
1251
|
}
|
|
1252
1252
|
if (tmp_0) {
|
|
1253
1253
|
tmp = true;
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
// Inline function 'kotlin.collections.any' call
|
|
1258
1258
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1259
1259
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1260
|
-
var this_0 = _this__u8e3s4.
|
|
1260
|
+
var this_0 = _this__u8e3s4.g3s_1;
|
|
1261
1261
|
var destination = ArrayList_init_$Create$();
|
|
1262
1262
|
var tmp0_iterator = this_0.g();
|
|
1263
1263
|
while (tmp0_iterator.h()) {
|
|
@@ -1295,10 +1295,10 @@
|
|
|
1295
1295
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1296
1296
|
}
|
|
1297
1297
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1298
|
-
return plus(_this__u8e3s4.
|
|
1298
|
+
return plus(_this__u8e3s4.n3s(), _this__u8e3s4.o3s());
|
|
1299
1299
|
}
|
|
1300
1300
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1301
|
-
return it.
|
|
1301
|
+
return it.c3s_1;
|
|
1302
1302
|
}
|
|
1303
1303
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1304
1304
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1306,7 +1306,7 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
function FishCompletionGenerator() {
|
|
1308
1308
|
}
|
|
1309
|
-
protoOf(FishCompletionGenerator).
|
|
1309
|
+
protoOf(FishCompletionGenerator).s3t = function (command) {
|
|
1310
1310
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1311
1311
|
return '';
|
|
1312
1312
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1317,30 +1317,30 @@
|
|
|
1317
1317
|
}
|
|
1318
1318
|
function registeredOptionNames($this) {
|
|
1319
1319
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1320
|
-
var this_0 = $this.
|
|
1320
|
+
var this_0 = $this.g3s_1;
|
|
1321
1321
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1322
1322
|
var destination = LinkedHashSet_init_$Create$();
|
|
1323
1323
|
var tmp0_iterator = this_0.g();
|
|
1324
1324
|
while (tmp0_iterator.h()) {
|
|
1325
1325
|
var element = tmp0_iterator.i();
|
|
1326
1326
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1327
|
-
var list = element.
|
|
1327
|
+
var list = element.n3s();
|
|
1328
1328
|
addAll(destination, list);
|
|
1329
1329
|
}
|
|
1330
1330
|
return destination;
|
|
1331
1331
|
}
|
|
1332
1332
|
function createContext($this, argv, parent, ancestors) {
|
|
1333
|
-
$this.
|
|
1334
|
-
if ($this.
|
|
1333
|
+
$this.k3s_1 = Companion_instance_0.y3t($this, parent, argv, $this.j3s_1);
|
|
1334
|
+
if ($this.z3r_1) {
|
|
1335
1335
|
// Inline function 'kotlin.require' call
|
|
1336
1336
|
var tmp$ret$1;
|
|
1337
1337
|
$l$block: {
|
|
1338
1338
|
// Inline function 'kotlin.sequences.none' call
|
|
1339
|
-
var tmp0_iterator = $this.
|
|
1339
|
+
var tmp0_iterator = $this.m3s().z3t().g();
|
|
1340
1340
|
while (tmp0_iterator.h()) {
|
|
1341
1341
|
var element = tmp0_iterator.i();
|
|
1342
1342
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1343
|
-
if (element.
|
|
1343
|
+
if (element.q3s_1.z3r_1) {
|
|
1344
1344
|
tmp$ret$1 = false;
|
|
1345
1345
|
break $l$block;
|
|
1346
1346
|
}
|
|
@@ -1355,48 +1355,48 @@
|
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1358
|
-
if (!$this.
|
|
1359
|
-
var names = minus($this.
|
|
1358
|
+
if (!$this.m3s().v3s_1.l()) {
|
|
1359
|
+
var names = minus($this.m3s().v3s_1, registeredOptionNames($this));
|
|
1360
1360
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1361
1361
|
if (!names.l()) {
|
|
1362
|
-
var tmp = $this.
|
|
1362
|
+
var tmp = $this.m3s().d3t_1.a3u();
|
|
1363
1363
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
|
-
var tmp0_iterator_0 = $this.
|
|
1366
|
+
var tmp0_iterator_0 = $this.f3s_1.g();
|
|
1367
1367
|
while (tmp0_iterator_0.h()) {
|
|
1368
1368
|
var command = tmp0_iterator_0.i();
|
|
1369
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1369
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.q3s_1));
|
|
1370
1370
|
// Inline function 'kotlin.check' call
|
|
1371
1371
|
// Inline function 'kotlin.contracts.contract' call
|
|
1372
1372
|
if (!!a.p1(command)) {
|
|
1373
1373
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1374
|
-
var message_0 = 'Command ' + command.
|
|
1374
|
+
var message_0 = 'Command ' + command.c3s_1 + ' already registered';
|
|
1375
1375
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1376
1376
|
}
|
|
1377
|
-
createContext(command, argv, $this.
|
|
1377
|
+
createContext(command, argv, $this.m3s(), a);
|
|
1378
1378
|
}
|
|
1379
|
-
return ensureNotNull($this.
|
|
1379
|
+
return ensureNotNull($this.k3s_1);
|
|
1380
1380
|
}
|
|
1381
1381
|
function getCommandNameWithParents($this) {
|
|
1382
|
-
if ($this.
|
|
1382
|
+
if ($this.k3s_1 == null) {
|
|
1383
1383
|
createContext($this, emptyList(), null, emptyList());
|
|
1384
1384
|
}
|
|
1385
|
-
return joinToString($this.
|
|
1385
|
+
return joinToString($this.m3s().u3t(), ' ');
|
|
1386
1386
|
}
|
|
1387
1387
|
function generateCompletion($this) {
|
|
1388
|
-
if ($this.
|
|
1388
|
+
if ($this.y3r_1 == null)
|
|
1389
1389
|
return Unit_instance;
|
|
1390
1390
|
var tmp;
|
|
1391
|
-
if (isBlank($this.
|
|
1391
|
+
if (isBlank($this.y3r_1)) {
|
|
1392
1392
|
// Inline function 'kotlin.text.uppercase' call
|
|
1393
1393
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1394
|
-
tmp = '_' + replace_0($this.
|
|
1394
|
+
tmp = '_' + replace_0($this.c3s_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1395
1395
|
} else {
|
|
1396
|
-
tmp = $this.
|
|
1396
|
+
tmp = $this.y3r_1;
|
|
1397
1397
|
}
|
|
1398
1398
|
var envvar = tmp;
|
|
1399
|
-
var tmp0_elvis_lhs = $this.
|
|
1399
|
+
var tmp0_elvis_lhs = $this.m3s().e3t_1(envvar);
|
|
1400
1400
|
var tmp_0;
|
|
1401
1401
|
if (tmp0_elvis_lhs == null) {
|
|
1402
1402
|
return Unit_instance;
|
|
@@ -1404,13 +1404,13 @@
|
|
|
1404
1404
|
tmp_0 = tmp0_elvis_lhs;
|
|
1405
1405
|
}
|
|
1406
1406
|
var envval = tmp_0;
|
|
1407
|
-
CompletionGenerator_instance.
|
|
1407
|
+
CompletionGenerator_instance.r3t($this, envval);
|
|
1408
1408
|
}
|
|
1409
1409
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1410
1410
|
return Unit_instance;
|
|
1411
1411
|
}
|
|
1412
1412
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1413
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1413
|
+
throw new PrintHelpMessage($this$eagerOption.c3u_1);
|
|
1414
1414
|
}
|
|
1415
1415
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1416
1416
|
help = help === VOID ? '' : help;
|
|
@@ -1423,50 +1423,50 @@
|
|
|
1423
1423
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1424
1424
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1425
1425
|
hidden = hidden === VOID ? false : hidden;
|
|
1426
|
-
this.
|
|
1427
|
-
this.
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1430
|
-
this.
|
|
1431
|
-
this.
|
|
1432
|
-
this.
|
|
1426
|
+
this.v3r_1 = invokeWithoutSubcommand;
|
|
1427
|
+
this.w3r_1 = printHelpOnEmptyArgs;
|
|
1428
|
+
this.x3r_1 = helpTags;
|
|
1429
|
+
this.y3r_1 = autoCompleteEnvvar;
|
|
1430
|
+
this.z3r_1 = allowMultipleSubcommands;
|
|
1431
|
+
this.a3s_1 = treatUnknownOptionsAsArgs;
|
|
1432
|
+
this.b3s_1 = hidden;
|
|
1433
1433
|
var tmp = this;
|
|
1434
|
-
tmp.
|
|
1435
|
-
this.
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1434
|
+
tmp.c3s_1 = name == null ? inferCommandName(this) : name;
|
|
1435
|
+
this.d3s_1 = help;
|
|
1436
|
+
this.e3s_1 = epilog;
|
|
1437
|
+
this.f3s_1 = emptyList();
|
|
1438
1438
|
var tmp_0 = this;
|
|
1439
1439
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1440
|
-
tmp_0.
|
|
1440
|
+
tmp_0.g3s_1 = ArrayList_init_$Create$();
|
|
1441
1441
|
var tmp_1 = this;
|
|
1442
1442
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1443
|
-
tmp_1.
|
|
1443
|
+
tmp_1.h3s_1 = ArrayList_init_$Create$();
|
|
1444
1444
|
var tmp_2 = this;
|
|
1445
1445
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1446
|
-
tmp_2.
|
|
1446
|
+
tmp_2.i3s_1 = ArrayList_init_$Create$();
|
|
1447
1447
|
var tmp_3 = this;
|
|
1448
|
-
tmp_3.
|
|
1449
|
-
this.
|
|
1448
|
+
tmp_3.j3s_1 = CliktCommand$_contextConfig$lambda;
|
|
1449
|
+
this.k3s_1 = null;
|
|
1450
1450
|
var tmp_4 = this;
|
|
1451
1451
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1452
|
-
tmp_4.
|
|
1452
|
+
tmp_4.l3s_1 = ArrayList_init_$Create$();
|
|
1453
1453
|
}
|
|
1454
|
-
protoOf(CliktCommand).
|
|
1455
|
-
return this.
|
|
1454
|
+
protoOf(CliktCommand).d3u = function () {
|
|
1455
|
+
return this.d3s_1;
|
|
1456
1456
|
};
|
|
1457
|
-
protoOf(CliktCommand).
|
|
1458
|
-
return this.
|
|
1457
|
+
protoOf(CliktCommand).v3t = function (context) {
|
|
1458
|
+
return this.d3u();
|
|
1459
1459
|
};
|
|
1460
|
-
protoOf(CliktCommand).
|
|
1461
|
-
return this.
|
|
1460
|
+
protoOf(CliktCommand).e3u = function () {
|
|
1461
|
+
return this.e3s_1;
|
|
1462
1462
|
};
|
|
1463
|
-
protoOf(CliktCommand).
|
|
1464
|
-
return this.
|
|
1463
|
+
protoOf(CliktCommand).f3u = function (context) {
|
|
1464
|
+
return this.e3u();
|
|
1465
1465
|
};
|
|
1466
|
-
protoOf(CliktCommand).
|
|
1466
|
+
protoOf(CliktCommand).g3u = function () {
|
|
1467
1467
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1468
1468
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1469
|
-
var this_0 = this.
|
|
1469
|
+
var this_0 = this.g3s_1;
|
|
1470
1470
|
var destination = ArrayList_init_$Create$();
|
|
1471
1471
|
// Inline function 'kotlin.collections.forEach' call
|
|
1472
1472
|
var tmp0_iterator = this_0.g();
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
var element = tmp0_iterator.i();
|
|
1475
1475
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1476
1476
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1477
|
-
var tmp0_safe_receiver = element.
|
|
1477
|
+
var tmp0_safe_receiver = element.h3u(this.m3s());
|
|
1478
1478
|
if (tmp0_safe_receiver == null)
|
|
1479
1479
|
null;
|
|
1480
1480
|
else {
|
|
@@ -1486,7 +1486,7 @@
|
|
|
1486
1486
|
var tmp = destination;
|
|
1487
1487
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1488
1488
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1489
|
-
var this_1 = this.
|
|
1489
|
+
var this_1 = this.h3s_1;
|
|
1490
1490
|
var destination_0 = ArrayList_init_$Create$();
|
|
1491
1491
|
// Inline function 'kotlin.collections.forEach' call
|
|
1492
1492
|
var tmp0_iterator_0 = this_1.g();
|
|
@@ -1494,7 +1494,7 @@
|
|
|
1494
1494
|
var element_0 = tmp0_iterator_0.i();
|
|
1495
1495
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1496
1496
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1497
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1497
|
+
var tmp0_safe_receiver_0 = element_0.h3u(this.m3s());
|
|
1498
1498
|
if (tmp0_safe_receiver_0 == null)
|
|
1499
1499
|
null;
|
|
1500
1500
|
else {
|
|
@@ -1506,7 +1506,7 @@
|
|
|
1506
1506
|
var tmp_0 = destination_0;
|
|
1507
1507
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1508
1508
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1509
|
-
var this_2 = this.
|
|
1509
|
+
var this_2 = this.i3s_1;
|
|
1510
1510
|
var destination_1 = ArrayList_init_$Create$();
|
|
1511
1511
|
// Inline function 'kotlin.collections.forEach' call
|
|
1512
1512
|
var tmp0_iterator_1 = this_2.g();
|
|
@@ -1514,7 +1514,7 @@
|
|
|
1514
1514
|
var element_1 = tmp0_iterator_1.i();
|
|
1515
1515
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1516
1516
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1517
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1517
|
+
var tmp0_safe_receiver_1 = element_1.h3u(this.m3s());
|
|
1518
1518
|
if (tmp0_safe_receiver_1 == null)
|
|
1519
1519
|
null;
|
|
1520
1520
|
else {
|
|
@@ -1526,7 +1526,7 @@
|
|
|
1526
1526
|
var tmp_1 = destination_1;
|
|
1527
1527
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1528
1528
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1529
|
-
var this_3 = this.
|
|
1529
|
+
var this_3 = this.f3s_1;
|
|
1530
1530
|
var destination_2 = ArrayList_init_$Create$();
|
|
1531
1531
|
// Inline function 'kotlin.collections.forEach' call
|
|
1532
1532
|
var tmp0_iterator_2 = this_3.g();
|
|
@@ -1535,11 +1535,11 @@
|
|
|
1535
1535
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1536
1536
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1537
1537
|
// Inline function 'kotlin.takeUnless' call
|
|
1538
|
-
var this_4 = new Subcommand(element_2.
|
|
1538
|
+
var this_4 = new Subcommand(element_2.c3s_1, element_2.i3u(this.m3s()), element_2.x3r_1);
|
|
1539
1539
|
// Inline function 'kotlin.contracts.contract' call
|
|
1540
1540
|
var tmp_2;
|
|
1541
1541
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1542
|
-
if (!element_2.
|
|
1542
|
+
if (!element_2.b3s_1) {
|
|
1543
1543
|
tmp_2 = this_4;
|
|
1544
1544
|
} else {
|
|
1545
1545
|
tmp_2 = null;
|
|
@@ -1555,11 +1555,11 @@
|
|
|
1555
1555
|
}
|
|
1556
1556
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1557
1557
|
};
|
|
1558
|
-
protoOf(CliktCommand).
|
|
1558
|
+
protoOf(CliktCommand).m3s = function () {
|
|
1559
1559
|
$l$block: {
|
|
1560
1560
|
// Inline function 'kotlin.checkNotNull' call
|
|
1561
1561
|
// Inline function 'kotlin.contracts.contract' call
|
|
1562
|
-
if (this.
|
|
1562
|
+
if (this.k3s_1 == null) {
|
|
1563
1563
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1564
1564
|
var message = 'Context accessed before parse has been called.';
|
|
1565
1565
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1567,21 +1567,21 @@
|
|
|
1567
1567
|
break $l$block;
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
return ensureNotNull(this.
|
|
1570
|
+
return ensureNotNull(this.k3s_1);
|
|
1571
1571
|
};
|
|
1572
|
-
protoOf(CliktCommand).
|
|
1573
|
-
return this.
|
|
1572
|
+
protoOf(CliktCommand).j3u = function () {
|
|
1573
|
+
return this.l3s_1;
|
|
1574
1574
|
};
|
|
1575
|
-
protoOf(CliktCommand).
|
|
1576
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').rb(this.
|
|
1575
|
+
protoOf(CliktCommand).i3u = function (context) {
|
|
1576
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').rb(this.v3t(context));
|
|
1577
1577
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cc();
|
|
1578
1578
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k(1);
|
|
1579
1579
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.bc_1;
|
|
1580
1580
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1581
1581
|
};
|
|
1582
|
-
protoOf(CliktCommand).
|
|
1582
|
+
protoOf(CliktCommand).k3u = function (option) {
|
|
1583
1583
|
var names = registeredOptionNames(this);
|
|
1584
|
-
var tmp0_iterator = option.
|
|
1584
|
+
var tmp0_iterator = option.n3s().g();
|
|
1585
1585
|
while (tmp0_iterator.h()) {
|
|
1586
1586
|
var name = tmp0_iterator.i();
|
|
1587
1587
|
// Inline function 'kotlin.require' call
|
|
@@ -1592,12 +1592,12 @@
|
|
|
1592
1592
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
|
-
if (option.
|
|
1595
|
+
if (option.l3u()) {
|
|
1596
1596
|
// Inline function 'kotlin.require' call
|
|
1597
1597
|
var tmp$ret$1;
|
|
1598
1598
|
$l$block_0: {
|
|
1599
1599
|
// Inline function 'kotlin.collections.none' call
|
|
1600
|
-
var this_0 = this.
|
|
1600
|
+
var this_0 = this.g3s_1;
|
|
1601
1601
|
var tmp;
|
|
1602
1602
|
if (isInterface(this_0, Collection)) {
|
|
1603
1603
|
tmp = this_0.l();
|
|
@@ -1612,7 +1612,7 @@
|
|
|
1612
1612
|
while (tmp0_iterator_0.h()) {
|
|
1613
1613
|
var element = tmp0_iterator_0.i();
|
|
1614
1614
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1615
|
-
if (element.
|
|
1615
|
+
if (element.l3u()) {
|
|
1616
1616
|
tmp$ret$1 = false;
|
|
1617
1617
|
break $l$block_0;
|
|
1618
1618
|
}
|
|
@@ -1627,21 +1627,21 @@
|
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
1629
1629
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1630
|
-
this.
|
|
1630
|
+
this.g3s_1.e(option);
|
|
1631
1631
|
};
|
|
1632
|
-
protoOf(CliktCommand).
|
|
1633
|
-
return this.
|
|
1632
|
+
protoOf(CliktCommand).m3u = function (option) {
|
|
1633
|
+
return this.k3u(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1634
1634
|
};
|
|
1635
|
-
protoOf(CliktCommand).
|
|
1635
|
+
protoOf(CliktCommand).n3u = function (argument) {
|
|
1636
1636
|
// Inline function 'kotlin.require' call
|
|
1637
1637
|
var tmp;
|
|
1638
|
-
if (argument.
|
|
1638
|
+
if (argument.n3t() > 0) {
|
|
1639
1639
|
tmp = true;
|
|
1640
1640
|
} else {
|
|
1641
1641
|
var tmp$ret$0;
|
|
1642
1642
|
$l$block_0: {
|
|
1643
1643
|
// Inline function 'kotlin.collections.none' call
|
|
1644
|
-
var this_0 = this.
|
|
1644
|
+
var this_0 = this.h3s_1;
|
|
1645
1645
|
var tmp_0;
|
|
1646
1646
|
if (isInterface(this_0, Collection)) {
|
|
1647
1647
|
tmp_0 = this_0.l();
|
|
@@ -1656,7 +1656,7 @@
|
|
|
1656
1656
|
while (tmp0_iterator.h()) {
|
|
1657
1657
|
var element = tmp0_iterator.i();
|
|
1658
1658
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1659
|
-
if (element.
|
|
1659
|
+
if (element.n3t() < 0) {
|
|
1660
1660
|
tmp$ret$0 = false;
|
|
1661
1661
|
break $l$block_0;
|
|
1662
1662
|
}
|
|
@@ -1672,9 +1672,9 @@
|
|
|
1672
1672
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1673
1673
|
}
|
|
1674
1674
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1675
|
-
this.
|
|
1675
|
+
this.h3s_1.e(argument);
|
|
1676
1676
|
};
|
|
1677
|
-
protoOf(CliktCommand).
|
|
1677
|
+
protoOf(CliktCommand).o3u = function (error) {
|
|
1678
1678
|
var tmp;
|
|
1679
1679
|
if (!(error == null)) {
|
|
1680
1680
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1686,73 +1686,73 @@
|
|
|
1686
1686
|
}
|
|
1687
1687
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1688
1688
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w8();
|
|
1689
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1689
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.k3s_1 : tmp1_elvis_lhs;
|
|
1690
1690
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1691
|
-
var cmd = ctx.
|
|
1691
|
+
var cmd = ctx.q3s_1;
|
|
1692
1692
|
var programName = getCommandNameWithParents(cmd);
|
|
1693
|
-
var tmp_0 = ctx.
|
|
1694
|
-
return tmp_0.
|
|
1693
|
+
var tmp_0 = ctx.w3s_1(ctx);
|
|
1694
|
+
return tmp_0.p3u(error instanceof UsageError ? error : null, cmd.v3t(ctx), cmd.f3u(ctx), cmd.g3u(), programName);
|
|
1695
1695
|
};
|
|
1696
|
-
protoOf(CliktCommand).
|
|
1697
|
-
var msg = this.
|
|
1696
|
+
protoOf(CliktCommand).q3u = function (error) {
|
|
1697
|
+
var msg = this.o3u(error);
|
|
1698
1698
|
if (!(msg == null)) {
|
|
1699
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1700
|
-
this.
|
|
1699
|
+
var tmp1_elvis_lhs = error == null ? null : error.s3u_1;
|
|
1700
|
+
this.t3u(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1701
1701
|
}
|
|
1702
1702
|
};
|
|
1703
|
-
protoOf(CliktCommand).
|
|
1703
|
+
protoOf(CliktCommand).p3t = function () {
|
|
1704
1704
|
return emptyMap();
|
|
1705
1705
|
};
|
|
1706
|
-
protoOf(CliktCommand).
|
|
1706
|
+
protoOf(CliktCommand).u3u = function (message, trailingNewline, err) {
|
|
1707
1707
|
if (trailingNewline) {
|
|
1708
|
-
this.
|
|
1708
|
+
this.m3s().y3s_1.f3p(message, VOID, VOID, VOID, VOID, err);
|
|
1709
1709
|
} else {
|
|
1710
|
-
this.
|
|
1710
|
+
this.m3s().y3s_1.e3p(message, VOID, VOID, VOID, VOID, err);
|
|
1711
1711
|
}
|
|
1712
1712
|
};
|
|
1713
|
-
protoOf(CliktCommand).
|
|
1713
|
+
protoOf(CliktCommand).t3u = function (message, trailingNewline, err, $super) {
|
|
1714
1714
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1715
1715
|
err = err === VOID ? false : err;
|
|
1716
1716
|
var tmp;
|
|
1717
1717
|
if ($super === VOID) {
|
|
1718
|
-
this.
|
|
1718
|
+
this.u3u(message, trailingNewline, err);
|
|
1719
1719
|
tmp = Unit_instance;
|
|
1720
1720
|
} else {
|
|
1721
|
-
tmp = $super.
|
|
1721
|
+
tmp = $super.u3u.call(this, message, trailingNewline, err);
|
|
1722
1722
|
}
|
|
1723
1723
|
return tmp;
|
|
1724
1724
|
};
|
|
1725
|
-
protoOf(CliktCommand).
|
|
1725
|
+
protoOf(CliktCommand).v3u = function (argv, parentContext) {
|
|
1726
1726
|
createContext(this, argv, parentContext, emptyList());
|
|
1727
1727
|
generateCompletion(this);
|
|
1728
|
-
Parser_instance.
|
|
1728
|
+
Parser_instance.w3u(argv, this.m3s());
|
|
1729
1729
|
};
|
|
1730
|
-
protoOf(CliktCommand).
|
|
1730
|
+
protoOf(CliktCommand).x3u = function (argv, parentContext, $super) {
|
|
1731
1731
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1732
1732
|
var tmp;
|
|
1733
1733
|
if ($super === VOID) {
|
|
1734
|
-
this.
|
|
1734
|
+
this.v3u(argv, parentContext);
|
|
1735
1735
|
tmp = Unit_instance;
|
|
1736
1736
|
} else {
|
|
1737
|
-
tmp = $super.
|
|
1737
|
+
tmp = $super.v3u.call(this, argv, parentContext);
|
|
1738
1738
|
}
|
|
1739
1739
|
return tmp;
|
|
1740
1740
|
};
|
|
1741
|
-
protoOf(CliktCommand).
|
|
1741
|
+
protoOf(CliktCommand).y3u = function (argv) {
|
|
1742
1742
|
try {
|
|
1743
|
-
this.
|
|
1743
|
+
this.x3u(argv);
|
|
1744
1744
|
} catch ($p) {
|
|
1745
1745
|
if ($p instanceof CliktError) {
|
|
1746
1746
|
var e = $p;
|
|
1747
|
-
this.
|
|
1748
|
-
exitProcessMpp(e.
|
|
1747
|
+
this.q3u(e);
|
|
1748
|
+
exitProcessMpp(e.r3u_1);
|
|
1749
1749
|
} else {
|
|
1750
1750
|
throw $p;
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
1753
1753
|
};
|
|
1754
|
-
protoOf(CliktCommand).
|
|
1755
|
-
return this.
|
|
1754
|
+
protoOf(CliktCommand).z3u = function (argv) {
|
|
1755
|
+
return this.y3u(asList(argv));
|
|
1756
1756
|
};
|
|
1757
1757
|
protoOf(CliktCommand).toString = function () {
|
|
1758
1758
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1761,18 +1761,18 @@
|
|
|
1761
1761
|
var this_0 = StringBuilder_init_$Create$();
|
|
1762
1762
|
// Inline function 'kotlin.contracts.contract' call
|
|
1763
1763
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1764
|
-
this_0.v7('<' + classSimpleName(this) + ' name=' + this.
|
|
1764
|
+
this_0.v7('<' + classSimpleName(this) + ' name=' + this.c3s_1);
|
|
1765
1765
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1766
|
-
if (!this.
|
|
1767
|
-
joinTo(this.
|
|
1766
|
+
if (!this.g3s_1.l()) {
|
|
1767
|
+
joinTo(this.g3s_1, this_0, VOID, ' options=[', ']');
|
|
1768
1768
|
}
|
|
1769
1769
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1770
|
-
if (!this.
|
|
1771
|
-
joinTo(this.
|
|
1770
|
+
if (!this.h3s_1.l()) {
|
|
1771
|
+
joinTo(this.h3s_1, this_0, VOID, ' arguments=[', ']');
|
|
1772
1772
|
}
|
|
1773
1773
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1774
|
-
if (!this.
|
|
1775
|
-
joinTo(this.
|
|
1774
|
+
if (!this.f3s_1.l()) {
|
|
1775
|
+
joinTo(this.f3s_1, this_0, VOID, ' subcommands=[', ']');
|
|
1776
1776
|
}
|
|
1777
1777
|
this_0.v7('>');
|
|
1778
1778
|
return this_0.toString();
|
|
@@ -1803,7 +1803,7 @@
|
|
|
1803
1803
|
return lowerUpperRegex.vb(nameWithoutSuffixes, transform).toLowerCase();
|
|
1804
1804
|
}
|
|
1805
1805
|
function get_terminal(_this__u8e3s4) {
|
|
1806
|
-
return _this__u8e3s4.
|
|
1806
|
+
return _this__u8e3s4.m3s().y3s_1;
|
|
1807
1807
|
}
|
|
1808
1808
|
function classSimpleName(_this__u8e3s4) {
|
|
1809
1809
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1815,7 +1815,7 @@
|
|
|
1815
1815
|
// Inline function 'kotlin.apply' call
|
|
1816
1816
|
// Inline function 'kotlin.contracts.contract' call
|
|
1817
1817
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1818
|
-
_this__u8e3s4.
|
|
1818
|
+
_this__u8e3s4.f3s_1 = plus_2(_this__u8e3s4.f3s_1, commands);
|
|
1819
1819
|
return _this__u8e3s4;
|
|
1820
1820
|
}
|
|
1821
1821
|
function inferCommandName$lambda(it) {
|
|
@@ -1841,36 +1841,36 @@
|
|
|
1841
1841
|
}
|
|
1842
1842
|
function Builder(command, parent) {
|
|
1843
1843
|
parent = parent === VOID ? null : parent;
|
|
1844
|
-
this.
|
|
1844
|
+
this.b3v_1 = parent;
|
|
1845
1845
|
var tmp = this;
|
|
1846
|
-
var tmp0_safe_receiver = this.
|
|
1847
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1848
|
-
tmp.
|
|
1849
|
-
this.
|
|
1846
|
+
var tmp0_safe_receiver = this.b3v_1;
|
|
1847
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r3s_1;
|
|
1848
|
+
tmp.c3v_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1849
|
+
this.d3v_1 = true;
|
|
1850
1850
|
var tmp_0 = this;
|
|
1851
|
-
var tmp0_safe_receiver_0 = this.
|
|
1852
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1853
|
-
tmp_0.
|
|
1851
|
+
var tmp0_safe_receiver_0 = this.b3v_1;
|
|
1852
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.u3s_1;
|
|
1853
|
+
tmp_0.e3v_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1854
1854
|
var tmp_1 = this;
|
|
1855
|
-
var tmp0_safe_receiver_1 = this.
|
|
1856
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1857
|
-
tmp_1.
|
|
1855
|
+
var tmp0_safe_receiver_1 = this.b3v_1;
|
|
1856
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.v3s_1;
|
|
1857
|
+
tmp_1.f3v_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1858
1858
|
var tmp_2 = this;
|
|
1859
|
-
var tmp0_safe_receiver_2 = this.
|
|
1860
|
-
tmp_2.
|
|
1859
|
+
var tmp0_safe_receiver_2 = this.b3v_1;
|
|
1860
|
+
tmp_2.g3v_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.w3s_1;
|
|
1861
1861
|
var tmp_3 = this;
|
|
1862
|
-
var tmp0_safe_receiver_3 = this.
|
|
1863
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1862
|
+
var tmp0_safe_receiver_3 = this.b3v_1;
|
|
1863
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.x3s_1;
|
|
1864
1864
|
var tmp_4;
|
|
1865
1865
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1866
1866
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1867
1867
|
} else {
|
|
1868
1868
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1869
1869
|
}
|
|
1870
|
-
tmp_3.
|
|
1870
|
+
tmp_3.h3v_1 = tmp_4;
|
|
1871
1871
|
var tmp_5 = this;
|
|
1872
|
-
var tmp0_safe_receiver_4 = this.
|
|
1873
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1872
|
+
var tmp0_safe_receiver_4 = this.b3v_1;
|
|
1873
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.t3s_1;
|
|
1874
1874
|
var tmp_6;
|
|
1875
1875
|
if (tmp1_safe_receiver == null) {
|
|
1876
1876
|
tmp_6 = null;
|
|
@@ -1881,48 +1881,48 @@
|
|
|
1881
1881
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1882
1882
|
// Inline function 'kotlin.text.uppercase' call
|
|
1883
1883
|
// Inline function 'kotlin.text.replace' call
|
|
1884
|
-
var this_0 = command.
|
|
1884
|
+
var this_0 = command.c3s_1;
|
|
1885
1885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1886
1886
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').ub(this_0, '_').toUpperCase();
|
|
1887
1887
|
}
|
|
1888
|
-
tmp_5.
|
|
1888
|
+
tmp_5.i3v_1 = tmp_6;
|
|
1889
1889
|
var tmp_8 = this;
|
|
1890
|
-
var tmp0_safe_receiver_5 = this.
|
|
1891
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1892
|
-
tmp_8.
|
|
1893
|
-
this.
|
|
1890
|
+
var tmp0_safe_receiver_5 = this.b3v_1;
|
|
1891
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.y3s_1;
|
|
1892
|
+
tmp_8.j3v_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1893
|
+
this.k3v_1 = get_defaultArgFileReader();
|
|
1894
1894
|
var tmp_9 = this;
|
|
1895
|
-
var tmp0_safe_receiver_6 = this.
|
|
1896
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1897
|
-
tmp_9.
|
|
1895
|
+
var tmp0_safe_receiver_6 = this.b3v_1;
|
|
1896
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.a3t_1;
|
|
1897
|
+
tmp_9.l3v_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1898
1898
|
var tmp_10 = this;
|
|
1899
|
-
var tmp0_safe_receiver_7 = this.
|
|
1900
|
-
tmp_10.
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1899
|
+
var tmp0_safe_receiver_7 = this.b3v_1;
|
|
1900
|
+
tmp_10.m3v_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.b3t_1;
|
|
1901
|
+
this.n3v_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1902
|
+
this.o3v_1 = get_defaultLocalization();
|
|
1903
1903
|
var tmp_11 = this;
|
|
1904
|
-
var tmp0_safe_receiver_8 = this.
|
|
1905
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1904
|
+
var tmp0_safe_receiver_8 = this.b3v_1;
|
|
1905
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.e3t_1;
|
|
1906
1906
|
var tmp_12;
|
|
1907
1907
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1908
1908
|
tmp_12 = readEnvvar$ref();
|
|
1909
1909
|
} else {
|
|
1910
1910
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1911
1911
|
}
|
|
1912
|
-
tmp_11.
|
|
1912
|
+
tmp_11.p3v_1 = tmp_12;
|
|
1913
1913
|
var tmp_13 = this;
|
|
1914
|
-
var tmp0_safe_receiver_9 = this.
|
|
1915
|
-
tmp_13.
|
|
1914
|
+
var tmp0_safe_receiver_9 = this.b3v_1;
|
|
1915
|
+
tmp_13.q3v_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.f3t_1;
|
|
1916
1916
|
}
|
|
1917
1917
|
function Companion() {
|
|
1918
1918
|
}
|
|
1919
|
-
protoOf(Companion).
|
|
1919
|
+
protoOf(Companion).y3t = function (command, parent, argv, block) {
|
|
1920
1920
|
// Inline function 'kotlin.with' call
|
|
1921
1921
|
// Inline function 'kotlin.contracts.contract' call
|
|
1922
1922
|
var $this$with = new Builder(command, parent);
|
|
1923
1923
|
block($this$with);
|
|
1924
1924
|
var tmp;
|
|
1925
|
-
if ($this$with.
|
|
1925
|
+
if ($this$with.c3v_1 && !command.z3r_1) {
|
|
1926
1926
|
var tmp_0;
|
|
1927
1927
|
if (parent == null) {
|
|
1928
1928
|
tmp_0 = null;
|
|
@@ -1933,11 +1933,11 @@
|
|
|
1933
1933
|
var tmp$ret$1;
|
|
1934
1934
|
$l$block: {
|
|
1935
1935
|
// Inline function 'kotlin.sequences.any' call
|
|
1936
|
-
var tmp0_iterator = parent.
|
|
1936
|
+
var tmp0_iterator = parent.r3v().g();
|
|
1937
1937
|
while (tmp0_iterator.h()) {
|
|
1938
1938
|
var element = tmp0_iterator.i();
|
|
1939
1939
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1940
|
-
if (element.
|
|
1940
|
+
if (element.q3s_1.z3r_1) {
|
|
1941
1941
|
tmp$ret$1 = true;
|
|
1942
1942
|
break $l$block;
|
|
1943
1943
|
}
|
|
@@ -1951,7 +1951,7 @@
|
|
|
1951
1951
|
tmp = false;
|
|
1952
1952
|
}
|
|
1953
1953
|
var interspersed = tmp;
|
|
1954
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1954
|
+
var tmp1_elvis_lhs = $this$with.g3v_1;
|
|
1955
1955
|
var tmp_1;
|
|
1956
1956
|
if (tmp1_elvis_lhs == null) {
|
|
1957
1957
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1959,56 +1959,56 @@
|
|
|
1959
1959
|
tmp_1 = tmp1_elvis_lhs;
|
|
1960
1960
|
}
|
|
1961
1961
|
var formatter = tmp_1;
|
|
1962
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1962
|
+
return new Context(parent, command, interspersed, $this$with.d3v_1, $this$with.i3v_1, $this$with.e3v_1, toSet($this$with.f3v_1), formatter, $this$with.h3v_1, $this$with.j3v_1, $this$with.k3v_1, $this$with.l3v_1, $this$with.m3v_1, $this$with.n3v_1, $this$with.o3v_1, $this$with.p3v_1, $this$with.q3v_1, argv);
|
|
1963
1963
|
};
|
|
1964
1964
|
var Companion_instance_0;
|
|
1965
1965
|
function Companion_getInstance() {
|
|
1966
1966
|
return Companion_instance_0;
|
|
1967
1967
|
}
|
|
1968
1968
|
function Context$parentNames$lambda(it) {
|
|
1969
|
-
return it.
|
|
1969
|
+
return it.q3s_1.c3s_1;
|
|
1970
1970
|
}
|
|
1971
1971
|
function Context$ancestors$lambda(it) {
|
|
1972
|
-
return it.
|
|
1972
|
+
return it.p3s_1;
|
|
1973
1973
|
}
|
|
1974
1974
|
function Context$selfAndAncestors$lambda(it) {
|
|
1975
|
-
return it.
|
|
1975
|
+
return it.p3s_1;
|
|
1976
1976
|
}
|
|
1977
1977
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1978
|
-
this.
|
|
1979
|
-
this.
|
|
1980
|
-
this.
|
|
1981
|
-
this.
|
|
1982
|
-
this.
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1988
|
-
this.
|
|
1989
|
-
this.
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1992
|
-
this.
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1996
|
-
this.
|
|
1997
|
-
this.
|
|
1978
|
+
this.p3s_1 = parent;
|
|
1979
|
+
this.q3s_1 = command;
|
|
1980
|
+
this.r3s_1 = allowInterspersedArgs;
|
|
1981
|
+
this.s3s_1 = allowGroupedShortOptions;
|
|
1982
|
+
this.t3s_1 = autoEnvvarPrefix;
|
|
1983
|
+
this.u3s_1 = printExtraMessages;
|
|
1984
|
+
this.v3s_1 = helpOptionNames;
|
|
1985
|
+
this.w3s_1 = helpFormatter;
|
|
1986
|
+
this.x3s_1 = tokenTransformer;
|
|
1987
|
+
this.y3s_1 = terminal;
|
|
1988
|
+
this.z3s_1 = argumentFileReader;
|
|
1989
|
+
this.a3t_1 = readEnvvarBeforeValueSource;
|
|
1990
|
+
this.b3t_1 = valueSource;
|
|
1991
|
+
this.c3t_1 = correctionSuggestor;
|
|
1992
|
+
this.d3t_1 = localization;
|
|
1993
|
+
this.e3t_1 = readEnvvar;
|
|
1994
|
+
this.f3t_1 = obj;
|
|
1995
|
+
this.g3t_1 = originalArgv;
|
|
1996
|
+
this.h3t_1 = null;
|
|
1997
|
+
this.i3t_1 = false;
|
|
1998
1998
|
var tmp = this;
|
|
1999
1999
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2000
|
-
tmp.
|
|
2000
|
+
tmp.j3t_1 = ArrayList_init_$Create$();
|
|
2001
2001
|
}
|
|
2002
|
-
protoOf(Context).
|
|
2003
|
-
var tmp = this.
|
|
2002
|
+
protoOf(Context).t3t = function () {
|
|
2003
|
+
var tmp = this.z3t();
|
|
2004
2004
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
2005
2005
|
};
|
|
2006
|
-
protoOf(Context).
|
|
2007
|
-
return plus_1(this.
|
|
2006
|
+
protoOf(Context).u3t = function () {
|
|
2007
|
+
return plus_1(this.t3t(), this.q3s_1.c3s_1);
|
|
2008
2008
|
};
|
|
2009
|
-
protoOf(Context).
|
|
2009
|
+
protoOf(Context).s3v = function () {
|
|
2010
2010
|
var err = null;
|
|
2011
|
-
var tmp0_iterator = asReversed_0(this.
|
|
2011
|
+
var tmp0_iterator = asReversed_0(this.j3t_1).g();
|
|
2012
2012
|
while (tmp0_iterator.h()) {
|
|
2013
2013
|
var c = tmp0_iterator.i();
|
|
2014
2014
|
try {
|
|
@@ -2026,18 +2026,18 @@
|
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
|
-
this.
|
|
2029
|
+
this.j3t_1.h2();
|
|
2030
2030
|
if (!(err == null))
|
|
2031
2031
|
throw err;
|
|
2032
2032
|
};
|
|
2033
|
-
protoOf(Context).
|
|
2034
|
-
return generateSequence(this.
|
|
2033
|
+
protoOf(Context).z3t = function () {
|
|
2034
|
+
return generateSequence(this.p3s_1, Context$ancestors$lambda);
|
|
2035
2035
|
};
|
|
2036
|
-
protoOf(Context).
|
|
2036
|
+
protoOf(Context).r3v = function () {
|
|
2037
2037
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
2038
2038
|
};
|
|
2039
|
-
protoOf(Context).
|
|
2040
|
-
return !(this.
|
|
2039
|
+
protoOf(Context).t3v = function () {
|
|
2040
|
+
return !(this.z3s_1 == null);
|
|
2041
2041
|
};
|
|
2042
2042
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
2043
2043
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2080,10 +2080,10 @@
|
|
|
2080
2080
|
return destination_1;
|
|
2081
2081
|
}
|
|
2082
2082
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2083
|
-
this.
|
|
2083
|
+
this.u3v_1 = function_0;
|
|
2084
2084
|
}
|
|
2085
2085
|
protoOf(sam$kotlin_Comparator$0).qc = function (a, b) {
|
|
2086
|
-
return this.
|
|
2086
|
+
return this.u3v_1(a, b);
|
|
2087
2087
|
};
|
|
2088
2088
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2089
2089
|
return this.qc(a, b);
|
|
@@ -2190,7 +2190,7 @@
|
|
|
2190
2190
|
hidden = hidden === VOID ? false : hidden;
|
|
2191
2191
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2192
2192
|
}
|
|
2193
|
-
protoOf(NoOpCliktCommand).
|
|
2193
|
+
protoOf(NoOpCliktCommand).a3v = function () {
|
|
2194
2194
|
return Unit_instance;
|
|
2195
2195
|
};
|
|
2196
2196
|
function StaticallyGroupedOption() {
|
|
@@ -2202,10 +2202,10 @@
|
|
|
2202
2202
|
function FileNotFound(filename) {
|
|
2203
2203
|
UsageError.call(this, null);
|
|
2204
2204
|
captureStack(this, FileNotFound);
|
|
2205
|
-
this.
|
|
2205
|
+
this.x3w_1 = filename;
|
|
2206
2206
|
}
|
|
2207
|
-
protoOf(FileNotFound).
|
|
2208
|
-
return localization.
|
|
2207
|
+
protoOf(FileNotFound).y3w = function (localization, formatter) {
|
|
2208
|
+
return localization.z3w(this.x3w_1);
|
|
2209
2209
|
};
|
|
2210
2210
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2211
2211
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2232,18 +2232,18 @@
|
|
|
2232
2232
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2233
2233
|
CliktError.call(this, message, VOID, statusCode);
|
|
2234
2234
|
captureStack(this, UsageError);
|
|
2235
|
-
this.
|
|
2236
|
-
this.
|
|
2235
|
+
this.c3x_1 = paramName;
|
|
2236
|
+
this.d3x_1 = null;
|
|
2237
2237
|
}
|
|
2238
|
-
protoOf(UsageError).
|
|
2238
|
+
protoOf(UsageError).y3w = function (localization, formatter) {
|
|
2239
2239
|
var tmp0_elvis_lhs = this.message;
|
|
2240
2240
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2241
2241
|
};
|
|
2242
|
-
protoOf(UsageError).
|
|
2243
|
-
this.
|
|
2242
|
+
protoOf(UsageError).e3x = function (_set____db54di) {
|
|
2243
|
+
this.d3x_1 = _set____db54di;
|
|
2244
2244
|
};
|
|
2245
2245
|
protoOf(UsageError).w8 = function () {
|
|
2246
|
-
return this.
|
|
2246
|
+
return this.d3x_1;
|
|
2247
2247
|
};
|
|
2248
2248
|
function CliktError(message, cause, statusCode, printError) {
|
|
2249
2249
|
message = message === VOID ? null : message;
|
|
@@ -2252,8 +2252,8 @@
|
|
|
2252
2252
|
printError = printError === VOID ? true : printError;
|
|
2253
2253
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2254
2254
|
captureStack(this, CliktError);
|
|
2255
|
-
this.
|
|
2256
|
-
this.
|
|
2255
|
+
this.r3u_1 = statusCode;
|
|
2256
|
+
this.s3u_1 = printError;
|
|
2257
2257
|
}
|
|
2258
2258
|
function ContextCliktError() {
|
|
2259
2259
|
}
|
|
@@ -2262,15 +2262,15 @@
|
|
|
2262
2262
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2263
2263
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2264
2264
|
captureStack(this, PrintHelpMessage);
|
|
2265
|
-
this.
|
|
2266
|
-
this.
|
|
2265
|
+
this.h3x_1 = context;
|
|
2266
|
+
this.i3x_1 = error;
|
|
2267
2267
|
}
|
|
2268
2268
|
protoOf(PrintHelpMessage).w8 = function () {
|
|
2269
|
-
return this.
|
|
2269
|
+
return this.h3x_1;
|
|
2270
2270
|
};
|
|
2271
2271
|
function Companion_0() {
|
|
2272
2272
|
}
|
|
2273
|
-
protoOf(Companion_0).
|
|
2273
|
+
protoOf(Companion_0).j3x = function (errors) {
|
|
2274
2274
|
var tmp;
|
|
2275
2275
|
switch (errors.j()) {
|
|
2276
2276
|
case 0:
|
|
@@ -2290,7 +2290,7 @@
|
|
|
2290
2290
|
var element = tmp0_iterator.i();
|
|
2291
2291
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2292
2292
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2293
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2293
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o3x_1;
|
|
2294
2294
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2295
2295
|
addAll(destination, list);
|
|
2296
2296
|
}
|
|
@@ -2306,16 +2306,16 @@
|
|
|
2306
2306
|
}
|
|
2307
2307
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2308
2308
|
return function (it) {
|
|
2309
|
-
return it.
|
|
2309
|
+
return it.y3w($localization, $formatter);
|
|
2310
2310
|
};
|
|
2311
2311
|
}
|
|
2312
2312
|
function MultiUsageError(errors) {
|
|
2313
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2313
|
+
UsageError.call(this, null, VOID, first_0(errors).r3u_1);
|
|
2314
2314
|
captureStack(this, MultiUsageError);
|
|
2315
|
-
this.
|
|
2315
|
+
this.o3x_1 = errors;
|
|
2316
2316
|
}
|
|
2317
|
-
protoOf(MultiUsageError).
|
|
2318
|
-
return joinToString(this.
|
|
2317
|
+
protoOf(MultiUsageError).y3w = function (localization, formatter) {
|
|
2318
|
+
return joinToString(this.o3x_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2319
2319
|
};
|
|
2320
2320
|
var Kind_Argument_instance;
|
|
2321
2321
|
var Kind_Option_instance;
|
|
@@ -2333,7 +2333,7 @@
|
|
|
2333
2333
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2334
2334
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2335
2335
|
BadParameterValue.call($this);
|
|
2336
|
-
$this.
|
|
2336
|
+
$this.t3x_1 = Kind_Argument_getInstance();
|
|
2337
2337
|
return $this;
|
|
2338
2338
|
}
|
|
2339
2339
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2344,7 +2344,7 @@
|
|
|
2344
2344
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2345
2345
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2346
2346
|
BadParameterValue.call($this);
|
|
2347
|
-
$this.
|
|
2347
|
+
$this.t3x_1 = Kind_Option_getInstance();
|
|
2348
2348
|
return $this;
|
|
2349
2349
|
}
|
|
2350
2350
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2356
2356
|
UsageError.call($this, message, name);
|
|
2357
2357
|
BadParameterValue.call($this);
|
|
2358
|
-
$this.
|
|
2358
|
+
$this.t3x_1 = Kind_Option_getInstance();
|
|
2359
2359
|
return $this;
|
|
2360
2360
|
}
|
|
2361
2361
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2371,7 +2371,7 @@
|
|
|
2371
2371
|
Kind_initEntries();
|
|
2372
2372
|
return Kind_Option_instance;
|
|
2373
2373
|
}
|
|
2374
|
-
protoOf(BadParameterValue).
|
|
2374
|
+
protoOf(BadParameterValue).y3w = function (localization, formatter) {
|
|
2375
2375
|
// Inline function 'kotlin.takeUnless' call
|
|
2376
2376
|
var this_0 = this.message;
|
|
2377
2377
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2385,7 +2385,7 @@
|
|
|
2385
2385
|
tmp = null;
|
|
2386
2386
|
}
|
|
2387
2387
|
var m = tmp;
|
|
2388
|
-
var tmp0_safe_receiver = this.
|
|
2388
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2389
2389
|
var tmp_0;
|
|
2390
2390
|
if (tmp0_safe_receiver == null) {
|
|
2391
2391
|
tmp_0 = null;
|
|
@@ -2410,14 +2410,14 @@
|
|
|
2410
2410
|
// Inline function 'kotlin.let' call
|
|
2411
2411
|
// Inline function 'kotlin.contracts.contract' call
|
|
2412
2412
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2413
|
-
var tmp0_subject = this.
|
|
2413
|
+
var tmp0_subject = this.t3x_1;
|
|
2414
2414
|
var tmp_3;
|
|
2415
2415
|
switch (tmp0_subject == null ? -1 : tmp0_subject.q2_1) {
|
|
2416
2416
|
case 0:
|
|
2417
|
-
tmp_3 = formatter.
|
|
2417
|
+
tmp_3 = formatter.u3x(tmp1_safe_receiver);
|
|
2418
2418
|
break;
|
|
2419
2419
|
case 1:
|
|
2420
|
-
tmp_3 = formatter.
|
|
2420
|
+
tmp_3 = formatter.v3x(tmp1_safe_receiver);
|
|
2421
2421
|
break;
|
|
2422
2422
|
case -1:
|
|
2423
2423
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2431,13 +2431,13 @@
|
|
|
2431
2431
|
var p = tmp_2;
|
|
2432
2432
|
var tmp_4;
|
|
2433
2433
|
if (m == null && p == null) {
|
|
2434
|
-
tmp_4 = localization.
|
|
2434
|
+
tmp_4 = localization.z3x();
|
|
2435
2435
|
} else if (m == null && !(p == null)) {
|
|
2436
|
-
tmp_4 = localization.
|
|
2436
|
+
tmp_4 = localization.y3x(p);
|
|
2437
2437
|
} else if (!(m == null) && p == null) {
|
|
2438
|
-
tmp_4 = localization.
|
|
2438
|
+
tmp_4 = localization.x3x(m);
|
|
2439
2439
|
} else if (!(m == null) && !(p == null)) {
|
|
2440
|
-
tmp_4 = localization.
|
|
2440
|
+
tmp_4 = localization.w3x(p, m);
|
|
2441
2441
|
} else {
|
|
2442
2442
|
var message = 'impossible';
|
|
2443
2443
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2455,64 +2455,64 @@
|
|
|
2455
2455
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2456
2456
|
UsageError.call(this, null, paramName);
|
|
2457
2457
|
captureStack(this, NoSuchSubcommand);
|
|
2458
|
-
this.
|
|
2458
|
+
this.e3y_1 = possibilities;
|
|
2459
2459
|
}
|
|
2460
|
-
protoOf(NoSuchSubcommand).
|
|
2461
|
-
var tmp0_safe_receiver = this.
|
|
2460
|
+
protoOf(NoSuchSubcommand).y3w = function (localization, formatter) {
|
|
2461
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2462
2462
|
var tmp;
|
|
2463
2463
|
if (tmp0_safe_receiver == null) {
|
|
2464
2464
|
tmp = null;
|
|
2465
2465
|
} else {
|
|
2466
2466
|
// Inline function 'kotlin.let' call
|
|
2467
2467
|
// Inline function 'kotlin.contracts.contract' call
|
|
2468
|
-
tmp = formatter.
|
|
2468
|
+
tmp = formatter.f3y(tmp0_safe_receiver);
|
|
2469
2469
|
}
|
|
2470
2470
|
var tmp1_elvis_lhs = tmp;
|
|
2471
2471
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2472
2472
|
// Inline function 'kotlin.collections.map' call
|
|
2473
|
-
var this_0 = this.
|
|
2473
|
+
var this_0 = this.e3y_1;
|
|
2474
2474
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2475
2475
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2476
2476
|
var tmp0_iterator = this_0.g();
|
|
2477
2477
|
while (tmp0_iterator.h()) {
|
|
2478
2478
|
var item = tmp0_iterator.i();
|
|
2479
|
-
var tmp$ret$2 = formatter.
|
|
2479
|
+
var tmp$ret$2 = formatter.f3y(item);
|
|
2480
2480
|
destination.e(tmp$ret$2);
|
|
2481
2481
|
}
|
|
2482
|
-
return localization.
|
|
2482
|
+
return localization.g3y(tmp_0, destination);
|
|
2483
2483
|
};
|
|
2484
2484
|
function NoSuchOption(paramName, possibilities) {
|
|
2485
2485
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2486
2486
|
UsageError.call(this, null, paramName);
|
|
2487
2487
|
captureStack(this, NoSuchOption);
|
|
2488
|
-
this.
|
|
2488
|
+
this.l3y_1 = possibilities;
|
|
2489
2489
|
}
|
|
2490
|
-
protoOf(NoSuchOption).
|
|
2491
|
-
var tmp0_safe_receiver = this.
|
|
2490
|
+
protoOf(NoSuchOption).y3w = function (localization, formatter) {
|
|
2491
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2492
2492
|
var tmp;
|
|
2493
2493
|
if (tmp0_safe_receiver == null) {
|
|
2494
2494
|
tmp = null;
|
|
2495
2495
|
} else {
|
|
2496
2496
|
// Inline function 'kotlin.let' call
|
|
2497
2497
|
// Inline function 'kotlin.contracts.contract' call
|
|
2498
|
-
tmp = formatter.
|
|
2498
|
+
tmp = formatter.v3x(tmp0_safe_receiver);
|
|
2499
2499
|
}
|
|
2500
2500
|
var tmp1_elvis_lhs = tmp;
|
|
2501
2501
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2502
2502
|
// Inline function 'kotlin.collections.map' call
|
|
2503
|
-
var this_0 = this.
|
|
2503
|
+
var this_0 = this.l3y_1;
|
|
2504
2504
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2505
2505
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2506
2506
|
var tmp0_iterator = this_0.g();
|
|
2507
2507
|
while (tmp0_iterator.h()) {
|
|
2508
2508
|
var item = tmp0_iterator.i();
|
|
2509
|
-
var tmp$ret$2 = formatter.
|
|
2509
|
+
var tmp$ret$2 = formatter.v3x(item);
|
|
2510
2510
|
destination.e(tmp$ret$2);
|
|
2511
2511
|
}
|
|
2512
|
-
return localization.
|
|
2512
|
+
return localization.m3y(tmp_0, destination);
|
|
2513
2513
|
};
|
|
2514
2514
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2515
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2515
|
+
IncorrectOptionValueCount.call($this, option.n3t().d1_1, paramName);
|
|
2516
2516
|
return $this;
|
|
2517
2517
|
}
|
|
2518
2518
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2523,40 +2523,40 @@
|
|
|
2523
2523
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2524
2524
|
UsageError.call(this, null, paramName);
|
|
2525
2525
|
captureStack(this, IncorrectOptionValueCount);
|
|
2526
|
-
this.
|
|
2526
|
+
this.r3y_1 = minValues;
|
|
2527
2527
|
}
|
|
2528
|
-
protoOf(IncorrectOptionValueCount).
|
|
2529
|
-
var tmp0_safe_receiver = this.
|
|
2528
|
+
protoOf(IncorrectOptionValueCount).y3w = function (localization, formatter) {
|
|
2529
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2530
2530
|
var tmp;
|
|
2531
2531
|
if (tmp0_safe_receiver == null) {
|
|
2532
2532
|
tmp = null;
|
|
2533
2533
|
} else {
|
|
2534
2534
|
// Inline function 'kotlin.let' call
|
|
2535
2535
|
// Inline function 'kotlin.contracts.contract' call
|
|
2536
|
-
tmp = formatter.
|
|
2536
|
+
tmp = formatter.v3x(tmp0_safe_receiver);
|
|
2537
2537
|
}
|
|
2538
2538
|
var tmp1_elvis_lhs = tmp;
|
|
2539
|
-
return localization.
|
|
2539
|
+
return localization.s3y(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.r3y_1);
|
|
2540
2540
|
};
|
|
2541
2541
|
function MissingArgument(argument) {
|
|
2542
2542
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2543
2543
|
captureStack(this, MissingArgument);
|
|
2544
2544
|
}
|
|
2545
|
-
protoOf(MissingArgument).
|
|
2546
|
-
var tmp0_safe_receiver = this.
|
|
2545
|
+
protoOf(MissingArgument).y3w = function (localization, formatter) {
|
|
2546
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2547
2547
|
var tmp;
|
|
2548
2548
|
if (tmp0_safe_receiver == null) {
|
|
2549
2549
|
tmp = null;
|
|
2550
2550
|
} else {
|
|
2551
2551
|
// Inline function 'kotlin.let' call
|
|
2552
2552
|
// Inline function 'kotlin.contracts.contract' call
|
|
2553
|
-
tmp = formatter.
|
|
2553
|
+
tmp = formatter.u3x(tmp0_safe_receiver);
|
|
2554
2554
|
}
|
|
2555
2555
|
var tmp1_elvis_lhs = tmp;
|
|
2556
|
-
return localization.
|
|
2556
|
+
return localization.x3y(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2557
2557
|
};
|
|
2558
2558
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2559
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2559
|
+
IncorrectArgumentValueCount.call($this, argument.n3t(), argument);
|
|
2560
2560
|
return $this;
|
|
2561
2561
|
}
|
|
2562
2562
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2567,20 +2567,20 @@
|
|
|
2567
2567
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2568
2568
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2569
2569
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2570
|
-
this.
|
|
2570
|
+
this.c3z_1 = nvalues;
|
|
2571
2571
|
}
|
|
2572
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2573
|
-
var tmp0_safe_receiver = this.
|
|
2572
|
+
protoOf(IncorrectArgumentValueCount).y3w = function (localization, formatter) {
|
|
2573
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2574
2574
|
var tmp;
|
|
2575
2575
|
if (tmp0_safe_receiver == null) {
|
|
2576
2576
|
tmp = null;
|
|
2577
2577
|
} else {
|
|
2578
2578
|
// Inline function 'kotlin.let' call
|
|
2579
2579
|
// Inline function 'kotlin.contracts.contract' call
|
|
2580
|
-
tmp = formatter.
|
|
2580
|
+
tmp = formatter.u3x(tmp0_safe_receiver);
|
|
2581
2581
|
}
|
|
2582
2582
|
var tmp1_elvis_lhs = tmp;
|
|
2583
|
-
return localization.
|
|
2583
|
+
return localization.d3z(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.c3z_1);
|
|
2584
2584
|
};
|
|
2585
2585
|
function PrintMessage(message, statusCode, printError) {
|
|
2586
2586
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2594,11 +2594,11 @@
|
|
|
2594
2594
|
lineno = lineno === VOID ? null : lineno;
|
|
2595
2595
|
UsageError.call(this, message);
|
|
2596
2596
|
captureStack(this, InvalidFileFormat);
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2597
|
+
this.i3z_1 = filename;
|
|
2598
|
+
this.j3z_1 = lineno;
|
|
2599
2599
|
}
|
|
2600
|
-
protoOf(InvalidFileFormat).
|
|
2601
|
-
return this.
|
|
2600
|
+
protoOf(InvalidFileFormat).y3w = function (localization, formatter) {
|
|
2601
|
+
return this.j3z_1 == null ? localization.l3z(this.i3z_1, ensureNotNull(this.message)) : localization.k3z(this.i3z_1, this.j3z_1, ensureNotNull(this.message));
|
|
2602
2602
|
};
|
|
2603
2603
|
function ProgramResult() {
|
|
2604
2604
|
}
|
|
@@ -2606,18 +2606,18 @@
|
|
|
2606
2606
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2607
2607
|
captureStack(this, MissingOption);
|
|
2608
2608
|
}
|
|
2609
|
-
protoOf(MissingOption).
|
|
2610
|
-
var tmp0_safe_receiver = this.
|
|
2609
|
+
protoOf(MissingOption).y3w = function (localization, formatter) {
|
|
2610
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
2611
2611
|
var tmp;
|
|
2612
2612
|
if (tmp0_safe_receiver == null) {
|
|
2613
2613
|
tmp = null;
|
|
2614
2614
|
} else {
|
|
2615
2615
|
// Inline function 'kotlin.let' call
|
|
2616
2616
|
// Inline function 'kotlin.contracts.contract' call
|
|
2617
|
-
tmp = formatter.
|
|
2617
|
+
tmp = formatter.v3x(tmp0_safe_receiver);
|
|
2618
2618
|
}
|
|
2619
2619
|
var tmp1_elvis_lhs = tmp;
|
|
2620
|
-
return localization.
|
|
2620
|
+
return localization.q3z(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2621
2621
|
};
|
|
2622
2622
|
function get_defaultArgFileReader() {
|
|
2623
2623
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2732,13 +2732,13 @@
|
|
|
2732
2732
|
var it = tmp3_iterator.i();
|
|
2733
2733
|
try {
|
|
2734
2734
|
if (it instanceof Arg) {
|
|
2735
|
-
it.
|
|
2735
|
+
it.x3z_1.z3z(context, it.y3z_1);
|
|
2736
2736
|
} else {
|
|
2737
2737
|
if (it instanceof Opt) {
|
|
2738
|
-
it.
|
|
2738
|
+
it.u3z_1.w3z(context, it.v3z_1);
|
|
2739
2739
|
} else {
|
|
2740
2740
|
if (it instanceof Group) {
|
|
2741
|
-
it.
|
|
2741
|
+
it.r3z_1.t3z(context, it.s3z_1);
|
|
2742
2742
|
}
|
|
2743
2743
|
}
|
|
2744
2744
|
}
|
|
@@ -2752,11 +2752,11 @@
|
|
|
2752
2752
|
var e_0 = $p;
|
|
2753
2753
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2754
2754
|
errors.e(e_0);
|
|
2755
|
-
context.
|
|
2755
|
+
context.i3t_1 = true;
|
|
2756
2756
|
} else {
|
|
2757
2757
|
if ($p instanceof Abort) {
|
|
2758
2758
|
var e_1 = $p;
|
|
2759
|
-
if (!context.
|
|
2759
|
+
if (!context.i3t_1)
|
|
2760
2760
|
throw e_1;
|
|
2761
2761
|
} else {
|
|
2762
2762
|
throw $p;
|
|
@@ -2770,7 +2770,7 @@
|
|
|
2770
2770
|
currentRound = toList_0(nextRound);
|
|
2771
2771
|
nextRound.h2();
|
|
2772
2772
|
}
|
|
2773
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2773
|
+
var tmp5_safe_receiver = Companion_instance_1.j3x(errors);
|
|
2774
2774
|
if (tmp5_safe_receiver == null)
|
|
2775
2775
|
null;
|
|
2776
2776
|
else {
|
|
@@ -2783,18 +2783,18 @@
|
|
|
2783
2783
|
}
|
|
2784
2784
|
function Group(group, invs) {
|
|
2785
2785
|
Param.call(this);
|
|
2786
|
-
this.
|
|
2787
|
-
this.
|
|
2786
|
+
this.r3z_1 = group;
|
|
2787
|
+
this.s3z_1 = invs;
|
|
2788
2788
|
}
|
|
2789
2789
|
function Opt(option, invs) {
|
|
2790
2790
|
Param.call(this);
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2791
|
+
this.u3z_1 = option;
|
|
2792
|
+
this.v3z_1 = invs;
|
|
2793
2793
|
}
|
|
2794
2794
|
function Arg(argument, invs) {
|
|
2795
2795
|
Param.call(this);
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2796
|
+
this.x3z_1 = argument;
|
|
2797
|
+
this.y3z_1 = invs;
|
|
2798
2798
|
}
|
|
2799
2799
|
function get_ANSI_CODE_RE() {
|
|
2800
2800
|
_init_properties_MppH_kt__np0w85();
|
|
@@ -2810,29 +2810,29 @@
|
|
|
2810
2810
|
}
|
|
2811
2811
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2812
2812
|
ParameterHelp.call(this);
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2820
|
-
this.
|
|
2821
|
-
this.
|
|
2813
|
+
this.a40_1 = names;
|
|
2814
|
+
this.b40_1 = secondaryNames;
|
|
2815
|
+
this.c40_1 = metavar;
|
|
2816
|
+
this.d40_1 = help;
|
|
2817
|
+
this.e40_1 = nvalues;
|
|
2818
|
+
this.f40_1 = tags;
|
|
2819
|
+
this.g40_1 = acceptsNumberValueWithoutName;
|
|
2820
|
+
this.h40_1 = acceptsUnattachedValue;
|
|
2821
|
+
this.i40_1 = groupName;
|
|
2822
2822
|
}
|
|
2823
2823
|
protoOf(Option).toString = function () {
|
|
2824
|
-
return 'Option(names=' + toString_0(this.
|
|
2824
|
+
return 'Option(names=' + toString_0(this.a40_1) + ', secondaryNames=' + toString_0(this.b40_1) + ', metavar=' + this.c40_1 + ', help=' + this.d40_1 + ', nvalues=' + this.e40_1.toString() + ', tags=' + toString_0(this.f40_1) + ', acceptsNumberValueWithoutName=' + this.g40_1 + ', acceptsUnattachedValue=' + this.h40_1 + ', groupName=' + this.i40_1 + ')';
|
|
2825
2825
|
};
|
|
2826
2826
|
protoOf(Option).hashCode = function () {
|
|
2827
|
-
var result = hashCode(this.
|
|
2828
|
-
result = imul(result, 31) + hashCode(this.
|
|
2829
|
-
result = imul(result, 31) + (this.
|
|
2830
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2831
|
-
result = imul(result, 31) + this.
|
|
2832
|
-
result = imul(result, 31) + hashCode(this.
|
|
2833
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2834
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2835
|
-
result = imul(result, 31) + (this.
|
|
2827
|
+
var result = hashCode(this.a40_1);
|
|
2828
|
+
result = imul(result, 31) + hashCode(this.b40_1) | 0;
|
|
2829
|
+
result = imul(result, 31) + (this.c40_1 == null ? 0 : getStringHashCode(this.c40_1)) | 0;
|
|
2830
|
+
result = imul(result, 31) + getStringHashCode(this.d40_1) | 0;
|
|
2831
|
+
result = imul(result, 31) + this.e40_1.hashCode() | 0;
|
|
2832
|
+
result = imul(result, 31) + hashCode(this.f40_1) | 0;
|
|
2833
|
+
result = imul(result, 31) + getBooleanHashCode(this.g40_1) | 0;
|
|
2834
|
+
result = imul(result, 31) + getBooleanHashCode(this.h40_1) | 0;
|
|
2835
|
+
result = imul(result, 31) + (this.i40_1 == null ? 0 : getStringHashCode(this.i40_1)) | 0;
|
|
2836
2836
|
return result;
|
|
2837
2837
|
};
|
|
2838
2838
|
protoOf(Option).equals = function (other) {
|
|
@@ -2841,43 +2841,43 @@
|
|
|
2841
2841
|
if (!(other instanceof Option))
|
|
2842
2842
|
return false;
|
|
2843
2843
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2844
|
-
if (!equals(this.
|
|
2844
|
+
if (!equals(this.a40_1, tmp0_other_with_cast.a40_1))
|
|
2845
2845
|
return false;
|
|
2846
|
-
if (!equals(this.
|
|
2846
|
+
if (!equals(this.b40_1, tmp0_other_with_cast.b40_1))
|
|
2847
2847
|
return false;
|
|
2848
|
-
if (!(this.
|
|
2848
|
+
if (!(this.c40_1 == tmp0_other_with_cast.c40_1))
|
|
2849
2849
|
return false;
|
|
2850
|
-
if (!(this.
|
|
2850
|
+
if (!(this.d40_1 === tmp0_other_with_cast.d40_1))
|
|
2851
2851
|
return false;
|
|
2852
|
-
if (!this.
|
|
2852
|
+
if (!this.e40_1.equals(tmp0_other_with_cast.e40_1))
|
|
2853
2853
|
return false;
|
|
2854
|
-
if (!equals(this.
|
|
2854
|
+
if (!equals(this.f40_1, tmp0_other_with_cast.f40_1))
|
|
2855
2855
|
return false;
|
|
2856
|
-
if (!(this.
|
|
2856
|
+
if (!(this.g40_1 === tmp0_other_with_cast.g40_1))
|
|
2857
2857
|
return false;
|
|
2858
|
-
if (!(this.
|
|
2858
|
+
if (!(this.h40_1 === tmp0_other_with_cast.h40_1))
|
|
2859
2859
|
return false;
|
|
2860
|
-
if (!(this.
|
|
2860
|
+
if (!(this.i40_1 == tmp0_other_with_cast.i40_1))
|
|
2861
2861
|
return false;
|
|
2862
2862
|
return true;
|
|
2863
2863
|
};
|
|
2864
2864
|
function Argument(name, help, required, repeatable, tags) {
|
|
2865
2865
|
ParameterHelp.call(this);
|
|
2866
|
-
this.
|
|
2867
|
-
this.
|
|
2868
|
-
this.
|
|
2869
|
-
this.
|
|
2870
|
-
this.
|
|
2866
|
+
this.j40_1 = name;
|
|
2867
|
+
this.k40_1 = help;
|
|
2868
|
+
this.l40_1 = required;
|
|
2869
|
+
this.m40_1 = repeatable;
|
|
2870
|
+
this.n40_1 = tags;
|
|
2871
2871
|
}
|
|
2872
2872
|
protoOf(Argument).toString = function () {
|
|
2873
|
-
return 'Argument(name=' + this.
|
|
2873
|
+
return 'Argument(name=' + this.j40_1 + ', help=' + this.k40_1 + ', required=' + this.l40_1 + ', repeatable=' + this.m40_1 + ', tags=' + toString_0(this.n40_1) + ')';
|
|
2874
2874
|
};
|
|
2875
2875
|
protoOf(Argument).hashCode = function () {
|
|
2876
|
-
var result = getStringHashCode(this.
|
|
2877
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2878
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2879
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2880
|
-
result = imul(result, 31) + hashCode(this.
|
|
2876
|
+
var result = getStringHashCode(this.j40_1);
|
|
2877
|
+
result = imul(result, 31) + getStringHashCode(this.k40_1) | 0;
|
|
2878
|
+
result = imul(result, 31) + getBooleanHashCode(this.l40_1) | 0;
|
|
2879
|
+
result = imul(result, 31) + getBooleanHashCode(this.m40_1) | 0;
|
|
2880
|
+
result = imul(result, 31) + hashCode(this.n40_1) | 0;
|
|
2881
2881
|
return result;
|
|
2882
2882
|
};
|
|
2883
2883
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2886,31 +2886,31 @@
|
|
|
2886
2886
|
if (!(other instanceof Argument))
|
|
2887
2887
|
return false;
|
|
2888
2888
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2889
|
-
if (!(this.
|
|
2889
|
+
if (!(this.j40_1 === tmp0_other_with_cast.j40_1))
|
|
2890
2890
|
return false;
|
|
2891
|
-
if (!(this.
|
|
2891
|
+
if (!(this.k40_1 === tmp0_other_with_cast.k40_1))
|
|
2892
2892
|
return false;
|
|
2893
|
-
if (!(this.
|
|
2893
|
+
if (!(this.l40_1 === tmp0_other_with_cast.l40_1))
|
|
2894
2894
|
return false;
|
|
2895
|
-
if (!(this.
|
|
2895
|
+
if (!(this.m40_1 === tmp0_other_with_cast.m40_1))
|
|
2896
2896
|
return false;
|
|
2897
|
-
if (!equals(this.
|
|
2897
|
+
if (!equals(this.n40_1, tmp0_other_with_cast.n40_1))
|
|
2898
2898
|
return false;
|
|
2899
2899
|
return true;
|
|
2900
2900
|
};
|
|
2901
2901
|
function Subcommand(name, help, tags) {
|
|
2902
2902
|
ParameterHelp.call(this);
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2903
|
+
this.o40_1 = name;
|
|
2904
|
+
this.p40_1 = help;
|
|
2905
|
+
this.q40_1 = tags;
|
|
2906
2906
|
}
|
|
2907
2907
|
protoOf(Subcommand).toString = function () {
|
|
2908
|
-
return 'Subcommand(name=' + this.
|
|
2908
|
+
return 'Subcommand(name=' + this.o40_1 + ', help=' + this.p40_1 + ', tags=' + toString_0(this.q40_1) + ')';
|
|
2909
2909
|
};
|
|
2910
2910
|
protoOf(Subcommand).hashCode = function () {
|
|
2911
|
-
var result = getStringHashCode(this.
|
|
2912
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2913
|
-
result = imul(result, 31) + hashCode(this.
|
|
2911
|
+
var result = getStringHashCode(this.o40_1);
|
|
2912
|
+
result = imul(result, 31) + getStringHashCode(this.p40_1) | 0;
|
|
2913
|
+
result = imul(result, 31) + hashCode(this.q40_1) | 0;
|
|
2914
2914
|
return result;
|
|
2915
2915
|
};
|
|
2916
2916
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2919,25 +2919,25 @@
|
|
|
2919
2919
|
if (!(other instanceof Subcommand))
|
|
2920
2920
|
return false;
|
|
2921
2921
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2922
|
-
if (!(this.
|
|
2922
|
+
if (!(this.o40_1 === tmp0_other_with_cast.o40_1))
|
|
2923
2923
|
return false;
|
|
2924
|
-
if (!(this.
|
|
2924
|
+
if (!(this.p40_1 === tmp0_other_with_cast.p40_1))
|
|
2925
2925
|
return false;
|
|
2926
|
-
if (!equals(this.
|
|
2926
|
+
if (!equals(this.q40_1, tmp0_other_with_cast.q40_1))
|
|
2927
2927
|
return false;
|
|
2928
2928
|
return true;
|
|
2929
2929
|
};
|
|
2930
2930
|
function Group_0(name, help) {
|
|
2931
2931
|
ParameterHelp.call(this);
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2932
|
+
this.r40_1 = name;
|
|
2933
|
+
this.s40_1 = help;
|
|
2934
2934
|
}
|
|
2935
2935
|
protoOf(Group_0).toString = function () {
|
|
2936
|
-
return 'Group(name=' + this.
|
|
2936
|
+
return 'Group(name=' + this.r40_1 + ', help=' + this.s40_1 + ')';
|
|
2937
2937
|
};
|
|
2938
2938
|
protoOf(Group_0).hashCode = function () {
|
|
2939
|
-
var result = getStringHashCode(this.
|
|
2940
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2939
|
+
var result = getStringHashCode(this.r40_1);
|
|
2940
|
+
result = imul(result, 31) + getStringHashCode(this.s40_1) | 0;
|
|
2941
2941
|
return result;
|
|
2942
2942
|
};
|
|
2943
2943
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -2946,9 +2946,9 @@
|
|
|
2946
2946
|
if (!(other instanceof Group_0))
|
|
2947
2947
|
return false;
|
|
2948
2948
|
var tmp0_other_with_cast = other instanceof Group_0 ? other : THROW_CCE();
|
|
2949
|
-
if (!(this.
|
|
2949
|
+
if (!(this.r40_1 === tmp0_other_with_cast.r40_1))
|
|
2950
2950
|
return false;
|
|
2951
|
-
if (!(this.
|
|
2951
|
+
if (!(this.s40_1 === tmp0_other_with_cast.s40_1))
|
|
2952
2952
|
return false;
|
|
2953
2953
|
return true;
|
|
2954
2954
|
};
|
|
@@ -2978,15 +2978,15 @@
|
|
|
2978
2978
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2979
2979
|
}
|
|
2980
2980
|
function RenderedSection(title, content) {
|
|
2981
|
-
this.
|
|
2982
|
-
this.
|
|
2981
|
+
this.m41_1 = title;
|
|
2982
|
+
this.n41_1 = content;
|
|
2983
2983
|
}
|
|
2984
2984
|
protoOf(RenderedSection).toString = function () {
|
|
2985
|
-
return 'RenderedSection(title=' + toString_0(this.
|
|
2985
|
+
return 'RenderedSection(title=' + toString_0(this.m41_1) + ', content=' + toString_0(this.n41_1) + ')';
|
|
2986
2986
|
};
|
|
2987
2987
|
protoOf(RenderedSection).hashCode = function () {
|
|
2988
|
-
var result = hashCode(this.
|
|
2989
|
-
result = imul(result, 31) + hashCode(this.
|
|
2988
|
+
var result = hashCode(this.m41_1);
|
|
2989
|
+
result = imul(result, 31) + hashCode(this.n41_1) | 0;
|
|
2990
2990
|
return result;
|
|
2991
2991
|
};
|
|
2992
2992
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -2995,25 +2995,25 @@
|
|
|
2995
2995
|
if (!(other instanceof RenderedSection))
|
|
2996
2996
|
return false;
|
|
2997
2997
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
2998
|
-
if (!equals(this.
|
|
2998
|
+
if (!equals(this.m41_1, tmp0_other_with_cast.m41_1))
|
|
2999
2999
|
return false;
|
|
3000
|
-
if (!equals(this.
|
|
3000
|
+
if (!equals(this.n41_1, tmp0_other_with_cast.n41_1))
|
|
3001
3001
|
return false;
|
|
3002
3002
|
return true;
|
|
3003
3003
|
};
|
|
3004
3004
|
function DefinitionRow(term, description, marker) {
|
|
3005
3005
|
marker = marker === VOID ? null : marker;
|
|
3006
|
-
this.
|
|
3007
|
-
this.
|
|
3008
|
-
this.
|
|
3006
|
+
this.o41_1 = term;
|
|
3007
|
+
this.p41_1 = description;
|
|
3008
|
+
this.q41_1 = marker;
|
|
3009
3009
|
}
|
|
3010
3010
|
protoOf(DefinitionRow).toString = function () {
|
|
3011
|
-
return 'DefinitionRow(term=' + this.
|
|
3011
|
+
return 'DefinitionRow(term=' + this.o41_1 + ', description=' + this.p41_1 + ', marker=' + this.q41_1 + ')';
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(DefinitionRow).hashCode = function () {
|
|
3014
|
-
var result = getStringHashCode(this.
|
|
3015
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3016
|
-
result = imul(result, 31) + (this.
|
|
3014
|
+
var result = getStringHashCode(this.o41_1);
|
|
3015
|
+
result = imul(result, 31) + getStringHashCode(this.p41_1) | 0;
|
|
3016
|
+
result = imul(result, 31) + (this.q41_1 == null ? 0 : getStringHashCode(this.q41_1)) | 0;
|
|
3017
3017
|
return result;
|
|
3018
3018
|
};
|
|
3019
3019
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -3022,49 +3022,49 @@
|
|
|
3022
3022
|
if (!(other instanceof DefinitionRow))
|
|
3023
3023
|
return false;
|
|
3024
3024
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
3025
|
-
if (!(this.
|
|
3025
|
+
if (!(this.o41_1 === tmp0_other_with_cast.o41_1))
|
|
3026
3026
|
return false;
|
|
3027
|
-
if (!(this.
|
|
3027
|
+
if (!(this.p41_1 === tmp0_other_with_cast.p41_1))
|
|
3028
3028
|
return false;
|
|
3029
|
-
if (!(this.
|
|
3029
|
+
if (!(this.q41_1 == tmp0_other_with_cast.q41_1))
|
|
3030
3030
|
return false;
|
|
3031
3031
|
return true;
|
|
3032
3032
|
};
|
|
3033
3033
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3034
|
-
this.
|
|
3034
|
+
this.r41_1 = function_0;
|
|
3035
3035
|
}
|
|
3036
3036
|
protoOf(sam$kotlin_Comparator$0_0).qc = function (a, b) {
|
|
3037
|
-
return this.
|
|
3037
|
+
return this.r41_1(a, b);
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3040
3040
|
return this.qc(a, b);
|
|
3041
3041
|
};
|
|
3042
3042
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3043
|
-
this.
|
|
3043
|
+
this.s41_1 = function_0;
|
|
3044
3044
|
}
|
|
3045
3045
|
protoOf(sam$kotlin_Comparator$0_1).qc = function (a, b) {
|
|
3046
|
-
return this.
|
|
3046
|
+
return this.s41_1(a, b);
|
|
3047
3047
|
};
|
|
3048
3048
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3049
3049
|
return this.qc(a, b);
|
|
3050
3050
|
};
|
|
3051
3051
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3052
3052
|
return function ($this$verticalLayout) {
|
|
3053
|
-
$this$verticalLayout.
|
|
3054
|
-
$this$verticalLayout.
|
|
3053
|
+
$this$verticalLayout.w3l(1);
|
|
3054
|
+
$this$verticalLayout.u3l(this$0.x41($error, $prolog, $epilog, $parameters, $programName));
|
|
3055
3055
|
return Unit_instance;
|
|
3056
3056
|
};
|
|
3057
3057
|
}
|
|
3058
3058
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
3059
3059
|
return function ($this$definitionList) {
|
|
3060
|
-
$this$definitionList.
|
|
3061
|
-
$this$definitionList.
|
|
3062
|
-
$this$definitionList.
|
|
3060
|
+
$this$definitionList.v3p($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
3061
|
+
$this$definitionList.p3p_1 = true;
|
|
3062
|
+
$this$definitionList.s3p(1);
|
|
3063
3063
|
return Unit_instance;
|
|
3064
3064
|
};
|
|
3065
3065
|
}
|
|
3066
3066
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
3067
|
-
$this$withPadding.
|
|
3067
|
+
$this$withPadding.l3g_1 = 2;
|
|
3068
3068
|
return Unit_instance;
|
|
3069
3069
|
}
|
|
3070
3070
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -3077,24 +3077,24 @@
|
|
|
3077
3077
|
}
|
|
3078
3078
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3079
3079
|
return function ($this$definitionList) {
|
|
3080
|
-
var tmp0_iterator = this$0.
|
|
3080
|
+
var tmp0_iterator = this$0.y41($parameters).g();
|
|
3081
3081
|
while (tmp0_iterator.h()) {
|
|
3082
3082
|
var section = tmp0_iterator.i();
|
|
3083
|
-
$this$definitionList.
|
|
3083
|
+
$this$definitionList.w3p(section.m41_1, section.n41_1);
|
|
3084
3084
|
}
|
|
3085
3085
|
return Unit_instance;
|
|
3086
3086
|
};
|
|
3087
3087
|
}
|
|
3088
3088
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3089
|
-
$this$withPadding.
|
|
3090
|
-
$this$withPadding.
|
|
3091
|
-
$this$withPadding.
|
|
3089
|
+
$this$withPadding.i3g_1 = 1;
|
|
3090
|
+
$this$withPadding.l3g_1 = 2;
|
|
3091
|
+
$this$withPadding.k3g_1 = 1;
|
|
3092
3092
|
return Unit_instance;
|
|
3093
3093
|
}
|
|
3094
3094
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3095
3095
|
return function ($this$verticalLayout) {
|
|
3096
|
-
$this$verticalLayout.
|
|
3097
|
-
$this$verticalLayout.
|
|
3096
|
+
$this$verticalLayout.r3f($markdown);
|
|
3097
|
+
$this$verticalLayout.r3f(this$0.z41($options));
|
|
3098
3098
|
return Unit_instance;
|
|
3099
3099
|
};
|
|
3100
3100
|
}
|
|
@@ -3104,7 +3104,7 @@
|
|
|
3104
3104
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3105
3105
|
// Inline function 'kotlin.collections.component2' call
|
|
3106
3106
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3107
|
-
return this$0.
|
|
3107
|
+
return this$0.a42(k, v);
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3113,7 +3113,7 @@
|
|
|
3113
3113
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3114
3114
|
// Inline function 'kotlin.collections.component2' call
|
|
3115
3115
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3116
|
-
return this$0.
|
|
3116
|
+
return this$0.b42(k, v);
|
|
3117
3117
|
};
|
|
3118
3118
|
}
|
|
3119
3119
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3126,28 +3126,28 @@
|
|
|
3126
3126
|
}
|
|
3127
3127
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3128
3128
|
return function (it) {
|
|
3129
|
-
return this$0.
|
|
3129
|
+
return this$0.c42(it);
|
|
3130
3130
|
};
|
|
3131
3131
|
}
|
|
3132
3132
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3133
|
-
this.
|
|
3133
|
+
this.d42_1 = this$0;
|
|
3134
3134
|
}
|
|
3135
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3136
|
-
return this.
|
|
3135
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).v3x = function (name) {
|
|
3136
|
+
return this.d42_1.c42(name);
|
|
3137
3137
|
};
|
|
3138
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3139
|
-
return this.
|
|
3138
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).u3x = function (name) {
|
|
3139
|
+
return this.d42_1.f42(this.d42_1.e42(name));
|
|
3140
3140
|
};
|
|
3141
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3142
|
-
return this.
|
|
3141
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).f3y = function (name) {
|
|
3142
|
+
return this.d42_1.g42(name);
|
|
3143
3143
|
};
|
|
3144
3144
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3145
3145
|
return function ($this$definitionList) {
|
|
3146
|
-
$this$definitionList.
|
|
3146
|
+
$this$definitionList.p3p_1 = true;
|
|
3147
3147
|
var tmp0_iterator = $rows.g();
|
|
3148
3148
|
while (tmp0_iterator.h()) {
|
|
3149
3149
|
var row = tmp0_iterator.i();
|
|
3150
|
-
$this$definitionList.
|
|
3150
|
+
$this$definitionList.w3p(this$0.h42(row), this$0.i42(row));
|
|
3151
3151
|
}
|
|
3152
3152
|
return Unit_instance;
|
|
3153
3153
|
};
|
|
@@ -3156,22 +3156,22 @@
|
|
|
3156
3156
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3157
3157
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3158
3158
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3159
|
-
this.
|
|
3160
|
-
this.
|
|
3161
|
-
this.
|
|
3162
|
-
this.
|
|
3159
|
+
this.t41_1 = context;
|
|
3160
|
+
this.u41_1 = requiredOptionMarker;
|
|
3161
|
+
this.v41_1 = showDefaultValues;
|
|
3162
|
+
this.w41_1 = showRequiredTag;
|
|
3163
3163
|
}
|
|
3164
|
-
protoOf(MordantHelpFormatter).
|
|
3165
|
-
return this.
|
|
3164
|
+
protoOf(MordantHelpFormatter).j42 = function () {
|
|
3165
|
+
return this.t41_1.d3t_1;
|
|
3166
3166
|
};
|
|
3167
|
-
protoOf(MordantHelpFormatter).
|
|
3168
|
-
return this.
|
|
3167
|
+
protoOf(MordantHelpFormatter).k42 = function () {
|
|
3168
|
+
return this.t41_1.y3s_1.j3d_1;
|
|
3169
3169
|
};
|
|
3170
|
-
protoOf(MordantHelpFormatter).
|
|
3170
|
+
protoOf(MordantHelpFormatter).p3u = function (error, prolog, epilog, parameters, programName) {
|
|
3171
3171
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3172
|
-
return this.
|
|
3172
|
+
return this.t41_1.y3s_1.g3p(widget);
|
|
3173
3173
|
};
|
|
3174
|
-
protoOf(MordantHelpFormatter).
|
|
3174
|
+
protoOf(MordantHelpFormatter).x41 = function (error, prolog, epilog, parameters, programName) {
|
|
3175
3175
|
// Inline function 'kotlin.collections.buildList' call
|
|
3176
3176
|
// Inline function 'kotlin.contracts.contract' call
|
|
3177
3177
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3179,26 +3179,26 @@
|
|
|
3179
3179
|
var this_0 = ArrayList_init_$Create$();
|
|
3180
3180
|
// Inline function 'kotlin.contracts.contract' call
|
|
3181
3181
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3182
|
-
this_0.e(this.
|
|
3182
|
+
this_0.e(this.l42(parameters, programName));
|
|
3183
3183
|
if (error == null) {
|
|
3184
3184
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3185
3185
|
if (charSequenceLength(prolog) > 0) {
|
|
3186
|
-
this_0.e(this.
|
|
3186
|
+
this_0.e(this.n42(prolog));
|
|
3187
3187
|
}
|
|
3188
3188
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3189
3189
|
if (!parameters.l()) {
|
|
3190
|
-
this_0.e(this.
|
|
3190
|
+
this_0.e(this.o42(parameters));
|
|
3191
3191
|
}
|
|
3192
3192
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3193
3193
|
if (charSequenceLength(epilog) > 0) {
|
|
3194
|
-
this_0.e(this.
|
|
3194
|
+
this_0.e(this.p42(epilog));
|
|
3195
3195
|
}
|
|
3196
3196
|
} else {
|
|
3197
|
-
this_0.e(this.
|
|
3197
|
+
this_0.e(this.m42(parameters, error));
|
|
3198
3198
|
}
|
|
3199
3199
|
return this_0.o5();
|
|
3200
3200
|
};
|
|
3201
|
-
protoOf(MordantHelpFormatter).
|
|
3201
|
+
protoOf(MordantHelpFormatter).m42 = function (parameters, error) {
|
|
3202
3202
|
// Inline function 'kotlin.text.buildString' call
|
|
3203
3203
|
// Inline function 'kotlin.contracts.contract' call
|
|
3204
3204
|
// Inline function 'kotlin.apply' call
|
|
@@ -3206,7 +3206,7 @@
|
|
|
3206
3206
|
// Inline function 'kotlin.contracts.contract' call
|
|
3207
3207
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3208
3208
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3209
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3209
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o3x_1;
|
|
3210
3210
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3211
3211
|
var iterator = errors.g();
|
|
3212
3212
|
var index = 0;
|
|
@@ -3218,16 +3218,16 @@
|
|
|
3218
3218
|
// Inline function 'kotlin.text.appendLine' call
|
|
3219
3219
|
this_0.w7(_Char___init__impl__6a9atx(10));
|
|
3220
3220
|
}
|
|
3221
|
-
this_0.v7(this.
|
|
3221
|
+
this_0.v7(this.q42(this.j42().t40()));
|
|
3222
3222
|
this_0.v7(' ');
|
|
3223
|
-
this_0.v7(e.
|
|
3223
|
+
this_0.v7(e.y3w(this.j42(), this.r42(this.t41_1)));
|
|
3224
3224
|
}
|
|
3225
3225
|
var tmp$ret$2 = this_0.toString();
|
|
3226
3226
|
return Text_init_$Create$(tmp$ret$2);
|
|
3227
3227
|
};
|
|
3228
|
-
protoOf(MordantHelpFormatter).
|
|
3229
|
-
var optionalStyle = this.
|
|
3230
|
-
var title = this.
|
|
3228
|
+
protoOf(MordantHelpFormatter).l42 = function (parameters, programName) {
|
|
3229
|
+
var optionalStyle = this.k42().o3e('muted');
|
|
3230
|
+
var title = this.s42(this.j42().d41());
|
|
3231
3231
|
var prog = title + ' ' + programName;
|
|
3232
3232
|
// Inline function 'kotlin.collections.buildList' call
|
|
3233
3233
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3261,8 +3261,8 @@
|
|
|
3261
3261
|
tmp$ret$0 = false;
|
|
3262
3262
|
}
|
|
3263
3263
|
if (tmp$ret$0) {
|
|
3264
|
-
var metavar = this.
|
|
3265
|
-
this_0.e(optionalStyle.
|
|
3264
|
+
var metavar = this.e42(this.j42().h41());
|
|
3265
|
+
this_0.e(optionalStyle.d2c(this.t42(metavar)));
|
|
3266
3266
|
}
|
|
3267
3267
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3268
3268
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3279,13 +3279,13 @@
|
|
|
3279
3279
|
while (tmp0_iterator_1.h()) {
|
|
3280
3280
|
var item = tmp0_iterator_1.i();
|
|
3281
3281
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3282
|
-
var name = this.
|
|
3283
|
-
if (!item.
|
|
3284
|
-
name = this.
|
|
3285
|
-
if (item.
|
|
3286
|
-
name = this.
|
|
3287
|
-
var style = item.
|
|
3288
|
-
var tmp$ret$4 = style.
|
|
3282
|
+
var name = this.e42(item.j40_1);
|
|
3283
|
+
if (!item.l40_1)
|
|
3284
|
+
name = this.t42(name);
|
|
3285
|
+
if (item.m40_1)
|
|
3286
|
+
name = this.u42(name);
|
|
3287
|
+
var style = item.l40_1 ? TextStyle() : optionalStyle;
|
|
3288
|
+
var tmp$ret$4 = style.d2c(name);
|
|
3289
3289
|
this_0.e(tmp$ret$4);
|
|
3290
3290
|
}
|
|
3291
3291
|
var tmp$ret$6;
|
|
@@ -3313,10 +3313,10 @@
|
|
|
3313
3313
|
tmp$ret$6 = false;
|
|
3314
3314
|
}
|
|
3315
3315
|
if (tmp$ret$6) {
|
|
3316
|
-
var commandMetavar = this.
|
|
3317
|
-
var argsMetavar = this.
|
|
3318
|
-
var repeatedArgs = this.
|
|
3319
|
-
this_0.e(optionalStyle.
|
|
3316
|
+
var commandMetavar = this.e42(this.j42().i41());
|
|
3317
|
+
var argsMetavar = this.e42(this.j42().j41());
|
|
3318
|
+
var repeatedArgs = this.u42(this.t42(argsMetavar));
|
|
3319
|
+
this_0.e(optionalStyle.d2c(commandMetavar + ' ' + repeatedArgs));
|
|
3320
3320
|
}
|
|
3321
3321
|
var usageParts = this_0.o5();
|
|
3322
3322
|
var tmp_1;
|
|
@@ -3327,17 +3327,17 @@
|
|
|
3327
3327
|
}
|
|
3328
3328
|
return tmp_1;
|
|
3329
3329
|
};
|
|
3330
|
-
protoOf(MordantHelpFormatter).
|
|
3330
|
+
protoOf(MordantHelpFormatter).n42 = function (prolog) {
|
|
3331
3331
|
var tmp = new Markdown(prolog, true);
|
|
3332
3332
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3333
3333
|
};
|
|
3334
|
-
protoOf(MordantHelpFormatter).
|
|
3334
|
+
protoOf(MordantHelpFormatter).p42 = function (epilog) {
|
|
3335
3335
|
return new Markdown(epilog, true);
|
|
3336
3336
|
};
|
|
3337
|
-
protoOf(MordantHelpFormatter).
|
|
3337
|
+
protoOf(MordantHelpFormatter).v42 = function (title) {
|
|
3338
3338
|
return title + ':';
|
|
3339
3339
|
};
|
|
3340
|
-
protoOf(MordantHelpFormatter).
|
|
3340
|
+
protoOf(MordantHelpFormatter).w42 = function (parameters) {
|
|
3341
3341
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3342
3342
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3343
3343
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3356,7 +3356,7 @@
|
|
|
3356
3356
|
while (tmp0_iterator_0.h()) {
|
|
3357
3357
|
var element_0 = tmp0_iterator_0.i();
|
|
3358
3358
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3359
|
-
var tmp$ret$2 = element_0.
|
|
3359
|
+
var tmp$ret$2 = element_0.r40_1;
|
|
3360
3360
|
destination_0.m2(tmp$ret$2, element_0);
|
|
3361
3361
|
}
|
|
3362
3362
|
var groupsByName = destination_0;
|
|
@@ -3380,7 +3380,7 @@
|
|
|
3380
3380
|
while (tmp0_iterator_2.h()) {
|
|
3381
3381
|
var element_2 = tmp0_iterator_2.i();
|
|
3382
3382
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3383
|
-
var key = element_2.
|
|
3383
|
+
var key = element_2.i40_1;
|
|
3384
3384
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3385
3385
|
var value = destination_2.f2(key);
|
|
3386
3386
|
var tmp;
|
|
@@ -3419,19 +3419,19 @@
|
|
|
3419
3419
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3420
3420
|
var title = item.od();
|
|
3421
3421
|
var params = item.pd();
|
|
3422
|
-
var renderedTitle = this.
|
|
3422
|
+
var renderedTitle = this.v42(title == null ? this.j42().e41() : title);
|
|
3423
3423
|
// Inline function 'kotlin.collections.get' call
|
|
3424
3424
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).f2(title);
|
|
3425
|
-
var content = this.
|
|
3426
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3425
|
+
var content = this.x42(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s40_1, params);
|
|
3426
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.y42(renderedTitle), content);
|
|
3427
3427
|
destination_4.e(tmp$ret$19);
|
|
3428
3428
|
}
|
|
3429
3429
|
return toList_0(destination_4);
|
|
3430
3430
|
};
|
|
3431
|
-
protoOf(MordantHelpFormatter).
|
|
3431
|
+
protoOf(MordantHelpFormatter).o42 = function (parameters) {
|
|
3432
3432
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3433
3433
|
};
|
|
3434
|
-
protoOf(MordantHelpFormatter).
|
|
3434
|
+
protoOf(MordantHelpFormatter).y41 = function (parameters) {
|
|
3435
3435
|
// Inline function 'kotlin.collections.buildList' call
|
|
3436
3436
|
// Inline function 'kotlin.contracts.contract' call
|
|
3437
3437
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3439,12 +3439,12 @@
|
|
|
3439
3439
|
var this_0 = ArrayList_init_$Create$();
|
|
3440
3440
|
// Inline function 'kotlin.contracts.contract' call
|
|
3441
3441
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3442
|
-
this_0.p(this.
|
|
3443
|
-
this_0.p(this.
|
|
3444
|
-
this_0.p(this.
|
|
3442
|
+
this_0.p(this.w42(parameters));
|
|
3443
|
+
this_0.p(this.z42(parameters));
|
|
3444
|
+
this_0.p(this.a43(parameters));
|
|
3445
3445
|
return this_0.o5();
|
|
3446
3446
|
};
|
|
3447
|
-
protoOf(MordantHelpFormatter).
|
|
3447
|
+
protoOf(MordantHelpFormatter).x42 = function (help, parameters) {
|
|
3448
3448
|
// Inline function 'kotlin.collections.map' call
|
|
3449
3449
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3450
3450
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3453,28 +3453,28 @@
|
|
|
3453
3453
|
var item = tmp0_iterator.i();
|
|
3454
3454
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3455
3455
|
var tmp;
|
|
3456
|
-
if (item.
|
|
3457
|
-
tmp = plus_0(listOf_0(this.
|
|
3456
|
+
if (item.g40_1) {
|
|
3457
|
+
tmp = plus_0(listOf_0(this.b43(item)), item.a40_1);
|
|
3458
3458
|
} else {
|
|
3459
|
-
tmp = item.
|
|
3459
|
+
tmp = item.a40_1;
|
|
3460
3460
|
}
|
|
3461
3461
|
var unjoinedNames = tmp;
|
|
3462
|
-
var names = mutableListOf([this.
|
|
3462
|
+
var names = mutableListOf([this.c43(unjoinedNames)]);
|
|
3463
3463
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3464
|
-
if (!item.
|
|
3464
|
+
if (!item.b40_1.l()) {
|
|
3465
3465
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3466
|
-
var element = this.
|
|
3466
|
+
var element = this.c43(item.b40_1);
|
|
3467
3467
|
names.e(element);
|
|
3468
3468
|
}
|
|
3469
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3470
|
-
var tmp_1 = this.
|
|
3469
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.d43(item));
|
|
3470
|
+
var tmp_1 = this.e43(item.d40_1, item.f40_1);
|
|
3471
3471
|
var tmp0_subject = 'required';
|
|
3472
3472
|
var tmp_2;
|
|
3473
3473
|
// Inline function 'kotlin.collections.contains' call
|
|
3474
3474
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3475
|
-
var this_0 = item.
|
|
3475
|
+
var this_0 = item.f40_1;
|
|
3476
3476
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).e2(tmp0_subject)) {
|
|
3477
|
-
var tmp1_safe_receiver = this.
|
|
3477
|
+
var tmp1_safe_receiver = this.u41_1;
|
|
3478
3478
|
var tmp_3;
|
|
3479
3479
|
if (tmp1_safe_receiver == null) {
|
|
3480
3480
|
tmp_3 = null;
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
// Inline function 'kotlin.let' call
|
|
3483
3483
|
// Inline function 'kotlin.contracts.contract' call
|
|
3484
3484
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3485
|
-
tmp_3 = this.
|
|
3485
|
+
tmp_3 = this.f43(tmp1_safe_receiver);
|
|
3486
3486
|
}
|
|
3487
3487
|
tmp_2 = tmp_3;
|
|
3488
3488
|
} else {
|
|
@@ -3493,12 +3493,12 @@
|
|
|
3493
3493
|
}
|
|
3494
3494
|
var options = destination;
|
|
3495
3495
|
if (help == null)
|
|
3496
|
-
return this.
|
|
3496
|
+
return this.z41(options);
|
|
3497
3497
|
var tmp_4 = new Markdown(help, true);
|
|
3498
3498
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3499
3499
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(MordantHelpFormatter).
|
|
3501
|
+
protoOf(MordantHelpFormatter).z42 = function (parameters) {
|
|
3502
3502
|
// Inline function 'kotlin.collections.map' call
|
|
3503
3503
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3504
3504
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3516,7 +3516,7 @@
|
|
|
3516
3516
|
while (tmp0_iterator_0.h()) {
|
|
3517
3517
|
var item = tmp0_iterator_0.i();
|
|
3518
3518
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3519
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3519
|
+
var tmp$ret$2 = new DefinitionRow(this.f42(this.e42(item.j40_1)), this.e43(item.k40_1, item.n40_1));
|
|
3520
3520
|
destination_0.e(tmp$ret$2);
|
|
3521
3521
|
}
|
|
3522
3522
|
var arguments_0 = destination_0;
|
|
@@ -3542,7 +3542,7 @@
|
|
|
3542
3542
|
var element_0 = tmp0_iterator_1.i();
|
|
3543
3543
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3544
3544
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3545
|
-
var this_0 = element_0.
|
|
3545
|
+
var this_0 = element_0.p41_1;
|
|
3546
3546
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3547
3547
|
tmp$ret$5 = false;
|
|
3548
3548
|
break $l$block_0;
|
|
@@ -3554,10 +3554,10 @@
|
|
|
3554
3554
|
}
|
|
3555
3555
|
if (tmp)
|
|
3556
3556
|
return emptyList();
|
|
3557
|
-
var title = this.
|
|
3558
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3557
|
+
var title = this.y42(this.v42(this.j42().f41()));
|
|
3558
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.z41(arguments_0)));
|
|
3559
3559
|
};
|
|
3560
|
-
protoOf(MordantHelpFormatter).
|
|
3560
|
+
protoOf(MordantHelpFormatter).a43 = function (parameters) {
|
|
3561
3561
|
// Inline function 'kotlin.collections.map' call
|
|
3562
3562
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3563
3563
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3575,16 +3575,16 @@
|
|
|
3575
3575
|
while (tmp0_iterator_0.h()) {
|
|
3576
3576
|
var item = tmp0_iterator_0.i();
|
|
3577
3577
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3578
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3578
|
+
var tmp$ret$2 = new DefinitionRow(this.g42(item.o40_1), this.e43(item.p40_1, item.q40_1));
|
|
3579
3579
|
destination_0.e(tmp$ret$2);
|
|
3580
3580
|
}
|
|
3581
3581
|
var commands = destination_0;
|
|
3582
3582
|
if (commands.l())
|
|
3583
3583
|
return emptyList();
|
|
3584
|
-
var title = this.
|
|
3585
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3584
|
+
var title = this.y42(this.v42(this.j42().g41()));
|
|
3585
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.z41(commands)));
|
|
3586
3586
|
};
|
|
3587
|
-
protoOf(MordantHelpFormatter).
|
|
3587
|
+
protoOf(MordantHelpFormatter).e43 = function (help, tags) {
|
|
3588
3588
|
var tmp = asSequence(tags);
|
|
3589
3589
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3590
3590
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3602,12 +3602,12 @@
|
|
|
3602
3602
|
}
|
|
3603
3603
|
return tmp_1;
|
|
3604
3604
|
};
|
|
3605
|
-
protoOf(MordantHelpFormatter).
|
|
3605
|
+
protoOf(MordantHelpFormatter).a42 = function (tag, value) {
|
|
3606
3606
|
var tmp;
|
|
3607
3607
|
switch (tag) {
|
|
3608
3608
|
case 'default':
|
|
3609
3609
|
var tmp_0;
|
|
3610
|
-
if (this.
|
|
3610
|
+
if (this.v41_1) {
|
|
3611
3611
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3612
3612
|
tmp_0 = !isBlank(value);
|
|
3613
3613
|
} else {
|
|
@@ -3617,7 +3617,7 @@
|
|
|
3617
3617
|
tmp = tmp_0;
|
|
3618
3618
|
break;
|
|
3619
3619
|
case 'required':
|
|
3620
|
-
tmp = this.
|
|
3620
|
+
tmp = this.w41_1;
|
|
3621
3621
|
break;
|
|
3622
3622
|
default:
|
|
3623
3623
|
tmp = true;
|
|
@@ -3625,7 +3625,7 @@
|
|
|
3625
3625
|
}
|
|
3626
3626
|
return tmp;
|
|
3627
3627
|
};
|
|
3628
|
-
protoOf(MordantHelpFormatter).
|
|
3628
|
+
protoOf(MordantHelpFormatter).c43 = function (names) {
|
|
3629
3629
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3630
3630
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3631
3631
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3633,77 +3633,77 @@
|
|
|
3633
3633
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3634
3634
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3635
3635
|
};
|
|
3636
|
-
protoOf(MordantHelpFormatter).
|
|
3636
|
+
protoOf(MordantHelpFormatter).b42 = function (tag, value) {
|
|
3637
3637
|
var t;
|
|
3638
3638
|
switch (tag) {
|
|
3639
3639
|
case 'default':
|
|
3640
|
-
t = this.
|
|
3640
|
+
t = this.j42().k41();
|
|
3641
3641
|
break;
|
|
3642
3642
|
case 'required':
|
|
3643
|
-
t = this.
|
|
3643
|
+
t = this.j42().l41();
|
|
3644
3644
|
break;
|
|
3645
3645
|
default:
|
|
3646
3646
|
t = tag;
|
|
3647
3647
|
break;
|
|
3648
3648
|
}
|
|
3649
3649
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3650
|
-
return tag === 'required' ? this.
|
|
3650
|
+
return tag === 'required' ? this.f43(fullTag) : this.g43(fullTag);
|
|
3651
3651
|
};
|
|
3652
|
-
protoOf(MordantHelpFormatter).
|
|
3653
|
-
var tmp0_elvis_lhs = option.
|
|
3654
|
-
var metavar = this.
|
|
3655
|
-
return toString(first(first_1(option.
|
|
3652
|
+
protoOf(MordantHelpFormatter).b43 = function (option) {
|
|
3653
|
+
var tmp0_elvis_lhs = option.c40_1;
|
|
3654
|
+
var metavar = this.e42(tmp0_elvis_lhs == null ? this.j42().c41() : tmp0_elvis_lhs);
|
|
3655
|
+
return toString(first(first_1(option.a40_1))) + metavar;
|
|
3656
3656
|
};
|
|
3657
|
-
protoOf(MordantHelpFormatter).
|
|
3657
|
+
protoOf(MordantHelpFormatter).e42 = function (name) {
|
|
3658
3658
|
// Inline function 'kotlin.text.lowercase' call
|
|
3659
3659
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3660
3660
|
return '<' + name.toLowerCase() + '>';
|
|
3661
3661
|
};
|
|
3662
|
-
protoOf(MordantHelpFormatter).
|
|
3663
|
-
return this.
|
|
3662
|
+
protoOf(MordantHelpFormatter).f43 = function (name) {
|
|
3663
|
+
return this.k42().o3e('danger').d2c(name);
|
|
3664
3664
|
};
|
|
3665
|
-
protoOf(MordantHelpFormatter).
|
|
3666
|
-
return this.
|
|
3665
|
+
protoOf(MordantHelpFormatter).g43 = function (name) {
|
|
3666
|
+
return this.k42().o3e('muted').d2c(name);
|
|
3667
3667
|
};
|
|
3668
|
-
protoOf(MordantHelpFormatter).
|
|
3669
|
-
return this.
|
|
3668
|
+
protoOf(MordantHelpFormatter).c42 = function (name) {
|
|
3669
|
+
return this.k42().o3e('info').d2c(name);
|
|
3670
3670
|
};
|
|
3671
|
-
protoOf(MordantHelpFormatter).
|
|
3672
|
-
return this.
|
|
3671
|
+
protoOf(MordantHelpFormatter).f42 = function (name) {
|
|
3672
|
+
return this.k42().o3e('info').d2c(name);
|
|
3673
3673
|
};
|
|
3674
|
-
protoOf(MordantHelpFormatter).
|
|
3675
|
-
return this.
|
|
3674
|
+
protoOf(MordantHelpFormatter).g42 = function (name) {
|
|
3675
|
+
return this.k42().o3e('info').d2c(name);
|
|
3676
3676
|
};
|
|
3677
|
-
protoOf(MordantHelpFormatter).
|
|
3678
|
-
return this.
|
|
3677
|
+
protoOf(MordantHelpFormatter).y42 = function (title) {
|
|
3678
|
+
return this.k42().o3e('warning').d2c(title);
|
|
3679
3679
|
};
|
|
3680
|
-
protoOf(MordantHelpFormatter).
|
|
3681
|
-
return this.
|
|
3680
|
+
protoOf(MordantHelpFormatter).s42 = function (title) {
|
|
3681
|
+
return this.k42().o3e('warning').d2c(title);
|
|
3682
3682
|
};
|
|
3683
|
-
protoOf(MordantHelpFormatter).
|
|
3684
|
-
return this.
|
|
3683
|
+
protoOf(MordantHelpFormatter).q42 = function (title) {
|
|
3684
|
+
return this.k42().o3e('danger').d2c(title);
|
|
3685
3685
|
};
|
|
3686
|
-
protoOf(MordantHelpFormatter).
|
|
3687
|
-
var style = this.
|
|
3688
|
-
return style.
|
|
3686
|
+
protoOf(MordantHelpFormatter).h43 = function (metavar) {
|
|
3687
|
+
var style = this.k42().o3e('warning').n3c(this.k42().o3e('muted'));
|
|
3688
|
+
return style.d2c(metavar);
|
|
3689
3689
|
};
|
|
3690
|
-
protoOf(MordantHelpFormatter).
|
|
3690
|
+
protoOf(MordantHelpFormatter).r42 = function (context) {
|
|
3691
3691
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3692
3692
|
};
|
|
3693
|
-
protoOf(MordantHelpFormatter).
|
|
3693
|
+
protoOf(MordantHelpFormatter).t42 = function (metavar) {
|
|
3694
3694
|
return '[' + metavar + ']';
|
|
3695
3695
|
};
|
|
3696
|
-
protoOf(MordantHelpFormatter).
|
|
3696
|
+
protoOf(MordantHelpFormatter).u42 = function (metavar) {
|
|
3697
3697
|
return metavar + '...';
|
|
3698
3698
|
};
|
|
3699
|
-
protoOf(MordantHelpFormatter).
|
|
3699
|
+
protoOf(MordantHelpFormatter).i43 = function (metavar) {
|
|
3700
3700
|
return '=' + metavar;
|
|
3701
3701
|
};
|
|
3702
|
-
protoOf(MordantHelpFormatter).
|
|
3703
|
-
if (option.
|
|
3702
|
+
protoOf(MordantHelpFormatter).d43 = function (option) {
|
|
3703
|
+
if (option.c40_1 == null)
|
|
3704
3704
|
return '';
|
|
3705
3705
|
// Inline function 'kotlin.text.trim' call
|
|
3706
|
-
var this_0 = option.
|
|
3706
|
+
var this_0 = option.c40_1;
|
|
3707
3707
|
// Inline function 'kotlin.text.trim' call
|
|
3708
3708
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3709
3709
|
var startIndex = 0;
|
|
@@ -3729,25 +3729,25 @@
|
|
|
3729
3729
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3730
3730
|
var metavar = toString_0(tmp$ret$1);
|
|
3731
3731
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3732
|
-
metavar = this.
|
|
3733
|
-
metavar = this.
|
|
3734
|
-
if (option.
|
|
3735
|
-
metavar = this.
|
|
3736
|
-
metavar = this.
|
|
3737
|
-
if (option.
|
|
3738
|
-
metavar = this.
|
|
3732
|
+
metavar = this.e42(metavar);
|
|
3733
|
+
metavar = this.h43(metavar);
|
|
3734
|
+
if (option.e40_1.e1_1 > 1)
|
|
3735
|
+
metavar = this.u42(metavar);
|
|
3736
|
+
metavar = this.i43(metavar);
|
|
3737
|
+
if (option.e40_1.d1_1 === 0)
|
|
3738
|
+
metavar = this.t42(metavar);
|
|
3739
3739
|
return metavar;
|
|
3740
3740
|
};
|
|
3741
|
-
protoOf(MordantHelpFormatter).
|
|
3741
|
+
protoOf(MordantHelpFormatter).h42 = function (row) {
|
|
3742
3742
|
var tmp;
|
|
3743
3743
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3744
|
-
var this_0 = row.
|
|
3744
|
+
var this_0 = row.q41_1;
|
|
3745
3745
|
// Inline function 'kotlin.contracts.contract' call
|
|
3746
3746
|
if (this_0 == null || charSequenceLength(this_0) === 0) {
|
|
3747
3747
|
tmp = ' ';
|
|
3748
3748
|
} else {
|
|
3749
3749
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3750
|
-
var this_1 = drop(' ', this.
|
|
3750
|
+
var this_1 = drop(' ', this.j43(row.q41_1));
|
|
3751
3751
|
// Inline function 'kotlin.contracts.contract' call
|
|
3752
3752
|
var tmp_0;
|
|
3753
3753
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3758,18 +3758,18 @@
|
|
|
3758
3758
|
tmp_0 = this_1;
|
|
3759
3759
|
}
|
|
3760
3760
|
var tmp$ret$3 = tmp_0;
|
|
3761
|
-
tmp = row.
|
|
3761
|
+
tmp = row.q41_1 + tmp$ret$3;
|
|
3762
3762
|
}
|
|
3763
3763
|
var termPrefix = tmp;
|
|
3764
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3764
|
+
return Text_init_$Create$(termPrefix + row.o41_1, Whitespace_PRE_WRAP_getInstance());
|
|
3765
3765
|
};
|
|
3766
|
-
protoOf(MordantHelpFormatter).
|
|
3767
|
-
return isBlank(row.
|
|
3766
|
+
protoOf(MordantHelpFormatter).i42 = function (row) {
|
|
3767
|
+
return isBlank(row.p41_1) ? Text_init_$Create$('') : new Markdown(row.p41_1, true);
|
|
3768
3768
|
};
|
|
3769
|
-
protoOf(MordantHelpFormatter).
|
|
3769
|
+
protoOf(MordantHelpFormatter).z41 = function (rows) {
|
|
3770
3770
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3771
3771
|
};
|
|
3772
|
-
protoOf(MordantHelpFormatter).
|
|
3772
|
+
protoOf(MordantHelpFormatter).j43 = function (_this__u8e3s4) {
|
|
3773
3773
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3774
3774
|
};
|
|
3775
3775
|
function Argument_0() {
|
|
@@ -3785,118 +3785,118 @@
|
|
|
3785
3785
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3786
3786
|
}
|
|
3787
3787
|
function ArgumentTransformContext(argument, context) {
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3788
|
+
this.s43_1 = argument;
|
|
3789
|
+
this.t43_1 = context;
|
|
3790
3790
|
}
|
|
3791
3791
|
protoOf(ArgumentTransformContext).w8 = function () {
|
|
3792
|
-
return this.
|
|
3792
|
+
return this.t43_1;
|
|
3793
3793
|
};
|
|
3794
|
-
protoOf(ArgumentTransformContext).
|
|
3795
|
-
return this.
|
|
3794
|
+
protoOf(ArgumentTransformContext).m3t = function () {
|
|
3795
|
+
return this.s43_1.m3t();
|
|
3796
3796
|
};
|
|
3797
3797
|
protoOf(ArgumentTransformContext).r2 = function () {
|
|
3798
|
-
return this.
|
|
3798
|
+
return this.s43_1.r2();
|
|
3799
3799
|
};
|
|
3800
|
-
protoOf(ArgumentTransformContext).
|
|
3801
|
-
return this.
|
|
3800
|
+
protoOf(ArgumentTransformContext).n3t = function () {
|
|
3801
|
+
return this.s43_1.n3t();
|
|
3802
3802
|
};
|
|
3803
|
-
protoOf(ArgumentTransformContext).
|
|
3804
|
-
return this.
|
|
3803
|
+
protoOf(ArgumentTransformContext).k43 = function () {
|
|
3804
|
+
return this.s43_1.k43();
|
|
3805
3805
|
};
|
|
3806
|
-
protoOf(ArgumentTransformContext).
|
|
3807
|
-
this.
|
|
3806
|
+
protoOf(ArgumentTransformContext).z3z = function (context, values) {
|
|
3807
|
+
this.s43_1.z3z(context, values);
|
|
3808
3808
|
};
|
|
3809
|
-
protoOf(ArgumentTransformContext).
|
|
3810
|
-
return this.
|
|
3809
|
+
protoOf(ArgumentTransformContext).x3t = function (context) {
|
|
3810
|
+
return this.s43_1.x3t(context);
|
|
3811
3811
|
};
|
|
3812
|
-
protoOf(ArgumentTransformContext).
|
|
3813
|
-
return this.
|
|
3812
|
+
protoOf(ArgumentTransformContext).h3u = function (context) {
|
|
3813
|
+
return this.s43_1.h3u(context);
|
|
3814
3814
|
};
|
|
3815
|
-
protoOf(ArgumentTransformContext).
|
|
3816
|
-
this.
|
|
3815
|
+
protoOf(ArgumentTransformContext).l43 = function (context) {
|
|
3816
|
+
this.s43_1.l43(context);
|
|
3817
3817
|
};
|
|
3818
|
-
protoOf(ArgumentTransformContext).
|
|
3819
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3818
|
+
protoOf(ArgumentTransformContext).u43 = function (message) {
|
|
3819
|
+
throw BadParameterValue_init_$Create$(message, this.s43_1);
|
|
3820
3820
|
};
|
|
3821
3821
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3822
|
-
this.
|
|
3823
|
-
this.
|
|
3824
|
-
this.
|
|
3825
|
-
this.
|
|
3826
|
-
this.
|
|
3827
|
-
this.
|
|
3828
|
-
this.
|
|
3829
|
-
this.
|
|
3830
|
-
this.
|
|
3822
|
+
this.v43_1 = name;
|
|
3823
|
+
this.w43_1 = nvalues;
|
|
3824
|
+
this.x43_1 = required;
|
|
3825
|
+
this.y43_1 = helpGetter;
|
|
3826
|
+
this.z43_1 = helpTags;
|
|
3827
|
+
this.a44_1 = explicitCompletionCandidates;
|
|
3828
|
+
this.b44_1 = transformValue;
|
|
3829
|
+
this.c44_1 = transformAll;
|
|
3830
|
+
this.d44_1 = transformValidator;
|
|
3831
3831
|
// Inline function 'kotlin.require' call
|
|
3832
3832
|
// Inline function 'kotlin.contracts.contract' call
|
|
3833
|
-
if (!!(this.
|
|
3833
|
+
if (!!(this.w43_1 === 0)) {
|
|
3834
3834
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3835
3835
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3836
3836
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3837
3837
|
}
|
|
3838
|
-
this.
|
|
3838
|
+
this.e44_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3839
3839
|
}
|
|
3840
3840
|
protoOf(ProcessedArgumentImpl).r2 = function () {
|
|
3841
|
-
return this.
|
|
3841
|
+
return this.v43_1;
|
|
3842
3842
|
};
|
|
3843
|
-
protoOf(ProcessedArgumentImpl).
|
|
3844
|
-
return this.
|
|
3843
|
+
protoOf(ProcessedArgumentImpl).n3t = function () {
|
|
3844
|
+
return this.w43_1;
|
|
3845
3845
|
};
|
|
3846
|
-
protoOf(ProcessedArgumentImpl).
|
|
3847
|
-
return this.
|
|
3846
|
+
protoOf(ProcessedArgumentImpl).k43 = function () {
|
|
3847
|
+
return this.x43_1;
|
|
3848
3848
|
};
|
|
3849
|
-
protoOf(ProcessedArgumentImpl).
|
|
3850
|
-
return this.
|
|
3849
|
+
protoOf(ProcessedArgumentImpl).m43 = function () {
|
|
3850
|
+
return this.y43_1;
|
|
3851
3851
|
};
|
|
3852
|
-
protoOf(ProcessedArgumentImpl).
|
|
3853
|
-
return this.
|
|
3852
|
+
protoOf(ProcessedArgumentImpl).n3w = function () {
|
|
3853
|
+
return this.z43_1;
|
|
3854
3854
|
};
|
|
3855
|
-
protoOf(ProcessedArgumentImpl).
|
|
3856
|
-
return this.
|
|
3855
|
+
protoOf(ProcessedArgumentImpl).o43 = function () {
|
|
3856
|
+
return this.a44_1;
|
|
3857
3857
|
};
|
|
3858
|
-
protoOf(ProcessedArgumentImpl).
|
|
3859
|
-
return this.
|
|
3858
|
+
protoOf(ProcessedArgumentImpl).n43 = function () {
|
|
3859
|
+
return this.b44_1;
|
|
3860
3860
|
};
|
|
3861
|
-
protoOf(ProcessedArgumentImpl).
|
|
3862
|
-
var tmp0_safe_receiver = this.
|
|
3861
|
+
protoOf(ProcessedArgumentImpl).x3t = function (context) {
|
|
3862
|
+
var tmp0_safe_receiver = this.y43_1;
|
|
3863
3863
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3864
3864
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3865
3865
|
};
|
|
3866
|
-
protoOf(ProcessedArgumentImpl).
|
|
3867
|
-
return this.
|
|
3866
|
+
protoOf(ProcessedArgumentImpl).f44 = function (_set____db54di) {
|
|
3867
|
+
return this.e44_1.i44(this, value$factory(), _set____db54di);
|
|
3868
3868
|
};
|
|
3869
3869
|
protoOf(ProcessedArgumentImpl).b1 = function () {
|
|
3870
|
-
return this.
|
|
3870
|
+
return this.e44_1.j44(this, value$factory_0());
|
|
3871
3871
|
};
|
|
3872
|
-
protoOf(ProcessedArgumentImpl).
|
|
3873
|
-
var tmp0_elvis_lhs = this.
|
|
3872
|
+
protoOf(ProcessedArgumentImpl).m3t = function () {
|
|
3873
|
+
var tmp0_elvis_lhs = this.a44_1;
|
|
3874
3874
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3875
3875
|
};
|
|
3876
|
-
protoOf(ProcessedArgumentImpl).
|
|
3877
|
-
return new Argument(this.
|
|
3876
|
+
protoOf(ProcessedArgumentImpl).h3u = function (context) {
|
|
3877
|
+
return new Argument(this.v43_1, this.x3t(context), this.x43_1 || this.w43_1 > 1, this.w43_1 < 0, this.z43_1);
|
|
3878
3878
|
};
|
|
3879
|
-
protoOf(ProcessedArgumentImpl).
|
|
3879
|
+
protoOf(ProcessedArgumentImpl).k44 = function (thisRef, property) {
|
|
3880
3880
|
return this.b1();
|
|
3881
3881
|
};
|
|
3882
|
-
protoOf(ProcessedArgumentImpl).
|
|
3883
|
-
return this.
|
|
3882
|
+
protoOf(ProcessedArgumentImpl).l44 = function (thisRef, property) {
|
|
3883
|
+
return this.k44(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3884
3884
|
};
|
|
3885
|
-
protoOf(ProcessedArgumentImpl).
|
|
3886
|
-
if (isBlank(this.
|
|
3885
|
+
protoOf(ProcessedArgumentImpl).m44 = function (thisRef, property) {
|
|
3886
|
+
if (isBlank(this.v43_1)) {
|
|
3887
3887
|
var tmp = this;
|
|
3888
3888
|
// Inline function 'kotlin.text.uppercase' call
|
|
3889
3889
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3890
3890
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3891
|
-
tmp.
|
|
3891
|
+
tmp.v43_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3892
3892
|
}
|
|
3893
|
-
thisRef.
|
|
3893
|
+
thisRef.n3u(this);
|
|
3894
3894
|
return this;
|
|
3895
3895
|
};
|
|
3896
|
-
protoOf(ProcessedArgumentImpl).
|
|
3897
|
-
return this.
|
|
3896
|
+
protoOf(ProcessedArgumentImpl).r43 = function (thisRef, property) {
|
|
3897
|
+
return this.m44(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3898
3898
|
};
|
|
3899
|
-
protoOf(ProcessedArgumentImpl).
|
|
3899
|
+
protoOf(ProcessedArgumentImpl).z3z = function (context, values) {
|
|
3900
3900
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3901
3901
|
// Inline function 'kotlin.collections.map' call
|
|
3902
3902
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3905,15 +3905,15 @@
|
|
|
3905
3905
|
while (tmp0_iterator.h()) {
|
|
3906
3906
|
var item = tmp0_iterator.i();
|
|
3907
3907
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3908
|
-
var tmp$ret$0 = this.
|
|
3908
|
+
var tmp$ret$0 = this.b44_1(ctx, item);
|
|
3909
3909
|
destination.e(tmp$ret$0);
|
|
3910
3910
|
}
|
|
3911
|
-
this.
|
|
3911
|
+
this.f44(this.c44_1(ctx, destination));
|
|
3912
3912
|
};
|
|
3913
|
-
protoOf(ProcessedArgumentImpl).
|
|
3914
|
-
this.
|
|
3913
|
+
protoOf(ProcessedArgumentImpl).l43 = function (context) {
|
|
3914
|
+
this.d44_1(new ArgumentTransformContext(this, context), this.b1());
|
|
3915
3915
|
};
|
|
3916
|
-
protoOf(ProcessedArgumentImpl).
|
|
3916
|
+
protoOf(ProcessedArgumentImpl).p43 = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3917
3917
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3918
3918
|
};
|
|
3919
3919
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3923,7 +3923,7 @@
|
|
|
3923
3923
|
var this_0 = StringBuilder_init_$Create$();
|
|
3924
3924
|
// Inline function 'kotlin.contracts.contract' call
|
|
3925
3925
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3926
|
-
this_0.v7(this.
|
|
3926
|
+
this_0.v7(this.v43_1);
|
|
3927
3927
|
// Inline function 'kotlin.onSuccess' call
|
|
3928
3928
|
// Inline function 'kotlin.runCatching' call
|
|
3929
3929
|
var tmp;
|
|
@@ -3977,14 +3977,14 @@
|
|
|
3977
3977
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3978
3978
|
return receiver.b1();
|
|
3979
3979
|
}, function (receiver, value) {
|
|
3980
|
-
return receiver.
|
|
3980
|
+
return receiver.f44(value);
|
|
3981
3981
|
});
|
|
3982
3982
|
}
|
|
3983
3983
|
function value$factory_0() {
|
|
3984
3984
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3985
3985
|
return receiver.b1();
|
|
3986
3986
|
}, function (receiver, value) {
|
|
3987
|
-
return receiver.
|
|
3987
|
+
return receiver.f44(value);
|
|
3988
3988
|
});
|
|
3989
3989
|
}
|
|
3990
3990
|
function ParameterGroup() {
|
|
@@ -3996,29 +3996,29 @@
|
|
|
3996
3996
|
return UNINITIALIZED_instance;
|
|
3997
3997
|
}
|
|
3998
3998
|
function NullableLateinit(errorMessage) {
|
|
3999
|
-
this.
|
|
4000
|
-
this.
|
|
3999
|
+
this.g44_1 = errorMessage;
|
|
4000
|
+
this.h44_1 = UNINITIALIZED_instance;
|
|
4001
4001
|
}
|
|
4002
|
-
protoOf(NullableLateinit).
|
|
4003
|
-
if (this.
|
|
4004
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4002
|
+
protoOf(NullableLateinit).j44 = function (thisRef, property) {
|
|
4003
|
+
if (this.h44_1 === UNINITIALIZED_instance)
|
|
4004
|
+
throw IllegalStateException_init_$Create$(this.g44_1);
|
|
4005
4005
|
try {
|
|
4006
|
-
var tmp = this.
|
|
4006
|
+
var tmp = this.h44_1;
|
|
4007
4007
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
4008
4008
|
} catch ($p) {
|
|
4009
4009
|
if ($p instanceof ClassCastException) {
|
|
4010
4010
|
var e = $p;
|
|
4011
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4011
|
+
throw IllegalStateException_init_$Create$(this.g44_1);
|
|
4012
4012
|
} else {
|
|
4013
4013
|
throw $p;
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
protoOf(NullableLateinit).
|
|
4018
|
-
return this.
|
|
4017
|
+
protoOf(NullableLateinit).l44 = function (thisRef, property) {
|
|
4018
|
+
return this.j44(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
4019
4019
|
};
|
|
4020
|
-
protoOf(NullableLateinit).
|
|
4021
|
-
this.
|
|
4020
|
+
protoOf(NullableLateinit).i44 = function (thisRef, property, value) {
|
|
4021
|
+
this.h44_1 = value;
|
|
4022
4022
|
};
|
|
4023
4023
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
4024
4024
|
help = help === VOID ? '' : help;
|
|
@@ -4029,12 +4029,12 @@
|
|
|
4029
4029
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4030
4030
|
var tmp$ret$0 = copyToArray(names);
|
|
4031
4031
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4032
|
-
var tmp = this_0.
|
|
4033
|
-
var tmp_0 = this_0.
|
|
4034
|
-
var tmp_1 = this_0.
|
|
4035
|
-
var o = this_0.
|
|
4036
|
-
o.
|
|
4037
|
-
_this__u8e3s4.
|
|
4032
|
+
var tmp = this_0.n43();
|
|
4033
|
+
var tmp_0 = this_0.o44();
|
|
4034
|
+
var tmp_1 = this_0.p44();
|
|
4035
|
+
var o = this_0.q44(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4036
|
+
o.s3w(groupName);
|
|
4037
|
+
_this__u8e3s4.m3u(o);
|
|
4038
4038
|
return _this__u8e3s4;
|
|
4039
4039
|
}
|
|
4040
4040
|
function eagerOption$lambda($action) {
|
|
@@ -4054,16 +4054,16 @@
|
|
|
4054
4054
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4055
4055
|
var tmp = boolean(_this__u8e3s4);
|
|
4056
4056
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4057
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4057
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).r44(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4058
4058
|
}
|
|
4059
4059
|
function nullableFlag$lambda($secondaryNames) {
|
|
4060
4060
|
return function ($this$transformValues, it) {
|
|
4061
4061
|
var tmp;
|
|
4062
4062
|
if (it.j() > 1) {
|
|
4063
|
-
$this$transformValues.
|
|
4063
|
+
$this$transformValues.u43($this$transformValues.u44_1.d3t_1.y40($this$transformValues.s44_1));
|
|
4064
4064
|
}
|
|
4065
4065
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4066
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4066
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.s44_1) : tmp0_elvis_lhs;
|
|
4067
4067
|
};
|
|
4068
4068
|
}
|
|
4069
4069
|
function Option_0() {
|
|
@@ -4072,7 +4072,7 @@
|
|
|
4072
4072
|
var tmp$ret$0;
|
|
4073
4073
|
$l$block_0: {
|
|
4074
4074
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
4075
|
-
var iterator = _this__u8e3s4.
|
|
4075
|
+
var iterator = _this__u8e3s4.n3s().g();
|
|
4076
4076
|
if (!iterator.h()) {
|
|
4077
4077
|
tmp$ret$0 = null;
|
|
4078
4078
|
break $l$block_0;
|
|
@@ -4163,13 +4163,13 @@
|
|
|
4163
4163
|
}
|
|
4164
4164
|
function Parsed(values) {
|
|
4165
4165
|
FinalValue.call(this);
|
|
4166
|
-
this.
|
|
4166
|
+
this.y44_1 = values;
|
|
4167
4167
|
}
|
|
4168
4168
|
protoOf(Parsed).toString = function () {
|
|
4169
|
-
return 'Parsed(values=' + toString_0(this.
|
|
4169
|
+
return 'Parsed(values=' + toString_0(this.y44_1) + ')';
|
|
4170
4170
|
};
|
|
4171
4171
|
protoOf(Parsed).hashCode = function () {
|
|
4172
|
-
return hashCode(this.
|
|
4172
|
+
return hashCode(this.y44_1);
|
|
4173
4173
|
};
|
|
4174
4174
|
protoOf(Parsed).equals = function (other) {
|
|
4175
4175
|
if (this === other)
|
|
@@ -4177,19 +4177,19 @@
|
|
|
4177
4177
|
if (!(other instanceof Parsed))
|
|
4178
4178
|
return false;
|
|
4179
4179
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4180
|
-
if (!equals(this.
|
|
4180
|
+
if (!equals(this.y44_1, tmp0_other_with_cast.y44_1))
|
|
4181
4181
|
return false;
|
|
4182
4182
|
return true;
|
|
4183
4183
|
};
|
|
4184
4184
|
function Sourced(values) {
|
|
4185
4185
|
FinalValue.call(this);
|
|
4186
|
-
this.
|
|
4186
|
+
this.z44_1 = values;
|
|
4187
4187
|
}
|
|
4188
4188
|
protoOf(Sourced).toString = function () {
|
|
4189
|
-
return 'Sourced(values=' + toString_0(this.
|
|
4189
|
+
return 'Sourced(values=' + toString_0(this.z44_1) + ')';
|
|
4190
4190
|
};
|
|
4191
4191
|
protoOf(Sourced).hashCode = function () {
|
|
4192
|
-
return hashCode(this.
|
|
4192
|
+
return hashCode(this.z44_1);
|
|
4193
4193
|
};
|
|
4194
4194
|
protoOf(Sourced).equals = function (other) {
|
|
4195
4195
|
if (this === other)
|
|
@@ -4197,21 +4197,21 @@
|
|
|
4197
4197
|
if (!(other instanceof Sourced))
|
|
4198
4198
|
return false;
|
|
4199
4199
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4200
|
-
if (!equals(this.
|
|
4200
|
+
if (!equals(this.z44_1, tmp0_other_with_cast.z44_1))
|
|
4201
4201
|
return false;
|
|
4202
4202
|
return true;
|
|
4203
4203
|
};
|
|
4204
4204
|
function Envvar(key, value) {
|
|
4205
4205
|
FinalValue.call(this);
|
|
4206
|
-
this.
|
|
4207
|
-
this.
|
|
4206
|
+
this.a45_1 = key;
|
|
4207
|
+
this.b45_1 = value;
|
|
4208
4208
|
}
|
|
4209
4209
|
protoOf(Envvar).toString = function () {
|
|
4210
|
-
return 'Envvar(key=' + this.
|
|
4210
|
+
return 'Envvar(key=' + this.a45_1 + ', value=' + this.b45_1 + ')';
|
|
4211
4211
|
};
|
|
4212
4212
|
protoOf(Envvar).hashCode = function () {
|
|
4213
|
-
var result = getStringHashCode(this.
|
|
4214
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4213
|
+
var result = getStringHashCode(this.a45_1);
|
|
4214
|
+
result = imul(result, 31) + getStringHashCode(this.b45_1) | 0;
|
|
4215
4215
|
return result;
|
|
4216
4216
|
};
|
|
4217
4217
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4220,9 +4220,9 @@
|
|
|
4220
4220
|
if (!(other instanceof Envvar))
|
|
4221
4221
|
return false;
|
|
4222
4222
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4223
|
-
if (!(this.
|
|
4223
|
+
if (!(this.a45_1 === tmp0_other_with_cast.a45_1))
|
|
4224
4224
|
return false;
|
|
4225
|
-
if (!(this.
|
|
4225
|
+
if (!(this.b45_1 === tmp0_other_with_cast.b45_1))
|
|
4226
4226
|
return false;
|
|
4227
4227
|
return true;
|
|
4228
4228
|
};
|
|
@@ -4234,7 +4234,7 @@
|
|
|
4234
4234
|
if (!invocations.l()) {
|
|
4235
4235
|
tmp = new Parsed(invocations);
|
|
4236
4236
|
} else {
|
|
4237
|
-
if (context.
|
|
4237
|
+
if (context.a3t_1) {
|
|
4238
4238
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4239
4239
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4240
4240
|
} else {
|
|
@@ -4283,7 +4283,7 @@
|
|
|
4283
4283
|
return setOf_0(normalizedName);
|
|
4284
4284
|
}
|
|
4285
4285
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4286
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4286
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.n3s(), envvar, context.t3s_1);
|
|
4287
4287
|
var tmp;
|
|
4288
4288
|
if (tmp0_elvis_lhs == null) {
|
|
4289
4289
|
return null;
|
|
@@ -4291,7 +4291,7 @@
|
|
|
4291
4291
|
tmp = tmp0_elvis_lhs;
|
|
4292
4292
|
}
|
|
4293
4293
|
var env = tmp;
|
|
4294
|
-
var tmp1_safe_receiver = context.
|
|
4294
|
+
var tmp1_safe_receiver = context.e3t_1(env);
|
|
4295
4295
|
var tmp_0;
|
|
4296
4296
|
if (tmp1_safe_receiver == null) {
|
|
4297
4297
|
tmp_0 = null;
|
|
@@ -4304,8 +4304,8 @@
|
|
|
4304
4304
|
return tmp_0;
|
|
4305
4305
|
}
|
|
4306
4306
|
function readValueSource(_this__u8e3s4, context) {
|
|
4307
|
-
var tmp0_safe_receiver = context.
|
|
4308
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4307
|
+
var tmp0_safe_receiver = context.b3t_1;
|
|
4308
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c45(context, _this__u8e3s4);
|
|
4309
4309
|
var tmp;
|
|
4310
4310
|
if (tmp1_safe_receiver == null) {
|
|
4311
4311
|
tmp = null;
|
|
@@ -4337,56 +4337,56 @@
|
|
|
4337
4337
|
return toString(charSequenceGet(it.b1(), 0)) + '-' + toString(charSequenceGet(it.b1(), 1));
|
|
4338
4338
|
}
|
|
4339
4339
|
function OptionTransformContext(option, context) {
|
|
4340
|
-
this.
|
|
4341
|
-
this.
|
|
4340
|
+
this.b3u_1 = option;
|
|
4341
|
+
this.c3u_1 = context;
|
|
4342
4342
|
}
|
|
4343
4343
|
protoOf(OptionTransformContext).w8 = function () {
|
|
4344
|
-
return this.
|
|
4344
|
+
return this.c3u_1;
|
|
4345
4345
|
};
|
|
4346
|
-
protoOf(OptionTransformContext).
|
|
4347
|
-
return this.
|
|
4346
|
+
protoOf(OptionTransformContext).l3u = function () {
|
|
4347
|
+
return this.b3u_1.l3u();
|
|
4348
4348
|
};
|
|
4349
|
-
protoOf(OptionTransformContext).
|
|
4350
|
-
return this.
|
|
4349
|
+
protoOf(OptionTransformContext).q3w = function () {
|
|
4350
|
+
return this.b3u_1.q3w();
|
|
4351
4351
|
};
|
|
4352
|
-
protoOf(OptionTransformContext).
|
|
4353
|
-
return this.
|
|
4352
|
+
protoOf(OptionTransformContext).m3t = function () {
|
|
4353
|
+
return this.b3u_1.m3t();
|
|
4354
4354
|
};
|
|
4355
|
-
protoOf(OptionTransformContext).
|
|
4356
|
-
return this.
|
|
4355
|
+
protoOf(OptionTransformContext).p3w = function () {
|
|
4356
|
+
return this.b3u_1.p3w();
|
|
4357
4357
|
};
|
|
4358
|
-
protoOf(OptionTransformContext).
|
|
4359
|
-
return this.
|
|
4358
|
+
protoOf(OptionTransformContext).n3w = function () {
|
|
4359
|
+
return this.b3u_1.n3w();
|
|
4360
4360
|
};
|
|
4361
|
-
protoOf(OptionTransformContext).
|
|
4362
|
-
return this.
|
|
4361
|
+
protoOf(OptionTransformContext).l3t = function () {
|
|
4362
|
+
return this.b3u_1.l3t();
|
|
4363
4363
|
};
|
|
4364
|
-
protoOf(OptionTransformContext).
|
|
4365
|
-
return this.
|
|
4364
|
+
protoOf(OptionTransformContext).n3s = function () {
|
|
4365
|
+
return this.b3u_1.n3s();
|
|
4366
4366
|
};
|
|
4367
|
-
protoOf(OptionTransformContext).
|
|
4368
|
-
return this.
|
|
4367
|
+
protoOf(OptionTransformContext).n3t = function () {
|
|
4368
|
+
return this.b3u_1.n3t();
|
|
4369
4369
|
};
|
|
4370
|
-
protoOf(OptionTransformContext).
|
|
4371
|
-
return this.
|
|
4370
|
+
protoOf(OptionTransformContext).o3s = function () {
|
|
4371
|
+
return this.b3u_1.o3s();
|
|
4372
4372
|
};
|
|
4373
|
-
protoOf(OptionTransformContext).
|
|
4374
|
-
this.
|
|
4373
|
+
protoOf(OptionTransformContext).w3z = function (context, invocations) {
|
|
4374
|
+
this.b3u_1.w3z(context, invocations);
|
|
4375
4375
|
};
|
|
4376
|
-
protoOf(OptionTransformContext).
|
|
4377
|
-
return this.
|
|
4376
|
+
protoOf(OptionTransformContext).v44 = function (context) {
|
|
4377
|
+
return this.b3u_1.v44(context);
|
|
4378
4378
|
};
|
|
4379
|
-
protoOf(OptionTransformContext).
|
|
4380
|
-
return this.
|
|
4379
|
+
protoOf(OptionTransformContext).w3t = function (context) {
|
|
4380
|
+
return this.b3u_1.w3t(context);
|
|
4381
4381
|
};
|
|
4382
|
-
protoOf(OptionTransformContext).
|
|
4383
|
-
return this.
|
|
4382
|
+
protoOf(OptionTransformContext).h3u = function (context) {
|
|
4383
|
+
return this.b3u_1.h3u(context);
|
|
4384
4384
|
};
|
|
4385
|
-
protoOf(OptionTransformContext).
|
|
4386
|
-
this.
|
|
4385
|
+
protoOf(OptionTransformContext).l43 = function (context) {
|
|
4386
|
+
this.b3u_1.l43(context);
|
|
4387
4387
|
};
|
|
4388
|
-
protoOf(OptionTransformContext).
|
|
4389
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4388
|
+
protoOf(OptionTransformContext).u43 = function (message) {
|
|
4389
|
+
throw BadParameterValue_init_$Create$_0(message, this.b3u_1);
|
|
4390
4390
|
};
|
|
4391
4391
|
function OptionWithValues() {
|
|
4392
4392
|
}
|
|
@@ -4419,146 +4419,146 @@
|
|
|
4419
4419
|
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);
|
|
4420
4420
|
}
|
|
4421
4421
|
function OptionCallTransformContext(name, option, context) {
|
|
4422
|
-
this.
|
|
4423
|
-
this.
|
|
4424
|
-
this.
|
|
4422
|
+
this.s44_1 = name;
|
|
4423
|
+
this.t44_1 = option;
|
|
4424
|
+
this.u44_1 = context;
|
|
4425
4425
|
}
|
|
4426
4426
|
protoOf(OptionCallTransformContext).w8 = function () {
|
|
4427
|
-
return this.
|
|
4427
|
+
return this.u44_1;
|
|
4428
4428
|
};
|
|
4429
|
-
protoOf(OptionCallTransformContext).
|
|
4430
|
-
return this.
|
|
4429
|
+
protoOf(OptionCallTransformContext).l3u = function () {
|
|
4430
|
+
return this.t44_1.l3u();
|
|
4431
4431
|
};
|
|
4432
|
-
protoOf(OptionCallTransformContext).
|
|
4433
|
-
return this.
|
|
4432
|
+
protoOf(OptionCallTransformContext).q3w = function () {
|
|
4433
|
+
return this.t44_1.q3w();
|
|
4434
4434
|
};
|
|
4435
|
-
protoOf(OptionCallTransformContext).
|
|
4436
|
-
return this.
|
|
4435
|
+
protoOf(OptionCallTransformContext).m3t = function () {
|
|
4436
|
+
return this.t44_1.m3t();
|
|
4437
4437
|
};
|
|
4438
|
-
protoOf(OptionCallTransformContext).
|
|
4439
|
-
return this.
|
|
4438
|
+
protoOf(OptionCallTransformContext).p3w = function () {
|
|
4439
|
+
return this.t44_1.p3w();
|
|
4440
4440
|
};
|
|
4441
|
-
protoOf(OptionCallTransformContext).
|
|
4442
|
-
return this.
|
|
4441
|
+
protoOf(OptionCallTransformContext).n3w = function () {
|
|
4442
|
+
return this.t44_1.n3w();
|
|
4443
4443
|
};
|
|
4444
|
-
protoOf(OptionCallTransformContext).
|
|
4445
|
-
return this.
|
|
4444
|
+
protoOf(OptionCallTransformContext).l3t = function () {
|
|
4445
|
+
return this.t44_1.l3t();
|
|
4446
4446
|
};
|
|
4447
|
-
protoOf(OptionCallTransformContext).
|
|
4448
|
-
return this.
|
|
4447
|
+
protoOf(OptionCallTransformContext).n3s = function () {
|
|
4448
|
+
return this.t44_1.n3s();
|
|
4449
4449
|
};
|
|
4450
|
-
protoOf(OptionCallTransformContext).
|
|
4451
|
-
return this.
|
|
4450
|
+
protoOf(OptionCallTransformContext).n3t = function () {
|
|
4451
|
+
return this.t44_1.n3t();
|
|
4452
4452
|
};
|
|
4453
|
-
protoOf(OptionCallTransformContext).
|
|
4454
|
-
return this.
|
|
4453
|
+
protoOf(OptionCallTransformContext).o3s = function () {
|
|
4454
|
+
return this.t44_1.o3s();
|
|
4455
4455
|
};
|
|
4456
|
-
protoOf(OptionCallTransformContext).
|
|
4457
|
-
this.
|
|
4456
|
+
protoOf(OptionCallTransformContext).w3z = function (context, invocations) {
|
|
4457
|
+
this.t44_1.w3z(context, invocations);
|
|
4458
4458
|
};
|
|
4459
|
-
protoOf(OptionCallTransformContext).
|
|
4460
|
-
return this.
|
|
4459
|
+
protoOf(OptionCallTransformContext).v44 = function (context) {
|
|
4460
|
+
return this.t44_1.v44(context);
|
|
4461
4461
|
};
|
|
4462
|
-
protoOf(OptionCallTransformContext).
|
|
4463
|
-
return this.
|
|
4462
|
+
protoOf(OptionCallTransformContext).w3t = function (context) {
|
|
4463
|
+
return this.t44_1.w3t(context);
|
|
4464
4464
|
};
|
|
4465
|
-
protoOf(OptionCallTransformContext).
|
|
4466
|
-
return this.
|
|
4465
|
+
protoOf(OptionCallTransformContext).h3u = function (context) {
|
|
4466
|
+
return this.t44_1.h3u(context);
|
|
4467
4467
|
};
|
|
4468
|
-
protoOf(OptionCallTransformContext).
|
|
4469
|
-
this.
|
|
4468
|
+
protoOf(OptionCallTransformContext).l43 = function (context) {
|
|
4469
|
+
this.t44_1.l43(context);
|
|
4470
4470
|
};
|
|
4471
|
-
protoOf(OptionCallTransformContext).
|
|
4472
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4471
|
+
protoOf(OptionCallTransformContext).u43 = function (message) {
|
|
4472
|
+
throw BadParameterValue_init_$Create$_1(message, this.t44_1, this.s44_1);
|
|
4473
4473
|
};
|
|
4474
4474
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4475
|
-
return $this$null.
|
|
4475
|
+
return $this$null.d3t_1.b41();
|
|
4476
4476
|
}
|
|
4477
4477
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4478
|
-
this.
|
|
4479
|
-
this.
|
|
4480
|
-
this.
|
|
4481
|
-
this.
|
|
4482
|
-
this.
|
|
4483
|
-
this.
|
|
4484
|
-
this.
|
|
4485
|
-
this.
|
|
4486
|
-
this.
|
|
4487
|
-
this.
|
|
4488
|
-
this.
|
|
4489
|
-
this.
|
|
4490
|
-
this.
|
|
4491
|
-
this.
|
|
4492
|
-
this.
|
|
4493
|
-
this.
|
|
4494
|
-
this.
|
|
4495
|
-
this.
|
|
4496
|
-
this.
|
|
4497
|
-
this.
|
|
4498
|
-
this.
|
|
4499
|
-
}
|
|
4500
|
-
protoOf(OptionWithValuesImpl).
|
|
4501
|
-
return this.c45_1;
|
|
4502
|
-
};
|
|
4503
|
-
protoOf(OptionWithValuesImpl).g3t = function () {
|
|
4504
|
-
return this.d45_1;
|
|
4505
|
-
};
|
|
4506
|
-
protoOf(OptionWithValuesImpl).f43 = function () {
|
|
4507
|
-
return this.e45_1;
|
|
4508
|
-
};
|
|
4509
|
-
protoOf(OptionWithValuesImpl).e3t = function () {
|
|
4510
|
-
return this.f45_1;
|
|
4511
|
-
};
|
|
4512
|
-
protoOf(OptionWithValuesImpl).g3w = function () {
|
|
4513
|
-
return this.g45_1;
|
|
4514
|
-
};
|
|
4515
|
-
protoOf(OptionWithValuesImpl).h3w = function () {
|
|
4516
|
-
return this.h45_1;
|
|
4517
|
-
};
|
|
4518
|
-
protoOf(OptionWithValuesImpl).w44 = function () {
|
|
4519
|
-
return this.i45_1;
|
|
4520
|
-
};
|
|
4521
|
-
protoOf(OptionWithValuesImpl).z44 = function () {
|
|
4478
|
+
this.j45_1 = metavarGetter;
|
|
4479
|
+
this.k45_1 = nvalues;
|
|
4480
|
+
this.l45_1 = helpGetter;
|
|
4481
|
+
this.m45_1 = hidden;
|
|
4482
|
+
this.n45_1 = helpTags;
|
|
4483
|
+
this.o45_1 = valueSourceKey;
|
|
4484
|
+
this.p45_1 = envvar;
|
|
4485
|
+
this.q45_1 = valueSplit;
|
|
4486
|
+
this.r45_1 = explicitCompletionCandidates;
|
|
4487
|
+
this.s45_1 = secondaryNames;
|
|
4488
|
+
this.t45_1 = acceptsNumberValueWithoutName;
|
|
4489
|
+
this.u45_1 = acceptsUnattachedValue;
|
|
4490
|
+
this.v45_1 = eager;
|
|
4491
|
+
this.w45_1 = transformValue;
|
|
4492
|
+
this.x45_1 = transformEach;
|
|
4493
|
+
this.y45_1 = transformAll;
|
|
4494
|
+
this.z45_1 = transformValidator;
|
|
4495
|
+
this.a46_1 = null;
|
|
4496
|
+
this.b46_1 = null;
|
|
4497
|
+
this.c46_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4498
|
+
this.d46_1 = names;
|
|
4499
|
+
}
|
|
4500
|
+
protoOf(OptionWithValuesImpl).f45 = function () {
|
|
4522
4501
|
return this.j45_1;
|
|
4523
4502
|
};
|
|
4524
|
-
protoOf(OptionWithValuesImpl).
|
|
4503
|
+
protoOf(OptionWithValuesImpl).n3t = function () {
|
|
4525
4504
|
return this.k45_1;
|
|
4526
4505
|
};
|
|
4527
|
-
protoOf(OptionWithValuesImpl).
|
|
4506
|
+
protoOf(OptionWithValuesImpl).m43 = function () {
|
|
4528
4507
|
return this.l45_1;
|
|
4529
4508
|
};
|
|
4530
|
-
protoOf(OptionWithValuesImpl).
|
|
4509
|
+
protoOf(OptionWithValuesImpl).l3t = function () {
|
|
4531
4510
|
return this.m45_1;
|
|
4532
4511
|
};
|
|
4533
|
-
protoOf(OptionWithValuesImpl).
|
|
4512
|
+
protoOf(OptionWithValuesImpl).n3w = function () {
|
|
4534
4513
|
return this.n45_1;
|
|
4535
4514
|
};
|
|
4536
|
-
protoOf(OptionWithValuesImpl).
|
|
4515
|
+
protoOf(OptionWithValuesImpl).o3w = function () {
|
|
4537
4516
|
return this.o45_1;
|
|
4538
4517
|
};
|
|
4539
|
-
protoOf(OptionWithValuesImpl).
|
|
4518
|
+
protoOf(OptionWithValuesImpl).d45 = function () {
|
|
4540
4519
|
return this.p45_1;
|
|
4541
4520
|
};
|
|
4542
|
-
protoOf(OptionWithValuesImpl).
|
|
4521
|
+
protoOf(OptionWithValuesImpl).g45 = function () {
|
|
4543
4522
|
return this.q45_1;
|
|
4544
4523
|
};
|
|
4545
|
-
protoOf(OptionWithValuesImpl).
|
|
4524
|
+
protoOf(OptionWithValuesImpl).o43 = function () {
|
|
4546
4525
|
return this.r45_1;
|
|
4547
4526
|
};
|
|
4548
|
-
protoOf(OptionWithValuesImpl).
|
|
4527
|
+
protoOf(OptionWithValuesImpl).o3s = function () {
|
|
4549
4528
|
return this.s45_1;
|
|
4550
4529
|
};
|
|
4551
|
-
protoOf(OptionWithValuesImpl).
|
|
4530
|
+
protoOf(OptionWithValuesImpl).l3u = function () {
|
|
4552
4531
|
return this.t45_1;
|
|
4553
4532
|
};
|
|
4554
|
-
protoOf(OptionWithValuesImpl).
|
|
4555
|
-
this.u45_1 = _set____db54di;
|
|
4556
|
-
};
|
|
4557
|
-
protoOf(OptionWithValuesImpl).f3w = function () {
|
|
4533
|
+
protoOf(OptionWithValuesImpl).q3w = function () {
|
|
4558
4534
|
return this.u45_1;
|
|
4559
4535
|
};
|
|
4560
|
-
protoOf(OptionWithValuesImpl).
|
|
4561
|
-
|
|
4536
|
+
protoOf(OptionWithValuesImpl).p3w = function () {
|
|
4537
|
+
return this.v45_1;
|
|
4538
|
+
};
|
|
4539
|
+
protoOf(OptionWithValuesImpl).n43 = function () {
|
|
4540
|
+
return this.w45_1;
|
|
4541
|
+
};
|
|
4542
|
+
protoOf(OptionWithValuesImpl).o44 = function () {
|
|
4543
|
+
return this.x45_1;
|
|
4544
|
+
};
|
|
4545
|
+
protoOf(OptionWithValuesImpl).p44 = function () {
|
|
4546
|
+
return this.y45_1;
|
|
4547
|
+
};
|
|
4548
|
+
protoOf(OptionWithValuesImpl).e45 = function () {
|
|
4549
|
+
return this.z45_1;
|
|
4550
|
+
};
|
|
4551
|
+
protoOf(OptionWithValuesImpl).r3w = function () {
|
|
4552
|
+
return this.a46_1;
|
|
4553
|
+
};
|
|
4554
|
+
protoOf(OptionWithValuesImpl).s3w = function (_set____db54di) {
|
|
4555
|
+
this.b46_1 = _set____db54di;
|
|
4556
|
+
};
|
|
4557
|
+
protoOf(OptionWithValuesImpl).m3w = function () {
|
|
4558
|
+
return this.b46_1;
|
|
4559
|
+
};
|
|
4560
|
+
protoOf(OptionWithValuesImpl).v44 = function (context) {
|
|
4561
|
+
var tmp0_elvis_lhs = this.j45_1;
|
|
4562
4562
|
var tmp;
|
|
4563
4563
|
if (tmp0_elvis_lhs == null) {
|
|
4564
4564
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4567,30 +4567,30 @@
|
|
|
4567
4567
|
}
|
|
4568
4568
|
return tmp(context);
|
|
4569
4569
|
};
|
|
4570
|
-
protoOf(OptionWithValuesImpl).
|
|
4571
|
-
return this.
|
|
4570
|
+
protoOf(OptionWithValuesImpl).f44 = function (_set____db54di) {
|
|
4571
|
+
return this.c46_1.i44(this, value$factory_1(), _set____db54di);
|
|
4572
4572
|
};
|
|
4573
4573
|
protoOf(OptionWithValuesImpl).b1 = function () {
|
|
4574
|
-
return this.
|
|
4574
|
+
return this.c46_1.j44(this, value$factory_2());
|
|
4575
4575
|
};
|
|
4576
|
-
protoOf(OptionWithValuesImpl).
|
|
4577
|
-
return this.
|
|
4576
|
+
protoOf(OptionWithValuesImpl).n3s = function () {
|
|
4577
|
+
return this.d46_1;
|
|
4578
4578
|
};
|
|
4579
|
-
protoOf(OptionWithValuesImpl).
|
|
4580
|
-
var tmp0_elvis_lhs = this.
|
|
4579
|
+
protoOf(OptionWithValuesImpl).m3t = function () {
|
|
4580
|
+
var tmp0_elvis_lhs = this.r45_1;
|
|
4581
4581
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4582
4582
|
};
|
|
4583
|
-
protoOf(OptionWithValuesImpl).
|
|
4584
|
-
var tmp0_safe_receiver = this.
|
|
4583
|
+
protoOf(OptionWithValuesImpl).w3t = function (context) {
|
|
4584
|
+
var tmp0_safe_receiver = this.l45_1;
|
|
4585
4585
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4586
4586
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4587
4587
|
};
|
|
4588
|
-
protoOf(OptionWithValuesImpl).
|
|
4589
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4588
|
+
protoOf(OptionWithValuesImpl).w3z = function (context, invocations) {
|
|
4589
|
+
var v = getFinalValue(this, context, invocations, this.p45_1);
|
|
4590
4590
|
var tmp;
|
|
4591
4591
|
if (v instanceof Parsed) {
|
|
4592
4592
|
var tmp_0;
|
|
4593
|
-
if (this.
|
|
4593
|
+
if (this.q45_1 == null) {
|
|
4594
4594
|
tmp_0 = invocations;
|
|
4595
4595
|
} else {
|
|
4596
4596
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4602,17 +4602,17 @@
|
|
|
4602
4602
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4603
4603
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4604
4604
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4605
|
-
var this_0 = item.
|
|
4605
|
+
var this_0 = item.g46_1;
|
|
4606
4606
|
var destination_0 = ArrayList_init_$Create$();
|
|
4607
4607
|
var tmp0_iterator_0 = this_0.g();
|
|
4608
4608
|
while (tmp0_iterator_0.h()) {
|
|
4609
4609
|
var element = tmp0_iterator_0.i();
|
|
4610
4610
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4611
4611
|
// Inline function 'kotlin.text.split' call
|
|
4612
|
-
var list = this.
|
|
4612
|
+
var list = this.q45_1.xb(element, 0);
|
|
4613
4613
|
addAll(destination_0, list);
|
|
4614
4614
|
}
|
|
4615
|
-
var tmp$ret$4 = item.
|
|
4615
|
+
var tmp$ret$4 = item.h46(VOID, destination_0);
|
|
4616
4616
|
destination.e(tmp$ret$4);
|
|
4617
4617
|
}
|
|
4618
4618
|
tmp_0 = destination;
|
|
@@ -4621,27 +4621,27 @@
|
|
|
4621
4621
|
} else {
|
|
4622
4622
|
if (v instanceof Sourced) {
|
|
4623
4623
|
// Inline function 'kotlin.collections.map' call
|
|
4624
|
-
var this_1 = v.
|
|
4624
|
+
var this_1 = v.z44_1;
|
|
4625
4625
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4626
4626
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4627
4627
|
var tmp0_iterator_1 = this_1.g();
|
|
4628
4628
|
while (tmp0_iterator_1.h()) {
|
|
4629
4629
|
var item_0 = tmp0_iterator_1.i();
|
|
4630
4630
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4631
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4631
|
+
var tmp$ret$7 = new Invocation('', item_0.e46_1);
|
|
4632
4632
|
destination_1.e(tmp$ret$7);
|
|
4633
4633
|
}
|
|
4634
4634
|
tmp = destination_1;
|
|
4635
4635
|
} else {
|
|
4636
4636
|
if (v instanceof Envvar) {
|
|
4637
4637
|
var tmp_1;
|
|
4638
|
-
if (this.
|
|
4639
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4638
|
+
if (this.q45_1 == null) {
|
|
4639
|
+
tmp_1 = listOf_0(new Invocation(v.a45_1, listOf_0(v.b45_1)));
|
|
4640
4640
|
} else {
|
|
4641
4641
|
// Inline function 'kotlin.text.split' call
|
|
4642
|
-
var this_2 = v.
|
|
4643
|
-
var tmp$ret$10 = this.
|
|
4644
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4642
|
+
var this_2 = v.b45_1;
|
|
4643
|
+
var tmp$ret$10 = this.q45_1.xb(this_2, 0);
|
|
4644
|
+
tmp_1 = listOf_0(new Invocation(v.a45_1, tmp$ret$10));
|
|
4645
4645
|
}
|
|
4646
4646
|
tmp = tmp_1;
|
|
4647
4647
|
} else {
|
|
@@ -4658,39 +4658,39 @@
|
|
|
4658
4658
|
while (tmp0_iterator_2.h()) {
|
|
4659
4659
|
var item_1 = tmp0_iterator_2.i();
|
|
4660
4660
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4661
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4661
|
+
var tc = new OptionCallTransformContext(item_1.f46_1, this, context);
|
|
4662
4662
|
// Inline function 'kotlin.collections.map' call
|
|
4663
|
-
var this_3 = item_1.
|
|
4663
|
+
var this_3 = item_1.g46_1;
|
|
4664
4664
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4665
4665
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
4666
4666
|
var tmp0_iterator_3 = this_3.g();
|
|
4667
4667
|
while (tmp0_iterator_3.h()) {
|
|
4668
4668
|
var item_2 = tmp0_iterator_3.i();
|
|
4669
4669
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4670
|
-
var tmp$ret$11 = this.
|
|
4670
|
+
var tmp$ret$11 = this.w45_1(tc, item_2);
|
|
4671
4671
|
destination_3.e(tmp$ret$11);
|
|
4672
4672
|
}
|
|
4673
|
-
var tmp$ret$14 = this.
|
|
4673
|
+
var tmp$ret$14 = this.x45_1(tc, destination_3);
|
|
4674
4674
|
destination_2.e(tmp$ret$14);
|
|
4675
4675
|
}
|
|
4676
|
-
this.
|
|
4676
|
+
this.f44(this.y45_1(tmp_2, destination_2));
|
|
4677
4677
|
};
|
|
4678
|
-
protoOf(OptionWithValuesImpl).
|
|
4679
|
-
this.
|
|
4680
|
-
thisRef.
|
|
4678
|
+
protoOf(OptionWithValuesImpl).w44 = function (thisRef, property) {
|
|
4679
|
+
this.d46_1 = inferOptionNames(this.d46_1, property.callableName);
|
|
4680
|
+
thisRef.m3u(this);
|
|
4681
4681
|
return this;
|
|
4682
4682
|
};
|
|
4683
|
-
protoOf(OptionWithValuesImpl).
|
|
4684
|
-
return this.
|
|
4683
|
+
protoOf(OptionWithValuesImpl).r43 = function (thisRef, property) {
|
|
4684
|
+
return this.w44((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4685
4685
|
};
|
|
4686
|
-
protoOf(OptionWithValuesImpl).
|
|
4687
|
-
this.
|
|
4686
|
+
protoOf(OptionWithValuesImpl).l43 = function (context) {
|
|
4687
|
+
this.z45_1(new OptionTransformContext(this, context), this.b1());
|
|
4688
4688
|
};
|
|
4689
|
-
protoOf(OptionWithValuesImpl).
|
|
4689
|
+
protoOf(OptionWithValuesImpl).h45 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4690
4690
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4691
4691
|
};
|
|
4692
|
-
protoOf(OptionWithValuesImpl).
|
|
4693
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4692
|
+
protoOf(OptionWithValuesImpl).i45 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4693
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.w45_1, this.x45_1, this.y45_1, validator);
|
|
4694
4694
|
};
|
|
4695
4695
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4696
4696
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4729,8 +4729,8 @@
|
|
|
4729
4729
|
}
|
|
4730
4730
|
return this_0.toString();
|
|
4731
4731
|
};
|
|
4732
|
-
protoOf(OptionWithValuesImpl).
|
|
4733
|
-
return this.
|
|
4732
|
+
protoOf(OptionWithValuesImpl).l44 = function (thisRef, property) {
|
|
4733
|
+
return this.x44((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4734
4734
|
};
|
|
4735
4735
|
function defaultEachProcessor() {
|
|
4736
4736
|
return defaultEachProcessor$lambda;
|
|
@@ -4767,14 +4767,14 @@
|
|
|
4767
4767
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4768
4768
|
return receiver.b1();
|
|
4769
4769
|
}, function (receiver, value) {
|
|
4770
|
-
return receiver.
|
|
4770
|
+
return receiver.f44(value);
|
|
4771
4771
|
});
|
|
4772
4772
|
}
|
|
4773
4773
|
function value$factory_2() {
|
|
4774
4774
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4775
4775
|
return receiver.b1();
|
|
4776
4776
|
}, function (receiver, value) {
|
|
4777
|
-
return receiver.
|
|
4777
|
+
return receiver.f44(value);
|
|
4778
4778
|
});
|
|
4779
4779
|
}
|
|
4780
4780
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4782,11 +4782,11 @@
|
|
|
4782
4782
|
return transformAll(_this__u8e3s4, defaultForHelp, VOID, default$lambda(value));
|
|
4783
4783
|
}
|
|
4784
4784
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4785
|
-
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.
|
|
4785
|
+
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.n3w().f2('default') : defaultForHelp;
|
|
4786
4786
|
var tmp;
|
|
4787
4787
|
if (showAsRequired === VOID) {
|
|
4788
4788
|
// Inline function 'kotlin.collections.contains' call
|
|
4789
|
-
var this_0 = _this__u8e3s4.
|
|
4789
|
+
var this_0 = _this__u8e3s4.n3w();
|
|
4790
4790
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4791
4791
|
var key = 'required';
|
|
4792
4792
|
tmp = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).e2(key);
|
|
@@ -4794,7 +4794,7 @@
|
|
|
4794
4794
|
tmp = showAsRequired;
|
|
4795
4795
|
}
|
|
4796
4796
|
showAsRequired = tmp;
|
|
4797
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4797
|
+
var tags = toMutableMap(_this__u8e3s4.n3w());
|
|
4798
4798
|
if (showAsRequired) {
|
|
4799
4799
|
// Inline function 'kotlin.collections.set' call
|
|
4800
4800
|
var key_0 = 'required';
|
|
@@ -4808,7 +4808,7 @@
|
|
|
4808
4808
|
} else {
|
|
4809
4809
|
tags.n2('default');
|
|
4810
4810
|
}
|
|
4811
|
-
return _this__u8e3s4.
|
|
4811
|
+
return _this__u8e3s4.q44(_this__u8e3s4.n43(), _this__u8e3s4.o44(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4812
4812
|
}
|
|
4813
4813
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4814
4814
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4825,7 +4825,7 @@
|
|
|
4825
4825
|
return function ($this$transformAll, it) {
|
|
4826
4826
|
var tmp;
|
|
4827
4827
|
if (it.l() && $required) {
|
|
4828
|
-
throw new MissingOption($this$transformAll.
|
|
4828
|
+
throw new MissingOption($this$transformAll.b3u_1);
|
|
4829
4829
|
} else if (it.l() && !$required) {
|
|
4830
4830
|
tmp = $default;
|
|
4831
4831
|
} else {
|
|
@@ -4856,34 +4856,34 @@
|
|
|
4856
4856
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4857
4857
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4858
4858
|
}
|
|
4859
|
-
var tmp = _this__u8e3s4.
|
|
4859
|
+
var tmp = _this__u8e3s4.n43();
|
|
4860
4860
|
var tmp_0 = defaultAllProcessor_0();
|
|
4861
4861
|
var tmp_1 = defaultValidator_0();
|
|
4862
4862
|
var tmp_2;
|
|
4863
4863
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4864
4864
|
tmp_2 = transformValues$lambda;
|
|
4865
4865
|
} else {
|
|
4866
|
-
tmp_2 = _this__u8e3s4.
|
|
4866
|
+
tmp_2 = _this__u8e3s4.f45();
|
|
4867
4867
|
}
|
|
4868
|
-
return _this__u8e3s4.
|
|
4868
|
+
return _this__u8e3s4.q44(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4869
4869
|
}
|
|
4870
4870
|
function transformValues$lambda($this$null) {
|
|
4871
4871
|
return null;
|
|
4872
4872
|
}
|
|
4873
4873
|
function HelpTransformContext(context) {
|
|
4874
|
-
this.
|
|
4874
|
+
this.i46_1 = context;
|
|
4875
4875
|
}
|
|
4876
4876
|
protoOf(HelpTransformContext).w8 = function () {
|
|
4877
|
-
return this.
|
|
4877
|
+
return this.i46_1;
|
|
4878
4878
|
};
|
|
4879
|
-
protoOf(HelpTransformContext).
|
|
4879
|
+
protoOf(HelpTransformContext).u43 = function (message) {
|
|
4880
4880
|
throw new UsageError(message);
|
|
4881
4881
|
};
|
|
4882
4882
|
protoOf(HelpTransformContext).toString = function () {
|
|
4883
|
-
return 'HelpTransformContext(context=' + toString_0(this.
|
|
4883
|
+
return 'HelpTransformContext(context=' + toString_0(this.i46_1) + ')';
|
|
4884
4884
|
};
|
|
4885
4885
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4886
|
-
return hashCode(this.
|
|
4886
|
+
return hashCode(this.i46_1);
|
|
4887
4887
|
};
|
|
4888
4888
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4889
4889
|
if (this === other)
|
|
@@ -4891,7 +4891,7 @@
|
|
|
4891
4891
|
if (!(other instanceof HelpTransformContext))
|
|
4892
4892
|
return false;
|
|
4893
4893
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4894
|
-
if (!equals(this.
|
|
4894
|
+
if (!equals(this.i46_1, tmp0_other_with_cast.i46_1))
|
|
4895
4895
|
return false;
|
|
4896
4896
|
return true;
|
|
4897
4897
|
};
|
|
@@ -4904,10 +4904,10 @@
|
|
|
4904
4904
|
var tmp = defaultEachProcessor();
|
|
4905
4905
|
var tmp_0 = defaultAllProcessor_0();
|
|
4906
4906
|
var tmp_1 = defaultValidator_0();
|
|
4907
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4907
|
+
var tmp0_elvis_lhs = _this__u8e3s4.f45();
|
|
4908
4908
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4909
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4910
|
-
return _this__u8e3s4.
|
|
4909
|
+
var tmp1_elvis_lhs = _this__u8e3s4.o43();
|
|
4910
|
+
return _this__u8e3s4.q44(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4911
4911
|
}
|
|
4912
4912
|
function valueToBool(_this__u8e3s4, value) {
|
|
4913
4913
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4931,7 +4931,7 @@
|
|
|
4931
4931
|
tmp = false;
|
|
4932
4932
|
break;
|
|
4933
4933
|
default:
|
|
4934
|
-
_this__u8e3s4.
|
|
4934
|
+
_this__u8e3s4.u43(_this__u8e3s4.w8().d3t_1.z40(value));
|
|
4935
4935
|
break;
|
|
4936
4936
|
}
|
|
4937
4937
|
return tmp;
|
|
@@ -4946,18 +4946,18 @@
|
|
|
4946
4946
|
var tmp;
|
|
4947
4947
|
try {
|
|
4948
4948
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
4949
|
-
var it_0 = $this.
|
|
4949
|
+
var it_0 = $this.n43()($this$null, it);
|
|
4950
4950
|
tmp = valueToBool($this$null, it_0);
|
|
4951
4951
|
} catch ($p) {
|
|
4952
4952
|
var tmp_0;
|
|
4953
4953
|
if ($p instanceof UsageError) {
|
|
4954
4954
|
var err = $p;
|
|
4955
4955
|
var tmp_1 = err;
|
|
4956
|
-
var tmp0_elvis_lhs = err.
|
|
4956
|
+
var tmp0_elvis_lhs = err.c3x_1;
|
|
4957
4957
|
var tmp_2;
|
|
4958
4958
|
if (tmp0_elvis_lhs == null) {
|
|
4959
4959
|
// Inline function 'kotlin.takeUnless' call
|
|
4960
|
-
var this_0 = $this$null.
|
|
4960
|
+
var this_0 = $this$null.s44_1;
|
|
4961
4961
|
// Inline function 'kotlin.contracts.contract' call
|
|
4962
4962
|
var tmp_3;
|
|
4963
4963
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -4972,13 +4972,13 @@
|
|
|
4972
4972
|
tmp_2 = tmp0_elvis_lhs;
|
|
4973
4973
|
}
|
|
4974
4974
|
var tmp1_elvis_lhs = tmp_2;
|
|
4975
|
-
tmp_1.
|
|
4975
|
+
tmp_1.c3x_1 = tmp1_elvis_lhs == null ? longestName($this$null.t44_1) : tmp1_elvis_lhs;
|
|
4976
4976
|
throw err;
|
|
4977
4977
|
} else {
|
|
4978
4978
|
if ($p instanceof Exception) {
|
|
4979
4979
|
var err_0 = $p;
|
|
4980
4980
|
var tmp2_elvis_lhs = err_0.message;
|
|
4981
|
-
$this$null.
|
|
4981
|
+
$this$null.u43(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
4982
4982
|
} else {
|
|
4983
4983
|
throw $p;
|
|
4984
4984
|
}
|
|
@@ -5029,16 +5029,16 @@
|
|
|
5029
5029
|
var tmp_1 = defaultEachProcessor();
|
|
5030
5030
|
var tmp_2 = defaultAllProcessor_0();
|
|
5031
5031
|
var tmp_3 = defaultValidator_0();
|
|
5032
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5032
|
+
var tmp0_elvis_lhs = _this__u8e3s4.f45();
|
|
5033
5033
|
var tmp_4 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
5034
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5035
|
-
return _this__u8e3s4.
|
|
5034
|
+
var tmp1_elvis_lhs = _this__u8e3s4.o43();
|
|
5035
|
+
return _this__u8e3s4.q44(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);
|
|
5036
5036
|
}
|
|
5037
5037
|
function mvar(choices) {
|
|
5038
5038
|
return joinToString(choices, '|', '(', ')');
|
|
5039
5039
|
}
|
|
5040
5040
|
function errorMessage(context, choice, choices) {
|
|
5041
|
-
return context.
|
|
5041
|
+
return context.d3t_1.a41(choice, toList_0(choices.g2()));
|
|
5042
5042
|
}
|
|
5043
5043
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
5044
5044
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5077,8 +5077,8 @@
|
|
|
5077
5077
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
5078
5078
|
var tmp_1 = defaultAllProcessor();
|
|
5079
5079
|
var tmp_2 = defaultValidator();
|
|
5080
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5081
|
-
return _this__u8e3s4.
|
|
5080
|
+
var tmp0_elvis_lhs = _this__u8e3s4.o43();
|
|
5081
|
+
return _this__u8e3s4.q43(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? completionCandidates : tmp0_elvis_lhs);
|
|
5082
5082
|
}
|
|
5083
5083
|
function choice$lambda($metavar) {
|
|
5084
5084
|
return function ($this$convert) {
|
|
@@ -5090,7 +5090,7 @@
|
|
|
5090
5090
|
var tmp;
|
|
5091
5091
|
try {
|
|
5092
5092
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5093
|
-
var it_0 = $this.
|
|
5093
|
+
var it_0 = $this.n43()($this$null, it);
|
|
5094
5094
|
var tmp_0;
|
|
5095
5095
|
if ($ignoreCase) {
|
|
5096
5096
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5102,7 +5102,7 @@
|
|
|
5102
5102
|
var tmp0_elvis_lhs = $c.f2(tmp_0);
|
|
5103
5103
|
var tmp_1;
|
|
5104
5104
|
if (tmp0_elvis_lhs == null) {
|
|
5105
|
-
$this$null.
|
|
5105
|
+
$this$null.u43(errorMessage($this$null.u44_1, it_0, $choices));
|
|
5106
5106
|
} else {
|
|
5107
5107
|
tmp_1 = tmp0_elvis_lhs;
|
|
5108
5108
|
}
|
|
@@ -5112,11 +5112,11 @@
|
|
|
5112
5112
|
if ($p instanceof UsageError) {
|
|
5113
5113
|
var err = $p;
|
|
5114
5114
|
var tmp_3 = err;
|
|
5115
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5115
|
+
var tmp0_elvis_lhs_0 = err.c3x_1;
|
|
5116
5116
|
var tmp_4;
|
|
5117
5117
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5118
5118
|
// Inline function 'kotlin.takeUnless' call
|
|
5119
|
-
var this_0 = $this$null.
|
|
5119
|
+
var this_0 = $this$null.s44_1;
|
|
5120
5120
|
// Inline function 'kotlin.contracts.contract' call
|
|
5121
5121
|
var tmp_5;
|
|
5122
5122
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5131,13 +5131,13 @@
|
|
|
5131
5131
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5132
5132
|
}
|
|
5133
5133
|
var tmp1_elvis_lhs = tmp_4;
|
|
5134
|
-
tmp_3.
|
|
5134
|
+
tmp_3.c3x_1 = tmp1_elvis_lhs == null ? longestName($this$null.t44_1) : tmp1_elvis_lhs;
|
|
5135
5135
|
throw err;
|
|
5136
5136
|
} else {
|
|
5137
5137
|
if ($p instanceof Exception) {
|
|
5138
5138
|
var err_0 = $p;
|
|
5139
5139
|
var tmp2_elvis_lhs = err_0.message;
|
|
5140
|
-
$this$null.
|
|
5140
|
+
$this$null.u43(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5141
5141
|
} else {
|
|
5142
5142
|
throw $p;
|
|
5143
5143
|
}
|
|
@@ -5152,7 +5152,7 @@
|
|
|
5152
5152
|
var tmp;
|
|
5153
5153
|
try {
|
|
5154
5154
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5155
|
-
var it_0 = $this.
|
|
5155
|
+
var it_0 = $this.n43()($this$null, it);
|
|
5156
5156
|
var tmp_0;
|
|
5157
5157
|
if ($ignoreCase) {
|
|
5158
5158
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5164,7 +5164,7 @@
|
|
|
5164
5164
|
var tmp0_elvis_lhs = $c.f2(tmp_0);
|
|
5165
5165
|
var tmp_1;
|
|
5166
5166
|
if (tmp0_elvis_lhs == null) {
|
|
5167
|
-
$this$null.
|
|
5167
|
+
$this$null.u43(errorMessage($this$null.t43_1, it_0, $choices));
|
|
5168
5168
|
} else {
|
|
5169
5169
|
tmp_1 = tmp0_elvis_lhs;
|
|
5170
5170
|
}
|
|
@@ -5174,14 +5174,14 @@
|
|
|
5174
5174
|
if ($p instanceof UsageError) {
|
|
5175
5175
|
var err = $p;
|
|
5176
5176
|
var tmp_3 = err;
|
|
5177
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5178
|
-
tmp_3.
|
|
5177
|
+
var tmp0_elvis_lhs_0 = err.c3x_1;
|
|
5178
|
+
tmp_3.c3x_1 = tmp0_elvis_lhs_0 == null ? $this$null.s43_1.r2() : tmp0_elvis_lhs_0;
|
|
5179
5179
|
throw err;
|
|
5180
5180
|
} else {
|
|
5181
5181
|
if ($p instanceof Exception) {
|
|
5182
5182
|
var err_0 = $p;
|
|
5183
5183
|
var tmp1_elvis_lhs = err_0.message;
|
|
5184
|
-
$this$null.
|
|
5184
|
+
$this$null.u43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5185
5185
|
} else {
|
|
5186
5186
|
throw $p;
|
|
5187
5187
|
}
|
|
@@ -5192,23 +5192,23 @@
|
|
|
5192
5192
|
};
|
|
5193
5193
|
}
|
|
5194
5194
|
function Invocation(name, values) {
|
|
5195
|
-
this.
|
|
5196
|
-
this.
|
|
5195
|
+
this.f46_1 = name;
|
|
5196
|
+
this.g46_1 = values;
|
|
5197
5197
|
}
|
|
5198
|
-
protoOf(Invocation).
|
|
5198
|
+
protoOf(Invocation).j46 = function (name, values) {
|
|
5199
5199
|
return new Invocation(name, values);
|
|
5200
5200
|
};
|
|
5201
|
-
protoOf(Invocation).
|
|
5202
|
-
name = name === VOID ? this.
|
|
5203
|
-
values = values === VOID ? this.
|
|
5204
|
-
return $super === VOID ? this.
|
|
5201
|
+
protoOf(Invocation).h46 = function (name, values, $super) {
|
|
5202
|
+
name = name === VOID ? this.f46_1 : name;
|
|
5203
|
+
values = values === VOID ? this.g46_1 : values;
|
|
5204
|
+
return $super === VOID ? this.j46(name, values) : $super.j46.call(this, name, values);
|
|
5205
5205
|
};
|
|
5206
5206
|
protoOf(Invocation).toString = function () {
|
|
5207
|
-
return 'Invocation(name=' + this.
|
|
5207
|
+
return 'Invocation(name=' + this.f46_1 + ', values=' + toString_0(this.g46_1) + ')';
|
|
5208
5208
|
};
|
|
5209
5209
|
protoOf(Invocation).hashCode = function () {
|
|
5210
|
-
var result = getStringHashCode(this.
|
|
5211
|
-
result = imul(result, 31) + hashCode(this.
|
|
5210
|
+
var result = getStringHashCode(this.f46_1);
|
|
5211
|
+
result = imul(result, 31) + hashCode(this.g46_1) | 0;
|
|
5212
5212
|
return result;
|
|
5213
5213
|
};
|
|
5214
5214
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5217,18 +5217,18 @@
|
|
|
5217
5217
|
if (!(other instanceof Invocation))
|
|
5218
5218
|
return false;
|
|
5219
5219
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5220
|
-
if (!(this.
|
|
5220
|
+
if (!(this.f46_1 === tmp0_other_with_cast.f46_1))
|
|
5221
5221
|
return false;
|
|
5222
|
-
if (!equals(this.
|
|
5222
|
+
if (!equals(this.g46_1, tmp0_other_with_cast.g46_1))
|
|
5223
5223
|
return false;
|
|
5224
5224
|
return true;
|
|
5225
5225
|
};
|
|
5226
5226
|
function parse($this, argv, context, canRun) {
|
|
5227
5227
|
var tokens = argv;
|
|
5228
|
-
var command = context.
|
|
5229
|
-
var aliases = command.
|
|
5228
|
+
var command = context.q3s_1;
|
|
5229
|
+
var aliases = command.p3t();
|
|
5230
5230
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5231
|
-
var this_0 = command.
|
|
5231
|
+
var this_0 = command.f3s_1;
|
|
5232
5232
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
5233
5233
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5234
5234
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5236,7 +5236,7 @@
|
|
|
5236
5236
|
while (tmp0_iterator.h()) {
|
|
5237
5237
|
var element = tmp0_iterator.i();
|
|
5238
5238
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5239
|
-
var tmp$ret$0 = element.
|
|
5239
|
+
var tmp$ret$0 = element.c3s_1;
|
|
5240
5240
|
destination.m2(tmp$ret$0, element);
|
|
5241
5241
|
}
|
|
5242
5242
|
var subcommands = destination;
|
|
@@ -5244,7 +5244,7 @@
|
|
|
5244
5244
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5245
5245
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5246
5246
|
// Inline function 'kotlin.collections.find' call
|
|
5247
|
-
var this_1 = command.
|
|
5247
|
+
var this_1 = command.g3s_1;
|
|
5248
5248
|
var tmp$ret$5;
|
|
5249
5249
|
$l$block: {
|
|
5250
5250
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5252,7 +5252,7 @@
|
|
|
5252
5252
|
while (tmp0_iterator_0.h()) {
|
|
5253
5253
|
var element_0 = tmp0_iterator_0.i();
|
|
5254
5254
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5255
|
-
if (element_0.
|
|
5255
|
+
if (element_0.l3u()) {
|
|
5256
5256
|
tmp$ret$5 = element_0;
|
|
5257
5257
|
break $l$block;
|
|
5258
5258
|
}
|
|
@@ -5260,7 +5260,7 @@
|
|
|
5260
5260
|
tmp$ret$5 = null;
|
|
5261
5261
|
}
|
|
5262
5262
|
var numberOption = tmp$ret$5;
|
|
5263
|
-
var arguments_0 = command.
|
|
5263
|
+
var arguments_0 = command.h3s_1;
|
|
5264
5264
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5265
5265
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5266
5266
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -5268,11 +5268,11 @@
|
|
|
5268
5268
|
var tmp$ret$10;
|
|
5269
5269
|
$l$block_0: {
|
|
5270
5270
|
// Inline function 'kotlin.sequences.any' call
|
|
5271
|
-
var tmp0_iterator_1 = context.
|
|
5271
|
+
var tmp0_iterator_1 = context.z3t().g();
|
|
5272
5272
|
while (tmp0_iterator_1.h()) {
|
|
5273
5273
|
var element_1 = tmp0_iterator_1.i();
|
|
5274
5274
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5275
|
-
if (element_1.
|
|
5275
|
+
if (element_1.q3s_1.z3r_1) {
|
|
5276
5276
|
tmp$ret$10 = true;
|
|
5277
5277
|
break $l$block_0;
|
|
5278
5278
|
}
|
|
@@ -5284,24 +5284,24 @@
|
|
|
5284
5284
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5285
5285
|
var subcommand = null;
|
|
5286
5286
|
var canParseOptions = true;
|
|
5287
|
-
var canExpandAtFiles = context.
|
|
5287
|
+
var canExpandAtFiles = context.t3v();
|
|
5288
5288
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5289
5289
|
var invocations = ArrayList_init_$Create$();
|
|
5290
5290
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5291
5291
|
var errors = ArrayList_init_$Create$();
|
|
5292
5292
|
var i = {_v: 0};
|
|
5293
5293
|
var minAliasI = 0;
|
|
5294
|
-
var tmp0_iterator_2 = command.
|
|
5294
|
+
var tmp0_iterator_2 = command.g3s_1.g();
|
|
5295
5295
|
while (tmp0_iterator_2.h()) {
|
|
5296
5296
|
var option = tmp0_iterator_2.i();
|
|
5297
5297
|
// Inline function 'kotlin.require' call
|
|
5298
5298
|
var tmp;
|
|
5299
5299
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5300
|
-
if (!option.
|
|
5300
|
+
if (!option.n3s().l()) {
|
|
5301
5301
|
tmp = true;
|
|
5302
5302
|
} else {
|
|
5303
5303
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5304
|
-
tmp = !option.
|
|
5304
|
+
tmp = !option.o3s().l();
|
|
5305
5305
|
}
|
|
5306
5306
|
// Inline function 'kotlin.contracts.contract' call
|
|
5307
5307
|
if (!tmp) {
|
|
@@ -5311,12 +5311,12 @@
|
|
|
5311
5311
|
}
|
|
5312
5312
|
// Inline function 'kotlin.require' call
|
|
5313
5313
|
// Inline function 'kotlin.contracts.contract' call
|
|
5314
|
-
if (!(option.
|
|
5314
|
+
if (!(option.q3w() || option.n3t().e1_1 <= 1)) {
|
|
5315
5315
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5316
5316
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5317
5317
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5318
5318
|
}
|
|
5319
|
-
var tmp1_iterator = plus(option.
|
|
5319
|
+
var tmp1_iterator = plus(option.n3s(), option.o3s()).g();
|
|
5320
5320
|
while (tmp1_iterator.h()) {
|
|
5321
5321
|
var name = tmp1_iterator.i();
|
|
5322
5322
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5331,12 +5331,12 @@
|
|
|
5331
5331
|
}
|
|
5332
5332
|
}
|
|
5333
5333
|
prefixes.l2('');
|
|
5334
|
-
if (tokens.l() && command.
|
|
5334
|
+
if (tokens.l() && command.w3r_1) {
|
|
5335
5335
|
throw new PrintHelpMessage(context, true);
|
|
5336
5336
|
}
|
|
5337
5337
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5338
5338
|
var tok = tokens.k(i._v);
|
|
5339
|
-
var normTok = context.
|
|
5339
|
+
var normTok = context.x3s_1(context, tok);
|
|
5340
5340
|
var prefix = splitOptionPrefix(tok).ae_1;
|
|
5341
5341
|
var tmp_0;
|
|
5342
5342
|
if (canExpandAtFiles && startsWith(tok, '@')) {
|
|
@@ -5364,8 +5364,8 @@
|
|
|
5364
5364
|
canParseOptions = false;
|
|
5365
5365
|
canExpandAtFiles = false;
|
|
5366
5366
|
} else {
|
|
5367
|
-
if (canParseOptions && (prefix.length > 1 && prefixes.p1(prefix) || longNames.p1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.
|
|
5368
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.
|
|
5367
|
+
if (canParseOptions && (prefix.length > 1 && prefixes.p1(prefix) || longNames.p1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.s3s_1)) {
|
|
5368
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.a3s_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5369
5369
|
} else {
|
|
5370
5370
|
var tmp_1;
|
|
5371
5371
|
var tmp_2;
|
|
@@ -5381,7 +5381,7 @@
|
|
|
5381
5381
|
tmp_1 = false;
|
|
5382
5382
|
}
|
|
5383
5383
|
if (tmp_1) {
|
|
5384
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.
|
|
5384
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.a3s_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5385
5385
|
} else {
|
|
5386
5386
|
var tmp_3;
|
|
5387
5387
|
if (i._v >= minAliasI) {
|
|
@@ -5403,7 +5403,7 @@
|
|
|
5403
5403
|
i._v = i._v + 1 | 0;
|
|
5404
5404
|
break loop;
|
|
5405
5405
|
} else {
|
|
5406
|
-
if (!context.
|
|
5406
|
+
if (!context.r3s_1)
|
|
5407
5407
|
canParseOptions = false;
|
|
5408
5408
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5409
5409
|
var element_4 = to(i._v, tokens.k(i._v));
|
|
@@ -5423,7 +5423,7 @@
|
|
|
5423
5423
|
while (tmp0_iterator_3.h()) {
|
|
5424
5424
|
var element_5 = tmp0_iterator_3.i();
|
|
5425
5425
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5426
|
-
var key = element_5.
|
|
5426
|
+
var key = element_5.k46_1;
|
|
5427
5427
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5428
5428
|
var value = destination_0.f2(key);
|
|
5429
5429
|
var tmp_4;
|
|
@@ -5437,7 +5437,7 @@
|
|
|
5437
5437
|
}
|
|
5438
5438
|
var list = tmp_4;
|
|
5439
5439
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5440
|
-
var tmp$ret$28 = element_5.
|
|
5440
|
+
var tmp$ret$28 = element_5.n46();
|
|
5441
5441
|
list.e(tmp$ret$28);
|
|
5442
5442
|
}
|
|
5443
5443
|
var invocationsByOption = destination_0;
|
|
@@ -5448,9 +5448,9 @@
|
|
|
5448
5448
|
while (tmp0_iterator_4.h()) {
|
|
5449
5449
|
var element_6 = tmp0_iterator_4.i();
|
|
5450
5450
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5451
|
-
var tmp_5 = element_6.
|
|
5451
|
+
var tmp_5 = element_6.k46_1;
|
|
5452
5452
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5453
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5453
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r3w();
|
|
5454
5454
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5455
5455
|
var value_0 = destination_1.f2(key_0);
|
|
5456
5456
|
var tmp_6;
|
|
@@ -5486,7 +5486,7 @@
|
|
|
5486
5486
|
while (tmp0_iterator_6.h()) {
|
|
5487
5487
|
var element_8 = tmp0_iterator_6.i();
|
|
5488
5488
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5489
|
-
var key_1 = element_8.
|
|
5489
|
+
var key_1 = element_8.k46_1;
|
|
5490
5490
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5491
5491
|
var value_1 = destination_3.f2(key_1);
|
|
5492
5492
|
var tmp_8;
|
|
@@ -5500,7 +5500,7 @@
|
|
|
5500
5500
|
}
|
|
5501
5501
|
var list_1 = tmp_8;
|
|
5502
5502
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5503
|
-
var tmp$ret$41 = element_8.
|
|
5503
|
+
var tmp$ret$41 = element_8.n46();
|
|
5504
5504
|
list_1.e(tmp$ret$41);
|
|
5505
5505
|
}
|
|
5506
5506
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5509,7 +5509,7 @@
|
|
|
5509
5509
|
while (tmp0_iterator_7.h()) {
|
|
5510
5510
|
var entry = tmp0_iterator_7.i();
|
|
5511
5511
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5512
|
-
if (!entry.a1().
|
|
5512
|
+
if (!entry.a1().p3w()) {
|
|
5513
5513
|
result.m2(entry.a1(), entry.b1());
|
|
5514
5514
|
}
|
|
5515
5515
|
}
|
|
@@ -5518,16 +5518,16 @@
|
|
|
5518
5518
|
var invocationsByOptionByGroup = destination_2;
|
|
5519
5519
|
// Inline function 'kotlin.collections.filter' call
|
|
5520
5520
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5521
|
-
var this_2 = command.
|
|
5521
|
+
var this_2 = command.g3s_1;
|
|
5522
5522
|
var destination_4 = ArrayList_init_$Create$();
|
|
5523
5523
|
var tmp0_iterator_8 = this_2.g();
|
|
5524
5524
|
while (tmp0_iterator_8.h()) {
|
|
5525
5525
|
var element_9 = tmp0_iterator_8.i();
|
|
5526
5526
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5527
5527
|
var tmp_9;
|
|
5528
|
-
if (!element_9.
|
|
5528
|
+
if (!element_9.p3w()) {
|
|
5529
5529
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5530
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5530
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.r3w()) == null;
|
|
5531
5531
|
} else {
|
|
5532
5532
|
tmp_9 = false;
|
|
5533
5533
|
}
|
|
@@ -5555,16 +5555,16 @@
|
|
|
5555
5555
|
} catch ($p) {
|
|
5556
5556
|
if ($p instanceof UsageError) {
|
|
5557
5557
|
var e = $p;
|
|
5558
|
-
e.
|
|
5558
|
+
e.e3x(context);
|
|
5559
5559
|
throw e;
|
|
5560
5560
|
} else {
|
|
5561
5561
|
throw $p;
|
|
5562
5562
|
}
|
|
5563
5563
|
}
|
|
5564
5564
|
if (!(subcommand == null)) {
|
|
5565
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5565
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.m3s(), true);
|
|
5566
5566
|
var tmp_11;
|
|
5567
|
-
if (command.
|
|
5567
|
+
if (command.z3r_1) {
|
|
5568
5568
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5569
5569
|
tmp_11 = !nextTokens.l();
|
|
5570
5570
|
} else {
|
|
@@ -5576,7 +5576,7 @@
|
|
|
5576
5576
|
return nextTokens;
|
|
5577
5577
|
}
|
|
5578
5578
|
}finally {
|
|
5579
|
-
context.
|
|
5579
|
+
context.s3v();
|
|
5580
5580
|
}
|
|
5581
5581
|
return drop_0(tokens, i._v);
|
|
5582
5582
|
}
|
|
@@ -5592,13 +5592,13 @@
|
|
|
5592
5592
|
var o = element.a1();
|
|
5593
5593
|
// Inline function 'kotlin.collections.component2' call
|
|
5594
5594
|
var inv = element.b1();
|
|
5595
|
-
if (o.
|
|
5596
|
-
o.
|
|
5597
|
-
o.
|
|
5595
|
+
if (o.p3w()) {
|
|
5596
|
+
o.w3z(context, inv);
|
|
5597
|
+
o.l43(context);
|
|
5598
5598
|
}
|
|
5599
5599
|
}
|
|
5600
5600
|
var argsParseResult = parseArguments($this, nextArgvI, positionalArgs, arguments_0);
|
|
5601
|
-
var tmp0_safe_receiver = argsParseResult.
|
|
5601
|
+
var tmp0_safe_receiver = argsParseResult.q46_1;
|
|
5602
5602
|
if (tmp0_safe_receiver == null)
|
|
5603
5603
|
null;
|
|
5604
5604
|
else {
|
|
@@ -5606,9 +5606,9 @@
|
|
|
5606
5606
|
// Inline function 'kotlin.contracts.contract' call
|
|
5607
5607
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5608
5608
|
errors.e(tmp0_safe_receiver);
|
|
5609
|
-
context.
|
|
5609
|
+
context.i3t_1 = true;
|
|
5610
5610
|
}
|
|
5611
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5611
|
+
var excessResult = handleExcessArguments($this, argsParseResult.o46_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5612
5612
|
var tmp1_safe_receiver = excessResult.be_1;
|
|
5613
5613
|
if (tmp1_safe_receiver == null)
|
|
5614
5614
|
null;
|
|
@@ -5617,7 +5617,7 @@
|
|
|
5617
5617
|
// Inline function 'kotlin.contracts.contract' call
|
|
5618
5618
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5619
5619
|
errors.e(tmp1_safe_receiver);
|
|
5620
|
-
context.
|
|
5620
|
+
context.i3t_1 = true;
|
|
5621
5621
|
}
|
|
5622
5622
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5623
5623
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
@@ -5629,7 +5629,7 @@
|
|
|
5629
5629
|
while (tmp0_iterator_0.h()) {
|
|
5630
5630
|
var element_0 = tmp0_iterator_0.i();
|
|
5631
5631
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5632
|
-
if (element_0.
|
|
5632
|
+
if (element_0.t46_1) {
|
|
5633
5633
|
destination.e(element_0);
|
|
5634
5634
|
}
|
|
5635
5635
|
}
|
|
@@ -5652,7 +5652,7 @@
|
|
|
5652
5652
|
while (tmp0_iterator_1.h()) {
|
|
5653
5653
|
var item = tmp0_iterator_1.i();
|
|
5654
5654
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5655
|
-
var tmp$ret$13 = item.
|
|
5655
|
+
var tmp$ret$13 = item.r46_1;
|
|
5656
5656
|
destination_0.e(tmp$ret$13);
|
|
5657
5657
|
}
|
|
5658
5658
|
var usageErrors = destination_0;
|
|
@@ -5660,18 +5660,18 @@
|
|
|
5660
5660
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5661
5661
|
try {
|
|
5662
5662
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5663
|
-
finalizeParameters(context, ungroupedOptions, command.
|
|
5663
|
+
finalizeParameters(context, ungroupedOptions, command.i3s_1, invocationsByOptionByGroup, argsParseResult.p46_1);
|
|
5664
5664
|
} catch ($p) {
|
|
5665
5665
|
if ($p instanceof UsageError) {
|
|
5666
5666
|
var e = $p;
|
|
5667
5667
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5668
5668
|
usageErrors.e(e);
|
|
5669
|
-
context.
|
|
5669
|
+
context.i3t_1 = true;
|
|
5670
5670
|
} else {
|
|
5671
5671
|
throw $p;
|
|
5672
5672
|
}
|
|
5673
5673
|
}
|
|
5674
|
-
var tmp2_safe_receiver = Companion_instance_1.
|
|
5674
|
+
var tmp2_safe_receiver = Companion_instance_1.j3x(usageErrors);
|
|
5675
5675
|
if (tmp2_safe_receiver == null)
|
|
5676
5676
|
null;
|
|
5677
5677
|
else {
|
|
@@ -5687,59 +5687,59 @@
|
|
|
5687
5687
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5688
5688
|
try {
|
|
5689
5689
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5690
|
-
element_1.
|
|
5690
|
+
element_1.l43(context);
|
|
5691
5691
|
} catch ($p) {
|
|
5692
5692
|
if ($p instanceof UsageError) {
|
|
5693
5693
|
var e_0 = $p;
|
|
5694
5694
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5695
5695
|
usageErrors.e(e_0);
|
|
5696
|
-
context.
|
|
5696
|
+
context.i3t_1 = true;
|
|
5697
5697
|
} else {
|
|
5698
5698
|
throw $p;
|
|
5699
5699
|
}
|
|
5700
5700
|
}
|
|
5701
5701
|
}
|
|
5702
5702
|
// Inline function 'kotlin.collections.forEach' call
|
|
5703
|
-
var tmp0_iterator_3 = command.
|
|
5703
|
+
var tmp0_iterator_3 = command.i3s_1.g();
|
|
5704
5704
|
while (tmp0_iterator_3.h()) {
|
|
5705
5705
|
var element_2 = tmp0_iterator_3.i();
|
|
5706
5706
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5707
5707
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5708
5708
|
try {
|
|
5709
5709
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5710
|
-
element_2.
|
|
5710
|
+
element_2.l43(context);
|
|
5711
5711
|
} catch ($p) {
|
|
5712
5712
|
if ($p instanceof UsageError) {
|
|
5713
5713
|
var e_1 = $p;
|
|
5714
5714
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5715
5715
|
usageErrors.e(e_1);
|
|
5716
|
-
context.
|
|
5716
|
+
context.i3t_1 = true;
|
|
5717
5717
|
} else {
|
|
5718
5718
|
throw $p;
|
|
5719
5719
|
}
|
|
5720
5720
|
}
|
|
5721
5721
|
}
|
|
5722
5722
|
// Inline function 'kotlin.collections.forEach' call
|
|
5723
|
-
var tmp0_iterator_4 = command.
|
|
5723
|
+
var tmp0_iterator_4 = command.h3s_1.g();
|
|
5724
5724
|
while (tmp0_iterator_4.h()) {
|
|
5725
5725
|
var element_3 = tmp0_iterator_4.i();
|
|
5726
5726
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5727
5727
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5728
5728
|
try {
|
|
5729
5729
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5730
|
-
element_3.
|
|
5730
|
+
element_3.l43(context);
|
|
5731
5731
|
} catch ($p) {
|
|
5732
5732
|
if ($p instanceof UsageError) {
|
|
5733
5733
|
var e_2 = $p;
|
|
5734
5734
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5735
5735
|
usageErrors.e(e_2);
|
|
5736
|
-
context.
|
|
5736
|
+
context.i3t_1 = true;
|
|
5737
5737
|
} else {
|
|
5738
5738
|
throw $p;
|
|
5739
5739
|
}
|
|
5740
5740
|
}
|
|
5741
5741
|
}
|
|
5742
|
-
var tmp3_safe_receiver = Companion_instance_1.
|
|
5742
|
+
var tmp3_safe_receiver = Companion_instance_1.j3x(usageErrors);
|
|
5743
5743
|
if (tmp3_safe_receiver == null)
|
|
5744
5744
|
null;
|
|
5745
5745
|
else {
|
|
@@ -5756,22 +5756,22 @@
|
|
|
5756
5756
|
tmp_2 = false;
|
|
5757
5757
|
}
|
|
5758
5758
|
if (tmp_2) {
|
|
5759
|
-
tmp_1 = !command.
|
|
5759
|
+
tmp_1 = !command.v3r_1;
|
|
5760
5760
|
} else {
|
|
5761
5761
|
tmp_1 = false;
|
|
5762
5762
|
}
|
|
5763
5763
|
if (tmp_1) {
|
|
5764
5764
|
throw new PrintHelpMessage(context, true);
|
|
5765
5765
|
}
|
|
5766
|
-
command.
|
|
5767
|
-
if (command.
|
|
5768
|
-
var tmp4_iterator = command.
|
|
5766
|
+
command.m3s().h3t_1 = subcommand;
|
|
5767
|
+
if (command.m3s().u3s_1) {
|
|
5768
|
+
var tmp4_iterator = command.j3u().g();
|
|
5769
5769
|
while (tmp4_iterator.h()) {
|
|
5770
5770
|
var warning = tmp4_iterator.i();
|
|
5771
|
-
get_terminal(command).
|
|
5771
|
+
get_terminal(command).a3p(warning, VOID, VOID, VOID, VOID, true);
|
|
5772
5772
|
}
|
|
5773
5773
|
}
|
|
5774
|
-
command.
|
|
5774
|
+
command.a3v();
|
|
5775
5775
|
return nextArgvI;
|
|
5776
5776
|
}
|
|
5777
5777
|
function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens, subcommands, positionalArgs, context) {
|
|
@@ -5789,7 +5789,7 @@
|
|
|
5789
5789
|
}
|
|
5790
5790
|
if (tmp_0) {
|
|
5791
5791
|
var actual = last(positionalArgs).be_1;
|
|
5792
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5792
|
+
throw new NoSuchSubcommand(actual, context.c3t_1(actual, toList_0(subcommands.g2())));
|
|
5793
5793
|
} else {
|
|
5794
5794
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5795
5795
|
}
|
|
@@ -5816,7 +5816,7 @@
|
|
|
5816
5816
|
var tmp0_container = tmp;
|
|
5817
5817
|
var name = tmp0_container.od();
|
|
5818
5818
|
var attachedValue = tmp0_container.pd();
|
|
5819
|
-
name = context.
|
|
5819
|
+
name = context.x3s_1(context, name);
|
|
5820
5820
|
var tmp1_elvis_lhs = optionsByName.f2(name);
|
|
5821
5821
|
var tmp_1;
|
|
5822
5822
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5833,11 +5833,11 @@
|
|
|
5833
5833
|
while (tmp0_iterator.h()) {
|
|
5834
5834
|
var element = tmp0_iterator.i();
|
|
5835
5835
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5836
|
-
if (!element.b1().
|
|
5836
|
+
if (!element.b1().l3t()) {
|
|
5837
5837
|
destination.m2(element.a1(), element.b1());
|
|
5838
5838
|
}
|
|
5839
5839
|
}
|
|
5840
|
-
var possibilities = context.
|
|
5840
|
+
var possibilities = context.c3t_1(tmp_3, toList_0(destination.g2()));
|
|
5841
5841
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5842
5842
|
}
|
|
5843
5843
|
} else {
|
|
@@ -5852,7 +5852,7 @@
|
|
|
5852
5852
|
if (!(attachedValue == null)) {
|
|
5853
5853
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5854
5854
|
values.e(attachedValue);
|
|
5855
|
-
} else if (!option.
|
|
5855
|
+
} else if (!option.q3w()) {
|
|
5856
5856
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5857
5857
|
}
|
|
5858
5858
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5862,10 +5862,10 @@
|
|
|
5862
5862
|
var i = inductionVariable;
|
|
5863
5863
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5864
5864
|
var tok = tokens.k(i);
|
|
5865
|
-
if (values.j() >= option.
|
|
5865
|
+
if (values.j() >= option.n3t().e1_1)
|
|
5866
5866
|
break $l$loop_0;
|
|
5867
5867
|
var tmp;
|
|
5868
|
-
if (values.j() >= option.
|
|
5868
|
+
if (values.j() >= option.n3t().d1_1) {
|
|
5869
5869
|
var tmp_0;
|
|
5870
5870
|
var tmp_1;
|
|
5871
5871
|
var tmp_2;
|
|
@@ -5906,7 +5906,7 @@
|
|
|
5906
5906
|
}
|
|
5907
5907
|
while (!(i === last));
|
|
5908
5908
|
var consumed = values.j() + (attachedValue == null ? 1 : 0) | 0;
|
|
5909
|
-
var progression = option.
|
|
5909
|
+
var progression = option.n3t();
|
|
5910
5910
|
var containsLower = progression.d1_1;
|
|
5911
5911
|
var containsUpper = progression.e1_1;
|
|
5912
5912
|
var containsArg = values.j();
|
|
@@ -5952,7 +5952,7 @@
|
|
|
5952
5952
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5953
5953
|
if (i === 0)
|
|
5954
5954
|
continue $l$loop;
|
|
5955
|
-
var name = context.
|
|
5955
|
+
var name = context.x3s_1(context, prefix + toString(opt));
|
|
5956
5956
|
var tmp2_elvis_lhs = optionsByName.f2(name);
|
|
5957
5957
|
var tmp_0;
|
|
5958
5958
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -5982,10 +5982,10 @@
|
|
|
5982
5982
|
tmp_0 = tmp2_elvis_lhs;
|
|
5983
5983
|
}
|
|
5984
5984
|
var option = tmp_0;
|
|
5985
|
-
if (option.
|
|
5985
|
+
if (option.n3t().e1_1 > 0) {
|
|
5986
5986
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
5987
5987
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
5988
|
-
return result.
|
|
5988
|
+
return result.y46(VOID, VOID, plus_0(invocations, result.w46_1));
|
|
5989
5989
|
} else {
|
|
5990
5990
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5991
5991
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6006,7 +6006,7 @@
|
|
|
6006
6006
|
$l$loop: while (tmp0_iterator.h()) {
|
|
6007
6007
|
var item = tmp0_iterator.i();
|
|
6008
6008
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6009
|
-
if (!(item.
|
|
6009
|
+
if (!(item.n3t() > 0))
|
|
6010
6010
|
break $l$loop;
|
|
6011
6011
|
list.e(item);
|
|
6012
6012
|
}
|
|
@@ -6016,7 +6016,7 @@
|
|
|
6016
6016
|
var element = tmp0_iterator_0.i();
|
|
6017
6017
|
var tmp_0 = sum;
|
|
6018
6018
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6019
|
-
sum = tmp_0 + element.
|
|
6019
|
+
sum = tmp_0 + element.n3t() | 0;
|
|
6020
6020
|
}
|
|
6021
6021
|
var endSize = sum;
|
|
6022
6022
|
var i = 0;
|
|
@@ -6025,15 +6025,15 @@
|
|
|
6025
6025
|
var argument = tmp0_iterator_1.i();
|
|
6026
6026
|
var remaining = positionalArgs.j() - i | 0;
|
|
6027
6027
|
var tmp_1;
|
|
6028
|
-
if (argument.
|
|
6028
|
+
if (argument.n3t() <= 0) {
|
|
6029
6029
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6030
|
-
var a = argument.
|
|
6030
|
+
var a = argument.k43() ? 1 : 0;
|
|
6031
6031
|
var b = remaining - endSize | 0;
|
|
6032
6032
|
tmp_1 = Math.max(a, b);
|
|
6033
|
-
} else if (argument.
|
|
6033
|
+
} else if (argument.n3t() > 0 && !argument.k43() && remaining === 0) {
|
|
6034
6034
|
tmp_1 = 0;
|
|
6035
6035
|
} else {
|
|
6036
|
-
tmp_1 = argument.
|
|
6036
|
+
tmp_1 = argument.n3t();
|
|
6037
6037
|
}
|
|
6038
6038
|
var consumed = tmp_1;
|
|
6039
6039
|
if (consumed > remaining) {
|
|
@@ -6064,24 +6064,24 @@
|
|
|
6064
6064
|
return new ArgsParseResult(excess, toList_1(out), null);
|
|
6065
6065
|
}
|
|
6066
6066
|
function loadArgFile($this, filename, context) {
|
|
6067
|
-
return shlex(filename, ensureNotNull(context.
|
|
6067
|
+
return shlex(filename, ensureNotNull(context.z3s_1)(filename), context);
|
|
6068
6068
|
}
|
|
6069
6069
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6070
6070
|
var tmp = takeLast(positionalArgs, excess);
|
|
6071
6071
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6072
|
-
var message = excess === 1 ? context.
|
|
6072
|
+
var message = excess === 1 ? context.d3t_1.w40(actual) : context.d3t_1.x40(actual, excess);
|
|
6073
6073
|
// Inline function 'kotlin.also' call
|
|
6074
6074
|
var this_0 = new UsageError(message);
|
|
6075
6075
|
// Inline function 'kotlin.contracts.contract' call
|
|
6076
6076
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.excessArgsError.<anonymous>' call
|
|
6077
|
-
this_0.
|
|
6077
|
+
this_0.e3x(context);
|
|
6078
6078
|
return this_0;
|
|
6079
6079
|
}
|
|
6080
6080
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6081
|
-
this.
|
|
6081
|
+
this.z46_1 = function_0;
|
|
6082
6082
|
}
|
|
6083
6083
|
protoOf(sam$kotlin_Comparator$0_2).qc = function (a, b) {
|
|
6084
|
-
return this.
|
|
6084
|
+
return this.z46_1(a, b);
|
|
6085
6085
|
};
|
|
6086
6086
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6087
6087
|
return this.qc(a, b);
|
|
@@ -6094,17 +6094,17 @@
|
|
|
6094
6094
|
return false;
|
|
6095
6095
|
if (prefix.length > 1)
|
|
6096
6096
|
return true;
|
|
6097
|
-
if (longNames.p1($context.
|
|
6097
|
+
if (longNames.p1($context.x3s_1($context, substringBefore(token, '='))))
|
|
6098
6098
|
return true;
|
|
6099
6099
|
// Inline function 'kotlin.collections.contains' call
|
|
6100
6100
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6101
|
-
var key = $context.
|
|
6101
|
+
var key = $context.x3s_1($context, take(token, 2));
|
|
6102
6102
|
return !(isInterface(optionsByName, KtMap) ? optionsByName : THROW_CCE()).e2(key);
|
|
6103
6103
|
}
|
|
6104
6104
|
function parse$consumeParse(positionalArgs, invocations, errors, $context, i, tokenIndex, result) {
|
|
6105
6105
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6106
6106
|
// Inline function 'kotlin.collections.map' call
|
|
6107
|
-
var this_0 = result.
|
|
6107
|
+
var this_0 = result.v46_1;
|
|
6108
6108
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6109
6109
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6110
6110
|
var tmp0_iterator = this_0.g();
|
|
@@ -6116,9 +6116,9 @@
|
|
|
6116
6116
|
}
|
|
6117
6117
|
addAll(positionalArgs, destination);
|
|
6118
6118
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6119
|
-
var elements = result.
|
|
6119
|
+
var elements = result.w46_1;
|
|
6120
6120
|
addAll(invocations, elements);
|
|
6121
|
-
var tmp0_safe_receiver = result.
|
|
6121
|
+
var tmp0_safe_receiver = result.x46_1;
|
|
6122
6122
|
if (tmp0_safe_receiver == null)
|
|
6123
6123
|
null;
|
|
6124
6124
|
else {
|
|
@@ -6126,16 +6126,16 @@
|
|
|
6126
6126
|
// Inline function 'kotlin.contracts.contract' call
|
|
6127
6127
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6128
6128
|
errors.e(tmp0_safe_receiver);
|
|
6129
|
-
$context.
|
|
6129
|
+
$context.i3t_1 = true;
|
|
6130
6130
|
}
|
|
6131
|
-
i._v = i._v + result.
|
|
6131
|
+
i._v = i._v + result.u46_1 | 0;
|
|
6132
6132
|
}
|
|
6133
6133
|
function Parser$finalizeAndRun$lambda(a, b) {
|
|
6134
6134
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6135
6135
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6136
|
-
var tmp = a.
|
|
6136
|
+
var tmp = a.s46_1;
|
|
6137
6137
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6138
|
-
var tmp$ret$1 = b.
|
|
6138
|
+
var tmp$ret$1 = b.s46_1;
|
|
6139
6139
|
return compareValues(tmp, tmp$ret$1);
|
|
6140
6140
|
}
|
|
6141
6141
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6147,7 +6147,7 @@
|
|
|
6147
6147
|
}
|
|
6148
6148
|
function Parser() {
|
|
6149
6149
|
}
|
|
6150
|
-
protoOf(Parser).
|
|
6150
|
+
protoOf(Parser).w3u = function (argv, context) {
|
|
6151
6151
|
parse(this, argv, context, true);
|
|
6152
6152
|
};
|
|
6153
6153
|
var Parser_instance;
|
|
@@ -6155,20 +6155,20 @@
|
|
|
6155
6155
|
return Parser_instance;
|
|
6156
6156
|
}
|
|
6157
6157
|
function OptInvocation(opt, name, values) {
|
|
6158
|
-
this.
|
|
6159
|
-
this.
|
|
6160
|
-
this.
|
|
6158
|
+
this.k46_1 = opt;
|
|
6159
|
+
this.l46_1 = name;
|
|
6160
|
+
this.m46_1 = values;
|
|
6161
6161
|
}
|
|
6162
|
-
protoOf(OptInvocation).
|
|
6163
|
-
return new Invocation(this.
|
|
6162
|
+
protoOf(OptInvocation).n46 = function () {
|
|
6163
|
+
return new Invocation(this.l46_1, this.m46_1);
|
|
6164
6164
|
};
|
|
6165
6165
|
protoOf(OptInvocation).toString = function () {
|
|
6166
|
-
return 'OptInvocation(opt=' + toString_0(this.
|
|
6166
|
+
return 'OptInvocation(opt=' + toString_0(this.k46_1) + ', name=' + this.l46_1 + ', values=' + toString_0(this.m46_1) + ')';
|
|
6167
6167
|
};
|
|
6168
6168
|
protoOf(OptInvocation).hashCode = function () {
|
|
6169
|
-
var result = hashCode(this.
|
|
6170
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6171
|
-
result = imul(result, 31) + hashCode(this.
|
|
6169
|
+
var result = hashCode(this.k46_1);
|
|
6170
|
+
result = imul(result, 31) + getStringHashCode(this.l46_1) | 0;
|
|
6171
|
+
result = imul(result, 31) + hashCode(this.m46_1) | 0;
|
|
6172
6172
|
return result;
|
|
6173
6173
|
};
|
|
6174
6174
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6177,27 +6177,27 @@
|
|
|
6177
6177
|
if (!(other instanceof OptInvocation))
|
|
6178
6178
|
return false;
|
|
6179
6179
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6180
|
-
if (!equals(this.
|
|
6180
|
+
if (!equals(this.k46_1, tmp0_other_with_cast.k46_1))
|
|
6181
6181
|
return false;
|
|
6182
|
-
if (!(this.
|
|
6182
|
+
if (!(this.l46_1 === tmp0_other_with_cast.l46_1))
|
|
6183
6183
|
return false;
|
|
6184
|
-
if (!equals(this.
|
|
6184
|
+
if (!equals(this.m46_1, tmp0_other_with_cast.m46_1))
|
|
6185
6185
|
return false;
|
|
6186
6186
|
return true;
|
|
6187
6187
|
};
|
|
6188
6188
|
function Err(e, i, includeInMulti) {
|
|
6189
6189
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6190
|
-
this.
|
|
6191
|
-
this.
|
|
6192
|
-
this.
|
|
6190
|
+
this.r46_1 = e;
|
|
6191
|
+
this.s46_1 = i;
|
|
6192
|
+
this.t46_1 = includeInMulti;
|
|
6193
6193
|
}
|
|
6194
6194
|
protoOf(Err).toString = function () {
|
|
6195
|
-
return 'Err(e=' + this.
|
|
6195
|
+
return 'Err(e=' + this.r46_1.toString() + ', i=' + this.s46_1 + ', includeInMulti=' + this.t46_1 + ')';
|
|
6196
6196
|
};
|
|
6197
6197
|
protoOf(Err).hashCode = function () {
|
|
6198
|
-
var result = hashCode(this.
|
|
6199
|
-
result = imul(result, 31) + this.
|
|
6200
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6198
|
+
var result = hashCode(this.r46_1);
|
|
6199
|
+
result = imul(result, 31) + this.s46_1 | 0;
|
|
6200
|
+
result = imul(result, 31) + getBooleanHashCode(this.t46_1) | 0;
|
|
6201
6201
|
return result;
|
|
6202
6202
|
};
|
|
6203
6203
|
protoOf(Err).equals = function (other) {
|
|
@@ -6206,11 +6206,11 @@
|
|
|
6206
6206
|
if (!(other instanceof Err))
|
|
6207
6207
|
return false;
|
|
6208
6208
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6209
|
-
if (!equals(this.
|
|
6209
|
+
if (!equals(this.r46_1, tmp0_other_with_cast.r46_1))
|
|
6210
6210
|
return false;
|
|
6211
|
-
if (!(this.
|
|
6211
|
+
if (!(this.s46_1 === tmp0_other_with_cast.s46_1))
|
|
6212
6212
|
return false;
|
|
6213
|
-
if (!(this.
|
|
6213
|
+
if (!(this.t46_1 === tmp0_other_with_cast.t46_1))
|
|
6214
6214
|
return false;
|
|
6215
6215
|
return true;
|
|
6216
6216
|
};
|
|
@@ -6232,29 +6232,29 @@
|
|
|
6232
6232
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6233
6233
|
known = known === VOID ? emptyList() : known;
|
|
6234
6234
|
err = err === VOID ? null : err;
|
|
6235
|
-
this.
|
|
6236
|
-
this.
|
|
6237
|
-
this.
|
|
6238
|
-
this.
|
|
6235
|
+
this.u46_1 = consumed;
|
|
6236
|
+
this.v46_1 = unknown;
|
|
6237
|
+
this.w46_1 = known;
|
|
6238
|
+
this.x46_1 = err;
|
|
6239
6239
|
}
|
|
6240
|
-
protoOf(OptParseResult).
|
|
6240
|
+
protoOf(OptParseResult).a47 = function (consumed, unknown, known, err) {
|
|
6241
6241
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6242
6242
|
};
|
|
6243
|
-
protoOf(OptParseResult).
|
|
6244
|
-
consumed = consumed === VOID ? this.
|
|
6245
|
-
unknown = unknown === VOID ? this.
|
|
6246
|
-
known = known === VOID ? this.
|
|
6247
|
-
err = err === VOID ? this.
|
|
6248
|
-
return $super === VOID ? this.
|
|
6243
|
+
protoOf(OptParseResult).y46 = function (consumed, unknown, known, err, $super) {
|
|
6244
|
+
consumed = consumed === VOID ? this.u46_1 : consumed;
|
|
6245
|
+
unknown = unknown === VOID ? this.v46_1 : unknown;
|
|
6246
|
+
known = known === VOID ? this.w46_1 : known;
|
|
6247
|
+
err = err === VOID ? this.x46_1 : err;
|
|
6248
|
+
return $super === VOID ? this.a47(consumed, unknown, known, err) : $super.a47.call(this, consumed, unknown, known, err);
|
|
6249
6249
|
};
|
|
6250
6250
|
protoOf(OptParseResult).toString = function () {
|
|
6251
|
-
return 'OptParseResult(consumed=' + this.
|
|
6251
|
+
return 'OptParseResult(consumed=' + this.u46_1 + ', unknown=' + toString_0(this.v46_1) + ', known=' + toString_0(this.w46_1) + ', err=' + toString_1(this.x46_1) + ')';
|
|
6252
6252
|
};
|
|
6253
6253
|
protoOf(OptParseResult).hashCode = function () {
|
|
6254
|
-
var result = this.
|
|
6255
|
-
result = imul(result, 31) + hashCode(this.
|
|
6256
|
-
result = imul(result, 31) + hashCode(this.
|
|
6257
|
-
result = imul(result, 31) + (this.
|
|
6254
|
+
var result = this.u46_1;
|
|
6255
|
+
result = imul(result, 31) + hashCode(this.v46_1) | 0;
|
|
6256
|
+
result = imul(result, 31) + hashCode(this.w46_1) | 0;
|
|
6257
|
+
result = imul(result, 31) + (this.x46_1 == null ? 0 : this.x46_1.hashCode()) | 0;
|
|
6258
6258
|
return result;
|
|
6259
6259
|
};
|
|
6260
6260
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6263,28 +6263,28 @@
|
|
|
6263
6263
|
if (!(other instanceof OptParseResult))
|
|
6264
6264
|
return false;
|
|
6265
6265
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6266
|
-
if (!(this.
|
|
6266
|
+
if (!(this.u46_1 === tmp0_other_with_cast.u46_1))
|
|
6267
6267
|
return false;
|
|
6268
|
-
if (!equals(this.
|
|
6268
|
+
if (!equals(this.v46_1, tmp0_other_with_cast.v46_1))
|
|
6269
6269
|
return false;
|
|
6270
|
-
if (!equals(this.
|
|
6270
|
+
if (!equals(this.w46_1, tmp0_other_with_cast.w46_1))
|
|
6271
6271
|
return false;
|
|
6272
|
-
if (!equals(this.
|
|
6272
|
+
if (!equals(this.x46_1, tmp0_other_with_cast.x46_1))
|
|
6273
6273
|
return false;
|
|
6274
6274
|
return true;
|
|
6275
6275
|
};
|
|
6276
6276
|
function ArgsParseResult(excessCount, args, err) {
|
|
6277
|
-
this.
|
|
6278
|
-
this.
|
|
6279
|
-
this.
|
|
6277
|
+
this.o46_1 = excessCount;
|
|
6278
|
+
this.p46_1 = args;
|
|
6279
|
+
this.q46_1 = err;
|
|
6280
6280
|
}
|
|
6281
6281
|
protoOf(ArgsParseResult).toString = function () {
|
|
6282
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6282
|
+
return 'ArgsParseResult(excessCount=' + this.o46_1 + ', args=' + toString_0(this.p46_1) + ', err=' + toString_1(this.q46_1) + ')';
|
|
6283
6283
|
};
|
|
6284
6284
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6285
|
-
var result = this.
|
|
6286
|
-
result = imul(result, 31) + hashCode(this.
|
|
6287
|
-
result = imul(result, 31) + (this.
|
|
6285
|
+
var result = this.o46_1;
|
|
6286
|
+
result = imul(result, 31) + hashCode(this.p46_1) | 0;
|
|
6287
|
+
result = imul(result, 31) + (this.q46_1 == null ? 0 : this.q46_1.hashCode()) | 0;
|
|
6288
6288
|
return result;
|
|
6289
6289
|
};
|
|
6290
6290
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6293,16 +6293,16 @@
|
|
|
6293
6293
|
if (!(other instanceof ArgsParseResult))
|
|
6294
6294
|
return false;
|
|
6295
6295
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6296
|
-
if (!(this.
|
|
6296
|
+
if (!(this.o46_1 === tmp0_other_with_cast.o46_1))
|
|
6297
6297
|
return false;
|
|
6298
|
-
if (!equals(this.
|
|
6298
|
+
if (!equals(this.p46_1, tmp0_other_with_cast.p46_1))
|
|
6299
6299
|
return false;
|
|
6300
|
-
if (!equals(this.
|
|
6300
|
+
if (!equals(this.q46_1, tmp0_other_with_cast.q46_1))
|
|
6301
6301
|
return false;
|
|
6302
6302
|
return true;
|
|
6303
6303
|
};
|
|
6304
6304
|
function shlex(filename, text, context) {
|
|
6305
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6305
|
+
var tmp1_elvis_lhs = context == null ? null : context.d3t_1;
|
|
6306
6306
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6307
6307
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6308
6308
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6324,7 +6324,7 @@
|
|
|
6324
6324
|
} else {
|
|
6325
6325
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6326
6326
|
if (i._v >= get_lastIndex(text)) {
|
|
6327
|
-
shlex$err(filename, text, i, localization.
|
|
6327
|
+
shlex$err(filename, text, i, localization.v40());
|
|
6328
6328
|
}
|
|
6329
6329
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6330
6330
|
do {
|
|
@@ -6396,7 +6396,7 @@
|
|
|
6396
6396
|
}
|
|
6397
6397
|
var tmp_8 = inQuote;
|
|
6398
6398
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6399
|
-
shlex$err(filename, text, i, localization.
|
|
6399
|
+
shlex$err(filename, text, i, localization.u40());
|
|
6400
6400
|
}
|
|
6401
6401
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6402
6402
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6477,23 +6477,23 @@
|
|
|
6477
6477
|
var impls;
|
|
6478
6478
|
function readFileIfExists(filename) {
|
|
6479
6479
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6480
|
-
return get_impls().
|
|
6480
|
+
return get_impls().b47(filename);
|
|
6481
6481
|
}
|
|
6482
6482
|
function NodeMppImpls(fs) {
|
|
6483
|
-
this.
|
|
6483
|
+
this.c47_1 = fs;
|
|
6484
6484
|
}
|
|
6485
|
-
protoOf(NodeMppImpls).
|
|
6485
|
+
protoOf(NodeMppImpls).j3r = function (key) {
|
|
6486
6486
|
var tmp = process.env[key];
|
|
6487
6487
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6488
6488
|
};
|
|
6489
|
-
protoOf(NodeMppImpls).
|
|
6489
|
+
protoOf(NodeMppImpls).d47 = function (status) {
|
|
6490
6490
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6491
6491
|
return process.exit(status);
|
|
6492
6492
|
};
|
|
6493
|
-
protoOf(NodeMppImpls).
|
|
6493
|
+
protoOf(NodeMppImpls).b47 = function (filename) {
|
|
6494
6494
|
var tmp;
|
|
6495
6495
|
try {
|
|
6496
|
-
var tmp_0 = this.
|
|
6496
|
+
var tmp_0 = this.c47_1.readFileSync(filename, 'utf-8');
|
|
6497
6497
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6498
6498
|
} catch ($p) {
|
|
6499
6499
|
var tmp_1;
|
|
@@ -6509,12 +6509,12 @@
|
|
|
6509
6509
|
};
|
|
6510
6510
|
function BrowserMppImpls() {
|
|
6511
6511
|
}
|
|
6512
|
-
protoOf(BrowserMppImpls).
|
|
6512
|
+
protoOf(BrowserMppImpls).j3r = function (key) {
|
|
6513
6513
|
return null;
|
|
6514
6514
|
};
|
|
6515
|
-
protoOf(BrowserMppImpls).
|
|
6515
|
+
protoOf(BrowserMppImpls).d47 = function (status) {
|
|
6516
6516
|
};
|
|
6517
|
-
protoOf(BrowserMppImpls).
|
|
6517
|
+
protoOf(BrowserMppImpls).b47 = function (filename) {
|
|
6518
6518
|
return null;
|
|
6519
6519
|
};
|
|
6520
6520
|
var BrowserMppImpls_instance;
|
|
@@ -6523,11 +6523,11 @@
|
|
|
6523
6523
|
}
|
|
6524
6524
|
function readEnvvar(key) {
|
|
6525
6525
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6526
|
-
return get_impls().
|
|
6526
|
+
return get_impls().j3r(key);
|
|
6527
6527
|
}
|
|
6528
6528
|
function exitProcessMpp(status) {
|
|
6529
6529
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6530
|
-
return get_impls().
|
|
6530
|
+
return get_impls().d47(status);
|
|
6531
6531
|
}
|
|
6532
6532
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6533
6533
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6555,44 +6555,44 @@
|
|
|
6555
6555
|
}
|
|
6556
6556
|
}
|
|
6557
6557
|
//region block: post-declaration
|
|
6558
|
-
protoOf(defaultLocalization$1).
|
|
6559
|
-
protoOf(defaultLocalization$1).
|
|
6560
|
-
protoOf(defaultLocalization$1).
|
|
6561
|
-
protoOf(defaultLocalization$1).
|
|
6562
|
-
protoOf(defaultLocalization$1).
|
|
6563
|
-
protoOf(defaultLocalization$1).
|
|
6564
|
-
protoOf(defaultLocalization$1).
|
|
6565
|
-
protoOf(defaultLocalization$1).
|
|
6566
|
-
protoOf(defaultLocalization$1).
|
|
6567
|
-
protoOf(defaultLocalization$1).
|
|
6568
|
-
protoOf(defaultLocalization$1).
|
|
6569
|
-
protoOf(defaultLocalization$1).
|
|
6570
|
-
protoOf(defaultLocalization$1).
|
|
6571
|
-
protoOf(defaultLocalization$1).
|
|
6572
|
-
protoOf(defaultLocalization$1).
|
|
6573
|
-
protoOf(defaultLocalization$1).
|
|
6574
|
-
protoOf(defaultLocalization$1).
|
|
6575
|
-
protoOf(defaultLocalization$1).
|
|
6576
|
-
protoOf(defaultLocalization$1).
|
|
6577
|
-
protoOf(defaultLocalization$1).
|
|
6578
|
-
protoOf(defaultLocalization$1).
|
|
6579
|
-
protoOf(defaultLocalization$1).
|
|
6580
|
-
protoOf(defaultLocalization$1).
|
|
6581
|
-
protoOf(defaultLocalization$1).
|
|
6582
|
-
protoOf(defaultLocalization$1).
|
|
6583
|
-
protoOf(defaultLocalization$1).
|
|
6584
|
-
protoOf(defaultLocalization$1).
|
|
6585
|
-
protoOf(defaultLocalization$1).
|
|
6586
|
-
protoOf(defaultLocalization$1).
|
|
6587
|
-
protoOf(defaultLocalization$1).
|
|
6588
|
-
protoOf(defaultLocalization$1).
|
|
6589
|
-
protoOf(defaultLocalization$1).
|
|
6590
|
-
protoOf(defaultLocalization$1).
|
|
6591
|
-
protoOf(ProcessedArgumentImpl).
|
|
6592
|
-
protoOf(OptionWithValuesImpl).
|
|
6593
|
-
protoOf(OptionWithValuesImpl).
|
|
6594
|
-
protoOf(OptionWithValuesImpl).
|
|
6595
|
-
protoOf(OptionWithValuesImpl).
|
|
6558
|
+
protoOf(defaultLocalization$1).t40 = usageError;
|
|
6559
|
+
protoOf(defaultLocalization$1).z3x = badParameter;
|
|
6560
|
+
protoOf(defaultLocalization$1).x3x = badParameterWithMessage;
|
|
6561
|
+
protoOf(defaultLocalization$1).y3x = badParameterWithParam;
|
|
6562
|
+
protoOf(defaultLocalization$1).w3x = badParameterWithMessageAndParam;
|
|
6563
|
+
protoOf(defaultLocalization$1).q3z = missingOption;
|
|
6564
|
+
protoOf(defaultLocalization$1).x3y = missingArgument;
|
|
6565
|
+
protoOf(defaultLocalization$1).g3y = noSuchSubcommand;
|
|
6566
|
+
protoOf(defaultLocalization$1).m3y = noSuchOption;
|
|
6567
|
+
protoOf(defaultLocalization$1).s3y = incorrectOptionValueCount;
|
|
6568
|
+
protoOf(defaultLocalization$1).d3z = incorrectArgumentValueCount;
|
|
6569
|
+
protoOf(defaultLocalization$1).z3w = fileNotFound;
|
|
6570
|
+
protoOf(defaultLocalization$1).l3z = invalidFileFormat;
|
|
6571
|
+
protoOf(defaultLocalization$1).k3z = invalidFileFormat_0;
|
|
6572
|
+
protoOf(defaultLocalization$1).u40 = unclosedQuote;
|
|
6573
|
+
protoOf(defaultLocalization$1).v40 = fileEndsWithSlash;
|
|
6574
|
+
protoOf(defaultLocalization$1).w40 = extraArgumentOne;
|
|
6575
|
+
protoOf(defaultLocalization$1).x40 = extraArgumentMany;
|
|
6576
|
+
protoOf(defaultLocalization$1).y40 = invalidFlagValueInFile;
|
|
6577
|
+
protoOf(defaultLocalization$1).z40 = boolConversionError;
|
|
6578
|
+
protoOf(defaultLocalization$1).a41 = invalidChoice;
|
|
6579
|
+
protoOf(defaultLocalization$1).b41 = stringMetavar;
|
|
6580
|
+
protoOf(defaultLocalization$1).c41 = intMetavar;
|
|
6581
|
+
protoOf(defaultLocalization$1).d41 = usageTitle;
|
|
6582
|
+
protoOf(defaultLocalization$1).e41 = optionsTitle;
|
|
6583
|
+
protoOf(defaultLocalization$1).f41 = argumentsTitle;
|
|
6584
|
+
protoOf(defaultLocalization$1).g41 = commandsTitle;
|
|
6585
|
+
protoOf(defaultLocalization$1).h41 = optionsMetavar;
|
|
6586
|
+
protoOf(defaultLocalization$1).i41 = commandMetavar;
|
|
6587
|
+
protoOf(defaultLocalization$1).j41 = argumentsMetavar;
|
|
6588
|
+
protoOf(defaultLocalization$1).k41 = helpTagDefault;
|
|
6589
|
+
protoOf(defaultLocalization$1).l41 = helpTagRequired;
|
|
6590
|
+
protoOf(defaultLocalization$1).a3u = helpOptionMessage;
|
|
6591
|
+
protoOf(ProcessedArgumentImpl).q43 = copy$default;
|
|
6592
|
+
protoOf(OptionWithValuesImpl).q44 = copy$default_0;
|
|
6593
|
+
protoOf(OptionWithValuesImpl).r44 = copy$default_1;
|
|
6594
|
+
protoOf(OptionWithValuesImpl).x44 = getValue_0;
|
|
6595
|
+
protoOf(OptionWithValuesImpl).h3u = parameterHelp;
|
|
6596
6596
|
//endregion
|
|
6597
6597
|
//region block: init
|
|
6598
6598
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|