@tuprolog/2p-full 0.32.4 → 1.0.0
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/2p-bdd.js +136 -136
- package/2p-core.js +379 -412
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +463 -463
- package/2p-oop-lib.js +594 -594
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +114 -114
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-theory.js +11 -11
- package/2p-repl.js +63 -63
- package/2p-repl.js.map +1 -1
- package/2p-solve-classic.js +794 -794
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-problog.js +922 -922
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +641 -641
- package/2p-solve.js +2877 -2867
- package/2p-solve.js.map +1 -1
- package/2p-test-dsl.js +15 -0
- package/2p-test-dsl.js.map +1 -0
- package/2p-theory.js +1342 -1065
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +160 -160
- package/2p-utils.js +3 -3
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-js-ir.js +1010 -1010
- package/kotlin-kotlin-stdlib.js +31 -31
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-test-kotlin-test-js-ir.js +15 -0
- package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +1 -0
- package/package.json +1 -1
package/clikt-clikt-js-ir.js
CHANGED
|
@@ -154,22 +154,22 @@
|
|
|
154
154
|
}
|
|
155
155
|
function parameterHelp(context) {
|
|
156
156
|
var tmp;
|
|
157
|
-
if (this.
|
|
157
|
+
if (this.r3w()) {
|
|
158
158
|
tmp = null;
|
|
159
159
|
} else {
|
|
160
|
-
var tmp_0 = this.
|
|
161
|
-
var tmp_1 = this.
|
|
162
|
-
var tmp_2 = this.
|
|
163
|
-
var tmp_3 = this.
|
|
164
|
-
var tmp_4 = this.
|
|
165
|
-
var tmp_5 = this.
|
|
160
|
+
var tmp_0 = this.w3v();
|
|
161
|
+
var tmp_1 = this.x3v();
|
|
162
|
+
var tmp_2 = this.o46(context);
|
|
163
|
+
var tmp_3 = this.c3x();
|
|
164
|
+
var tmp_4 = this.t3w();
|
|
165
|
+
var tmp_5 = this.m46();
|
|
166
166
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
167
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
167
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t3z();
|
|
168
168
|
var tmp_6;
|
|
169
169
|
if (tmp3_elvis_lhs == null) {
|
|
170
170
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
171
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
172
|
-
tmp_6 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
171
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s3z();
|
|
172
|
+
tmp_6 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t3z();
|
|
173
173
|
} else {
|
|
174
174
|
tmp_6 = tmp3_elvis_lhs;
|
|
175
175
|
}
|
|
@@ -351,8 +351,8 @@
|
|
|
351
351
|
setMetadataFor(ProcessedArgument, 'ProcessedArgument', classMeta, VOID, [Argument_0]);
|
|
352
352
|
setMetadataFor(ArgumentTransformContext, 'ArgumentTransformContext', classMeta, VOID, [Argument_0]);
|
|
353
353
|
function parameterHelp_0(context) {
|
|
354
|
-
var n = this.
|
|
355
|
-
var h = this.
|
|
354
|
+
var n = this.t3z();
|
|
355
|
+
var h = this.c46();
|
|
356
356
|
return (n == null ? true : h == null) ? null : new Group(n, h);
|
|
357
357
|
}
|
|
358
358
|
setMetadataFor(ParameterGroup, 'ParameterGroup', interfaceMeta);
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
setMetadataFor(BrowserCliktConsole, 'BrowserCliktConsole', classMeta, VOID, VOID, BrowserCliktConsole);
|
|
386
386
|
//endregion
|
|
387
387
|
function commandCompletionFuncName($this, command) {
|
|
388
|
-
var tmp = command.
|
|
388
|
+
var tmp = command.i2b();
|
|
389
389
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
390
390
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
391
391
|
var isTopLevel = ancestors.l() === 1;
|
|
@@ -396,34 +396,34 @@
|
|
|
396
396
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').u8(name, '_');
|
|
397
397
|
}
|
|
398
398
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
399
|
-
return plus(_this__u8e3s4.
|
|
399
|
+
return plus(_this__u8e3s4.w3v(), _this__u8e3s4.x3v());
|
|
400
400
|
}
|
|
401
401
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
402
402
|
return "'" + it + "'";
|
|
403
403
|
}
|
|
404
404
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
405
|
-
return it.
|
|
405
|
+
return it.y3v_1;
|
|
406
406
|
}
|
|
407
407
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
408
|
-
return it.
|
|
408
|
+
return it.z3v_1.m3v_1;
|
|
409
409
|
}
|
|
410
410
|
function BashCompletionGenerator() {
|
|
411
411
|
}
|
|
412
|
-
protoOf(BashCompletionGenerator).
|
|
413
|
-
var commandName = command.
|
|
412
|
+
protoOf(BashCompletionGenerator).q3w = function (command, zsh) {
|
|
413
|
+
var commandName = command.m3v_1;
|
|
414
414
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
415
415
|
var isTopLevel = tmp0_container.me();
|
|
416
416
|
var funcName = tmp0_container.ne();
|
|
417
417
|
// Inline function 'kotlin.collections.map' call
|
|
418
418
|
// Inline function 'kotlin.collections.filterNot' call
|
|
419
419
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
420
|
-
var this_0 = command.
|
|
420
|
+
var this_0 = command.q3v_1;
|
|
421
421
|
var destination = ArrayList_init_$Create$();
|
|
422
422
|
var tmp0_iterator = this_0.r();
|
|
423
423
|
while (tmp0_iterator.s()) {
|
|
424
424
|
var element = tmp0_iterator.u();
|
|
425
425
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
426
|
-
if (!element.
|
|
426
|
+
if (!element.r3w()) {
|
|
427
427
|
destination.o(element);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
@@ -433,43 +433,43 @@
|
|
|
433
433
|
while (tmp0_iterator_0.s()) {
|
|
434
434
|
var item = tmp0_iterator_0.u();
|
|
435
435
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
436
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
436
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.s3w(), item.t3w());
|
|
437
437
|
destination_0.o(tmp$ret$3);
|
|
438
438
|
}
|
|
439
439
|
var options = destination_0;
|
|
440
440
|
// Inline function 'kotlin.collections.map' call
|
|
441
|
-
var this_1 = command.
|
|
441
|
+
var this_1 = command.r3v_1;
|
|
442
442
|
// Inline function 'kotlin.collections.mapTo' call
|
|
443
443
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
444
444
|
var tmp0_iterator_1 = this_1.r();
|
|
445
445
|
while (tmp0_iterator_1.s()) {
|
|
446
446
|
var item_0 = tmp0_iterator_1.u();
|
|
447
447
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
448
|
-
var tmp$ret$6 = to(item_0.bb(), item_0.
|
|
448
|
+
var tmp$ret$6 = to(item_0.bb(), item_0.s3w());
|
|
449
449
|
destination_1.o(tmp$ret$6);
|
|
450
450
|
}
|
|
451
451
|
var arguments_0 = destination_1;
|
|
452
452
|
// Inline function 'kotlin.collections.map' call
|
|
453
|
-
var this_2 = command.
|
|
453
|
+
var this_2 = command.p3v_1;
|
|
454
454
|
// Inline function 'kotlin.collections.mapTo' call
|
|
455
455
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
456
456
|
var tmp0_iterator_2 = this_2.r();
|
|
457
457
|
while (tmp0_iterator_2.s()) {
|
|
458
458
|
var item_1 = tmp0_iterator_2.u();
|
|
459
459
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
460
|
-
var tmp$ret$9 = item_1.
|
|
460
|
+
var tmp$ret$9 = item_1.m3v_1;
|
|
461
461
|
destination_2.o(tmp$ret$9);
|
|
462
462
|
}
|
|
463
463
|
var subcommands = destination_2;
|
|
464
464
|
// Inline function 'kotlin.collections.flatMap' call
|
|
465
465
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
466
|
-
var this_3 = command.
|
|
466
|
+
var this_3 = command.r3v_1;
|
|
467
467
|
var list = ArrayList_init_$Create$();
|
|
468
468
|
var tmp0_iterator_3 = this_3.r();
|
|
469
469
|
$l$loop: while (tmp0_iterator_3.s()) {
|
|
470
470
|
var item_2 = tmp0_iterator_3.u();
|
|
471
471
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
472
|
-
if (!(item_2.
|
|
472
|
+
if (!(item_2.t3w() > 0))
|
|
473
473
|
break $l$loop;
|
|
474
474
|
list.o(item_2);
|
|
475
475
|
}
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
var element_0 = tmp0_iterator_4.u();
|
|
481
481
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
482
482
|
// Inline function 'kotlin.collections.map' call
|
|
483
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
483
|
+
var this_4 = numberRangeToNumber(1, element_0.t3w());
|
|
484
484
|
// Inline function 'kotlin.collections.mapTo' call
|
|
485
485
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
486
486
|
var tmp0_iterator_5 = this_4.r();
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
497
497
|
// Inline function 'kotlin.text.orEmpty' call
|
|
498
498
|
// Inline function 'kotlin.collections.find' call
|
|
499
|
-
var this_5 = command.
|
|
499
|
+
var this_5 = command.r3v_1;
|
|
500
500
|
var tmp$ret$21;
|
|
501
501
|
$l$block: {
|
|
502
502
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
while (tmp0_iterator_6.s()) {
|
|
505
505
|
var element_1 = tmp0_iterator_6.u();
|
|
506
506
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
507
|
-
if (element_1.
|
|
507
|
+
if (element_1.t3w() < 0) {
|
|
508
508
|
tmp$ret$21 = element_1;
|
|
509
509
|
break $l$block;
|
|
510
510
|
}
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
var name = tmp1_loop_parameter.me();
|
|
574
574
|
var candidate = tmp1_loop_parameter.ne();
|
|
575
575
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
576
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
576
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.u3w_1;
|
|
577
577
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
578
578
|
var tmp;
|
|
579
579
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
}
|
|
632
632
|
this_6.v5(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
633
633
|
// Inline function 'kotlin.collections.iterator' call
|
|
634
|
-
var tmp7_iterator = command.
|
|
634
|
+
var tmp7_iterator = command.v3w().p2().r();
|
|
635
635
|
while (tmp7_iterator.s()) {
|
|
636
636
|
var tmp8_loop_parameter = tmp7_iterator.u();
|
|
637
637
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -642,18 +642,18 @@
|
|
|
642
642
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
643
643
|
this_6.v5(' "${COMP_WORDS[@]:${i}}" )').v5('\n');
|
|
644
644
|
this_6.v5(' (( COMP_CWORD = COMP_CWORD + ' + toks.l() + ' ))\n');
|
|
645
|
-
if (!command.
|
|
645
|
+
if (!command.i2b().a3w_1) {
|
|
646
646
|
this_6.v5(' can_parse_options=0\n');
|
|
647
647
|
}
|
|
648
648
|
this_6.v5(' ;;\n');
|
|
649
649
|
}
|
|
650
|
-
var tmp9_iterator = command.
|
|
650
|
+
var tmp9_iterator = command.p3v_1.r();
|
|
651
651
|
while (tmp9_iterator.s()) {
|
|
652
652
|
var sub = tmp9_iterator.u();
|
|
653
|
-
this_6.v5(trimMargin('\n | ' + sub.
|
|
653
|
+
this_6.v5(trimMargin('\n | ' + sub.m3v_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).ze_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
654
654
|
}
|
|
655
655
|
this_6.v5(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
656
|
-
if (!command.
|
|
656
|
+
if (!command.i2b().a3w_1) {
|
|
657
657
|
this_6.v5(' can_parse_options=0\n');
|
|
658
658
|
}
|
|
659
659
|
this_6.v5(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -713,11 +713,11 @@
|
|
|
713
713
|
} else {
|
|
714
714
|
if (completion instanceof Fixed) {
|
|
715
715
|
this_6.v5(" COMPREPLY=($(compgen -W '");
|
|
716
|
-
joinTo(completion.
|
|
716
|
+
joinTo(completion.w3w_1, this_6, ' ');
|
|
717
717
|
this_6.v5('\' -- "${word}"))\n');
|
|
718
718
|
} else {
|
|
719
719
|
if (completion instanceof Custom) {
|
|
720
|
-
if (!(completion.
|
|
720
|
+
if (!(completion.u3w_1(ShellType_BASH_getInstance()) == null)) {
|
|
721
721
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
722
722
|
this_6.v5(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
723
723
|
}
|
|
@@ -736,10 +736,10 @@
|
|
|
736
736
|
this_6.v5('\' -- "${word}"))\n ;;\n');
|
|
737
737
|
}
|
|
738
738
|
this_6.v5(' esac\n}\n');
|
|
739
|
-
var tmp13_iterator = command.
|
|
739
|
+
var tmp13_iterator = command.p3v_1.r();
|
|
740
740
|
while (tmp13_iterator.s()) {
|
|
741
741
|
var subcommand = tmp13_iterator.u();
|
|
742
|
-
this_6.v5(BashCompletionGenerator_instance.
|
|
742
|
+
this_6.v5(BashCompletionGenerator_instance.q3w(subcommand, zsh));
|
|
743
743
|
}
|
|
744
744
|
if (isTopLevel) {
|
|
745
745
|
this_6.v5('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -821,20 +821,20 @@
|
|
|
821
821
|
}
|
|
822
822
|
function CompletionGenerator() {
|
|
823
823
|
}
|
|
824
|
-
protoOf(CompletionGenerator).
|
|
824
|
+
protoOf(CompletionGenerator).x3w = function (command, shell) {
|
|
825
825
|
// Inline function 'kotlin.text.lowercase' call
|
|
826
826
|
// Inline function 'kotlin.text.trim' call
|
|
827
827
|
// Inline function 'kotlin.js.asDynamic' call
|
|
828
828
|
var message;
|
|
829
829
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
830
830
|
case 'fish':
|
|
831
|
-
message = FishCompletionGenerator_instance.
|
|
831
|
+
message = FishCompletionGenerator_instance.y3w(command);
|
|
832
832
|
break;
|
|
833
833
|
case 'zsh':
|
|
834
|
-
message = BashCompletionGenerator_instance.
|
|
834
|
+
message = BashCompletionGenerator_instance.q3w(command, true);
|
|
835
835
|
break;
|
|
836
836
|
default:
|
|
837
|
-
message = BashCompletionGenerator_instance.
|
|
837
|
+
message = BashCompletionGenerator_instance.q3w(command, false);
|
|
838
838
|
break;
|
|
839
839
|
}
|
|
840
840
|
throw new PrintCompletionMessage(message, true);
|
|
@@ -850,29 +850,29 @@
|
|
|
850
850
|
var this_0 = StringBuilder_init_$Create$();
|
|
851
851
|
// Inline function 'kotlin.contracts.contract' call
|
|
852
852
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
853
|
-
var parentCommandName = lastOrNull(command.
|
|
854
|
-
var rootCommandName = first_0(command.
|
|
853
|
+
var parentCommandName = lastOrNull(command.i2b().z3w());
|
|
854
|
+
var rootCommandName = first_0(command.i2b().a3x());
|
|
855
855
|
var isTopLevel = parentCommandName == null;
|
|
856
|
-
var commandName = command.
|
|
856
|
+
var commandName = command.m3v_1;
|
|
857
857
|
// Inline function 'kotlin.collections.filterNot' call
|
|
858
858
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
859
|
-
var this_1 = command.
|
|
859
|
+
var this_1 = command.q3v_1;
|
|
860
860
|
var destination = ArrayList_init_$Create$();
|
|
861
861
|
var tmp0_iterator = this_1.r();
|
|
862
862
|
while (tmp0_iterator.s()) {
|
|
863
863
|
var element = tmp0_iterator.u();
|
|
864
864
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
865
|
-
if (!element.
|
|
865
|
+
if (!element.r3w()) {
|
|
866
866
|
destination.o(element);
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
var options = destination;
|
|
870
|
-
var arguments_0 = command.
|
|
871
|
-
var subcommands = command.
|
|
870
|
+
var arguments_0 = command.r3v_1;
|
|
871
|
+
var subcommands = command.p3v_1;
|
|
872
872
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
873
873
|
var hasSubcommands = !subcommands.y();
|
|
874
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
875
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
874
|
+
var subcommandsVarName_0 = subcommandsVarName(command.i2b().a3x(), FishCompletionGenerator_instance);
|
|
875
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.i2b().z3w(), FishCompletionGenerator_instance);
|
|
876
876
|
if (isTopLevel) {
|
|
877
877
|
// Inline function 'kotlin.text.appendLine' call
|
|
878
878
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
this_0.v5('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
901
901
|
}
|
|
902
902
|
this_0.v5('-a ' + commandName + ' ');
|
|
903
|
-
var help = replace_0(command.
|
|
903
|
+
var help = replace_0(command.b3x(), "'", "\\'");
|
|
904
904
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
905
905
|
if (!isBlank(help)) {
|
|
906
906
|
this_0.v5("-d '" + help + "'");
|
|
@@ -999,8 +999,8 @@
|
|
|
999
999
|
if (option instanceof OptionWithValues) {
|
|
1000
1000
|
this_0.v5(' -r');
|
|
1001
1001
|
}
|
|
1002
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1003
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1002
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.s3w());
|
|
1003
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.c3x());
|
|
1004
1004
|
// Inline function 'kotlin.text.appendLine' call
|
|
1005
1005
|
this_0.w5(_Char___init__impl__6a9atx(10));
|
|
1006
1006
|
}
|
|
@@ -1015,8 +1015,8 @@
|
|
|
1015
1015
|
while (tmp2_iterator.s()) {
|
|
1016
1016
|
var argument = tmp2_iterator.u();
|
|
1017
1017
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1018
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1019
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1018
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.s3w());
|
|
1019
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.d3x());
|
|
1020
1020
|
// Inline function 'kotlin.text.appendLine' call
|
|
1021
1021
|
this_0.w5(_Char___init__impl__6a9atx(10));
|
|
1022
1022
|
}
|
|
@@ -1077,10 +1077,10 @@
|
|
|
1077
1077
|
_this__u8e3s4.v5(' -fa "(__fish_complete_users)"');
|
|
1078
1078
|
} else {
|
|
1079
1079
|
if (completion instanceof Fixed) {
|
|
1080
|
-
joinTo(completion.
|
|
1080
|
+
joinTo(completion.w3w_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1081
1081
|
} else {
|
|
1082
1082
|
if (completion instanceof Custom) {
|
|
1083
|
-
var customCompletion = completion.
|
|
1083
|
+
var customCompletion = completion.u3w_1(ShellType_FISH_getInstance());
|
|
1084
1084
|
_this__u8e3s4.v5(' -fa ' + customCompletion);
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
@@ -1096,11 +1096,11 @@
|
|
|
1096
1096
|
var tmp;
|
|
1097
1097
|
var tmp_0;
|
|
1098
1098
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1099
|
-
if (!_this__u8e3s4.
|
|
1099
|
+
if (!_this__u8e3s4.r3v_1.y()) {
|
|
1100
1100
|
tmp_0 = true;
|
|
1101
1101
|
} else {
|
|
1102
1102
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1103
|
-
tmp_0 = !_this__u8e3s4.
|
|
1103
|
+
tmp_0 = !_this__u8e3s4.p3v_1.y();
|
|
1104
1104
|
}
|
|
1105
1105
|
if (tmp_0) {
|
|
1106
1106
|
tmp = true;
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
// Inline function 'kotlin.collections.any' call
|
|
1111
1111
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1112
1112
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1113
|
-
var this_0 = _this__u8e3s4.
|
|
1113
|
+
var this_0 = _this__u8e3s4.q3v_1;
|
|
1114
1114
|
var destination = ArrayList_init_$Create$();
|
|
1115
1115
|
var tmp0_iterator = this_0.r();
|
|
1116
1116
|
while (tmp0_iterator.s()) {
|
|
@@ -1148,10 +1148,10 @@
|
|
|
1148
1148
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1149
1149
|
}
|
|
1150
1150
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1151
|
-
return plus(_this__u8e3s4.
|
|
1151
|
+
return plus(_this__u8e3s4.w3v(), _this__u8e3s4.x3v());
|
|
1152
1152
|
}
|
|
1153
1153
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1154
|
-
return it.
|
|
1154
|
+
return it.m3v_1;
|
|
1155
1155
|
}
|
|
1156
1156
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1157
1157
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
}
|
|
1160
1160
|
function FishCompletionGenerator() {
|
|
1161
1161
|
}
|
|
1162
|
-
protoOf(FishCompletionGenerator).
|
|
1162
|
+
protoOf(FishCompletionGenerator).y3w = function (command) {
|
|
1163
1163
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1164
1164
|
return '';
|
|
1165
1165
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1172,35 +1172,35 @@
|
|
|
1172
1172
|
// Inline function 'kotlin.apply' call
|
|
1173
1173
|
// Inline function 'kotlin.contracts.contract' call
|
|
1174
1174
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1175
|
-
_this__u8e3s4.
|
|
1175
|
+
_this__u8e3s4.p3v_1 = plus_1(_this__u8e3s4.p3v_1, commands);
|
|
1176
1176
|
return _this__u8e3s4;
|
|
1177
1177
|
}
|
|
1178
1178
|
function registeredOptionNames($this) {
|
|
1179
1179
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1180
|
-
var this_0 = $this.
|
|
1180
|
+
var this_0 = $this.q3v_1;
|
|
1181
1181
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1182
1182
|
var destination = LinkedHashSet_init_$Create$();
|
|
1183
1183
|
var tmp0_iterator = this_0.r();
|
|
1184
1184
|
while (tmp0_iterator.s()) {
|
|
1185
1185
|
var element = tmp0_iterator.u();
|
|
1186
1186
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1187
|
-
var list = element.
|
|
1187
|
+
var list = element.w3v();
|
|
1188
1188
|
addAll(destination, list);
|
|
1189
1189
|
}
|
|
1190
1190
|
return destination;
|
|
1191
1191
|
}
|
|
1192
1192
|
function createContext($this, argv, parent, ancestors) {
|
|
1193
|
-
$this.
|
|
1194
|
-
if ($this.
|
|
1193
|
+
$this.u3v_1 = Companion_instance.e3x($this, parent, argv, $this.t3v_1);
|
|
1194
|
+
if ($this.j3v_1) {
|
|
1195
1195
|
// Inline function 'kotlin.require' call
|
|
1196
1196
|
var tmp$ret$1;
|
|
1197
1197
|
$l$block: {
|
|
1198
1198
|
// Inline function 'kotlin.sequences.none' call
|
|
1199
|
-
var tmp0_iterator = drop($this.
|
|
1199
|
+
var tmp0_iterator = drop($this.i2b().f3x(), 1).r();
|
|
1200
1200
|
while (tmp0_iterator.s()) {
|
|
1201
1201
|
var element = tmp0_iterator.u();
|
|
1202
1202
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1203
|
-
if (element.
|
|
1203
|
+
if (element.z3v_1.j3v_1) {
|
|
1204
1204
|
tmp$ret$1 = false;
|
|
1205
1205
|
break $l$block;
|
|
1206
1206
|
}
|
|
@@ -1215,34 +1215,34 @@
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1218
|
-
if (!$this.
|
|
1219
|
-
var names = minus($this.
|
|
1218
|
+
if (!$this.i2b().d3w_1.y()) {
|
|
1219
|
+
var names = minus($this.i2b().d3w_1, registeredOptionNames($this));
|
|
1220
1220
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1221
1221
|
if (!names.y()) {
|
|
1222
1222
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1223
|
-
var this_0 = $this.
|
|
1224
|
-
var element_0 = helpOption(names, $this.
|
|
1223
|
+
var this_0 = $this.q3v_1;
|
|
1224
|
+
var element_0 = helpOption(names, $this.i2b().l3w_1.g3x());
|
|
1225
1225
|
this_0.o(element_0);
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
1228
|
-
var tmp1_iterator = $this.
|
|
1228
|
+
var tmp1_iterator = $this.p3v_1.r();
|
|
1229
1229
|
while (tmp1_iterator.s()) {
|
|
1230
1230
|
var command = tmp1_iterator.u();
|
|
1231
|
-
var a = filterNotNull(plus_2(ancestors, parent == null ? null : parent.
|
|
1231
|
+
var a = filterNotNull(plus_2(ancestors, parent == null ? null : parent.z3v_1));
|
|
1232
1232
|
// Inline function 'kotlin.check' call
|
|
1233
1233
|
// Inline function 'kotlin.contracts.contract' call
|
|
1234
1234
|
if (!!a.n(command)) {
|
|
1235
1235
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1236
|
-
var message_0 = 'Command ' + command.
|
|
1236
|
+
var message_0 = 'Command ' + command.m3v_1 + ' already registered';
|
|
1237
1237
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1238
1238
|
}
|
|
1239
|
-
createContext(command, argv, $this.
|
|
1239
|
+
createContext(command, argv, $this.i2b(), a);
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
1242
|
function allHelpParams($this) {
|
|
1243
1243
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1244
1244
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1245
|
-
var this_0 = $this.
|
|
1245
|
+
var this_0 = $this.q3v_1;
|
|
1246
1246
|
var destination = ArrayList_init_$Create$();
|
|
1247
1247
|
// Inline function 'kotlin.collections.forEach' call
|
|
1248
1248
|
var tmp0_iterator = this_0.r();
|
|
@@ -1250,7 +1250,7 @@
|
|
|
1250
1250
|
var element = tmp0_iterator.u();
|
|
1251
1251
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1252
1252
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1253
|
-
var tmp0_safe_receiver = element.
|
|
1253
|
+
var tmp0_safe_receiver = element.h3x($this.i2b());
|
|
1254
1254
|
if (tmp0_safe_receiver == null)
|
|
1255
1255
|
null;
|
|
1256
1256
|
else {
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
var tmp = destination;
|
|
1263
1263
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1264
1264
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1265
|
-
var this_1 = $this.
|
|
1265
|
+
var this_1 = $this.r3v_1;
|
|
1266
1266
|
var destination_0 = ArrayList_init_$Create$();
|
|
1267
1267
|
// Inline function 'kotlin.collections.forEach' call
|
|
1268
1268
|
var tmp0_iterator_0 = this_1.r();
|
|
@@ -1270,7 +1270,7 @@
|
|
|
1270
1270
|
var element_0 = tmp0_iterator_0.u();
|
|
1271
1271
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1272
1272
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1273
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1273
|
+
var tmp0_safe_receiver_0 = element_0.h3x($this.i2b());
|
|
1274
1274
|
if (tmp0_safe_receiver_0 == null)
|
|
1275
1275
|
null;
|
|
1276
1276
|
else {
|
|
@@ -1282,7 +1282,7 @@
|
|
|
1282
1282
|
var tmp_0 = plus_0(tmp, destination_0);
|
|
1283
1283
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1284
1284
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1285
|
-
var this_2 = $this.
|
|
1285
|
+
var this_2 = $this.s3v_1;
|
|
1286
1286
|
var destination_1 = ArrayList_init_$Create$();
|
|
1287
1287
|
// Inline function 'kotlin.collections.forEach' call
|
|
1288
1288
|
var tmp0_iterator_1 = this_2.r();
|
|
@@ -1290,7 +1290,7 @@
|
|
|
1290
1290
|
var element_1 = tmp0_iterator_1.u();
|
|
1291
1291
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1292
1292
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1293
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1293
|
+
var tmp0_safe_receiver_1 = element_1.h3x($this.i2b());
|
|
1294
1294
|
if (tmp0_safe_receiver_1 == null)
|
|
1295
1295
|
null;
|
|
1296
1296
|
else {
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
var tmp_1 = plus_0(tmp_0, destination_1);
|
|
1303
1303
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1304
1304
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1305
|
-
var this_3 = $this.
|
|
1305
|
+
var this_3 = $this.p3v_1;
|
|
1306
1306
|
var destination_2 = ArrayList_init_$Create$();
|
|
1307
1307
|
// Inline function 'kotlin.collections.forEach' call
|
|
1308
1308
|
var tmp0_iterator_2 = this_3.r();
|
|
@@ -1310,7 +1310,7 @@
|
|
|
1310
1310
|
var element_2 = tmp0_iterator_2.u();
|
|
1311
1311
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1312
1312
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1313
|
-
var tmp0_safe_receiver_2 = element_2.
|
|
1313
|
+
var tmp0_safe_receiver_2 = element_2.l3v_1 ? null : new Subcommand(element_2.m3v_1, element_2.i3x(), element_2.h3v_1);
|
|
1314
1314
|
if (tmp0_safe_receiver_2 == null)
|
|
1315
1315
|
null;
|
|
1316
1316
|
else {
|
|
@@ -1322,24 +1322,24 @@
|
|
|
1322
1322
|
return plus_0(tmp_1, destination_2);
|
|
1323
1323
|
}
|
|
1324
1324
|
function getCommandNameWithParents($this) {
|
|
1325
|
-
if ($this.
|
|
1325
|
+
if ($this.u3v_1 == null) {
|
|
1326
1326
|
createContext($this, emptyList(), null, emptyList());
|
|
1327
1327
|
}
|
|
1328
|
-
return joinToString($this.
|
|
1328
|
+
return joinToString($this.i2b().a3x(), ' ');
|
|
1329
1329
|
}
|
|
1330
1330
|
function generateCompletion($this) {
|
|
1331
|
-
if ($this.
|
|
1331
|
+
if ($this.i3v_1 == null)
|
|
1332
1332
|
return Unit_instance;
|
|
1333
1333
|
var tmp;
|
|
1334
|
-
if (isBlank($this.
|
|
1334
|
+
if (isBlank($this.i3v_1)) {
|
|
1335
1335
|
// Inline function 'kotlin.text.uppercase' call
|
|
1336
1336
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1337
|
-
tmp = '_' + replace_0($this.
|
|
1337
|
+
tmp = '_' + replace_0($this.m3v_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1338
1338
|
} else {
|
|
1339
|
-
tmp = $this.
|
|
1339
|
+
tmp = $this.i3v_1;
|
|
1340
1340
|
}
|
|
1341
1341
|
var envvar = tmp;
|
|
1342
|
-
var tmp0_elvis_lhs = $this.
|
|
1342
|
+
var tmp0_elvis_lhs = $this.i2b().m3w_1(envvar);
|
|
1343
1343
|
var tmp_0;
|
|
1344
1344
|
if (tmp0_elvis_lhs == null) {
|
|
1345
1345
|
return Unit_instance;
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
tmp_0 = tmp0_elvis_lhs;
|
|
1348
1348
|
}
|
|
1349
1349
|
var envval = tmp_0;
|
|
1350
|
-
CompletionGenerator_instance.
|
|
1350
|
+
CompletionGenerator_instance.x3w($this, envval);
|
|
1351
1351
|
}
|
|
1352
1352
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1353
1353
|
return Unit_instance;
|
|
@@ -1366,45 +1366,45 @@
|
|
|
1366
1366
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1367
1367
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1368
1368
|
hidden = hidden === VOID ? false : hidden;
|
|
1369
|
-
this.
|
|
1370
|
-
this.
|
|
1371
|
-
this.
|
|
1372
|
-
this.
|
|
1373
|
-
this.
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1369
|
+
this.f3v_1 = invokeWithoutSubcommand;
|
|
1370
|
+
this.g3v_1 = printHelpOnEmptyArgs;
|
|
1371
|
+
this.h3v_1 = helpTags;
|
|
1372
|
+
this.i3v_1 = autoCompleteEnvvar;
|
|
1373
|
+
this.j3v_1 = allowMultipleSubcommands;
|
|
1374
|
+
this.k3v_1 = treatUnknownOptionsAsArgs;
|
|
1375
|
+
this.l3v_1 = hidden;
|
|
1376
1376
|
var tmp = this;
|
|
1377
|
-
tmp.
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1377
|
+
tmp.m3v_1 = name == null ? inferCommandName(this) : name;
|
|
1378
|
+
this.n3v_1 = help;
|
|
1379
|
+
this.o3v_1 = epilog;
|
|
1380
|
+
this.p3v_1 = emptyList();
|
|
1381
1381
|
var tmp_0 = this;
|
|
1382
1382
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1383
|
-
tmp_0.
|
|
1383
|
+
tmp_0.q3v_1 = ArrayList_init_$Create$();
|
|
1384
1384
|
var tmp_1 = this;
|
|
1385
1385
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1386
|
-
tmp_1.
|
|
1386
|
+
tmp_1.r3v_1 = ArrayList_init_$Create$();
|
|
1387
1387
|
var tmp_2 = this;
|
|
1388
1388
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1389
|
-
tmp_2.
|
|
1389
|
+
tmp_2.s3v_1 = ArrayList_init_$Create$();
|
|
1390
1390
|
var tmp_3 = this;
|
|
1391
|
-
tmp_3.
|
|
1392
|
-
this.
|
|
1391
|
+
tmp_3.t3v_1 = CliktCommand$_contextConfig$lambda;
|
|
1392
|
+
this.u3v_1 = null;
|
|
1393
1393
|
var tmp_4 = this;
|
|
1394
1394
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1395
|
-
tmp_4.
|
|
1395
|
+
tmp_4.v3v_1 = ArrayList_init_$Create$();
|
|
1396
1396
|
}
|
|
1397
|
-
protoOf(CliktCommand).
|
|
1398
|
-
return this.
|
|
1397
|
+
protoOf(CliktCommand).b3x = function () {
|
|
1398
|
+
return this.n3v_1;
|
|
1399
1399
|
};
|
|
1400
|
-
protoOf(CliktCommand).
|
|
1401
|
-
return this.
|
|
1400
|
+
protoOf(CliktCommand).j3x = function () {
|
|
1401
|
+
return this.o3v_1;
|
|
1402
1402
|
};
|
|
1403
|
-
protoOf(CliktCommand).
|
|
1403
|
+
protoOf(CliktCommand).i2b = function () {
|
|
1404
1404
|
$l$block: {
|
|
1405
1405
|
// Inline function 'kotlin.checkNotNull' call
|
|
1406
1406
|
// Inline function 'kotlin.contracts.contract' call
|
|
1407
|
-
if (this.
|
|
1407
|
+
if (this.u3v_1 == null) {
|
|
1408
1408
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1409
1409
|
var message = 'Context accessed before parse has been called.';
|
|
1410
1410
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1412,21 +1412,21 @@
|
|
|
1412
1412
|
break $l$block;
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
|
-
return ensureNotNull(this.
|
|
1415
|
+
return ensureNotNull(this.u3v_1);
|
|
1416
1416
|
};
|
|
1417
|
-
protoOf(CliktCommand).
|
|
1418
|
-
return this.
|
|
1417
|
+
protoOf(CliktCommand).k3x = function () {
|
|
1418
|
+
return this.v3v_1;
|
|
1419
1419
|
};
|
|
1420
|
-
protoOf(CliktCommand).
|
|
1421
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').q8(this.
|
|
1420
|
+
protoOf(CliktCommand).i3x = function () {
|
|
1421
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').q8(this.b3x());
|
|
1422
1422
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j9();
|
|
1423
1423
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c1(1);
|
|
1424
1424
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.k9_1;
|
|
1425
1425
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1426
1426
|
};
|
|
1427
|
-
protoOf(CliktCommand).
|
|
1427
|
+
protoOf(CliktCommand).l3x = function (option) {
|
|
1428
1428
|
var names = registeredOptionNames(this);
|
|
1429
|
-
var tmp0_iterator = option.
|
|
1429
|
+
var tmp0_iterator = option.w3v().r();
|
|
1430
1430
|
while (tmp0_iterator.s()) {
|
|
1431
1431
|
var name = tmp0_iterator.u();
|
|
1432
1432
|
// Inline function 'kotlin.require' call
|
|
@@ -1438,21 +1438,21 @@
|
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
1440
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1441
|
-
this.
|
|
1441
|
+
this.q3v_1.o(option);
|
|
1442
1442
|
};
|
|
1443
|
-
protoOf(CliktCommand).
|
|
1444
|
-
return this.
|
|
1443
|
+
protoOf(CliktCommand).m3x = function (option) {
|
|
1444
|
+
return this.l3x(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1445
1445
|
};
|
|
1446
|
-
protoOf(CliktCommand).
|
|
1446
|
+
protoOf(CliktCommand).n3x = function (argument) {
|
|
1447
1447
|
// Inline function 'kotlin.require' call
|
|
1448
1448
|
var tmp;
|
|
1449
|
-
if (argument.
|
|
1449
|
+
if (argument.t3w() > 0) {
|
|
1450
1450
|
tmp = true;
|
|
1451
1451
|
} else {
|
|
1452
1452
|
var tmp$ret$0;
|
|
1453
1453
|
$l$block_0: {
|
|
1454
1454
|
// Inline function 'kotlin.collections.none' call
|
|
1455
|
-
var this_0 = this.
|
|
1455
|
+
var this_0 = this.r3v_1;
|
|
1456
1456
|
var tmp_0;
|
|
1457
1457
|
if (isInterface(this_0, Collection)) {
|
|
1458
1458
|
tmp_0 = this_0.y();
|
|
@@ -1467,7 +1467,7 @@
|
|
|
1467
1467
|
while (tmp0_iterator.s()) {
|
|
1468
1468
|
var element = tmp0_iterator.u();
|
|
1469
1469
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1470
|
-
if (element.
|
|
1470
|
+
if (element.t3w() < 0) {
|
|
1471
1471
|
tmp$ret$0 = false;
|
|
1472
1472
|
break $l$block_0;
|
|
1473
1473
|
}
|
|
@@ -1483,103 +1483,103 @@
|
|
|
1483
1483
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1484
1484
|
}
|
|
1485
1485
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1486
|
-
this.
|
|
1486
|
+
this.r3v_1.o(argument);
|
|
1487
1487
|
};
|
|
1488
|
-
protoOf(CliktCommand).
|
|
1488
|
+
protoOf(CliktCommand).o3x = function () {
|
|
1489
1489
|
var programName = getCommandNameWithParents(this);
|
|
1490
|
-
return this.
|
|
1490
|
+
return this.i2b().e3w_1.p3x(allHelpParams(this), programName);
|
|
1491
1491
|
};
|
|
1492
|
-
protoOf(CliktCommand).
|
|
1492
|
+
protoOf(CliktCommand).q3x = function () {
|
|
1493
1493
|
var programName = getCommandNameWithParents(this);
|
|
1494
|
-
return this.
|
|
1494
|
+
return this.i2b().e3w_1.r3x(this.b3x(), this.j3x(), allHelpParams(this), programName);
|
|
1495
1495
|
};
|
|
1496
|
-
protoOf(CliktCommand).
|
|
1496
|
+
protoOf(CliktCommand).v3w = function () {
|
|
1497
1497
|
return emptyMap();
|
|
1498
1498
|
};
|
|
1499
|
-
protoOf(CliktCommand).
|
|
1500
|
-
TermUi_instance.
|
|
1499
|
+
protoOf(CliktCommand).s3x = function (message, trailingNewline, err, lineSeparator) {
|
|
1500
|
+
TermUi_instance.t3x(message, trailingNewline, err, this.i2b().g3w_1, lineSeparator);
|
|
1501
1501
|
};
|
|
1502
|
-
protoOf(CliktCommand).
|
|
1502
|
+
protoOf(CliktCommand).u3x = function (message, trailingNewline, err, lineSeparator, $super) {
|
|
1503
1503
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1504
1504
|
err = err === VOID ? false : err;
|
|
1505
|
-
lineSeparator = lineSeparator === VOID ? this.
|
|
1505
|
+
lineSeparator = lineSeparator === VOID ? this.i2b().g3w_1.v3x() : lineSeparator;
|
|
1506
1506
|
var tmp;
|
|
1507
1507
|
if ($super === VOID) {
|
|
1508
|
-
this.
|
|
1508
|
+
this.s3x(message, trailingNewline, err, lineSeparator);
|
|
1509
1509
|
tmp = Unit_instance;
|
|
1510
1510
|
} else {
|
|
1511
|
-
tmp = $super.
|
|
1511
|
+
tmp = $super.s3x.call(this, message, trailingNewline, err, lineSeparator);
|
|
1512
1512
|
}
|
|
1513
1513
|
return tmp;
|
|
1514
1514
|
};
|
|
1515
|
-
protoOf(CliktCommand).
|
|
1515
|
+
protoOf(CliktCommand).w3x = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault) {
|
|
1516
1516
|
var tmp = TermUi_instance;
|
|
1517
|
-
var tmp_0 = this.
|
|
1518
|
-
return tmp.
|
|
1517
|
+
var tmp_0 = this.i2b().g3w_1;
|
|
1518
|
+
return tmp.x3x(text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, tmp_0, CliktCommand$prompt$lambda);
|
|
1519
1519
|
};
|
|
1520
|
-
protoOf(CliktCommand).
|
|
1520
|
+
protoOf(CliktCommand).y3x = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, $super) {
|
|
1521
1521
|
default_0 = default_0 === VOID ? null : default_0;
|
|
1522
1522
|
hideInput = hideInput === VOID ? false : hideInput;
|
|
1523
1523
|
requireConfirmation = requireConfirmation === VOID ? false : requireConfirmation;
|
|
1524
1524
|
confirmationPrompt = confirmationPrompt === VOID ? 'Repeat for confirmation: ' : confirmationPrompt;
|
|
1525
1525
|
promptSuffix = promptSuffix === VOID ? ': ' : promptSuffix;
|
|
1526
1526
|
showDefault = showDefault === VOID ? true : showDefault;
|
|
1527
|
-
return $super === VOID ? this.
|
|
1527
|
+
return $super === VOID ? this.w3x(text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault) : $super.w3x.call(this, text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault);
|
|
1528
1528
|
};
|
|
1529
|
-
protoOf(CliktCommand).
|
|
1529
|
+
protoOf(CliktCommand).z3x = function (argv, parentContext) {
|
|
1530
1530
|
createContext(this, argv, parentContext, emptyList());
|
|
1531
1531
|
generateCompletion(this);
|
|
1532
|
-
Parser_instance.
|
|
1532
|
+
Parser_instance.a3y(argv, this.i2b());
|
|
1533
1533
|
};
|
|
1534
|
-
protoOf(CliktCommand).
|
|
1534
|
+
protoOf(CliktCommand).b3y = function (argv, parentContext, $super) {
|
|
1535
1535
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1536
1536
|
var tmp;
|
|
1537
1537
|
if ($super === VOID) {
|
|
1538
|
-
this.
|
|
1538
|
+
this.z3x(argv, parentContext);
|
|
1539
1539
|
tmp = Unit_instance;
|
|
1540
1540
|
} else {
|
|
1541
|
-
tmp = $super.
|
|
1541
|
+
tmp = $super.z3x.call(this, argv, parentContext);
|
|
1542
1542
|
}
|
|
1543
1543
|
return tmp;
|
|
1544
1544
|
};
|
|
1545
|
-
protoOf(CliktCommand).
|
|
1545
|
+
protoOf(CliktCommand).c3y = function (argv) {
|
|
1546
1546
|
try {
|
|
1547
|
-
this.
|
|
1547
|
+
this.b3y(argv);
|
|
1548
1548
|
} catch ($p) {
|
|
1549
1549
|
if ($p instanceof ProgramResult) {
|
|
1550
1550
|
var e = $p;
|
|
1551
|
-
exitProcessMpp(e.
|
|
1551
|
+
exitProcessMpp(e.r3y_1);
|
|
1552
1552
|
} else {
|
|
1553
1553
|
if ($p instanceof PrintHelpMessage) {
|
|
1554
1554
|
var e_0 = $p;
|
|
1555
|
-
this.
|
|
1556
|
-
exitProcessMpp(e_0.
|
|
1555
|
+
this.u3x(e_0.p3y_1.q3x());
|
|
1556
|
+
exitProcessMpp(e_0.q3y_1 ? 1 : 0);
|
|
1557
1557
|
} else {
|
|
1558
1558
|
if ($p instanceof PrintCompletionMessage) {
|
|
1559
1559
|
var e_1 = $p;
|
|
1560
|
-
var s = e_1.
|
|
1561
|
-
this.
|
|
1560
|
+
var s = e_1.o3y_1 ? '\n' : this.i2b().g3w_1.v3x();
|
|
1561
|
+
this.u3x(e_1.message, VOID, VOID, s);
|
|
1562
1562
|
exitProcessMpp(0);
|
|
1563
1563
|
} else {
|
|
1564
1564
|
if ($p instanceof PrintMessage) {
|
|
1565
1565
|
var e_2 = $p;
|
|
1566
|
-
this.
|
|
1567
|
-
exitProcessMpp(e_2.
|
|
1566
|
+
this.u3x(e_2.message);
|
|
1567
|
+
exitProcessMpp(e_2.m3y_1 ? 1 : 0);
|
|
1568
1568
|
} else {
|
|
1569
1569
|
if ($p instanceof UsageError) {
|
|
1570
1570
|
var e_3 = $p;
|
|
1571
|
-
this.
|
|
1572
|
-
exitProcessMpp(e_3.
|
|
1571
|
+
this.u3x(e_3.l3y(), VOID, true);
|
|
1572
|
+
exitProcessMpp(e_3.k3y_1);
|
|
1573
1573
|
} else {
|
|
1574
1574
|
if ($p instanceof CliktError) {
|
|
1575
1575
|
var e_4 = $p;
|
|
1576
|
-
this.
|
|
1576
|
+
this.u3x(e_4.message, VOID, true);
|
|
1577
1577
|
exitProcessMpp(1);
|
|
1578
1578
|
} else {
|
|
1579
1579
|
if ($p instanceof Abort) {
|
|
1580
1580
|
var e_5 = $p;
|
|
1581
|
-
this.
|
|
1582
|
-
exitProcessMpp(e_5.
|
|
1581
|
+
this.u3x(this.i2b().l3w_1.d3y(), VOID, true);
|
|
1582
|
+
exitProcessMpp(e_5.e3y_1 ? 1 : 0);
|
|
1583
1583
|
} else {
|
|
1584
1584
|
throw $p;
|
|
1585
1585
|
}
|
|
@@ -1591,8 +1591,8 @@
|
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
};
|
|
1594
|
-
protoOf(CliktCommand).
|
|
1595
|
-
return this.
|
|
1594
|
+
protoOf(CliktCommand).s3y = function (argv) {
|
|
1595
|
+
return this.c3y(asList(argv));
|
|
1596
1596
|
};
|
|
1597
1597
|
protoOf(CliktCommand).toString = function () {
|
|
1598
1598
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1601,29 +1601,29 @@
|
|
|
1601
1601
|
var this_0 = StringBuilder_init_$Create$();
|
|
1602
1602
|
// Inline function 'kotlin.contracts.contract' call
|
|
1603
1603
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1604
|
-
this_0.v5('<' + classSimpleName(this) + ' name=' + this.
|
|
1604
|
+
this_0.v5('<' + classSimpleName(this) + ' name=' + this.m3v_1);
|
|
1605
1605
|
var tmp;
|
|
1606
1606
|
var tmp_0;
|
|
1607
1607
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1608
|
-
if (!this.
|
|
1608
|
+
if (!this.q3v_1.y()) {
|
|
1609
1609
|
tmp_0 = true;
|
|
1610
1610
|
} else {
|
|
1611
1611
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1612
|
-
tmp_0 = !this.
|
|
1612
|
+
tmp_0 = !this.r3v_1.y();
|
|
1613
1613
|
}
|
|
1614
1614
|
if (tmp_0) {
|
|
1615
1615
|
tmp = true;
|
|
1616
1616
|
} else {
|
|
1617
1617
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1618
|
-
tmp = !this.
|
|
1618
|
+
tmp = !this.p3v_1.y();
|
|
1619
1619
|
}
|
|
1620
1620
|
if (tmp) {
|
|
1621
1621
|
this_0.v5(' ');
|
|
1622
1622
|
}
|
|
1623
1623
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1624
|
-
if (!this.
|
|
1624
|
+
if (!this.q3v_1.y()) {
|
|
1625
1625
|
this_0.v5('options=[');
|
|
1626
|
-
var iterator = this.
|
|
1626
|
+
var iterator = this.q3v_1.r();
|
|
1627
1627
|
var index = 0;
|
|
1628
1628
|
while (iterator.s()) {
|
|
1629
1629
|
var i = index;
|
|
@@ -1634,7 +1634,7 @@
|
|
|
1634
1634
|
}
|
|
1635
1635
|
this_0.v5(longestName(option));
|
|
1636
1636
|
var tmp_1;
|
|
1637
|
-
if (!(this.
|
|
1637
|
+
if (!(this.u3v_1 == null)) {
|
|
1638
1638
|
tmp_1 = isInterface(option, OptionDelegate);
|
|
1639
1639
|
} else {
|
|
1640
1640
|
tmp_1 = false;
|
|
@@ -1655,9 +1655,9 @@
|
|
|
1655
1655
|
this_0.v5(']');
|
|
1656
1656
|
}
|
|
1657
1657
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1658
|
-
if (!this.
|
|
1658
|
+
if (!this.r3v_1.y()) {
|
|
1659
1659
|
this_0.v5(' arguments=[');
|
|
1660
|
-
var iterator_0 = this.
|
|
1660
|
+
var iterator_0 = this.r3v_1.r();
|
|
1661
1661
|
var index_0 = 0;
|
|
1662
1662
|
while (iterator_0.s()) {
|
|
1663
1663
|
var i_0 = index_0;
|
|
@@ -1668,7 +1668,7 @@
|
|
|
1668
1668
|
}
|
|
1669
1669
|
this_0.v5(argument.bb());
|
|
1670
1670
|
var tmp_2;
|
|
1671
|
-
if (!(this.
|
|
1671
|
+
if (!(this.u3v_1 == null)) {
|
|
1672
1672
|
tmp_2 = argument instanceof ProcessedArgument;
|
|
1673
1673
|
} else {
|
|
1674
1674
|
tmp_2 = false;
|
|
@@ -1689,8 +1689,8 @@
|
|
|
1689
1689
|
this_0.v5(']');
|
|
1690
1690
|
}
|
|
1691
1691
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1692
|
-
if (!this.
|
|
1693
|
-
joinTo(this.
|
|
1692
|
+
if (!this.p3v_1.y()) {
|
|
1693
|
+
joinTo(this.p3v_1, this_0, ' ', ' subcommands=[', ']');
|
|
1694
1694
|
}
|
|
1695
1695
|
this_0.v5('>');
|
|
1696
1696
|
return this_0.toString();
|
|
@@ -1734,27 +1734,27 @@
|
|
|
1734
1734
|
function Builder(command, parent) {
|
|
1735
1735
|
parent = parent === VOID ? null : parent;
|
|
1736
1736
|
var tmp = this;
|
|
1737
|
-
var tmp1_elvis_lhs = parent == null ? null : parent.
|
|
1738
|
-
tmp.
|
|
1737
|
+
var tmp1_elvis_lhs = parent == null ? null : parent.a3w_1;
|
|
1738
|
+
tmp.e3z_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1739
1739
|
var tmp_0 = this;
|
|
1740
|
-
var tmp1_elvis_lhs_0 = parent == null ? null : parent.
|
|
1741
|
-
tmp_0.
|
|
1740
|
+
var tmp1_elvis_lhs_0 = parent == null ? null : parent.c3w_1;
|
|
1741
|
+
tmp_0.f3z_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1742
1742
|
var tmp_1 = this;
|
|
1743
|
-
var tmp1_elvis_lhs_1 = parent == null ? null : parent.
|
|
1744
|
-
tmp_1.
|
|
1743
|
+
var tmp1_elvis_lhs_1 = parent == null ? null : parent.d3w_1;
|
|
1744
|
+
tmp_1.g3z_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1745
1745
|
var tmp_2 = this;
|
|
1746
|
-
tmp_2.
|
|
1746
|
+
tmp_2.h3z_1 = parent == null ? null : parent.e3w_1;
|
|
1747
1747
|
var tmp_3 = this;
|
|
1748
|
-
var tmp1_elvis_lhs_2 = parent == null ? null : parent.
|
|
1748
|
+
var tmp1_elvis_lhs_2 = parent == null ? null : parent.f3w_1;
|
|
1749
1749
|
var tmp_4;
|
|
1750
1750
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1751
1751
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1752
1752
|
} else {
|
|
1753
1753
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1754
1754
|
}
|
|
1755
|
-
tmp_3.
|
|
1755
|
+
tmp_3.i3z_1 = tmp_4;
|
|
1756
1756
|
var tmp_5 = this;
|
|
1757
|
-
var tmp1_safe_receiver = parent == null ? null : parent.
|
|
1757
|
+
var tmp1_safe_receiver = parent == null ? null : parent.b3w_1;
|
|
1758
1758
|
var tmp_6;
|
|
1759
1759
|
if (tmp1_safe_receiver == null) {
|
|
1760
1760
|
tmp_6 = null;
|
|
@@ -1765,43 +1765,43 @@
|
|
|
1765
1765
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1766
1766
|
// Inline function 'kotlin.text.uppercase' call
|
|
1767
1767
|
// Inline function 'kotlin.text.replace' call
|
|
1768
|
-
var this_0 = command.
|
|
1768
|
+
var this_0 = command.m3v_1;
|
|
1769
1769
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1770
1770
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').u8(this_0, '_').toUpperCase();
|
|
1771
1771
|
}
|
|
1772
|
-
tmp_5.
|
|
1772
|
+
tmp_5.j3z_1 = tmp_6;
|
|
1773
1773
|
var tmp_8 = this;
|
|
1774
|
-
var tmp1_elvis_lhs_3 = parent == null ? null : parent.
|
|
1775
|
-
tmp_8.
|
|
1774
|
+
var tmp1_elvis_lhs_3 = parent == null ? null : parent.g3w_1;
|
|
1775
|
+
tmp_8.k3z_1 = tmp1_elvis_lhs_3 == null ? defaultCliktConsole() : tmp1_elvis_lhs_3;
|
|
1776
1776
|
var tmp_9 = this;
|
|
1777
|
-
var tmp1_elvis_lhs_4 = parent == null ? null : parent.
|
|
1778
|
-
tmp_9.
|
|
1777
|
+
var tmp1_elvis_lhs_4 = parent == null ? null : parent.h3w_1;
|
|
1778
|
+
tmp_9.l3z_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1779
1779
|
var tmp_10 = this;
|
|
1780
|
-
var tmp1_elvis_lhs_5 = parent == null ? null : parent.
|
|
1781
|
-
tmp_10.
|
|
1780
|
+
var tmp1_elvis_lhs_5 = parent == null ? null : parent.i3w_1;
|
|
1781
|
+
tmp_10.m3z_1 = tmp1_elvis_lhs_5 == null ? true : tmp1_elvis_lhs_5;
|
|
1782
1782
|
var tmp_11 = this;
|
|
1783
|
-
tmp_11.
|
|
1784
|
-
this.
|
|
1785
|
-
this.
|
|
1783
|
+
tmp_11.n3z_1 = parent == null ? null : parent.j3w_1;
|
|
1784
|
+
this.o3z_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1785
|
+
this.p3z_1 = get_defaultLocalization();
|
|
1786
1786
|
var tmp_12 = this;
|
|
1787
|
-
var tmp1_elvis_lhs_6 = parent == null ? null : parent.
|
|
1787
|
+
var tmp1_elvis_lhs_6 = parent == null ? null : parent.m3w_1;
|
|
1788
1788
|
var tmp_13;
|
|
1789
1789
|
if (tmp1_elvis_lhs_6 == null) {
|
|
1790
1790
|
tmp_13 = readEnvvar$ref();
|
|
1791
1791
|
} else {
|
|
1792
1792
|
tmp_13 = tmp1_elvis_lhs_6;
|
|
1793
1793
|
}
|
|
1794
|
-
tmp_12.
|
|
1794
|
+
tmp_12.q3z_1 = tmp_13;
|
|
1795
1795
|
}
|
|
1796
1796
|
function Companion() {
|
|
1797
1797
|
}
|
|
1798
|
-
protoOf(Companion).
|
|
1798
|
+
protoOf(Companion).e3x = function (command, parent, argv, block) {
|
|
1799
1799
|
// Inline function 'kotlin.with' call
|
|
1800
1800
|
// Inline function 'kotlin.contracts.contract' call
|
|
1801
1801
|
var $this$with = new Builder(command, parent);
|
|
1802
1802
|
block($this$with);
|
|
1803
1803
|
var tmp;
|
|
1804
|
-
if ($this$with.
|
|
1804
|
+
if ($this$with.e3z_1 ? !command.j3v_1 : false) {
|
|
1805
1805
|
var tmp_0;
|
|
1806
1806
|
if (parent == null) {
|
|
1807
1807
|
tmp_0 = null;
|
|
@@ -1812,11 +1812,11 @@
|
|
|
1812
1812
|
var tmp$ret$1;
|
|
1813
1813
|
$l$block: {
|
|
1814
1814
|
// Inline function 'kotlin.sequences.any' call
|
|
1815
|
-
var tmp0_iterator = parent.
|
|
1815
|
+
var tmp0_iterator = parent.f3x().r();
|
|
1816
1816
|
while (tmp0_iterator.s()) {
|
|
1817
1817
|
var element = tmp0_iterator.u();
|
|
1818
1818
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1819
|
-
if (element.
|
|
1819
|
+
if (element.z3v_1.j3v_1) {
|
|
1820
1820
|
tmp$ret$1 = true;
|
|
1821
1821
|
break $l$block;
|
|
1822
1822
|
}
|
|
@@ -1830,9 +1830,9 @@
|
|
|
1830
1830
|
tmp = false;
|
|
1831
1831
|
}
|
|
1832
1832
|
var interspersed = tmp;
|
|
1833
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1834
|
-
var formatter = tmp1_elvis_lhs == null ? new CliktHelpFormatter($this$with.
|
|
1835
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1833
|
+
var tmp1_elvis_lhs = $this$with.h3z_1;
|
|
1834
|
+
var formatter = tmp1_elvis_lhs == null ? new CliktHelpFormatter($this$with.p3z_1) : tmp1_elvis_lhs;
|
|
1835
|
+
return new Context(parent, command, interspersed, $this$with.j3z_1, $this$with.f3z_1, $this$with.g3z_1, formatter, $this$with.i3z_1, $this$with.k3z_1, $this$with.l3z_1, $this$with.m3z_1, $this$with.n3z_1, $this$with.o3z_1, $this$with.p3z_1, $this$with.q3z_1, argv);
|
|
1836
1836
|
};
|
|
1837
1837
|
var Companion_instance;
|
|
1838
1838
|
function Companion_getInstance() {
|
|
@@ -1846,10 +1846,10 @@
|
|
|
1846
1846
|
return l;
|
|
1847
1847
|
}
|
|
1848
1848
|
function Context$parentNames$lambda(it) {
|
|
1849
|
-
return it.
|
|
1849
|
+
return it.z3v_1.m3v_1;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Context$ancestors$lambda(it) {
|
|
1852
|
-
return it.
|
|
1852
|
+
return it.y3v_1;
|
|
1853
1853
|
}
|
|
1854
1854
|
function Context(parent, command, allowInterspersedArgs, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, console, expandArgumentFiles, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, originalArgv) {
|
|
1855
1855
|
var tmp;
|
|
@@ -1860,33 +1860,33 @@
|
|
|
1860
1860
|
}
|
|
1861
1861
|
readEnvvar = tmp;
|
|
1862
1862
|
originalArgv = originalArgv === VOID ? emptyList() : originalArgv;
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1874
|
-
this.
|
|
1875
|
-
this.
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1878
|
-
this.
|
|
1879
|
-
this.
|
|
1880
|
-
this.
|
|
1881
|
-
}
|
|
1882
|
-
protoOf(Context).
|
|
1883
|
-
var tmp = drop(this.
|
|
1863
|
+
this.y3v_1 = parent;
|
|
1864
|
+
this.z3v_1 = command;
|
|
1865
|
+
this.a3w_1 = allowInterspersedArgs;
|
|
1866
|
+
this.b3w_1 = autoEnvvarPrefix;
|
|
1867
|
+
this.c3w_1 = printExtraMessages;
|
|
1868
|
+
this.d3w_1 = helpOptionNames;
|
|
1869
|
+
this.e3w_1 = helpFormatter;
|
|
1870
|
+
this.f3w_1 = tokenTransformer;
|
|
1871
|
+
this.g3w_1 = console;
|
|
1872
|
+
this.h3w_1 = expandArgumentFiles;
|
|
1873
|
+
this.i3w_1 = readEnvvarBeforeValueSource;
|
|
1874
|
+
this.j3w_1 = valueSource;
|
|
1875
|
+
this.k3w_1 = correctionSuggestor;
|
|
1876
|
+
this.l3w_1 = localization;
|
|
1877
|
+
this.m3w_1 = readEnvvar;
|
|
1878
|
+
this.n3w_1 = originalArgv;
|
|
1879
|
+
this.o3w_1 = null;
|
|
1880
|
+
this.p3w_1 = null;
|
|
1881
|
+
}
|
|
1882
|
+
protoOf(Context).z3w = function () {
|
|
1883
|
+
var tmp = drop(this.f3x(), 1);
|
|
1884
1884
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
1885
1885
|
};
|
|
1886
|
-
protoOf(Context).
|
|
1887
|
-
return plus_2(this.
|
|
1886
|
+
protoOf(Context).a3x = function () {
|
|
1887
|
+
return plus_2(this.z3w(), this.z3v_1.m3v_1);
|
|
1888
1888
|
};
|
|
1889
|
-
protoOf(Context).
|
|
1889
|
+
protoOf(Context).f3x = function () {
|
|
1890
1890
|
return generateSequence(this, Context$ancestors$lambda);
|
|
1891
1891
|
};
|
|
1892
1892
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
@@ -1930,10 +1930,10 @@
|
|
|
1930
1930
|
return destination_1;
|
|
1931
1931
|
}
|
|
1932
1932
|
function sam$kotlin_Comparator$0(function_0) {
|
|
1933
|
-
this.
|
|
1933
|
+
this.r3z_1 = function_0;
|
|
1934
1934
|
}
|
|
1935
1935
|
protoOf(sam$kotlin_Comparator$0).z9 = function (a, b) {
|
|
1936
|
-
return this.
|
|
1936
|
+
return this.r3z_1(a, b);
|
|
1937
1937
|
};
|
|
1938
1938
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
1939
1939
|
return this.z9(a, b);
|
|
@@ -2037,25 +2037,25 @@
|
|
|
2037
2037
|
function ProgramResult(statusCode) {
|
|
2038
2038
|
CliktError.call(this);
|
|
2039
2039
|
captureStack(this, ProgramResult);
|
|
2040
|
-
this.
|
|
2040
|
+
this.r3y_1 = statusCode;
|
|
2041
2041
|
}
|
|
2042
2042
|
function PrintHelpMessage(command, error) {
|
|
2043
2043
|
error = error === VOID ? false : error;
|
|
2044
2044
|
CliktError.call(this);
|
|
2045
2045
|
captureStack(this, PrintHelpMessage);
|
|
2046
|
-
this.
|
|
2047
|
-
this.
|
|
2046
|
+
this.p3y_1 = command;
|
|
2047
|
+
this.q3y_1 = error;
|
|
2048
2048
|
}
|
|
2049
2049
|
function PrintCompletionMessage(message, forceUnixLineEndings) {
|
|
2050
2050
|
PrintMessage.call(this, message);
|
|
2051
2051
|
captureStack(this, PrintCompletionMessage);
|
|
2052
|
-
this.
|
|
2052
|
+
this.o3y_1 = forceUnixLineEndings;
|
|
2053
2053
|
}
|
|
2054
2054
|
function PrintMessage(message, error) {
|
|
2055
2055
|
error = error === VOID ? false : error;
|
|
2056
2056
|
CliktError.call(this, message);
|
|
2057
2057
|
captureStack(this, PrintMessage);
|
|
2058
|
-
this.
|
|
2058
|
+
this.m3y_1 = error;
|
|
2059
2059
|
}
|
|
2060
2060
|
function UsageError_init_$Init$(text, paramName, context, statusCode, $this) {
|
|
2061
2061
|
paramName = paramName === VOID ? null : paramName;
|
|
@@ -2095,57 +2095,57 @@
|
|
|
2095
2095
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2096
2096
|
CliktError.call(this);
|
|
2097
2097
|
captureStack(this, UsageError);
|
|
2098
|
-
this.
|
|
2099
|
-
this.
|
|
2100
|
-
this.
|
|
2101
|
-
this.
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2104
|
-
}
|
|
2105
|
-
protoOf(UsageError).
|
|
2098
|
+
this.f3y_1 = text;
|
|
2099
|
+
this.g3y_1 = paramName;
|
|
2100
|
+
this.h3y_1 = option;
|
|
2101
|
+
this.i3y_1 = argument;
|
|
2102
|
+
this.j3y_1 = context;
|
|
2103
|
+
this.k3y_1 = statusCode;
|
|
2104
|
+
}
|
|
2105
|
+
protoOf(UsageError).l3y = function () {
|
|
2106
2106
|
// Inline function 'kotlin.text.buildString' call
|
|
2107
2107
|
// Inline function 'kotlin.contracts.contract' call
|
|
2108
2108
|
// Inline function 'kotlin.apply' call
|
|
2109
2109
|
var this_0 = StringBuilder_init_$Create$();
|
|
2110
2110
|
// Inline function 'kotlin.contracts.contract' call
|
|
2111
2111
|
// Inline function 'com.github.ajalt.clikt.core.UsageError.helpMessage.<anonymous>' call
|
|
2112
|
-
var tmp0_safe_receiver = this.
|
|
2112
|
+
var tmp0_safe_receiver = this.j3y_1;
|
|
2113
2113
|
if (tmp0_safe_receiver == null)
|
|
2114
2114
|
null;
|
|
2115
2115
|
else {
|
|
2116
2116
|
// Inline function 'kotlin.let' call
|
|
2117
2117
|
// Inline function 'kotlin.contracts.contract' call
|
|
2118
2118
|
// Inline function 'com.github.ajalt.clikt.core.UsageError.helpMessage.<anonymous>.<anonymous>' call
|
|
2119
|
-
this_0.v5(tmp0_safe_receiver.
|
|
2119
|
+
this_0.v5(tmp0_safe_receiver.z3v_1.o3x()).v5('\n\n');
|
|
2120
2120
|
}
|
|
2121
|
-
this_0.v5(this.
|
|
2121
|
+
this_0.v5(this.u3z().w3z(this.v3z()));
|
|
2122
2122
|
return this_0.toString();
|
|
2123
2123
|
};
|
|
2124
2124
|
protoOf(UsageError).na = function () {
|
|
2125
|
-
return this.
|
|
2125
|
+
return this.v3z();
|
|
2126
2126
|
};
|
|
2127
|
-
protoOf(UsageError).
|
|
2128
|
-
var tmp0_elvis_lhs = this.
|
|
2127
|
+
protoOf(UsageError).v3z = function () {
|
|
2128
|
+
var tmp0_elvis_lhs = this.f3y_1;
|
|
2129
2129
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2130
2130
|
};
|
|
2131
|
-
protoOf(UsageError).
|
|
2131
|
+
protoOf(UsageError).x3z = function () {
|
|
2132
2132
|
var tmp;
|
|
2133
|
-
if (!(this.
|
|
2134
|
-
tmp = ensureNotNull(this.
|
|
2135
|
-
} else if (!(this.
|
|
2136
|
-
var tmp0_safe_receiver = this.
|
|
2133
|
+
if (!(this.g3y_1 == null)) {
|
|
2134
|
+
tmp = ensureNotNull(this.g3y_1);
|
|
2135
|
+
} else if (!(this.h3y_1 == null)) {
|
|
2136
|
+
var tmp0_safe_receiver = this.h3y_1;
|
|
2137
2137
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : longestName(tmp0_safe_receiver);
|
|
2138
2138
|
tmp = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2139
|
-
} else if (!(this.
|
|
2140
|
-
tmp = ensureNotNull(this.
|
|
2139
|
+
} else if (!(this.i3y_1 == null)) {
|
|
2140
|
+
tmp = ensureNotNull(this.i3y_1).bb();
|
|
2141
2141
|
} else {
|
|
2142
2142
|
tmp = '';
|
|
2143
2143
|
}
|
|
2144
2144
|
return tmp;
|
|
2145
2145
|
};
|
|
2146
|
-
protoOf(UsageError).
|
|
2147
|
-
var tmp0_safe_receiver = this.
|
|
2148
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2146
|
+
protoOf(UsageError).u3z = function () {
|
|
2147
|
+
var tmp0_safe_receiver = this.j3y_1;
|
|
2148
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l3w_1;
|
|
2149
2149
|
return tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
2150
2150
|
};
|
|
2151
2151
|
function CliktError(message, cause) {
|
|
@@ -2160,10 +2160,10 @@
|
|
|
2160
2160
|
context = context === VOID ? null : context;
|
|
2161
2161
|
UsageError_init_$Init$_1('', option, context, VOID, this);
|
|
2162
2162
|
captureStack(this, IncorrectOptionValueCount);
|
|
2163
|
-
this.
|
|
2163
|
+
this.e40_1 = givenName;
|
|
2164
2164
|
}
|
|
2165
|
-
protoOf(IncorrectOptionValueCount).
|
|
2166
|
-
return this.
|
|
2165
|
+
protoOf(IncorrectOptionValueCount).v3z = function () {
|
|
2166
|
+
return this.u3z().f40(this.e40_1, ensureNotNull(this.h3y_1).t3w());
|
|
2167
2167
|
};
|
|
2168
2168
|
function BadParameterValue_init_$Init$(text, context, $this) {
|
|
2169
2169
|
context = context === VOID ? null : context;
|
|
@@ -2198,9 +2198,9 @@
|
|
|
2198
2198
|
captureStack(tmp, BadParameterValue_init_$Create$_1);
|
|
2199
2199
|
return tmp;
|
|
2200
2200
|
}
|
|
2201
|
-
protoOf(BadParameterValue).
|
|
2201
|
+
protoOf(BadParameterValue).v3z = function () {
|
|
2202
2202
|
// Inline function 'kotlin.takeUnless' call
|
|
2203
|
-
var this_0 = this.
|
|
2203
|
+
var this_0 = this.f3y_1;
|
|
2204
2204
|
// Inline function 'kotlin.contracts.contract' call
|
|
2205
2205
|
var tmp;
|
|
2206
2206
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
@@ -2213,7 +2213,7 @@
|
|
|
2213
2213
|
}
|
|
2214
2214
|
var m = tmp;
|
|
2215
2215
|
// Inline function 'kotlin.takeIf' call
|
|
2216
|
-
var this_1 = this.
|
|
2216
|
+
var this_1 = this.x3z();
|
|
2217
2217
|
// Inline function 'kotlin.contracts.contract' call
|
|
2218
2218
|
var tmp_0;
|
|
2219
2219
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
@@ -2226,13 +2226,13 @@
|
|
|
2226
2226
|
var p = tmp_0;
|
|
2227
2227
|
var tmp_1;
|
|
2228
2228
|
if (m == null ? p == null : false) {
|
|
2229
|
-
tmp_1 = this.
|
|
2229
|
+
tmp_1 = this.u3z().p40();
|
|
2230
2230
|
} else if (m == null ? !(p == null) : false) {
|
|
2231
|
-
tmp_1 = this.
|
|
2231
|
+
tmp_1 = this.u3z().o40(p);
|
|
2232
2232
|
} else if (!(m == null) ? p == null : false) {
|
|
2233
|
-
tmp_1 = this.
|
|
2233
|
+
tmp_1 = this.u3z().n40(m);
|
|
2234
2234
|
} else if (!(m == null) ? !(p == null) : false) {
|
|
2235
|
-
tmp_1 = this.
|
|
2235
|
+
tmp_1 = this.u3z().m40(p, m);
|
|
2236
2236
|
} else {
|
|
2237
2237
|
var message = 'impossible';
|
|
2238
2238
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2247,66 +2247,66 @@
|
|
|
2247
2247
|
UsageError_init_$Init$_1('', option, context, VOID, this);
|
|
2248
2248
|
captureStack(this, MissingOption);
|
|
2249
2249
|
}
|
|
2250
|
-
protoOf(MissingOption).
|
|
2251
|
-
return this.
|
|
2250
|
+
protoOf(MissingOption).v3z = function () {
|
|
2251
|
+
return this.u3z().w40(this.x3z());
|
|
2252
2252
|
};
|
|
2253
2253
|
function NoSuchSubcommand(givenName, possibilities, context) {
|
|
2254
2254
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2255
2255
|
context = context === VOID ? null : context;
|
|
2256
2256
|
NoSuchParameter.call(this, context);
|
|
2257
2257
|
captureStack(this, NoSuchSubcommand);
|
|
2258
|
-
this.
|
|
2259
|
-
this.
|
|
2258
|
+
this.d41_1 = givenName;
|
|
2259
|
+
this.e41_1 = possibilities;
|
|
2260
2260
|
}
|
|
2261
|
-
protoOf(NoSuchSubcommand).
|
|
2262
|
-
return this.
|
|
2261
|
+
protoOf(NoSuchSubcommand).v3z = function () {
|
|
2262
|
+
return this.u3z().f41(this.d41_1, this.e41_1);
|
|
2263
2263
|
};
|
|
2264
2264
|
function NoSuchOption(givenName, possibilities, context) {
|
|
2265
2265
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2266
2266
|
context = context === VOID ? null : context;
|
|
2267
2267
|
NoSuchParameter.call(this, context);
|
|
2268
2268
|
captureStack(this, NoSuchOption);
|
|
2269
|
-
this.
|
|
2270
|
-
this.
|
|
2269
|
+
this.m41_1 = givenName;
|
|
2270
|
+
this.n41_1 = possibilities;
|
|
2271
2271
|
}
|
|
2272
|
-
protoOf(NoSuchOption).
|
|
2273
|
-
return this.
|
|
2272
|
+
protoOf(NoSuchOption).v3z = function () {
|
|
2273
|
+
return this.u3z().o41(this.m41_1, this.n41_1);
|
|
2274
2274
|
};
|
|
2275
2275
|
function MissingArgument(argument, context) {
|
|
2276
2276
|
context = context === VOID ? null : context;
|
|
2277
2277
|
UsageError_init_$Init$_0('', argument, context, VOID, this);
|
|
2278
2278
|
captureStack(this, MissingArgument);
|
|
2279
2279
|
}
|
|
2280
|
-
protoOf(MissingArgument).
|
|
2281
|
-
return this.
|
|
2280
|
+
protoOf(MissingArgument).v3z = function () {
|
|
2281
|
+
return this.u3z().v41(this.x3z());
|
|
2282
2282
|
};
|
|
2283
2283
|
function IncorrectArgumentValueCount(argument, context) {
|
|
2284
2284
|
context = context === VOID ? null : context;
|
|
2285
2285
|
UsageError_init_$Init$_0('', argument, context, VOID, this);
|
|
2286
2286
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2287
2287
|
}
|
|
2288
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2289
|
-
return this.
|
|
2288
|
+
protoOf(IncorrectArgumentValueCount).v3z = function () {
|
|
2289
|
+
return this.u3z().c42(this.x3z(), ensureNotNull(this.i3y_1).t3w());
|
|
2290
2290
|
};
|
|
2291
2291
|
function FileNotFound(filename, context) {
|
|
2292
2292
|
context = context === VOID ? null : context;
|
|
2293
2293
|
UsageError_init_$Init$('', VOID, context, VOID, this);
|
|
2294
2294
|
captureStack(this, FileNotFound);
|
|
2295
|
-
this.
|
|
2295
|
+
this.j42_1 = filename;
|
|
2296
2296
|
}
|
|
2297
|
-
protoOf(FileNotFound).
|
|
2298
|
-
return this.
|
|
2297
|
+
protoOf(FileNotFound).v3z = function () {
|
|
2298
|
+
return this.u3z().k42(this.j42_1);
|
|
2299
2299
|
};
|
|
2300
2300
|
function InvalidFileFormat(filename, message, lineno, context) {
|
|
2301
2301
|
lineno = lineno === VOID ? null : lineno;
|
|
2302
2302
|
context = context === VOID ? null : context;
|
|
2303
2303
|
UsageError_init_$Init$(message, VOID, context, VOID, this);
|
|
2304
2304
|
captureStack(this, InvalidFileFormat);
|
|
2305
|
-
this.
|
|
2306
|
-
this.
|
|
2305
|
+
this.r42_1 = filename;
|
|
2306
|
+
this.s42_1 = lineno;
|
|
2307
2307
|
}
|
|
2308
|
-
protoOf(InvalidFileFormat).
|
|
2309
|
-
return this.
|
|
2308
|
+
protoOf(InvalidFileFormat).v3z = function () {
|
|
2309
|
+
return this.s42_1 == null ? this.u3z().u42(this.r42_1, ensureNotNull(this.f3y_1)) : this.u3z().t42(this.r42_1, this.s42_1, ensureNotNull(this.f3y_1));
|
|
2310
2310
|
};
|
|
2311
2311
|
function NoSuchParameter(context) {
|
|
2312
2312
|
UsageError_init_$Init$('', VOID, context, VOID, this);
|
|
@@ -2321,7 +2321,7 @@
|
|
|
2321
2321
|
var option = tmp1_loop_parameter.q2();
|
|
2322
2322
|
// Inline function 'kotlin.collections.component2' call
|
|
2323
2323
|
var invocations = tmp1_loop_parameter.r2();
|
|
2324
|
-
option.
|
|
2324
|
+
option.v42(context, invocations);
|
|
2325
2325
|
}
|
|
2326
2326
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2327
2327
|
var retries = ArrayList_init_$Create$();
|
|
@@ -2342,7 +2342,7 @@
|
|
|
2342
2342
|
while (tmp2_iterator.s()) {
|
|
2343
2343
|
var o = tmp2_iterator.u();
|
|
2344
2344
|
try {
|
|
2345
|
-
o.
|
|
2345
|
+
o.v42(context, emptyList());
|
|
2346
2346
|
} catch ($p) {
|
|
2347
2347
|
if ($p instanceof IllegalStateException) {
|
|
2348
2348
|
var e = $p;
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
var tmp3_iterator = retries.r();
|
|
2357
2357
|
while (tmp3_iterator.s()) {
|
|
2358
2358
|
var o_0 = tmp3_iterator.u();
|
|
2359
|
-
o_0.
|
|
2359
|
+
o_0.v42(context, emptyList());
|
|
2360
2360
|
}
|
|
2361
2361
|
}
|
|
2362
2362
|
function get_ANSI_CODE_RE() {
|
|
@@ -2387,11 +2387,11 @@
|
|
|
2387
2387
|
}
|
|
2388
2388
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.measureFirstColumn.<anonymous>' call
|
|
2389
2389
|
var it = maxElem;
|
|
2390
|
-
var maxValue = $this.
|
|
2390
|
+
var maxValue = $this.h43(it.w42_1);
|
|
2391
2391
|
do {
|
|
2392
2392
|
var e = iterator.u();
|
|
2393
2393
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.measureFirstColumn.<anonymous>' call
|
|
2394
|
-
var v = $this.
|
|
2394
|
+
var v = $this.h43(e.w42_1);
|
|
2395
2395
|
if (compareTo(maxValue, v) < 0) {
|
|
2396
2396
|
maxElem = e;
|
|
2397
2397
|
maxValue = v;
|
|
@@ -2401,36 +2401,36 @@
|
|
|
2401
2401
|
tmp$ret$0 = maxElem;
|
|
2402
2402
|
}
|
|
2403
2403
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
2404
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2405
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : $this.
|
|
2406
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : coerceAtMost(tmp2_safe_receiver, $this.
|
|
2407
|
-
return tmp3_elvis_lhs == null ? $this.
|
|
2404
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w42_1;
|
|
2405
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : $this.h43(tmp1_safe_receiver);
|
|
2406
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : coerceAtMost(tmp2_safe_receiver, $this.g43_1);
|
|
2407
|
+
return tmp3_elvis_lhs == null ? $this.g43_1 : tmp3_elvis_lhs;
|
|
2408
2408
|
}
|
|
2409
2409
|
function section(_this__u8e3s4, $this, title) {
|
|
2410
|
-
_this__u8e3s4.v5('\n').v5($this.
|
|
2410
|
+
_this__u8e3s4.v5('\n').v5($this.i43(title)).v5('\n');
|
|
2411
2411
|
}
|
|
2412
2412
|
function DefinitionRow(col1, col2, marker) {
|
|
2413
2413
|
marker = marker === VOID ? null : marker;
|
|
2414
|
-
this.
|
|
2415
|
-
this.
|
|
2416
|
-
this.
|
|
2414
|
+
this.w42_1 = col1;
|
|
2415
|
+
this.x42_1 = col2;
|
|
2416
|
+
this.y42_1 = marker;
|
|
2417
2417
|
}
|
|
2418
2418
|
protoOf(DefinitionRow).me = function () {
|
|
2419
|
-
return this.
|
|
2419
|
+
return this.w42_1;
|
|
2420
2420
|
};
|
|
2421
2421
|
protoOf(DefinitionRow).ne = function () {
|
|
2422
|
-
return this.
|
|
2422
|
+
return this.x42_1;
|
|
2423
2423
|
};
|
|
2424
2424
|
protoOf(DefinitionRow).oj = function () {
|
|
2425
|
-
return this.
|
|
2425
|
+
return this.y42_1;
|
|
2426
2426
|
};
|
|
2427
2427
|
protoOf(DefinitionRow).toString = function () {
|
|
2428
|
-
return 'DefinitionRow(col1=' + this.
|
|
2428
|
+
return 'DefinitionRow(col1=' + this.w42_1 + ', col2=' + this.x42_1 + ', marker=' + this.y42_1 + ')';
|
|
2429
2429
|
};
|
|
2430
2430
|
protoOf(DefinitionRow).hashCode = function () {
|
|
2431
|
-
var result = getStringHashCode(this.
|
|
2432
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2433
|
-
result = imul(result, 31) + (this.
|
|
2431
|
+
var result = getStringHashCode(this.w42_1);
|
|
2432
|
+
result = imul(result, 31) + getStringHashCode(this.x42_1) | 0;
|
|
2433
|
+
result = imul(result, 31) + (this.y42_1 == null ? 0 : getStringHashCode(this.y42_1)) | 0;
|
|
2434
2434
|
return result;
|
|
2435
2435
|
};
|
|
2436
2436
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -2439,28 +2439,28 @@
|
|
|
2439
2439
|
if (!(other instanceof DefinitionRow))
|
|
2440
2440
|
return false;
|
|
2441
2441
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
2442
|
-
if (!(this.
|
|
2442
|
+
if (!(this.w42_1 === tmp0_other_with_cast.w42_1))
|
|
2443
2443
|
return false;
|
|
2444
|
-
if (!(this.
|
|
2444
|
+
if (!(this.x42_1 === tmp0_other_with_cast.x42_1))
|
|
2445
2445
|
return false;
|
|
2446
|
-
if (!(this.
|
|
2446
|
+
if (!(this.y42_1 == tmp0_other_with_cast.y42_1))
|
|
2447
2447
|
return false;
|
|
2448
2448
|
return true;
|
|
2449
2449
|
};
|
|
2450
2450
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
2451
|
-
this.
|
|
2451
|
+
this.j43_1 = function_0;
|
|
2452
2452
|
}
|
|
2453
2453
|
protoOf(sam$kotlin_Comparator$0_0).z9 = function (a, b) {
|
|
2454
|
-
return this.
|
|
2454
|
+
return this.j43_1(a, b);
|
|
2455
2455
|
};
|
|
2456
2456
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
2457
2457
|
return this.z9(a, b);
|
|
2458
2458
|
};
|
|
2459
2459
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
2460
|
-
this.
|
|
2460
|
+
this.k43_1 = function_0;
|
|
2461
2461
|
}
|
|
2462
2462
|
protoOf(sam$kotlin_Comparator$0_1).z9 = function (a, b) {
|
|
2463
|
-
return this.
|
|
2463
|
+
return this.k43_1(a, b);
|
|
2464
2464
|
};
|
|
2465
2465
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
2466
2466
|
return this.z9(a, b);
|
|
@@ -2479,7 +2479,7 @@
|
|
|
2479
2479
|
var k = _name_for_destructuring_parameter_0__wldtmu.q2();
|
|
2480
2480
|
// Inline function 'kotlin.collections.component2' call
|
|
2481
2481
|
var v = _name_for_destructuring_parameter_0__wldtmu.r2();
|
|
2482
|
-
return this$0.
|
|
2482
|
+
return this$0.l43(k, v);
|
|
2483
2483
|
};
|
|
2484
2484
|
}
|
|
2485
2485
|
function CliktHelpFormatter$renderHelpText$lambda_0(this$0) {
|
|
@@ -2488,7 +2488,7 @@
|
|
|
2488
2488
|
var k = _name_for_destructuring_parameter_0__wldtmu.q2();
|
|
2489
2489
|
// Inline function 'kotlin.collections.component2' call
|
|
2490
2490
|
var v = _name_for_destructuring_parameter_0__wldtmu.r2();
|
|
2491
|
-
return this$0.
|
|
2491
|
+
return this$0.m43(k, v);
|
|
2492
2492
|
};
|
|
2493
2493
|
}
|
|
2494
2494
|
function CliktHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -2501,7 +2501,7 @@
|
|
|
2501
2501
|
}
|
|
2502
2502
|
function CliktHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
2503
2503
|
return function (it) {
|
|
2504
|
-
return this$0.
|
|
2504
|
+
return this$0.n43(it);
|
|
2505
2505
|
};
|
|
2506
2506
|
}
|
|
2507
2507
|
function CliktHelpFormatter(localization, indent, width, maxWidth, maxColWidth, colSpacing, requiredOptionMarker, showDefaultValues, showRequiredTag) {
|
|
@@ -2514,12 +2514,12 @@
|
|
|
2514
2514
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
2515
2515
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
2516
2516
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
2517
|
-
this.
|
|
2518
|
-
this.
|
|
2519
|
-
this.
|
|
2520
|
-
this.
|
|
2521
|
-
this.
|
|
2522
|
-
this.
|
|
2517
|
+
this.z42_1 = localization;
|
|
2518
|
+
this.a43_1 = indent;
|
|
2519
|
+
this.b43_1 = colSpacing;
|
|
2520
|
+
this.c43_1 = requiredOptionMarker;
|
|
2521
|
+
this.d43_1 = showDefaultValues;
|
|
2522
|
+
this.e43_1 = showRequiredTag;
|
|
2523
2523
|
var tmp = this;
|
|
2524
2524
|
var tmp_0;
|
|
2525
2525
|
if (width == null) {
|
|
@@ -2531,37 +2531,37 @@
|
|
|
2531
2531
|
} else {
|
|
2532
2532
|
tmp_0 = width;
|
|
2533
2533
|
}
|
|
2534
|
-
tmp.
|
|
2534
|
+
tmp.f43_1 = tmp_0;
|
|
2535
2535
|
var tmp_1 = this;
|
|
2536
|
-
tmp_1.
|
|
2536
|
+
tmp_1.g43_1 = maxColWidth == null ? numberToInt(this.f43_1 / 2.5) : maxColWidth;
|
|
2537
2537
|
}
|
|
2538
|
-
protoOf(CliktHelpFormatter).
|
|
2538
|
+
protoOf(CliktHelpFormatter).p3x = function (parameters, programName) {
|
|
2539
2539
|
// Inline function 'kotlin.text.buildString' call
|
|
2540
2540
|
// Inline function 'kotlin.contracts.contract' call
|
|
2541
2541
|
// Inline function 'kotlin.apply' call
|
|
2542
2542
|
var this_0 = StringBuilder_init_$Create$();
|
|
2543
2543
|
// Inline function 'kotlin.contracts.contract' call
|
|
2544
2544
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.formatUsage.<anonymous>' call
|
|
2545
|
-
this.
|
|
2545
|
+
this.o43(this_0, parameters, programName);
|
|
2546
2546
|
return this_0.toString();
|
|
2547
2547
|
};
|
|
2548
|
-
protoOf(CliktHelpFormatter).
|
|
2548
|
+
protoOf(CliktHelpFormatter).r3x = function (prolog, epilog, parameters, programName) {
|
|
2549
2549
|
// Inline function 'kotlin.text.buildString' call
|
|
2550
2550
|
// Inline function 'kotlin.contracts.contract' call
|
|
2551
2551
|
// Inline function 'kotlin.apply' call
|
|
2552
2552
|
var this_0 = StringBuilder_init_$Create$();
|
|
2553
2553
|
// Inline function 'kotlin.contracts.contract' call
|
|
2554
2554
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.formatHelp.<anonymous>' call
|
|
2555
|
-
this.
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2558
|
-
this.
|
|
2559
|
-
this.
|
|
2560
|
-
this.
|
|
2555
|
+
this.o43(this_0, parameters, programName);
|
|
2556
|
+
this.p43(this_0, prolog);
|
|
2557
|
+
this.q43(this_0, parameters);
|
|
2558
|
+
this.r43(this_0, parameters);
|
|
2559
|
+
this.s43(this_0, parameters);
|
|
2560
|
+
this.t43(this_0, epilog);
|
|
2561
2561
|
return this_0.toString();
|
|
2562
2562
|
};
|
|
2563
|
-
protoOf(CliktHelpFormatter).
|
|
2564
|
-
var prog = this.
|
|
2563
|
+
protoOf(CliktHelpFormatter).o43 = function (_this__u8e3s4, parameters, programName) {
|
|
2564
|
+
var prog = this.i43(this.z42_1.u43()) + ' ' + programName;
|
|
2565
2565
|
// Inline function 'kotlin.text.buildString' call
|
|
2566
2566
|
// Inline function 'kotlin.contracts.contract' call
|
|
2567
2567
|
// Inline function 'kotlin.apply' call
|
|
@@ -2593,7 +2593,7 @@
|
|
|
2593
2593
|
tmp$ret$0 = false;
|
|
2594
2594
|
}
|
|
2595
2595
|
if (tmp$ret$0) {
|
|
2596
|
-
this_0.v5(this.
|
|
2596
|
+
this_0.v5(this.z42_1.v43());
|
|
2597
2597
|
}
|
|
2598
2598
|
// Inline function 'kotlin.collections.forEach' call
|
|
2599
2599
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -2611,14 +2611,14 @@
|
|
|
2611
2611
|
var element_1 = tmp0_iterator_1.u();
|
|
2612
2612
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addUsage.<anonymous>.<anonymous>' call
|
|
2613
2613
|
this_0.v5(' ');
|
|
2614
|
-
if (!element_1.
|
|
2614
|
+
if (!element_1.y43_1) {
|
|
2615
2615
|
this_0.v5('[');
|
|
2616
2616
|
}
|
|
2617
|
-
this_0.v5(element_1.
|
|
2618
|
-
if (!element_1.
|
|
2617
|
+
this_0.v5(element_1.w43_1);
|
|
2618
|
+
if (!element_1.y43_1) {
|
|
2619
2619
|
this_0.v5(']');
|
|
2620
2620
|
}
|
|
2621
|
-
if (element_1.
|
|
2621
|
+
if (element_1.z43_1) {
|
|
2622
2622
|
this_0.v5('...');
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
@@ -2647,34 +2647,34 @@
|
|
|
2647
2647
|
tmp$ret$4 = false;
|
|
2648
2648
|
}
|
|
2649
2649
|
if (tmp$ret$4) {
|
|
2650
|
-
this_0.v5(' ').v5(this.
|
|
2650
|
+
this_0.v5(' ').v5(this.z42_1.b44());
|
|
2651
2651
|
}
|
|
2652
2652
|
var usage = this_0.toString();
|
|
2653
2653
|
// Inline function 'kotlin.text.isEmpty' call
|
|
2654
2654
|
if (charSequenceLength(usage) === 0) {
|
|
2655
2655
|
_this__u8e3s4.v5(prog);
|
|
2656
2656
|
} else {
|
|
2657
|
-
if (this.
|
|
2657
|
+
if (this.h43(prog) >= (this.f43_1 - 20 | 0) ? (this.h43(prog) + this.h43(usage) | 0) > (this.f43_1 - 2 | 0) : false) {
|
|
2658
2658
|
_this__u8e3s4.v5(prog).v5('\n');
|
|
2659
2659
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2660
|
-
var a = this.
|
|
2660
|
+
var a = this.f43_1 / 3 | 0;
|
|
2661
2661
|
var tmp$ret$9 = Math.min(a, 11);
|
|
2662
2662
|
var usageIndent = repeat(' ', tmp$ret$9);
|
|
2663
|
-
wrapText(usage, _this__u8e3s4, this.
|
|
2663
|
+
wrapText(usage, _this__u8e3s4, this.f43_1, usageIndent, usageIndent);
|
|
2664
2664
|
} else {
|
|
2665
2665
|
var usageIndent_0 = repeat(' ', prog.length + 1 | 0);
|
|
2666
|
-
wrapText(usage, _this__u8e3s4, this.
|
|
2666
|
+
wrapText(usage, _this__u8e3s4, this.f43_1, prog + ' ', usageIndent_0);
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
2669
|
};
|
|
2670
|
-
protoOf(CliktHelpFormatter).
|
|
2670
|
+
protoOf(CliktHelpFormatter).p43 = function (_this__u8e3s4, prolog) {
|
|
2671
2671
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2672
2672
|
if (charSequenceLength(prolog) > 0) {
|
|
2673
2673
|
_this__u8e3s4.v5('\n\n');
|
|
2674
|
-
wrapText(prolog, _this__u8e3s4, this.
|
|
2674
|
+
wrapText(prolog, _this__u8e3s4, this.f43_1, ' ', ' ');
|
|
2675
2675
|
}
|
|
2676
2676
|
};
|
|
2677
|
-
protoOf(CliktHelpFormatter).
|
|
2677
|
+
protoOf(CliktHelpFormatter).q43 = function (_this__u8e3s4, parameters) {
|
|
2678
2678
|
// Inline function 'kotlin.collections.associateBy' call
|
|
2679
2679
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
2680
2680
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -2693,7 +2693,7 @@
|
|
|
2693
2693
|
while (tmp0_iterator_0.s()) {
|
|
2694
2694
|
var element_0 = tmp0_iterator_0.u();
|
|
2695
2695
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptions.<anonymous>' call
|
|
2696
|
-
var tmp$ret$2 = element_0.
|
|
2696
|
+
var tmp$ret$2 = element_0.c44_1;
|
|
2697
2697
|
destination_0.n2(tmp$ret$2, element_0);
|
|
2698
2698
|
}
|
|
2699
2699
|
var groupsByName = destination_0;
|
|
@@ -2716,7 +2716,7 @@
|
|
|
2716
2716
|
while (tmp0_iterator_2.s()) {
|
|
2717
2717
|
var element_2 = tmp0_iterator_2.u();
|
|
2718
2718
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptions.<anonymous>' call
|
|
2719
|
-
var key = element_2.
|
|
2719
|
+
var key = element_2.k44_1;
|
|
2720
2720
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2721
2721
|
var value = destination_2.x2(key);
|
|
2722
2722
|
var tmp;
|
|
@@ -2751,13 +2751,13 @@
|
|
|
2751
2751
|
tmp_1 = title + ':';
|
|
2752
2752
|
}
|
|
2753
2753
|
var tmp1_elvis_lhs = tmp_1;
|
|
2754
|
-
var tmp_2 = tmp1_elvis_lhs == null ? this.
|
|
2754
|
+
var tmp_2 = tmp1_elvis_lhs == null ? this.z42_1.l44() : tmp1_elvis_lhs;
|
|
2755
2755
|
// Inline function 'kotlin.collections.get' call
|
|
2756
2756
|
var tmp2_safe_receiver = (isInterface(groupsByName, Map) ? groupsByName : THROW_CCE()).x2(title);
|
|
2757
|
-
this.
|
|
2757
|
+
this.m44(_this__u8e3s4, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d44_1, params);
|
|
2758
2758
|
}
|
|
2759
2759
|
};
|
|
2760
|
-
protoOf(CliktHelpFormatter).
|
|
2760
|
+
protoOf(CliktHelpFormatter).m44 = function (_this__u8e3s4, title, help, parameters) {
|
|
2761
2761
|
// Inline function 'kotlin.collections.map' call
|
|
2762
2762
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2763
2763
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -2765,22 +2765,22 @@
|
|
|
2765
2765
|
while (tmp0_iterator.s()) {
|
|
2766
2766
|
var item = tmp0_iterator.u();
|
|
2767
2767
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptionGroup.<anonymous>' call
|
|
2768
|
-
var names = mutableListOf([this.
|
|
2768
|
+
var names = mutableListOf([this.n44(item.e44_1)]);
|
|
2769
2769
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2770
|
-
if (!item.
|
|
2770
|
+
if (!item.f44_1.y()) {
|
|
2771
2771
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2772
|
-
var element = this.
|
|
2772
|
+
var element = this.n44(item.f44_1);
|
|
2773
2773
|
names.o(element);
|
|
2774
2774
|
}
|
|
2775
|
-
var tmp = joinToString(names, ' / ', VOID, this.
|
|
2776
|
-
var tmp_0 = this.
|
|
2775
|
+
var tmp = joinToString(names, ' / ', VOID, this.o44(item));
|
|
2776
|
+
var tmp_0 = this.p44(item.h44_1, item.j44_1);
|
|
2777
2777
|
var tmp_1;
|
|
2778
2778
|
// Inline function 'kotlin.collections.contains' call
|
|
2779
|
-
var this_0 = item.
|
|
2779
|
+
var this_0 = item.j44_1;
|
|
2780
2780
|
// Inline function 'kotlin.collections.containsKey' call
|
|
2781
2781
|
var key = 'required';
|
|
2782
2782
|
if ((isInterface(this_0, Map) ? this_0 : THROW_CCE()).u2(key)) {
|
|
2783
|
-
tmp_1 = this.
|
|
2783
|
+
tmp_1 = this.c43_1;
|
|
2784
2784
|
} else {
|
|
2785
2785
|
tmp_1 = null;
|
|
2786
2786
|
}
|
|
@@ -2798,15 +2798,15 @@
|
|
|
2798
2798
|
if (help == null)
|
|
2799
2799
|
null;
|
|
2800
2800
|
else {
|
|
2801
|
-
wrapText(help, _this__u8e3s4, this.
|
|
2801
|
+
wrapText(help, _this__u8e3s4, this.f43_1, ' ', ' ');
|
|
2802
2802
|
}
|
|
2803
2803
|
if (!(help == null)) {
|
|
2804
2804
|
_this__u8e3s4.v5('\n\n');
|
|
2805
2805
|
}
|
|
2806
|
-
this.
|
|
2806
|
+
this.q44(_this__u8e3s4, options);
|
|
2807
2807
|
}
|
|
2808
2808
|
};
|
|
2809
|
-
protoOf(CliktHelpFormatter).
|
|
2809
|
+
protoOf(CliktHelpFormatter).r43 = function (_this__u8e3s4, parameters) {
|
|
2810
2810
|
// Inline function 'kotlin.collections.map' call
|
|
2811
2811
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
2812
2812
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -2824,7 +2824,7 @@
|
|
|
2824
2824
|
while (tmp0_iterator_0.s()) {
|
|
2825
2825
|
var item = tmp0_iterator_0.u();
|
|
2826
2826
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addArguments.<anonymous>' call
|
|
2827
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
2827
|
+
var tmp$ret$2 = new DefinitionRow(this.r44(item.w43_1), this.p44(item.x43_1, item.a44_1));
|
|
2828
2828
|
destination_0.o(tmp$ret$2);
|
|
2829
2829
|
}
|
|
2830
2830
|
var arguments_0 = destination_0;
|
|
@@ -2849,7 +2849,7 @@
|
|
|
2849
2849
|
var element_0 = tmp0_iterator_1.u();
|
|
2850
2850
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addArguments.<anonymous>' call
|
|
2851
2851
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2852
|
-
var this_0 = element_0.
|
|
2852
|
+
var this_0 = element_0.x42_1;
|
|
2853
2853
|
if (charSequenceLength(this_0) > 0) {
|
|
2854
2854
|
tmp$ret$6 = true;
|
|
2855
2855
|
break $l$block_0;
|
|
@@ -2863,11 +2863,11 @@
|
|
|
2863
2863
|
}
|
|
2864
2864
|
if (tmp) {
|
|
2865
2865
|
_this__u8e3s4.v5('\n');
|
|
2866
|
-
section(_this__u8e3s4, this, this.
|
|
2867
|
-
this.
|
|
2866
|
+
section(_this__u8e3s4, this, this.z42_1.s44());
|
|
2867
|
+
this.q44(_this__u8e3s4, arguments_0);
|
|
2868
2868
|
}
|
|
2869
2869
|
};
|
|
2870
|
-
protoOf(CliktHelpFormatter).
|
|
2870
|
+
protoOf(CliktHelpFormatter).s43 = function (_this__u8e3s4, parameters) {
|
|
2871
2871
|
// Inline function 'kotlin.collections.map' call
|
|
2872
2872
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
2873
2873
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -2885,25 +2885,25 @@
|
|
|
2885
2885
|
while (tmp0_iterator_0.s()) {
|
|
2886
2886
|
var item = tmp0_iterator_0.u();
|
|
2887
2887
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addCommands.<anonymous>' call
|
|
2888
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
2888
|
+
var tmp$ret$2 = new DefinitionRow(this.w44(item.t44_1), this.p44(item.u44_1, item.v44_1));
|
|
2889
2889
|
destination_0.o(tmp$ret$2);
|
|
2890
2890
|
}
|
|
2891
2891
|
var commands = destination_0;
|
|
2892
2892
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2893
2893
|
if (!commands.y()) {
|
|
2894
2894
|
_this__u8e3s4.v5('\n');
|
|
2895
|
-
section(_this__u8e3s4, this, this.
|
|
2896
|
-
this.
|
|
2895
|
+
section(_this__u8e3s4, this, this.z42_1.x44());
|
|
2896
|
+
this.q44(_this__u8e3s4, commands);
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
|
-
protoOf(CliktHelpFormatter).
|
|
2899
|
+
protoOf(CliktHelpFormatter).t43 = function (_this__u8e3s4, epilog) {
|
|
2900
2900
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2901
2901
|
if (charSequenceLength(epilog) > 0) {
|
|
2902
2902
|
_this__u8e3s4.v5('\n\n');
|
|
2903
|
-
wrapText(epilog, _this__u8e3s4, this.
|
|
2903
|
+
wrapText(epilog, _this__u8e3s4, this.f43_1);
|
|
2904
2904
|
}
|
|
2905
2905
|
};
|
|
2906
|
-
protoOf(CliktHelpFormatter).
|
|
2906
|
+
protoOf(CliktHelpFormatter).p44 = function (help, tags) {
|
|
2907
2907
|
var tmp = asSequence(tags);
|
|
2908
2908
|
var tmp_0 = filter(tmp, CliktHelpFormatter$renderHelpText$lambda(this));
|
|
2909
2909
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, CliktHelpFormatter$renderHelpText$lambda_0(this));
|
|
@@ -2916,11 +2916,11 @@
|
|
|
2916
2916
|
}
|
|
2917
2917
|
return tmp_1;
|
|
2918
2918
|
};
|
|
2919
|
-
protoOf(CliktHelpFormatter).
|
|
2919
|
+
protoOf(CliktHelpFormatter).l43 = function (tag, value) {
|
|
2920
2920
|
var tmp;
|
|
2921
2921
|
if (tag === 'default') {
|
|
2922
2922
|
var tmp_0;
|
|
2923
|
-
if (this.
|
|
2923
|
+
if (this.d43_1) {
|
|
2924
2924
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
2925
2925
|
tmp_0 = !isBlank(value);
|
|
2926
2926
|
} else {
|
|
@@ -2929,14 +2929,14 @@
|
|
|
2929
2929
|
tmp = tmp_0;
|
|
2930
2930
|
} else {
|
|
2931
2931
|
if (tag === 'required') {
|
|
2932
|
-
tmp = this.
|
|
2932
|
+
tmp = this.e43_1;
|
|
2933
2933
|
} else {
|
|
2934
2934
|
tmp = true;
|
|
2935
2935
|
}
|
|
2936
2936
|
}
|
|
2937
2937
|
return tmp;
|
|
2938
2938
|
};
|
|
2939
|
-
protoOf(CliktHelpFormatter).
|
|
2939
|
+
protoOf(CliktHelpFormatter).n44 = function (names) {
|
|
2940
2940
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
2941
2941
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
2942
2942
|
var tmp = CliktHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -2944,13 +2944,13 @@
|
|
|
2944
2944
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
2945
2945
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, CliktHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
2946
2946
|
};
|
|
2947
|
-
protoOf(CliktHelpFormatter).
|
|
2947
|
+
protoOf(CliktHelpFormatter).m43 = function (tag, value) {
|
|
2948
2948
|
var tmp;
|
|
2949
2949
|
if (tag === 'default') {
|
|
2950
|
-
tmp = this.
|
|
2950
|
+
tmp = this.z42_1.z44();
|
|
2951
2951
|
} else {
|
|
2952
2952
|
if (tag === 'required') {
|
|
2953
|
-
tmp = this.
|
|
2953
|
+
tmp = this.z42_1.y44();
|
|
2954
2954
|
} else {
|
|
2955
2955
|
tmp = tag;
|
|
2956
2956
|
}
|
|
@@ -2958,27 +2958,27 @@
|
|
|
2958
2958
|
var t = tmp;
|
|
2959
2959
|
return isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
2960
2960
|
};
|
|
2961
|
-
protoOf(CliktHelpFormatter).
|
|
2961
|
+
protoOf(CliktHelpFormatter).n43 = function (name) {
|
|
2962
2962
|
return name;
|
|
2963
2963
|
};
|
|
2964
|
-
protoOf(CliktHelpFormatter).
|
|
2964
|
+
protoOf(CliktHelpFormatter).r44 = function (name) {
|
|
2965
2965
|
return name;
|
|
2966
2966
|
};
|
|
2967
|
-
protoOf(CliktHelpFormatter).
|
|
2967
|
+
protoOf(CliktHelpFormatter).w44 = function (name) {
|
|
2968
2968
|
return name;
|
|
2969
2969
|
};
|
|
2970
|
-
protoOf(CliktHelpFormatter).
|
|
2970
|
+
protoOf(CliktHelpFormatter).i43 = function (title) {
|
|
2971
2971
|
return title;
|
|
2972
2972
|
};
|
|
2973
|
-
protoOf(CliktHelpFormatter).
|
|
2974
|
-
if (option.
|
|
2973
|
+
protoOf(CliktHelpFormatter).o44 = function (option) {
|
|
2974
|
+
if (option.g44_1 == null)
|
|
2975
2975
|
return '';
|
|
2976
|
-
var metavar = ' ' + option.
|
|
2977
|
-
if (option.
|
|
2976
|
+
var metavar = ' ' + option.g44_1;
|
|
2977
|
+
if (option.i44_1 > 1)
|
|
2978
2978
|
return metavar + '...';
|
|
2979
2979
|
return metavar;
|
|
2980
2980
|
};
|
|
2981
|
-
protoOf(CliktHelpFormatter).
|
|
2981
|
+
protoOf(CliktHelpFormatter).q44 = function (_this__u8e3s4, rows) {
|
|
2982
2982
|
if (rows.y())
|
|
2983
2983
|
return Unit_instance;
|
|
2984
2984
|
var firstWidth = measureFirstColumn(this, rows);
|
|
@@ -2998,10 +2998,10 @@
|
|
|
2998
2998
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
2999
2999
|
// Inline function 'kotlin.contracts.contract' call
|
|
3000
3000
|
if (marker == null ? true : charSequenceLength(marker) === 0) {
|
|
3001
|
-
tmp = this.
|
|
3001
|
+
tmp = this.a43_1;
|
|
3002
3002
|
} else {
|
|
3003
3003
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3004
|
-
var this_0 = drop_0(this.
|
|
3004
|
+
var this_0 = drop_0(this.a43_1, this.h43(marker));
|
|
3005
3005
|
var tmp_0;
|
|
3006
3006
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3007
3007
|
if (charSequenceLength(this_0) === 0) {
|
|
@@ -3013,12 +3013,12 @@
|
|
|
3013
3013
|
tmp = marker + tmp_0;
|
|
3014
3014
|
}
|
|
3015
3015
|
var firstIndent = tmp;
|
|
3016
|
-
var subsequentIndent = repeat(' ', (this.
|
|
3016
|
+
var subsequentIndent = repeat(' ', (this.h43(firstIndent) + firstWidth | 0) + this.b43_1 | 0);
|
|
3017
3017
|
if (isBlank(col2)) {
|
|
3018
3018
|
_this__u8e3s4.v5(firstIndent).v5(col1);
|
|
3019
3019
|
} else {
|
|
3020
3020
|
var tmp_1;
|
|
3021
|
-
if (this.
|
|
3021
|
+
if (this.h43(col1) > this.g43_1) {
|
|
3022
3022
|
_this__u8e3s4.v5(firstIndent).v5(col1).v5('\n');
|
|
3023
3023
|
tmp_1 = subsequentIndent;
|
|
3024
3024
|
} else {
|
|
@@ -3030,7 +3030,7 @@
|
|
|
3030
3030
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.appendDefinitionList.<anonymous>' call
|
|
3031
3031
|
this_1.v5(firstIndent).v5(col1);
|
|
3032
3032
|
// Inline function 'kotlin.repeat' call
|
|
3033
|
-
var times = (firstWidth - this.
|
|
3033
|
+
var times = (firstWidth - this.h43(col1) | 0) + this.b43_1 | 0;
|
|
3034
3034
|
// Inline function 'kotlin.contracts.contract' call
|
|
3035
3035
|
var inductionVariable = 0;
|
|
3036
3036
|
if (inductionVariable < times)
|
|
@@ -3044,34 +3044,34 @@
|
|
|
3044
3044
|
tmp_1 = this_1.toString();
|
|
3045
3045
|
}
|
|
3046
3046
|
var initialIndent = tmp_1;
|
|
3047
|
-
wrapText(col2, _this__u8e3s4, this.
|
|
3047
|
+
wrapText(col2, _this__u8e3s4, this.f43_1, initialIndent, subsequentIndent);
|
|
3048
3048
|
}
|
|
3049
3049
|
}
|
|
3050
3050
|
};
|
|
3051
|
-
protoOf(CliktHelpFormatter).
|
|
3051
|
+
protoOf(CliktHelpFormatter).h43 = function (_this__u8e3s4) {
|
|
3052
3052
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3053
3053
|
};
|
|
3054
3054
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, groupName) {
|
|
3055
3055
|
ParameterHelp.call(this);
|
|
3056
|
-
this.
|
|
3057
|
-
this.
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
3060
|
-
this.
|
|
3061
|
-
this.
|
|
3062
|
-
this.
|
|
3056
|
+
this.e44_1 = names;
|
|
3057
|
+
this.f44_1 = secondaryNames;
|
|
3058
|
+
this.g44_1 = metavar;
|
|
3059
|
+
this.h44_1 = help;
|
|
3060
|
+
this.i44_1 = nvalues;
|
|
3061
|
+
this.j44_1 = tags;
|
|
3062
|
+
this.k44_1 = groupName;
|
|
3063
3063
|
}
|
|
3064
3064
|
protoOf(Option).toString = function () {
|
|
3065
|
-
return 'Option(names=' + this.
|
|
3065
|
+
return 'Option(names=' + this.e44_1 + ', secondaryNames=' + this.f44_1 + ', metavar=' + this.g44_1 + ', help=' + this.h44_1 + ', nvalues=' + this.i44_1 + ', tags=' + this.j44_1 + ', groupName=' + this.k44_1 + ')';
|
|
3066
3066
|
};
|
|
3067
3067
|
protoOf(Option).hashCode = function () {
|
|
3068
|
-
var result = hashCode(this.
|
|
3069
|
-
result = imul(result, 31) + hashCode(this.
|
|
3070
|
-
result = imul(result, 31) + (this.
|
|
3071
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3072
|
-
result = imul(result, 31) + this.
|
|
3073
|
-
result = imul(result, 31) + hashCode(this.
|
|
3074
|
-
result = imul(result, 31) + (this.
|
|
3068
|
+
var result = hashCode(this.e44_1);
|
|
3069
|
+
result = imul(result, 31) + hashCode(this.f44_1) | 0;
|
|
3070
|
+
result = imul(result, 31) + (this.g44_1 == null ? 0 : getStringHashCode(this.g44_1)) | 0;
|
|
3071
|
+
result = imul(result, 31) + getStringHashCode(this.h44_1) | 0;
|
|
3072
|
+
result = imul(result, 31) + this.i44_1 | 0;
|
|
3073
|
+
result = imul(result, 31) + hashCode(this.j44_1) | 0;
|
|
3074
|
+
result = imul(result, 31) + (this.k44_1 == null ? 0 : getStringHashCode(this.k44_1)) | 0;
|
|
3075
3075
|
return result;
|
|
3076
3076
|
};
|
|
3077
3077
|
protoOf(Option).equals = function (other) {
|
|
@@ -3080,39 +3080,39 @@
|
|
|
3080
3080
|
if (!(other instanceof Option))
|
|
3081
3081
|
return false;
|
|
3082
3082
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
3083
|
-
if (!equals(this.
|
|
3083
|
+
if (!equals(this.e44_1, tmp0_other_with_cast.e44_1))
|
|
3084
3084
|
return false;
|
|
3085
|
-
if (!equals(this.
|
|
3085
|
+
if (!equals(this.f44_1, tmp0_other_with_cast.f44_1))
|
|
3086
3086
|
return false;
|
|
3087
|
-
if (!(this.
|
|
3087
|
+
if (!(this.g44_1 == tmp0_other_with_cast.g44_1))
|
|
3088
3088
|
return false;
|
|
3089
|
-
if (!(this.
|
|
3089
|
+
if (!(this.h44_1 === tmp0_other_with_cast.h44_1))
|
|
3090
3090
|
return false;
|
|
3091
|
-
if (!(this.
|
|
3091
|
+
if (!(this.i44_1 === tmp0_other_with_cast.i44_1))
|
|
3092
3092
|
return false;
|
|
3093
|
-
if (!equals(this.
|
|
3093
|
+
if (!equals(this.j44_1, tmp0_other_with_cast.j44_1))
|
|
3094
3094
|
return false;
|
|
3095
|
-
if (!(this.
|
|
3095
|
+
if (!(this.k44_1 == tmp0_other_with_cast.k44_1))
|
|
3096
3096
|
return false;
|
|
3097
3097
|
return true;
|
|
3098
3098
|
};
|
|
3099
3099
|
function Argument(name, help, required, repeatable, tags) {
|
|
3100
3100
|
ParameterHelp.call(this);
|
|
3101
|
-
this.
|
|
3102
|
-
this.
|
|
3103
|
-
this.
|
|
3104
|
-
this.
|
|
3105
|
-
this.
|
|
3101
|
+
this.w43_1 = name;
|
|
3102
|
+
this.x43_1 = help;
|
|
3103
|
+
this.y43_1 = required;
|
|
3104
|
+
this.z43_1 = repeatable;
|
|
3105
|
+
this.a44_1 = tags;
|
|
3106
3106
|
}
|
|
3107
3107
|
protoOf(Argument).toString = function () {
|
|
3108
|
-
return 'Argument(name=' + this.
|
|
3108
|
+
return 'Argument(name=' + this.w43_1 + ', help=' + this.x43_1 + ', required=' + this.y43_1 + ', repeatable=' + this.z43_1 + ', tags=' + this.a44_1 + ')';
|
|
3109
3109
|
};
|
|
3110
3110
|
protoOf(Argument).hashCode = function () {
|
|
3111
|
-
var result = getStringHashCode(this.
|
|
3112
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3113
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
3114
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
3115
|
-
result = imul(result, 31) + hashCode(this.
|
|
3111
|
+
var result = getStringHashCode(this.w43_1);
|
|
3112
|
+
result = imul(result, 31) + getStringHashCode(this.x43_1) | 0;
|
|
3113
|
+
result = imul(result, 31) + getBooleanHashCode(this.y43_1) | 0;
|
|
3114
|
+
result = imul(result, 31) + getBooleanHashCode(this.z43_1) | 0;
|
|
3115
|
+
result = imul(result, 31) + hashCode(this.a44_1) | 0;
|
|
3116
3116
|
return result;
|
|
3117
3117
|
};
|
|
3118
3118
|
protoOf(Argument).equals = function (other) {
|
|
@@ -3121,31 +3121,31 @@
|
|
|
3121
3121
|
if (!(other instanceof Argument))
|
|
3122
3122
|
return false;
|
|
3123
3123
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
3124
|
-
if (!(this.
|
|
3124
|
+
if (!(this.w43_1 === tmp0_other_with_cast.w43_1))
|
|
3125
3125
|
return false;
|
|
3126
|
-
if (!(this.
|
|
3126
|
+
if (!(this.x43_1 === tmp0_other_with_cast.x43_1))
|
|
3127
3127
|
return false;
|
|
3128
|
-
if (!(this.
|
|
3128
|
+
if (!(this.y43_1 === tmp0_other_with_cast.y43_1))
|
|
3129
3129
|
return false;
|
|
3130
|
-
if (!(this.
|
|
3130
|
+
if (!(this.z43_1 === tmp0_other_with_cast.z43_1))
|
|
3131
3131
|
return false;
|
|
3132
|
-
if (!equals(this.
|
|
3132
|
+
if (!equals(this.a44_1, tmp0_other_with_cast.a44_1))
|
|
3133
3133
|
return false;
|
|
3134
3134
|
return true;
|
|
3135
3135
|
};
|
|
3136
3136
|
function Subcommand(name, help, tags) {
|
|
3137
3137
|
ParameterHelp.call(this);
|
|
3138
|
-
this.
|
|
3139
|
-
this.
|
|
3140
|
-
this.
|
|
3138
|
+
this.t44_1 = name;
|
|
3139
|
+
this.u44_1 = help;
|
|
3140
|
+
this.v44_1 = tags;
|
|
3141
3141
|
}
|
|
3142
3142
|
protoOf(Subcommand).toString = function () {
|
|
3143
|
-
return 'Subcommand(name=' + this.
|
|
3143
|
+
return 'Subcommand(name=' + this.t44_1 + ', help=' + this.u44_1 + ', tags=' + this.v44_1 + ')';
|
|
3144
3144
|
};
|
|
3145
3145
|
protoOf(Subcommand).hashCode = function () {
|
|
3146
|
-
var result = getStringHashCode(this.
|
|
3147
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3148
|
-
result = imul(result, 31) + hashCode(this.
|
|
3146
|
+
var result = getStringHashCode(this.t44_1);
|
|
3147
|
+
result = imul(result, 31) + getStringHashCode(this.u44_1) | 0;
|
|
3148
|
+
result = imul(result, 31) + hashCode(this.v44_1) | 0;
|
|
3149
3149
|
return result;
|
|
3150
3150
|
};
|
|
3151
3151
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -3154,25 +3154,25 @@
|
|
|
3154
3154
|
if (!(other instanceof Subcommand))
|
|
3155
3155
|
return false;
|
|
3156
3156
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
3157
|
-
if (!(this.
|
|
3157
|
+
if (!(this.t44_1 === tmp0_other_with_cast.t44_1))
|
|
3158
3158
|
return false;
|
|
3159
|
-
if (!(this.
|
|
3159
|
+
if (!(this.u44_1 === tmp0_other_with_cast.u44_1))
|
|
3160
3160
|
return false;
|
|
3161
|
-
if (!equals(this.
|
|
3161
|
+
if (!equals(this.v44_1, tmp0_other_with_cast.v44_1))
|
|
3162
3162
|
return false;
|
|
3163
3163
|
return true;
|
|
3164
3164
|
};
|
|
3165
3165
|
function Group(name, help) {
|
|
3166
3166
|
ParameterHelp.call(this);
|
|
3167
|
-
this.
|
|
3168
|
-
this.
|
|
3167
|
+
this.c44_1 = name;
|
|
3168
|
+
this.d44_1 = help;
|
|
3169
3169
|
}
|
|
3170
3170
|
protoOf(Group).toString = function () {
|
|
3171
|
-
return 'Group(name=' + this.
|
|
3171
|
+
return 'Group(name=' + this.c44_1 + ', help=' + this.d44_1 + ')';
|
|
3172
3172
|
};
|
|
3173
3173
|
protoOf(Group).hashCode = function () {
|
|
3174
|
-
var result = getStringHashCode(this.
|
|
3175
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3174
|
+
var result = getStringHashCode(this.c44_1);
|
|
3175
|
+
result = imul(result, 31) + getStringHashCode(this.d44_1) | 0;
|
|
3176
3176
|
return result;
|
|
3177
3177
|
};
|
|
3178
3178
|
protoOf(Group).equals = function (other) {
|
|
@@ -3181,17 +3181,17 @@
|
|
|
3181
3181
|
if (!(other instanceof Group))
|
|
3182
3182
|
return false;
|
|
3183
3183
|
var tmp0_other_with_cast = other instanceof Group ? other : THROW_CCE();
|
|
3184
|
-
if (!(this.
|
|
3184
|
+
if (!(this.c44_1 === tmp0_other_with_cast.c44_1))
|
|
3185
3185
|
return false;
|
|
3186
|
-
if (!(this.
|
|
3186
|
+
if (!(this.d44_1 === tmp0_other_with_cast.d44_1))
|
|
3187
3187
|
return false;
|
|
3188
3188
|
return true;
|
|
3189
3189
|
};
|
|
3190
3190
|
function ParameterHelp() {
|
|
3191
3191
|
}
|
|
3192
3192
|
function Tags() {
|
|
3193
|
-
this.
|
|
3194
|
-
this.
|
|
3193
|
+
this.a45_1 = 'default';
|
|
3194
|
+
this.b45_1 = 'required';
|
|
3195
3195
|
}
|
|
3196
3196
|
var Tags_instance;
|
|
3197
3197
|
function Tags_getInstance() {
|
|
@@ -3237,7 +3237,7 @@
|
|
|
3237
3237
|
}
|
|
3238
3238
|
function TermUi() {
|
|
3239
3239
|
}
|
|
3240
|
-
protoOf(TermUi).
|
|
3240
|
+
protoOf(TermUi).t3x = function (message, trailingNewline, err, console, lineSeparator) {
|
|
3241
3241
|
var tmp1_safe_receiver = message == null ? null : toString_0(message);
|
|
3242
3242
|
var tmp;
|
|
3243
3243
|
if (tmp1_safe_receiver == null) {
|
|
@@ -3248,29 +3248,29 @@
|
|
|
3248
3248
|
}
|
|
3249
3249
|
var tmp2_elvis_lhs = tmp;
|
|
3250
3250
|
var text = tmp2_elvis_lhs == null ? 'null' : tmp2_elvis_lhs;
|
|
3251
|
-
console.
|
|
3251
|
+
console.l45(trailingNewline ? text + lineSeparator : text, err);
|
|
3252
3252
|
};
|
|
3253
|
-
protoOf(TermUi).
|
|
3253
|
+
protoOf(TermUi).m45 = function (message, trailingNewline, err, console, lineSeparator, $super) {
|
|
3254
3254
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
3255
3255
|
err = err === VOID ? false : err;
|
|
3256
3256
|
console = console === VOID ? defaultCliktConsole() : console;
|
|
3257
|
-
lineSeparator = lineSeparator === VOID ? console.
|
|
3257
|
+
lineSeparator = lineSeparator === VOID ? console.v3x() : lineSeparator;
|
|
3258
3258
|
var tmp;
|
|
3259
3259
|
if ($super === VOID) {
|
|
3260
|
-
this.
|
|
3260
|
+
this.t3x(message, trailingNewline, err, console, lineSeparator);
|
|
3261
3261
|
tmp = Unit_instance;
|
|
3262
3262
|
} else {
|
|
3263
|
-
tmp = $super.
|
|
3263
|
+
tmp = $super.t3x.call(this, message, trailingNewline, err, console, lineSeparator);
|
|
3264
3264
|
}
|
|
3265
3265
|
return tmp;
|
|
3266
3266
|
};
|
|
3267
|
-
protoOf(TermUi).
|
|
3267
|
+
protoOf(TermUi).x3x = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, console, convert) {
|
|
3268
3268
|
var prompt = buildPrompt(this, text, promptSuffix, showDefault, default_0);
|
|
3269
3269
|
try {
|
|
3270
3270
|
$l$loop_0: while (true) {
|
|
3271
3271
|
var value;
|
|
3272
3272
|
$l$loop: while (true) {
|
|
3273
|
-
var tmp0_elvis_lhs = console.
|
|
3273
|
+
var tmp0_elvis_lhs = console.n45(prompt, hideInput);
|
|
3274
3274
|
var tmp;
|
|
3275
3275
|
if (tmp0_elvis_lhs == null) {
|
|
3276
3276
|
return null;
|
|
@@ -3294,7 +3294,7 @@
|
|
|
3294
3294
|
var tmp_1;
|
|
3295
3295
|
if ($p instanceof UsageError) {
|
|
3296
3296
|
var err = $p;
|
|
3297
|
-
this.
|
|
3297
|
+
this.m45(err.l3y(), VOID, VOID, console);
|
|
3298
3298
|
continue $l$loop_0;
|
|
3299
3299
|
} else {
|
|
3300
3300
|
throw $p;
|
|
@@ -3305,7 +3305,7 @@
|
|
|
3305
3305
|
return result;
|
|
3306
3306
|
var value2;
|
|
3307
3307
|
$l$loop_1: while (true) {
|
|
3308
|
-
var tmp1_elvis_lhs = console.
|
|
3308
|
+
var tmp1_elvis_lhs = console.n45(confirmationPrompt, hideInput);
|
|
3309
3309
|
var tmp_2;
|
|
3310
3310
|
if (tmp1_elvis_lhs == null) {
|
|
3311
3311
|
return null;
|
|
@@ -3320,7 +3320,7 @@
|
|
|
3320
3320
|
}
|
|
3321
3321
|
if (value === value2)
|
|
3322
3322
|
return result;
|
|
3323
|
-
this.
|
|
3323
|
+
this.m45('Error: the two entered values do not match', VOID, VOID, console);
|
|
3324
3324
|
}
|
|
3325
3325
|
} catch ($p) {
|
|
3326
3326
|
if ($p instanceof Exception) {
|
|
@@ -3557,66 +3557,66 @@
|
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
3559
3559
|
function _set_value__lx0xdg($this, _set____db54di) {
|
|
3560
|
-
return $this.
|
|
3560
|
+
return $this.d3z_1.q45($this, value$factory(), _set____db54di);
|
|
3561
3561
|
}
|
|
3562
3562
|
function ProcessedArgument(name, nvalues, required, argumentHelp, helpTags, completionCandidatesWithDefault, transformValue, transformAll, transformValidator) {
|
|
3563
|
-
this.
|
|
3564
|
-
this.
|
|
3565
|
-
this.
|
|
3566
|
-
this.
|
|
3567
|
-
this.
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3570
|
-
this.
|
|
3563
|
+
this.u3y_1 = nvalues;
|
|
3564
|
+
this.v3y_1 = required;
|
|
3565
|
+
this.w3y_1 = argumentHelp;
|
|
3566
|
+
this.x3y_1 = helpTags;
|
|
3567
|
+
this.y3y_1 = completionCandidatesWithDefault;
|
|
3568
|
+
this.z3y_1 = transformValue;
|
|
3569
|
+
this.a3z_1 = transformAll;
|
|
3570
|
+
this.b3z_1 = transformValidator;
|
|
3571
3571
|
// Inline function 'kotlin.require' call
|
|
3572
3572
|
// Inline function 'kotlin.contracts.contract' call
|
|
3573
|
-
if (!!(this.
|
|
3573
|
+
if (!!(this.u3y_1 === 0)) {
|
|
3574
3574
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgument.<anonymous>' call
|
|
3575
3575
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3576
3576
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3577
3577
|
}
|
|
3578
|
-
this.
|
|
3579
|
-
this.
|
|
3578
|
+
this.c3z_1 = name;
|
|
3579
|
+
this.d3z_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3580
3580
|
}
|
|
3581
|
-
protoOf(ProcessedArgument).
|
|
3582
|
-
return this.
|
|
3581
|
+
protoOf(ProcessedArgument).t3w = function () {
|
|
3582
|
+
return this.u3y_1;
|
|
3583
3583
|
};
|
|
3584
|
-
protoOf(ProcessedArgument).
|
|
3585
|
-
return this.
|
|
3584
|
+
protoOf(ProcessedArgument).r45 = function () {
|
|
3585
|
+
return this.v3y_1;
|
|
3586
3586
|
};
|
|
3587
|
-
protoOf(ProcessedArgument).
|
|
3588
|
-
return this.
|
|
3587
|
+
protoOf(ProcessedArgument).d3x = function () {
|
|
3588
|
+
return this.w3y_1;
|
|
3589
3589
|
};
|
|
3590
3590
|
protoOf(ProcessedArgument).bb = function () {
|
|
3591
|
-
return this.
|
|
3591
|
+
return this.c3z_1;
|
|
3592
3592
|
};
|
|
3593
3593
|
protoOf(ProcessedArgument).r2 = function () {
|
|
3594
|
-
return this.
|
|
3594
|
+
return this.d3z_1.s45(this, value$factory_0());
|
|
3595
3595
|
};
|
|
3596
|
-
protoOf(ProcessedArgument).
|
|
3597
|
-
return this.
|
|
3596
|
+
protoOf(ProcessedArgument).s3w = function () {
|
|
3597
|
+
return this.y3y_1.r2();
|
|
3598
3598
|
};
|
|
3599
|
-
protoOf(ProcessedArgument).
|
|
3600
|
-
return new Argument(this.
|
|
3599
|
+
protoOf(ProcessedArgument).h3x = function (context) {
|
|
3600
|
+
return new Argument(this.c3z_1, this.w3y_1, this.v3y_1 ? true : this.u3y_1 > 1, this.u3y_1 < 0, this.x3y_1);
|
|
3601
3601
|
};
|
|
3602
|
-
protoOf(ProcessedArgument).
|
|
3602
|
+
protoOf(ProcessedArgument).v45 = function (thisRef, property) {
|
|
3603
3603
|
return this.r2();
|
|
3604
3604
|
};
|
|
3605
|
-
protoOf(ProcessedArgument).
|
|
3606
|
-
return this.
|
|
3605
|
+
protoOf(ProcessedArgument).w45 = function (thisRef, property) {
|
|
3606
|
+
return this.v45(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3607
3607
|
};
|
|
3608
|
-
protoOf(ProcessedArgument).
|
|
3609
|
-
if (isBlank(this.
|
|
3608
|
+
protoOf(ProcessedArgument).x45 = function (thisRef, prop) {
|
|
3609
|
+
if (isBlank(this.c3z_1)) {
|
|
3610
3610
|
var tmp = this;
|
|
3611
3611
|
// Inline function 'kotlin.text.uppercase' call
|
|
3612
3612
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3613
3613
|
var tmp$ret$1 = prop.callableName.toUpperCase();
|
|
3614
|
-
tmp.
|
|
3614
|
+
tmp.c3z_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3615
3615
|
}
|
|
3616
|
-
thisRef.
|
|
3616
|
+
thisRef.n3x(this);
|
|
3617
3617
|
return this;
|
|
3618
3618
|
};
|
|
3619
|
-
protoOf(ProcessedArgument).
|
|
3619
|
+
protoOf(ProcessedArgument).y45 = function (context, values) {
|
|
3620
3620
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3621
3621
|
// Inline function 'kotlin.collections.map' call
|
|
3622
3622
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3625,13 +3625,13 @@
|
|
|
3625
3625
|
while (tmp0_iterator.s()) {
|
|
3626
3626
|
var item = tmp0_iterator.u();
|
|
3627
3627
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgument.finalize.<anonymous>' call
|
|
3628
|
-
var tmp$ret$0 = this.
|
|
3628
|
+
var tmp$ret$0 = this.z3y_1(ctx, item);
|
|
3629
3629
|
destination.o(tmp$ret$0);
|
|
3630
3630
|
}
|
|
3631
|
-
_set_value__lx0xdg(this, this.
|
|
3631
|
+
_set_value__lx0xdg(this, this.a3z_1(ctx, destination));
|
|
3632
3632
|
};
|
|
3633
|
-
protoOf(ProcessedArgument).
|
|
3634
|
-
this.
|
|
3633
|
+
protoOf(ProcessedArgument).z45 = function (context) {
|
|
3634
|
+
this.b3z_1(new ArgumentTransformContext(this, context), this.r2());
|
|
3635
3635
|
};
|
|
3636
3636
|
function argument(_this__u8e3s4, name, help, helpTags, completionCandidates) {
|
|
3637
3637
|
name = name === VOID ? '' : name;
|
|
@@ -3644,32 +3644,32 @@
|
|
|
3644
3644
|
function Argument_0() {
|
|
3645
3645
|
}
|
|
3646
3646
|
function ArgumentTransformContext(argument, context) {
|
|
3647
|
-
this.
|
|
3648
|
-
this.
|
|
3647
|
+
this.a46_1 = argument;
|
|
3648
|
+
this.b46_1 = context;
|
|
3649
3649
|
}
|
|
3650
|
-
protoOf(ArgumentTransformContext).
|
|
3651
|
-
return this.
|
|
3650
|
+
protoOf(ArgumentTransformContext).d3x = function () {
|
|
3651
|
+
return this.a46_1.d3x();
|
|
3652
3652
|
};
|
|
3653
|
-
protoOf(ArgumentTransformContext).
|
|
3654
|
-
return this.
|
|
3653
|
+
protoOf(ArgumentTransformContext).s3w = function () {
|
|
3654
|
+
return this.a46_1.s3w();
|
|
3655
3655
|
};
|
|
3656
3656
|
protoOf(ArgumentTransformContext).bb = function () {
|
|
3657
|
-
return this.
|
|
3657
|
+
return this.a46_1.bb();
|
|
3658
3658
|
};
|
|
3659
|
-
protoOf(ArgumentTransformContext).
|
|
3660
|
-
return this.
|
|
3659
|
+
protoOf(ArgumentTransformContext).t3w = function () {
|
|
3660
|
+
return this.a46_1.t3w();
|
|
3661
3661
|
};
|
|
3662
|
-
protoOf(ArgumentTransformContext).
|
|
3663
|
-
return this.
|
|
3662
|
+
protoOf(ArgumentTransformContext).r45 = function () {
|
|
3663
|
+
return this.a46_1.r45();
|
|
3664
3664
|
};
|
|
3665
|
-
protoOf(ArgumentTransformContext).
|
|
3666
|
-
this.
|
|
3665
|
+
protoOf(ArgumentTransformContext).y45 = function (context, values) {
|
|
3666
|
+
this.a46_1.y45(context, values);
|
|
3667
3667
|
};
|
|
3668
|
-
protoOf(ArgumentTransformContext).
|
|
3669
|
-
return this.
|
|
3668
|
+
protoOf(ArgumentTransformContext).h3x = function (context) {
|
|
3669
|
+
return this.a46_1.h3x(context);
|
|
3670
3670
|
};
|
|
3671
|
-
protoOf(ArgumentTransformContext).
|
|
3672
|
-
this.
|
|
3671
|
+
protoOf(ArgumentTransformContext).z45 = function (context) {
|
|
3672
|
+
this.a46_1.z45(context);
|
|
3673
3673
|
};
|
|
3674
3674
|
function defaultAllProcessor() {
|
|
3675
3675
|
return defaultAllProcessor$lambda;
|
|
@@ -3709,139 +3709,139 @@
|
|
|
3709
3709
|
return UNINITIALIZED_instance;
|
|
3710
3710
|
}
|
|
3711
3711
|
function NullableLateinit(errorMessage) {
|
|
3712
|
-
this.
|
|
3713
|
-
this.
|
|
3712
|
+
this.o45_1 = errorMessage;
|
|
3713
|
+
this.p45_1 = UNINITIALIZED_instance;
|
|
3714
3714
|
}
|
|
3715
|
-
protoOf(NullableLateinit).
|
|
3716
|
-
if (this.
|
|
3717
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3715
|
+
protoOf(NullableLateinit).s45 = function (thisRef, property) {
|
|
3716
|
+
if (this.p45_1 === UNINITIALIZED_instance)
|
|
3717
|
+
throw IllegalStateException_init_$Create$(this.o45_1);
|
|
3718
3718
|
try {
|
|
3719
|
-
var tmp = this.
|
|
3719
|
+
var tmp = this.p45_1;
|
|
3720
3720
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
3721
3721
|
} catch ($p) {
|
|
3722
3722
|
if ($p instanceof ClassCastException) {
|
|
3723
3723
|
var e = $p;
|
|
3724
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3724
|
+
throw IllegalStateException_init_$Create$(this.o45_1);
|
|
3725
3725
|
} else {
|
|
3726
3726
|
throw $p;
|
|
3727
3727
|
}
|
|
3728
3728
|
}
|
|
3729
3729
|
};
|
|
3730
|
-
protoOf(NullableLateinit).
|
|
3731
|
-
return this.
|
|
3730
|
+
protoOf(NullableLateinit).w45 = function (thisRef, property) {
|
|
3731
|
+
return this.s45(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
3732
3732
|
};
|
|
3733
|
-
protoOf(NullableLateinit).
|
|
3734
|
-
this.
|
|
3733
|
+
protoOf(NullableLateinit).q45 = function (thisRef, property, value) {
|
|
3734
|
+
this.p45_1 = value;
|
|
3735
3735
|
};
|
|
3736
3736
|
function EagerOption(names, nvalues, optionHelp, hidden, helpTags, groupName, callback) {
|
|
3737
|
-
this.
|
|
3738
|
-
this.
|
|
3739
|
-
this.
|
|
3740
|
-
this.
|
|
3741
|
-
this.
|
|
3742
|
-
this.
|
|
3743
|
-
this.
|
|
3744
|
-
this.
|
|
3737
|
+
this.e46_1 = names;
|
|
3738
|
+
this.f46_1 = nvalues;
|
|
3739
|
+
this.g46_1 = optionHelp;
|
|
3740
|
+
this.h46_1 = hidden;
|
|
3741
|
+
this.i46_1 = helpTags;
|
|
3742
|
+
this.j46_1 = groupName;
|
|
3743
|
+
this.k46_1 = callback;
|
|
3744
|
+
this.l46_1 = FlagOptionParser_instance;
|
|
3745
3745
|
}
|
|
3746
|
-
protoOf(EagerOption).
|
|
3747
|
-
return this.
|
|
3746
|
+
protoOf(EagerOption).w3v = function () {
|
|
3747
|
+
return this.e46_1;
|
|
3748
3748
|
};
|
|
3749
|
-
protoOf(EagerOption).
|
|
3750
|
-
return this.
|
|
3749
|
+
protoOf(EagerOption).t3w = function () {
|
|
3750
|
+
return this.f46_1;
|
|
3751
3751
|
};
|
|
3752
|
-
protoOf(EagerOption).
|
|
3753
|
-
return this.
|
|
3752
|
+
protoOf(EagerOption).c3x = function () {
|
|
3753
|
+
return this.g46_1;
|
|
3754
3754
|
};
|
|
3755
|
-
protoOf(EagerOption).
|
|
3756
|
-
return this.
|
|
3755
|
+
protoOf(EagerOption).r3w = function () {
|
|
3756
|
+
return this.h46_1;
|
|
3757
3757
|
};
|
|
3758
|
-
protoOf(EagerOption).
|
|
3759
|
-
return this.
|
|
3758
|
+
protoOf(EagerOption).m46 = function () {
|
|
3759
|
+
return this.i46_1;
|
|
3760
3760
|
};
|
|
3761
|
-
protoOf(EagerOption).
|
|
3762
|
-
return this.
|
|
3761
|
+
protoOf(EagerOption).t3z = function () {
|
|
3762
|
+
return this.j46_1;
|
|
3763
3763
|
};
|
|
3764
|
-
protoOf(EagerOption).
|
|
3764
|
+
protoOf(EagerOption).x3v = function () {
|
|
3765
3765
|
return emptySet();
|
|
3766
3766
|
};
|
|
3767
|
-
protoOf(EagerOption).
|
|
3768
|
-
return this.
|
|
3767
|
+
protoOf(EagerOption).n46 = function () {
|
|
3768
|
+
return this.l46_1;
|
|
3769
3769
|
};
|
|
3770
|
-
protoOf(EagerOption).
|
|
3770
|
+
protoOf(EagerOption).o46 = function (context) {
|
|
3771
3771
|
return null;
|
|
3772
3772
|
};
|
|
3773
|
-
protoOf(EagerOption).
|
|
3773
|
+
protoOf(EagerOption).z45 = function (context) {
|
|
3774
3774
|
};
|
|
3775
|
-
protoOf(EagerOption).
|
|
3776
|
-
this.
|
|
3775
|
+
protoOf(EagerOption).v42 = function (context, invocations) {
|
|
3776
|
+
this.k46_1(new OptionTransformContext(this, context));
|
|
3777
3777
|
};
|
|
3778
3778
|
function helpOption(names, message) {
|
|
3779
3779
|
var tmp = emptyMap();
|
|
3780
3780
|
return new EagerOption(names, 0, message, false, tmp, null, helpOption$lambda);
|
|
3781
3781
|
}
|
|
3782
3782
|
function helpOption$lambda($this$$receiver) {
|
|
3783
|
-
throw new PrintHelpMessage($this$$receiver.
|
|
3783
|
+
throw new PrintHelpMessage($this$$receiver.q46_1.z3v_1);
|
|
3784
3784
|
}
|
|
3785
3785
|
function _set_value__lx0xdg_0($this, _set____db54di) {
|
|
3786
|
-
return $this.
|
|
3786
|
+
return $this.d47_1.q45($this, value$factory_1(), _set____db54di);
|
|
3787
3787
|
}
|
|
3788
3788
|
function FlagOption(names, secondaryNames, optionHelp, hidden, helpTags, valueSourceKey, envvar, transformEnvvar, transformAll, validator) {
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3795
|
-
this.
|
|
3796
|
-
this.
|
|
3797
|
-
this.
|
|
3798
|
-
this.
|
|
3799
|
-
this.
|
|
3800
|
-
this.
|
|
3801
|
-
this.
|
|
3802
|
-
this.
|
|
3803
|
-
}
|
|
3804
|
-
protoOf(FlagOption).
|
|
3805
|
-
return this.
|
|
3806
|
-
};
|
|
3807
|
-
protoOf(FlagOption).
|
|
3808
|
-
return this.
|
|
3809
|
-
};
|
|
3810
|
-
protoOf(FlagOption).
|
|
3811
|
-
return this.
|
|
3812
|
-
};
|
|
3813
|
-
protoOf(FlagOption).
|
|
3814
|
-
return this.
|
|
3815
|
-
};
|
|
3816
|
-
protoOf(FlagOption).
|
|
3817
|
-
return this.
|
|
3789
|
+
this.r46_1 = secondaryNames;
|
|
3790
|
+
this.s46_1 = optionHelp;
|
|
3791
|
+
this.t46_1 = hidden;
|
|
3792
|
+
this.u46_1 = helpTags;
|
|
3793
|
+
this.v46_1 = valueSourceKey;
|
|
3794
|
+
this.w46_1 = envvar;
|
|
3795
|
+
this.x46_1 = transformEnvvar;
|
|
3796
|
+
this.y46_1 = transformAll;
|
|
3797
|
+
this.z46_1 = validator;
|
|
3798
|
+
this.a47_1 = null;
|
|
3799
|
+
this.b47_1 = null;
|
|
3800
|
+
this.c47_1 = FlagOptionParser_instance;
|
|
3801
|
+
this.d47_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
3802
|
+
this.e47_1 = names;
|
|
3803
|
+
}
|
|
3804
|
+
protoOf(FlagOption).x3v = function () {
|
|
3805
|
+
return this.r46_1;
|
|
3806
|
+
};
|
|
3807
|
+
protoOf(FlagOption).c3x = function () {
|
|
3808
|
+
return this.s46_1;
|
|
3809
|
+
};
|
|
3810
|
+
protoOf(FlagOption).r3w = function () {
|
|
3811
|
+
return this.t46_1;
|
|
3812
|
+
};
|
|
3813
|
+
protoOf(FlagOption).m46 = function () {
|
|
3814
|
+
return this.u46_1;
|
|
3815
|
+
};
|
|
3816
|
+
protoOf(FlagOption).s3z = function () {
|
|
3817
|
+
return this.a47_1;
|
|
3818
3818
|
};
|
|
3819
|
-
protoOf(FlagOption).
|
|
3820
|
-
return this.
|
|
3819
|
+
protoOf(FlagOption).t3z = function () {
|
|
3820
|
+
return this.b47_1;
|
|
3821
3821
|
};
|
|
3822
|
-
protoOf(FlagOption).
|
|
3822
|
+
protoOf(FlagOption).o46 = function (context) {
|
|
3823
3823
|
return null;
|
|
3824
3824
|
};
|
|
3825
|
-
protoOf(FlagOption).
|
|
3825
|
+
protoOf(FlagOption).t3w = function () {
|
|
3826
3826
|
return 0;
|
|
3827
3827
|
};
|
|
3828
|
-
protoOf(FlagOption).
|
|
3829
|
-
return this.
|
|
3828
|
+
protoOf(FlagOption).n46 = function () {
|
|
3829
|
+
return this.c47_1;
|
|
3830
3830
|
};
|
|
3831
3831
|
protoOf(FlagOption).r2 = function () {
|
|
3832
|
-
return this.
|
|
3832
|
+
return this.d47_1.s45(this, value$factory_2());
|
|
3833
3833
|
};
|
|
3834
|
-
protoOf(FlagOption).
|
|
3835
|
-
return this.
|
|
3834
|
+
protoOf(FlagOption).w3v = function () {
|
|
3835
|
+
return this.e47_1;
|
|
3836
3836
|
};
|
|
3837
|
-
protoOf(FlagOption).
|
|
3838
|
-
this.
|
|
3839
|
-
thisRef.
|
|
3837
|
+
protoOf(FlagOption).f47 = function (thisRef, prop) {
|
|
3838
|
+
this.e47_1 = inferOptionNames(this.e47_1, prop.callableName);
|
|
3839
|
+
thisRef.m3x(this);
|
|
3840
3840
|
return this;
|
|
3841
3841
|
};
|
|
3842
|
-
protoOf(FlagOption).
|
|
3842
|
+
protoOf(FlagOption).v42 = function (context, invocations) {
|
|
3843
3843
|
var transformContext = new OptionTransformContext(this, context);
|
|
3844
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
3844
|
+
var v = getFinalValue(this, context, invocations, this.w46_1);
|
|
3845
3845
|
var tmp;
|
|
3846
3846
|
if (v instanceof Parsed) {
|
|
3847
3847
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3851,21 +3851,21 @@
|
|
|
3851
3851
|
while (tmp0_iterator.s()) {
|
|
3852
3852
|
var item = tmp0_iterator.u();
|
|
3853
3853
|
// Inline function 'com.github.ajalt.clikt.parameters.options.FlagOption.finalize.<anonymous>' call
|
|
3854
|
-
var tmp$ret$0 = item.
|
|
3854
|
+
var tmp$ret$0 = item.k47_1;
|
|
3855
3855
|
destination.o(tmp$ret$0);
|
|
3856
3856
|
}
|
|
3857
|
-
tmp = this.
|
|
3857
|
+
tmp = this.y46_1(transformContext, destination);
|
|
3858
3858
|
} else {
|
|
3859
3859
|
if (v instanceof Sourced) {
|
|
3860
|
-
if (!(v.
|
|
3860
|
+
if (!(v.j47_1.l() === 1) ? true : !(v.j47_1.c1(0).i47_1.l() === 1)) {
|
|
3861
3861
|
var tmp0_elvis_lhs = longestName(this);
|
|
3862
|
-
var message = context.
|
|
3862
|
+
var message = context.l3w_1.g45(tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
3863
3863
|
throw UsageError_init_$Create$_0(message, this);
|
|
3864
3864
|
}
|
|
3865
|
-
tmp = this.
|
|
3865
|
+
tmp = this.x46_1(transformContext, v.j47_1.c1(0).i47_1.c1(0));
|
|
3866
3866
|
} else {
|
|
3867
3867
|
if (v instanceof Envvar) {
|
|
3868
|
-
tmp = this.
|
|
3868
|
+
tmp = this.x46_1(transformContext, v.h47_1);
|
|
3869
3869
|
} else {
|
|
3870
3870
|
noWhenBranchMatchedException();
|
|
3871
3871
|
}
|
|
@@ -3873,21 +3873,21 @@
|
|
|
3873
3873
|
}
|
|
3874
3874
|
_set_value__lx0xdg_0(this, tmp);
|
|
3875
3875
|
};
|
|
3876
|
-
protoOf(FlagOption).
|
|
3877
|
-
this.
|
|
3876
|
+
protoOf(FlagOption).z45 = function (context) {
|
|
3877
|
+
this.z46_1(new OptionTransformContext(this, context), this.r2());
|
|
3878
3878
|
};
|
|
3879
|
-
protoOf(FlagOption).
|
|
3880
|
-
return this.
|
|
3879
|
+
protoOf(FlagOption).w45 = function (thisRef, property) {
|
|
3880
|
+
return this.m47((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
3881
3881
|
};
|
|
3882
3882
|
function flag(_this__u8e3s4, secondaryNames, default_0, defaultForHelp) {
|
|
3883
3883
|
default_0 = default_0 === VOID ? false : default_0;
|
|
3884
3884
|
defaultForHelp = defaultForHelp === VOID ? '' : defaultForHelp;
|
|
3885
|
-
var tags = plus_3(_this__u8e3s4.
|
|
3886
|
-
var tmp = _this__u8e3s4.
|
|
3885
|
+
var tags = plus_3(_this__u8e3s4.r47_1, mapOf(to('default', defaultForHelp)));
|
|
3886
|
+
var tmp = _this__u8e3s4.e48_1;
|
|
3887
3887
|
var tmp_0 = toSet(secondaryNames);
|
|
3888
3888
|
var tmp_1 = flag$lambda;
|
|
3889
3889
|
var tmp_2 = flag$lambda_0(default_0, secondaryNames);
|
|
3890
|
-
return new FlagOption(tmp, tmp_0, _this__u8e3s4.
|
|
3890
|
+
return new FlagOption(tmp, tmp_0, _this__u8e3s4.p47_1, _this__u8e3s4.q47_1, tags, _this__u8e3s4.s47_1, _this__u8e3s4.t47_1, tmp_1, tmp_2, flag$lambda_1);
|
|
3891
3891
|
}
|
|
3892
3892
|
function flag$lambda($this$$receiver, it) {
|
|
3893
3893
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -3911,7 +3911,7 @@
|
|
|
3911
3911
|
tmp = false;
|
|
3912
3912
|
break;
|
|
3913
3913
|
default:
|
|
3914
|
-
throw BadParameterValue_init_$Create$_1($this$$receiver.
|
|
3914
|
+
throw BadParameterValue_init_$Create$_1($this$$receiver.q46_1.l3w_1.i45(it), $this$$receiver);
|
|
3915
3915
|
}
|
|
3916
3916
|
return tmp;
|
|
3917
3917
|
}
|
|
@@ -3943,7 +3943,7 @@
|
|
|
3943
3943
|
var tmp$ret$0;
|
|
3944
3944
|
$l$block_0: {
|
|
3945
3945
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
3946
|
-
var iterator = _this__u8e3s4.
|
|
3946
|
+
var iterator = _this__u8e3s4.w3v().r();
|
|
3947
3947
|
if (!iterator.s()) {
|
|
3948
3948
|
tmp$ret$0 = null;
|
|
3949
3949
|
break $l$block_0;
|
|
@@ -3973,13 +3973,13 @@
|
|
|
3973
3973
|
}
|
|
3974
3974
|
function Parsed(values) {
|
|
3975
3975
|
FinalValue.call(this);
|
|
3976
|
-
this.
|
|
3976
|
+
this.f48_1 = values;
|
|
3977
3977
|
}
|
|
3978
3978
|
protoOf(Parsed).toString = function () {
|
|
3979
|
-
return 'Parsed(values=' + this.
|
|
3979
|
+
return 'Parsed(values=' + this.f48_1 + ')';
|
|
3980
3980
|
};
|
|
3981
3981
|
protoOf(Parsed).hashCode = function () {
|
|
3982
|
-
return hashCode(this.
|
|
3982
|
+
return hashCode(this.f48_1);
|
|
3983
3983
|
};
|
|
3984
3984
|
protoOf(Parsed).equals = function (other) {
|
|
3985
3985
|
if (this === other)
|
|
@@ -3987,19 +3987,19 @@
|
|
|
3987
3987
|
if (!(other instanceof Parsed))
|
|
3988
3988
|
return false;
|
|
3989
3989
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
3990
|
-
if (!equals(this.
|
|
3990
|
+
if (!equals(this.f48_1, tmp0_other_with_cast.f48_1))
|
|
3991
3991
|
return false;
|
|
3992
3992
|
return true;
|
|
3993
3993
|
};
|
|
3994
3994
|
function Sourced(values) {
|
|
3995
3995
|
FinalValue.call(this);
|
|
3996
|
-
this.
|
|
3996
|
+
this.j47_1 = values;
|
|
3997
3997
|
}
|
|
3998
3998
|
protoOf(Sourced).toString = function () {
|
|
3999
|
-
return 'Sourced(values=' + this.
|
|
3999
|
+
return 'Sourced(values=' + this.j47_1 + ')';
|
|
4000
4000
|
};
|
|
4001
4001
|
protoOf(Sourced).hashCode = function () {
|
|
4002
|
-
return hashCode(this.
|
|
4002
|
+
return hashCode(this.j47_1);
|
|
4003
4003
|
};
|
|
4004
4004
|
protoOf(Sourced).equals = function (other) {
|
|
4005
4005
|
if (this === other)
|
|
@@ -4007,21 +4007,21 @@
|
|
|
4007
4007
|
if (!(other instanceof Sourced))
|
|
4008
4008
|
return false;
|
|
4009
4009
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4010
|
-
if (!equals(this.
|
|
4010
|
+
if (!equals(this.j47_1, tmp0_other_with_cast.j47_1))
|
|
4011
4011
|
return false;
|
|
4012
4012
|
return true;
|
|
4013
4013
|
};
|
|
4014
4014
|
function Envvar(key, value) {
|
|
4015
4015
|
FinalValue.call(this);
|
|
4016
|
-
this.
|
|
4017
|
-
this.
|
|
4016
|
+
this.g47_1 = key;
|
|
4017
|
+
this.h47_1 = value;
|
|
4018
4018
|
}
|
|
4019
4019
|
protoOf(Envvar).toString = function () {
|
|
4020
|
-
return 'Envvar(key=' + this.
|
|
4020
|
+
return 'Envvar(key=' + this.g47_1 + ', value=' + this.h47_1 + ')';
|
|
4021
4021
|
};
|
|
4022
4022
|
protoOf(Envvar).hashCode = function () {
|
|
4023
|
-
var result = getStringHashCode(this.
|
|
4024
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4023
|
+
var result = getStringHashCode(this.g47_1);
|
|
4024
|
+
result = imul(result, 31) + getStringHashCode(this.h47_1) | 0;
|
|
4025
4025
|
return result;
|
|
4026
4026
|
};
|
|
4027
4027
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4030,9 +4030,9 @@
|
|
|
4030
4030
|
if (!(other instanceof Envvar))
|
|
4031
4031
|
return false;
|
|
4032
4032
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4033
|
-
if (!(this.
|
|
4033
|
+
if (!(this.g47_1 === tmp0_other_with_cast.g47_1))
|
|
4034
4034
|
return false;
|
|
4035
|
-
if (!(this.
|
|
4035
|
+
if (!(this.h47_1 === tmp0_other_with_cast.h47_1))
|
|
4036
4036
|
return false;
|
|
4037
4037
|
return true;
|
|
4038
4038
|
};
|
|
@@ -4044,7 +4044,7 @@
|
|
|
4044
4044
|
if (!invocations.y()) {
|
|
4045
4045
|
tmp = new Parsed(invocations);
|
|
4046
4046
|
} else {
|
|
4047
|
-
if (context.
|
|
4047
|
+
if (context.i3w_1) {
|
|
4048
4048
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4049
4049
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4050
4050
|
} else {
|
|
@@ -4093,7 +4093,7 @@
|
|
|
4093
4093
|
return setOf_0(normalizedName);
|
|
4094
4094
|
}
|
|
4095
4095
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4096
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4096
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.w3v(), envvar, context.b3w_1);
|
|
4097
4097
|
var tmp;
|
|
4098
4098
|
if (tmp0_elvis_lhs == null) {
|
|
4099
4099
|
return null;
|
|
@@ -4101,7 +4101,7 @@
|
|
|
4101
4101
|
tmp = tmp0_elvis_lhs;
|
|
4102
4102
|
}
|
|
4103
4103
|
var env = tmp;
|
|
4104
|
-
var tmp1_safe_receiver = context.
|
|
4104
|
+
var tmp1_safe_receiver = context.m3w_1(env);
|
|
4105
4105
|
var tmp_0;
|
|
4106
4106
|
if (tmp1_safe_receiver == null) {
|
|
4107
4107
|
tmp_0 = null;
|
|
@@ -4114,8 +4114,8 @@
|
|
|
4114
4114
|
return tmp_0;
|
|
4115
4115
|
}
|
|
4116
4116
|
function readValueSource(_this__u8e3s4, context) {
|
|
4117
|
-
var tmp0_safe_receiver = context.
|
|
4118
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4117
|
+
var tmp0_safe_receiver = context.j3w_1;
|
|
4118
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g48(context, _this__u8e3s4);
|
|
4119
4119
|
var tmp;
|
|
4120
4120
|
if (tmp1_safe_receiver == null) {
|
|
4121
4121
|
tmp = null;
|
|
@@ -4209,70 +4209,70 @@
|
|
|
4209
4209
|
return toString(charSequenceGet(it.r2(), 0)) + '-' + toString(charSequenceGet(it.r2(), 1));
|
|
4210
4210
|
}
|
|
4211
4211
|
function _set_value__lx0xdg_1($this, _set____db54di) {
|
|
4212
|
-
return $this.
|
|
4212
|
+
return $this.d48_1.q45($this, value$factory_3(), _set____db54di);
|
|
4213
4213
|
}
|
|
4214
4214
|
function OptionWithValues(names, metavarWithDefault, nvalues, optionHelp, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, transformValue, transformEach, transformAll, transformValidator) {
|
|
4215
|
-
this.
|
|
4216
|
-
this.
|
|
4217
|
-
this.
|
|
4218
|
-
this.
|
|
4219
|
-
this.
|
|
4220
|
-
this.
|
|
4221
|
-
this.
|
|
4222
|
-
this.
|
|
4223
|
-
this.
|
|
4224
|
-
this.
|
|
4225
|
-
this.
|
|
4226
|
-
this.
|
|
4227
|
-
this.
|
|
4228
|
-
this.
|
|
4229
|
-
this.
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4232
|
-
this.
|
|
4233
|
-
}
|
|
4234
|
-
protoOf(OptionWithValues).
|
|
4235
|
-
return this.
|
|
4236
|
-
};
|
|
4237
|
-
protoOf(OptionWithValues).
|
|
4238
|
-
return this.
|
|
4239
|
-
};
|
|
4240
|
-
protoOf(OptionWithValues).
|
|
4241
|
-
return this.
|
|
4242
|
-
};
|
|
4243
|
-
protoOf(OptionWithValues).
|
|
4244
|
-
return this.
|
|
4245
|
-
};
|
|
4246
|
-
protoOf(OptionWithValues).
|
|
4247
|
-
return this.
|
|
4248
|
-
};
|
|
4249
|
-
protoOf(OptionWithValues).
|
|
4250
|
-
return this.
|
|
4251
|
-
};
|
|
4252
|
-
protoOf(OptionWithValues).
|
|
4253
|
-
return this.
|
|
4254
|
-
};
|
|
4255
|
-
protoOf(OptionWithValues).
|
|
4256
|
-
return this.
|
|
4215
|
+
this.n47_1 = metavarWithDefault;
|
|
4216
|
+
this.o47_1 = nvalues;
|
|
4217
|
+
this.p47_1 = optionHelp;
|
|
4218
|
+
this.q47_1 = hidden;
|
|
4219
|
+
this.r47_1 = helpTags;
|
|
4220
|
+
this.s47_1 = valueSourceKey;
|
|
4221
|
+
this.t47_1 = envvar;
|
|
4222
|
+
this.u47_1 = valueSplit;
|
|
4223
|
+
this.v47_1 = parser;
|
|
4224
|
+
this.w47_1 = completionCandidatesWithDefault;
|
|
4225
|
+
this.x47_1 = transformValue;
|
|
4226
|
+
this.y47_1 = transformEach;
|
|
4227
|
+
this.z47_1 = transformAll;
|
|
4228
|
+
this.a48_1 = transformValidator;
|
|
4229
|
+
this.b48_1 = null;
|
|
4230
|
+
this.c48_1 = null;
|
|
4231
|
+
this.d48_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4232
|
+
this.e48_1 = names;
|
|
4233
|
+
}
|
|
4234
|
+
protoOf(OptionWithValues).t3w = function () {
|
|
4235
|
+
return this.o47_1;
|
|
4236
|
+
};
|
|
4237
|
+
protoOf(OptionWithValues).c3x = function () {
|
|
4238
|
+
return this.p47_1;
|
|
4239
|
+
};
|
|
4240
|
+
protoOf(OptionWithValues).r3w = function () {
|
|
4241
|
+
return this.q47_1;
|
|
4242
|
+
};
|
|
4243
|
+
protoOf(OptionWithValues).m46 = function () {
|
|
4244
|
+
return this.r47_1;
|
|
4245
|
+
};
|
|
4246
|
+
protoOf(OptionWithValues).n46 = function () {
|
|
4247
|
+
return this.v47_1;
|
|
4248
|
+
};
|
|
4249
|
+
protoOf(OptionWithValues).s3z = function () {
|
|
4250
|
+
return this.b48_1;
|
|
4251
|
+
};
|
|
4252
|
+
protoOf(OptionWithValues).t3z = function () {
|
|
4253
|
+
return this.c48_1;
|
|
4254
|
+
};
|
|
4255
|
+
protoOf(OptionWithValues).o46 = function (context) {
|
|
4256
|
+
return this.n47_1.r2()(context);
|
|
4257
4257
|
};
|
|
4258
4258
|
protoOf(OptionWithValues).r2 = function () {
|
|
4259
|
-
return this.
|
|
4259
|
+
return this.d48_1.s45(this, value$factory_4());
|
|
4260
4260
|
};
|
|
4261
|
-
protoOf(OptionWithValues).
|
|
4261
|
+
protoOf(OptionWithValues).x3v = function () {
|
|
4262
4262
|
return emptySet();
|
|
4263
4263
|
};
|
|
4264
|
-
protoOf(OptionWithValues).
|
|
4265
|
-
return this.
|
|
4264
|
+
protoOf(OptionWithValues).w3v = function () {
|
|
4265
|
+
return this.e48_1;
|
|
4266
4266
|
};
|
|
4267
|
-
protoOf(OptionWithValues).
|
|
4268
|
-
return this.
|
|
4267
|
+
protoOf(OptionWithValues).s3w = function () {
|
|
4268
|
+
return this.w47_1.r2();
|
|
4269
4269
|
};
|
|
4270
|
-
protoOf(OptionWithValues).
|
|
4271
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4270
|
+
protoOf(OptionWithValues).v42 = function (context, invocations) {
|
|
4271
|
+
var v = getFinalValue(this, context, invocations, this.t47_1);
|
|
4272
4272
|
var tmp;
|
|
4273
4273
|
if (v instanceof Parsed) {
|
|
4274
4274
|
var tmp_0;
|
|
4275
|
-
if (this.
|
|
4275
|
+
if (this.u47_1 == null) {
|
|
4276
4276
|
tmp_0 = invocations;
|
|
4277
4277
|
} else {
|
|
4278
4278
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4284,17 +4284,17 @@
|
|
|
4284
4284
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
4285
4285
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4286
4286
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4287
|
-
var this_0 = item.
|
|
4287
|
+
var this_0 = item.l47_1;
|
|
4288
4288
|
var destination_0 = ArrayList_init_$Create$();
|
|
4289
4289
|
var tmp0_iterator_0 = this_0.r();
|
|
4290
4290
|
while (tmp0_iterator_0.s()) {
|
|
4291
4291
|
var element = tmp0_iterator_0.u();
|
|
4292
4292
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>.<anonymous>' call
|
|
4293
4293
|
// Inline function 'kotlin.text.split' call
|
|
4294
|
-
var list = this.
|
|
4294
|
+
var list = this.u47_1.c9(element, 0);
|
|
4295
4295
|
addAll(destination_0, list);
|
|
4296
4296
|
}
|
|
4297
|
-
var tmp$ret$4 = item.
|
|
4297
|
+
var tmp$ret$4 = item.h48(VOID, destination_0);
|
|
4298
4298
|
destination.o(tmp$ret$4);
|
|
4299
4299
|
}
|
|
4300
4300
|
tmp_0 = destination;
|
|
@@ -4305,7 +4305,7 @@
|
|
|
4305
4305
|
var tmp$ret$7;
|
|
4306
4306
|
$l$block_0: {
|
|
4307
4307
|
// Inline function 'kotlin.collections.any' call
|
|
4308
|
-
var this_1 = v.
|
|
4308
|
+
var this_1 = v.j47_1;
|
|
4309
4309
|
var tmp_1;
|
|
4310
4310
|
if (isInterface(this_1, Collection)) {
|
|
4311
4311
|
tmp_1 = this_1.y();
|
|
@@ -4320,7 +4320,7 @@
|
|
|
4320
4320
|
while (tmp0_iterator_1.s()) {
|
|
4321
4321
|
var element_0 = tmp0_iterator_1.u();
|
|
4322
4322
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
4323
|
-
if (!(element_0.
|
|
4323
|
+
if (!(element_0.i47_1.l() === this.o47_1)) {
|
|
4324
4324
|
tmp$ret$7 = true;
|
|
4325
4325
|
break $l$block_0;
|
|
4326
4326
|
}
|
|
@@ -4330,27 +4330,27 @@
|
|
|
4330
4330
|
if (tmp$ret$7)
|
|
4331
4331
|
throw new IncorrectOptionValueCount(this, ensureNotNull(longestName(this)));
|
|
4332
4332
|
// Inline function 'kotlin.collections.map' call
|
|
4333
|
-
var this_2 = v.
|
|
4333
|
+
var this_2 = v.j47_1;
|
|
4334
4334
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4335
4335
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
4336
4336
|
var tmp0_iterator_2 = this_2.r();
|
|
4337
4337
|
while (tmp0_iterator_2.s()) {
|
|
4338
4338
|
var item_0 = tmp0_iterator_2.u();
|
|
4339
4339
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
4340
|
-
var tmp$ret$9 = new Invocation('', item_0.
|
|
4340
|
+
var tmp$ret$9 = new Invocation('', item_0.i47_1);
|
|
4341
4341
|
destination_1.o(tmp$ret$9);
|
|
4342
4342
|
}
|
|
4343
4343
|
tmp = destination_1;
|
|
4344
4344
|
} else {
|
|
4345
4345
|
if (v instanceof Envvar) {
|
|
4346
4346
|
var tmp_2;
|
|
4347
|
-
if (this.
|
|
4348
|
-
tmp_2 = listOf(new Invocation(v.
|
|
4347
|
+
if (this.u47_1 == null) {
|
|
4348
|
+
tmp_2 = listOf(new Invocation(v.g47_1, listOf(v.h47_1)));
|
|
4349
4349
|
} else {
|
|
4350
4350
|
// Inline function 'kotlin.text.split' call
|
|
4351
|
-
var this_3 = v.
|
|
4352
|
-
var tmp$ret$12 = this.
|
|
4353
|
-
tmp_2 = listOf(new Invocation(v.
|
|
4351
|
+
var this_3 = v.h47_1;
|
|
4352
|
+
var tmp$ret$12 = this.u47_1.c9(this_3, 0);
|
|
4353
|
+
tmp_2 = listOf(new Invocation(v.g47_1, tmp$ret$12));
|
|
4354
4354
|
}
|
|
4355
4355
|
tmp = tmp_2;
|
|
4356
4356
|
} else {
|
|
@@ -4367,57 +4367,57 @@
|
|
|
4367
4367
|
while (tmp0_iterator_3.s()) {
|
|
4368
4368
|
var item_1 = tmp0_iterator_3.u();
|
|
4369
4369
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
4370
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4370
|
+
var tc = new OptionCallTransformContext(item_1.k47_1, this, context);
|
|
4371
4371
|
// Inline function 'kotlin.collections.map' call
|
|
4372
|
-
var this_4 = item_1.
|
|
4372
|
+
var this_4 = item_1.l47_1;
|
|
4373
4373
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4374
4374
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
4375
4375
|
var tmp0_iterator_4 = this_4.r();
|
|
4376
4376
|
while (tmp0_iterator_4.s()) {
|
|
4377
4377
|
var item_2 = tmp0_iterator_4.u();
|
|
4378
4378
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>.<anonymous>' call
|
|
4379
|
-
var tmp$ret$13 = this.
|
|
4379
|
+
var tmp$ret$13 = this.x47_1(tc, item_2);
|
|
4380
4380
|
destination_3.o(tmp$ret$13);
|
|
4381
4381
|
}
|
|
4382
|
-
var tmp$ret$16 = this.
|
|
4382
|
+
var tmp$ret$16 = this.y47_1(tc, destination_3);
|
|
4383
4383
|
destination_2.o(tmp$ret$16);
|
|
4384
4384
|
}
|
|
4385
|
-
_set_value__lx0xdg_1(this, this.
|
|
4385
|
+
_set_value__lx0xdg_1(this, this.z47_1(tmp_3, destination_2));
|
|
4386
4386
|
};
|
|
4387
|
-
protoOf(OptionWithValues).
|
|
4387
|
+
protoOf(OptionWithValues).f47 = function (thisRef, prop) {
|
|
4388
4388
|
// Inline function 'kotlin.require' call
|
|
4389
4389
|
// Inline function 'kotlin.contracts.contract' call
|
|
4390
|
-
if (!this.
|
|
4390
|
+
if (!this.x3v().y()) {
|
|
4391
4391
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.provideDelegate.<anonymous>' call
|
|
4392
4392
|
var message = 'Secondary option names are only allowed on flag options.';
|
|
4393
4393
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4394
4394
|
}
|
|
4395
|
-
this.
|
|
4396
|
-
thisRef.
|
|
4395
|
+
this.e48_1 = inferOptionNames(this.e48_1, prop.callableName);
|
|
4396
|
+
thisRef.m3x(this);
|
|
4397
4397
|
return this;
|
|
4398
4398
|
};
|
|
4399
|
-
protoOf(OptionWithValues).
|
|
4400
|
-
this.
|
|
4399
|
+
protoOf(OptionWithValues).z45 = function (context) {
|
|
4400
|
+
this.a48_1(new OptionTransformContext(this, context), this.r2());
|
|
4401
4401
|
};
|
|
4402
|
-
protoOf(OptionWithValues).
|
|
4402
|
+
protoOf(OptionWithValues).i48 = function (transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault) {
|
|
4403
4403
|
return new OptionWithValues(names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, transformValue, transformEach, transformAll, validator);
|
|
4404
4404
|
};
|
|
4405
|
-
protoOf(OptionWithValues).
|
|
4406
|
-
names = names === VOID ? this.
|
|
4407
|
-
metavarWithDefault = metavarWithDefault === VOID ? this.
|
|
4408
|
-
nvalues = nvalues === VOID ? this.
|
|
4409
|
-
help = help === VOID ? this.
|
|
4410
|
-
hidden = hidden === VOID ? this.
|
|
4411
|
-
helpTags = helpTags === VOID ? this.
|
|
4412
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
4413
|
-
envvar = envvar === VOID ? this.
|
|
4414
|
-
valueSplit = valueSplit === VOID ? this.
|
|
4415
|
-
parser = parser === VOID ? this.
|
|
4416
|
-
completionCandidatesWithDefault = completionCandidatesWithDefault === VOID ? this.
|
|
4417
|
-
return $super === VOID ? this.
|
|
4418
|
-
};
|
|
4419
|
-
protoOf(OptionWithValues).
|
|
4420
|
-
return this.
|
|
4405
|
+
protoOf(OptionWithValues).j48 = function (transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, $super) {
|
|
4406
|
+
names = names === VOID ? this.e48_1 : names;
|
|
4407
|
+
metavarWithDefault = metavarWithDefault === VOID ? this.n47_1 : metavarWithDefault;
|
|
4408
|
+
nvalues = nvalues === VOID ? this.o47_1 : nvalues;
|
|
4409
|
+
help = help === VOID ? this.p47_1 : help;
|
|
4410
|
+
hidden = hidden === VOID ? this.q47_1 : hidden;
|
|
4411
|
+
helpTags = helpTags === VOID ? this.r47_1 : helpTags;
|
|
4412
|
+
valueSourceKey = valueSourceKey === VOID ? this.s47_1 : valueSourceKey;
|
|
4413
|
+
envvar = envvar === VOID ? this.t47_1 : envvar;
|
|
4414
|
+
valueSplit = valueSplit === VOID ? this.u47_1 : valueSplit;
|
|
4415
|
+
parser = parser === VOID ? this.v47_1 : parser;
|
|
4416
|
+
completionCandidatesWithDefault = completionCandidatesWithDefault === VOID ? this.w47_1 : completionCandidatesWithDefault;
|
|
4417
|
+
return $super === VOID ? this.i48(transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault) : $super.i48.call(this, transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault);
|
|
4418
|
+
};
|
|
4419
|
+
protoOf(OptionWithValues).w45 = function (thisRef, property) {
|
|
4420
|
+
return this.m47((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4421
4421
|
};
|
|
4422
4422
|
function option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, completionCandidates, valueSourceKey) {
|
|
4423
4423
|
help = help === VOID ? '' : help;
|
|
@@ -4444,88 +4444,88 @@
|
|
|
4444
4444
|
return new OptionWithValues(tmp, tmp_2, 1, help, hidden, helpTags, valueSourceKey, envvar, null, tmp_3, tmp_4, option$lambda_1, defaultEachProcessor(), defaultAllProcessor_0(), defaultValidator_0());
|
|
4445
4445
|
}
|
|
4446
4446
|
function OptionCallTransformContext(name, option, context) {
|
|
4447
|
-
this.
|
|
4448
|
-
this.
|
|
4449
|
-
this.
|
|
4447
|
+
this.k48_1 = name;
|
|
4448
|
+
this.l48_1 = option;
|
|
4449
|
+
this.m48_1 = context;
|
|
4450
4450
|
}
|
|
4451
|
-
protoOf(OptionCallTransformContext).
|
|
4452
|
-
return this.
|
|
4451
|
+
protoOf(OptionCallTransformContext).s3w = function () {
|
|
4452
|
+
return this.l48_1.s3w();
|
|
4453
4453
|
};
|
|
4454
|
-
protoOf(OptionCallTransformContext).
|
|
4455
|
-
return this.
|
|
4454
|
+
protoOf(OptionCallTransformContext).m46 = function () {
|
|
4455
|
+
return this.l48_1.m46();
|
|
4456
4456
|
};
|
|
4457
|
-
protoOf(OptionCallTransformContext).
|
|
4458
|
-
return this.
|
|
4457
|
+
protoOf(OptionCallTransformContext).r3w = function () {
|
|
4458
|
+
return this.l48_1.r3w();
|
|
4459
4459
|
};
|
|
4460
|
-
protoOf(OptionCallTransformContext).
|
|
4461
|
-
return this.
|
|
4460
|
+
protoOf(OptionCallTransformContext).w3v = function () {
|
|
4461
|
+
return this.l48_1.w3v();
|
|
4462
4462
|
};
|
|
4463
|
-
protoOf(OptionCallTransformContext).
|
|
4464
|
-
return this.
|
|
4463
|
+
protoOf(OptionCallTransformContext).t3w = function () {
|
|
4464
|
+
return this.l48_1.t3w();
|
|
4465
4465
|
};
|
|
4466
|
-
protoOf(OptionCallTransformContext).
|
|
4467
|
-
return this.
|
|
4466
|
+
protoOf(OptionCallTransformContext).c3x = function () {
|
|
4467
|
+
return this.l48_1.c3x();
|
|
4468
4468
|
};
|
|
4469
|
-
protoOf(OptionCallTransformContext).
|
|
4470
|
-
return this.
|
|
4469
|
+
protoOf(OptionCallTransformContext).n46 = function () {
|
|
4470
|
+
return this.l48_1.n46();
|
|
4471
4471
|
};
|
|
4472
|
-
protoOf(OptionCallTransformContext).
|
|
4473
|
-
return this.
|
|
4472
|
+
protoOf(OptionCallTransformContext).x3v = function () {
|
|
4473
|
+
return this.l48_1.x3v();
|
|
4474
4474
|
};
|
|
4475
|
-
protoOf(OptionCallTransformContext).
|
|
4476
|
-
this.
|
|
4475
|
+
protoOf(OptionCallTransformContext).v42 = function (context, invocations) {
|
|
4476
|
+
this.l48_1.v42(context, invocations);
|
|
4477
4477
|
};
|
|
4478
|
-
protoOf(OptionCallTransformContext).
|
|
4479
|
-
return this.
|
|
4478
|
+
protoOf(OptionCallTransformContext).o46 = function (context) {
|
|
4479
|
+
return this.l48_1.o46(context);
|
|
4480
4480
|
};
|
|
4481
|
-
protoOf(OptionCallTransformContext).
|
|
4482
|
-
return this.
|
|
4481
|
+
protoOf(OptionCallTransformContext).h3x = function (context) {
|
|
4482
|
+
return this.l48_1.h3x(context);
|
|
4483
4483
|
};
|
|
4484
|
-
protoOf(OptionCallTransformContext).
|
|
4485
|
-
this.
|
|
4484
|
+
protoOf(OptionCallTransformContext).z45 = function (context) {
|
|
4485
|
+
this.l48_1.z45(context);
|
|
4486
4486
|
};
|
|
4487
|
-
protoOf(OptionCallTransformContext).
|
|
4488
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4487
|
+
protoOf(OptionCallTransformContext).n48 = function (message) {
|
|
4488
|
+
throw BadParameterValue_init_$Create$_0(message, this.k48_1);
|
|
4489
4489
|
};
|
|
4490
4490
|
function OptionTransformContext(option, context) {
|
|
4491
|
-
this.
|
|
4492
|
-
this.
|
|
4491
|
+
this.p46_1 = option;
|
|
4492
|
+
this.q46_1 = context;
|
|
4493
4493
|
}
|
|
4494
|
-
protoOf(OptionTransformContext).
|
|
4495
|
-
return this.
|
|
4494
|
+
protoOf(OptionTransformContext).s3w = function () {
|
|
4495
|
+
return this.p46_1.s3w();
|
|
4496
4496
|
};
|
|
4497
|
-
protoOf(OptionTransformContext).
|
|
4498
|
-
return this.
|
|
4497
|
+
protoOf(OptionTransformContext).m46 = function () {
|
|
4498
|
+
return this.p46_1.m46();
|
|
4499
4499
|
};
|
|
4500
|
-
protoOf(OptionTransformContext).
|
|
4501
|
-
return this.
|
|
4500
|
+
protoOf(OptionTransformContext).r3w = function () {
|
|
4501
|
+
return this.p46_1.r3w();
|
|
4502
4502
|
};
|
|
4503
|
-
protoOf(OptionTransformContext).
|
|
4504
|
-
return this.
|
|
4503
|
+
protoOf(OptionTransformContext).w3v = function () {
|
|
4504
|
+
return this.p46_1.w3v();
|
|
4505
4505
|
};
|
|
4506
|
-
protoOf(OptionTransformContext).
|
|
4507
|
-
return this.
|
|
4506
|
+
protoOf(OptionTransformContext).t3w = function () {
|
|
4507
|
+
return this.p46_1.t3w();
|
|
4508
4508
|
};
|
|
4509
|
-
protoOf(OptionTransformContext).
|
|
4510
|
-
return this.
|
|
4509
|
+
protoOf(OptionTransformContext).c3x = function () {
|
|
4510
|
+
return this.p46_1.c3x();
|
|
4511
4511
|
};
|
|
4512
|
-
protoOf(OptionTransformContext).
|
|
4513
|
-
return this.
|
|
4512
|
+
protoOf(OptionTransformContext).n46 = function () {
|
|
4513
|
+
return this.p46_1.n46();
|
|
4514
4514
|
};
|
|
4515
|
-
protoOf(OptionTransformContext).
|
|
4516
|
-
return this.
|
|
4515
|
+
protoOf(OptionTransformContext).x3v = function () {
|
|
4516
|
+
return this.p46_1.x3v();
|
|
4517
4517
|
};
|
|
4518
|
-
protoOf(OptionTransformContext).
|
|
4519
|
-
this.
|
|
4518
|
+
protoOf(OptionTransformContext).v42 = function (context, invocations) {
|
|
4519
|
+
this.p46_1.v42(context, invocations);
|
|
4520
4520
|
};
|
|
4521
|
-
protoOf(OptionTransformContext).
|
|
4522
|
-
return this.
|
|
4521
|
+
protoOf(OptionTransformContext).o46 = function (context) {
|
|
4522
|
+
return this.p46_1.o46(context);
|
|
4523
4523
|
};
|
|
4524
|
-
protoOf(OptionTransformContext).
|
|
4525
|
-
return this.
|
|
4524
|
+
protoOf(OptionTransformContext).h3x = function (context) {
|
|
4525
|
+
return this.p46_1.h3x(context);
|
|
4526
4526
|
};
|
|
4527
|
-
protoOf(OptionTransformContext).
|
|
4528
|
-
this.
|
|
4527
|
+
protoOf(OptionTransformContext).z45 = function (context) {
|
|
4528
|
+
this.p46_1.z45(context);
|
|
4529
4529
|
};
|
|
4530
4530
|
function defaultEachProcessor() {
|
|
4531
4531
|
return defaultEachProcessor$lambda;
|
|
@@ -4542,7 +4542,7 @@
|
|
|
4542
4542
|
};
|
|
4543
4543
|
}
|
|
4544
4544
|
function option$lambda_0($this$$receiver) {
|
|
4545
|
-
return $this$$receiver.
|
|
4545
|
+
return $this$$receiver.l3w_1.j45();
|
|
4546
4546
|
}
|
|
4547
4547
|
function option$lambda_1($this$$receiver, it) {
|
|
4548
4548
|
return it;
|
|
@@ -4582,7 +4582,7 @@
|
|
|
4582
4582
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4583
4583
|
var tmp;
|
|
4584
4584
|
if (defaultForHelp === VOID) {
|
|
4585
|
-
tmp = _this__u8e3s4.
|
|
4585
|
+
tmp = _this__u8e3s4.r47_1.x2('default');
|
|
4586
4586
|
} else {
|
|
4587
4587
|
tmp = defaultForHelp;
|
|
4588
4588
|
}
|
|
@@ -4590,7 +4590,7 @@
|
|
|
4590
4590
|
var tmp_0;
|
|
4591
4591
|
if (showAsRequired === VOID) {
|
|
4592
4592
|
// Inline function 'kotlin.collections.contains' call
|
|
4593
|
-
var this_0 = _this__u8e3s4.
|
|
4593
|
+
var this_0 = _this__u8e3s4.r47_1;
|
|
4594
4594
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4595
4595
|
var key = 'required';
|
|
4596
4596
|
tmp_0 = (isInterface(this_0, Map) ? this_0 : THROW_CCE()).u2(key);
|
|
@@ -4598,7 +4598,7 @@
|
|
|
4598
4598
|
tmp_0 = showAsRequired;
|
|
4599
4599
|
}
|
|
4600
4600
|
showAsRequired = tmp_0;
|
|
4601
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4601
|
+
var tags = toMutableMap(_this__u8e3s4.r47_1);
|
|
4602
4602
|
if (showAsRequired) {
|
|
4603
4603
|
// Inline function 'kotlin.collections.set' call
|
|
4604
4604
|
var key_0 = 'required';
|
|
@@ -4612,13 +4612,13 @@
|
|
|
4612
4612
|
} else {
|
|
4613
4613
|
tags.o2('default');
|
|
4614
4614
|
}
|
|
4615
|
-
return _this__u8e3s4.
|
|
4615
|
+
return _this__u8e3s4.j48(_this__u8e3s4.x47_1, _this__u8e3s4.y47_1, transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4616
4616
|
}
|
|
4617
4617
|
function multiple$lambda($required, $default) {
|
|
4618
4618
|
return function ($this$transformAll, it) {
|
|
4619
4619
|
var tmp;
|
|
4620
4620
|
if (it.y() ? $required : false) {
|
|
4621
|
-
throw new MissingOption($this$transformAll.
|
|
4621
|
+
throw new MissingOption($this$transformAll.p46_1);
|
|
4622
4622
|
} else if (it.y() ? !$required : false) {
|
|
4623
4623
|
tmp = $default;
|
|
4624
4624
|
} else {
|
|
@@ -4634,27 +4634,27 @@
|
|
|
4634
4634
|
};
|
|
4635
4635
|
}
|
|
4636
4636
|
function ValueWithDefault(explicit, default_0) {
|
|
4637
|
-
this.
|
|
4638
|
-
this.
|
|
4637
|
+
this.t45_1 = explicit;
|
|
4638
|
+
this.u45_1 = default_0;
|
|
4639
4639
|
}
|
|
4640
4640
|
protoOf(ValueWithDefault).r2 = function () {
|
|
4641
|
-
var tmp0_elvis_lhs = this.
|
|
4642
|
-
return tmp0_elvis_lhs == null ? this.
|
|
4641
|
+
var tmp0_elvis_lhs = this.t45_1;
|
|
4642
|
+
return tmp0_elvis_lhs == null ? this.u45_1 : tmp0_elvis_lhs;
|
|
4643
4643
|
};
|
|
4644
|
-
protoOf(ValueWithDefault).
|
|
4644
|
+
protoOf(ValueWithDefault).o48 = function (explicit, default_0) {
|
|
4645
4645
|
return new ValueWithDefault(explicit, default_0);
|
|
4646
4646
|
};
|
|
4647
|
-
protoOf(ValueWithDefault).
|
|
4648
|
-
explicit = explicit === VOID ? this.
|
|
4649
|
-
default_0 = default_0 === VOID ? this.
|
|
4650
|
-
return $super === VOID ? this.
|
|
4647
|
+
protoOf(ValueWithDefault).p48 = function (explicit, default_0, $super) {
|
|
4648
|
+
explicit = explicit === VOID ? this.t45_1 : explicit;
|
|
4649
|
+
default_0 = default_0 === VOID ? this.u45_1 : default_0;
|
|
4650
|
+
return $super === VOID ? this.o48(explicit, default_0) : $super.o48.call(this, explicit, default_0);
|
|
4651
4651
|
};
|
|
4652
4652
|
protoOf(ValueWithDefault).toString = function () {
|
|
4653
|
-
return 'ValueWithDefault(explicit=' + this.
|
|
4653
|
+
return 'ValueWithDefault(explicit=' + this.t45_1 + ', default=' + this.u45_1 + ')';
|
|
4654
4654
|
};
|
|
4655
4655
|
protoOf(ValueWithDefault).hashCode = function () {
|
|
4656
|
-
var result = this.
|
|
4657
|
-
result = imul(result, 31) + (this.
|
|
4656
|
+
var result = this.t45_1 == null ? 0 : hashCode(this.t45_1);
|
|
4657
|
+
result = imul(result, 31) + (this.u45_1 == null ? 0 : hashCode(this.u45_1)) | 0;
|
|
4658
4658
|
return result;
|
|
4659
4659
|
};
|
|
4660
4660
|
protoOf(ValueWithDefault).equals = function (other) {
|
|
@@ -4663,50 +4663,50 @@
|
|
|
4663
4663
|
if (!(other instanceof ValueWithDefault))
|
|
4664
4664
|
return false;
|
|
4665
4665
|
var tmp0_other_with_cast = other instanceof ValueWithDefault ? other : THROW_CCE();
|
|
4666
|
-
if (!equals(this.
|
|
4666
|
+
if (!equals(this.t45_1, tmp0_other_with_cast.t45_1))
|
|
4667
4667
|
return false;
|
|
4668
|
-
if (!equals(this.
|
|
4668
|
+
if (!equals(this.u45_1, tmp0_other_with_cast.u45_1))
|
|
4669
4669
|
return false;
|
|
4670
4670
|
return true;
|
|
4671
4671
|
};
|
|
4672
4672
|
function int(_this__u8e3s4) {
|
|
4673
4673
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert' call
|
|
4674
4674
|
var metavar = int$lambda;
|
|
4675
|
-
var completionCandidates = _this__u8e3s4.
|
|
4675
|
+
var completionCandidates = _this__u8e3s4.w47_1.u45_1;
|
|
4676
4676
|
var proc = int$lambda_0(_this__u8e3s4);
|
|
4677
|
-
return _this__u8e3s4.
|
|
4677
|
+
return _this__u8e3s4.j48(proc, defaultEachProcessor(), defaultAllProcessor_0(), defaultValidator_0(), VOID, _this__u8e3s4.n47_1.p48(VOID, metavar), VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4.w47_1.p48(VOID, completionCandidates));
|
|
4678
4678
|
}
|
|
4679
4679
|
function valueToInt(context, it) {
|
|
4680
4680
|
var tmp0_elvis_lhs = toIntOrNull(it);
|
|
4681
4681
|
var tmp;
|
|
4682
4682
|
if (tmp0_elvis_lhs == null) {
|
|
4683
|
-
throw BadParameterValue_init_$Create$(context.
|
|
4683
|
+
throw BadParameterValue_init_$Create$(context.l3w_1.h45(it));
|
|
4684
4684
|
} else {
|
|
4685
4685
|
tmp = tmp0_elvis_lhs;
|
|
4686
4686
|
}
|
|
4687
4687
|
return tmp;
|
|
4688
4688
|
}
|
|
4689
4689
|
function int$lambda($this$convert) {
|
|
4690
|
-
return $this$convert.
|
|
4690
|
+
return $this$convert.l3w_1.k45();
|
|
4691
4691
|
}
|
|
4692
4692
|
function int$lambda_0($this) {
|
|
4693
4693
|
return function ($this$null, it) {
|
|
4694
4694
|
var tmp;
|
|
4695
4695
|
try {
|
|
4696
4696
|
// Inline function 'com.github.ajalt.clikt.parameters.types.int.<anonymous>' call
|
|
4697
|
-
var it_0 = $this.
|
|
4698
|
-
tmp = valueToInt($this$null.
|
|
4697
|
+
var it_0 = $this.x47_1($this$null, it);
|
|
4698
|
+
tmp = valueToInt($this$null.m48_1, it_0);
|
|
4699
4699
|
} catch ($p) {
|
|
4700
4700
|
var tmp_0;
|
|
4701
4701
|
if ($p instanceof UsageError) {
|
|
4702
4702
|
var err = $p;
|
|
4703
|
-
err.
|
|
4703
|
+
err.g3y_1 = $this$null.k48_1;
|
|
4704
4704
|
throw err;
|
|
4705
4705
|
} else {
|
|
4706
4706
|
if ($p instanceof Exception) {
|
|
4707
4707
|
var err_0 = $p;
|
|
4708
4708
|
var tmp0_elvis_lhs = err_0.message;
|
|
4709
|
-
$this$null.
|
|
4709
|
+
$this$null.n48(tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
4710
4710
|
} else {
|
|
4711
4711
|
throw $p;
|
|
4712
4712
|
}
|
|
@@ -4718,12 +4718,12 @@
|
|
|
4718
4718
|
}
|
|
4719
4719
|
function FlagOptionParser() {
|
|
4720
4720
|
}
|
|
4721
|
-
protoOf(FlagOptionParser).
|
|
4721
|
+
protoOf(FlagOptionParser).q48 = function (option, name, argv, index, explicitValue) {
|
|
4722
4722
|
if (!(explicitValue == null))
|
|
4723
4723
|
throw new IncorrectOptionValueCount(option, name);
|
|
4724
4724
|
return ParseResult_init_$Create$(1, name, emptyList());
|
|
4725
4725
|
};
|
|
4726
|
-
protoOf(FlagOptionParser).
|
|
4726
|
+
protoOf(FlagOptionParser).r48 = function (option, name, argv, index, optionIndex) {
|
|
4727
4727
|
var consumed = optionIndex === get_lastIndex(argv.c1(index)) ? 1 : 0;
|
|
4728
4728
|
return ParseResult_init_$Create$(consumed, name, emptyList());
|
|
4729
4729
|
};
|
|
@@ -4739,23 +4739,23 @@
|
|
|
4739
4739
|
return ParseResult_init_$Init$(consumedCount, name, values, objectCreate(protoOf(ParseResult)));
|
|
4740
4740
|
}
|
|
4741
4741
|
function Invocation(name, values) {
|
|
4742
|
-
this.
|
|
4743
|
-
this.
|
|
4742
|
+
this.k47_1 = name;
|
|
4743
|
+
this.l47_1 = values;
|
|
4744
4744
|
}
|
|
4745
|
-
protoOf(Invocation).
|
|
4745
|
+
protoOf(Invocation).s48 = function (name, values) {
|
|
4746
4746
|
return new Invocation(name, values);
|
|
4747
4747
|
};
|
|
4748
|
-
protoOf(Invocation).
|
|
4749
|
-
name = name === VOID ? this.
|
|
4750
|
-
values = values === VOID ? this.
|
|
4751
|
-
return $super === VOID ? this.
|
|
4748
|
+
protoOf(Invocation).h48 = function (name, values, $super) {
|
|
4749
|
+
name = name === VOID ? this.k47_1 : name;
|
|
4750
|
+
values = values === VOID ? this.l47_1 : values;
|
|
4751
|
+
return $super === VOID ? this.s48(name, values) : $super.s48.call(this, name, values);
|
|
4752
4752
|
};
|
|
4753
4753
|
protoOf(Invocation).toString = function () {
|
|
4754
|
-
return 'Invocation(name=' + this.
|
|
4754
|
+
return 'Invocation(name=' + this.k47_1 + ', values=' + this.l47_1 + ')';
|
|
4755
4755
|
};
|
|
4756
4756
|
protoOf(Invocation).hashCode = function () {
|
|
4757
|
-
var result = getStringHashCode(this.
|
|
4758
|
-
result = imul(result, 31) + hashCode(this.
|
|
4757
|
+
var result = getStringHashCode(this.k47_1);
|
|
4758
|
+
result = imul(result, 31) + hashCode(this.l47_1) | 0;
|
|
4759
4759
|
return result;
|
|
4760
4760
|
};
|
|
4761
4761
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -4764,22 +4764,22 @@
|
|
|
4764
4764
|
if (!(other instanceof Invocation))
|
|
4765
4765
|
return false;
|
|
4766
4766
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
4767
|
-
if (!(this.
|
|
4767
|
+
if (!(this.k47_1 === tmp0_other_with_cast.k47_1))
|
|
4768
4768
|
return false;
|
|
4769
|
-
if (!equals(this.
|
|
4769
|
+
if (!equals(this.l47_1, tmp0_other_with_cast.l47_1))
|
|
4770
4770
|
return false;
|
|
4771
4771
|
return true;
|
|
4772
4772
|
};
|
|
4773
4773
|
function ParseResult(consumedCount, invocation) {
|
|
4774
|
-
this.
|
|
4775
|
-
this.
|
|
4774
|
+
this.t48_1 = consumedCount;
|
|
4775
|
+
this.u48_1 = invocation;
|
|
4776
4776
|
}
|
|
4777
4777
|
protoOf(ParseResult).toString = function () {
|
|
4778
|
-
return 'ParseResult(consumedCount=' + this.
|
|
4778
|
+
return 'ParseResult(consumedCount=' + this.t48_1 + ', invocation=' + this.u48_1 + ')';
|
|
4779
4779
|
};
|
|
4780
4780
|
protoOf(ParseResult).hashCode = function () {
|
|
4781
|
-
var result = this.
|
|
4782
|
-
result = imul(result, 31) + this.
|
|
4781
|
+
var result = this.t48_1;
|
|
4782
|
+
result = imul(result, 31) + this.u48_1.hashCode() | 0;
|
|
4783
4783
|
return result;
|
|
4784
4784
|
};
|
|
4785
4785
|
protoOf(ParseResult).equals = function (other) {
|
|
@@ -4788,30 +4788,30 @@
|
|
|
4788
4788
|
if (!(other instanceof ParseResult))
|
|
4789
4789
|
return false;
|
|
4790
4790
|
var tmp0_other_with_cast = other instanceof ParseResult ? other : THROW_CCE();
|
|
4791
|
-
if (!(this.
|
|
4791
|
+
if (!(this.t48_1 === tmp0_other_with_cast.t48_1))
|
|
4792
4792
|
return false;
|
|
4793
|
-
if (!this.
|
|
4793
|
+
if (!this.u48_1.equals(tmp0_other_with_cast.u48_1))
|
|
4794
4794
|
return false;
|
|
4795
4795
|
return true;
|
|
4796
4796
|
};
|
|
4797
4797
|
function OptionWithValuesParser() {
|
|
4798
4798
|
}
|
|
4799
|
-
protoOf(OptionWithValuesParser).
|
|
4799
|
+
protoOf(OptionWithValuesParser).q48 = function (option, name, argv, index, explicitValue) {
|
|
4800
4800
|
// Inline function 'kotlin.require' call
|
|
4801
4801
|
// Inline function 'kotlin.contracts.contract' call
|
|
4802
|
-
if (!(option.
|
|
4802
|
+
if (!(option.t3w() > 0)) {
|
|
4803
4803
|
// Inline function 'com.github.ajalt.clikt.parsers.OptionWithValuesParser.parseLongOpt.<anonymous>' call
|
|
4804
4804
|
var message = 'This parser can only be used with a fixed number of arguments. Try the flag parser instead.';
|
|
4805
4805
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4806
4806
|
}
|
|
4807
4807
|
var hasIncludedValue = !(explicitValue == null);
|
|
4808
|
-
var consumedCount = hasIncludedValue ? option.
|
|
4808
|
+
var consumedCount = hasIncludedValue ? option.t3w() : option.t3w() + 1 | 0;
|
|
4809
4809
|
var endIndex = (index + consumedCount | 0) - 1 | 0;
|
|
4810
4810
|
if (endIndex > get_lastIndex_0(argv)) {
|
|
4811
4811
|
throw new IncorrectOptionValueCount(option, name);
|
|
4812
4812
|
}
|
|
4813
4813
|
var tmp;
|
|
4814
|
-
if (option.
|
|
4814
|
+
if (option.t3w() > 1) {
|
|
4815
4815
|
var args = slice_0(argv, numberRangeToNumber(index + 1 | 0, endIndex));
|
|
4816
4816
|
if (!(explicitValue == null))
|
|
4817
4817
|
args = plus_0(listOf(explicitValue), args);
|
|
@@ -4822,7 +4822,7 @@
|
|
|
4822
4822
|
var invocation = tmp;
|
|
4823
4823
|
return new ParseResult(consumedCount, invocation);
|
|
4824
4824
|
};
|
|
4825
|
-
protoOf(OptionWithValuesParser).
|
|
4825
|
+
protoOf(OptionWithValuesParser).r48 = function (option, name, argv, index, optionIndex) {
|
|
4826
4826
|
var opt = argv.c1(index);
|
|
4827
4827
|
var hasIncludedValue = !(optionIndex === get_lastIndex(opt));
|
|
4828
4828
|
var tmp;
|
|
@@ -4835,7 +4835,7 @@
|
|
|
4835
4835
|
tmp = null;
|
|
4836
4836
|
}
|
|
4837
4837
|
var explicitValue = tmp;
|
|
4838
|
-
return this.
|
|
4838
|
+
return this.q48(option, name, argv, index, explicitValue);
|
|
4839
4839
|
};
|
|
4840
4840
|
var OptionWithValuesParser_instance;
|
|
4841
4841
|
function OptionWithValuesParser_getInstance() {
|
|
@@ -4843,10 +4843,10 @@
|
|
|
4843
4843
|
}
|
|
4844
4844
|
function parse($this, argv, context, startingArgI, canRun) {
|
|
4845
4845
|
var tokens = argv;
|
|
4846
|
-
var command = context.
|
|
4847
|
-
var aliases = command.
|
|
4846
|
+
var command = context.z3v_1;
|
|
4847
|
+
var aliases = command.v3w();
|
|
4848
4848
|
// Inline function 'kotlin.collections.associateBy' call
|
|
4849
|
-
var this_0 = command.
|
|
4849
|
+
var this_0 = command.p3v_1;
|
|
4850
4850
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
4851
4851
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
4852
4852
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -4854,12 +4854,12 @@
|
|
|
4854
4854
|
while (tmp0_iterator.s()) {
|
|
4855
4855
|
var element = tmp0_iterator.u();
|
|
4856
4856
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
4857
|
-
var tmp$ret$0 = element.
|
|
4857
|
+
var tmp$ret$0 = element.m3v_1;
|
|
4858
4858
|
destination.n2(tmp$ret$0, element);
|
|
4859
4859
|
}
|
|
4860
4860
|
var subcommands = destination;
|
|
4861
4861
|
var optionsByName = HashMap_init_$Create$();
|
|
4862
|
-
var arguments_0 = command.
|
|
4862
|
+
var arguments_0 = command.r3v_1;
|
|
4863
4863
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
4864
4864
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
4865
4865
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -4867,11 +4867,11 @@
|
|
|
4867
4867
|
var tmp$ret$6;
|
|
4868
4868
|
$l$block: {
|
|
4869
4869
|
// Inline function 'kotlin.sequences.any' call
|
|
4870
|
-
var tmp0_iterator_0 = generateSequence(context.
|
|
4870
|
+
var tmp0_iterator_0 = generateSequence(context.y3v_1, Parser$parse$lambda).r();
|
|
4871
4871
|
while (tmp0_iterator_0.s()) {
|
|
4872
4872
|
var element_0 = tmp0_iterator_0.u();
|
|
4873
4873
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
4874
|
-
if (element_0.
|
|
4874
|
+
if (element_0.z3v_1.j3v_1) {
|
|
4875
4875
|
tmp$ret$6 = true;
|
|
4876
4876
|
break $l$block;
|
|
4877
4877
|
}
|
|
@@ -4879,17 +4879,17 @@
|
|
|
4879
4879
|
tmp$ret$6 = false;
|
|
4880
4880
|
}
|
|
4881
4881
|
var hasMultipleSubAncestor = tmp$ret$6;
|
|
4882
|
-
var tmp0_iterator_1 = command.
|
|
4882
|
+
var tmp0_iterator_1 = command.q3v_1.r();
|
|
4883
4883
|
while (tmp0_iterator_1.s()) {
|
|
4884
4884
|
var option = tmp0_iterator_1.u();
|
|
4885
4885
|
// Inline function 'kotlin.require' call
|
|
4886
4886
|
var tmp;
|
|
4887
4887
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4888
|
-
if (!option.
|
|
4888
|
+
if (!option.w3v().y()) {
|
|
4889
4889
|
tmp = true;
|
|
4890
4890
|
} else {
|
|
4891
4891
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4892
|
-
tmp = !option.
|
|
4892
|
+
tmp = !option.x3v().y();
|
|
4893
4893
|
}
|
|
4894
4894
|
// Inline function 'kotlin.contracts.contract' call
|
|
4895
4895
|
if (!tmp) {
|
|
@@ -4897,7 +4897,7 @@
|
|
|
4897
4897
|
var message = 'options must have at least one name';
|
|
4898
4898
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4899
4899
|
}
|
|
4900
|
-
var tmp1_iterator = plus(option.
|
|
4900
|
+
var tmp1_iterator = plus(option.w3v(), option.x3v()).r();
|
|
4901
4901
|
while (tmp1_iterator.s()) {
|
|
4902
4902
|
var name = tmp1_iterator.u();
|
|
4903
4903
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -4912,20 +4912,20 @@
|
|
|
4912
4912
|
}
|
|
4913
4913
|
}
|
|
4914
4914
|
prefixes.p('');
|
|
4915
|
-
if (startingArgI > get_lastIndex_0(tokens) ? command.
|
|
4915
|
+
if (startingArgI > get_lastIndex_0(tokens) ? command.g3v_1 : false) {
|
|
4916
4916
|
throw new PrintHelpMessage(command, true);
|
|
4917
4917
|
}
|
|
4918
4918
|
var positionalArgs = ArrayList_init_$Create$();
|
|
4919
4919
|
var i = {_v: startingArgI};
|
|
4920
4920
|
var subcommand = null;
|
|
4921
4921
|
var canParseOptions = true;
|
|
4922
|
-
var canExpandAtFiles = context.
|
|
4922
|
+
var canExpandAtFiles = context.h3w_1;
|
|
4923
4923
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4924
4924
|
var invocations = ArrayList_init_$Create$();
|
|
4925
4925
|
var minAliasI = 0;
|
|
4926
4926
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
4927
4927
|
var tok = tokens.c1(i._v);
|
|
4928
|
-
var normTok = context.
|
|
4928
|
+
var normTok = context.f3w_1(context, tok);
|
|
4929
4929
|
var prefix = splitOptionPrefix(tok).ye_1;
|
|
4930
4930
|
var tmp_0;
|
|
4931
4931
|
if (canExpandAtFiles ? startsWith(tok, '@') : false) {
|
|
@@ -4953,7 +4953,7 @@
|
|
|
4953
4953
|
canExpandAtFiles = false;
|
|
4954
4954
|
} else {
|
|
4955
4955
|
if (canParseOptions ? ((prefix.length > 1 ? prefixes.n(prefix) : false) ? true : longNames.n(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) : false) {
|
|
4956
|
-
parse$consumeParse(positionalArgs, invocations, i, parseLongOpt($this, command.
|
|
4956
|
+
parse$consumeParse(positionalArgs, invocations, i, parseLongOpt($this, command.k3v_1, context, tokens, tok, i._v, optionsByName));
|
|
4957
4957
|
} else {
|
|
4958
4958
|
var tmp_1;
|
|
4959
4959
|
var tmp_2;
|
|
@@ -4969,7 +4969,7 @@
|
|
|
4969
4969
|
tmp_1 = false;
|
|
4970
4970
|
}
|
|
4971
4971
|
if (tmp_1) {
|
|
4972
|
-
parse$consumeParse(positionalArgs, invocations, i, parseShortOpt($this, command.
|
|
4972
|
+
parse$consumeParse(positionalArgs, invocations, i, parseShortOpt($this, command.k3v_1, context, tokens, tok, i._v, optionsByName));
|
|
4973
4973
|
} else {
|
|
4974
4974
|
var tmp_3;
|
|
4975
4975
|
if (i._v >= minAliasI) {
|
|
@@ -4990,7 +4990,7 @@
|
|
|
4990
4990
|
subcommand = getValue(subcommands, normTok);
|
|
4991
4991
|
break loop;
|
|
4992
4992
|
} else {
|
|
4993
|
-
if (!context.
|
|
4993
|
+
if (!context.a3w_1)
|
|
4994
4994
|
canParseOptions = false;
|
|
4995
4995
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4996
4996
|
var element_3 = tokens.c1(i._v);
|
|
@@ -5010,7 +5010,7 @@
|
|
|
5010
5010
|
while (tmp0_iterator_2.s()) {
|
|
5011
5011
|
var element_4 = tmp0_iterator_2.u();
|
|
5012
5012
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5013
|
-
var key = element_4.
|
|
5013
|
+
var key = element_4.v48_1;
|
|
5014
5014
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5015
5015
|
var value = destination_0.x2(key);
|
|
5016
5016
|
var tmp_4;
|
|
@@ -5024,7 +5024,7 @@
|
|
|
5024
5024
|
}
|
|
5025
5025
|
var list = tmp_4;
|
|
5026
5026
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5027
|
-
var tmp$ret$21 = element_4.
|
|
5027
|
+
var tmp$ret$21 = element_4.w48_1;
|
|
5028
5028
|
list.o(tmp$ret$21);
|
|
5029
5029
|
}
|
|
5030
5030
|
var invocationsByOption = destination_0;
|
|
@@ -5035,9 +5035,9 @@
|
|
|
5035
5035
|
while (tmp0_iterator_3.s()) {
|
|
5036
5036
|
var element_5 = tmp0_iterator_3.u();
|
|
5037
5037
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5038
|
-
var tmp_5 = element_5.
|
|
5038
|
+
var tmp_5 = element_5.v48_1;
|
|
5039
5039
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5040
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5040
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s3z();
|
|
5041
5041
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5042
5042
|
var value_0 = destination_1.x2(key_0);
|
|
5043
5043
|
var tmp_6;
|
|
@@ -5073,7 +5073,7 @@
|
|
|
5073
5073
|
while (tmp0_iterator_5.s()) {
|
|
5074
5074
|
var element_7 = tmp0_iterator_5.u();
|
|
5075
5075
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5076
|
-
var key_1 = element_7.
|
|
5076
|
+
var key_1 = element_7.v48_1;
|
|
5077
5077
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5078
5078
|
var value_1 = destination_3.x2(key_1);
|
|
5079
5079
|
var tmp_8;
|
|
@@ -5087,7 +5087,7 @@
|
|
|
5087
5087
|
}
|
|
5088
5088
|
var list_1 = tmp_8;
|
|
5089
5089
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5090
|
-
var tmp$ret$34 = element_7.
|
|
5090
|
+
var tmp$ret$34 = element_7.w48_1;
|
|
5091
5091
|
list_1.o(tmp$ret$34);
|
|
5092
5092
|
}
|
|
5093
5093
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5117,7 +5117,7 @@
|
|
|
5117
5117
|
// Inline function 'kotlin.collections.component2' call
|
|
5118
5118
|
var inv = element_8.r2();
|
|
5119
5119
|
if (get_isEager(o)) {
|
|
5120
|
-
o.
|
|
5120
|
+
o.v42(context, inv);
|
|
5121
5121
|
}
|
|
5122
5122
|
}
|
|
5123
5123
|
var tmp2_container = parseArguments($this, context, positionalArgs, arguments_0);
|
|
@@ -5127,7 +5127,7 @@
|
|
|
5127
5127
|
i._v = handleExcessArguments($this, excess, hasMultipleSubAncestor, i._v, tokens, subcommands, positionalArgs, context);
|
|
5128
5128
|
// Inline function 'kotlin.collections.filter' call
|
|
5129
5129
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5130
|
-
var this_1 = command.
|
|
5130
|
+
var this_1 = command.q3v_1;
|
|
5131
5131
|
var destination_4 = ArrayList_init_$Create$();
|
|
5132
5132
|
var tmp0_iterator_8 = this_1.r();
|
|
5133
5133
|
while (tmp0_iterator_8.s()) {
|
|
@@ -5136,7 +5136,7 @@
|
|
|
5136
5136
|
var tmp_9;
|
|
5137
5137
|
if (!get_isEager(element_9)) {
|
|
5138
5138
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5139
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5139
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.s3z()) == null;
|
|
5140
5140
|
} else {
|
|
5141
5141
|
tmp_9 = false;
|
|
5142
5142
|
}
|
|
@@ -5160,18 +5160,18 @@
|
|
|
5160
5160
|
if (group == null)
|
|
5161
5161
|
null;
|
|
5162
5162
|
else {
|
|
5163
|
-
group.
|
|
5163
|
+
group.d46(context, invocations_0);
|
|
5164
5164
|
}
|
|
5165
5165
|
}
|
|
5166
5166
|
// Inline function 'kotlin.collections.forEach' call
|
|
5167
|
-
var tmp0_iterator_10 = command.
|
|
5167
|
+
var tmp0_iterator_10 = command.s3v_1.r();
|
|
5168
5168
|
while (tmp0_iterator_10.s()) {
|
|
5169
5169
|
var element_11 = tmp0_iterator_10.u();
|
|
5170
5170
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5171
5171
|
// Inline function 'kotlin.collections.contains' call
|
|
5172
5172
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5173
5173
|
if (!(isInterface(invocationsByGroup, Map) ? invocationsByGroup : THROW_CCE()).u2(element_11)) {
|
|
5174
|
-
element_11.
|
|
5174
|
+
element_11.d46(context, emptyMap());
|
|
5175
5175
|
}
|
|
5176
5176
|
}
|
|
5177
5177
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5184,31 +5184,31 @@
|
|
|
5184
5184
|
var arg = element_12.q2();
|
|
5185
5185
|
// Inline function 'kotlin.collections.component2' call
|
|
5186
5186
|
var v = element_12.r2();
|
|
5187
|
-
arg.
|
|
5187
|
+
arg.y45(context, v);
|
|
5188
5188
|
}
|
|
5189
5189
|
// Inline function 'kotlin.collections.forEach' call
|
|
5190
|
-
var tmp0_iterator_12 = command.
|
|
5190
|
+
var tmp0_iterator_12 = command.q3v_1.r();
|
|
5191
5191
|
while (tmp0_iterator_12.s()) {
|
|
5192
5192
|
var element_13 = tmp0_iterator_12.u();
|
|
5193
5193
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5194
5194
|
var tmp0_safe_receiver_1 = isInterface(element_13, GroupableOption) ? element_13 : null;
|
|
5195
|
-
if ((tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
5196
|
-
element_13.
|
|
5195
|
+
if ((tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.s3z()) == null) {
|
|
5196
|
+
element_13.z45(context);
|
|
5197
5197
|
}
|
|
5198
5198
|
}
|
|
5199
5199
|
// Inline function 'kotlin.collections.forEach' call
|
|
5200
|
-
var tmp0_iterator_13 = command.
|
|
5200
|
+
var tmp0_iterator_13 = command.s3v_1.r();
|
|
5201
5201
|
while (tmp0_iterator_13.s()) {
|
|
5202
5202
|
var element_14 = tmp0_iterator_13.u();
|
|
5203
5203
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5204
|
-
element_14.
|
|
5204
|
+
element_14.z45(context);
|
|
5205
5205
|
}
|
|
5206
5206
|
// Inline function 'kotlin.collections.forEach' call
|
|
5207
|
-
var tmp0_iterator_14 = command.
|
|
5207
|
+
var tmp0_iterator_14 = command.r3v_1.r();
|
|
5208
5208
|
while (tmp0_iterator_14.s()) {
|
|
5209
5209
|
var element_15 = tmp0_iterator_14.u();
|
|
5210
5210
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5211
|
-
element_15.
|
|
5211
|
+
element_15.z45(context);
|
|
5212
5212
|
}
|
|
5213
5213
|
var tmp_11;
|
|
5214
5214
|
var tmp_12;
|
|
@@ -5219,24 +5219,24 @@
|
|
|
5219
5219
|
tmp_12 = false;
|
|
5220
5220
|
}
|
|
5221
5221
|
if (tmp_12) {
|
|
5222
|
-
tmp_11 = !command.
|
|
5222
|
+
tmp_11 = !command.f3v_1;
|
|
5223
5223
|
} else {
|
|
5224
5224
|
tmp_11 = false;
|
|
5225
5225
|
}
|
|
5226
5226
|
if (tmp_11) {
|
|
5227
5227
|
throw new PrintHelpMessage(command, true);
|
|
5228
5228
|
}
|
|
5229
|
-
command.
|
|
5230
|
-
if (command.
|
|
5231
|
-
var console = command.
|
|
5232
|
-
var tmp4_iterator = command.
|
|
5229
|
+
command.i2b().o3w_1 = subcommand;
|
|
5230
|
+
if (command.i2b().c3w_1) {
|
|
5231
|
+
var console = command.i2b().g3w_1;
|
|
5232
|
+
var tmp4_iterator = command.k3x().r();
|
|
5233
5233
|
while (tmp4_iterator.s()) {
|
|
5234
5234
|
var warning = tmp4_iterator.u();
|
|
5235
|
-
console.
|
|
5236
|
-
console.
|
|
5235
|
+
console.l45(warning, true);
|
|
5236
|
+
console.l45(console.v3x(), true);
|
|
5237
5237
|
}
|
|
5238
5238
|
}
|
|
5239
|
-
command.
|
|
5239
|
+
command.t3y();
|
|
5240
5240
|
} else {
|
|
5241
5241
|
var tmp_13;
|
|
5242
5242
|
if (subcommand == null) {
|
|
@@ -5252,18 +5252,18 @@
|
|
|
5252
5252
|
} catch ($p) {
|
|
5253
5253
|
if ($p instanceof UsageError) {
|
|
5254
5254
|
var e = $p;
|
|
5255
|
-
if (e.
|
|
5256
|
-
e.
|
|
5255
|
+
if (e.j3y_1 == null)
|
|
5256
|
+
e.j3y_1 = context;
|
|
5257
5257
|
throw e;
|
|
5258
5258
|
} else {
|
|
5259
5259
|
throw $p;
|
|
5260
5260
|
}
|
|
5261
5261
|
}
|
|
5262
5262
|
if (!(subcommand == null)) {
|
|
5263
|
-
var tmp5_container = parse($this, tokens, subcommand.
|
|
5263
|
+
var tmp5_container = parse($this, tokens, subcommand.i2b(), i._v + 1 | 0, true);
|
|
5264
5264
|
var nextTokens = tmp5_container.me();
|
|
5265
5265
|
var nextArgI = tmp5_container.ne();
|
|
5266
|
-
if (command.
|
|
5266
|
+
if (command.j3v_1 ? (nextTokens.l() - nextArgI | 0) > 0 : false) {
|
|
5267
5267
|
parse($this, nextTokens, context, nextArgI, false);
|
|
5268
5268
|
}
|
|
5269
5269
|
return to(nextTokens, nextArgI);
|
|
@@ -5284,7 +5284,7 @@
|
|
|
5284
5284
|
}
|
|
5285
5285
|
if (tmp) {
|
|
5286
5286
|
var actual = last(positionalArgs);
|
|
5287
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5287
|
+
throw new NoSuchSubcommand(actual, context.k3w_1(actual, toList_1(subcommands.l2())));
|
|
5288
5288
|
} else {
|
|
5289
5289
|
throwExcessArgsError($this, positionalArgs, excess, context);
|
|
5290
5290
|
}
|
|
@@ -5310,7 +5310,7 @@
|
|
|
5310
5310
|
var tmp0_container = tmp;
|
|
5311
5311
|
var name = tmp0_container.me();
|
|
5312
5312
|
var value = tmp0_container.ne();
|
|
5313
|
-
name = context.
|
|
5313
|
+
name = context.f3w_1(context, name);
|
|
5314
5314
|
var tmp1_elvis_lhs = optionsByName.x2(name);
|
|
5315
5315
|
var tmp_1;
|
|
5316
5316
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5328,18 +5328,18 @@
|
|
|
5328
5328
|
while (tmp0_iterator.s()) {
|
|
5329
5329
|
var element = tmp0_iterator.u();
|
|
5330
5330
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5331
|
-
if (!element.r2().
|
|
5331
|
+
if (!element.r2().r3w()) {
|
|
5332
5332
|
destination.n2(element.q2(), element.r2());
|
|
5333
5333
|
}
|
|
5334
5334
|
}
|
|
5335
|
-
throw new NoSuchOption(tmp_3, context.
|
|
5335
|
+
throw new NoSuchOption(tmp_3, context.k3w_1(tmp_4, toList_1(destination.l2())), context);
|
|
5336
5336
|
}
|
|
5337
5337
|
} else {
|
|
5338
5338
|
tmp_1 = tmp1_elvis_lhs;
|
|
5339
5339
|
}
|
|
5340
5340
|
var option = tmp_1;
|
|
5341
|
-
var result = option.
|
|
5342
|
-
return new OptParseResult(result.
|
|
5341
|
+
var result = option.n46().q48(option, name, tokens, index, value);
|
|
5342
|
+
return new OptParseResult(result.t48_1, emptyList(), listOf(new OptInvocation(option, result.u48_1)));
|
|
5343
5343
|
}
|
|
5344
5344
|
function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, optionsByName) {
|
|
5345
5345
|
var prefix = toString(charSequenceGet(tok, 0));
|
|
@@ -5353,7 +5353,7 @@
|
|
|
5353
5353
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5354
5354
|
if (i === 0)
|
|
5355
5355
|
continue $l$loop;
|
|
5356
|
-
var name = context.
|
|
5356
|
+
var name = context.f3w_1(context, prefix + toString(opt));
|
|
5357
5357
|
var tmp2_elvis_lhs = optionsByName.x2(name);
|
|
5358
5358
|
var tmp;
|
|
5359
5359
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -5383,12 +5383,12 @@
|
|
|
5383
5383
|
tmp = tmp2_elvis_lhs;
|
|
5384
5384
|
}
|
|
5385
5385
|
var option = tmp;
|
|
5386
|
-
var result = option.
|
|
5386
|
+
var result = option.n46().r48(option, name, tokens, index, i);
|
|
5387
5387
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5388
|
-
var element = new OptInvocation(option, result.
|
|
5388
|
+
var element = new OptInvocation(option, result.u48_1);
|
|
5389
5389
|
invocations.o(element);
|
|
5390
|
-
if (result.
|
|
5391
|
-
return new OptParseResult(result.
|
|
5390
|
+
if (result.t48_1 > 0)
|
|
5391
|
+
return new OptParseResult(result.t48_1, emptyList(), invocations);
|
|
5392
5392
|
}
|
|
5393
5393
|
throw IllegalStateException_init_$Create$('Error parsing short option ' + tokens.c1(index) + ': no parser consumed value.');
|
|
5394
5394
|
}
|
|
@@ -5404,7 +5404,7 @@
|
|
|
5404
5404
|
$l$loop: while (tmp0_iterator.s()) {
|
|
5405
5405
|
var item = tmp0_iterator.u();
|
|
5406
5406
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
5407
|
-
if (!(item.
|
|
5407
|
+
if (!(item.t3w() > 0))
|
|
5408
5408
|
break $l$loop;
|
|
5409
5409
|
list.o(item);
|
|
5410
5410
|
}
|
|
@@ -5414,7 +5414,7 @@
|
|
|
5414
5414
|
var element = tmp0_iterator_0.u();
|
|
5415
5415
|
var tmp_0 = sum;
|
|
5416
5416
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
5417
|
-
sum = tmp_0 + element.
|
|
5417
|
+
sum = tmp_0 + element.t3w() | 0;
|
|
5418
5418
|
}
|
|
5419
5419
|
var endSize = sum;
|
|
5420
5420
|
var i = 0;
|
|
@@ -5423,15 +5423,15 @@
|
|
|
5423
5423
|
var argument = tmp0_iterator_1.u();
|
|
5424
5424
|
var remaining = positionalArgs.l() - i | 0;
|
|
5425
5425
|
var tmp_1;
|
|
5426
|
-
if (argument.
|
|
5426
|
+
if (argument.t3w() <= 0) {
|
|
5427
5427
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
5428
|
-
var a = argument.
|
|
5428
|
+
var a = argument.r45() ? 1 : 0;
|
|
5429
5429
|
var b = remaining - endSize | 0;
|
|
5430
5430
|
tmp_1 = Math.max(a, b);
|
|
5431
|
-
} else if ((argument.
|
|
5431
|
+
} else if ((argument.t3w() > 0 ? !argument.r45() : false) ? remaining === 0 : false) {
|
|
5432
5432
|
tmp_1 = 0;
|
|
5433
5433
|
} else {
|
|
5434
|
-
tmp_1 = argument.
|
|
5434
|
+
tmp_1 = argument.t3w();
|
|
5435
5435
|
}
|
|
5436
5436
|
var consumed = tmp_1;
|
|
5437
5437
|
if (consumed > remaining) {
|
|
@@ -5460,7 +5460,7 @@
|
|
|
5460
5460
|
// Inline function 'kotlin.collections.component2' call
|
|
5461
5461
|
var v = tmp1_loop_parameter.r2();
|
|
5462
5462
|
try {
|
|
5463
|
-
it.
|
|
5463
|
+
it.y45(context, v);
|
|
5464
5464
|
} catch ($p) {
|
|
5465
5465
|
if ($p instanceof IllegalStateException) {
|
|
5466
5466
|
var e = $p;
|
|
@@ -5502,7 +5502,7 @@
|
|
|
5502
5502
|
} else {
|
|
5503
5503
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
5504
5504
|
if (i._v >= get_lastIndex(text)) {
|
|
5505
|
-
loadArgFile$err(filename, text, i, context, context.
|
|
5505
|
+
loadArgFile$err(filename, text, i, context, context.l3w_1.d45());
|
|
5506
5506
|
}
|
|
5507
5507
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
5508
5508
|
do {
|
|
@@ -5574,7 +5574,7 @@
|
|
|
5574
5574
|
}
|
|
5575
5575
|
var tmp_9 = inQuote;
|
|
5576
5576
|
if (!((tmp_9 == null ? null : new Char(tmp_9)) == null)) {
|
|
5577
|
-
loadArgFile$err(filename, text, i, context, context.
|
|
5577
|
+
loadArgFile$err(filename, text, i, context, context.l3w_1.c45());
|
|
5578
5578
|
}
|
|
5579
5579
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5580
5580
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -5586,7 +5586,7 @@
|
|
|
5586
5586
|
}
|
|
5587
5587
|
function throwExcessArgsError($this, positionalArgs, excess, context) {
|
|
5588
5588
|
var actual = joinToString(takeLast(positionalArgs, excess), ' ', '(', ')', 3);
|
|
5589
|
-
var message = excess === 1 ? context.
|
|
5589
|
+
var message = excess === 1 ? context.l3w_1.e45(actual) : context.l3w_1.f45(actual, excess);
|
|
5590
5590
|
throw UsageError_init_$Create$(message);
|
|
5591
5591
|
}
|
|
5592
5592
|
function parse$isLongOptionWithEquals(longNames, $context, optionsByName, prefix, token) {
|
|
@@ -5597,23 +5597,23 @@
|
|
|
5597
5597
|
return false;
|
|
5598
5598
|
if (prefix.length > 1)
|
|
5599
5599
|
return true;
|
|
5600
|
-
if (longNames.n($context.
|
|
5600
|
+
if (longNames.n($context.f3w_1($context, substringBefore(token, '='))))
|
|
5601
5601
|
return true;
|
|
5602
5602
|
// Inline function 'kotlin.collections.contains' call
|
|
5603
5603
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5604
|
-
var key = $context.
|
|
5604
|
+
var key = $context.f3w_1($context, take(token, 2));
|
|
5605
5605
|
if ((isInterface(optionsByName, Map) ? optionsByName : THROW_CCE()).u2(key))
|
|
5606
5606
|
return false;
|
|
5607
5607
|
return true;
|
|
5608
5608
|
}
|
|
5609
5609
|
function parse$consumeParse(positionalArgs, invocations, i, result) {
|
|
5610
5610
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5611
|
-
var elements = result.
|
|
5611
|
+
var elements = result.y48_1;
|
|
5612
5612
|
addAll(positionalArgs, elements);
|
|
5613
5613
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5614
|
-
var elements_0 = result.
|
|
5614
|
+
var elements_0 = result.z48_1;
|
|
5615
5615
|
addAll(invocations, elements_0);
|
|
5616
|
-
i._v = i._v + result.
|
|
5616
|
+
i._v = i._v + result.x48_1 | 0;
|
|
5617
5617
|
}
|
|
5618
5618
|
function loadArgFile$err($filename, text, i, $context, msg) {
|
|
5619
5619
|
// Inline function 'kotlin.text.count' call
|
|
@@ -5632,7 +5632,7 @@
|
|
|
5632
5632
|
throw new InvalidFileFormat($filename, msg, tmp$ret$1, $context);
|
|
5633
5633
|
}
|
|
5634
5634
|
function Parser$parse$lambda(it) {
|
|
5635
|
-
return it.
|
|
5635
|
+
return it.y3v_1;
|
|
5636
5636
|
}
|
|
5637
5637
|
function Parser$parseArguments$lambda(it) {
|
|
5638
5638
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -5640,7 +5640,7 @@
|
|
|
5640
5640
|
}
|
|
5641
5641
|
function Parser() {
|
|
5642
5642
|
}
|
|
5643
|
-
protoOf(Parser).
|
|
5643
|
+
protoOf(Parser).a3y = function (argv, context) {
|
|
5644
5644
|
parse(this, argv, context, 0, true);
|
|
5645
5645
|
};
|
|
5646
5646
|
var Parser_instance;
|
|
@@ -5648,15 +5648,15 @@
|
|
|
5648
5648
|
return Parser_instance;
|
|
5649
5649
|
}
|
|
5650
5650
|
function OptInvocation(opt, inv) {
|
|
5651
|
-
this.
|
|
5652
|
-
this.
|
|
5651
|
+
this.v48_1 = opt;
|
|
5652
|
+
this.w48_1 = inv;
|
|
5653
5653
|
}
|
|
5654
5654
|
protoOf(OptInvocation).toString = function () {
|
|
5655
|
-
return 'OptInvocation(opt=' + this.
|
|
5655
|
+
return 'OptInvocation(opt=' + this.v48_1 + ', inv=' + this.w48_1 + ')';
|
|
5656
5656
|
};
|
|
5657
5657
|
protoOf(OptInvocation).hashCode = function () {
|
|
5658
|
-
var result = hashCode(this.
|
|
5659
|
-
result = imul(result, 31) + this.
|
|
5658
|
+
var result = hashCode(this.v48_1);
|
|
5659
|
+
result = imul(result, 31) + this.w48_1.hashCode() | 0;
|
|
5660
5660
|
return result;
|
|
5661
5661
|
};
|
|
5662
5662
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -5665,24 +5665,24 @@
|
|
|
5665
5665
|
if (!(other instanceof OptInvocation))
|
|
5666
5666
|
return false;
|
|
5667
5667
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
5668
|
-
if (!equals(this.
|
|
5668
|
+
if (!equals(this.v48_1, tmp0_other_with_cast.v48_1))
|
|
5669
5669
|
return false;
|
|
5670
|
-
if (!this.
|
|
5670
|
+
if (!this.w48_1.equals(tmp0_other_with_cast.w48_1))
|
|
5671
5671
|
return false;
|
|
5672
5672
|
return true;
|
|
5673
5673
|
};
|
|
5674
5674
|
function OptParseResult(consumed, unknown, known) {
|
|
5675
|
-
this.
|
|
5676
|
-
this.
|
|
5677
|
-
this.
|
|
5675
|
+
this.x48_1 = consumed;
|
|
5676
|
+
this.y48_1 = unknown;
|
|
5677
|
+
this.z48_1 = known;
|
|
5678
5678
|
}
|
|
5679
5679
|
protoOf(OptParseResult).toString = function () {
|
|
5680
|
-
return 'OptParseResult(consumed=' + this.
|
|
5680
|
+
return 'OptParseResult(consumed=' + this.x48_1 + ', unknown=' + this.y48_1 + ', known=' + this.z48_1 + ')';
|
|
5681
5681
|
};
|
|
5682
5682
|
protoOf(OptParseResult).hashCode = function () {
|
|
5683
|
-
var result = this.
|
|
5684
|
-
result = imul(result, 31) + hashCode(this.
|
|
5685
|
-
result = imul(result, 31) + hashCode(this.
|
|
5683
|
+
var result = this.x48_1;
|
|
5684
|
+
result = imul(result, 31) + hashCode(this.y48_1) | 0;
|
|
5685
|
+
result = imul(result, 31) + hashCode(this.z48_1) | 0;
|
|
5686
5686
|
return result;
|
|
5687
5687
|
};
|
|
5688
5688
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -5691,11 +5691,11 @@
|
|
|
5691
5691
|
if (!(other instanceof OptParseResult))
|
|
5692
5692
|
return false;
|
|
5693
5693
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
5694
|
-
if (!(this.
|
|
5694
|
+
if (!(this.x48_1 === tmp0_other_with_cast.x48_1))
|
|
5695
5695
|
return false;
|
|
5696
|
-
if (!equals(this.
|
|
5696
|
+
if (!equals(this.y48_1, tmp0_other_with_cast.y48_1))
|
|
5697
5697
|
return false;
|
|
5698
|
-
if (!equals(this.
|
|
5698
|
+
if (!equals(this.z48_1, tmp0_other_with_cast.z48_1))
|
|
5699
5699
|
return false;
|
|
5700
5700
|
return true;
|
|
5701
5701
|
};
|
|
@@ -5767,23 +5767,23 @@
|
|
|
5767
5767
|
}
|
|
5768
5768
|
var LETTER_OR_DIGIT_RE;
|
|
5769
5769
|
function NodeMppImpls(fs) {
|
|
5770
|
-
this.
|
|
5770
|
+
this.a49_1 = fs;
|
|
5771
5771
|
}
|
|
5772
|
-
protoOf(NodeMppImpls).
|
|
5772
|
+
protoOf(NodeMppImpls).b49 = function (key) {
|
|
5773
5773
|
var tmp = process.env[key];
|
|
5774
5774
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
5775
5775
|
};
|
|
5776
|
-
protoOf(NodeMppImpls).
|
|
5776
|
+
protoOf(NodeMppImpls).c49 = function () {
|
|
5777
5777
|
return process.platform == 'win32';
|
|
5778
5778
|
};
|
|
5779
|
-
protoOf(NodeMppImpls).
|
|
5779
|
+
protoOf(NodeMppImpls).d49 = function (status) {
|
|
5780
5780
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5781
5781
|
return process.exit(status);
|
|
5782
5782
|
};
|
|
5783
|
-
protoOf(NodeMppImpls).
|
|
5783
|
+
protoOf(NodeMppImpls).e49 = function (filename) {
|
|
5784
5784
|
var tmp;
|
|
5785
5785
|
try {
|
|
5786
|
-
var tmp_0 = this.
|
|
5786
|
+
var tmp_0 = this.a49_1.readFileSync(filename, 'utf-8');
|
|
5787
5787
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
5788
5788
|
} catch ($p) {
|
|
5789
5789
|
var tmp_1;
|
|
@@ -5799,15 +5799,15 @@
|
|
|
5799
5799
|
};
|
|
5800
5800
|
function BrowserMppImpls() {
|
|
5801
5801
|
}
|
|
5802
|
-
protoOf(BrowserMppImpls).
|
|
5802
|
+
protoOf(BrowserMppImpls).b49 = function (key) {
|
|
5803
5803
|
return null;
|
|
5804
5804
|
};
|
|
5805
|
-
protoOf(BrowserMppImpls).
|
|
5805
|
+
protoOf(BrowserMppImpls).c49 = function () {
|
|
5806
5806
|
return false;
|
|
5807
5807
|
};
|
|
5808
|
-
protoOf(BrowserMppImpls).
|
|
5808
|
+
protoOf(BrowserMppImpls).d49 = function (status) {
|
|
5809
5809
|
};
|
|
5810
|
-
protoOf(BrowserMppImpls).
|
|
5810
|
+
protoOf(BrowserMppImpls).e49 = function (filename) {
|
|
5811
5811
|
return null;
|
|
5812
5812
|
};
|
|
5813
5813
|
var BrowserMppImpls_instance;
|
|
@@ -5816,15 +5816,15 @@
|
|
|
5816
5816
|
}
|
|
5817
5817
|
function exitProcessMpp(status) {
|
|
5818
5818
|
_init_properties_MppImpl_kt__zar9hh();
|
|
5819
|
-
return get_impls().
|
|
5819
|
+
return get_impls().d49(status);
|
|
5820
5820
|
}
|
|
5821
5821
|
function readEnvvar(key) {
|
|
5822
5822
|
_init_properties_MppImpl_kt__zar9hh();
|
|
5823
|
-
return get_impls().
|
|
5823
|
+
return get_impls().b49(key);
|
|
5824
5824
|
}
|
|
5825
5825
|
function isWindowsMpp() {
|
|
5826
5826
|
_init_properties_MppImpl_kt__zar9hh();
|
|
5827
|
-
return get_impls().
|
|
5827
|
+
return get_impls().c49();
|
|
5828
5828
|
}
|
|
5829
5829
|
function isLetterOrDigit(c) {
|
|
5830
5830
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -5832,7 +5832,7 @@
|
|
|
5832
5832
|
}
|
|
5833
5833
|
function readFileIfExists(filename) {
|
|
5834
5834
|
_init_properties_MppImpl_kt__zar9hh();
|
|
5835
|
-
return get_impls().
|
|
5835
|
+
return get_impls().e49(filename);
|
|
5836
5836
|
}
|
|
5837
5837
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
5838
5838
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -5877,9 +5877,9 @@
|
|
|
5877
5877
|
return tmp;
|
|
5878
5878
|
}
|
|
5879
5879
|
function NodeCliktConsole(fs) {
|
|
5880
|
-
this.
|
|
5880
|
+
this.f49_1 = fs;
|
|
5881
5881
|
}
|
|
5882
|
-
protoOf(NodeCliktConsole).
|
|
5882
|
+
protoOf(NodeCliktConsole).n45 = function (prompt, hideInput) {
|
|
5883
5883
|
try {
|
|
5884
5884
|
// Inline function 'kotlin.text.buildString' call
|
|
5885
5885
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -5891,7 +5891,7 @@
|
|
|
5891
5891
|
var char;
|
|
5892
5892
|
var buf = Buffer.alloc(1);
|
|
5893
5893
|
do {
|
|
5894
|
-
this.
|
|
5894
|
+
this.f49_1.readSync(0, buf, 0, 1, null);
|
|
5895
5895
|
char = '' + buf;
|
|
5896
5896
|
this_0.v5(char);
|
|
5897
5897
|
}
|
|
@@ -5906,7 +5906,7 @@
|
|
|
5906
5906
|
}
|
|
5907
5907
|
}
|
|
5908
5908
|
};
|
|
5909
|
-
protoOf(NodeCliktConsole).
|
|
5909
|
+
protoOf(NodeCliktConsole).l45 = function (text, error) {
|
|
5910
5910
|
var tmp;
|
|
5911
5911
|
if (error) {
|
|
5912
5912
|
tmp = process.stderr;
|
|
@@ -5915,64 +5915,64 @@
|
|
|
5915
5915
|
}
|
|
5916
5916
|
tmp.write(text);
|
|
5917
5917
|
};
|
|
5918
|
-
protoOf(NodeCliktConsole).
|
|
5918
|
+
protoOf(NodeCliktConsole).v3x = function () {
|
|
5919
5919
|
return isWindowsMpp() ? '\r\n' : '\n';
|
|
5920
5920
|
};
|
|
5921
5921
|
function BrowserCliktConsole() {
|
|
5922
5922
|
}
|
|
5923
|
-
protoOf(BrowserCliktConsole).
|
|
5923
|
+
protoOf(BrowserCliktConsole).n45 = function (prompt, hideInput) {
|
|
5924
5924
|
return null;
|
|
5925
5925
|
};
|
|
5926
|
-
protoOf(BrowserCliktConsole).
|
|
5926
|
+
protoOf(BrowserCliktConsole).l45 = function (text, error) {
|
|
5927
5927
|
println(text);
|
|
5928
5928
|
};
|
|
5929
|
-
protoOf(BrowserCliktConsole).
|
|
5929
|
+
protoOf(BrowserCliktConsole).v3x = function () {
|
|
5930
5930
|
return '\n';
|
|
5931
5931
|
};
|
|
5932
5932
|
//region block: post-declaration
|
|
5933
5933
|
defineProp(protoOf(UsageError), 'message', function () {
|
|
5934
5934
|
return this.na();
|
|
5935
5935
|
});
|
|
5936
|
-
protoOf(defaultLocalization$1).
|
|
5937
|
-
protoOf(defaultLocalization$1).
|
|
5938
|
-
protoOf(defaultLocalization$1).
|
|
5939
|
-
protoOf(defaultLocalization$1).
|
|
5940
|
-
protoOf(defaultLocalization$1).
|
|
5941
|
-
protoOf(defaultLocalization$1).
|
|
5942
|
-
protoOf(defaultLocalization$1).
|
|
5943
|
-
protoOf(defaultLocalization$1).
|
|
5944
|
-
protoOf(defaultLocalization$1).
|
|
5945
|
-
protoOf(defaultLocalization$1).
|
|
5946
|
-
protoOf(defaultLocalization$1).
|
|
5947
|
-
protoOf(defaultLocalization$1).
|
|
5948
|
-
protoOf(defaultLocalization$1).
|
|
5949
|
-
protoOf(defaultLocalization$1).
|
|
5950
|
-
protoOf(defaultLocalization$1).
|
|
5951
|
-
protoOf(defaultLocalization$1).
|
|
5952
|
-
protoOf(defaultLocalization$1).
|
|
5953
|
-
protoOf(defaultLocalization$1).
|
|
5954
|
-
protoOf(defaultLocalization$1).
|
|
5955
|
-
protoOf(defaultLocalization$1).
|
|
5956
|
-
protoOf(defaultLocalization$1).
|
|
5957
|
-
protoOf(defaultLocalization$1).
|
|
5958
|
-
protoOf(defaultLocalization$1).
|
|
5959
|
-
protoOf(defaultLocalization$1).
|
|
5960
|
-
protoOf(defaultLocalization$1).
|
|
5961
|
-
protoOf(defaultLocalization$1).
|
|
5962
|
-
protoOf(defaultLocalization$1).
|
|
5963
|
-
protoOf(defaultLocalization$1).
|
|
5964
|
-
protoOf(defaultLocalization$1).
|
|
5965
|
-
protoOf(defaultLocalization$1).
|
|
5966
|
-
protoOf(defaultLocalization$1).
|
|
5967
|
-
protoOf(defaultLocalization$1).
|
|
5968
|
-
protoOf(defaultLocalization$1).
|
|
5969
|
-
protoOf(EagerOption).
|
|
5970
|
-
protoOf(EagerOption).
|
|
5971
|
-
protoOf(FlagOption).
|
|
5972
|
-
protoOf(FlagOption).
|
|
5973
|
-
protoOf(FlagOption).
|
|
5974
|
-
protoOf(OptionWithValues).
|
|
5975
|
-
protoOf(OptionWithValues).
|
|
5936
|
+
protoOf(defaultLocalization$1).d3y = aborted;
|
|
5937
|
+
protoOf(defaultLocalization$1).w3z = usageError;
|
|
5938
|
+
protoOf(defaultLocalization$1).p40 = badParameter;
|
|
5939
|
+
protoOf(defaultLocalization$1).n40 = badParameterWithMessage;
|
|
5940
|
+
protoOf(defaultLocalization$1).o40 = badParameterWithParam;
|
|
5941
|
+
protoOf(defaultLocalization$1).m40 = badParameterWithMessageAndParam;
|
|
5942
|
+
protoOf(defaultLocalization$1).w40 = missingOption;
|
|
5943
|
+
protoOf(defaultLocalization$1).v41 = missingArgument;
|
|
5944
|
+
protoOf(defaultLocalization$1).f41 = noSuchSubcommand;
|
|
5945
|
+
protoOf(defaultLocalization$1).o41 = noSuchOption;
|
|
5946
|
+
protoOf(defaultLocalization$1).f40 = incorrectOptionValueCount;
|
|
5947
|
+
protoOf(defaultLocalization$1).c42 = incorrectArgumentValueCount;
|
|
5948
|
+
protoOf(defaultLocalization$1).k42 = fileNotFound;
|
|
5949
|
+
protoOf(defaultLocalization$1).u42 = invalidFileFormat;
|
|
5950
|
+
protoOf(defaultLocalization$1).t42 = invalidFileFormat_0;
|
|
5951
|
+
protoOf(defaultLocalization$1).c45 = unclosedQuote;
|
|
5952
|
+
protoOf(defaultLocalization$1).d45 = fileEndsWithSlash;
|
|
5953
|
+
protoOf(defaultLocalization$1).e45 = extraArgumentOne;
|
|
5954
|
+
protoOf(defaultLocalization$1).f45 = extraArgumentMany;
|
|
5955
|
+
protoOf(defaultLocalization$1).g45 = invalidFlagValueInFile;
|
|
5956
|
+
protoOf(defaultLocalization$1).h45 = intConversionError;
|
|
5957
|
+
protoOf(defaultLocalization$1).i45 = boolConversionError;
|
|
5958
|
+
protoOf(defaultLocalization$1).j45 = stringMetavar;
|
|
5959
|
+
protoOf(defaultLocalization$1).k45 = intMetavar;
|
|
5960
|
+
protoOf(defaultLocalization$1).u43 = usageTitle;
|
|
5961
|
+
protoOf(defaultLocalization$1).l44 = optionsTitle;
|
|
5962
|
+
protoOf(defaultLocalization$1).s44 = argumentsTitle;
|
|
5963
|
+
protoOf(defaultLocalization$1).x44 = commandsTitle;
|
|
5964
|
+
protoOf(defaultLocalization$1).v43 = optionsMetavar;
|
|
5965
|
+
protoOf(defaultLocalization$1).b44 = commandMetavar;
|
|
5966
|
+
protoOf(defaultLocalization$1).z44 = helpTagDefault;
|
|
5967
|
+
protoOf(defaultLocalization$1).y44 = helpTagRequired;
|
|
5968
|
+
protoOf(defaultLocalization$1).g3x = helpOptionMessage;
|
|
5969
|
+
protoOf(EagerOption).s3w = get_completionCandidates;
|
|
5970
|
+
protoOf(EagerOption).h3x = parameterHelp;
|
|
5971
|
+
protoOf(FlagOption).m47 = getValue_0;
|
|
5972
|
+
protoOf(FlagOption).s3w = get_completionCandidates;
|
|
5973
|
+
protoOf(FlagOption).h3x = parameterHelp;
|
|
5974
|
+
protoOf(OptionWithValues).m47 = getValue_0;
|
|
5975
|
+
protoOf(OptionWithValues).h3x = parameterHelp;
|
|
5976
5976
|
//endregion
|
|
5977
5977
|
//region block: init
|
|
5978
5978
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|