@flock/wirespec 0.11.5 → 0.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt.js +1170 -1170
- package/colormath-root-colormath.js +425 -425
- package/kotlin-kotlin-stdlib.js +16 -16
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +48 -47
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +1767 -1767
- package/markdown.js +1873 -1873
- package/mordant-mordant.js +1642 -1642
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +1868 -1925
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +415 -384
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-avro.js +208 -211
- package/wirespec-src-converter-avro.js.map +1 -1
- package/wirespec-src-converter-openapi.js +691 -710
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +78 -78
- package/wirespec-src-plugin-cli.js +133 -133
- package/wirespec-src-plugin-npm.d.ts +37 -24
- package/wirespec-src-plugin-npm.js +16 -16
- package/wirespec-src-tools-generator.js +100 -90
- package/wirespec-src-tools-generator.js.map +1 -1
package/clikt-clikt.js
CHANGED
|
@@ -196,24 +196,24 @@
|
|
|
196
196
|
}
|
|
197
197
|
function parameterHelp(context) {
|
|
198
198
|
var tmp;
|
|
199
|
-
if (this.
|
|
199
|
+
if (this.z3q()) {
|
|
200
200
|
tmp = null;
|
|
201
201
|
} else {
|
|
202
|
-
var tmp_0 = this.
|
|
203
|
-
var tmp_1 = this.
|
|
204
|
-
var tmp_2 = this.
|
|
205
|
-
var tmp_3 = this.
|
|
206
|
-
var tmp_4 = this.
|
|
207
|
-
var tmp_5 = this.
|
|
208
|
-
var tmp_6 = this.
|
|
209
|
-
var tmp_7 = this.
|
|
202
|
+
var tmp_0 = this.b3q();
|
|
203
|
+
var tmp_1 = this.c3q();
|
|
204
|
+
var tmp_2 = this.j42(context);
|
|
205
|
+
var tmp_3 = this.k3r(context);
|
|
206
|
+
var tmp_4 = this.b3r();
|
|
207
|
+
var tmp_5 = this.b3u();
|
|
208
|
+
var tmp_6 = this.z3r();
|
|
209
|
+
var tmp_7 = this.e3u();
|
|
210
210
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
211
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
211
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3u();
|
|
212
212
|
var tmp_8;
|
|
213
213
|
if (tmp3_elvis_lhs == null) {
|
|
214
214
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
215
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
216
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
215
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f3u();
|
|
216
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a3u();
|
|
217
217
|
} else {
|
|
218
218
|
tmp_8 = tmp3_elvis_lhs;
|
|
219
219
|
}
|
|
@@ -384,19 +384,19 @@
|
|
|
384
384
|
initMetadataForInterface(Argument_0, 'Argument');
|
|
385
385
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
386
386
|
name = name === VOID ? this.r2() : name;
|
|
387
|
-
nvalues = nvalues === VOID ? this.
|
|
388
|
-
required = required === VOID ? this.
|
|
389
|
-
helpGetter = helpGetter === VOID ? this.
|
|
390
|
-
helpTags = helpTags === VOID ? this.
|
|
391
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
392
|
-
return $super === VOID ? this.
|
|
387
|
+
nvalues = nvalues === VOID ? this.b3r() : nvalues;
|
|
388
|
+
required = required === VOID ? this.y40() : required;
|
|
389
|
+
helpGetter = helpGetter === VOID ? this.a41() : helpGetter;
|
|
390
|
+
helpTags = helpTags === VOID ? this.b3u() : helpTags;
|
|
391
|
+
completionCandidates = completionCandidates === VOID ? this.c41() : completionCandidates;
|
|
392
|
+
return $super === VOID ? this.d41(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.d41.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
393
393
|
}
|
|
394
394
|
initMetadataForInterface(ProcessedArgument, 'ProcessedArgument', VOID, VOID, [Argument_0]);
|
|
395
395
|
initMetadataForClass(ArgumentTransformContext, 'ArgumentTransformContext', VOID, VOID, [Argument_0]);
|
|
396
396
|
initMetadataForClass(ProcessedArgumentImpl, 'ProcessedArgumentImpl', VOID, VOID, [ProcessedArgument]);
|
|
397
397
|
function parameterHelp_0(context) {
|
|
398
|
-
var n = this.
|
|
399
|
-
var h = this.
|
|
398
|
+
var n = this.a3u();
|
|
399
|
+
var h = this.b42();
|
|
400
400
|
return n == null || h == null ? null : new Group_0(n, h);
|
|
401
401
|
}
|
|
402
402
|
initMetadataForInterface(ParameterGroup, 'ParameterGroup');
|
|
@@ -412,39 +412,39 @@
|
|
|
412
412
|
initMetadataForClass(Envvar, 'Envvar', VOID, FinalValue);
|
|
413
413
|
initMetadataForClass(OptionTransformContext, 'OptionTransformContext', VOID, VOID, [Option_0]);
|
|
414
414
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
415
|
-
names = names === VOID ? this.
|
|
416
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
417
|
-
nvalues = nvalues === VOID ? this.
|
|
418
|
-
helpGetter = helpGetter === VOID ? this.
|
|
419
|
-
hidden = hidden === VOID ? this.
|
|
420
|
-
helpTags = helpTags === VOID ? this.
|
|
421
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
422
|
-
envvar = envvar === VOID ? this.
|
|
423
|
-
valueSplit = valueSplit === VOID ? this.
|
|
424
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
425
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
426
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
427
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
428
|
-
eager = eager === VOID ? this.
|
|
429
|
-
return $super === VOID ? this.
|
|
415
|
+
names = names === VOID ? this.b3q() : names;
|
|
416
|
+
metavarGetter = metavarGetter === VOID ? this.t42() : metavarGetter;
|
|
417
|
+
nvalues = nvalues === VOID ? this.b3r() : nvalues;
|
|
418
|
+
helpGetter = helpGetter === VOID ? this.a41() : helpGetter;
|
|
419
|
+
hidden = hidden === VOID ? this.z3q() : hidden;
|
|
420
|
+
helpTags = helpTags === VOID ? this.b3u() : helpTags;
|
|
421
|
+
valueSourceKey = valueSourceKey === VOID ? this.c3u() : valueSourceKey;
|
|
422
|
+
envvar = envvar === VOID ? this.r42() : envvar;
|
|
423
|
+
valueSplit = valueSplit === VOID ? this.u42() : valueSplit;
|
|
424
|
+
completionCandidates = completionCandidates === VOID ? this.c41() : completionCandidates;
|
|
425
|
+
secondaryNames = secondaryNames === VOID ? this.c3q() : secondaryNames;
|
|
426
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.z3r() : acceptsNumberValueWithoutName;
|
|
427
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.e3u() : acceptsUnattachedValue;
|
|
428
|
+
eager = eager === VOID ? this.d3u() : eager;
|
|
429
|
+
return $super === VOID ? this.v42(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.v42.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
430
430
|
}
|
|
431
431
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
432
|
-
validator = validator === VOID ? this.
|
|
433
|
-
names = names === VOID ? this.
|
|
434
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
435
|
-
nvalues = nvalues === VOID ? this.
|
|
436
|
-
helpGetter = helpGetter === VOID ? this.
|
|
437
|
-
hidden = hidden === VOID ? this.
|
|
438
|
-
helpTags = helpTags === VOID ? this.
|
|
439
|
-
envvar = envvar === VOID ? this.
|
|
440
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
441
|
-
valueSplit = valueSplit === VOID ? this.
|
|
442
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
443
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
444
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
445
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
446
|
-
eager = eager === VOID ? this.
|
|
447
|
-
return $super === VOID ? this.
|
|
432
|
+
validator = validator === VOID ? this.s42() : validator;
|
|
433
|
+
names = names === VOID ? this.b3q() : names;
|
|
434
|
+
metavarGetter = metavarGetter === VOID ? this.t42() : metavarGetter;
|
|
435
|
+
nvalues = nvalues === VOID ? this.b3r() : nvalues;
|
|
436
|
+
helpGetter = helpGetter === VOID ? this.a41() : helpGetter;
|
|
437
|
+
hidden = hidden === VOID ? this.z3q() : hidden;
|
|
438
|
+
helpTags = helpTags === VOID ? this.b3u() : helpTags;
|
|
439
|
+
envvar = envvar === VOID ? this.r42() : envvar;
|
|
440
|
+
valueSourceKey = valueSourceKey === VOID ? this.c3u() : valueSourceKey;
|
|
441
|
+
valueSplit = valueSplit === VOID ? this.u42() : valueSplit;
|
|
442
|
+
completionCandidates = completionCandidates === VOID ? this.c41() : completionCandidates;
|
|
443
|
+
secondaryNames = secondaryNames === VOID ? this.c3q() : secondaryNames;
|
|
444
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.z3r() : acceptsNumberValueWithoutName;
|
|
445
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.e3u() : acceptsUnattachedValue;
|
|
446
|
+
eager = eager === VOID ? this.d3u() : eager;
|
|
447
|
+
return $super === VOID ? this.w42(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.w42.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
448
448
|
}
|
|
449
449
|
initMetadataForInterface(OptionWithValues, 'OptionWithValues', VOID, VOID, [OptionDelegate]);
|
|
450
450
|
initMetadataForClass(OptionCallTransformContext, 'OptionCallTransformContext', VOID, VOID, [Option_0]);
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
initMetadataForObject(BrowserMppImpls, 'BrowserMppImpls');
|
|
462
462
|
//endregion
|
|
463
463
|
function commandCompletionFuncName($this, command) {
|
|
464
|
-
var tmp = command.
|
|
464
|
+
var tmp = command.a3q();
|
|
465
465
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
466
466
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
467
467
|
var isTopLevel = ancestors.j() === 1;
|
|
@@ -472,34 +472,34 @@
|
|
|
472
472
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').wb(name, '_');
|
|
473
473
|
}
|
|
474
474
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
475
|
-
return plus(_this__u8e3s4.
|
|
475
|
+
return plus(_this__u8e3s4.b3q(), _this__u8e3s4.c3q());
|
|
476
476
|
}
|
|
477
477
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
478
478
|
return "'" + it + "'";
|
|
479
479
|
}
|
|
480
480
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
481
|
-
return it.
|
|
481
|
+
return it.d3q_1;
|
|
482
482
|
}
|
|
483
483
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
484
|
-
return it.
|
|
484
|
+
return it.e3q_1.q3p_1;
|
|
485
485
|
}
|
|
486
486
|
function BashCompletionGenerator() {
|
|
487
487
|
}
|
|
488
|
-
protoOf(BashCompletionGenerator).
|
|
489
|
-
var commandName = command.
|
|
488
|
+
protoOf(BashCompletionGenerator).y3q = function (command, zsh) {
|
|
489
|
+
var commandName = command.q3p_1;
|
|
490
490
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
491
491
|
var isTopLevel = tmp0_container.qd();
|
|
492
492
|
var funcName = tmp0_container.rd();
|
|
493
493
|
// Inline function 'kotlin.collections.map' call
|
|
494
494
|
// Inline function 'kotlin.collections.filterNot' call
|
|
495
495
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
496
|
-
var this_0 = command.
|
|
496
|
+
var this_0 = command.u3p_1;
|
|
497
497
|
var destination = ArrayList_init_$Create$();
|
|
498
498
|
var tmp0_iterator = this_0.g();
|
|
499
499
|
while (tmp0_iterator.h()) {
|
|
500
500
|
var element = tmp0_iterator.i();
|
|
501
501
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
502
|
-
if (!element.
|
|
502
|
+
if (!element.z3q()) {
|
|
503
503
|
destination.e(element);
|
|
504
504
|
}
|
|
505
505
|
}
|
|
@@ -509,43 +509,43 @@
|
|
|
509
509
|
while (tmp0_iterator_0.h()) {
|
|
510
510
|
var item = tmp0_iterator_0.i();
|
|
511
511
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
512
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
512
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.a3r(), item.b3r());
|
|
513
513
|
destination_0.e(tmp$ret$3);
|
|
514
514
|
}
|
|
515
515
|
var options = destination_0;
|
|
516
516
|
// Inline function 'kotlin.collections.map' call
|
|
517
|
-
var this_1 = command.
|
|
517
|
+
var this_1 = command.v3p_1;
|
|
518
518
|
// Inline function 'kotlin.collections.mapTo' call
|
|
519
519
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
520
520
|
var tmp0_iterator_1 = this_1.g();
|
|
521
521
|
while (tmp0_iterator_1.h()) {
|
|
522
522
|
var item_0 = tmp0_iterator_1.i();
|
|
523
523
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
524
|
-
var tmp$ret$6 = to(item_0.r2(), item_0.
|
|
524
|
+
var tmp$ret$6 = to(item_0.r2(), item_0.a3r());
|
|
525
525
|
destination_1.e(tmp$ret$6);
|
|
526
526
|
}
|
|
527
527
|
var arguments_0 = destination_1;
|
|
528
528
|
// Inline function 'kotlin.collections.map' call
|
|
529
|
-
var this_2 = command.
|
|
529
|
+
var this_2 = command.t3p_1;
|
|
530
530
|
// Inline function 'kotlin.collections.mapTo' call
|
|
531
531
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
532
532
|
var tmp0_iterator_2 = this_2.g();
|
|
533
533
|
while (tmp0_iterator_2.h()) {
|
|
534
534
|
var item_1 = tmp0_iterator_2.i();
|
|
535
535
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
536
|
-
var tmp$ret$9 = item_1.
|
|
536
|
+
var tmp$ret$9 = item_1.q3p_1;
|
|
537
537
|
destination_2.e(tmp$ret$9);
|
|
538
538
|
}
|
|
539
539
|
var subcommands = destination_2;
|
|
540
540
|
// Inline function 'kotlin.collections.flatMap' call
|
|
541
541
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
542
|
-
var this_3 = command.
|
|
542
|
+
var this_3 = command.v3p_1;
|
|
543
543
|
var list = ArrayList_init_$Create$();
|
|
544
544
|
var tmp0_iterator_3 = this_3.g();
|
|
545
545
|
$l$loop: while (tmp0_iterator_3.h()) {
|
|
546
546
|
var item_2 = tmp0_iterator_3.i();
|
|
547
547
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
548
|
-
if (!(item_2.
|
|
548
|
+
if (!(item_2.b3r() > 0))
|
|
549
549
|
break $l$loop;
|
|
550
550
|
list.e(item_2);
|
|
551
551
|
}
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
var element_0 = tmp0_iterator_4.i();
|
|
557
557
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
558
558
|
// Inline function 'kotlin.collections.map' call
|
|
559
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
559
|
+
var this_4 = numberRangeToNumber(1, element_0.b3r());
|
|
560
560
|
// Inline function 'kotlin.collections.mapTo' call
|
|
561
561
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
562
562
|
var inductionVariable = this_4.d1_1;
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
577
577
|
// Inline function 'kotlin.text.orEmpty' call
|
|
578
578
|
// Inline function 'kotlin.collections.find' call
|
|
579
|
-
var this_5 = command.
|
|
579
|
+
var this_5 = command.v3p_1;
|
|
580
580
|
var tmp$ret$21;
|
|
581
581
|
$l$block: {
|
|
582
582
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
while (tmp0_iterator_5.h()) {
|
|
585
585
|
var element_1 = tmp0_iterator_5.i();
|
|
586
586
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
587
|
-
if (element_1.
|
|
587
|
+
if (element_1.b3r() < 0) {
|
|
588
588
|
tmp$ret$21 = element_1;
|
|
589
589
|
break $l$block;
|
|
590
590
|
}
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
var name = tmp1_loop_parameter.qd();
|
|
654
654
|
var candidate = tmp1_loop_parameter.rd();
|
|
655
655
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
656
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
656
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c3r_1;
|
|
657
657
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
658
658
|
var tmp;
|
|
659
659
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
}
|
|
712
712
|
this_6.w7(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
713
713
|
// Inline function 'kotlin.collections.iterator' call
|
|
714
|
-
var tmp7_iterator = command.
|
|
714
|
+
var tmp7_iterator = command.d3r().z().g();
|
|
715
715
|
while (tmp7_iterator.h()) {
|
|
716
716
|
var tmp8_loop_parameter = tmp7_iterator.i();
|
|
717
717
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -722,18 +722,18 @@
|
|
|
722
722
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
723
723
|
this_6.w7(' "${COMP_WORDS[@]:${i}}" )').w7('\n');
|
|
724
724
|
this_6.w7(' (( COMP_CWORD = COMP_CWORD + ' + toks.j() + ' ))\n');
|
|
725
|
-
if (!command.
|
|
725
|
+
if (!command.a3q().f3q_1) {
|
|
726
726
|
this_6.w7(' can_parse_options=0\n');
|
|
727
727
|
}
|
|
728
728
|
this_6.w7(' ;;\n');
|
|
729
729
|
}
|
|
730
|
-
var tmp9_iterator = command.
|
|
730
|
+
var tmp9_iterator = command.t3p_1.g();
|
|
731
731
|
while (tmp9_iterator.h()) {
|
|
732
732
|
var sub = tmp9_iterator.i();
|
|
733
|
-
this_6.w7(trimMargin('\n | ' + sub.
|
|
733
|
+
this_6.w7(trimMargin('\n | ' + sub.q3p_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).de_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
734
734
|
}
|
|
735
735
|
this_6.w7(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
736
|
-
if (!command.
|
|
736
|
+
if (!command.a3q().f3q_1) {
|
|
737
737
|
this_6.w7(' can_parse_options=0\n');
|
|
738
738
|
}
|
|
739
739
|
this_6.w7(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -793,11 +793,11 @@
|
|
|
793
793
|
} else {
|
|
794
794
|
if (completion instanceof Fixed) {
|
|
795
795
|
this_6.w7(" COMPREPLY=($(compgen -W '");
|
|
796
|
-
joinTo(completion.
|
|
796
|
+
joinTo(completion.e3r_1, this_6, ' ');
|
|
797
797
|
this_6.w7('\' -- "${word}"))\n');
|
|
798
798
|
} else {
|
|
799
799
|
if (completion instanceof Custom) {
|
|
800
|
-
if (!(completion.
|
|
800
|
+
if (!(completion.c3r_1(ShellType_BASH_getInstance()) == null)) {
|
|
801
801
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
802
802
|
this_6.w7(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
803
803
|
}
|
|
@@ -816,10 +816,10 @@
|
|
|
816
816
|
this_6.w7('\' -- "${word}"))\n ;;\n');
|
|
817
817
|
}
|
|
818
818
|
this_6.w7(' esac\n}\n');
|
|
819
|
-
var tmp13_iterator = command.
|
|
819
|
+
var tmp13_iterator = command.t3p_1.g();
|
|
820
820
|
while (tmp13_iterator.h()) {
|
|
821
821
|
var subcommand = tmp13_iterator.i();
|
|
822
|
-
this_6.w7(BashCompletionGenerator_instance.
|
|
822
|
+
this_6.w7(BashCompletionGenerator_instance.y3q(subcommand, zsh));
|
|
823
823
|
}
|
|
824
824
|
if (isTopLevel) {
|
|
825
825
|
this_6.w7('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -949,13 +949,13 @@
|
|
|
949
949
|
}
|
|
950
950
|
function Fixed(candidates) {
|
|
951
951
|
CompletionCandidates.call(this);
|
|
952
|
-
this.
|
|
952
|
+
this.e3r_1 = candidates;
|
|
953
953
|
}
|
|
954
954
|
protoOf(Fixed).toString = function () {
|
|
955
|
-
return 'Fixed(candidates=' + toString_0(this.
|
|
955
|
+
return 'Fixed(candidates=' + toString_0(this.e3r_1) + ')';
|
|
956
956
|
};
|
|
957
957
|
protoOf(Fixed).hashCode = function () {
|
|
958
|
-
return hashCode(this.
|
|
958
|
+
return hashCode(this.e3r_1);
|
|
959
959
|
};
|
|
960
960
|
protoOf(Fixed).equals = function (other) {
|
|
961
961
|
if (this === other)
|
|
@@ -963,7 +963,7 @@
|
|
|
963
963
|
if (!(other instanceof Fixed))
|
|
964
964
|
return false;
|
|
965
965
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
966
|
-
if (!equals(this.
|
|
966
|
+
if (!equals(this.e3r_1, tmp0_other_with_cast.e3r_1))
|
|
967
967
|
return false;
|
|
968
968
|
return true;
|
|
969
969
|
};
|
|
@@ -973,20 +973,20 @@
|
|
|
973
973
|
}
|
|
974
974
|
function CompletionGenerator() {
|
|
975
975
|
}
|
|
976
|
-
protoOf(CompletionGenerator).
|
|
976
|
+
protoOf(CompletionGenerator).f3r = function (command, shell) {
|
|
977
977
|
// Inline function 'kotlin.text.lowercase' call
|
|
978
978
|
// Inline function 'kotlin.text.trim' call
|
|
979
979
|
// Inline function 'kotlin.js.asDynamic' call
|
|
980
980
|
var message;
|
|
981
981
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
982
982
|
case 'fish':
|
|
983
|
-
message = FishCompletionGenerator_instance.
|
|
983
|
+
message = FishCompletionGenerator_instance.g3r(command);
|
|
984
984
|
break;
|
|
985
985
|
case 'zsh':
|
|
986
|
-
message = BashCompletionGenerator_instance.
|
|
986
|
+
message = BashCompletionGenerator_instance.y3q(command, true);
|
|
987
987
|
break;
|
|
988
988
|
default:
|
|
989
|
-
message = BashCompletionGenerator_instance.
|
|
989
|
+
message = BashCompletionGenerator_instance.y3q(command, false);
|
|
990
990
|
break;
|
|
991
991
|
}
|
|
992
992
|
throw new PrintCompletionMessage(message);
|
|
@@ -1002,29 +1002,29 @@
|
|
|
1002
1002
|
var this_0 = StringBuilder_init_$Create$();
|
|
1003
1003
|
// Inline function 'kotlin.contracts.contract' call
|
|
1004
1004
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
1005
|
-
var parentCommandName = lastOrNull(command.
|
|
1006
|
-
var rootCommandName = first_0(command.
|
|
1005
|
+
var parentCommandName = lastOrNull(command.a3q().h3r());
|
|
1006
|
+
var rootCommandName = first_0(command.a3q().i3r());
|
|
1007
1007
|
var isTopLevel = parentCommandName == null;
|
|
1008
|
-
var commandName = command.
|
|
1008
|
+
var commandName = command.q3p_1;
|
|
1009
1009
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1010
1010
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1011
|
-
var this_1 = command.
|
|
1011
|
+
var this_1 = command.u3p_1;
|
|
1012
1012
|
var destination = ArrayList_init_$Create$();
|
|
1013
1013
|
var tmp0_iterator = this_1.g();
|
|
1014
1014
|
while (tmp0_iterator.h()) {
|
|
1015
1015
|
var element = tmp0_iterator.i();
|
|
1016
1016
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1017
|
-
if (!element.
|
|
1017
|
+
if (!element.z3q()) {
|
|
1018
1018
|
destination.e(element);
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
var options = destination;
|
|
1022
|
-
var arguments_0 = command.
|
|
1023
|
-
var subcommands = command.
|
|
1022
|
+
var arguments_0 = command.v3p_1;
|
|
1023
|
+
var subcommands = command.t3p_1;
|
|
1024
1024
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1025
1025
|
var hasSubcommands = !subcommands.l();
|
|
1026
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1027
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1026
|
+
var subcommandsVarName_0 = subcommandsVarName(command.a3q().i3r(), FishCompletionGenerator_instance);
|
|
1027
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.a3q().h3r(), FishCompletionGenerator_instance);
|
|
1028
1028
|
if (isTopLevel) {
|
|
1029
1029
|
// Inline function 'kotlin.text.appendLine' call
|
|
1030
1030
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
this_0.w7('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1053
1053
|
}
|
|
1054
1054
|
this_0.w7('-a ' + commandName + ' ');
|
|
1055
|
-
var help = replace_0(command.
|
|
1055
|
+
var help = replace_0(command.j3r(command.a3q()), "'", "\\'");
|
|
1056
1056
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1057
1057
|
if (!isBlank(help)) {
|
|
1058
1058
|
this_0.w7("-d '" + help + "'");
|
|
@@ -1148,11 +1148,11 @@
|
|
|
1148
1148
|
}
|
|
1149
1149
|
this_0.w7(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1150
1150
|
}
|
|
1151
|
-
if (option.
|
|
1151
|
+
if (option.b3r().d1_1 > 0) {
|
|
1152
1152
|
this_0.w7(' -r');
|
|
1153
1153
|
}
|
|
1154
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1155
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1154
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.a3r());
|
|
1155
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.k3r(command.a3q()));
|
|
1156
1156
|
// Inline function 'kotlin.text.appendLine' call
|
|
1157
1157
|
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
1158
1158
|
}
|
|
@@ -1167,8 +1167,8 @@
|
|
|
1167
1167
|
while (tmp2_iterator.h()) {
|
|
1168
1168
|
var argument = tmp2_iterator.i();
|
|
1169
1169
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1170
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1171
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1170
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.a3r());
|
|
1171
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.l3r(command.a3q()));
|
|
1172
1172
|
// Inline function 'kotlin.text.appendLine' call
|
|
1173
1173
|
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
1174
1174
|
}
|
|
@@ -1229,10 +1229,10 @@
|
|
|
1229
1229
|
_this__u8e3s4.w7(' -fa "(__fish_complete_users)"');
|
|
1230
1230
|
} else {
|
|
1231
1231
|
if (completion instanceof Fixed) {
|
|
1232
|
-
joinTo(completion.
|
|
1232
|
+
joinTo(completion.e3r_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1233
1233
|
} else {
|
|
1234
1234
|
if (completion instanceof Custom) {
|
|
1235
|
-
var customCompletion = completion.
|
|
1235
|
+
var customCompletion = completion.c3r_1(ShellType_FISH_getInstance());
|
|
1236
1236
|
_this__u8e3s4.w7(' -fa ' + customCompletion);
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
@@ -1248,11 +1248,11 @@
|
|
|
1248
1248
|
var tmp;
|
|
1249
1249
|
var tmp_0;
|
|
1250
1250
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1251
|
-
if (!_this__u8e3s4.
|
|
1251
|
+
if (!_this__u8e3s4.v3p_1.l()) {
|
|
1252
1252
|
tmp_0 = true;
|
|
1253
1253
|
} else {
|
|
1254
1254
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1255
|
-
tmp_0 = !_this__u8e3s4.
|
|
1255
|
+
tmp_0 = !_this__u8e3s4.t3p_1.l();
|
|
1256
1256
|
}
|
|
1257
1257
|
if (tmp_0) {
|
|
1258
1258
|
tmp = true;
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
// Inline function 'kotlin.collections.any' call
|
|
1263
1263
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1264
1264
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1265
|
-
var this_0 = _this__u8e3s4.
|
|
1265
|
+
var this_0 = _this__u8e3s4.u3p_1;
|
|
1266
1266
|
var destination = ArrayList_init_$Create$();
|
|
1267
1267
|
var tmp0_iterator = this_0.g();
|
|
1268
1268
|
while (tmp0_iterator.h()) {
|
|
@@ -1300,10 +1300,10 @@
|
|
|
1300
1300
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1301
1301
|
}
|
|
1302
1302
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1303
|
-
return plus(_this__u8e3s4.
|
|
1303
|
+
return plus(_this__u8e3s4.b3q(), _this__u8e3s4.c3q());
|
|
1304
1304
|
}
|
|
1305
1305
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1306
|
-
return it.
|
|
1306
|
+
return it.q3p_1;
|
|
1307
1307
|
}
|
|
1308
1308
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1309
1309
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
}
|
|
1312
1312
|
function FishCompletionGenerator() {
|
|
1313
1313
|
}
|
|
1314
|
-
protoOf(FishCompletionGenerator).
|
|
1314
|
+
protoOf(FishCompletionGenerator).g3r = function (command) {
|
|
1315
1315
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1316
1316
|
return '';
|
|
1317
1317
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1322,30 +1322,30 @@
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function registeredOptionNames($this) {
|
|
1324
1324
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1325
|
-
var this_0 = $this.
|
|
1325
|
+
var this_0 = $this.u3p_1;
|
|
1326
1326
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1327
1327
|
var destination = LinkedHashSet_init_$Create$();
|
|
1328
1328
|
var tmp0_iterator = this_0.g();
|
|
1329
1329
|
while (tmp0_iterator.h()) {
|
|
1330
1330
|
var element = tmp0_iterator.i();
|
|
1331
1331
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1332
|
-
var list = element.
|
|
1332
|
+
var list = element.b3q();
|
|
1333
1333
|
addAll(destination, list);
|
|
1334
1334
|
}
|
|
1335
1335
|
return destination;
|
|
1336
1336
|
}
|
|
1337
1337
|
function createContext($this, argv, parent, ancestors) {
|
|
1338
|
-
$this.
|
|
1339
|
-
if ($this.
|
|
1338
|
+
$this.y3p_1 = Companion_instance_0.m3r($this, parent, argv, $this.x3p_1);
|
|
1339
|
+
if ($this.n3p_1) {
|
|
1340
1340
|
// Inline function 'kotlin.require' call
|
|
1341
1341
|
var tmp$ret$1;
|
|
1342
1342
|
$l$block: {
|
|
1343
1343
|
// Inline function 'kotlin.sequences.none' call
|
|
1344
|
-
var tmp0_iterator = $this.
|
|
1344
|
+
var tmp0_iterator = $this.a3q().n3r().g();
|
|
1345
1345
|
while (tmp0_iterator.h()) {
|
|
1346
1346
|
var element = tmp0_iterator.i();
|
|
1347
1347
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1348
|
-
if (element.
|
|
1348
|
+
if (element.e3q_1.n3p_1) {
|
|
1349
1349
|
tmp$ret$1 = false;
|
|
1350
1350
|
break $l$block;
|
|
1351
1351
|
}
|
|
@@ -1360,48 +1360,48 @@
|
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
1362
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1363
|
-
if (!$this.
|
|
1364
|
-
var names = minus($this.
|
|
1363
|
+
if (!$this.a3q().j3q_1.l()) {
|
|
1364
|
+
var names = minus($this.a3q().j3q_1, registeredOptionNames($this));
|
|
1365
1365
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1366
1366
|
if (!names.l()) {
|
|
1367
|
-
var tmp = $this.
|
|
1367
|
+
var tmp = $this.a3q().r3q_1.o3r();
|
|
1368
1368
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
|
-
var tmp0_iterator_0 = $this.
|
|
1371
|
+
var tmp0_iterator_0 = $this.t3p_1.g();
|
|
1372
1372
|
while (tmp0_iterator_0.h()) {
|
|
1373
1373
|
var command = tmp0_iterator_0.i();
|
|
1374
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1374
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.e3q_1));
|
|
1375
1375
|
// Inline function 'kotlin.check' call
|
|
1376
1376
|
// Inline function 'kotlin.contracts.contract' call
|
|
1377
1377
|
if (!!a.p1(command)) {
|
|
1378
1378
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1379
|
-
var message_0 = 'Command ' + command.
|
|
1379
|
+
var message_0 = 'Command ' + command.q3p_1 + ' already registered';
|
|
1380
1380
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1381
1381
|
}
|
|
1382
|
-
createContext(command, argv, $this.
|
|
1382
|
+
createContext(command, argv, $this.a3q(), a);
|
|
1383
1383
|
}
|
|
1384
|
-
return ensureNotNull($this.
|
|
1384
|
+
return ensureNotNull($this.y3p_1);
|
|
1385
1385
|
}
|
|
1386
1386
|
function getCommandNameWithParents($this) {
|
|
1387
|
-
if ($this.
|
|
1387
|
+
if ($this.y3p_1 == null) {
|
|
1388
1388
|
createContext($this, emptyList(), null, emptyList());
|
|
1389
1389
|
}
|
|
1390
|
-
return joinToString($this.
|
|
1390
|
+
return joinToString($this.a3q().i3r(), ' ');
|
|
1391
1391
|
}
|
|
1392
1392
|
function generateCompletion($this) {
|
|
1393
|
-
if ($this.
|
|
1393
|
+
if ($this.m3p_1 == null)
|
|
1394
1394
|
return Unit_instance;
|
|
1395
1395
|
var tmp;
|
|
1396
|
-
if (isBlank($this.
|
|
1396
|
+
if (isBlank($this.m3p_1)) {
|
|
1397
1397
|
// Inline function 'kotlin.text.uppercase' call
|
|
1398
1398
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1399
|
-
tmp = '_' + replace_0($this.
|
|
1399
|
+
tmp = '_' + replace_0($this.q3p_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1400
1400
|
} else {
|
|
1401
|
-
tmp = $this.
|
|
1401
|
+
tmp = $this.m3p_1;
|
|
1402
1402
|
}
|
|
1403
1403
|
var envvar = tmp;
|
|
1404
|
-
var tmp0_elvis_lhs = $this.
|
|
1404
|
+
var tmp0_elvis_lhs = $this.a3q().s3q_1(envvar);
|
|
1405
1405
|
var tmp_0;
|
|
1406
1406
|
if (tmp0_elvis_lhs == null) {
|
|
1407
1407
|
return Unit_instance;
|
|
@@ -1409,13 +1409,13 @@
|
|
|
1409
1409
|
tmp_0 = tmp0_elvis_lhs;
|
|
1410
1410
|
}
|
|
1411
1411
|
var envval = tmp_0;
|
|
1412
|
-
CompletionGenerator_instance.
|
|
1412
|
+
CompletionGenerator_instance.f3r($this, envval);
|
|
1413
1413
|
}
|
|
1414
1414
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1415
1415
|
return Unit_instance;
|
|
1416
1416
|
}
|
|
1417
1417
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1418
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1418
|
+
throw new PrintHelpMessage($this$eagerOption.q3r_1);
|
|
1419
1419
|
}
|
|
1420
1420
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1421
1421
|
help = help === VOID ? '' : help;
|
|
@@ -1428,50 +1428,50 @@
|
|
|
1428
1428
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1429
1429
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1430
1430
|
hidden = hidden === VOID ? false : hidden;
|
|
1431
|
-
this.
|
|
1432
|
-
this.
|
|
1433
|
-
this.
|
|
1434
|
-
this.
|
|
1435
|
-
this.
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1431
|
+
this.j3p_1 = invokeWithoutSubcommand;
|
|
1432
|
+
this.k3p_1 = printHelpOnEmptyArgs;
|
|
1433
|
+
this.l3p_1 = helpTags;
|
|
1434
|
+
this.m3p_1 = autoCompleteEnvvar;
|
|
1435
|
+
this.n3p_1 = allowMultipleSubcommands;
|
|
1436
|
+
this.o3p_1 = treatUnknownOptionsAsArgs;
|
|
1437
|
+
this.p3p_1 = hidden;
|
|
1438
1438
|
var tmp = this;
|
|
1439
|
-
tmp.
|
|
1440
|
-
this.
|
|
1441
|
-
this.
|
|
1442
|
-
this.
|
|
1439
|
+
tmp.q3p_1 = name == null ? inferCommandName(this) : name;
|
|
1440
|
+
this.r3p_1 = help;
|
|
1441
|
+
this.s3p_1 = epilog;
|
|
1442
|
+
this.t3p_1 = emptyList();
|
|
1443
1443
|
var tmp_0 = this;
|
|
1444
1444
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1445
|
-
tmp_0.
|
|
1445
|
+
tmp_0.u3p_1 = ArrayList_init_$Create$();
|
|
1446
1446
|
var tmp_1 = this;
|
|
1447
1447
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1448
|
-
tmp_1.
|
|
1448
|
+
tmp_1.v3p_1 = ArrayList_init_$Create$();
|
|
1449
1449
|
var tmp_2 = this;
|
|
1450
1450
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1451
|
-
tmp_2.
|
|
1451
|
+
tmp_2.w3p_1 = ArrayList_init_$Create$();
|
|
1452
1452
|
var tmp_3 = this;
|
|
1453
|
-
tmp_3.
|
|
1454
|
-
this.
|
|
1453
|
+
tmp_3.x3p_1 = CliktCommand$_contextConfig$lambda;
|
|
1454
|
+
this.y3p_1 = null;
|
|
1455
1455
|
var tmp_4 = this;
|
|
1456
1456
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1457
|
-
tmp_4.
|
|
1457
|
+
tmp_4.z3p_1 = ArrayList_init_$Create$();
|
|
1458
1458
|
}
|
|
1459
|
-
protoOf(CliktCommand).
|
|
1460
|
-
return this.
|
|
1459
|
+
protoOf(CliktCommand).r3r = function () {
|
|
1460
|
+
return this.r3p_1;
|
|
1461
1461
|
};
|
|
1462
|
-
protoOf(CliktCommand).
|
|
1463
|
-
return this.
|
|
1462
|
+
protoOf(CliktCommand).j3r = function (context) {
|
|
1463
|
+
return this.r3r();
|
|
1464
1464
|
};
|
|
1465
|
-
protoOf(CliktCommand).
|
|
1466
|
-
return this.
|
|
1465
|
+
protoOf(CliktCommand).s3r = function () {
|
|
1466
|
+
return this.s3p_1;
|
|
1467
1467
|
};
|
|
1468
|
-
protoOf(CliktCommand).
|
|
1469
|
-
return this.
|
|
1468
|
+
protoOf(CliktCommand).t3r = function (context) {
|
|
1469
|
+
return this.s3r();
|
|
1470
1470
|
};
|
|
1471
|
-
protoOf(CliktCommand).
|
|
1471
|
+
protoOf(CliktCommand).u3r = function () {
|
|
1472
1472
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1473
1473
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1474
|
-
var this_0 = this.
|
|
1474
|
+
var this_0 = this.u3p_1;
|
|
1475
1475
|
var destination = ArrayList_init_$Create$();
|
|
1476
1476
|
// Inline function 'kotlin.collections.forEach' call
|
|
1477
1477
|
var tmp0_iterator = this_0.g();
|
|
@@ -1479,7 +1479,7 @@
|
|
|
1479
1479
|
var element = tmp0_iterator.i();
|
|
1480
1480
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1481
1481
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1482
|
-
var tmp0_safe_receiver = element.
|
|
1482
|
+
var tmp0_safe_receiver = element.v3r(this.a3q());
|
|
1483
1483
|
if (tmp0_safe_receiver == null)
|
|
1484
1484
|
null;
|
|
1485
1485
|
else {
|
|
@@ -1491,7 +1491,7 @@
|
|
|
1491
1491
|
var tmp = destination;
|
|
1492
1492
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1493
1493
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1494
|
-
var this_1 = this.
|
|
1494
|
+
var this_1 = this.v3p_1;
|
|
1495
1495
|
var destination_0 = ArrayList_init_$Create$();
|
|
1496
1496
|
// Inline function 'kotlin.collections.forEach' call
|
|
1497
1497
|
var tmp0_iterator_0 = this_1.g();
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
var element_0 = tmp0_iterator_0.i();
|
|
1500
1500
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1501
1501
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1502
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1502
|
+
var tmp0_safe_receiver_0 = element_0.v3r(this.a3q());
|
|
1503
1503
|
if (tmp0_safe_receiver_0 == null)
|
|
1504
1504
|
null;
|
|
1505
1505
|
else {
|
|
@@ -1511,7 +1511,7 @@
|
|
|
1511
1511
|
var tmp_0 = destination_0;
|
|
1512
1512
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1513
1513
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1514
|
-
var this_2 = this.
|
|
1514
|
+
var this_2 = this.w3p_1;
|
|
1515
1515
|
var destination_1 = ArrayList_init_$Create$();
|
|
1516
1516
|
// Inline function 'kotlin.collections.forEach' call
|
|
1517
1517
|
var tmp0_iterator_1 = this_2.g();
|
|
@@ -1519,7 +1519,7 @@
|
|
|
1519
1519
|
var element_1 = tmp0_iterator_1.i();
|
|
1520
1520
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1521
1521
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1522
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1522
|
+
var tmp0_safe_receiver_1 = element_1.v3r(this.a3q());
|
|
1523
1523
|
if (tmp0_safe_receiver_1 == null)
|
|
1524
1524
|
null;
|
|
1525
1525
|
else {
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
var tmp_1 = destination_1;
|
|
1532
1532
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1533
1533
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1534
|
-
var this_3 = this.
|
|
1534
|
+
var this_3 = this.t3p_1;
|
|
1535
1535
|
var destination_2 = ArrayList_init_$Create$();
|
|
1536
1536
|
// Inline function 'kotlin.collections.forEach' call
|
|
1537
1537
|
var tmp0_iterator_2 = this_3.g();
|
|
@@ -1540,11 +1540,11 @@
|
|
|
1540
1540
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1541
1541
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1542
1542
|
// Inline function 'kotlin.takeUnless' call
|
|
1543
|
-
var this_4 = new Subcommand(element_2.
|
|
1543
|
+
var this_4 = new Subcommand(element_2.q3p_1, element_2.w3r(this.a3q()), element_2.l3p_1);
|
|
1544
1544
|
// Inline function 'kotlin.contracts.contract' call
|
|
1545
1545
|
var tmp_2;
|
|
1546
1546
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1547
|
-
if (!element_2.
|
|
1547
|
+
if (!element_2.p3p_1) {
|
|
1548
1548
|
tmp_2 = this_4;
|
|
1549
1549
|
} else {
|
|
1550
1550
|
tmp_2 = null;
|
|
@@ -1560,11 +1560,11 @@
|
|
|
1560
1560
|
}
|
|
1561
1561
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1562
1562
|
};
|
|
1563
|
-
protoOf(CliktCommand).
|
|
1563
|
+
protoOf(CliktCommand).a3q = function () {
|
|
1564
1564
|
$l$block: {
|
|
1565
1565
|
// Inline function 'kotlin.checkNotNull' call
|
|
1566
1566
|
// Inline function 'kotlin.contracts.contract' call
|
|
1567
|
-
if (this.
|
|
1567
|
+
if (this.y3p_1 == null) {
|
|
1568
1568
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1569
1569
|
var message = 'Context accessed before parse has been called.';
|
|
1570
1570
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1572,21 +1572,21 @@
|
|
|
1572
1572
|
break $l$block;
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
|
-
return ensureNotNull(this.
|
|
1575
|
+
return ensureNotNull(this.y3p_1);
|
|
1576
1576
|
};
|
|
1577
|
-
protoOf(CliktCommand).
|
|
1578
|
-
return this.
|
|
1577
|
+
protoOf(CliktCommand).x3r = function () {
|
|
1578
|
+
return this.z3p_1;
|
|
1579
1579
|
};
|
|
1580
|
-
protoOf(CliktCommand).
|
|
1581
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').tb(this.
|
|
1580
|
+
protoOf(CliktCommand).w3r = function (context) {
|
|
1581
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').tb(this.j3r(context));
|
|
1582
1582
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ec();
|
|
1583
1583
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k(1);
|
|
1584
1584
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.dc_1;
|
|
1585
1585
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1586
1586
|
};
|
|
1587
|
-
protoOf(CliktCommand).
|
|
1587
|
+
protoOf(CliktCommand).y3r = function (option) {
|
|
1588
1588
|
var names = registeredOptionNames(this);
|
|
1589
|
-
var tmp0_iterator = option.
|
|
1589
|
+
var tmp0_iterator = option.b3q().g();
|
|
1590
1590
|
while (tmp0_iterator.h()) {
|
|
1591
1591
|
var name = tmp0_iterator.i();
|
|
1592
1592
|
// Inline function 'kotlin.require' call
|
|
@@ -1597,12 +1597,12 @@
|
|
|
1597
1597
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1598
1598
|
}
|
|
1599
1599
|
}
|
|
1600
|
-
if (option.
|
|
1600
|
+
if (option.z3r()) {
|
|
1601
1601
|
// Inline function 'kotlin.require' call
|
|
1602
1602
|
var tmp$ret$1;
|
|
1603
1603
|
$l$block_0: {
|
|
1604
1604
|
// Inline function 'kotlin.collections.none' call
|
|
1605
|
-
var this_0 = this.
|
|
1605
|
+
var this_0 = this.u3p_1;
|
|
1606
1606
|
var tmp;
|
|
1607
1607
|
if (isInterface(this_0, Collection)) {
|
|
1608
1608
|
tmp = this_0.l();
|
|
@@ -1617,7 +1617,7 @@
|
|
|
1617
1617
|
while (tmp0_iterator_0.h()) {
|
|
1618
1618
|
var element = tmp0_iterator_0.i();
|
|
1619
1619
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1620
|
-
if (element.
|
|
1620
|
+
if (element.z3r()) {
|
|
1621
1621
|
tmp$ret$1 = false;
|
|
1622
1622
|
break $l$block_0;
|
|
1623
1623
|
}
|
|
@@ -1632,21 +1632,21 @@
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1635
|
-
this.
|
|
1635
|
+
this.u3p_1.e(option);
|
|
1636
1636
|
};
|
|
1637
|
-
protoOf(CliktCommand).
|
|
1638
|
-
return this.
|
|
1637
|
+
protoOf(CliktCommand).a3s = function (option) {
|
|
1638
|
+
return this.y3r(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1639
1639
|
};
|
|
1640
|
-
protoOf(CliktCommand).
|
|
1640
|
+
protoOf(CliktCommand).b3s = function (argument) {
|
|
1641
1641
|
// Inline function 'kotlin.require' call
|
|
1642
1642
|
var tmp;
|
|
1643
|
-
if (argument.
|
|
1643
|
+
if (argument.b3r() > 0) {
|
|
1644
1644
|
tmp = true;
|
|
1645
1645
|
} else {
|
|
1646
1646
|
var tmp$ret$0;
|
|
1647
1647
|
$l$block_0: {
|
|
1648
1648
|
// Inline function 'kotlin.collections.none' call
|
|
1649
|
-
var this_0 = this.
|
|
1649
|
+
var this_0 = this.v3p_1;
|
|
1650
1650
|
var tmp_0;
|
|
1651
1651
|
if (isInterface(this_0, Collection)) {
|
|
1652
1652
|
tmp_0 = this_0.l();
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
while (tmp0_iterator.h()) {
|
|
1662
1662
|
var element = tmp0_iterator.i();
|
|
1663
1663
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1664
|
-
if (element.
|
|
1664
|
+
if (element.b3r() < 0) {
|
|
1665
1665
|
tmp$ret$0 = false;
|
|
1666
1666
|
break $l$block_0;
|
|
1667
1667
|
}
|
|
@@ -1677,9 +1677,9 @@
|
|
|
1677
1677
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1678
1678
|
}
|
|
1679
1679
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1680
|
-
this.
|
|
1680
|
+
this.v3p_1.e(argument);
|
|
1681
1681
|
};
|
|
1682
|
-
protoOf(CliktCommand).
|
|
1682
|
+
protoOf(CliktCommand).c3s = function (error) {
|
|
1683
1683
|
var tmp;
|
|
1684
1684
|
if (!(error == null)) {
|
|
1685
1685
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1691,73 +1691,73 @@
|
|
|
1691
1691
|
}
|
|
1692
1692
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1693
1693
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x8();
|
|
1694
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1694
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.y3p_1 : tmp1_elvis_lhs;
|
|
1695
1695
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1696
|
-
var cmd = ctx.
|
|
1696
|
+
var cmd = ctx.e3q_1;
|
|
1697
1697
|
var programName = getCommandNameWithParents(cmd);
|
|
1698
|
-
var tmp_0 = ctx.
|
|
1699
|
-
return tmp_0.
|
|
1698
|
+
var tmp_0 = ctx.k3q_1(ctx);
|
|
1699
|
+
return tmp_0.d3s(error instanceof UsageError ? error : null, cmd.j3r(ctx), cmd.t3r(ctx), cmd.u3r(), programName);
|
|
1700
1700
|
};
|
|
1701
|
-
protoOf(CliktCommand).
|
|
1702
|
-
var msg = this.
|
|
1701
|
+
protoOf(CliktCommand).e3s = function (error) {
|
|
1702
|
+
var msg = this.c3s(error);
|
|
1703
1703
|
if (!(msg == null)) {
|
|
1704
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1705
|
-
this.
|
|
1704
|
+
var tmp1_elvis_lhs = error == null ? null : error.g3s_1;
|
|
1705
|
+
this.h3s(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1706
1706
|
}
|
|
1707
1707
|
};
|
|
1708
|
-
protoOf(CliktCommand).
|
|
1708
|
+
protoOf(CliktCommand).d3r = function () {
|
|
1709
1709
|
return emptyMap();
|
|
1710
1710
|
};
|
|
1711
|
-
protoOf(CliktCommand).
|
|
1711
|
+
protoOf(CliktCommand).i3s = function (message, trailingNewline, err) {
|
|
1712
1712
|
if (trailingNewline) {
|
|
1713
|
-
this.
|
|
1713
|
+
this.a3q().m3q_1.t3m(message, VOID, VOID, VOID, VOID, err);
|
|
1714
1714
|
} else {
|
|
1715
|
-
this.
|
|
1715
|
+
this.a3q().m3q_1.s3m(message, VOID, VOID, VOID, VOID, err);
|
|
1716
1716
|
}
|
|
1717
1717
|
};
|
|
1718
|
-
protoOf(CliktCommand).
|
|
1718
|
+
protoOf(CliktCommand).h3s = function (message, trailingNewline, err, $super) {
|
|
1719
1719
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1720
1720
|
err = err === VOID ? false : err;
|
|
1721
1721
|
var tmp;
|
|
1722
1722
|
if ($super === VOID) {
|
|
1723
|
-
this.
|
|
1723
|
+
this.i3s(message, trailingNewline, err);
|
|
1724
1724
|
tmp = Unit_instance;
|
|
1725
1725
|
} else {
|
|
1726
|
-
tmp = $super.
|
|
1726
|
+
tmp = $super.i3s.call(this, message, trailingNewline, err);
|
|
1727
1727
|
}
|
|
1728
1728
|
return tmp;
|
|
1729
1729
|
};
|
|
1730
|
-
protoOf(CliktCommand).
|
|
1730
|
+
protoOf(CliktCommand).j3s = function (argv, parentContext) {
|
|
1731
1731
|
createContext(this, argv, parentContext, emptyList());
|
|
1732
1732
|
generateCompletion(this);
|
|
1733
|
-
Parser_instance.
|
|
1733
|
+
Parser_instance.k3s(argv, this.a3q());
|
|
1734
1734
|
};
|
|
1735
|
-
protoOf(CliktCommand).
|
|
1735
|
+
protoOf(CliktCommand).l3s = function (argv, parentContext, $super) {
|
|
1736
1736
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1737
1737
|
var tmp;
|
|
1738
1738
|
if ($super === VOID) {
|
|
1739
|
-
this.
|
|
1739
|
+
this.j3s(argv, parentContext);
|
|
1740
1740
|
tmp = Unit_instance;
|
|
1741
1741
|
} else {
|
|
1742
|
-
tmp = $super.
|
|
1742
|
+
tmp = $super.j3s.call(this, argv, parentContext);
|
|
1743
1743
|
}
|
|
1744
1744
|
return tmp;
|
|
1745
1745
|
};
|
|
1746
|
-
protoOf(CliktCommand).
|
|
1746
|
+
protoOf(CliktCommand).m3s = function (argv) {
|
|
1747
1747
|
try {
|
|
1748
|
-
this.
|
|
1748
|
+
this.l3s(argv);
|
|
1749
1749
|
} catch ($p) {
|
|
1750
1750
|
if ($p instanceof CliktError) {
|
|
1751
1751
|
var e = $p;
|
|
1752
|
-
this.
|
|
1753
|
-
exitProcessMpp(e.
|
|
1752
|
+
this.e3s(e);
|
|
1753
|
+
exitProcessMpp(e.f3s_1);
|
|
1754
1754
|
} else {
|
|
1755
1755
|
throw $p;
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
|
-
protoOf(CliktCommand).
|
|
1760
|
-
return this.
|
|
1759
|
+
protoOf(CliktCommand).n3s = function (argv) {
|
|
1760
|
+
return this.m3s(asList(argv));
|
|
1761
1761
|
};
|
|
1762
1762
|
protoOf(CliktCommand).toString = function () {
|
|
1763
1763
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1766,18 +1766,18 @@
|
|
|
1766
1766
|
var this_0 = StringBuilder_init_$Create$();
|
|
1767
1767
|
// Inline function 'kotlin.contracts.contract' call
|
|
1768
1768
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1769
|
-
this_0.w7('<' + classSimpleName(this) + ' name=' + this.
|
|
1769
|
+
this_0.w7('<' + classSimpleName(this) + ' name=' + this.q3p_1);
|
|
1770
1770
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1771
|
-
if (!this.
|
|
1772
|
-
joinTo(this.
|
|
1771
|
+
if (!this.u3p_1.l()) {
|
|
1772
|
+
joinTo(this.u3p_1, this_0, VOID, ' options=[', ']');
|
|
1773
1773
|
}
|
|
1774
1774
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1775
|
-
if (!this.
|
|
1776
|
-
joinTo(this.
|
|
1775
|
+
if (!this.v3p_1.l()) {
|
|
1776
|
+
joinTo(this.v3p_1, this_0, VOID, ' arguments=[', ']');
|
|
1777
1777
|
}
|
|
1778
1778
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1779
|
-
if (!this.
|
|
1780
|
-
joinTo(this.
|
|
1779
|
+
if (!this.t3p_1.l()) {
|
|
1780
|
+
joinTo(this.t3p_1, this_0, VOID, ' subcommands=[', ']');
|
|
1781
1781
|
}
|
|
1782
1782
|
this_0.w7('>');
|
|
1783
1783
|
return this_0.toString();
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
return lowerUpperRegex.xb(nameWithoutSuffixes, transform).toLowerCase();
|
|
1809
1809
|
}
|
|
1810
1810
|
function get_terminal(_this__u8e3s4) {
|
|
1811
|
-
return _this__u8e3s4.
|
|
1811
|
+
return _this__u8e3s4.a3q().m3q_1;
|
|
1812
1812
|
}
|
|
1813
1813
|
function classSimpleName(_this__u8e3s4) {
|
|
1814
1814
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1820,7 +1820,7 @@
|
|
|
1820
1820
|
// Inline function 'kotlin.apply' call
|
|
1821
1821
|
// Inline function 'kotlin.contracts.contract' call
|
|
1822
1822
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1823
|
-
_this__u8e3s4.
|
|
1823
|
+
_this__u8e3s4.t3p_1 = plus_2(_this__u8e3s4.t3p_1, commands);
|
|
1824
1824
|
return _this__u8e3s4;
|
|
1825
1825
|
}
|
|
1826
1826
|
function inferCommandName$lambda(it) {
|
|
@@ -1846,36 +1846,36 @@
|
|
|
1846
1846
|
}
|
|
1847
1847
|
function Builder(command, parent) {
|
|
1848
1848
|
parent = parent === VOID ? null : parent;
|
|
1849
|
-
this.
|
|
1849
|
+
this.p3s_1 = parent;
|
|
1850
1850
|
var tmp = this;
|
|
1851
|
-
var tmp0_safe_receiver = this.
|
|
1852
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1853
|
-
tmp.
|
|
1854
|
-
this.
|
|
1851
|
+
var tmp0_safe_receiver = this.p3s_1;
|
|
1852
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f3q_1;
|
|
1853
|
+
tmp.q3s_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1854
|
+
this.r3s_1 = true;
|
|
1855
1855
|
var tmp_0 = this;
|
|
1856
|
-
var tmp0_safe_receiver_0 = this.
|
|
1857
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1858
|
-
tmp_0.
|
|
1856
|
+
var tmp0_safe_receiver_0 = this.p3s_1;
|
|
1857
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.i3q_1;
|
|
1858
|
+
tmp_0.s3s_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1859
1859
|
var tmp_1 = this;
|
|
1860
|
-
var tmp0_safe_receiver_1 = this.
|
|
1861
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1862
|
-
tmp_1.
|
|
1860
|
+
var tmp0_safe_receiver_1 = this.p3s_1;
|
|
1861
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.j3q_1;
|
|
1862
|
+
tmp_1.t3s_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1863
1863
|
var tmp_2 = this;
|
|
1864
|
-
var tmp0_safe_receiver_2 = this.
|
|
1865
|
-
tmp_2.
|
|
1864
|
+
var tmp0_safe_receiver_2 = this.p3s_1;
|
|
1865
|
+
tmp_2.u3s_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.k3q_1;
|
|
1866
1866
|
var tmp_3 = this;
|
|
1867
|
-
var tmp0_safe_receiver_3 = this.
|
|
1868
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1867
|
+
var tmp0_safe_receiver_3 = this.p3s_1;
|
|
1868
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.l3q_1;
|
|
1869
1869
|
var tmp_4;
|
|
1870
1870
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1871
1871
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1872
1872
|
} else {
|
|
1873
1873
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1874
1874
|
}
|
|
1875
|
-
tmp_3.
|
|
1875
|
+
tmp_3.v3s_1 = tmp_4;
|
|
1876
1876
|
var tmp_5 = this;
|
|
1877
|
-
var tmp0_safe_receiver_4 = this.
|
|
1878
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1877
|
+
var tmp0_safe_receiver_4 = this.p3s_1;
|
|
1878
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.h3q_1;
|
|
1879
1879
|
var tmp_6;
|
|
1880
1880
|
if (tmp1_safe_receiver == null) {
|
|
1881
1881
|
tmp_6 = null;
|
|
@@ -1886,48 +1886,48 @@
|
|
|
1886
1886
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1887
1887
|
// Inline function 'kotlin.text.uppercase' call
|
|
1888
1888
|
// Inline function 'kotlin.text.replace' call
|
|
1889
|
-
var this_0 = command.
|
|
1889
|
+
var this_0 = command.q3p_1;
|
|
1890
1890
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1891
1891
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').wb(this_0, '_').toUpperCase();
|
|
1892
1892
|
}
|
|
1893
|
-
tmp_5.
|
|
1893
|
+
tmp_5.w3s_1 = tmp_6;
|
|
1894
1894
|
var tmp_8 = this;
|
|
1895
|
-
var tmp0_safe_receiver_5 = this.
|
|
1896
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1897
|
-
tmp_8.
|
|
1898
|
-
this.
|
|
1895
|
+
var tmp0_safe_receiver_5 = this.p3s_1;
|
|
1896
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.m3q_1;
|
|
1897
|
+
tmp_8.x3s_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1898
|
+
this.y3s_1 = get_defaultArgFileReader();
|
|
1899
1899
|
var tmp_9 = this;
|
|
1900
|
-
var tmp0_safe_receiver_6 = this.
|
|
1901
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1902
|
-
tmp_9.
|
|
1900
|
+
var tmp0_safe_receiver_6 = this.p3s_1;
|
|
1901
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.o3q_1;
|
|
1902
|
+
tmp_9.z3s_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1903
1903
|
var tmp_10 = this;
|
|
1904
|
-
var tmp0_safe_receiver_7 = this.
|
|
1905
|
-
tmp_10.
|
|
1906
|
-
this.
|
|
1907
|
-
this.
|
|
1904
|
+
var tmp0_safe_receiver_7 = this.p3s_1;
|
|
1905
|
+
tmp_10.a3t_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.p3q_1;
|
|
1906
|
+
this.b3t_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1907
|
+
this.c3t_1 = get_defaultLocalization();
|
|
1908
1908
|
var tmp_11 = this;
|
|
1909
|
-
var tmp0_safe_receiver_8 = this.
|
|
1910
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1909
|
+
var tmp0_safe_receiver_8 = this.p3s_1;
|
|
1910
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.s3q_1;
|
|
1911
1911
|
var tmp_12;
|
|
1912
1912
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1913
1913
|
tmp_12 = readEnvvar$ref();
|
|
1914
1914
|
} else {
|
|
1915
1915
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1916
1916
|
}
|
|
1917
|
-
tmp_11.
|
|
1917
|
+
tmp_11.d3t_1 = tmp_12;
|
|
1918
1918
|
var tmp_13 = this;
|
|
1919
|
-
var tmp0_safe_receiver_9 = this.
|
|
1920
|
-
tmp_13.
|
|
1919
|
+
var tmp0_safe_receiver_9 = this.p3s_1;
|
|
1920
|
+
tmp_13.e3t_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.t3q_1;
|
|
1921
1921
|
}
|
|
1922
1922
|
function Companion() {
|
|
1923
1923
|
}
|
|
1924
|
-
protoOf(Companion).
|
|
1924
|
+
protoOf(Companion).m3r = function (command, parent, argv, block) {
|
|
1925
1925
|
// Inline function 'kotlin.with' call
|
|
1926
1926
|
// Inline function 'kotlin.contracts.contract' call
|
|
1927
1927
|
var $this$with = new Builder(command, parent);
|
|
1928
1928
|
block($this$with);
|
|
1929
1929
|
var tmp;
|
|
1930
|
-
if ($this$with.
|
|
1930
|
+
if ($this$with.q3s_1 && !command.n3p_1) {
|
|
1931
1931
|
var tmp_0;
|
|
1932
1932
|
if (parent == null) {
|
|
1933
1933
|
tmp_0 = null;
|
|
@@ -1938,11 +1938,11 @@
|
|
|
1938
1938
|
var tmp$ret$1;
|
|
1939
1939
|
$l$block: {
|
|
1940
1940
|
// Inline function 'kotlin.sequences.any' call
|
|
1941
|
-
var tmp0_iterator = parent.
|
|
1941
|
+
var tmp0_iterator = parent.f3t().g();
|
|
1942
1942
|
while (tmp0_iterator.h()) {
|
|
1943
1943
|
var element = tmp0_iterator.i();
|
|
1944
1944
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1945
|
-
if (element.
|
|
1945
|
+
if (element.e3q_1.n3p_1) {
|
|
1946
1946
|
tmp$ret$1 = true;
|
|
1947
1947
|
break $l$block;
|
|
1948
1948
|
}
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
tmp = false;
|
|
1957
1957
|
}
|
|
1958
1958
|
var interspersed = tmp;
|
|
1959
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1959
|
+
var tmp1_elvis_lhs = $this$with.u3s_1;
|
|
1960
1960
|
var tmp_1;
|
|
1961
1961
|
if (tmp1_elvis_lhs == null) {
|
|
1962
1962
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1964,56 +1964,56 @@
|
|
|
1964
1964
|
tmp_1 = tmp1_elvis_lhs;
|
|
1965
1965
|
}
|
|
1966
1966
|
var formatter = tmp_1;
|
|
1967
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1967
|
+
return new Context(parent, command, interspersed, $this$with.r3s_1, $this$with.w3s_1, $this$with.s3s_1, toSet($this$with.t3s_1), formatter, $this$with.v3s_1, $this$with.x3s_1, $this$with.y3s_1, $this$with.z3s_1, $this$with.a3t_1, $this$with.b3t_1, $this$with.c3t_1, $this$with.d3t_1, $this$with.e3t_1, argv);
|
|
1968
1968
|
};
|
|
1969
1969
|
var Companion_instance_0;
|
|
1970
1970
|
function Companion_getInstance() {
|
|
1971
1971
|
return Companion_instance_0;
|
|
1972
1972
|
}
|
|
1973
1973
|
function Context$parentNames$lambda(it) {
|
|
1974
|
-
return it.
|
|
1974
|
+
return it.e3q_1.q3p_1;
|
|
1975
1975
|
}
|
|
1976
1976
|
function Context$ancestors$lambda(it) {
|
|
1977
|
-
return it.
|
|
1977
|
+
return it.d3q_1;
|
|
1978
1978
|
}
|
|
1979
1979
|
function Context$selfAndAncestors$lambda(it) {
|
|
1980
|
-
return it.
|
|
1980
|
+
return it.d3q_1;
|
|
1981
1981
|
}
|
|
1982
1982
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1988
|
-
this.
|
|
1989
|
-
this.
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1992
|
-
this.
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1996
|
-
this.
|
|
1997
|
-
this.
|
|
1998
|
-
this.
|
|
1999
|
-
this.
|
|
2000
|
-
this.
|
|
2001
|
-
this.
|
|
2002
|
-
this.
|
|
1983
|
+
this.d3q_1 = parent;
|
|
1984
|
+
this.e3q_1 = command;
|
|
1985
|
+
this.f3q_1 = allowInterspersedArgs;
|
|
1986
|
+
this.g3q_1 = allowGroupedShortOptions;
|
|
1987
|
+
this.h3q_1 = autoEnvvarPrefix;
|
|
1988
|
+
this.i3q_1 = printExtraMessages;
|
|
1989
|
+
this.j3q_1 = helpOptionNames;
|
|
1990
|
+
this.k3q_1 = helpFormatter;
|
|
1991
|
+
this.l3q_1 = tokenTransformer;
|
|
1992
|
+
this.m3q_1 = terminal;
|
|
1993
|
+
this.n3q_1 = argumentFileReader;
|
|
1994
|
+
this.o3q_1 = readEnvvarBeforeValueSource;
|
|
1995
|
+
this.p3q_1 = valueSource;
|
|
1996
|
+
this.q3q_1 = correctionSuggestor;
|
|
1997
|
+
this.r3q_1 = localization;
|
|
1998
|
+
this.s3q_1 = readEnvvar;
|
|
1999
|
+
this.t3q_1 = obj;
|
|
2000
|
+
this.u3q_1 = originalArgv;
|
|
2001
|
+
this.v3q_1 = null;
|
|
2002
|
+
this.w3q_1 = false;
|
|
2003
2003
|
var tmp = this;
|
|
2004
2004
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2005
|
-
tmp.
|
|
2005
|
+
tmp.x3q_1 = ArrayList_init_$Create$();
|
|
2006
2006
|
}
|
|
2007
|
-
protoOf(Context).
|
|
2008
|
-
var tmp = this.
|
|
2007
|
+
protoOf(Context).h3r = function () {
|
|
2008
|
+
var tmp = this.n3r();
|
|
2009
2009
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
2010
2010
|
};
|
|
2011
|
-
protoOf(Context).
|
|
2012
|
-
return plus_1(this.
|
|
2011
|
+
protoOf(Context).i3r = function () {
|
|
2012
|
+
return plus_1(this.h3r(), this.e3q_1.q3p_1);
|
|
2013
2013
|
};
|
|
2014
|
-
protoOf(Context).
|
|
2014
|
+
protoOf(Context).g3t = function () {
|
|
2015
2015
|
var err = null;
|
|
2016
|
-
var tmp0_iterator = asReversed_0(this.
|
|
2016
|
+
var tmp0_iterator = asReversed_0(this.x3q_1).g();
|
|
2017
2017
|
while (tmp0_iterator.h()) {
|
|
2018
2018
|
var c = tmp0_iterator.i();
|
|
2019
2019
|
try {
|
|
@@ -2031,18 +2031,18 @@
|
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
|
-
this.
|
|
2034
|
+
this.x3q_1.h2();
|
|
2035
2035
|
if (!(err == null))
|
|
2036
2036
|
throw err;
|
|
2037
2037
|
};
|
|
2038
|
-
protoOf(Context).
|
|
2039
|
-
return generateSequence(this.
|
|
2038
|
+
protoOf(Context).n3r = function () {
|
|
2039
|
+
return generateSequence(this.d3q_1, Context$ancestors$lambda);
|
|
2040
2040
|
};
|
|
2041
|
-
protoOf(Context).
|
|
2041
|
+
protoOf(Context).f3t = function () {
|
|
2042
2042
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
2043
2043
|
};
|
|
2044
|
-
protoOf(Context).
|
|
2045
|
-
return !(this.
|
|
2044
|
+
protoOf(Context).h3t = function () {
|
|
2045
|
+
return !(this.n3q_1 == null);
|
|
2046
2046
|
};
|
|
2047
2047
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
2048
2048
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2085,16 +2085,16 @@
|
|
|
2085
2085
|
return destination_1;
|
|
2086
2086
|
}
|
|
2087
2087
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2088
|
-
this.
|
|
2088
|
+
this.i3t_1 = function_0;
|
|
2089
2089
|
}
|
|
2090
2090
|
protoOf(sam$kotlin_Comparator$0).sc = function (a, b) {
|
|
2091
|
-
return this.
|
|
2091
|
+
return this.i3t_1(a, b);
|
|
2092
2092
|
};
|
|
2093
2093
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2094
2094
|
return this.sc(a, b);
|
|
2095
2095
|
};
|
|
2096
2096
|
protoOf(sam$kotlin_Comparator$0).o3 = function () {
|
|
2097
|
-
return this.
|
|
2097
|
+
return this.i3t_1;
|
|
2098
2098
|
};
|
|
2099
2099
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2100
2100
|
var tmp;
|
|
@@ -2216,7 +2216,7 @@
|
|
|
2216
2216
|
hidden = hidden === VOID ? false : hidden;
|
|
2217
2217
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2218
2218
|
}
|
|
2219
|
-
protoOf(NoOpCliktCommand).
|
|
2219
|
+
protoOf(NoOpCliktCommand).o3s = function () {
|
|
2220
2220
|
return Unit_instance;
|
|
2221
2221
|
};
|
|
2222
2222
|
function StaticallyGroupedOption() {
|
|
@@ -2228,10 +2228,10 @@
|
|
|
2228
2228
|
function FileNotFound(filename) {
|
|
2229
2229
|
UsageError.call(this, null);
|
|
2230
2230
|
captureStack(this, FileNotFound);
|
|
2231
|
-
this.
|
|
2231
|
+
this.l3u_1 = filename;
|
|
2232
2232
|
}
|
|
2233
|
-
protoOf(FileNotFound).
|
|
2234
|
-
return localization.
|
|
2233
|
+
protoOf(FileNotFound).m3u = function (localization, formatter) {
|
|
2234
|
+
return localization.n3u(this.l3u_1);
|
|
2235
2235
|
};
|
|
2236
2236
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2237
2237
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2258,18 +2258,18 @@
|
|
|
2258
2258
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2259
2259
|
CliktError.call(this, message, VOID, statusCode);
|
|
2260
2260
|
captureStack(this, UsageError);
|
|
2261
|
-
this.
|
|
2262
|
-
this.
|
|
2261
|
+
this.q3u_1 = paramName;
|
|
2262
|
+
this.r3u_1 = null;
|
|
2263
2263
|
}
|
|
2264
|
-
protoOf(UsageError).
|
|
2264
|
+
protoOf(UsageError).m3u = function (localization, formatter) {
|
|
2265
2265
|
var tmp0_elvis_lhs = this.message;
|
|
2266
2266
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2267
2267
|
};
|
|
2268
|
-
protoOf(UsageError).
|
|
2269
|
-
this.
|
|
2268
|
+
protoOf(UsageError).s3u = function (_set____db54di) {
|
|
2269
|
+
this.r3u_1 = _set____db54di;
|
|
2270
2270
|
};
|
|
2271
2271
|
protoOf(UsageError).x8 = function () {
|
|
2272
|
-
return this.
|
|
2272
|
+
return this.r3u_1;
|
|
2273
2273
|
};
|
|
2274
2274
|
function CliktError(message, cause, statusCode, printError) {
|
|
2275
2275
|
message = message === VOID ? null : message;
|
|
@@ -2278,8 +2278,8 @@
|
|
|
2278
2278
|
printError = printError === VOID ? true : printError;
|
|
2279
2279
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2280
2280
|
captureStack(this, CliktError);
|
|
2281
|
-
this.
|
|
2282
|
-
this.
|
|
2281
|
+
this.f3s_1 = statusCode;
|
|
2282
|
+
this.g3s_1 = printError;
|
|
2283
2283
|
}
|
|
2284
2284
|
function ContextCliktError() {
|
|
2285
2285
|
}
|
|
@@ -2288,15 +2288,15 @@
|
|
|
2288
2288
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2289
2289
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2290
2290
|
captureStack(this, PrintHelpMessage);
|
|
2291
|
-
this.
|
|
2292
|
-
this.
|
|
2291
|
+
this.v3u_1 = context;
|
|
2292
|
+
this.w3u_1 = error;
|
|
2293
2293
|
}
|
|
2294
2294
|
protoOf(PrintHelpMessage).x8 = function () {
|
|
2295
|
-
return this.
|
|
2295
|
+
return this.v3u_1;
|
|
2296
2296
|
};
|
|
2297
2297
|
function Companion_0() {
|
|
2298
2298
|
}
|
|
2299
|
-
protoOf(Companion_0).
|
|
2299
|
+
protoOf(Companion_0).x3u = function (errors) {
|
|
2300
2300
|
var tmp;
|
|
2301
2301
|
switch (errors.j()) {
|
|
2302
2302
|
case 0:
|
|
@@ -2316,7 +2316,7 @@
|
|
|
2316
2316
|
var element = tmp0_iterator.i();
|
|
2317
2317
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2318
2318
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2319
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2319
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c3v_1;
|
|
2320
2320
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2321
2321
|
addAll(destination, list);
|
|
2322
2322
|
}
|
|
@@ -2332,16 +2332,16 @@
|
|
|
2332
2332
|
}
|
|
2333
2333
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2334
2334
|
return function (it) {
|
|
2335
|
-
return it.
|
|
2335
|
+
return it.m3u($localization, $formatter);
|
|
2336
2336
|
};
|
|
2337
2337
|
}
|
|
2338
2338
|
function MultiUsageError(errors) {
|
|
2339
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2339
|
+
UsageError.call(this, null, VOID, first_0(errors).f3s_1);
|
|
2340
2340
|
captureStack(this, MultiUsageError);
|
|
2341
|
-
this.
|
|
2341
|
+
this.c3v_1 = errors;
|
|
2342
2342
|
}
|
|
2343
|
-
protoOf(MultiUsageError).
|
|
2344
|
-
return joinToString(this.
|
|
2343
|
+
protoOf(MultiUsageError).m3u = function (localization, formatter) {
|
|
2344
|
+
return joinToString(this.c3v_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2345
2345
|
};
|
|
2346
2346
|
var Kind_Argument_instance;
|
|
2347
2347
|
var Kind_Option_instance;
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2360
2360
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2361
2361
|
BadParameterValue.call($this);
|
|
2362
|
-
$this.
|
|
2362
|
+
$this.h3v_1 = Kind_Argument_getInstance();
|
|
2363
2363
|
return $this;
|
|
2364
2364
|
}
|
|
2365
2365
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2371
2371
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2372
2372
|
BadParameterValue.call($this);
|
|
2373
|
-
$this.
|
|
2373
|
+
$this.h3v_1 = Kind_Option_getInstance();
|
|
2374
2374
|
return $this;
|
|
2375
2375
|
}
|
|
2376
2376
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2381,7 +2381,7 @@
|
|
|
2381
2381
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2382
2382
|
UsageError.call($this, message, name);
|
|
2383
2383
|
BadParameterValue.call($this);
|
|
2384
|
-
$this.
|
|
2384
|
+
$this.h3v_1 = Kind_Option_getInstance();
|
|
2385
2385
|
return $this;
|
|
2386
2386
|
}
|
|
2387
2387
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2397,7 +2397,7 @@
|
|
|
2397
2397
|
Kind_initEntries();
|
|
2398
2398
|
return Kind_Option_instance;
|
|
2399
2399
|
}
|
|
2400
|
-
protoOf(BadParameterValue).
|
|
2400
|
+
protoOf(BadParameterValue).m3u = function (localization, formatter) {
|
|
2401
2401
|
// Inline function 'kotlin.takeUnless' call
|
|
2402
2402
|
var this_0 = this.message;
|
|
2403
2403
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2411,7 +2411,7 @@
|
|
|
2411
2411
|
tmp = null;
|
|
2412
2412
|
}
|
|
2413
2413
|
var m = tmp;
|
|
2414
|
-
var tmp0_safe_receiver = this.
|
|
2414
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2415
2415
|
var tmp_0;
|
|
2416
2416
|
if (tmp0_safe_receiver == null) {
|
|
2417
2417
|
tmp_0 = null;
|
|
@@ -2436,14 +2436,14 @@
|
|
|
2436
2436
|
// Inline function 'kotlin.let' call
|
|
2437
2437
|
// Inline function 'kotlin.contracts.contract' call
|
|
2438
2438
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2439
|
-
var tmp0_subject = this.
|
|
2439
|
+
var tmp0_subject = this.h3v_1;
|
|
2440
2440
|
var tmp_3;
|
|
2441
2441
|
switch (tmp0_subject == null ? -1 : tmp0_subject.q2_1) {
|
|
2442
2442
|
case 0:
|
|
2443
|
-
tmp_3 = formatter.
|
|
2443
|
+
tmp_3 = formatter.i3v(tmp1_safe_receiver);
|
|
2444
2444
|
break;
|
|
2445
2445
|
case 1:
|
|
2446
|
-
tmp_3 = formatter.
|
|
2446
|
+
tmp_3 = formatter.j3v(tmp1_safe_receiver);
|
|
2447
2447
|
break;
|
|
2448
2448
|
case -1:
|
|
2449
2449
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2457,13 +2457,13 @@
|
|
|
2457
2457
|
var p = tmp_2;
|
|
2458
2458
|
var tmp_4;
|
|
2459
2459
|
if (m == null && p == null) {
|
|
2460
|
-
tmp_4 = localization.
|
|
2460
|
+
tmp_4 = localization.n3v();
|
|
2461
2461
|
} else if (m == null && !(p == null)) {
|
|
2462
|
-
tmp_4 = localization.
|
|
2462
|
+
tmp_4 = localization.m3v(p);
|
|
2463
2463
|
} else if (!(m == null) && p == null) {
|
|
2464
|
-
tmp_4 = localization.
|
|
2464
|
+
tmp_4 = localization.l3v(m);
|
|
2465
2465
|
} else if (!(m == null) && !(p == null)) {
|
|
2466
|
-
tmp_4 = localization.
|
|
2466
|
+
tmp_4 = localization.k3v(p, m);
|
|
2467
2467
|
} else {
|
|
2468
2468
|
var message = 'impossible';
|
|
2469
2469
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2481,64 +2481,64 @@
|
|
|
2481
2481
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2482
2482
|
UsageError.call(this, null, paramName);
|
|
2483
2483
|
captureStack(this, NoSuchSubcommand);
|
|
2484
|
-
this.
|
|
2484
|
+
this.s3v_1 = possibilities;
|
|
2485
2485
|
}
|
|
2486
|
-
protoOf(NoSuchSubcommand).
|
|
2487
|
-
var tmp0_safe_receiver = this.
|
|
2486
|
+
protoOf(NoSuchSubcommand).m3u = function (localization, formatter) {
|
|
2487
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2488
2488
|
var tmp;
|
|
2489
2489
|
if (tmp0_safe_receiver == null) {
|
|
2490
2490
|
tmp = null;
|
|
2491
2491
|
} else {
|
|
2492
2492
|
// Inline function 'kotlin.let' call
|
|
2493
2493
|
// Inline function 'kotlin.contracts.contract' call
|
|
2494
|
-
tmp = formatter.
|
|
2494
|
+
tmp = formatter.t3v(tmp0_safe_receiver);
|
|
2495
2495
|
}
|
|
2496
2496
|
var tmp1_elvis_lhs = tmp;
|
|
2497
2497
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2498
2498
|
// Inline function 'kotlin.collections.map' call
|
|
2499
|
-
var this_0 = this.
|
|
2499
|
+
var this_0 = this.s3v_1;
|
|
2500
2500
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2501
2501
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2502
2502
|
var tmp0_iterator = this_0.g();
|
|
2503
2503
|
while (tmp0_iterator.h()) {
|
|
2504
2504
|
var item = tmp0_iterator.i();
|
|
2505
|
-
var tmp$ret$2 = formatter.
|
|
2505
|
+
var tmp$ret$2 = formatter.t3v(item);
|
|
2506
2506
|
destination.e(tmp$ret$2);
|
|
2507
2507
|
}
|
|
2508
|
-
return localization.
|
|
2508
|
+
return localization.u3v(tmp_0, destination);
|
|
2509
2509
|
};
|
|
2510
2510
|
function NoSuchOption(paramName, possibilities) {
|
|
2511
2511
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2512
2512
|
UsageError.call(this, null, paramName);
|
|
2513
2513
|
captureStack(this, NoSuchOption);
|
|
2514
|
-
this.
|
|
2514
|
+
this.z3v_1 = possibilities;
|
|
2515
2515
|
}
|
|
2516
|
-
protoOf(NoSuchOption).
|
|
2517
|
-
var tmp0_safe_receiver = this.
|
|
2516
|
+
protoOf(NoSuchOption).m3u = function (localization, formatter) {
|
|
2517
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2518
2518
|
var tmp;
|
|
2519
2519
|
if (tmp0_safe_receiver == null) {
|
|
2520
2520
|
tmp = null;
|
|
2521
2521
|
} else {
|
|
2522
2522
|
// Inline function 'kotlin.let' call
|
|
2523
2523
|
// Inline function 'kotlin.contracts.contract' call
|
|
2524
|
-
tmp = formatter.
|
|
2524
|
+
tmp = formatter.j3v(tmp0_safe_receiver);
|
|
2525
2525
|
}
|
|
2526
2526
|
var tmp1_elvis_lhs = tmp;
|
|
2527
2527
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2528
2528
|
// Inline function 'kotlin.collections.map' call
|
|
2529
|
-
var this_0 = this.
|
|
2529
|
+
var this_0 = this.z3v_1;
|
|
2530
2530
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2531
2531
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2532
2532
|
var tmp0_iterator = this_0.g();
|
|
2533
2533
|
while (tmp0_iterator.h()) {
|
|
2534
2534
|
var item = tmp0_iterator.i();
|
|
2535
|
-
var tmp$ret$2 = formatter.
|
|
2535
|
+
var tmp$ret$2 = formatter.j3v(item);
|
|
2536
2536
|
destination.e(tmp$ret$2);
|
|
2537
2537
|
}
|
|
2538
|
-
return localization.
|
|
2538
|
+
return localization.a3w(tmp_0, destination);
|
|
2539
2539
|
};
|
|
2540
2540
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2541
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2541
|
+
IncorrectOptionValueCount.call($this, option.b3r().d1_1, paramName);
|
|
2542
2542
|
return $this;
|
|
2543
2543
|
}
|
|
2544
2544
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2549,40 +2549,40 @@
|
|
|
2549
2549
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2550
2550
|
UsageError.call(this, null, paramName);
|
|
2551
2551
|
captureStack(this, IncorrectOptionValueCount);
|
|
2552
|
-
this.
|
|
2552
|
+
this.f3w_1 = minValues;
|
|
2553
2553
|
}
|
|
2554
|
-
protoOf(IncorrectOptionValueCount).
|
|
2555
|
-
var tmp0_safe_receiver = this.
|
|
2554
|
+
protoOf(IncorrectOptionValueCount).m3u = function (localization, formatter) {
|
|
2555
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2556
2556
|
var tmp;
|
|
2557
2557
|
if (tmp0_safe_receiver == null) {
|
|
2558
2558
|
tmp = null;
|
|
2559
2559
|
} else {
|
|
2560
2560
|
// Inline function 'kotlin.let' call
|
|
2561
2561
|
// Inline function 'kotlin.contracts.contract' call
|
|
2562
|
-
tmp = formatter.
|
|
2562
|
+
tmp = formatter.j3v(tmp0_safe_receiver);
|
|
2563
2563
|
}
|
|
2564
2564
|
var tmp1_elvis_lhs = tmp;
|
|
2565
|
-
return localization.
|
|
2565
|
+
return localization.g3w(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.f3w_1);
|
|
2566
2566
|
};
|
|
2567
2567
|
function MissingArgument(argument) {
|
|
2568
2568
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2569
2569
|
captureStack(this, MissingArgument);
|
|
2570
2570
|
}
|
|
2571
|
-
protoOf(MissingArgument).
|
|
2572
|
-
var tmp0_safe_receiver = this.
|
|
2571
|
+
protoOf(MissingArgument).m3u = function (localization, formatter) {
|
|
2572
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2573
2573
|
var tmp;
|
|
2574
2574
|
if (tmp0_safe_receiver == null) {
|
|
2575
2575
|
tmp = null;
|
|
2576
2576
|
} else {
|
|
2577
2577
|
// Inline function 'kotlin.let' call
|
|
2578
2578
|
// Inline function 'kotlin.contracts.contract' call
|
|
2579
|
-
tmp = formatter.
|
|
2579
|
+
tmp = formatter.i3v(tmp0_safe_receiver);
|
|
2580
2580
|
}
|
|
2581
2581
|
var tmp1_elvis_lhs = tmp;
|
|
2582
|
-
return localization.
|
|
2582
|
+
return localization.l3w(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2583
2583
|
};
|
|
2584
2584
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2585
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2585
|
+
IncorrectArgumentValueCount.call($this, argument.b3r(), argument);
|
|
2586
2586
|
return $this;
|
|
2587
2587
|
}
|
|
2588
2588
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2593,20 +2593,20 @@
|
|
|
2593
2593
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2594
2594
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2595
2595
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2596
|
-
this.
|
|
2596
|
+
this.q3w_1 = nvalues;
|
|
2597
2597
|
}
|
|
2598
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2599
|
-
var tmp0_safe_receiver = this.
|
|
2598
|
+
protoOf(IncorrectArgumentValueCount).m3u = function (localization, formatter) {
|
|
2599
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2600
2600
|
var tmp;
|
|
2601
2601
|
if (tmp0_safe_receiver == null) {
|
|
2602
2602
|
tmp = null;
|
|
2603
2603
|
} else {
|
|
2604
2604
|
// Inline function 'kotlin.let' call
|
|
2605
2605
|
// Inline function 'kotlin.contracts.contract' call
|
|
2606
|
-
tmp = formatter.
|
|
2606
|
+
tmp = formatter.i3v(tmp0_safe_receiver);
|
|
2607
2607
|
}
|
|
2608
2608
|
var tmp1_elvis_lhs = tmp;
|
|
2609
|
-
return localization.
|
|
2609
|
+
return localization.r3w(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.q3w_1);
|
|
2610
2610
|
};
|
|
2611
2611
|
function PrintMessage(message, statusCode, printError) {
|
|
2612
2612
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2620,11 +2620,11 @@
|
|
|
2620
2620
|
lineno = lineno === VOID ? null : lineno;
|
|
2621
2621
|
UsageError.call(this, message);
|
|
2622
2622
|
captureStack(this, InvalidFileFormat);
|
|
2623
|
-
this.
|
|
2624
|
-
this.
|
|
2623
|
+
this.w3w_1 = filename;
|
|
2624
|
+
this.x3w_1 = lineno;
|
|
2625
2625
|
}
|
|
2626
|
-
protoOf(InvalidFileFormat).
|
|
2627
|
-
return this.
|
|
2626
|
+
protoOf(InvalidFileFormat).m3u = function (localization, formatter) {
|
|
2627
|
+
return this.x3w_1 == null ? localization.z3w(this.w3w_1, ensureNotNull(this.message)) : localization.y3w(this.w3w_1, this.x3w_1, ensureNotNull(this.message));
|
|
2628
2628
|
};
|
|
2629
2629
|
function ProgramResult() {
|
|
2630
2630
|
}
|
|
@@ -2632,18 +2632,18 @@
|
|
|
2632
2632
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2633
2633
|
captureStack(this, MissingOption);
|
|
2634
2634
|
}
|
|
2635
|
-
protoOf(MissingOption).
|
|
2636
|
-
var tmp0_safe_receiver = this.
|
|
2635
|
+
protoOf(MissingOption).m3u = function (localization, formatter) {
|
|
2636
|
+
var tmp0_safe_receiver = this.q3u_1;
|
|
2637
2637
|
var tmp;
|
|
2638
2638
|
if (tmp0_safe_receiver == null) {
|
|
2639
2639
|
tmp = null;
|
|
2640
2640
|
} else {
|
|
2641
2641
|
// Inline function 'kotlin.let' call
|
|
2642
2642
|
// Inline function 'kotlin.contracts.contract' call
|
|
2643
|
-
tmp = formatter.
|
|
2643
|
+
tmp = formatter.j3v(tmp0_safe_receiver);
|
|
2644
2644
|
}
|
|
2645
2645
|
var tmp1_elvis_lhs = tmp;
|
|
2646
|
-
return localization.
|
|
2646
|
+
return localization.e3x(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2647
2647
|
};
|
|
2648
2648
|
function get_defaultArgFileReader() {
|
|
2649
2649
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2758,13 +2758,13 @@
|
|
|
2758
2758
|
var it = tmp3_iterator.i();
|
|
2759
2759
|
try {
|
|
2760
2760
|
if (it instanceof Arg) {
|
|
2761
|
-
it.
|
|
2761
|
+
it.l3x_1.n3x(context, it.m3x_1);
|
|
2762
2762
|
} else {
|
|
2763
2763
|
if (it instanceof Opt) {
|
|
2764
|
-
it.
|
|
2764
|
+
it.i3x_1.k3x(context, it.j3x_1);
|
|
2765
2765
|
} else {
|
|
2766
2766
|
if (it instanceof Group) {
|
|
2767
|
-
it.
|
|
2767
|
+
it.f3x_1.h3x(context, it.g3x_1);
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
2770
|
}
|
|
@@ -2778,11 +2778,11 @@
|
|
|
2778
2778
|
var e_0 = $p;
|
|
2779
2779
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2780
2780
|
errors.e(e_0);
|
|
2781
|
-
context.
|
|
2781
|
+
context.w3q_1 = true;
|
|
2782
2782
|
} else {
|
|
2783
2783
|
if ($p instanceof Abort) {
|
|
2784
2784
|
var e_1 = $p;
|
|
2785
|
-
if (!context.
|
|
2785
|
+
if (!context.w3q_1)
|
|
2786
2786
|
throw e_1;
|
|
2787
2787
|
} else {
|
|
2788
2788
|
throw $p;
|
|
@@ -2796,7 +2796,7 @@
|
|
|
2796
2796
|
currentRound = toList_0(nextRound);
|
|
2797
2797
|
nextRound.h2();
|
|
2798
2798
|
}
|
|
2799
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2799
|
+
var tmp5_safe_receiver = Companion_instance_1.x3u(errors);
|
|
2800
2800
|
if (tmp5_safe_receiver == null)
|
|
2801
2801
|
null;
|
|
2802
2802
|
else {
|
|
@@ -2809,18 +2809,18 @@
|
|
|
2809
2809
|
}
|
|
2810
2810
|
function Group(group, invs) {
|
|
2811
2811
|
Param.call(this);
|
|
2812
|
-
this.
|
|
2813
|
-
this.
|
|
2812
|
+
this.f3x_1 = group;
|
|
2813
|
+
this.g3x_1 = invs;
|
|
2814
2814
|
}
|
|
2815
2815
|
function Opt(option, invs) {
|
|
2816
2816
|
Param.call(this);
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2817
|
+
this.i3x_1 = option;
|
|
2818
|
+
this.j3x_1 = invs;
|
|
2819
2819
|
}
|
|
2820
2820
|
function Arg(argument, invs) {
|
|
2821
2821
|
Param.call(this);
|
|
2822
|
-
this.
|
|
2823
|
-
this.
|
|
2822
|
+
this.l3x_1 = argument;
|
|
2823
|
+
this.m3x_1 = invs;
|
|
2824
2824
|
}
|
|
2825
2825
|
function get_ANSI_CODE_RE() {
|
|
2826
2826
|
_init_properties_MppH_kt__np0w85();
|
|
@@ -2836,29 +2836,29 @@
|
|
|
2836
2836
|
}
|
|
2837
2837
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2838
2838
|
ParameterHelp.call(this);
|
|
2839
|
-
this.
|
|
2840
|
-
this.
|
|
2841
|
-
this.
|
|
2842
|
-
this.
|
|
2843
|
-
this.
|
|
2844
|
-
this.
|
|
2845
|
-
this.
|
|
2846
|
-
this.
|
|
2847
|
-
this.
|
|
2839
|
+
this.o3x_1 = names;
|
|
2840
|
+
this.p3x_1 = secondaryNames;
|
|
2841
|
+
this.q3x_1 = metavar;
|
|
2842
|
+
this.r3x_1 = help;
|
|
2843
|
+
this.s3x_1 = nvalues;
|
|
2844
|
+
this.t3x_1 = tags;
|
|
2845
|
+
this.u3x_1 = acceptsNumberValueWithoutName;
|
|
2846
|
+
this.v3x_1 = acceptsUnattachedValue;
|
|
2847
|
+
this.w3x_1 = groupName;
|
|
2848
2848
|
}
|
|
2849
2849
|
protoOf(Option).toString = function () {
|
|
2850
|
-
return 'Option(names=' + toString_0(this.
|
|
2850
|
+
return 'Option(names=' + toString_0(this.o3x_1) + ', secondaryNames=' + toString_0(this.p3x_1) + ', metavar=' + this.q3x_1 + ', help=' + this.r3x_1 + ', nvalues=' + this.s3x_1.toString() + ', tags=' + toString_0(this.t3x_1) + ', acceptsNumberValueWithoutName=' + this.u3x_1 + ', acceptsUnattachedValue=' + this.v3x_1 + ', groupName=' + this.w3x_1 + ')';
|
|
2851
2851
|
};
|
|
2852
2852
|
protoOf(Option).hashCode = function () {
|
|
2853
|
-
var result = hashCode(this.
|
|
2854
|
-
result = imul(result, 31) + hashCode(this.
|
|
2855
|
-
result = imul(result, 31) + (this.
|
|
2856
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2857
|
-
result = imul(result, 31) + this.
|
|
2858
|
-
result = imul(result, 31) + hashCode(this.
|
|
2859
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2860
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2861
|
-
result = imul(result, 31) + (this.
|
|
2853
|
+
var result = hashCode(this.o3x_1);
|
|
2854
|
+
result = imul(result, 31) + hashCode(this.p3x_1) | 0;
|
|
2855
|
+
result = imul(result, 31) + (this.q3x_1 == null ? 0 : getStringHashCode(this.q3x_1)) | 0;
|
|
2856
|
+
result = imul(result, 31) + getStringHashCode(this.r3x_1) | 0;
|
|
2857
|
+
result = imul(result, 31) + this.s3x_1.hashCode() | 0;
|
|
2858
|
+
result = imul(result, 31) + hashCode(this.t3x_1) | 0;
|
|
2859
|
+
result = imul(result, 31) + getBooleanHashCode(this.u3x_1) | 0;
|
|
2860
|
+
result = imul(result, 31) + getBooleanHashCode(this.v3x_1) | 0;
|
|
2861
|
+
result = imul(result, 31) + (this.w3x_1 == null ? 0 : getStringHashCode(this.w3x_1)) | 0;
|
|
2862
2862
|
return result;
|
|
2863
2863
|
};
|
|
2864
2864
|
protoOf(Option).equals = function (other) {
|
|
@@ -2867,43 +2867,43 @@
|
|
|
2867
2867
|
if (!(other instanceof Option))
|
|
2868
2868
|
return false;
|
|
2869
2869
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2870
|
-
if (!equals(this.
|
|
2870
|
+
if (!equals(this.o3x_1, tmp0_other_with_cast.o3x_1))
|
|
2871
2871
|
return false;
|
|
2872
|
-
if (!equals(this.
|
|
2872
|
+
if (!equals(this.p3x_1, tmp0_other_with_cast.p3x_1))
|
|
2873
2873
|
return false;
|
|
2874
|
-
if (!(this.
|
|
2874
|
+
if (!(this.q3x_1 == tmp0_other_with_cast.q3x_1))
|
|
2875
2875
|
return false;
|
|
2876
|
-
if (!(this.
|
|
2876
|
+
if (!(this.r3x_1 === tmp0_other_with_cast.r3x_1))
|
|
2877
2877
|
return false;
|
|
2878
|
-
if (!this.
|
|
2878
|
+
if (!this.s3x_1.equals(tmp0_other_with_cast.s3x_1))
|
|
2879
2879
|
return false;
|
|
2880
|
-
if (!equals(this.
|
|
2880
|
+
if (!equals(this.t3x_1, tmp0_other_with_cast.t3x_1))
|
|
2881
2881
|
return false;
|
|
2882
|
-
if (!(this.
|
|
2882
|
+
if (!(this.u3x_1 === tmp0_other_with_cast.u3x_1))
|
|
2883
2883
|
return false;
|
|
2884
|
-
if (!(this.
|
|
2884
|
+
if (!(this.v3x_1 === tmp0_other_with_cast.v3x_1))
|
|
2885
2885
|
return false;
|
|
2886
|
-
if (!(this.
|
|
2886
|
+
if (!(this.w3x_1 == tmp0_other_with_cast.w3x_1))
|
|
2887
2887
|
return false;
|
|
2888
2888
|
return true;
|
|
2889
2889
|
};
|
|
2890
2890
|
function Argument(name, help, required, repeatable, tags) {
|
|
2891
2891
|
ParameterHelp.call(this);
|
|
2892
|
-
this.
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2895
|
-
this.
|
|
2896
|
-
this.
|
|
2892
|
+
this.x3x_1 = name;
|
|
2893
|
+
this.y3x_1 = help;
|
|
2894
|
+
this.z3x_1 = required;
|
|
2895
|
+
this.a3y_1 = repeatable;
|
|
2896
|
+
this.b3y_1 = tags;
|
|
2897
2897
|
}
|
|
2898
2898
|
protoOf(Argument).toString = function () {
|
|
2899
|
-
return 'Argument(name=' + this.
|
|
2899
|
+
return 'Argument(name=' + this.x3x_1 + ', help=' + this.y3x_1 + ', required=' + this.z3x_1 + ', repeatable=' + this.a3y_1 + ', tags=' + toString_0(this.b3y_1) + ')';
|
|
2900
2900
|
};
|
|
2901
2901
|
protoOf(Argument).hashCode = function () {
|
|
2902
|
-
var result = getStringHashCode(this.
|
|
2903
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2904
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2905
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2906
|
-
result = imul(result, 31) + hashCode(this.
|
|
2902
|
+
var result = getStringHashCode(this.x3x_1);
|
|
2903
|
+
result = imul(result, 31) + getStringHashCode(this.y3x_1) | 0;
|
|
2904
|
+
result = imul(result, 31) + getBooleanHashCode(this.z3x_1) | 0;
|
|
2905
|
+
result = imul(result, 31) + getBooleanHashCode(this.a3y_1) | 0;
|
|
2906
|
+
result = imul(result, 31) + hashCode(this.b3y_1) | 0;
|
|
2907
2907
|
return result;
|
|
2908
2908
|
};
|
|
2909
2909
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2912,31 +2912,31 @@
|
|
|
2912
2912
|
if (!(other instanceof Argument))
|
|
2913
2913
|
return false;
|
|
2914
2914
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2915
|
-
if (!(this.
|
|
2915
|
+
if (!(this.x3x_1 === tmp0_other_with_cast.x3x_1))
|
|
2916
2916
|
return false;
|
|
2917
|
-
if (!(this.
|
|
2917
|
+
if (!(this.y3x_1 === tmp0_other_with_cast.y3x_1))
|
|
2918
2918
|
return false;
|
|
2919
|
-
if (!(this.
|
|
2919
|
+
if (!(this.z3x_1 === tmp0_other_with_cast.z3x_1))
|
|
2920
2920
|
return false;
|
|
2921
|
-
if (!(this.
|
|
2921
|
+
if (!(this.a3y_1 === tmp0_other_with_cast.a3y_1))
|
|
2922
2922
|
return false;
|
|
2923
|
-
if (!equals(this.
|
|
2923
|
+
if (!equals(this.b3y_1, tmp0_other_with_cast.b3y_1))
|
|
2924
2924
|
return false;
|
|
2925
2925
|
return true;
|
|
2926
2926
|
};
|
|
2927
2927
|
function Subcommand(name, help, tags) {
|
|
2928
2928
|
ParameterHelp.call(this);
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2931
|
-
this.
|
|
2929
|
+
this.c3y_1 = name;
|
|
2930
|
+
this.d3y_1 = help;
|
|
2931
|
+
this.e3y_1 = tags;
|
|
2932
2932
|
}
|
|
2933
2933
|
protoOf(Subcommand).toString = function () {
|
|
2934
|
-
return 'Subcommand(name=' + this.
|
|
2934
|
+
return 'Subcommand(name=' + this.c3y_1 + ', help=' + this.d3y_1 + ', tags=' + toString_0(this.e3y_1) + ')';
|
|
2935
2935
|
};
|
|
2936
2936
|
protoOf(Subcommand).hashCode = function () {
|
|
2937
|
-
var result = getStringHashCode(this.
|
|
2938
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2939
|
-
result = imul(result, 31) + hashCode(this.
|
|
2937
|
+
var result = getStringHashCode(this.c3y_1);
|
|
2938
|
+
result = imul(result, 31) + getStringHashCode(this.d3y_1) | 0;
|
|
2939
|
+
result = imul(result, 31) + hashCode(this.e3y_1) | 0;
|
|
2940
2940
|
return result;
|
|
2941
2941
|
};
|
|
2942
2942
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2945,25 +2945,25 @@
|
|
|
2945
2945
|
if (!(other instanceof Subcommand))
|
|
2946
2946
|
return false;
|
|
2947
2947
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2948
|
-
if (!(this.
|
|
2948
|
+
if (!(this.c3y_1 === tmp0_other_with_cast.c3y_1))
|
|
2949
2949
|
return false;
|
|
2950
|
-
if (!(this.
|
|
2950
|
+
if (!(this.d3y_1 === tmp0_other_with_cast.d3y_1))
|
|
2951
2951
|
return false;
|
|
2952
|
-
if (!equals(this.
|
|
2952
|
+
if (!equals(this.e3y_1, tmp0_other_with_cast.e3y_1))
|
|
2953
2953
|
return false;
|
|
2954
2954
|
return true;
|
|
2955
2955
|
};
|
|
2956
2956
|
function Group_0(name, help) {
|
|
2957
2957
|
ParameterHelp.call(this);
|
|
2958
|
-
this.
|
|
2959
|
-
this.
|
|
2958
|
+
this.f3y_1 = name;
|
|
2959
|
+
this.g3y_1 = help;
|
|
2960
2960
|
}
|
|
2961
2961
|
protoOf(Group_0).toString = function () {
|
|
2962
|
-
return 'Group(name=' + this.
|
|
2962
|
+
return 'Group(name=' + this.f3y_1 + ', help=' + this.g3y_1 + ')';
|
|
2963
2963
|
};
|
|
2964
2964
|
protoOf(Group_0).hashCode = function () {
|
|
2965
|
-
var result = getStringHashCode(this.
|
|
2966
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2965
|
+
var result = getStringHashCode(this.f3y_1);
|
|
2966
|
+
result = imul(result, 31) + getStringHashCode(this.g3y_1) | 0;
|
|
2967
2967
|
return result;
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -2972,9 +2972,9 @@
|
|
|
2972
2972
|
if (!(other instanceof Group_0))
|
|
2973
2973
|
return false;
|
|
2974
2974
|
var tmp0_other_with_cast = other instanceof Group_0 ? other : THROW_CCE();
|
|
2975
|
-
if (!(this.
|
|
2975
|
+
if (!(this.f3y_1 === tmp0_other_with_cast.f3y_1))
|
|
2976
2976
|
return false;
|
|
2977
|
-
if (!(this.
|
|
2977
|
+
if (!(this.g3y_1 === tmp0_other_with_cast.g3y_1))
|
|
2978
2978
|
return false;
|
|
2979
2979
|
return true;
|
|
2980
2980
|
};
|
|
@@ -3004,15 +3004,15 @@
|
|
|
3004
3004
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
3005
3005
|
}
|
|
3006
3006
|
function RenderedSection(title, content) {
|
|
3007
|
-
this.
|
|
3008
|
-
this.
|
|
3007
|
+
this.a3z_1 = title;
|
|
3008
|
+
this.b3z_1 = content;
|
|
3009
3009
|
}
|
|
3010
3010
|
protoOf(RenderedSection).toString = function () {
|
|
3011
|
-
return 'RenderedSection(title=' + toString_0(this.
|
|
3011
|
+
return 'RenderedSection(title=' + toString_0(this.a3z_1) + ', content=' + toString_0(this.b3z_1) + ')';
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(RenderedSection).hashCode = function () {
|
|
3014
|
-
var result = hashCode(this.
|
|
3015
|
-
result = imul(result, 31) + hashCode(this.
|
|
3014
|
+
var result = hashCode(this.a3z_1);
|
|
3015
|
+
result = imul(result, 31) + hashCode(this.b3z_1) | 0;
|
|
3016
3016
|
return result;
|
|
3017
3017
|
};
|
|
3018
3018
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -3021,25 +3021,25 @@
|
|
|
3021
3021
|
if (!(other instanceof RenderedSection))
|
|
3022
3022
|
return false;
|
|
3023
3023
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
3024
|
-
if (!equals(this.
|
|
3024
|
+
if (!equals(this.a3z_1, tmp0_other_with_cast.a3z_1))
|
|
3025
3025
|
return false;
|
|
3026
|
-
if (!equals(this.
|
|
3026
|
+
if (!equals(this.b3z_1, tmp0_other_with_cast.b3z_1))
|
|
3027
3027
|
return false;
|
|
3028
3028
|
return true;
|
|
3029
3029
|
};
|
|
3030
3030
|
function DefinitionRow(term, description, marker) {
|
|
3031
3031
|
marker = marker === VOID ? null : marker;
|
|
3032
|
-
this.
|
|
3033
|
-
this.
|
|
3034
|
-
this.
|
|
3032
|
+
this.c3z_1 = term;
|
|
3033
|
+
this.d3z_1 = description;
|
|
3034
|
+
this.e3z_1 = marker;
|
|
3035
3035
|
}
|
|
3036
3036
|
protoOf(DefinitionRow).toString = function () {
|
|
3037
|
-
return 'DefinitionRow(term=' + this.
|
|
3037
|
+
return 'DefinitionRow(term=' + this.c3z_1 + ', description=' + this.d3z_1 + ', marker=' + this.e3z_1 + ')';
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(DefinitionRow).hashCode = function () {
|
|
3040
|
-
var result = getStringHashCode(this.
|
|
3041
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3042
|
-
result = imul(result, 31) + (this.
|
|
3040
|
+
var result = getStringHashCode(this.c3z_1);
|
|
3041
|
+
result = imul(result, 31) + getStringHashCode(this.d3z_1) | 0;
|
|
3042
|
+
result = imul(result, 31) + (this.e3z_1 == null ? 0 : getStringHashCode(this.e3z_1)) | 0;
|
|
3043
3043
|
return result;
|
|
3044
3044
|
};
|
|
3045
3045
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -3048,25 +3048,25 @@
|
|
|
3048
3048
|
if (!(other instanceof DefinitionRow))
|
|
3049
3049
|
return false;
|
|
3050
3050
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
3051
|
-
if (!(this.
|
|
3051
|
+
if (!(this.c3z_1 === tmp0_other_with_cast.c3z_1))
|
|
3052
3052
|
return false;
|
|
3053
|
-
if (!(this.
|
|
3053
|
+
if (!(this.d3z_1 === tmp0_other_with_cast.d3z_1))
|
|
3054
3054
|
return false;
|
|
3055
|
-
if (!(this.
|
|
3055
|
+
if (!(this.e3z_1 == tmp0_other_with_cast.e3z_1))
|
|
3056
3056
|
return false;
|
|
3057
3057
|
return true;
|
|
3058
3058
|
};
|
|
3059
3059
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3060
|
-
this.
|
|
3060
|
+
this.f3z_1 = function_0;
|
|
3061
3061
|
}
|
|
3062
3062
|
protoOf(sam$kotlin_Comparator$0_0).sc = function (a, b) {
|
|
3063
|
-
return this.
|
|
3063
|
+
return this.f3z_1(a, b);
|
|
3064
3064
|
};
|
|
3065
3065
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3066
3066
|
return this.sc(a, b);
|
|
3067
3067
|
};
|
|
3068
3068
|
protoOf(sam$kotlin_Comparator$0_0).o3 = function () {
|
|
3069
|
-
return this.
|
|
3069
|
+
return this.f3z_1;
|
|
3070
3070
|
};
|
|
3071
3071
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
3072
3072
|
var tmp;
|
|
@@ -3087,16 +3087,16 @@
|
|
|
3087
3087
|
return hashCode(this.o3());
|
|
3088
3088
|
};
|
|
3089
3089
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3090
|
-
this.
|
|
3090
|
+
this.g3z_1 = function_0;
|
|
3091
3091
|
}
|
|
3092
3092
|
protoOf(sam$kotlin_Comparator$0_1).sc = function (a, b) {
|
|
3093
|
-
return this.
|
|
3093
|
+
return this.g3z_1(a, b);
|
|
3094
3094
|
};
|
|
3095
3095
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3096
3096
|
return this.sc(a, b);
|
|
3097
3097
|
};
|
|
3098
3098
|
protoOf(sam$kotlin_Comparator$0_1).o3 = function () {
|
|
3099
|
-
return this.
|
|
3099
|
+
return this.g3z_1;
|
|
3100
3100
|
};
|
|
3101
3101
|
protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
|
|
3102
3102
|
var tmp;
|
|
@@ -3118,21 +3118,21 @@
|
|
|
3118
3118
|
};
|
|
3119
3119
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3120
3120
|
return function ($this$verticalLayout) {
|
|
3121
|
-
$this$verticalLayout.
|
|
3122
|
-
$this$verticalLayout.
|
|
3121
|
+
$this$verticalLayout.k3j(1);
|
|
3122
|
+
$this$verticalLayout.i3j(this$0.l3z($error, $prolog, $epilog, $parameters, $programName));
|
|
3123
3123
|
return Unit_instance;
|
|
3124
3124
|
};
|
|
3125
3125
|
}
|
|
3126
3126
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
3127
3127
|
return function ($this$definitionList) {
|
|
3128
|
-
$this$definitionList.
|
|
3129
|
-
$this$definitionList.
|
|
3130
|
-
$this$definitionList.
|
|
3128
|
+
$this$definitionList.j3n($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
3129
|
+
$this$definitionList.d3n_1 = true;
|
|
3130
|
+
$this$definitionList.g3n(1);
|
|
3131
3131
|
return Unit_instance;
|
|
3132
3132
|
};
|
|
3133
3133
|
}
|
|
3134
3134
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
3135
|
-
$this$withPadding.
|
|
3135
|
+
$this$withPadding.z3d_1 = 2;
|
|
3136
3136
|
return Unit_instance;
|
|
3137
3137
|
}
|
|
3138
3138
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -3145,24 +3145,24 @@
|
|
|
3145
3145
|
}
|
|
3146
3146
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3147
3147
|
return function ($this$definitionList) {
|
|
3148
|
-
var tmp0_iterator = this$0.
|
|
3148
|
+
var tmp0_iterator = this$0.m3z($parameters).g();
|
|
3149
3149
|
while (tmp0_iterator.h()) {
|
|
3150
3150
|
var section = tmp0_iterator.i();
|
|
3151
|
-
$this$definitionList.
|
|
3151
|
+
$this$definitionList.k3n(section.a3z_1, section.b3z_1);
|
|
3152
3152
|
}
|
|
3153
3153
|
return Unit_instance;
|
|
3154
3154
|
};
|
|
3155
3155
|
}
|
|
3156
3156
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3157
|
-
$this$withPadding.
|
|
3158
|
-
$this$withPadding.
|
|
3159
|
-
$this$withPadding.
|
|
3157
|
+
$this$withPadding.w3d_1 = 1;
|
|
3158
|
+
$this$withPadding.z3d_1 = 2;
|
|
3159
|
+
$this$withPadding.y3d_1 = 1;
|
|
3160
3160
|
return Unit_instance;
|
|
3161
3161
|
}
|
|
3162
3162
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3163
3163
|
return function ($this$verticalLayout) {
|
|
3164
|
-
$this$verticalLayout.
|
|
3165
|
-
$this$verticalLayout.
|
|
3164
|
+
$this$verticalLayout.f3d($markdown);
|
|
3165
|
+
$this$verticalLayout.f3d(this$0.n3z($options));
|
|
3166
3166
|
return Unit_instance;
|
|
3167
3167
|
};
|
|
3168
3168
|
}
|
|
@@ -3172,7 +3172,7 @@
|
|
|
3172
3172
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3173
3173
|
// Inline function 'kotlin.collections.component2' call
|
|
3174
3174
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3175
|
-
return this$0.
|
|
3175
|
+
return this$0.o3z(k, v);
|
|
3176
3176
|
};
|
|
3177
3177
|
}
|
|
3178
3178
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3181,7 +3181,7 @@
|
|
|
3181
3181
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3182
3182
|
// Inline function 'kotlin.collections.component2' call
|
|
3183
3183
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3184
|
-
return this$0.
|
|
3184
|
+
return this$0.p3z(k, v);
|
|
3185
3185
|
};
|
|
3186
3186
|
}
|
|
3187
3187
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3194,28 +3194,28 @@
|
|
|
3194
3194
|
}
|
|
3195
3195
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3196
3196
|
return function (it) {
|
|
3197
|
-
return this$0.
|
|
3197
|
+
return this$0.q3z(it);
|
|
3198
3198
|
};
|
|
3199
3199
|
}
|
|
3200
3200
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3201
|
-
this.
|
|
3201
|
+
this.r3z_1 = this$0;
|
|
3202
3202
|
}
|
|
3203
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3204
|
-
return this.
|
|
3203
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).j3v = function (name) {
|
|
3204
|
+
return this.r3z_1.q3z(name);
|
|
3205
3205
|
};
|
|
3206
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3207
|
-
return this.
|
|
3206
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).i3v = function (name) {
|
|
3207
|
+
return this.r3z_1.t3z(this.r3z_1.s3z(name));
|
|
3208
3208
|
};
|
|
3209
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3210
|
-
return this.
|
|
3209
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).t3v = function (name) {
|
|
3210
|
+
return this.r3z_1.u3z(name);
|
|
3211
3211
|
};
|
|
3212
3212
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3213
3213
|
return function ($this$definitionList) {
|
|
3214
|
-
$this$definitionList.
|
|
3214
|
+
$this$definitionList.d3n_1 = true;
|
|
3215
3215
|
var tmp0_iterator = $rows.g();
|
|
3216
3216
|
while (tmp0_iterator.h()) {
|
|
3217
3217
|
var row = tmp0_iterator.i();
|
|
3218
|
-
$this$definitionList.
|
|
3218
|
+
$this$definitionList.k3n(this$0.v3z(row), this$0.w3z(row));
|
|
3219
3219
|
}
|
|
3220
3220
|
return Unit_instance;
|
|
3221
3221
|
};
|
|
@@ -3224,22 +3224,22 @@
|
|
|
3224
3224
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3225
3225
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3226
3226
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3227
|
-
this.
|
|
3228
|
-
this.
|
|
3229
|
-
this.
|
|
3230
|
-
this.
|
|
3227
|
+
this.h3z_1 = context;
|
|
3228
|
+
this.i3z_1 = requiredOptionMarker;
|
|
3229
|
+
this.j3z_1 = showDefaultValues;
|
|
3230
|
+
this.k3z_1 = showRequiredTag;
|
|
3231
3231
|
}
|
|
3232
|
-
protoOf(MordantHelpFormatter).
|
|
3233
|
-
return this.
|
|
3232
|
+
protoOf(MordantHelpFormatter).x3z = function () {
|
|
3233
|
+
return this.h3z_1.r3q_1;
|
|
3234
3234
|
};
|
|
3235
|
-
protoOf(MordantHelpFormatter).
|
|
3236
|
-
return this.
|
|
3235
|
+
protoOf(MordantHelpFormatter).y3z = function () {
|
|
3236
|
+
return this.h3z_1.m3q_1.x3a_1;
|
|
3237
3237
|
};
|
|
3238
|
-
protoOf(MordantHelpFormatter).
|
|
3238
|
+
protoOf(MordantHelpFormatter).d3s = function (error, prolog, epilog, parameters, programName) {
|
|
3239
3239
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3240
|
-
return this.
|
|
3240
|
+
return this.h3z_1.m3q_1.u3m(widget);
|
|
3241
3241
|
};
|
|
3242
|
-
protoOf(MordantHelpFormatter).
|
|
3242
|
+
protoOf(MordantHelpFormatter).l3z = function (error, prolog, epilog, parameters, programName) {
|
|
3243
3243
|
// Inline function 'kotlin.collections.buildList' call
|
|
3244
3244
|
// Inline function 'kotlin.contracts.contract' call
|
|
3245
3245
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3247,26 +3247,26 @@
|
|
|
3247
3247
|
var this_0 = ArrayList_init_$Create$();
|
|
3248
3248
|
// Inline function 'kotlin.contracts.contract' call
|
|
3249
3249
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3250
|
-
this_0.e(this.
|
|
3250
|
+
this_0.e(this.z3z(parameters, programName));
|
|
3251
3251
|
if (error == null) {
|
|
3252
3252
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3253
3253
|
if (charSequenceLength(prolog) > 0) {
|
|
3254
|
-
this_0.e(this.
|
|
3254
|
+
this_0.e(this.b40(prolog));
|
|
3255
3255
|
}
|
|
3256
3256
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3257
3257
|
if (!parameters.l()) {
|
|
3258
|
-
this_0.e(this.
|
|
3258
|
+
this_0.e(this.c40(parameters));
|
|
3259
3259
|
}
|
|
3260
3260
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3261
3261
|
if (charSequenceLength(epilog) > 0) {
|
|
3262
|
-
this_0.e(this.
|
|
3262
|
+
this_0.e(this.d40(epilog));
|
|
3263
3263
|
}
|
|
3264
3264
|
} else {
|
|
3265
|
-
this_0.e(this.
|
|
3265
|
+
this_0.e(this.a40(parameters, error));
|
|
3266
3266
|
}
|
|
3267
3267
|
return this_0.p5();
|
|
3268
3268
|
};
|
|
3269
|
-
protoOf(MordantHelpFormatter).
|
|
3269
|
+
protoOf(MordantHelpFormatter).a40 = function (parameters, error) {
|
|
3270
3270
|
// Inline function 'kotlin.text.buildString' call
|
|
3271
3271
|
// Inline function 'kotlin.contracts.contract' call
|
|
3272
3272
|
// Inline function 'kotlin.apply' call
|
|
@@ -3274,7 +3274,7 @@
|
|
|
3274
3274
|
// Inline function 'kotlin.contracts.contract' call
|
|
3275
3275
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3276
3276
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3277
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3277
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c3v_1;
|
|
3278
3278
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3279
3279
|
var iterator = errors.g();
|
|
3280
3280
|
var index = 0;
|
|
@@ -3286,16 +3286,16 @@
|
|
|
3286
3286
|
// Inline function 'kotlin.text.appendLine' call
|
|
3287
3287
|
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
3288
3288
|
}
|
|
3289
|
-
this_0.w7(this.
|
|
3289
|
+
this_0.w7(this.e40(this.x3z().h3y()));
|
|
3290
3290
|
this_0.w7(' ');
|
|
3291
|
-
this_0.w7(e.
|
|
3291
|
+
this_0.w7(e.m3u(this.x3z(), this.f40(this.h3z_1)));
|
|
3292
3292
|
}
|
|
3293
3293
|
var tmp$ret$2 = this_0.toString();
|
|
3294
3294
|
return Text_init_$Create$(tmp$ret$2);
|
|
3295
3295
|
};
|
|
3296
|
-
protoOf(MordantHelpFormatter).
|
|
3297
|
-
var optionalStyle = this.
|
|
3298
|
-
var title = this.
|
|
3296
|
+
protoOf(MordantHelpFormatter).z3z = function (parameters, programName) {
|
|
3297
|
+
var optionalStyle = this.y3z().c3c('muted');
|
|
3298
|
+
var title = this.g40(this.x3z().r3y());
|
|
3299
3299
|
var prog = title + ' ' + programName;
|
|
3300
3300
|
// Inline function 'kotlin.collections.buildList' call
|
|
3301
3301
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3329,8 +3329,8 @@
|
|
|
3329
3329
|
tmp$ret$0 = false;
|
|
3330
3330
|
}
|
|
3331
3331
|
if (tmp$ret$0) {
|
|
3332
|
-
var metavar = this.
|
|
3333
|
-
this_0.e(optionalStyle.
|
|
3332
|
+
var metavar = this.s3z(this.x3z().v3y());
|
|
3333
|
+
this_0.e(optionalStyle.n2j(this.h40(metavar)));
|
|
3334
3334
|
}
|
|
3335
3335
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3336
3336
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3347,13 +3347,13 @@
|
|
|
3347
3347
|
while (tmp0_iterator_1.h()) {
|
|
3348
3348
|
var item = tmp0_iterator_1.i();
|
|
3349
3349
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3350
|
-
var name = this.
|
|
3351
|
-
if (!item.
|
|
3352
|
-
name = this.
|
|
3353
|
-
if (item.
|
|
3354
|
-
name = this.
|
|
3355
|
-
var style = item.
|
|
3356
|
-
var tmp$ret$4 = style.
|
|
3350
|
+
var name = this.s3z(item.x3x_1);
|
|
3351
|
+
if (!item.z3x_1)
|
|
3352
|
+
name = this.h40(name);
|
|
3353
|
+
if (item.a3y_1)
|
|
3354
|
+
name = this.i40(name);
|
|
3355
|
+
var style = item.z3x_1 ? TextStyle() : optionalStyle;
|
|
3356
|
+
var tmp$ret$4 = style.n2j(name);
|
|
3357
3357
|
this_0.e(tmp$ret$4);
|
|
3358
3358
|
}
|
|
3359
3359
|
var tmp$ret$6;
|
|
@@ -3381,10 +3381,10 @@
|
|
|
3381
3381
|
tmp$ret$6 = false;
|
|
3382
3382
|
}
|
|
3383
3383
|
if (tmp$ret$6) {
|
|
3384
|
-
var commandMetavar = this.
|
|
3385
|
-
var argsMetavar = this.
|
|
3386
|
-
var repeatedArgs = this.
|
|
3387
|
-
this_0.e(optionalStyle.
|
|
3384
|
+
var commandMetavar = this.s3z(this.x3z().w3y());
|
|
3385
|
+
var argsMetavar = this.s3z(this.x3z().x3y());
|
|
3386
|
+
var repeatedArgs = this.i40(this.h40(argsMetavar));
|
|
3387
|
+
this_0.e(optionalStyle.n2j(commandMetavar + ' ' + repeatedArgs));
|
|
3388
3388
|
}
|
|
3389
3389
|
var usageParts = this_0.p5();
|
|
3390
3390
|
var tmp_1;
|
|
@@ -3395,17 +3395,17 @@
|
|
|
3395
3395
|
}
|
|
3396
3396
|
return tmp_1;
|
|
3397
3397
|
};
|
|
3398
|
-
protoOf(MordantHelpFormatter).
|
|
3398
|
+
protoOf(MordantHelpFormatter).b40 = function (prolog) {
|
|
3399
3399
|
var tmp = new Markdown(prolog, true);
|
|
3400
3400
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3401
3401
|
};
|
|
3402
|
-
protoOf(MordantHelpFormatter).
|
|
3402
|
+
protoOf(MordantHelpFormatter).d40 = function (epilog) {
|
|
3403
3403
|
return new Markdown(epilog, true);
|
|
3404
3404
|
};
|
|
3405
|
-
protoOf(MordantHelpFormatter).
|
|
3405
|
+
protoOf(MordantHelpFormatter).j40 = function (title) {
|
|
3406
3406
|
return title + ':';
|
|
3407
3407
|
};
|
|
3408
|
-
protoOf(MordantHelpFormatter).
|
|
3408
|
+
protoOf(MordantHelpFormatter).k40 = function (parameters) {
|
|
3409
3409
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3410
3410
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3411
3411
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3424,7 +3424,7 @@
|
|
|
3424
3424
|
while (tmp0_iterator_0.h()) {
|
|
3425
3425
|
var element_0 = tmp0_iterator_0.i();
|
|
3426
3426
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3427
|
-
var tmp$ret$2 = element_0.
|
|
3427
|
+
var tmp$ret$2 = element_0.f3y_1;
|
|
3428
3428
|
destination_0.m2(tmp$ret$2, element_0);
|
|
3429
3429
|
}
|
|
3430
3430
|
var groupsByName = destination_0;
|
|
@@ -3448,7 +3448,7 @@
|
|
|
3448
3448
|
while (tmp0_iterator_2.h()) {
|
|
3449
3449
|
var element_2 = tmp0_iterator_2.i();
|
|
3450
3450
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3451
|
-
var key = element_2.
|
|
3451
|
+
var key = element_2.w3x_1;
|
|
3452
3452
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3453
3453
|
var value = destination_2.f2(key);
|
|
3454
3454
|
var tmp;
|
|
@@ -3487,19 +3487,19 @@
|
|
|
3487
3487
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3488
3488
|
var title = item.qd();
|
|
3489
3489
|
var params = item.rd();
|
|
3490
|
-
var renderedTitle = this.
|
|
3490
|
+
var renderedTitle = this.j40(title == null ? this.x3z().s3y() : title);
|
|
3491
3491
|
// Inline function 'kotlin.collections.get' call
|
|
3492
3492
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).f2(title);
|
|
3493
|
-
var content = this.
|
|
3494
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3493
|
+
var content = this.l40(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g3y_1, params);
|
|
3494
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.m40(renderedTitle), content);
|
|
3495
3495
|
destination_4.e(tmp$ret$19);
|
|
3496
3496
|
}
|
|
3497
3497
|
return toList_0(destination_4);
|
|
3498
3498
|
};
|
|
3499
|
-
protoOf(MordantHelpFormatter).
|
|
3499
|
+
protoOf(MordantHelpFormatter).c40 = function (parameters) {
|
|
3500
3500
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3501
3501
|
};
|
|
3502
|
-
protoOf(MordantHelpFormatter).
|
|
3502
|
+
protoOf(MordantHelpFormatter).m3z = function (parameters) {
|
|
3503
3503
|
// Inline function 'kotlin.collections.buildList' call
|
|
3504
3504
|
// Inline function 'kotlin.contracts.contract' call
|
|
3505
3505
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3507,12 +3507,12 @@
|
|
|
3507
3507
|
var this_0 = ArrayList_init_$Create$();
|
|
3508
3508
|
// Inline function 'kotlin.contracts.contract' call
|
|
3509
3509
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3510
|
-
this_0.p(this.
|
|
3511
|
-
this_0.p(this.
|
|
3512
|
-
this_0.p(this.
|
|
3510
|
+
this_0.p(this.k40(parameters));
|
|
3511
|
+
this_0.p(this.n40(parameters));
|
|
3512
|
+
this_0.p(this.o40(parameters));
|
|
3513
3513
|
return this_0.p5();
|
|
3514
3514
|
};
|
|
3515
|
-
protoOf(MordantHelpFormatter).
|
|
3515
|
+
protoOf(MordantHelpFormatter).l40 = function (help, parameters) {
|
|
3516
3516
|
// Inline function 'kotlin.collections.map' call
|
|
3517
3517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3518
3518
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3521,28 +3521,28 @@
|
|
|
3521
3521
|
var item = tmp0_iterator.i();
|
|
3522
3522
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3523
3523
|
var tmp;
|
|
3524
|
-
if (item.
|
|
3525
|
-
tmp = plus_0(listOf_0(this.
|
|
3524
|
+
if (item.u3x_1) {
|
|
3525
|
+
tmp = plus_0(listOf_0(this.p40(item)), item.o3x_1);
|
|
3526
3526
|
} else {
|
|
3527
|
-
tmp = item.
|
|
3527
|
+
tmp = item.o3x_1;
|
|
3528
3528
|
}
|
|
3529
3529
|
var unjoinedNames = tmp;
|
|
3530
|
-
var names = mutableListOf([this.
|
|
3530
|
+
var names = mutableListOf([this.q40(unjoinedNames)]);
|
|
3531
3531
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3532
|
-
if (!item.
|
|
3532
|
+
if (!item.p3x_1.l()) {
|
|
3533
3533
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3534
|
-
var element = this.
|
|
3534
|
+
var element = this.q40(item.p3x_1);
|
|
3535
3535
|
names.e(element);
|
|
3536
3536
|
}
|
|
3537
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3538
|
-
var tmp_1 = this.
|
|
3537
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.r40(item));
|
|
3538
|
+
var tmp_1 = this.s40(item.r3x_1, item.t3x_1);
|
|
3539
3539
|
var tmp0_subject = 'required';
|
|
3540
3540
|
var tmp_2;
|
|
3541
3541
|
// Inline function 'kotlin.collections.contains' call
|
|
3542
3542
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3543
|
-
var this_0 = item.
|
|
3543
|
+
var this_0 = item.t3x_1;
|
|
3544
3544
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).e2(tmp0_subject)) {
|
|
3545
|
-
var tmp1_safe_receiver = this.
|
|
3545
|
+
var tmp1_safe_receiver = this.i3z_1;
|
|
3546
3546
|
var tmp_3;
|
|
3547
3547
|
if (tmp1_safe_receiver == null) {
|
|
3548
3548
|
tmp_3 = null;
|
|
@@ -3550,7 +3550,7 @@
|
|
|
3550
3550
|
// Inline function 'kotlin.let' call
|
|
3551
3551
|
// Inline function 'kotlin.contracts.contract' call
|
|
3552
3552
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3553
|
-
tmp_3 = this.
|
|
3553
|
+
tmp_3 = this.t40(tmp1_safe_receiver);
|
|
3554
3554
|
}
|
|
3555
3555
|
tmp_2 = tmp_3;
|
|
3556
3556
|
} else {
|
|
@@ -3561,12 +3561,12 @@
|
|
|
3561
3561
|
}
|
|
3562
3562
|
var options = destination;
|
|
3563
3563
|
if (help == null)
|
|
3564
|
-
return this.
|
|
3564
|
+
return this.n3z(options);
|
|
3565
3565
|
var tmp_4 = new Markdown(help, true);
|
|
3566
3566
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3567
3567
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3568
3568
|
};
|
|
3569
|
-
protoOf(MordantHelpFormatter).
|
|
3569
|
+
protoOf(MordantHelpFormatter).n40 = function (parameters) {
|
|
3570
3570
|
// Inline function 'kotlin.collections.map' call
|
|
3571
3571
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3572
3572
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3584,7 +3584,7 @@
|
|
|
3584
3584
|
while (tmp0_iterator_0.h()) {
|
|
3585
3585
|
var item = tmp0_iterator_0.i();
|
|
3586
3586
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3587
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3587
|
+
var tmp$ret$2 = new DefinitionRow(this.t3z(this.s3z(item.x3x_1)), this.s40(item.y3x_1, item.b3y_1));
|
|
3588
3588
|
destination_0.e(tmp$ret$2);
|
|
3589
3589
|
}
|
|
3590
3590
|
var arguments_0 = destination_0;
|
|
@@ -3610,7 +3610,7 @@
|
|
|
3610
3610
|
var element_0 = tmp0_iterator_1.i();
|
|
3611
3611
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3612
3612
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3613
|
-
var this_0 = element_0.
|
|
3613
|
+
var this_0 = element_0.d3z_1;
|
|
3614
3614
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3615
3615
|
tmp$ret$5 = false;
|
|
3616
3616
|
break $l$block_0;
|
|
@@ -3622,10 +3622,10 @@
|
|
|
3622
3622
|
}
|
|
3623
3623
|
if (tmp)
|
|
3624
3624
|
return emptyList();
|
|
3625
|
-
var title = this.
|
|
3626
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3625
|
+
var title = this.m40(this.j40(this.x3z().t3y()));
|
|
3626
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.n3z(arguments_0)));
|
|
3627
3627
|
};
|
|
3628
|
-
protoOf(MordantHelpFormatter).
|
|
3628
|
+
protoOf(MordantHelpFormatter).o40 = function (parameters) {
|
|
3629
3629
|
// Inline function 'kotlin.collections.map' call
|
|
3630
3630
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3631
3631
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3643,16 +3643,16 @@
|
|
|
3643
3643
|
while (tmp0_iterator_0.h()) {
|
|
3644
3644
|
var item = tmp0_iterator_0.i();
|
|
3645
3645
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3646
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3646
|
+
var tmp$ret$2 = new DefinitionRow(this.u3z(item.c3y_1), this.s40(item.d3y_1, item.e3y_1));
|
|
3647
3647
|
destination_0.e(tmp$ret$2);
|
|
3648
3648
|
}
|
|
3649
3649
|
var commands = destination_0;
|
|
3650
3650
|
if (commands.l())
|
|
3651
3651
|
return emptyList();
|
|
3652
|
-
var title = this.
|
|
3653
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3652
|
+
var title = this.m40(this.j40(this.x3z().u3y()));
|
|
3653
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.n3z(commands)));
|
|
3654
3654
|
};
|
|
3655
|
-
protoOf(MordantHelpFormatter).
|
|
3655
|
+
protoOf(MordantHelpFormatter).s40 = function (help, tags) {
|
|
3656
3656
|
var tmp = asSequence(tags);
|
|
3657
3657
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3658
3658
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3670,12 +3670,12 @@
|
|
|
3670
3670
|
}
|
|
3671
3671
|
return tmp_1;
|
|
3672
3672
|
};
|
|
3673
|
-
protoOf(MordantHelpFormatter).
|
|
3673
|
+
protoOf(MordantHelpFormatter).o3z = function (tag, value) {
|
|
3674
3674
|
var tmp;
|
|
3675
3675
|
switch (tag) {
|
|
3676
3676
|
case 'default':
|
|
3677
3677
|
var tmp_0;
|
|
3678
|
-
if (this.
|
|
3678
|
+
if (this.j3z_1) {
|
|
3679
3679
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3680
3680
|
tmp_0 = !isBlank(value);
|
|
3681
3681
|
} else {
|
|
@@ -3685,7 +3685,7 @@
|
|
|
3685
3685
|
tmp = tmp_0;
|
|
3686
3686
|
break;
|
|
3687
3687
|
case 'required':
|
|
3688
|
-
tmp = this.
|
|
3688
|
+
tmp = this.k3z_1;
|
|
3689
3689
|
break;
|
|
3690
3690
|
default:
|
|
3691
3691
|
tmp = true;
|
|
@@ -3693,7 +3693,7 @@
|
|
|
3693
3693
|
}
|
|
3694
3694
|
return tmp;
|
|
3695
3695
|
};
|
|
3696
|
-
protoOf(MordantHelpFormatter).
|
|
3696
|
+
protoOf(MordantHelpFormatter).q40 = function (names) {
|
|
3697
3697
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3698
3698
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3699
3699
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3701,77 +3701,77 @@
|
|
|
3701
3701
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3702
3702
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3703
3703
|
};
|
|
3704
|
-
protoOf(MordantHelpFormatter).
|
|
3704
|
+
protoOf(MordantHelpFormatter).p3z = function (tag, value) {
|
|
3705
3705
|
var t;
|
|
3706
3706
|
switch (tag) {
|
|
3707
3707
|
case 'default':
|
|
3708
|
-
t = this.
|
|
3708
|
+
t = this.x3z().y3y();
|
|
3709
3709
|
break;
|
|
3710
3710
|
case 'required':
|
|
3711
|
-
t = this.
|
|
3711
|
+
t = this.x3z().z3y();
|
|
3712
3712
|
break;
|
|
3713
3713
|
default:
|
|
3714
3714
|
t = tag;
|
|
3715
3715
|
break;
|
|
3716
3716
|
}
|
|
3717
3717
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3718
|
-
return tag === 'required' ? this.
|
|
3718
|
+
return tag === 'required' ? this.t40(fullTag) : this.u40(fullTag);
|
|
3719
3719
|
};
|
|
3720
|
-
protoOf(MordantHelpFormatter).
|
|
3721
|
-
var tmp0_elvis_lhs = option.
|
|
3722
|
-
var metavar = this.
|
|
3723
|
-
return toString(first(first_1(option.
|
|
3720
|
+
protoOf(MordantHelpFormatter).p40 = function (option) {
|
|
3721
|
+
var tmp0_elvis_lhs = option.q3x_1;
|
|
3722
|
+
var metavar = this.s3z(tmp0_elvis_lhs == null ? this.x3z().q3y() : tmp0_elvis_lhs);
|
|
3723
|
+
return toString(first(first_1(option.o3x_1))) + metavar;
|
|
3724
3724
|
};
|
|
3725
|
-
protoOf(MordantHelpFormatter).
|
|
3725
|
+
protoOf(MordantHelpFormatter).s3z = function (name) {
|
|
3726
3726
|
// Inline function 'kotlin.text.lowercase' call
|
|
3727
3727
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3728
3728
|
return '<' + name.toLowerCase() + '>';
|
|
3729
3729
|
};
|
|
3730
|
-
protoOf(MordantHelpFormatter).
|
|
3731
|
-
return this.
|
|
3730
|
+
protoOf(MordantHelpFormatter).t40 = function (name) {
|
|
3731
|
+
return this.y3z().c3c('danger').n2j(name);
|
|
3732
3732
|
};
|
|
3733
|
-
protoOf(MordantHelpFormatter).
|
|
3734
|
-
return this.
|
|
3733
|
+
protoOf(MordantHelpFormatter).u40 = function (name) {
|
|
3734
|
+
return this.y3z().c3c('muted').n2j(name);
|
|
3735
3735
|
};
|
|
3736
|
-
protoOf(MordantHelpFormatter).
|
|
3737
|
-
return this.
|
|
3736
|
+
protoOf(MordantHelpFormatter).q3z = function (name) {
|
|
3737
|
+
return this.y3z().c3c('info').n2j(name);
|
|
3738
3738
|
};
|
|
3739
|
-
protoOf(MordantHelpFormatter).
|
|
3740
|
-
return this.
|
|
3739
|
+
protoOf(MordantHelpFormatter).t3z = function (name) {
|
|
3740
|
+
return this.y3z().c3c('info').n2j(name);
|
|
3741
3741
|
};
|
|
3742
|
-
protoOf(MordantHelpFormatter).
|
|
3743
|
-
return this.
|
|
3742
|
+
protoOf(MordantHelpFormatter).u3z = function (name) {
|
|
3743
|
+
return this.y3z().c3c('info').n2j(name);
|
|
3744
3744
|
};
|
|
3745
|
-
protoOf(MordantHelpFormatter).
|
|
3746
|
-
return this.
|
|
3745
|
+
protoOf(MordantHelpFormatter).m40 = function (title) {
|
|
3746
|
+
return this.y3z().c3c('warning').n2j(title);
|
|
3747
3747
|
};
|
|
3748
|
-
protoOf(MordantHelpFormatter).
|
|
3749
|
-
return this.
|
|
3748
|
+
protoOf(MordantHelpFormatter).g40 = function (title) {
|
|
3749
|
+
return this.y3z().c3c('warning').n2j(title);
|
|
3750
3750
|
};
|
|
3751
|
-
protoOf(MordantHelpFormatter).
|
|
3752
|
-
return this.
|
|
3751
|
+
protoOf(MordantHelpFormatter).e40 = function (title) {
|
|
3752
|
+
return this.y3z().c3c('danger').n2j(title);
|
|
3753
3753
|
};
|
|
3754
|
-
protoOf(MordantHelpFormatter).
|
|
3755
|
-
var style = this.
|
|
3756
|
-
return style.
|
|
3754
|
+
protoOf(MordantHelpFormatter).v40 = function (metavar) {
|
|
3755
|
+
var style = this.y3z().c3c('warning').b3a(this.y3z().c3c('muted'));
|
|
3756
|
+
return style.n2j(metavar);
|
|
3757
3757
|
};
|
|
3758
|
-
protoOf(MordantHelpFormatter).
|
|
3758
|
+
protoOf(MordantHelpFormatter).f40 = function (context) {
|
|
3759
3759
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3760
3760
|
};
|
|
3761
|
-
protoOf(MordantHelpFormatter).
|
|
3761
|
+
protoOf(MordantHelpFormatter).h40 = function (metavar) {
|
|
3762
3762
|
return '[' + metavar + ']';
|
|
3763
3763
|
};
|
|
3764
|
-
protoOf(MordantHelpFormatter).
|
|
3764
|
+
protoOf(MordantHelpFormatter).i40 = function (metavar) {
|
|
3765
3765
|
return metavar + '...';
|
|
3766
3766
|
};
|
|
3767
|
-
protoOf(MordantHelpFormatter).
|
|
3767
|
+
protoOf(MordantHelpFormatter).w40 = function (metavar) {
|
|
3768
3768
|
return '=' + metavar;
|
|
3769
3769
|
};
|
|
3770
|
-
protoOf(MordantHelpFormatter).
|
|
3771
|
-
if (option.
|
|
3770
|
+
protoOf(MordantHelpFormatter).r40 = function (option) {
|
|
3771
|
+
if (option.q3x_1 == null)
|
|
3772
3772
|
return '';
|
|
3773
3773
|
// Inline function 'kotlin.text.trim' call
|
|
3774
|
-
var this_0 = option.
|
|
3774
|
+
var this_0 = option.q3x_1;
|
|
3775
3775
|
// Inline function 'kotlin.text.trim' call
|
|
3776
3776
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3777
3777
|
var startIndex = 0;
|
|
@@ -3797,25 +3797,25 @@
|
|
|
3797
3797
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3798
3798
|
var metavar = toString_0(tmp$ret$1);
|
|
3799
3799
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3800
|
-
metavar = this.
|
|
3801
|
-
metavar = this.
|
|
3802
|
-
if (option.
|
|
3803
|
-
metavar = this.
|
|
3804
|
-
metavar = this.
|
|
3805
|
-
if (option.
|
|
3806
|
-
metavar = this.
|
|
3800
|
+
metavar = this.s3z(metavar);
|
|
3801
|
+
metavar = this.v40(metavar);
|
|
3802
|
+
if (option.s3x_1.e1_1 > 1)
|
|
3803
|
+
metavar = this.i40(metavar);
|
|
3804
|
+
metavar = this.w40(metavar);
|
|
3805
|
+
if (option.s3x_1.d1_1 === 0)
|
|
3806
|
+
metavar = this.h40(metavar);
|
|
3807
3807
|
return metavar;
|
|
3808
3808
|
};
|
|
3809
|
-
protoOf(MordantHelpFormatter).
|
|
3809
|
+
protoOf(MordantHelpFormatter).v3z = function (row) {
|
|
3810
3810
|
var tmp;
|
|
3811
3811
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3812
|
-
var this_0 = row.
|
|
3812
|
+
var this_0 = row.e3z_1;
|
|
3813
3813
|
// Inline function 'kotlin.contracts.contract' call
|
|
3814
3814
|
if (this_0 == null || charSequenceLength(this_0) === 0) {
|
|
3815
3815
|
tmp = ' ';
|
|
3816
3816
|
} else {
|
|
3817
3817
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3818
|
-
var this_1 = drop(' ', this.
|
|
3818
|
+
var this_1 = drop(' ', this.x40(row.e3z_1));
|
|
3819
3819
|
// Inline function 'kotlin.contracts.contract' call
|
|
3820
3820
|
var tmp_0;
|
|
3821
3821
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3826,18 +3826,18 @@
|
|
|
3826
3826
|
tmp_0 = this_1;
|
|
3827
3827
|
}
|
|
3828
3828
|
var tmp$ret$3 = tmp_0;
|
|
3829
|
-
tmp = row.
|
|
3829
|
+
tmp = row.e3z_1 + tmp$ret$3;
|
|
3830
3830
|
}
|
|
3831
3831
|
var termPrefix = tmp;
|
|
3832
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3832
|
+
return Text_init_$Create$(termPrefix + row.c3z_1, Whitespace_PRE_WRAP_getInstance());
|
|
3833
3833
|
};
|
|
3834
|
-
protoOf(MordantHelpFormatter).
|
|
3835
|
-
return isBlank(row.
|
|
3834
|
+
protoOf(MordantHelpFormatter).w3z = function (row) {
|
|
3835
|
+
return isBlank(row.d3z_1) ? Text_init_$Create$('') : new Markdown(row.d3z_1, true);
|
|
3836
3836
|
};
|
|
3837
|
-
protoOf(MordantHelpFormatter).
|
|
3837
|
+
protoOf(MordantHelpFormatter).n3z = function (rows) {
|
|
3838
3838
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3839
3839
|
};
|
|
3840
|
-
protoOf(MordantHelpFormatter).
|
|
3840
|
+
protoOf(MordantHelpFormatter).x40 = function (_this__u8e3s4) {
|
|
3841
3841
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3842
3842
|
};
|
|
3843
3843
|
function Argument_0() {
|
|
@@ -3853,118 +3853,118 @@
|
|
|
3853
3853
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3854
3854
|
}
|
|
3855
3855
|
function ArgumentTransformContext(argument, context) {
|
|
3856
|
-
this.
|
|
3857
|
-
this.
|
|
3856
|
+
this.g41_1 = argument;
|
|
3857
|
+
this.h41_1 = context;
|
|
3858
3858
|
}
|
|
3859
3859
|
protoOf(ArgumentTransformContext).x8 = function () {
|
|
3860
|
-
return this.
|
|
3860
|
+
return this.h41_1;
|
|
3861
3861
|
};
|
|
3862
|
-
protoOf(ArgumentTransformContext).
|
|
3863
|
-
return this.
|
|
3862
|
+
protoOf(ArgumentTransformContext).a3r = function () {
|
|
3863
|
+
return this.g41_1.a3r();
|
|
3864
3864
|
};
|
|
3865
3865
|
protoOf(ArgumentTransformContext).r2 = function () {
|
|
3866
|
-
return this.
|
|
3866
|
+
return this.g41_1.r2();
|
|
3867
3867
|
};
|
|
3868
|
-
protoOf(ArgumentTransformContext).
|
|
3869
|
-
return this.
|
|
3868
|
+
protoOf(ArgumentTransformContext).b3r = function () {
|
|
3869
|
+
return this.g41_1.b3r();
|
|
3870
3870
|
};
|
|
3871
|
-
protoOf(ArgumentTransformContext).
|
|
3872
|
-
return this.
|
|
3871
|
+
protoOf(ArgumentTransformContext).y40 = function () {
|
|
3872
|
+
return this.g41_1.y40();
|
|
3873
3873
|
};
|
|
3874
|
-
protoOf(ArgumentTransformContext).
|
|
3875
|
-
this.
|
|
3874
|
+
protoOf(ArgumentTransformContext).n3x = function (context, values) {
|
|
3875
|
+
this.g41_1.n3x(context, values);
|
|
3876
3876
|
};
|
|
3877
|
-
protoOf(ArgumentTransformContext).
|
|
3878
|
-
return this.
|
|
3877
|
+
protoOf(ArgumentTransformContext).l3r = function (context) {
|
|
3878
|
+
return this.g41_1.l3r(context);
|
|
3879
3879
|
};
|
|
3880
|
-
protoOf(ArgumentTransformContext).
|
|
3881
|
-
return this.
|
|
3880
|
+
protoOf(ArgumentTransformContext).v3r = function (context) {
|
|
3881
|
+
return this.g41_1.v3r(context);
|
|
3882
3882
|
};
|
|
3883
|
-
protoOf(ArgumentTransformContext).
|
|
3884
|
-
this.
|
|
3883
|
+
protoOf(ArgumentTransformContext).z40 = function (context) {
|
|
3884
|
+
this.g41_1.z40(context);
|
|
3885
3885
|
};
|
|
3886
|
-
protoOf(ArgumentTransformContext).
|
|
3887
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3886
|
+
protoOf(ArgumentTransformContext).i41 = function (message) {
|
|
3887
|
+
throw BadParameterValue_init_$Create$(message, this.g41_1);
|
|
3888
3888
|
};
|
|
3889
3889
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3890
|
-
this.
|
|
3891
|
-
this.
|
|
3892
|
-
this.
|
|
3893
|
-
this.
|
|
3894
|
-
this.
|
|
3895
|
-
this.
|
|
3896
|
-
this.
|
|
3897
|
-
this.
|
|
3898
|
-
this.
|
|
3890
|
+
this.j41_1 = name;
|
|
3891
|
+
this.k41_1 = nvalues;
|
|
3892
|
+
this.l41_1 = required;
|
|
3893
|
+
this.m41_1 = helpGetter;
|
|
3894
|
+
this.n41_1 = helpTags;
|
|
3895
|
+
this.o41_1 = explicitCompletionCandidates;
|
|
3896
|
+
this.p41_1 = transformValue;
|
|
3897
|
+
this.q41_1 = transformAll;
|
|
3898
|
+
this.r41_1 = transformValidator;
|
|
3899
3899
|
// Inline function 'kotlin.require' call
|
|
3900
3900
|
// Inline function 'kotlin.contracts.contract' call
|
|
3901
|
-
if (!!(this.
|
|
3901
|
+
if (!!(this.k41_1 === 0)) {
|
|
3902
3902
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3903
3903
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3904
3904
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3905
3905
|
}
|
|
3906
|
-
this.
|
|
3906
|
+
this.s41_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3907
3907
|
}
|
|
3908
3908
|
protoOf(ProcessedArgumentImpl).r2 = function () {
|
|
3909
|
-
return this.
|
|
3909
|
+
return this.j41_1;
|
|
3910
3910
|
};
|
|
3911
|
-
protoOf(ProcessedArgumentImpl).
|
|
3912
|
-
return this.
|
|
3911
|
+
protoOf(ProcessedArgumentImpl).b3r = function () {
|
|
3912
|
+
return this.k41_1;
|
|
3913
3913
|
};
|
|
3914
|
-
protoOf(ProcessedArgumentImpl).
|
|
3915
|
-
return this.
|
|
3914
|
+
protoOf(ProcessedArgumentImpl).y40 = function () {
|
|
3915
|
+
return this.l41_1;
|
|
3916
3916
|
};
|
|
3917
|
-
protoOf(ProcessedArgumentImpl).
|
|
3918
|
-
return this.
|
|
3917
|
+
protoOf(ProcessedArgumentImpl).a41 = function () {
|
|
3918
|
+
return this.m41_1;
|
|
3919
3919
|
};
|
|
3920
|
-
protoOf(ProcessedArgumentImpl).
|
|
3921
|
-
return this.
|
|
3920
|
+
protoOf(ProcessedArgumentImpl).b3u = function () {
|
|
3921
|
+
return this.n41_1;
|
|
3922
3922
|
};
|
|
3923
|
-
protoOf(ProcessedArgumentImpl).
|
|
3924
|
-
return this.
|
|
3923
|
+
protoOf(ProcessedArgumentImpl).c41 = function () {
|
|
3924
|
+
return this.o41_1;
|
|
3925
3925
|
};
|
|
3926
|
-
protoOf(ProcessedArgumentImpl).
|
|
3927
|
-
return this.
|
|
3926
|
+
protoOf(ProcessedArgumentImpl).b41 = function () {
|
|
3927
|
+
return this.p41_1;
|
|
3928
3928
|
};
|
|
3929
|
-
protoOf(ProcessedArgumentImpl).
|
|
3930
|
-
var tmp0_safe_receiver = this.
|
|
3929
|
+
protoOf(ProcessedArgumentImpl).l3r = function (context) {
|
|
3930
|
+
var tmp0_safe_receiver = this.m41_1;
|
|
3931
3931
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3932
3932
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3933
3933
|
};
|
|
3934
|
-
protoOf(ProcessedArgumentImpl).
|
|
3935
|
-
return this.
|
|
3934
|
+
protoOf(ProcessedArgumentImpl).t41 = function (_set____db54di) {
|
|
3935
|
+
return this.s41_1.w41(this, value$factory(), _set____db54di);
|
|
3936
3936
|
};
|
|
3937
3937
|
protoOf(ProcessedArgumentImpl).b1 = function () {
|
|
3938
|
-
return this.
|
|
3938
|
+
return this.s41_1.x41(this, value$factory_0());
|
|
3939
3939
|
};
|
|
3940
|
-
protoOf(ProcessedArgumentImpl).
|
|
3941
|
-
var tmp0_elvis_lhs = this.
|
|
3940
|
+
protoOf(ProcessedArgumentImpl).a3r = function () {
|
|
3941
|
+
var tmp0_elvis_lhs = this.o41_1;
|
|
3942
3942
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3943
3943
|
};
|
|
3944
|
-
protoOf(ProcessedArgumentImpl).
|
|
3945
|
-
return new Argument(this.
|
|
3944
|
+
protoOf(ProcessedArgumentImpl).v3r = function (context) {
|
|
3945
|
+
return new Argument(this.j41_1, this.l3r(context), this.l41_1 || this.k41_1 > 1, this.k41_1 < 0, this.n41_1);
|
|
3946
3946
|
};
|
|
3947
|
-
protoOf(ProcessedArgumentImpl).
|
|
3947
|
+
protoOf(ProcessedArgumentImpl).y41 = function (thisRef, property) {
|
|
3948
3948
|
return this.b1();
|
|
3949
3949
|
};
|
|
3950
|
-
protoOf(ProcessedArgumentImpl).
|
|
3951
|
-
return this.
|
|
3950
|
+
protoOf(ProcessedArgumentImpl).z41 = function (thisRef, property) {
|
|
3951
|
+
return this.y41(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(ProcessedArgumentImpl).
|
|
3954
|
-
if (isBlank(this.
|
|
3953
|
+
protoOf(ProcessedArgumentImpl).a42 = function (thisRef, property) {
|
|
3954
|
+
if (isBlank(this.j41_1)) {
|
|
3955
3955
|
var tmp = this;
|
|
3956
3956
|
// Inline function 'kotlin.text.uppercase' call
|
|
3957
3957
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3958
3958
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3959
|
-
tmp.
|
|
3959
|
+
tmp.j41_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3960
3960
|
}
|
|
3961
|
-
thisRef.
|
|
3961
|
+
thisRef.b3s(this);
|
|
3962
3962
|
return this;
|
|
3963
3963
|
};
|
|
3964
|
-
protoOf(ProcessedArgumentImpl).
|
|
3965
|
-
return this.
|
|
3964
|
+
protoOf(ProcessedArgumentImpl).f41 = function (thisRef, property) {
|
|
3965
|
+
return this.a42(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3966
3966
|
};
|
|
3967
|
-
protoOf(ProcessedArgumentImpl).
|
|
3967
|
+
protoOf(ProcessedArgumentImpl).n3x = function (context, values) {
|
|
3968
3968
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3969
3969
|
// Inline function 'kotlin.collections.map' call
|
|
3970
3970
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3973,15 +3973,15 @@
|
|
|
3973
3973
|
while (tmp0_iterator.h()) {
|
|
3974
3974
|
var item = tmp0_iterator.i();
|
|
3975
3975
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3976
|
-
var tmp$ret$0 = this.
|
|
3976
|
+
var tmp$ret$0 = this.p41_1(ctx, item);
|
|
3977
3977
|
destination.e(tmp$ret$0);
|
|
3978
3978
|
}
|
|
3979
|
-
this.
|
|
3979
|
+
this.t41(this.q41_1(ctx, destination));
|
|
3980
3980
|
};
|
|
3981
|
-
protoOf(ProcessedArgumentImpl).
|
|
3982
|
-
this.
|
|
3981
|
+
protoOf(ProcessedArgumentImpl).z40 = function (context) {
|
|
3982
|
+
this.r41_1(new ArgumentTransformContext(this, context), this.b1());
|
|
3983
3983
|
};
|
|
3984
|
-
protoOf(ProcessedArgumentImpl).
|
|
3984
|
+
protoOf(ProcessedArgumentImpl).d41 = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3985
3985
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3986
3986
|
};
|
|
3987
3987
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3991,7 +3991,7 @@
|
|
|
3991
3991
|
var this_0 = StringBuilder_init_$Create$();
|
|
3992
3992
|
// Inline function 'kotlin.contracts.contract' call
|
|
3993
3993
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3994
|
-
this_0.w7(this.
|
|
3994
|
+
this_0.w7(this.j41_1);
|
|
3995
3995
|
// Inline function 'kotlin.onSuccess' call
|
|
3996
3996
|
// Inline function 'kotlin.runCatching' call
|
|
3997
3997
|
var tmp;
|
|
@@ -4045,14 +4045,14 @@
|
|
|
4045
4045
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4046
4046
|
return receiver.b1();
|
|
4047
4047
|
}, function (receiver, value) {
|
|
4048
|
-
return receiver.
|
|
4048
|
+
return receiver.t41(value);
|
|
4049
4049
|
});
|
|
4050
4050
|
}
|
|
4051
4051
|
function value$factory_0() {
|
|
4052
4052
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4053
4053
|
return receiver.b1();
|
|
4054
4054
|
}, function (receiver, value) {
|
|
4055
|
-
return receiver.
|
|
4055
|
+
return receiver.t41(value);
|
|
4056
4056
|
});
|
|
4057
4057
|
}
|
|
4058
4058
|
function ParameterGroup() {
|
|
@@ -4064,29 +4064,29 @@
|
|
|
4064
4064
|
return UNINITIALIZED_instance;
|
|
4065
4065
|
}
|
|
4066
4066
|
function NullableLateinit(errorMessage) {
|
|
4067
|
-
this.
|
|
4068
|
-
this.
|
|
4067
|
+
this.u41_1 = errorMessage;
|
|
4068
|
+
this.v41_1 = UNINITIALIZED_instance;
|
|
4069
4069
|
}
|
|
4070
|
-
protoOf(NullableLateinit).
|
|
4071
|
-
if (this.
|
|
4072
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4070
|
+
protoOf(NullableLateinit).x41 = function (thisRef, property) {
|
|
4071
|
+
if (this.v41_1 === UNINITIALIZED_instance)
|
|
4072
|
+
throw IllegalStateException_init_$Create$(this.u41_1);
|
|
4073
4073
|
try {
|
|
4074
|
-
var tmp = this.
|
|
4074
|
+
var tmp = this.v41_1;
|
|
4075
4075
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
4076
4076
|
} catch ($p) {
|
|
4077
4077
|
if ($p instanceof ClassCastException) {
|
|
4078
4078
|
var e = $p;
|
|
4079
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4079
|
+
throw IllegalStateException_init_$Create$(this.u41_1);
|
|
4080
4080
|
} else {
|
|
4081
4081
|
throw $p;
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
4084
|
};
|
|
4085
|
-
protoOf(NullableLateinit).
|
|
4086
|
-
return this.
|
|
4085
|
+
protoOf(NullableLateinit).z41 = function (thisRef, property) {
|
|
4086
|
+
return this.x41(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
4087
4087
|
};
|
|
4088
|
-
protoOf(NullableLateinit).
|
|
4089
|
-
this.
|
|
4088
|
+
protoOf(NullableLateinit).w41 = function (thisRef, property, value) {
|
|
4089
|
+
this.v41_1 = value;
|
|
4090
4090
|
};
|
|
4091
4091
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
4092
4092
|
help = help === VOID ? '' : help;
|
|
@@ -4097,12 +4097,12 @@
|
|
|
4097
4097
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4098
4098
|
var tmp$ret$0 = copyToArray(names);
|
|
4099
4099
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4100
|
-
var tmp = this_0.
|
|
4101
|
-
var tmp_0 = this_0.
|
|
4102
|
-
var tmp_1 = this_0.
|
|
4103
|
-
var o = this_0.
|
|
4104
|
-
o.
|
|
4105
|
-
_this__u8e3s4.
|
|
4100
|
+
var tmp = this_0.b41();
|
|
4101
|
+
var tmp_0 = this_0.c42();
|
|
4102
|
+
var tmp_1 = this_0.d42();
|
|
4103
|
+
var o = this_0.e42(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4104
|
+
o.g3u(groupName);
|
|
4105
|
+
_this__u8e3s4.a3s(o);
|
|
4106
4106
|
return _this__u8e3s4;
|
|
4107
4107
|
}
|
|
4108
4108
|
function eagerOption$lambda($action) {
|
|
@@ -4122,16 +4122,16 @@
|
|
|
4122
4122
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4123
4123
|
var tmp = boolean(_this__u8e3s4);
|
|
4124
4124
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4125
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4125
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).f42(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4126
4126
|
}
|
|
4127
4127
|
function nullableFlag$lambda($secondaryNames) {
|
|
4128
4128
|
return function ($this$transformValues, it) {
|
|
4129
4129
|
var tmp;
|
|
4130
4130
|
if (it.j() > 1) {
|
|
4131
|
-
$this$transformValues.
|
|
4131
|
+
$this$transformValues.i41($this$transformValues.i42_1.r3q_1.m3y($this$transformValues.g42_1));
|
|
4132
4132
|
}
|
|
4133
4133
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4134
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4134
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.g42_1) : tmp0_elvis_lhs;
|
|
4135
4135
|
};
|
|
4136
4136
|
}
|
|
4137
4137
|
function Option_0() {
|
|
@@ -4140,7 +4140,7 @@
|
|
|
4140
4140
|
var tmp$ret$0;
|
|
4141
4141
|
$l$block_0: {
|
|
4142
4142
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
4143
|
-
var iterator = _this__u8e3s4.
|
|
4143
|
+
var iterator = _this__u8e3s4.b3q().g();
|
|
4144
4144
|
if (!iterator.h()) {
|
|
4145
4145
|
tmp$ret$0 = null;
|
|
4146
4146
|
break $l$block_0;
|
|
@@ -4231,13 +4231,13 @@
|
|
|
4231
4231
|
}
|
|
4232
4232
|
function Parsed(values) {
|
|
4233
4233
|
FinalValue.call(this);
|
|
4234
|
-
this.
|
|
4234
|
+
this.m42_1 = values;
|
|
4235
4235
|
}
|
|
4236
4236
|
protoOf(Parsed).toString = function () {
|
|
4237
|
-
return 'Parsed(values=' + toString_0(this.
|
|
4237
|
+
return 'Parsed(values=' + toString_0(this.m42_1) + ')';
|
|
4238
4238
|
};
|
|
4239
4239
|
protoOf(Parsed).hashCode = function () {
|
|
4240
|
-
return hashCode(this.
|
|
4240
|
+
return hashCode(this.m42_1);
|
|
4241
4241
|
};
|
|
4242
4242
|
protoOf(Parsed).equals = function (other) {
|
|
4243
4243
|
if (this === other)
|
|
@@ -4245,19 +4245,19 @@
|
|
|
4245
4245
|
if (!(other instanceof Parsed))
|
|
4246
4246
|
return false;
|
|
4247
4247
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4248
|
-
if (!equals(this.
|
|
4248
|
+
if (!equals(this.m42_1, tmp0_other_with_cast.m42_1))
|
|
4249
4249
|
return false;
|
|
4250
4250
|
return true;
|
|
4251
4251
|
};
|
|
4252
4252
|
function Sourced(values) {
|
|
4253
4253
|
FinalValue.call(this);
|
|
4254
|
-
this.
|
|
4254
|
+
this.n42_1 = values;
|
|
4255
4255
|
}
|
|
4256
4256
|
protoOf(Sourced).toString = function () {
|
|
4257
|
-
return 'Sourced(values=' + toString_0(this.
|
|
4257
|
+
return 'Sourced(values=' + toString_0(this.n42_1) + ')';
|
|
4258
4258
|
};
|
|
4259
4259
|
protoOf(Sourced).hashCode = function () {
|
|
4260
|
-
return hashCode(this.
|
|
4260
|
+
return hashCode(this.n42_1);
|
|
4261
4261
|
};
|
|
4262
4262
|
protoOf(Sourced).equals = function (other) {
|
|
4263
4263
|
if (this === other)
|
|
@@ -4265,21 +4265,21 @@
|
|
|
4265
4265
|
if (!(other instanceof Sourced))
|
|
4266
4266
|
return false;
|
|
4267
4267
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4268
|
-
if (!equals(this.
|
|
4268
|
+
if (!equals(this.n42_1, tmp0_other_with_cast.n42_1))
|
|
4269
4269
|
return false;
|
|
4270
4270
|
return true;
|
|
4271
4271
|
};
|
|
4272
4272
|
function Envvar(key, value) {
|
|
4273
4273
|
FinalValue.call(this);
|
|
4274
|
-
this.
|
|
4275
|
-
this.
|
|
4274
|
+
this.o42_1 = key;
|
|
4275
|
+
this.p42_1 = value;
|
|
4276
4276
|
}
|
|
4277
4277
|
protoOf(Envvar).toString = function () {
|
|
4278
|
-
return 'Envvar(key=' + this.
|
|
4278
|
+
return 'Envvar(key=' + this.o42_1 + ', value=' + this.p42_1 + ')';
|
|
4279
4279
|
};
|
|
4280
4280
|
protoOf(Envvar).hashCode = function () {
|
|
4281
|
-
var result = getStringHashCode(this.
|
|
4282
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4281
|
+
var result = getStringHashCode(this.o42_1);
|
|
4282
|
+
result = imul(result, 31) + getStringHashCode(this.p42_1) | 0;
|
|
4283
4283
|
return result;
|
|
4284
4284
|
};
|
|
4285
4285
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4288,9 +4288,9 @@
|
|
|
4288
4288
|
if (!(other instanceof Envvar))
|
|
4289
4289
|
return false;
|
|
4290
4290
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4291
|
-
if (!(this.
|
|
4291
|
+
if (!(this.o42_1 === tmp0_other_with_cast.o42_1))
|
|
4292
4292
|
return false;
|
|
4293
|
-
if (!(this.
|
|
4293
|
+
if (!(this.p42_1 === tmp0_other_with_cast.p42_1))
|
|
4294
4294
|
return false;
|
|
4295
4295
|
return true;
|
|
4296
4296
|
};
|
|
@@ -4302,7 +4302,7 @@
|
|
|
4302
4302
|
if (!invocations.l()) {
|
|
4303
4303
|
tmp = new Parsed(invocations);
|
|
4304
4304
|
} else {
|
|
4305
|
-
if (context.
|
|
4305
|
+
if (context.o3q_1) {
|
|
4306
4306
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4307
4307
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4308
4308
|
} else {
|
|
@@ -4351,7 +4351,7 @@
|
|
|
4351
4351
|
return setOf_0(normalizedName);
|
|
4352
4352
|
}
|
|
4353
4353
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4354
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4354
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.b3q(), envvar, context.h3q_1);
|
|
4355
4355
|
var tmp;
|
|
4356
4356
|
if (tmp0_elvis_lhs == null) {
|
|
4357
4357
|
return null;
|
|
@@ -4359,7 +4359,7 @@
|
|
|
4359
4359
|
tmp = tmp0_elvis_lhs;
|
|
4360
4360
|
}
|
|
4361
4361
|
var env = tmp;
|
|
4362
|
-
var tmp1_safe_receiver = context.
|
|
4362
|
+
var tmp1_safe_receiver = context.s3q_1(env);
|
|
4363
4363
|
var tmp_0;
|
|
4364
4364
|
if (tmp1_safe_receiver == null) {
|
|
4365
4365
|
tmp_0 = null;
|
|
@@ -4372,8 +4372,8 @@
|
|
|
4372
4372
|
return tmp_0;
|
|
4373
4373
|
}
|
|
4374
4374
|
function readValueSource(_this__u8e3s4, context) {
|
|
4375
|
-
var tmp0_safe_receiver = context.
|
|
4376
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4375
|
+
var tmp0_safe_receiver = context.p3q_1;
|
|
4376
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q42(context, _this__u8e3s4);
|
|
4377
4377
|
var tmp;
|
|
4378
4378
|
if (tmp1_safe_receiver == null) {
|
|
4379
4379
|
tmp = null;
|
|
@@ -4405,56 +4405,56 @@
|
|
|
4405
4405
|
return toString(charSequenceGet(it.b1(), 0)) + '-' + toString(charSequenceGet(it.b1(), 1));
|
|
4406
4406
|
}
|
|
4407
4407
|
function OptionTransformContext(option, context) {
|
|
4408
|
-
this.
|
|
4409
|
-
this.
|
|
4408
|
+
this.p3r_1 = option;
|
|
4409
|
+
this.q3r_1 = context;
|
|
4410
4410
|
}
|
|
4411
4411
|
protoOf(OptionTransformContext).x8 = function () {
|
|
4412
|
-
return this.
|
|
4412
|
+
return this.q3r_1;
|
|
4413
4413
|
};
|
|
4414
|
-
protoOf(OptionTransformContext).
|
|
4415
|
-
return this.
|
|
4414
|
+
protoOf(OptionTransformContext).z3r = function () {
|
|
4415
|
+
return this.p3r_1.z3r();
|
|
4416
4416
|
};
|
|
4417
|
-
protoOf(OptionTransformContext).
|
|
4418
|
-
return this.
|
|
4417
|
+
protoOf(OptionTransformContext).e3u = function () {
|
|
4418
|
+
return this.p3r_1.e3u();
|
|
4419
4419
|
};
|
|
4420
|
-
protoOf(OptionTransformContext).
|
|
4421
|
-
return this.
|
|
4420
|
+
protoOf(OptionTransformContext).a3r = function () {
|
|
4421
|
+
return this.p3r_1.a3r();
|
|
4422
4422
|
};
|
|
4423
|
-
protoOf(OptionTransformContext).
|
|
4424
|
-
return this.
|
|
4423
|
+
protoOf(OptionTransformContext).d3u = function () {
|
|
4424
|
+
return this.p3r_1.d3u();
|
|
4425
4425
|
};
|
|
4426
|
-
protoOf(OptionTransformContext).
|
|
4427
|
-
return this.
|
|
4426
|
+
protoOf(OptionTransformContext).b3u = function () {
|
|
4427
|
+
return this.p3r_1.b3u();
|
|
4428
4428
|
};
|
|
4429
|
-
protoOf(OptionTransformContext).
|
|
4430
|
-
return this.
|
|
4429
|
+
protoOf(OptionTransformContext).z3q = function () {
|
|
4430
|
+
return this.p3r_1.z3q();
|
|
4431
4431
|
};
|
|
4432
|
-
protoOf(OptionTransformContext).
|
|
4433
|
-
return this.
|
|
4432
|
+
protoOf(OptionTransformContext).b3q = function () {
|
|
4433
|
+
return this.p3r_1.b3q();
|
|
4434
4434
|
};
|
|
4435
|
-
protoOf(OptionTransformContext).
|
|
4436
|
-
return this.
|
|
4435
|
+
protoOf(OptionTransformContext).b3r = function () {
|
|
4436
|
+
return this.p3r_1.b3r();
|
|
4437
4437
|
};
|
|
4438
|
-
protoOf(OptionTransformContext).
|
|
4439
|
-
return this.
|
|
4438
|
+
protoOf(OptionTransformContext).c3q = function () {
|
|
4439
|
+
return this.p3r_1.c3q();
|
|
4440
4440
|
};
|
|
4441
|
-
protoOf(OptionTransformContext).
|
|
4442
|
-
this.
|
|
4441
|
+
protoOf(OptionTransformContext).k3x = function (context, invocations) {
|
|
4442
|
+
this.p3r_1.k3x(context, invocations);
|
|
4443
4443
|
};
|
|
4444
|
-
protoOf(OptionTransformContext).
|
|
4445
|
-
return this.
|
|
4444
|
+
protoOf(OptionTransformContext).j42 = function (context) {
|
|
4445
|
+
return this.p3r_1.j42(context);
|
|
4446
4446
|
};
|
|
4447
|
-
protoOf(OptionTransformContext).
|
|
4448
|
-
return this.
|
|
4447
|
+
protoOf(OptionTransformContext).k3r = function (context) {
|
|
4448
|
+
return this.p3r_1.k3r(context);
|
|
4449
4449
|
};
|
|
4450
|
-
protoOf(OptionTransformContext).
|
|
4451
|
-
return this.
|
|
4450
|
+
protoOf(OptionTransformContext).v3r = function (context) {
|
|
4451
|
+
return this.p3r_1.v3r(context);
|
|
4452
4452
|
};
|
|
4453
|
-
protoOf(OptionTransformContext).
|
|
4454
|
-
this.
|
|
4453
|
+
protoOf(OptionTransformContext).z40 = function (context) {
|
|
4454
|
+
this.p3r_1.z40(context);
|
|
4455
4455
|
};
|
|
4456
|
-
protoOf(OptionTransformContext).
|
|
4457
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4456
|
+
protoOf(OptionTransformContext).i41 = function (message) {
|
|
4457
|
+
throw BadParameterValue_init_$Create$_0(message, this.p3r_1);
|
|
4458
4458
|
};
|
|
4459
4459
|
function OptionWithValues() {
|
|
4460
4460
|
}
|
|
@@ -4487,146 +4487,146 @@
|
|
|
4487
4487
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, null, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4488
4488
|
}
|
|
4489
4489
|
function OptionCallTransformContext(name, option, context) {
|
|
4490
|
-
this.
|
|
4491
|
-
this.
|
|
4492
|
-
this.
|
|
4490
|
+
this.g42_1 = name;
|
|
4491
|
+
this.h42_1 = option;
|
|
4492
|
+
this.i42_1 = context;
|
|
4493
4493
|
}
|
|
4494
4494
|
protoOf(OptionCallTransformContext).x8 = function () {
|
|
4495
|
-
return this.
|
|
4495
|
+
return this.i42_1;
|
|
4496
4496
|
};
|
|
4497
|
-
protoOf(OptionCallTransformContext).
|
|
4498
|
-
return this.
|
|
4497
|
+
protoOf(OptionCallTransformContext).z3r = function () {
|
|
4498
|
+
return this.h42_1.z3r();
|
|
4499
4499
|
};
|
|
4500
|
-
protoOf(OptionCallTransformContext).
|
|
4501
|
-
return this.
|
|
4500
|
+
protoOf(OptionCallTransformContext).e3u = function () {
|
|
4501
|
+
return this.h42_1.e3u();
|
|
4502
4502
|
};
|
|
4503
|
-
protoOf(OptionCallTransformContext).
|
|
4504
|
-
return this.
|
|
4503
|
+
protoOf(OptionCallTransformContext).a3r = function () {
|
|
4504
|
+
return this.h42_1.a3r();
|
|
4505
4505
|
};
|
|
4506
|
-
protoOf(OptionCallTransformContext).
|
|
4507
|
-
return this.
|
|
4506
|
+
protoOf(OptionCallTransformContext).d3u = function () {
|
|
4507
|
+
return this.h42_1.d3u();
|
|
4508
4508
|
};
|
|
4509
|
-
protoOf(OptionCallTransformContext).
|
|
4510
|
-
return this.
|
|
4509
|
+
protoOf(OptionCallTransformContext).b3u = function () {
|
|
4510
|
+
return this.h42_1.b3u();
|
|
4511
4511
|
};
|
|
4512
|
-
protoOf(OptionCallTransformContext).
|
|
4513
|
-
return this.
|
|
4512
|
+
protoOf(OptionCallTransformContext).z3q = function () {
|
|
4513
|
+
return this.h42_1.z3q();
|
|
4514
4514
|
};
|
|
4515
|
-
protoOf(OptionCallTransformContext).
|
|
4516
|
-
return this.
|
|
4515
|
+
protoOf(OptionCallTransformContext).b3q = function () {
|
|
4516
|
+
return this.h42_1.b3q();
|
|
4517
4517
|
};
|
|
4518
|
-
protoOf(OptionCallTransformContext).
|
|
4519
|
-
return this.
|
|
4518
|
+
protoOf(OptionCallTransformContext).b3r = function () {
|
|
4519
|
+
return this.h42_1.b3r();
|
|
4520
4520
|
};
|
|
4521
|
-
protoOf(OptionCallTransformContext).
|
|
4522
|
-
return this.
|
|
4521
|
+
protoOf(OptionCallTransformContext).c3q = function () {
|
|
4522
|
+
return this.h42_1.c3q();
|
|
4523
4523
|
};
|
|
4524
|
-
protoOf(OptionCallTransformContext).
|
|
4525
|
-
this.
|
|
4524
|
+
protoOf(OptionCallTransformContext).k3x = function (context, invocations) {
|
|
4525
|
+
this.h42_1.k3x(context, invocations);
|
|
4526
4526
|
};
|
|
4527
|
-
protoOf(OptionCallTransformContext).
|
|
4528
|
-
return this.
|
|
4527
|
+
protoOf(OptionCallTransformContext).j42 = function (context) {
|
|
4528
|
+
return this.h42_1.j42(context);
|
|
4529
4529
|
};
|
|
4530
|
-
protoOf(OptionCallTransformContext).
|
|
4531
|
-
return this.
|
|
4530
|
+
protoOf(OptionCallTransformContext).k3r = function (context) {
|
|
4531
|
+
return this.h42_1.k3r(context);
|
|
4532
4532
|
};
|
|
4533
|
-
protoOf(OptionCallTransformContext).
|
|
4534
|
-
return this.
|
|
4533
|
+
protoOf(OptionCallTransformContext).v3r = function (context) {
|
|
4534
|
+
return this.h42_1.v3r(context);
|
|
4535
4535
|
};
|
|
4536
|
-
protoOf(OptionCallTransformContext).
|
|
4537
|
-
this.
|
|
4536
|
+
protoOf(OptionCallTransformContext).z40 = function (context) {
|
|
4537
|
+
this.h42_1.z40(context);
|
|
4538
4538
|
};
|
|
4539
|
-
protoOf(OptionCallTransformContext).
|
|
4540
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4539
|
+
protoOf(OptionCallTransformContext).i41 = function (message) {
|
|
4540
|
+
throw BadParameterValue_init_$Create$_1(message, this.h42_1, this.g42_1);
|
|
4541
4541
|
};
|
|
4542
4542
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4543
|
-
return $this$null.
|
|
4543
|
+
return $this$null.r3q_1.p3y();
|
|
4544
4544
|
}
|
|
4545
4545
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4546
|
-
this.
|
|
4547
|
-
this.
|
|
4548
|
-
this.
|
|
4549
|
-
this.
|
|
4550
|
-
this.
|
|
4551
|
-
this.
|
|
4552
|
-
this.
|
|
4553
|
-
this.
|
|
4554
|
-
this.
|
|
4555
|
-
this.
|
|
4556
|
-
this.
|
|
4557
|
-
this.
|
|
4558
|
-
this.
|
|
4559
|
-
this.
|
|
4560
|
-
this.
|
|
4561
|
-
this.
|
|
4562
|
-
this.
|
|
4563
|
-
this.
|
|
4564
|
-
this.
|
|
4565
|
-
this.
|
|
4566
|
-
this.
|
|
4567
|
-
}
|
|
4568
|
-
protoOf(OptionWithValuesImpl).
|
|
4546
|
+
this.x42_1 = metavarGetter;
|
|
4547
|
+
this.y42_1 = nvalues;
|
|
4548
|
+
this.z42_1 = helpGetter;
|
|
4549
|
+
this.a43_1 = hidden;
|
|
4550
|
+
this.b43_1 = helpTags;
|
|
4551
|
+
this.c43_1 = valueSourceKey;
|
|
4552
|
+
this.d43_1 = envvar;
|
|
4553
|
+
this.e43_1 = valueSplit;
|
|
4554
|
+
this.f43_1 = explicitCompletionCandidates;
|
|
4555
|
+
this.g43_1 = secondaryNames;
|
|
4556
|
+
this.h43_1 = acceptsNumberValueWithoutName;
|
|
4557
|
+
this.i43_1 = acceptsUnattachedValue;
|
|
4558
|
+
this.j43_1 = eager;
|
|
4559
|
+
this.k43_1 = transformValue;
|
|
4560
|
+
this.l43_1 = transformEach;
|
|
4561
|
+
this.m43_1 = transformAll;
|
|
4562
|
+
this.n43_1 = transformValidator;
|
|
4563
|
+
this.o43_1 = null;
|
|
4564
|
+
this.p43_1 = null;
|
|
4565
|
+
this.q43_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4566
|
+
this.r43_1 = names;
|
|
4567
|
+
}
|
|
4568
|
+
protoOf(OptionWithValuesImpl).t42 = function () {
|
|
4569
|
+
return this.x42_1;
|
|
4570
|
+
};
|
|
4571
|
+
protoOf(OptionWithValuesImpl).b3r = function () {
|
|
4572
|
+
return this.y42_1;
|
|
4573
|
+
};
|
|
4574
|
+
protoOf(OptionWithValuesImpl).a41 = function () {
|
|
4575
|
+
return this.z42_1;
|
|
4576
|
+
};
|
|
4577
|
+
protoOf(OptionWithValuesImpl).z3q = function () {
|
|
4578
|
+
return this.a43_1;
|
|
4579
|
+
};
|
|
4580
|
+
protoOf(OptionWithValuesImpl).b3u = function () {
|
|
4581
|
+
return this.b43_1;
|
|
4582
|
+
};
|
|
4583
|
+
protoOf(OptionWithValuesImpl).c3u = function () {
|
|
4584
|
+
return this.c43_1;
|
|
4585
|
+
};
|
|
4586
|
+
protoOf(OptionWithValuesImpl).r42 = function () {
|
|
4587
|
+
return this.d43_1;
|
|
4588
|
+
};
|
|
4589
|
+
protoOf(OptionWithValuesImpl).u42 = function () {
|
|
4590
|
+
return this.e43_1;
|
|
4591
|
+
};
|
|
4592
|
+
protoOf(OptionWithValuesImpl).c41 = function () {
|
|
4593
|
+
return this.f43_1;
|
|
4594
|
+
};
|
|
4595
|
+
protoOf(OptionWithValuesImpl).c3q = function () {
|
|
4596
|
+
return this.g43_1;
|
|
4597
|
+
};
|
|
4598
|
+
protoOf(OptionWithValuesImpl).z3r = function () {
|
|
4599
|
+
return this.h43_1;
|
|
4600
|
+
};
|
|
4601
|
+
protoOf(OptionWithValuesImpl).e3u = function () {
|
|
4602
|
+
return this.i43_1;
|
|
4603
|
+
};
|
|
4604
|
+
protoOf(OptionWithValuesImpl).d3u = function () {
|
|
4605
|
+
return this.j43_1;
|
|
4606
|
+
};
|
|
4607
|
+
protoOf(OptionWithValuesImpl).b41 = function () {
|
|
4569
4608
|
return this.k43_1;
|
|
4570
4609
|
};
|
|
4571
|
-
protoOf(OptionWithValuesImpl).
|
|
4610
|
+
protoOf(OptionWithValuesImpl).c42 = function () {
|
|
4572
4611
|
return this.l43_1;
|
|
4573
4612
|
};
|
|
4574
|
-
protoOf(OptionWithValuesImpl).
|
|
4613
|
+
protoOf(OptionWithValuesImpl).d42 = function () {
|
|
4575
4614
|
return this.m43_1;
|
|
4576
4615
|
};
|
|
4577
|
-
protoOf(OptionWithValuesImpl).
|
|
4616
|
+
protoOf(OptionWithValuesImpl).s42 = function () {
|
|
4578
4617
|
return this.n43_1;
|
|
4579
4618
|
};
|
|
4580
|
-
protoOf(OptionWithValuesImpl).
|
|
4619
|
+
protoOf(OptionWithValuesImpl).f3u = function () {
|
|
4581
4620
|
return this.o43_1;
|
|
4582
4621
|
};
|
|
4583
|
-
protoOf(OptionWithValuesImpl).
|
|
4584
|
-
|
|
4585
|
-
};
|
|
4586
|
-
protoOf(OptionWithValuesImpl).e43 = function () {
|
|
4587
|
-
return this.q43_1;
|
|
4588
|
-
};
|
|
4589
|
-
protoOf(OptionWithValuesImpl).h43 = function () {
|
|
4590
|
-
return this.r43_1;
|
|
4591
|
-
};
|
|
4592
|
-
protoOf(OptionWithValuesImpl).p41 = function () {
|
|
4593
|
-
return this.s43_1;
|
|
4594
|
-
};
|
|
4595
|
-
protoOf(OptionWithValuesImpl).p3q = function () {
|
|
4596
|
-
return this.t43_1;
|
|
4597
|
-
};
|
|
4598
|
-
protoOf(OptionWithValuesImpl).m3s = function () {
|
|
4599
|
-
return this.u43_1;
|
|
4600
|
-
};
|
|
4601
|
-
protoOf(OptionWithValuesImpl).r3u = function () {
|
|
4602
|
-
return this.v43_1;
|
|
4622
|
+
protoOf(OptionWithValuesImpl).g3u = function (_set____db54di) {
|
|
4623
|
+
this.p43_1 = _set____db54di;
|
|
4603
4624
|
};
|
|
4604
|
-
protoOf(OptionWithValuesImpl).
|
|
4605
|
-
return this.
|
|
4606
|
-
};
|
|
4607
|
-
protoOf(OptionWithValuesImpl).o41 = function () {
|
|
4608
|
-
return this.x43_1;
|
|
4609
|
-
};
|
|
4610
|
-
protoOf(OptionWithValuesImpl).p42 = function () {
|
|
4611
|
-
return this.y43_1;
|
|
4612
|
-
};
|
|
4613
|
-
protoOf(OptionWithValuesImpl).q42 = function () {
|
|
4614
|
-
return this.z43_1;
|
|
4615
|
-
};
|
|
4616
|
-
protoOf(OptionWithValuesImpl).f43 = function () {
|
|
4617
|
-
return this.a44_1;
|
|
4618
|
-
};
|
|
4619
|
-
protoOf(OptionWithValuesImpl).s3u = function () {
|
|
4620
|
-
return this.b44_1;
|
|
4621
|
-
};
|
|
4622
|
-
protoOf(OptionWithValuesImpl).t3u = function (_set____db54di) {
|
|
4623
|
-
this.c44_1 = _set____db54di;
|
|
4624
|
-
};
|
|
4625
|
-
protoOf(OptionWithValuesImpl).n3u = function () {
|
|
4626
|
-
return this.c44_1;
|
|
4625
|
+
protoOf(OptionWithValuesImpl).a3u = function () {
|
|
4626
|
+
return this.p43_1;
|
|
4627
4627
|
};
|
|
4628
|
-
protoOf(OptionWithValuesImpl).
|
|
4629
|
-
var tmp0_elvis_lhs = this.
|
|
4628
|
+
protoOf(OptionWithValuesImpl).j42 = function (context) {
|
|
4629
|
+
var tmp0_elvis_lhs = this.x42_1;
|
|
4630
4630
|
var tmp;
|
|
4631
4631
|
if (tmp0_elvis_lhs == null) {
|
|
4632
4632
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4635,30 +4635,30 @@
|
|
|
4635
4635
|
}
|
|
4636
4636
|
return tmp(context);
|
|
4637
4637
|
};
|
|
4638
|
-
protoOf(OptionWithValuesImpl).
|
|
4639
|
-
return this.
|
|
4638
|
+
protoOf(OptionWithValuesImpl).t41 = function (_set____db54di) {
|
|
4639
|
+
return this.q43_1.w41(this, value$factory_1(), _set____db54di);
|
|
4640
4640
|
};
|
|
4641
4641
|
protoOf(OptionWithValuesImpl).b1 = function () {
|
|
4642
|
-
return this.
|
|
4642
|
+
return this.q43_1.x41(this, value$factory_2());
|
|
4643
4643
|
};
|
|
4644
|
-
protoOf(OptionWithValuesImpl).
|
|
4645
|
-
return this.
|
|
4644
|
+
protoOf(OptionWithValuesImpl).b3q = function () {
|
|
4645
|
+
return this.r43_1;
|
|
4646
4646
|
};
|
|
4647
|
-
protoOf(OptionWithValuesImpl).
|
|
4648
|
-
var tmp0_elvis_lhs = this.
|
|
4647
|
+
protoOf(OptionWithValuesImpl).a3r = function () {
|
|
4648
|
+
var tmp0_elvis_lhs = this.f43_1;
|
|
4649
4649
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4650
4650
|
};
|
|
4651
|
-
protoOf(OptionWithValuesImpl).
|
|
4652
|
-
var tmp0_safe_receiver = this.
|
|
4651
|
+
protoOf(OptionWithValuesImpl).k3r = function (context) {
|
|
4652
|
+
var tmp0_safe_receiver = this.z42_1;
|
|
4653
4653
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4654
4654
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4655
4655
|
};
|
|
4656
|
-
protoOf(OptionWithValuesImpl).
|
|
4657
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4656
|
+
protoOf(OptionWithValuesImpl).k3x = function (context, invocations) {
|
|
4657
|
+
var v = getFinalValue(this, context, invocations, this.d43_1);
|
|
4658
4658
|
var tmp;
|
|
4659
4659
|
if (v instanceof Parsed) {
|
|
4660
4660
|
var tmp_0;
|
|
4661
|
-
if (this.
|
|
4661
|
+
if (this.e43_1 == null) {
|
|
4662
4662
|
tmp_0 = invocations;
|
|
4663
4663
|
} else {
|
|
4664
4664
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4670,17 +4670,17 @@
|
|
|
4670
4670
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4671
4671
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4672
4672
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4673
|
-
var this_0 = item.
|
|
4673
|
+
var this_0 = item.u43_1;
|
|
4674
4674
|
var destination_0 = ArrayList_init_$Create$();
|
|
4675
4675
|
var tmp0_iterator_0 = this_0.g();
|
|
4676
4676
|
while (tmp0_iterator_0.h()) {
|
|
4677
4677
|
var element = tmp0_iterator_0.i();
|
|
4678
4678
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4679
4679
|
// Inline function 'kotlin.text.split' call
|
|
4680
|
-
var list = this.
|
|
4680
|
+
var list = this.e43_1.zb(element, 0);
|
|
4681
4681
|
addAll(destination_0, list);
|
|
4682
4682
|
}
|
|
4683
|
-
var tmp$ret$4 = item.
|
|
4683
|
+
var tmp$ret$4 = item.v43(VOID, destination_0);
|
|
4684
4684
|
destination.e(tmp$ret$4);
|
|
4685
4685
|
}
|
|
4686
4686
|
tmp_0 = destination;
|
|
@@ -4689,27 +4689,27 @@
|
|
|
4689
4689
|
} else {
|
|
4690
4690
|
if (v instanceof Sourced) {
|
|
4691
4691
|
// Inline function 'kotlin.collections.map' call
|
|
4692
|
-
var this_1 = v.
|
|
4692
|
+
var this_1 = v.n42_1;
|
|
4693
4693
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4694
4694
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4695
4695
|
var tmp0_iterator_1 = this_1.g();
|
|
4696
4696
|
while (tmp0_iterator_1.h()) {
|
|
4697
4697
|
var item_0 = tmp0_iterator_1.i();
|
|
4698
4698
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4699
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4699
|
+
var tmp$ret$7 = new Invocation('', item_0.s43_1);
|
|
4700
4700
|
destination_1.e(tmp$ret$7);
|
|
4701
4701
|
}
|
|
4702
4702
|
tmp = destination_1;
|
|
4703
4703
|
} else {
|
|
4704
4704
|
if (v instanceof Envvar) {
|
|
4705
4705
|
var tmp_1;
|
|
4706
|
-
if (this.
|
|
4707
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4706
|
+
if (this.e43_1 == null) {
|
|
4707
|
+
tmp_1 = listOf_0(new Invocation(v.o42_1, listOf_0(v.p42_1)));
|
|
4708
4708
|
} else {
|
|
4709
4709
|
// Inline function 'kotlin.text.split' call
|
|
4710
|
-
var this_2 = v.
|
|
4711
|
-
var tmp$ret$10 = this.
|
|
4712
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4710
|
+
var this_2 = v.p42_1;
|
|
4711
|
+
var tmp$ret$10 = this.e43_1.zb(this_2, 0);
|
|
4712
|
+
tmp_1 = listOf_0(new Invocation(v.o42_1, tmp$ret$10));
|
|
4713
4713
|
}
|
|
4714
4714
|
tmp = tmp_1;
|
|
4715
4715
|
} else {
|
|
@@ -4726,39 +4726,39 @@
|
|
|
4726
4726
|
while (tmp0_iterator_2.h()) {
|
|
4727
4727
|
var item_1 = tmp0_iterator_2.i();
|
|
4728
4728
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4729
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4729
|
+
var tc = new OptionCallTransformContext(item_1.t43_1, this, context);
|
|
4730
4730
|
// Inline function 'kotlin.collections.map' call
|
|
4731
|
-
var this_3 = item_1.
|
|
4731
|
+
var this_3 = item_1.u43_1;
|
|
4732
4732
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4733
4733
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
4734
4734
|
var tmp0_iterator_3 = this_3.g();
|
|
4735
4735
|
while (tmp0_iterator_3.h()) {
|
|
4736
4736
|
var item_2 = tmp0_iterator_3.i();
|
|
4737
4737
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4738
|
-
var tmp$ret$11 = this.
|
|
4738
|
+
var tmp$ret$11 = this.k43_1(tc, item_2);
|
|
4739
4739
|
destination_3.e(tmp$ret$11);
|
|
4740
4740
|
}
|
|
4741
|
-
var tmp$ret$14 = this.
|
|
4741
|
+
var tmp$ret$14 = this.l43_1(tc, destination_3);
|
|
4742
4742
|
destination_2.e(tmp$ret$14);
|
|
4743
4743
|
}
|
|
4744
|
-
this.
|
|
4744
|
+
this.t41(this.m43_1(tmp_2, destination_2));
|
|
4745
4745
|
};
|
|
4746
|
-
protoOf(OptionWithValuesImpl).
|
|
4747
|
-
this.
|
|
4748
|
-
thisRef.
|
|
4746
|
+
protoOf(OptionWithValuesImpl).k42 = function (thisRef, property) {
|
|
4747
|
+
this.r43_1 = inferOptionNames(this.r43_1, property.callableName);
|
|
4748
|
+
thisRef.a3s(this);
|
|
4749
4749
|
return this;
|
|
4750
4750
|
};
|
|
4751
|
-
protoOf(OptionWithValuesImpl).
|
|
4752
|
-
return this.
|
|
4751
|
+
protoOf(OptionWithValuesImpl).f41 = function (thisRef, property) {
|
|
4752
|
+
return this.k42((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4753
4753
|
};
|
|
4754
|
-
protoOf(OptionWithValuesImpl).
|
|
4755
|
-
this.
|
|
4754
|
+
protoOf(OptionWithValuesImpl).z40 = function (context) {
|
|
4755
|
+
this.n43_1(new OptionTransformContext(this, context), this.b1());
|
|
4756
4756
|
};
|
|
4757
|
-
protoOf(OptionWithValuesImpl).
|
|
4757
|
+
protoOf(OptionWithValuesImpl).v42 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4758
4758
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4759
4759
|
};
|
|
4760
|
-
protoOf(OptionWithValuesImpl).
|
|
4761
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4760
|
+
protoOf(OptionWithValuesImpl).w42 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4761
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.k43_1, this.l43_1, this.m43_1, validator);
|
|
4762
4762
|
};
|
|
4763
4763
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4764
4764
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4797,8 +4797,8 @@
|
|
|
4797
4797
|
}
|
|
4798
4798
|
return this_0.toString();
|
|
4799
4799
|
};
|
|
4800
|
-
protoOf(OptionWithValuesImpl).
|
|
4801
|
-
return this.
|
|
4800
|
+
protoOf(OptionWithValuesImpl).z41 = function (thisRef, property) {
|
|
4801
|
+
return this.l42((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4802
4802
|
};
|
|
4803
4803
|
function defaultEachProcessor() {
|
|
4804
4804
|
return defaultEachProcessor$lambda;
|
|
@@ -4835,14 +4835,14 @@
|
|
|
4835
4835
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4836
4836
|
return receiver.b1();
|
|
4837
4837
|
}, function (receiver, value) {
|
|
4838
|
-
return receiver.
|
|
4838
|
+
return receiver.t41(value);
|
|
4839
4839
|
});
|
|
4840
4840
|
}
|
|
4841
4841
|
function value$factory_2() {
|
|
4842
4842
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4843
4843
|
return receiver.b1();
|
|
4844
4844
|
}, function (receiver, value) {
|
|
4845
|
-
return receiver.
|
|
4845
|
+
return receiver.t41(value);
|
|
4846
4846
|
});
|
|
4847
4847
|
}
|
|
4848
4848
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4850,11 +4850,11 @@
|
|
|
4850
4850
|
return transformAll(_this__u8e3s4, defaultForHelp, VOID, default$lambda(value));
|
|
4851
4851
|
}
|
|
4852
4852
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4853
|
-
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.
|
|
4853
|
+
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.b3u().f2('default') : defaultForHelp;
|
|
4854
4854
|
var tmp;
|
|
4855
4855
|
if (showAsRequired === VOID) {
|
|
4856
4856
|
// Inline function 'kotlin.collections.contains' call
|
|
4857
|
-
var this_0 = _this__u8e3s4.
|
|
4857
|
+
var this_0 = _this__u8e3s4.b3u();
|
|
4858
4858
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4859
4859
|
var key = 'required';
|
|
4860
4860
|
tmp = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).e2(key);
|
|
@@ -4862,7 +4862,7 @@
|
|
|
4862
4862
|
tmp = showAsRequired;
|
|
4863
4863
|
}
|
|
4864
4864
|
showAsRequired = tmp;
|
|
4865
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4865
|
+
var tags = toMutableMap(_this__u8e3s4.b3u());
|
|
4866
4866
|
if (showAsRequired) {
|
|
4867
4867
|
// Inline function 'kotlin.collections.set' call
|
|
4868
4868
|
var key_0 = 'required';
|
|
@@ -4876,7 +4876,7 @@
|
|
|
4876
4876
|
} else {
|
|
4877
4877
|
tags.n2('default');
|
|
4878
4878
|
}
|
|
4879
|
-
return _this__u8e3s4.
|
|
4879
|
+
return _this__u8e3s4.e42(_this__u8e3s4.b41(), _this__u8e3s4.c42(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4880
4880
|
}
|
|
4881
4881
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4882
4882
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4893,7 +4893,7 @@
|
|
|
4893
4893
|
return function ($this$transformAll, it) {
|
|
4894
4894
|
var tmp;
|
|
4895
4895
|
if (it.l() && $required) {
|
|
4896
|
-
throw new MissingOption($this$transformAll.
|
|
4896
|
+
throw new MissingOption($this$transformAll.p3r_1);
|
|
4897
4897
|
} else if (it.l() && !$required) {
|
|
4898
4898
|
tmp = $default;
|
|
4899
4899
|
} else {
|
|
@@ -4924,34 +4924,34 @@
|
|
|
4924
4924
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4925
4925
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4926
4926
|
}
|
|
4927
|
-
var tmp = _this__u8e3s4.
|
|
4927
|
+
var tmp = _this__u8e3s4.b41();
|
|
4928
4928
|
var tmp_0 = defaultAllProcessor_0();
|
|
4929
4929
|
var tmp_1 = defaultValidator_0();
|
|
4930
4930
|
var tmp_2;
|
|
4931
4931
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4932
4932
|
tmp_2 = transformValues$lambda;
|
|
4933
4933
|
} else {
|
|
4934
|
-
tmp_2 = _this__u8e3s4.
|
|
4934
|
+
tmp_2 = _this__u8e3s4.t42();
|
|
4935
4935
|
}
|
|
4936
|
-
return _this__u8e3s4.
|
|
4936
|
+
return _this__u8e3s4.e42(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4937
4937
|
}
|
|
4938
4938
|
function transformValues$lambda($this$null) {
|
|
4939
4939
|
return null;
|
|
4940
4940
|
}
|
|
4941
4941
|
function HelpTransformContext(context) {
|
|
4942
|
-
this.
|
|
4942
|
+
this.w43_1 = context;
|
|
4943
4943
|
}
|
|
4944
4944
|
protoOf(HelpTransformContext).x8 = function () {
|
|
4945
|
-
return this.
|
|
4945
|
+
return this.w43_1;
|
|
4946
4946
|
};
|
|
4947
|
-
protoOf(HelpTransformContext).
|
|
4947
|
+
protoOf(HelpTransformContext).i41 = function (message) {
|
|
4948
4948
|
throw new UsageError(message);
|
|
4949
4949
|
};
|
|
4950
4950
|
protoOf(HelpTransformContext).toString = function () {
|
|
4951
|
-
return 'HelpTransformContext(context=' + toString_0(this.
|
|
4951
|
+
return 'HelpTransformContext(context=' + toString_0(this.w43_1) + ')';
|
|
4952
4952
|
};
|
|
4953
4953
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4954
|
-
return hashCode(this.
|
|
4954
|
+
return hashCode(this.w43_1);
|
|
4955
4955
|
};
|
|
4956
4956
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4957
4957
|
if (this === other)
|
|
@@ -4959,7 +4959,7 @@
|
|
|
4959
4959
|
if (!(other instanceof HelpTransformContext))
|
|
4960
4960
|
return false;
|
|
4961
4961
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4962
|
-
if (!equals(this.
|
|
4962
|
+
if (!equals(this.w43_1, tmp0_other_with_cast.w43_1))
|
|
4963
4963
|
return false;
|
|
4964
4964
|
return true;
|
|
4965
4965
|
};
|
|
@@ -4972,10 +4972,10 @@
|
|
|
4972
4972
|
var tmp = defaultEachProcessor();
|
|
4973
4973
|
var tmp_0 = defaultAllProcessor_0();
|
|
4974
4974
|
var tmp_1 = defaultValidator_0();
|
|
4975
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4975
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t42();
|
|
4976
4976
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4977
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4978
|
-
return _this__u8e3s4.
|
|
4977
|
+
var tmp1_elvis_lhs = _this__u8e3s4.c41();
|
|
4978
|
+
return _this__u8e3s4.e42(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4979
4979
|
}
|
|
4980
4980
|
function valueToBool(_this__u8e3s4, value) {
|
|
4981
4981
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4999,7 +4999,7 @@
|
|
|
4999
4999
|
tmp = false;
|
|
5000
5000
|
break;
|
|
5001
5001
|
default:
|
|
5002
|
-
_this__u8e3s4.
|
|
5002
|
+
_this__u8e3s4.i41(_this__u8e3s4.x8().r3q_1.n3y(value));
|
|
5003
5003
|
break;
|
|
5004
5004
|
}
|
|
5005
5005
|
return tmp;
|
|
@@ -5014,18 +5014,18 @@
|
|
|
5014
5014
|
var tmp;
|
|
5015
5015
|
try {
|
|
5016
5016
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
5017
|
-
var it_0 = $this.
|
|
5017
|
+
var it_0 = $this.b41()($this$null, it);
|
|
5018
5018
|
tmp = valueToBool($this$null, it_0);
|
|
5019
5019
|
} catch ($p) {
|
|
5020
5020
|
var tmp_0;
|
|
5021
5021
|
if ($p instanceof UsageError) {
|
|
5022
5022
|
var err = $p;
|
|
5023
5023
|
var tmp_1 = err;
|
|
5024
|
-
var tmp0_elvis_lhs = err.
|
|
5024
|
+
var tmp0_elvis_lhs = err.q3u_1;
|
|
5025
5025
|
var tmp_2;
|
|
5026
5026
|
if (tmp0_elvis_lhs == null) {
|
|
5027
5027
|
// Inline function 'kotlin.takeUnless' call
|
|
5028
|
-
var this_0 = $this$null.
|
|
5028
|
+
var this_0 = $this$null.g42_1;
|
|
5029
5029
|
// Inline function 'kotlin.contracts.contract' call
|
|
5030
5030
|
var tmp_3;
|
|
5031
5031
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5040,13 +5040,13 @@
|
|
|
5040
5040
|
tmp_2 = tmp0_elvis_lhs;
|
|
5041
5041
|
}
|
|
5042
5042
|
var tmp1_elvis_lhs = tmp_2;
|
|
5043
|
-
tmp_1.
|
|
5043
|
+
tmp_1.q3u_1 = tmp1_elvis_lhs == null ? longestName($this$null.h42_1) : tmp1_elvis_lhs;
|
|
5044
5044
|
throw err;
|
|
5045
5045
|
} else {
|
|
5046
5046
|
if ($p instanceof Exception) {
|
|
5047
5047
|
var err_0 = $p;
|
|
5048
5048
|
var tmp2_elvis_lhs = err_0.message;
|
|
5049
|
-
$this$null.
|
|
5049
|
+
$this$null.i41(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5050
5050
|
} else {
|
|
5051
5051
|
throw $p;
|
|
5052
5052
|
}
|
|
@@ -5097,16 +5097,16 @@
|
|
|
5097
5097
|
var tmp_1 = defaultEachProcessor();
|
|
5098
5098
|
var tmp_2 = defaultAllProcessor_0();
|
|
5099
5099
|
var tmp_3 = defaultValidator_0();
|
|
5100
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5100
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t42();
|
|
5101
5101
|
var tmp_4 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
5102
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5103
|
-
return _this__u8e3s4.
|
|
5102
|
+
var tmp1_elvis_lhs = _this__u8e3s4.c41();
|
|
5103
|
+
return _this__u8e3s4.e42(valueTransform, tmp_1, tmp_2, tmp_3, VOID, tmp_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? completionCandidates : tmp1_elvis_lhs);
|
|
5104
5104
|
}
|
|
5105
5105
|
function mvar(choices) {
|
|
5106
5106
|
return joinToString(choices, '|', '(', ')');
|
|
5107
5107
|
}
|
|
5108
5108
|
function errorMessage(context, choice, choices) {
|
|
5109
|
-
return context.
|
|
5109
|
+
return context.r3q_1.o3y(choice, toList_0(choices.g2()));
|
|
5110
5110
|
}
|
|
5111
5111
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
5112
5112
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5145,8 +5145,8 @@
|
|
|
5145
5145
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
5146
5146
|
var tmp_1 = defaultAllProcessor();
|
|
5147
5147
|
var tmp_2 = defaultValidator();
|
|
5148
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5149
|
-
return _this__u8e3s4.
|
|
5148
|
+
var tmp0_elvis_lhs = _this__u8e3s4.c41();
|
|
5149
|
+
return _this__u8e3s4.e41(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? completionCandidates : tmp0_elvis_lhs);
|
|
5150
5150
|
}
|
|
5151
5151
|
function choice$lambda($metavar) {
|
|
5152
5152
|
return function ($this$convert) {
|
|
@@ -5158,7 +5158,7 @@
|
|
|
5158
5158
|
var tmp;
|
|
5159
5159
|
try {
|
|
5160
5160
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5161
|
-
var it_0 = $this.
|
|
5161
|
+
var it_0 = $this.b41()($this$null, it);
|
|
5162
5162
|
var tmp_0;
|
|
5163
5163
|
if ($ignoreCase) {
|
|
5164
5164
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5170,7 +5170,7 @@
|
|
|
5170
5170
|
var tmp0_elvis_lhs = $c.f2(tmp_0);
|
|
5171
5171
|
var tmp_1;
|
|
5172
5172
|
if (tmp0_elvis_lhs == null) {
|
|
5173
|
-
$this$null.
|
|
5173
|
+
$this$null.i41(errorMessage($this$null.i42_1, it_0, $choices));
|
|
5174
5174
|
} else {
|
|
5175
5175
|
tmp_1 = tmp0_elvis_lhs;
|
|
5176
5176
|
}
|
|
@@ -5180,11 +5180,11 @@
|
|
|
5180
5180
|
if ($p instanceof UsageError) {
|
|
5181
5181
|
var err = $p;
|
|
5182
5182
|
var tmp_3 = err;
|
|
5183
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5183
|
+
var tmp0_elvis_lhs_0 = err.q3u_1;
|
|
5184
5184
|
var tmp_4;
|
|
5185
5185
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5186
5186
|
// Inline function 'kotlin.takeUnless' call
|
|
5187
|
-
var this_0 = $this$null.
|
|
5187
|
+
var this_0 = $this$null.g42_1;
|
|
5188
5188
|
// Inline function 'kotlin.contracts.contract' call
|
|
5189
5189
|
var tmp_5;
|
|
5190
5190
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5199,13 +5199,13 @@
|
|
|
5199
5199
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5200
5200
|
}
|
|
5201
5201
|
var tmp1_elvis_lhs = tmp_4;
|
|
5202
|
-
tmp_3.
|
|
5202
|
+
tmp_3.q3u_1 = tmp1_elvis_lhs == null ? longestName($this$null.h42_1) : tmp1_elvis_lhs;
|
|
5203
5203
|
throw err;
|
|
5204
5204
|
} else {
|
|
5205
5205
|
if ($p instanceof Exception) {
|
|
5206
5206
|
var err_0 = $p;
|
|
5207
5207
|
var tmp2_elvis_lhs = err_0.message;
|
|
5208
|
-
$this$null.
|
|
5208
|
+
$this$null.i41(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5209
5209
|
} else {
|
|
5210
5210
|
throw $p;
|
|
5211
5211
|
}
|
|
@@ -5220,7 +5220,7 @@
|
|
|
5220
5220
|
var tmp;
|
|
5221
5221
|
try {
|
|
5222
5222
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5223
|
-
var it_0 = $this.
|
|
5223
|
+
var it_0 = $this.b41()($this$null, it);
|
|
5224
5224
|
var tmp_0;
|
|
5225
5225
|
if ($ignoreCase) {
|
|
5226
5226
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5232,7 +5232,7 @@
|
|
|
5232
5232
|
var tmp0_elvis_lhs = $c.f2(tmp_0);
|
|
5233
5233
|
var tmp_1;
|
|
5234
5234
|
if (tmp0_elvis_lhs == null) {
|
|
5235
|
-
$this$null.
|
|
5235
|
+
$this$null.i41(errorMessage($this$null.h41_1, it_0, $choices));
|
|
5236
5236
|
} else {
|
|
5237
5237
|
tmp_1 = tmp0_elvis_lhs;
|
|
5238
5238
|
}
|
|
@@ -5242,14 +5242,14 @@
|
|
|
5242
5242
|
if ($p instanceof UsageError) {
|
|
5243
5243
|
var err = $p;
|
|
5244
5244
|
var tmp_3 = err;
|
|
5245
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5246
|
-
tmp_3.
|
|
5245
|
+
var tmp0_elvis_lhs_0 = err.q3u_1;
|
|
5246
|
+
tmp_3.q3u_1 = tmp0_elvis_lhs_0 == null ? $this$null.g41_1.r2() : tmp0_elvis_lhs_0;
|
|
5247
5247
|
throw err;
|
|
5248
5248
|
} else {
|
|
5249
5249
|
if ($p instanceof Exception) {
|
|
5250
5250
|
var err_0 = $p;
|
|
5251
5251
|
var tmp1_elvis_lhs = err_0.message;
|
|
5252
|
-
$this$null.
|
|
5252
|
+
$this$null.i41(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5253
5253
|
} else {
|
|
5254
5254
|
throw $p;
|
|
5255
5255
|
}
|
|
@@ -5260,23 +5260,23 @@
|
|
|
5260
5260
|
};
|
|
5261
5261
|
}
|
|
5262
5262
|
function Invocation(name, values) {
|
|
5263
|
-
this.
|
|
5264
|
-
this.
|
|
5263
|
+
this.t43_1 = name;
|
|
5264
|
+
this.u43_1 = values;
|
|
5265
5265
|
}
|
|
5266
|
-
protoOf(Invocation).
|
|
5266
|
+
protoOf(Invocation).x43 = function (name, values) {
|
|
5267
5267
|
return new Invocation(name, values);
|
|
5268
5268
|
};
|
|
5269
|
-
protoOf(Invocation).
|
|
5270
|
-
name = name === VOID ? this.
|
|
5271
|
-
values = values === VOID ? this.
|
|
5272
|
-
return $super === VOID ? this.
|
|
5269
|
+
protoOf(Invocation).v43 = function (name, values, $super) {
|
|
5270
|
+
name = name === VOID ? this.t43_1 : name;
|
|
5271
|
+
values = values === VOID ? this.u43_1 : values;
|
|
5272
|
+
return $super === VOID ? this.x43(name, values) : $super.x43.call(this, name, values);
|
|
5273
5273
|
};
|
|
5274
5274
|
protoOf(Invocation).toString = function () {
|
|
5275
|
-
return 'Invocation(name=' + this.
|
|
5275
|
+
return 'Invocation(name=' + this.t43_1 + ', values=' + toString_0(this.u43_1) + ')';
|
|
5276
5276
|
};
|
|
5277
5277
|
protoOf(Invocation).hashCode = function () {
|
|
5278
|
-
var result = getStringHashCode(this.
|
|
5279
|
-
result = imul(result, 31) + hashCode(this.
|
|
5278
|
+
var result = getStringHashCode(this.t43_1);
|
|
5279
|
+
result = imul(result, 31) + hashCode(this.u43_1) | 0;
|
|
5280
5280
|
return result;
|
|
5281
5281
|
};
|
|
5282
5282
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5285,18 +5285,18 @@
|
|
|
5285
5285
|
if (!(other instanceof Invocation))
|
|
5286
5286
|
return false;
|
|
5287
5287
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5288
|
-
if (!(this.
|
|
5288
|
+
if (!(this.t43_1 === tmp0_other_with_cast.t43_1))
|
|
5289
5289
|
return false;
|
|
5290
|
-
if (!equals(this.
|
|
5290
|
+
if (!equals(this.u43_1, tmp0_other_with_cast.u43_1))
|
|
5291
5291
|
return false;
|
|
5292
5292
|
return true;
|
|
5293
5293
|
};
|
|
5294
5294
|
function parse($this, argv, context, canRun) {
|
|
5295
5295
|
var tokens = argv;
|
|
5296
|
-
var command = context.
|
|
5297
|
-
var aliases = command.
|
|
5296
|
+
var command = context.e3q_1;
|
|
5297
|
+
var aliases = command.d3r();
|
|
5298
5298
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5299
|
-
var this_0 = command.
|
|
5299
|
+
var this_0 = command.t3p_1;
|
|
5300
5300
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
5301
5301
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5302
5302
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5304,7 +5304,7 @@
|
|
|
5304
5304
|
while (tmp0_iterator.h()) {
|
|
5305
5305
|
var element = tmp0_iterator.i();
|
|
5306
5306
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5307
|
-
var tmp$ret$0 = element.
|
|
5307
|
+
var tmp$ret$0 = element.q3p_1;
|
|
5308
5308
|
destination.m2(tmp$ret$0, element);
|
|
5309
5309
|
}
|
|
5310
5310
|
var subcommands = destination;
|
|
@@ -5312,7 +5312,7 @@
|
|
|
5312
5312
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5313
5313
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5314
5314
|
// Inline function 'kotlin.collections.find' call
|
|
5315
|
-
var this_1 = command.
|
|
5315
|
+
var this_1 = command.u3p_1;
|
|
5316
5316
|
var tmp$ret$5;
|
|
5317
5317
|
$l$block: {
|
|
5318
5318
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5320,7 +5320,7 @@
|
|
|
5320
5320
|
while (tmp0_iterator_0.h()) {
|
|
5321
5321
|
var element_0 = tmp0_iterator_0.i();
|
|
5322
5322
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5323
|
-
if (element_0.
|
|
5323
|
+
if (element_0.z3r()) {
|
|
5324
5324
|
tmp$ret$5 = element_0;
|
|
5325
5325
|
break $l$block;
|
|
5326
5326
|
}
|
|
@@ -5328,7 +5328,7 @@
|
|
|
5328
5328
|
tmp$ret$5 = null;
|
|
5329
5329
|
}
|
|
5330
5330
|
var numberOption = tmp$ret$5;
|
|
5331
|
-
var arguments_0 = command.
|
|
5331
|
+
var arguments_0 = command.v3p_1;
|
|
5332
5332
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5333
5333
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5334
5334
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -5336,11 +5336,11 @@
|
|
|
5336
5336
|
var tmp$ret$10;
|
|
5337
5337
|
$l$block_0: {
|
|
5338
5338
|
// Inline function 'kotlin.sequences.any' call
|
|
5339
|
-
var tmp0_iterator_1 = context.
|
|
5339
|
+
var tmp0_iterator_1 = context.n3r().g();
|
|
5340
5340
|
while (tmp0_iterator_1.h()) {
|
|
5341
5341
|
var element_1 = tmp0_iterator_1.i();
|
|
5342
5342
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5343
|
-
if (element_1.
|
|
5343
|
+
if (element_1.e3q_1.n3p_1) {
|
|
5344
5344
|
tmp$ret$10 = true;
|
|
5345
5345
|
break $l$block_0;
|
|
5346
5346
|
}
|
|
@@ -5352,24 +5352,24 @@
|
|
|
5352
5352
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5353
5353
|
var subcommand = null;
|
|
5354
5354
|
var canParseOptions = true;
|
|
5355
|
-
var canExpandAtFiles = context.
|
|
5355
|
+
var canExpandAtFiles = context.h3t();
|
|
5356
5356
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5357
5357
|
var invocations = ArrayList_init_$Create$();
|
|
5358
5358
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5359
5359
|
var errors = ArrayList_init_$Create$();
|
|
5360
5360
|
var i = {_v: 0};
|
|
5361
5361
|
var minAliasI = 0;
|
|
5362
|
-
var tmp0_iterator_2 = command.
|
|
5362
|
+
var tmp0_iterator_2 = command.u3p_1.g();
|
|
5363
5363
|
while (tmp0_iterator_2.h()) {
|
|
5364
5364
|
var option = tmp0_iterator_2.i();
|
|
5365
5365
|
// Inline function 'kotlin.require' call
|
|
5366
5366
|
var tmp;
|
|
5367
5367
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5368
|
-
if (!option.
|
|
5368
|
+
if (!option.b3q().l()) {
|
|
5369
5369
|
tmp = true;
|
|
5370
5370
|
} else {
|
|
5371
5371
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5372
|
-
tmp = !option.
|
|
5372
|
+
tmp = !option.c3q().l();
|
|
5373
5373
|
}
|
|
5374
5374
|
// Inline function 'kotlin.contracts.contract' call
|
|
5375
5375
|
if (!tmp) {
|
|
@@ -5379,12 +5379,12 @@
|
|
|
5379
5379
|
}
|
|
5380
5380
|
// Inline function 'kotlin.require' call
|
|
5381
5381
|
// Inline function 'kotlin.contracts.contract' call
|
|
5382
|
-
if (!(option.
|
|
5382
|
+
if (!(option.e3u() || option.b3r().e1_1 <= 1)) {
|
|
5383
5383
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5384
5384
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5385
5385
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5386
5386
|
}
|
|
5387
|
-
var tmp1_iterator = plus(option.
|
|
5387
|
+
var tmp1_iterator = plus(option.b3q(), option.c3q()).g();
|
|
5388
5388
|
while (tmp1_iterator.h()) {
|
|
5389
5389
|
var name = tmp1_iterator.i();
|
|
5390
5390
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5399,12 +5399,12 @@
|
|
|
5399
5399
|
}
|
|
5400
5400
|
}
|
|
5401
5401
|
prefixes.l2('');
|
|
5402
|
-
if (tokens.l() && command.
|
|
5402
|
+
if (tokens.l() && command.k3p_1) {
|
|
5403
5403
|
throw new PrintHelpMessage(context, true);
|
|
5404
5404
|
}
|
|
5405
5405
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5406
5406
|
var tok = tokens.k(i._v);
|
|
5407
|
-
var normTok = context.
|
|
5407
|
+
var normTok = context.l3q_1(context, tok);
|
|
5408
5408
|
var prefix = splitOptionPrefix(tok).ce_1;
|
|
5409
5409
|
var tmp_0;
|
|
5410
5410
|
if (canExpandAtFiles && startsWith(tok, '@')) {
|
|
@@ -5432,8 +5432,8 @@
|
|
|
5432
5432
|
canParseOptions = false;
|
|
5433
5433
|
canExpandAtFiles = false;
|
|
5434
5434
|
} else {
|
|
5435
|
-
if (canParseOptions && (prefix.length > 1 && prefixes.p1(prefix) || longNames.p1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.
|
|
5436
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.
|
|
5435
|
+
if (canParseOptions && (prefix.length > 1 && prefixes.p1(prefix) || longNames.p1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.g3q_1)) {
|
|
5436
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.o3p_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5437
5437
|
} else {
|
|
5438
5438
|
var tmp_1;
|
|
5439
5439
|
var tmp_2;
|
|
@@ -5449,7 +5449,7 @@
|
|
|
5449
5449
|
tmp_1 = false;
|
|
5450
5450
|
}
|
|
5451
5451
|
if (tmp_1) {
|
|
5452
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.
|
|
5452
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.o3p_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5453
5453
|
} else {
|
|
5454
5454
|
var tmp_3;
|
|
5455
5455
|
if (i._v >= minAliasI) {
|
|
@@ -5471,7 +5471,7 @@
|
|
|
5471
5471
|
i._v = i._v + 1 | 0;
|
|
5472
5472
|
break loop;
|
|
5473
5473
|
} else {
|
|
5474
|
-
if (!context.
|
|
5474
|
+
if (!context.f3q_1)
|
|
5475
5475
|
canParseOptions = false;
|
|
5476
5476
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5477
5477
|
var element_4 = to(i._v, tokens.k(i._v));
|
|
@@ -5491,7 +5491,7 @@
|
|
|
5491
5491
|
while (tmp0_iterator_3.h()) {
|
|
5492
5492
|
var element_5 = tmp0_iterator_3.i();
|
|
5493
5493
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5494
|
-
var key = element_5.
|
|
5494
|
+
var key = element_5.y43_1;
|
|
5495
5495
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5496
5496
|
var value = destination_0.f2(key);
|
|
5497
5497
|
var tmp_4;
|
|
@@ -5505,7 +5505,7 @@
|
|
|
5505
5505
|
}
|
|
5506
5506
|
var list = tmp_4;
|
|
5507
5507
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5508
|
-
var tmp$ret$28 = element_5.
|
|
5508
|
+
var tmp$ret$28 = element_5.b44();
|
|
5509
5509
|
list.e(tmp$ret$28);
|
|
5510
5510
|
}
|
|
5511
5511
|
var invocationsByOption = destination_0;
|
|
@@ -5516,9 +5516,9 @@
|
|
|
5516
5516
|
while (tmp0_iterator_4.h()) {
|
|
5517
5517
|
var element_6 = tmp0_iterator_4.i();
|
|
5518
5518
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5519
|
-
var tmp_5 = element_6.
|
|
5519
|
+
var tmp_5 = element_6.y43_1;
|
|
5520
5520
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5521
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5521
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f3u();
|
|
5522
5522
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5523
5523
|
var value_0 = destination_1.f2(key_0);
|
|
5524
5524
|
var tmp_6;
|
|
@@ -5554,7 +5554,7 @@
|
|
|
5554
5554
|
while (tmp0_iterator_6.h()) {
|
|
5555
5555
|
var element_8 = tmp0_iterator_6.i();
|
|
5556
5556
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5557
|
-
var key_1 = element_8.
|
|
5557
|
+
var key_1 = element_8.y43_1;
|
|
5558
5558
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5559
5559
|
var value_1 = destination_3.f2(key_1);
|
|
5560
5560
|
var tmp_8;
|
|
@@ -5568,7 +5568,7 @@
|
|
|
5568
5568
|
}
|
|
5569
5569
|
var list_1 = tmp_8;
|
|
5570
5570
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5571
|
-
var tmp$ret$41 = element_8.
|
|
5571
|
+
var tmp$ret$41 = element_8.b44();
|
|
5572
5572
|
list_1.e(tmp$ret$41);
|
|
5573
5573
|
}
|
|
5574
5574
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5577,7 +5577,7 @@
|
|
|
5577
5577
|
while (tmp0_iterator_7.h()) {
|
|
5578
5578
|
var entry = tmp0_iterator_7.i();
|
|
5579
5579
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5580
|
-
if (!entry.a1().
|
|
5580
|
+
if (!entry.a1().d3u()) {
|
|
5581
5581
|
result.m2(entry.a1(), entry.b1());
|
|
5582
5582
|
}
|
|
5583
5583
|
}
|
|
@@ -5586,16 +5586,16 @@
|
|
|
5586
5586
|
var invocationsByOptionByGroup = destination_2;
|
|
5587
5587
|
// Inline function 'kotlin.collections.filter' call
|
|
5588
5588
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5589
|
-
var this_2 = command.
|
|
5589
|
+
var this_2 = command.u3p_1;
|
|
5590
5590
|
var destination_4 = ArrayList_init_$Create$();
|
|
5591
5591
|
var tmp0_iterator_8 = this_2.g();
|
|
5592
5592
|
while (tmp0_iterator_8.h()) {
|
|
5593
5593
|
var element_9 = tmp0_iterator_8.i();
|
|
5594
5594
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5595
5595
|
var tmp_9;
|
|
5596
|
-
if (!element_9.
|
|
5596
|
+
if (!element_9.d3u()) {
|
|
5597
5597
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5598
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5598
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f3u()) == null;
|
|
5599
5599
|
} else {
|
|
5600
5600
|
tmp_9 = false;
|
|
5601
5601
|
}
|
|
@@ -5623,16 +5623,16 @@
|
|
|
5623
5623
|
} catch ($p) {
|
|
5624
5624
|
if ($p instanceof UsageError) {
|
|
5625
5625
|
var e = $p;
|
|
5626
|
-
e.
|
|
5626
|
+
e.s3u(context);
|
|
5627
5627
|
throw e;
|
|
5628
5628
|
} else {
|
|
5629
5629
|
throw $p;
|
|
5630
5630
|
}
|
|
5631
5631
|
}
|
|
5632
5632
|
if (!(subcommand == null)) {
|
|
5633
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5633
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.a3q(), true);
|
|
5634
5634
|
var tmp_11;
|
|
5635
|
-
if (command.
|
|
5635
|
+
if (command.n3p_1) {
|
|
5636
5636
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5637
5637
|
tmp_11 = !nextTokens.l();
|
|
5638
5638
|
} else {
|
|
@@ -5644,7 +5644,7 @@
|
|
|
5644
5644
|
return nextTokens;
|
|
5645
5645
|
}
|
|
5646
5646
|
}finally {
|
|
5647
|
-
context.
|
|
5647
|
+
context.g3t();
|
|
5648
5648
|
}
|
|
5649
5649
|
return drop_0(tokens, i._v);
|
|
5650
5650
|
}
|
|
@@ -5660,13 +5660,13 @@
|
|
|
5660
5660
|
var o = element.a1();
|
|
5661
5661
|
// Inline function 'kotlin.collections.component2' call
|
|
5662
5662
|
var inv = element.b1();
|
|
5663
|
-
if (o.
|
|
5664
|
-
o.
|
|
5665
|
-
o.
|
|
5663
|
+
if (o.d3u()) {
|
|
5664
|
+
o.k3x(context, inv);
|
|
5665
|
+
o.z40(context);
|
|
5666
5666
|
}
|
|
5667
5667
|
}
|
|
5668
5668
|
var argsParseResult = parseArguments($this, nextArgvI, positionalArgs, arguments_0);
|
|
5669
|
-
var tmp0_safe_receiver = argsParseResult.
|
|
5669
|
+
var tmp0_safe_receiver = argsParseResult.e44_1;
|
|
5670
5670
|
if (tmp0_safe_receiver == null)
|
|
5671
5671
|
null;
|
|
5672
5672
|
else {
|
|
@@ -5674,9 +5674,9 @@
|
|
|
5674
5674
|
// Inline function 'kotlin.contracts.contract' call
|
|
5675
5675
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5676
5676
|
errors.e(tmp0_safe_receiver);
|
|
5677
|
-
context.
|
|
5677
|
+
context.w3q_1 = true;
|
|
5678
5678
|
}
|
|
5679
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5679
|
+
var excessResult = handleExcessArguments($this, argsParseResult.c44_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5680
5680
|
var tmp1_safe_receiver = excessResult.de_1;
|
|
5681
5681
|
if (tmp1_safe_receiver == null)
|
|
5682
5682
|
null;
|
|
@@ -5685,7 +5685,7 @@
|
|
|
5685
5685
|
// Inline function 'kotlin.contracts.contract' call
|
|
5686
5686
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5687
5687
|
errors.e(tmp1_safe_receiver);
|
|
5688
|
-
context.
|
|
5688
|
+
context.w3q_1 = true;
|
|
5689
5689
|
}
|
|
5690
5690
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5691
5691
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
@@ -5697,7 +5697,7 @@
|
|
|
5697
5697
|
while (tmp0_iterator_0.h()) {
|
|
5698
5698
|
var element_0 = tmp0_iterator_0.i();
|
|
5699
5699
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5700
|
-
if (element_0.
|
|
5700
|
+
if (element_0.h44_1) {
|
|
5701
5701
|
destination.e(element_0);
|
|
5702
5702
|
}
|
|
5703
5703
|
}
|
|
@@ -5720,7 +5720,7 @@
|
|
|
5720
5720
|
while (tmp0_iterator_1.h()) {
|
|
5721
5721
|
var item = tmp0_iterator_1.i();
|
|
5722
5722
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5723
|
-
var tmp$ret$13 = item.
|
|
5723
|
+
var tmp$ret$13 = item.f44_1;
|
|
5724
5724
|
destination_0.e(tmp$ret$13);
|
|
5725
5725
|
}
|
|
5726
5726
|
var usageErrors = destination_0;
|
|
@@ -5728,18 +5728,18 @@
|
|
|
5728
5728
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5729
5729
|
try {
|
|
5730
5730
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5731
|
-
finalizeParameters(context, ungroupedOptions, command.
|
|
5731
|
+
finalizeParameters(context, ungroupedOptions, command.w3p_1, invocationsByOptionByGroup, argsParseResult.d44_1);
|
|
5732
5732
|
} catch ($p) {
|
|
5733
5733
|
if ($p instanceof UsageError) {
|
|
5734
5734
|
var e = $p;
|
|
5735
5735
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5736
5736
|
usageErrors.e(e);
|
|
5737
|
-
context.
|
|
5737
|
+
context.w3q_1 = true;
|
|
5738
5738
|
} else {
|
|
5739
5739
|
throw $p;
|
|
5740
5740
|
}
|
|
5741
5741
|
}
|
|
5742
|
-
var tmp2_safe_receiver = Companion_instance_1.
|
|
5742
|
+
var tmp2_safe_receiver = Companion_instance_1.x3u(usageErrors);
|
|
5743
5743
|
if (tmp2_safe_receiver == null)
|
|
5744
5744
|
null;
|
|
5745
5745
|
else {
|
|
@@ -5755,59 +5755,59 @@
|
|
|
5755
5755
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5756
5756
|
try {
|
|
5757
5757
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5758
|
-
element_1.
|
|
5758
|
+
element_1.z40(context);
|
|
5759
5759
|
} catch ($p) {
|
|
5760
5760
|
if ($p instanceof UsageError) {
|
|
5761
5761
|
var e_0 = $p;
|
|
5762
5762
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5763
5763
|
usageErrors.e(e_0);
|
|
5764
|
-
context.
|
|
5764
|
+
context.w3q_1 = true;
|
|
5765
5765
|
} else {
|
|
5766
5766
|
throw $p;
|
|
5767
5767
|
}
|
|
5768
5768
|
}
|
|
5769
5769
|
}
|
|
5770
5770
|
// Inline function 'kotlin.collections.forEach' call
|
|
5771
|
-
var tmp0_iterator_3 = command.
|
|
5771
|
+
var tmp0_iterator_3 = command.w3p_1.g();
|
|
5772
5772
|
while (tmp0_iterator_3.h()) {
|
|
5773
5773
|
var element_2 = tmp0_iterator_3.i();
|
|
5774
5774
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5775
5775
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5776
5776
|
try {
|
|
5777
5777
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5778
|
-
element_2.
|
|
5778
|
+
element_2.z40(context);
|
|
5779
5779
|
} catch ($p) {
|
|
5780
5780
|
if ($p instanceof UsageError) {
|
|
5781
5781
|
var e_1 = $p;
|
|
5782
5782
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5783
5783
|
usageErrors.e(e_1);
|
|
5784
|
-
context.
|
|
5784
|
+
context.w3q_1 = true;
|
|
5785
5785
|
} else {
|
|
5786
5786
|
throw $p;
|
|
5787
5787
|
}
|
|
5788
5788
|
}
|
|
5789
5789
|
}
|
|
5790
5790
|
// Inline function 'kotlin.collections.forEach' call
|
|
5791
|
-
var tmp0_iterator_4 = command.
|
|
5791
|
+
var tmp0_iterator_4 = command.v3p_1.g();
|
|
5792
5792
|
while (tmp0_iterator_4.h()) {
|
|
5793
5793
|
var element_3 = tmp0_iterator_4.i();
|
|
5794
5794
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5795
5795
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5796
5796
|
try {
|
|
5797
5797
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5798
|
-
element_3.
|
|
5798
|
+
element_3.z40(context);
|
|
5799
5799
|
} catch ($p) {
|
|
5800
5800
|
if ($p instanceof UsageError) {
|
|
5801
5801
|
var e_2 = $p;
|
|
5802
5802
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5803
5803
|
usageErrors.e(e_2);
|
|
5804
|
-
context.
|
|
5804
|
+
context.w3q_1 = true;
|
|
5805
5805
|
} else {
|
|
5806
5806
|
throw $p;
|
|
5807
5807
|
}
|
|
5808
5808
|
}
|
|
5809
5809
|
}
|
|
5810
|
-
var tmp3_safe_receiver = Companion_instance_1.
|
|
5810
|
+
var tmp3_safe_receiver = Companion_instance_1.x3u(usageErrors);
|
|
5811
5811
|
if (tmp3_safe_receiver == null)
|
|
5812
5812
|
null;
|
|
5813
5813
|
else {
|
|
@@ -5824,22 +5824,22 @@
|
|
|
5824
5824
|
tmp_2 = false;
|
|
5825
5825
|
}
|
|
5826
5826
|
if (tmp_2) {
|
|
5827
|
-
tmp_1 = !command.
|
|
5827
|
+
tmp_1 = !command.j3p_1;
|
|
5828
5828
|
} else {
|
|
5829
5829
|
tmp_1 = false;
|
|
5830
5830
|
}
|
|
5831
5831
|
if (tmp_1) {
|
|
5832
5832
|
throw new PrintHelpMessage(context, true);
|
|
5833
5833
|
}
|
|
5834
|
-
command.
|
|
5835
|
-
if (command.
|
|
5836
|
-
var tmp4_iterator = command.
|
|
5834
|
+
command.a3q().v3q_1 = subcommand;
|
|
5835
|
+
if (command.a3q().i3q_1) {
|
|
5836
|
+
var tmp4_iterator = command.x3r().g();
|
|
5837
5837
|
while (tmp4_iterator.h()) {
|
|
5838
5838
|
var warning = tmp4_iterator.i();
|
|
5839
|
-
get_terminal(command).
|
|
5839
|
+
get_terminal(command).o3m(warning, VOID, VOID, VOID, VOID, true);
|
|
5840
5840
|
}
|
|
5841
5841
|
}
|
|
5842
|
-
command.
|
|
5842
|
+
command.o3s();
|
|
5843
5843
|
return nextArgvI;
|
|
5844
5844
|
}
|
|
5845
5845
|
function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens, subcommands, positionalArgs, context) {
|
|
@@ -5857,7 +5857,7 @@
|
|
|
5857
5857
|
}
|
|
5858
5858
|
if (tmp_0) {
|
|
5859
5859
|
var actual = last(positionalArgs).de_1;
|
|
5860
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5860
|
+
throw new NoSuchSubcommand(actual, context.q3q_1(actual, toList_0(subcommands.g2())));
|
|
5861
5861
|
} else {
|
|
5862
5862
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5863
5863
|
}
|
|
@@ -5884,7 +5884,7 @@
|
|
|
5884
5884
|
var tmp0_container = tmp;
|
|
5885
5885
|
var name = tmp0_container.qd();
|
|
5886
5886
|
var attachedValue = tmp0_container.rd();
|
|
5887
|
-
name = context.
|
|
5887
|
+
name = context.l3q_1(context, name);
|
|
5888
5888
|
var tmp1_elvis_lhs = optionsByName.f2(name);
|
|
5889
5889
|
var tmp_1;
|
|
5890
5890
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5901,11 +5901,11 @@
|
|
|
5901
5901
|
while (tmp0_iterator.h()) {
|
|
5902
5902
|
var element = tmp0_iterator.i();
|
|
5903
5903
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5904
|
-
if (!element.b1().
|
|
5904
|
+
if (!element.b1().z3q()) {
|
|
5905
5905
|
destination.m2(element.a1(), element.b1());
|
|
5906
5906
|
}
|
|
5907
5907
|
}
|
|
5908
|
-
var possibilities = context.
|
|
5908
|
+
var possibilities = context.q3q_1(tmp_3, toList_0(destination.g2()));
|
|
5909
5909
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5910
5910
|
}
|
|
5911
5911
|
} else {
|
|
@@ -5920,7 +5920,7 @@
|
|
|
5920
5920
|
if (!(attachedValue == null)) {
|
|
5921
5921
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5922
5922
|
values.e(attachedValue);
|
|
5923
|
-
} else if (!option.
|
|
5923
|
+
} else if (!option.e3u()) {
|
|
5924
5924
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5925
5925
|
}
|
|
5926
5926
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5930,10 +5930,10 @@
|
|
|
5930
5930
|
var i = inductionVariable;
|
|
5931
5931
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5932
5932
|
var tok = tokens.k(i);
|
|
5933
|
-
if (values.j() >= option.
|
|
5933
|
+
if (values.j() >= option.b3r().e1_1)
|
|
5934
5934
|
break $l$loop_0;
|
|
5935
5935
|
var tmp;
|
|
5936
|
-
if (values.j() >= option.
|
|
5936
|
+
if (values.j() >= option.b3r().d1_1) {
|
|
5937
5937
|
var tmp_0;
|
|
5938
5938
|
var tmp_1;
|
|
5939
5939
|
var tmp_2;
|
|
@@ -5974,7 +5974,7 @@
|
|
|
5974
5974
|
}
|
|
5975
5975
|
while (!(i === last));
|
|
5976
5976
|
var consumed = values.j() + (attachedValue == null ? 1 : 0) | 0;
|
|
5977
|
-
var progression = option.
|
|
5977
|
+
var progression = option.b3r();
|
|
5978
5978
|
var containsLower = progression.d1_1;
|
|
5979
5979
|
var containsUpper = progression.e1_1;
|
|
5980
5980
|
var containsArg = values.j();
|
|
@@ -6020,7 +6020,7 @@
|
|
|
6020
6020
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6021
6021
|
if (i === 0)
|
|
6022
6022
|
continue $l$loop;
|
|
6023
|
-
var name = context.
|
|
6023
|
+
var name = context.l3q_1(context, prefix + toString(opt));
|
|
6024
6024
|
var tmp2_elvis_lhs = optionsByName.f2(name);
|
|
6025
6025
|
var tmp_0;
|
|
6026
6026
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -6050,10 +6050,10 @@
|
|
|
6050
6050
|
tmp_0 = tmp2_elvis_lhs;
|
|
6051
6051
|
}
|
|
6052
6052
|
var option = tmp_0;
|
|
6053
|
-
if (option.
|
|
6053
|
+
if (option.b3r().e1_1 > 0) {
|
|
6054
6054
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
6055
6055
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
6056
|
-
return result.
|
|
6056
|
+
return result.m44(VOID, VOID, plus_0(invocations, result.k44_1));
|
|
6057
6057
|
} else {
|
|
6058
6058
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6059
6059
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6074,7 +6074,7 @@
|
|
|
6074
6074
|
$l$loop: while (tmp0_iterator.h()) {
|
|
6075
6075
|
var item = tmp0_iterator.i();
|
|
6076
6076
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6077
|
-
if (!(item.
|
|
6077
|
+
if (!(item.b3r() > 0))
|
|
6078
6078
|
break $l$loop;
|
|
6079
6079
|
list.e(item);
|
|
6080
6080
|
}
|
|
@@ -6084,7 +6084,7 @@
|
|
|
6084
6084
|
var element = tmp0_iterator_0.i();
|
|
6085
6085
|
var tmp_0 = sum;
|
|
6086
6086
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6087
|
-
sum = tmp_0 + element.
|
|
6087
|
+
sum = tmp_0 + element.b3r() | 0;
|
|
6088
6088
|
}
|
|
6089
6089
|
var endSize = sum;
|
|
6090
6090
|
var i = 0;
|
|
@@ -6093,15 +6093,15 @@
|
|
|
6093
6093
|
var argument = tmp0_iterator_1.i();
|
|
6094
6094
|
var remaining = positionalArgs.j() - i | 0;
|
|
6095
6095
|
var tmp_1;
|
|
6096
|
-
if (argument.
|
|
6096
|
+
if (argument.b3r() <= 0) {
|
|
6097
6097
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6098
|
-
var a = argument.
|
|
6098
|
+
var a = argument.y40() ? 1 : 0;
|
|
6099
6099
|
var b = remaining - endSize | 0;
|
|
6100
6100
|
tmp_1 = Math.max(a, b);
|
|
6101
|
-
} else if (argument.
|
|
6101
|
+
} else if (argument.b3r() > 0 && !argument.y40() && remaining === 0) {
|
|
6102
6102
|
tmp_1 = 0;
|
|
6103
6103
|
} else {
|
|
6104
|
-
tmp_1 = argument.
|
|
6104
|
+
tmp_1 = argument.b3r();
|
|
6105
6105
|
}
|
|
6106
6106
|
var consumed = tmp_1;
|
|
6107
6107
|
if (consumed > remaining) {
|
|
@@ -6132,30 +6132,30 @@
|
|
|
6132
6132
|
return new ArgsParseResult(excess, toList_1(out), null);
|
|
6133
6133
|
}
|
|
6134
6134
|
function loadArgFile($this, filename, context) {
|
|
6135
|
-
return shlex(filename, ensureNotNull(context.
|
|
6135
|
+
return shlex(filename, ensureNotNull(context.n3q_1)(filename), context);
|
|
6136
6136
|
}
|
|
6137
6137
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6138
6138
|
var tmp = takeLast(positionalArgs, excess);
|
|
6139
6139
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6140
|
-
var message = excess === 1 ? context.
|
|
6140
|
+
var message = excess === 1 ? context.r3q_1.k3y(actual) : context.r3q_1.l3y(actual, excess);
|
|
6141
6141
|
// Inline function 'kotlin.also' call
|
|
6142
6142
|
var this_0 = new UsageError(message);
|
|
6143
6143
|
// Inline function 'kotlin.contracts.contract' call
|
|
6144
6144
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.excessArgsError.<anonymous>' call
|
|
6145
|
-
this_0.
|
|
6145
|
+
this_0.s3u(context);
|
|
6146
6146
|
return this_0;
|
|
6147
6147
|
}
|
|
6148
6148
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6149
|
-
this.
|
|
6149
|
+
this.n44_1 = function_0;
|
|
6150
6150
|
}
|
|
6151
6151
|
protoOf(sam$kotlin_Comparator$0_2).sc = function (a, b) {
|
|
6152
|
-
return this.
|
|
6152
|
+
return this.n44_1(a, b);
|
|
6153
6153
|
};
|
|
6154
6154
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6155
6155
|
return this.sc(a, b);
|
|
6156
6156
|
};
|
|
6157
6157
|
protoOf(sam$kotlin_Comparator$0_2).o3 = function () {
|
|
6158
|
-
return this.
|
|
6158
|
+
return this.n44_1;
|
|
6159
6159
|
};
|
|
6160
6160
|
protoOf(sam$kotlin_Comparator$0_2).equals = function (other) {
|
|
6161
6161
|
var tmp;
|
|
@@ -6183,17 +6183,17 @@
|
|
|
6183
6183
|
return false;
|
|
6184
6184
|
if (prefix.length > 1)
|
|
6185
6185
|
return true;
|
|
6186
|
-
if (longNames.p1($context.
|
|
6186
|
+
if (longNames.p1($context.l3q_1($context, substringBefore(token, '='))))
|
|
6187
6187
|
return true;
|
|
6188
6188
|
// Inline function 'kotlin.collections.contains' call
|
|
6189
6189
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6190
|
-
var key = $context.
|
|
6190
|
+
var key = $context.l3q_1($context, take(token, 2));
|
|
6191
6191
|
return !(isInterface(optionsByName, KtMap) ? optionsByName : THROW_CCE()).e2(key);
|
|
6192
6192
|
}
|
|
6193
6193
|
function parse$consumeParse(positionalArgs, invocations, errors, $context, i, tokenIndex, result) {
|
|
6194
6194
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6195
6195
|
// Inline function 'kotlin.collections.map' call
|
|
6196
|
-
var this_0 = result.
|
|
6196
|
+
var this_0 = result.j44_1;
|
|
6197
6197
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6198
6198
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6199
6199
|
var tmp0_iterator = this_0.g();
|
|
@@ -6205,9 +6205,9 @@
|
|
|
6205
6205
|
}
|
|
6206
6206
|
addAll(positionalArgs, destination);
|
|
6207
6207
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6208
|
-
var elements = result.
|
|
6208
|
+
var elements = result.k44_1;
|
|
6209
6209
|
addAll(invocations, elements);
|
|
6210
|
-
var tmp0_safe_receiver = result.
|
|
6210
|
+
var tmp0_safe_receiver = result.l44_1;
|
|
6211
6211
|
if (tmp0_safe_receiver == null)
|
|
6212
6212
|
null;
|
|
6213
6213
|
else {
|
|
@@ -6215,16 +6215,16 @@
|
|
|
6215
6215
|
// Inline function 'kotlin.contracts.contract' call
|
|
6216
6216
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6217
6217
|
errors.e(tmp0_safe_receiver);
|
|
6218
|
-
$context.
|
|
6218
|
+
$context.w3q_1 = true;
|
|
6219
6219
|
}
|
|
6220
|
-
i._v = i._v + result.
|
|
6220
|
+
i._v = i._v + result.i44_1 | 0;
|
|
6221
6221
|
}
|
|
6222
6222
|
function Parser$finalizeAndRun$lambda(a, b) {
|
|
6223
6223
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6224
6224
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6225
|
-
var tmp = a.
|
|
6225
|
+
var tmp = a.g44_1;
|
|
6226
6226
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6227
|
-
var tmp$ret$1 = b.
|
|
6227
|
+
var tmp$ret$1 = b.g44_1;
|
|
6228
6228
|
return compareValues(tmp, tmp$ret$1);
|
|
6229
6229
|
}
|
|
6230
6230
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6236,7 +6236,7 @@
|
|
|
6236
6236
|
}
|
|
6237
6237
|
function Parser() {
|
|
6238
6238
|
}
|
|
6239
|
-
protoOf(Parser).
|
|
6239
|
+
protoOf(Parser).k3s = function (argv, context) {
|
|
6240
6240
|
parse(this, argv, context, true);
|
|
6241
6241
|
};
|
|
6242
6242
|
var Parser_instance;
|
|
@@ -6244,20 +6244,20 @@
|
|
|
6244
6244
|
return Parser_instance;
|
|
6245
6245
|
}
|
|
6246
6246
|
function OptInvocation(opt, name, values) {
|
|
6247
|
-
this.
|
|
6248
|
-
this.
|
|
6249
|
-
this.
|
|
6247
|
+
this.y43_1 = opt;
|
|
6248
|
+
this.z43_1 = name;
|
|
6249
|
+
this.a44_1 = values;
|
|
6250
6250
|
}
|
|
6251
|
-
protoOf(OptInvocation).
|
|
6252
|
-
return new Invocation(this.
|
|
6251
|
+
protoOf(OptInvocation).b44 = function () {
|
|
6252
|
+
return new Invocation(this.z43_1, this.a44_1);
|
|
6253
6253
|
};
|
|
6254
6254
|
protoOf(OptInvocation).toString = function () {
|
|
6255
|
-
return 'OptInvocation(opt=' + toString_0(this.
|
|
6255
|
+
return 'OptInvocation(opt=' + toString_0(this.y43_1) + ', name=' + this.z43_1 + ', values=' + toString_0(this.a44_1) + ')';
|
|
6256
6256
|
};
|
|
6257
6257
|
protoOf(OptInvocation).hashCode = function () {
|
|
6258
|
-
var result = hashCode(this.
|
|
6259
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6260
|
-
result = imul(result, 31) + hashCode(this.
|
|
6258
|
+
var result = hashCode(this.y43_1);
|
|
6259
|
+
result = imul(result, 31) + getStringHashCode(this.z43_1) | 0;
|
|
6260
|
+
result = imul(result, 31) + hashCode(this.a44_1) | 0;
|
|
6261
6261
|
return result;
|
|
6262
6262
|
};
|
|
6263
6263
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6266,27 +6266,27 @@
|
|
|
6266
6266
|
if (!(other instanceof OptInvocation))
|
|
6267
6267
|
return false;
|
|
6268
6268
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6269
|
-
if (!equals(this.
|
|
6269
|
+
if (!equals(this.y43_1, tmp0_other_with_cast.y43_1))
|
|
6270
6270
|
return false;
|
|
6271
|
-
if (!(this.
|
|
6271
|
+
if (!(this.z43_1 === tmp0_other_with_cast.z43_1))
|
|
6272
6272
|
return false;
|
|
6273
|
-
if (!equals(this.
|
|
6273
|
+
if (!equals(this.a44_1, tmp0_other_with_cast.a44_1))
|
|
6274
6274
|
return false;
|
|
6275
6275
|
return true;
|
|
6276
6276
|
};
|
|
6277
6277
|
function Err(e, i, includeInMulti) {
|
|
6278
6278
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6279
|
-
this.
|
|
6280
|
-
this.
|
|
6281
|
-
this.
|
|
6279
|
+
this.f44_1 = e;
|
|
6280
|
+
this.g44_1 = i;
|
|
6281
|
+
this.h44_1 = includeInMulti;
|
|
6282
6282
|
}
|
|
6283
6283
|
protoOf(Err).toString = function () {
|
|
6284
|
-
return 'Err(e=' + this.
|
|
6284
|
+
return 'Err(e=' + this.f44_1.toString() + ', i=' + this.g44_1 + ', includeInMulti=' + this.h44_1 + ')';
|
|
6285
6285
|
};
|
|
6286
6286
|
protoOf(Err).hashCode = function () {
|
|
6287
|
-
var result = hashCode(this.
|
|
6288
|
-
result = imul(result, 31) + this.
|
|
6289
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6287
|
+
var result = hashCode(this.f44_1);
|
|
6288
|
+
result = imul(result, 31) + this.g44_1 | 0;
|
|
6289
|
+
result = imul(result, 31) + getBooleanHashCode(this.h44_1) | 0;
|
|
6290
6290
|
return result;
|
|
6291
6291
|
};
|
|
6292
6292
|
protoOf(Err).equals = function (other) {
|
|
@@ -6295,11 +6295,11 @@
|
|
|
6295
6295
|
if (!(other instanceof Err))
|
|
6296
6296
|
return false;
|
|
6297
6297
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6298
|
-
if (!equals(this.
|
|
6298
|
+
if (!equals(this.f44_1, tmp0_other_with_cast.f44_1))
|
|
6299
6299
|
return false;
|
|
6300
|
-
if (!(this.
|
|
6300
|
+
if (!(this.g44_1 === tmp0_other_with_cast.g44_1))
|
|
6301
6301
|
return false;
|
|
6302
|
-
if (!(this.
|
|
6302
|
+
if (!(this.h44_1 === tmp0_other_with_cast.h44_1))
|
|
6303
6303
|
return false;
|
|
6304
6304
|
return true;
|
|
6305
6305
|
};
|
|
@@ -6321,29 +6321,29 @@
|
|
|
6321
6321
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6322
6322
|
known = known === VOID ? emptyList() : known;
|
|
6323
6323
|
err = err === VOID ? null : err;
|
|
6324
|
-
this.
|
|
6325
|
-
this.
|
|
6326
|
-
this.
|
|
6327
|
-
this.
|
|
6324
|
+
this.i44_1 = consumed;
|
|
6325
|
+
this.j44_1 = unknown;
|
|
6326
|
+
this.k44_1 = known;
|
|
6327
|
+
this.l44_1 = err;
|
|
6328
6328
|
}
|
|
6329
|
-
protoOf(OptParseResult).
|
|
6329
|
+
protoOf(OptParseResult).o44 = function (consumed, unknown, known, err) {
|
|
6330
6330
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6331
6331
|
};
|
|
6332
|
-
protoOf(OptParseResult).
|
|
6333
|
-
consumed = consumed === VOID ? this.
|
|
6334
|
-
unknown = unknown === VOID ? this.
|
|
6335
|
-
known = known === VOID ? this.
|
|
6336
|
-
err = err === VOID ? this.
|
|
6337
|
-
return $super === VOID ? this.
|
|
6332
|
+
protoOf(OptParseResult).m44 = function (consumed, unknown, known, err, $super) {
|
|
6333
|
+
consumed = consumed === VOID ? this.i44_1 : consumed;
|
|
6334
|
+
unknown = unknown === VOID ? this.j44_1 : unknown;
|
|
6335
|
+
known = known === VOID ? this.k44_1 : known;
|
|
6336
|
+
err = err === VOID ? this.l44_1 : err;
|
|
6337
|
+
return $super === VOID ? this.o44(consumed, unknown, known, err) : $super.o44.call(this, consumed, unknown, known, err);
|
|
6338
6338
|
};
|
|
6339
6339
|
protoOf(OptParseResult).toString = function () {
|
|
6340
|
-
return 'OptParseResult(consumed=' + this.
|
|
6340
|
+
return 'OptParseResult(consumed=' + this.i44_1 + ', unknown=' + toString_0(this.j44_1) + ', known=' + toString_0(this.k44_1) + ', err=' + toString_1(this.l44_1) + ')';
|
|
6341
6341
|
};
|
|
6342
6342
|
protoOf(OptParseResult).hashCode = function () {
|
|
6343
|
-
var result = this.
|
|
6344
|
-
result = imul(result, 31) + hashCode(this.
|
|
6345
|
-
result = imul(result, 31) + hashCode(this.
|
|
6346
|
-
result = imul(result, 31) + (this.
|
|
6343
|
+
var result = this.i44_1;
|
|
6344
|
+
result = imul(result, 31) + hashCode(this.j44_1) | 0;
|
|
6345
|
+
result = imul(result, 31) + hashCode(this.k44_1) | 0;
|
|
6346
|
+
result = imul(result, 31) + (this.l44_1 == null ? 0 : this.l44_1.hashCode()) | 0;
|
|
6347
6347
|
return result;
|
|
6348
6348
|
};
|
|
6349
6349
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6352,28 +6352,28 @@
|
|
|
6352
6352
|
if (!(other instanceof OptParseResult))
|
|
6353
6353
|
return false;
|
|
6354
6354
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6355
|
-
if (!(this.
|
|
6355
|
+
if (!(this.i44_1 === tmp0_other_with_cast.i44_1))
|
|
6356
6356
|
return false;
|
|
6357
|
-
if (!equals(this.
|
|
6357
|
+
if (!equals(this.j44_1, tmp0_other_with_cast.j44_1))
|
|
6358
6358
|
return false;
|
|
6359
|
-
if (!equals(this.
|
|
6359
|
+
if (!equals(this.k44_1, tmp0_other_with_cast.k44_1))
|
|
6360
6360
|
return false;
|
|
6361
|
-
if (!equals(this.
|
|
6361
|
+
if (!equals(this.l44_1, tmp0_other_with_cast.l44_1))
|
|
6362
6362
|
return false;
|
|
6363
6363
|
return true;
|
|
6364
6364
|
};
|
|
6365
6365
|
function ArgsParseResult(excessCount, args, err) {
|
|
6366
|
-
this.
|
|
6367
|
-
this.
|
|
6368
|
-
this.
|
|
6366
|
+
this.c44_1 = excessCount;
|
|
6367
|
+
this.d44_1 = args;
|
|
6368
|
+
this.e44_1 = err;
|
|
6369
6369
|
}
|
|
6370
6370
|
protoOf(ArgsParseResult).toString = function () {
|
|
6371
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6371
|
+
return 'ArgsParseResult(excessCount=' + this.c44_1 + ', args=' + toString_0(this.d44_1) + ', err=' + toString_1(this.e44_1) + ')';
|
|
6372
6372
|
};
|
|
6373
6373
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6374
|
-
var result = this.
|
|
6375
|
-
result = imul(result, 31) + hashCode(this.
|
|
6376
|
-
result = imul(result, 31) + (this.
|
|
6374
|
+
var result = this.c44_1;
|
|
6375
|
+
result = imul(result, 31) + hashCode(this.d44_1) | 0;
|
|
6376
|
+
result = imul(result, 31) + (this.e44_1 == null ? 0 : this.e44_1.hashCode()) | 0;
|
|
6377
6377
|
return result;
|
|
6378
6378
|
};
|
|
6379
6379
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6382,16 +6382,16 @@
|
|
|
6382
6382
|
if (!(other instanceof ArgsParseResult))
|
|
6383
6383
|
return false;
|
|
6384
6384
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6385
|
-
if (!(this.
|
|
6385
|
+
if (!(this.c44_1 === tmp0_other_with_cast.c44_1))
|
|
6386
6386
|
return false;
|
|
6387
|
-
if (!equals(this.
|
|
6387
|
+
if (!equals(this.d44_1, tmp0_other_with_cast.d44_1))
|
|
6388
6388
|
return false;
|
|
6389
|
-
if (!equals(this.
|
|
6389
|
+
if (!equals(this.e44_1, tmp0_other_with_cast.e44_1))
|
|
6390
6390
|
return false;
|
|
6391
6391
|
return true;
|
|
6392
6392
|
};
|
|
6393
6393
|
function shlex(filename, text, context) {
|
|
6394
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6394
|
+
var tmp1_elvis_lhs = context == null ? null : context.r3q_1;
|
|
6395
6395
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6396
6396
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6397
6397
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6413,7 +6413,7 @@
|
|
|
6413
6413
|
} else {
|
|
6414
6414
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6415
6415
|
if (i._v >= get_lastIndex(text)) {
|
|
6416
|
-
shlex$err(filename, text, i, localization.
|
|
6416
|
+
shlex$err(filename, text, i, localization.j3y());
|
|
6417
6417
|
}
|
|
6418
6418
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6419
6419
|
do {
|
|
@@ -6485,7 +6485,7 @@
|
|
|
6485
6485
|
}
|
|
6486
6486
|
var tmp_8 = inQuote;
|
|
6487
6487
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6488
|
-
shlex$err(filename, text, i, localization.
|
|
6488
|
+
shlex$err(filename, text, i, localization.i3y());
|
|
6489
6489
|
}
|
|
6490
6490
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6491
6491
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6566,23 +6566,23 @@
|
|
|
6566
6566
|
var impls;
|
|
6567
6567
|
function readFileIfExists(filename) {
|
|
6568
6568
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6569
|
-
return get_impls().
|
|
6569
|
+
return get_impls().p44(filename);
|
|
6570
6570
|
}
|
|
6571
6571
|
function NodeMppImpls(fs) {
|
|
6572
|
-
this.
|
|
6572
|
+
this.q44_1 = fs;
|
|
6573
6573
|
}
|
|
6574
|
-
protoOf(NodeMppImpls).
|
|
6574
|
+
protoOf(NodeMppImpls).x3o = function (key) {
|
|
6575
6575
|
var tmp = process.env[key];
|
|
6576
6576
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6577
6577
|
};
|
|
6578
|
-
protoOf(NodeMppImpls).
|
|
6578
|
+
protoOf(NodeMppImpls).r44 = function (status) {
|
|
6579
6579
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6580
6580
|
return process.exit(status);
|
|
6581
6581
|
};
|
|
6582
|
-
protoOf(NodeMppImpls).
|
|
6582
|
+
protoOf(NodeMppImpls).p44 = function (filename) {
|
|
6583
6583
|
var tmp;
|
|
6584
6584
|
try {
|
|
6585
|
-
var tmp_0 = this.
|
|
6585
|
+
var tmp_0 = this.q44_1.readFileSync(filename, 'utf-8');
|
|
6586
6586
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6587
6587
|
} catch ($p) {
|
|
6588
6588
|
var tmp_1;
|
|
@@ -6598,12 +6598,12 @@
|
|
|
6598
6598
|
};
|
|
6599
6599
|
function BrowserMppImpls() {
|
|
6600
6600
|
}
|
|
6601
|
-
protoOf(BrowserMppImpls).
|
|
6601
|
+
protoOf(BrowserMppImpls).x3o = function (key) {
|
|
6602
6602
|
return null;
|
|
6603
6603
|
};
|
|
6604
|
-
protoOf(BrowserMppImpls).
|
|
6604
|
+
protoOf(BrowserMppImpls).r44 = function (status) {
|
|
6605
6605
|
};
|
|
6606
|
-
protoOf(BrowserMppImpls).
|
|
6606
|
+
protoOf(BrowserMppImpls).p44 = function (filename) {
|
|
6607
6607
|
return null;
|
|
6608
6608
|
};
|
|
6609
6609
|
var BrowserMppImpls_instance;
|
|
@@ -6612,11 +6612,11 @@
|
|
|
6612
6612
|
}
|
|
6613
6613
|
function readEnvvar(key) {
|
|
6614
6614
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6615
|
-
return get_impls().
|
|
6615
|
+
return get_impls().x3o(key);
|
|
6616
6616
|
}
|
|
6617
6617
|
function exitProcessMpp(status) {
|
|
6618
6618
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6619
|
-
return get_impls().
|
|
6619
|
+
return get_impls().r44(status);
|
|
6620
6620
|
}
|
|
6621
6621
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6622
6622
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6644,44 +6644,44 @@
|
|
|
6644
6644
|
}
|
|
6645
6645
|
}
|
|
6646
6646
|
//region block: post-declaration
|
|
6647
|
-
protoOf(defaultLocalization$1).
|
|
6648
|
-
protoOf(defaultLocalization$1).
|
|
6649
|
-
protoOf(defaultLocalization$1).
|
|
6650
|
-
protoOf(defaultLocalization$1).
|
|
6651
|
-
protoOf(defaultLocalization$1).
|
|
6652
|
-
protoOf(defaultLocalization$1).
|
|
6653
|
-
protoOf(defaultLocalization$1).
|
|
6654
|
-
protoOf(defaultLocalization$1).
|
|
6655
|
-
protoOf(defaultLocalization$1).
|
|
6656
|
-
protoOf(defaultLocalization$1).
|
|
6657
|
-
protoOf(defaultLocalization$1).
|
|
6658
|
-
protoOf(defaultLocalization$1).
|
|
6659
|
-
protoOf(defaultLocalization$1).
|
|
6660
|
-
protoOf(defaultLocalization$1).
|
|
6661
|
-
protoOf(defaultLocalization$1).
|
|
6662
|
-
protoOf(defaultLocalization$1).
|
|
6663
|
-
protoOf(defaultLocalization$1).
|
|
6664
|
-
protoOf(defaultLocalization$1).
|
|
6665
|
-
protoOf(defaultLocalization$1).
|
|
6666
|
-
protoOf(defaultLocalization$1).
|
|
6667
|
-
protoOf(defaultLocalization$1).
|
|
6668
|
-
protoOf(defaultLocalization$1).
|
|
6669
|
-
protoOf(defaultLocalization$1).
|
|
6670
|
-
protoOf(defaultLocalization$1).
|
|
6671
|
-
protoOf(defaultLocalization$1).
|
|
6672
|
-
protoOf(defaultLocalization$1).
|
|
6673
|
-
protoOf(defaultLocalization$1).
|
|
6674
|
-
protoOf(defaultLocalization$1).
|
|
6675
|
-
protoOf(defaultLocalization$1).
|
|
6676
|
-
protoOf(defaultLocalization$1).
|
|
6677
|
-
protoOf(defaultLocalization$1).
|
|
6678
|
-
protoOf(defaultLocalization$1).
|
|
6679
|
-
protoOf(defaultLocalization$1).
|
|
6680
|
-
protoOf(ProcessedArgumentImpl).
|
|
6681
|
-
protoOf(OptionWithValuesImpl).
|
|
6682
|
-
protoOf(OptionWithValuesImpl).
|
|
6683
|
-
protoOf(OptionWithValuesImpl).
|
|
6684
|
-
protoOf(OptionWithValuesImpl).
|
|
6647
|
+
protoOf(defaultLocalization$1).h3y = usageError;
|
|
6648
|
+
protoOf(defaultLocalization$1).n3v = badParameter;
|
|
6649
|
+
protoOf(defaultLocalization$1).l3v = badParameterWithMessage;
|
|
6650
|
+
protoOf(defaultLocalization$1).m3v = badParameterWithParam;
|
|
6651
|
+
protoOf(defaultLocalization$1).k3v = badParameterWithMessageAndParam;
|
|
6652
|
+
protoOf(defaultLocalization$1).e3x = missingOption;
|
|
6653
|
+
protoOf(defaultLocalization$1).l3w = missingArgument;
|
|
6654
|
+
protoOf(defaultLocalization$1).u3v = noSuchSubcommand;
|
|
6655
|
+
protoOf(defaultLocalization$1).a3w = noSuchOption;
|
|
6656
|
+
protoOf(defaultLocalization$1).g3w = incorrectOptionValueCount;
|
|
6657
|
+
protoOf(defaultLocalization$1).r3w = incorrectArgumentValueCount;
|
|
6658
|
+
protoOf(defaultLocalization$1).n3u = fileNotFound;
|
|
6659
|
+
protoOf(defaultLocalization$1).z3w = invalidFileFormat;
|
|
6660
|
+
protoOf(defaultLocalization$1).y3w = invalidFileFormat_0;
|
|
6661
|
+
protoOf(defaultLocalization$1).i3y = unclosedQuote;
|
|
6662
|
+
protoOf(defaultLocalization$1).j3y = fileEndsWithSlash;
|
|
6663
|
+
protoOf(defaultLocalization$1).k3y = extraArgumentOne;
|
|
6664
|
+
protoOf(defaultLocalization$1).l3y = extraArgumentMany;
|
|
6665
|
+
protoOf(defaultLocalization$1).m3y = invalidFlagValueInFile;
|
|
6666
|
+
protoOf(defaultLocalization$1).n3y = boolConversionError;
|
|
6667
|
+
protoOf(defaultLocalization$1).o3y = invalidChoice;
|
|
6668
|
+
protoOf(defaultLocalization$1).p3y = stringMetavar;
|
|
6669
|
+
protoOf(defaultLocalization$1).q3y = intMetavar;
|
|
6670
|
+
protoOf(defaultLocalization$1).r3y = usageTitle;
|
|
6671
|
+
protoOf(defaultLocalization$1).s3y = optionsTitle;
|
|
6672
|
+
protoOf(defaultLocalization$1).t3y = argumentsTitle;
|
|
6673
|
+
protoOf(defaultLocalization$1).u3y = commandsTitle;
|
|
6674
|
+
protoOf(defaultLocalization$1).v3y = optionsMetavar;
|
|
6675
|
+
protoOf(defaultLocalization$1).w3y = commandMetavar;
|
|
6676
|
+
protoOf(defaultLocalization$1).x3y = argumentsMetavar;
|
|
6677
|
+
protoOf(defaultLocalization$1).y3y = helpTagDefault;
|
|
6678
|
+
protoOf(defaultLocalization$1).z3y = helpTagRequired;
|
|
6679
|
+
protoOf(defaultLocalization$1).o3r = helpOptionMessage;
|
|
6680
|
+
protoOf(ProcessedArgumentImpl).e41 = copy$default;
|
|
6681
|
+
protoOf(OptionWithValuesImpl).e42 = copy$default_0;
|
|
6682
|
+
protoOf(OptionWithValuesImpl).f42 = copy$default_1;
|
|
6683
|
+
protoOf(OptionWithValuesImpl).l42 = getValue_0;
|
|
6684
|
+
protoOf(OptionWithValuesImpl).v3r = parameterHelp;
|
|
6685
6685
|
//endregion
|
|
6686
6686
|
//region block: init
|
|
6687
6687
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|