@flock/wirespec 0.9.9 → 0.9.11
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 +1123 -1123
- package/colormath-root-colormath.js +331 -331
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-rgxgen.js +1760 -1760
- package/markdown.js +1792 -1792
- package/mordant-mordant.js +1488 -1488
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +85 -55
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +120 -120
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-generator.js +9 -9
- package/wirespec-src-generator.js.map +1 -1
- package/wirespec-src-plugin-cli.js +76 -76
- package/wirespec-src-plugin-npm.js +1 -1
package/clikt-clikt.js
CHANGED
|
@@ -192,24 +192,24 @@
|
|
|
192
192
|
}
|
|
193
193
|
function parameterHelp(context) {
|
|
194
194
|
var tmp;
|
|
195
|
-
if (this.
|
|
195
|
+
if (this.x3o()) {
|
|
196
196
|
tmp = null;
|
|
197
197
|
} else {
|
|
198
|
-
var tmp_0 = this.
|
|
199
|
-
var tmp_1 = this.
|
|
200
|
-
var tmp_2 = this.
|
|
201
|
-
var tmp_3 = this.
|
|
202
|
-
var tmp_4 = this.
|
|
203
|
-
var tmp_5 = this.
|
|
204
|
-
var tmp_6 = this.
|
|
205
|
-
var tmp_7 = this.
|
|
198
|
+
var tmp_0 = this.a3o();
|
|
199
|
+
var tmp_1 = this.b3o();
|
|
200
|
+
var tmp_2 = this.z3z(context);
|
|
201
|
+
var tmp_3 = this.i3p(context);
|
|
202
|
+
var tmp_4 = this.z3o();
|
|
203
|
+
var tmp_5 = this.s3y();
|
|
204
|
+
var tmp_6 = this.x3p();
|
|
205
|
+
var tmp_7 = this.b40();
|
|
206
206
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
207
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
207
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x3r();
|
|
208
208
|
var tmp_8;
|
|
209
209
|
if (tmp3_elvis_lhs == null) {
|
|
210
210
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
211
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
212
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
211
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y3r();
|
|
212
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.x3r();
|
|
213
213
|
} else {
|
|
214
214
|
tmp_8 = tmp3_elvis_lhs;
|
|
215
215
|
}
|
|
@@ -379,19 +379,19 @@
|
|
|
379
379
|
setMetadataFor(Argument_0, 'Argument', interfaceMeta);
|
|
380
380
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
381
381
|
name = name === VOID ? this.wa() : name;
|
|
382
|
-
nvalues = nvalues === VOID ? this.
|
|
383
|
-
required = required === VOID ? this.
|
|
384
|
-
helpGetter = helpGetter === VOID ? this.
|
|
385
|
-
helpTags = helpTags === VOID ? this.
|
|
386
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
387
|
-
return $super === VOID ? this.
|
|
382
|
+
nvalues = nvalues === VOID ? this.z3o() : nvalues;
|
|
383
|
+
required = required === VOID ? this.k3y() : required;
|
|
384
|
+
helpGetter = helpGetter === VOID ? this.n3y() : helpGetter;
|
|
385
|
+
helpTags = helpTags === VOID ? this.s3y() : helpTags;
|
|
386
|
+
completionCandidates = completionCandidates === VOID ? this.p3y() : completionCandidates;
|
|
387
|
+
return $super === VOID ? this.q3y(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.q3y.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
388
388
|
}
|
|
389
389
|
setMetadataFor(ProcessedArgument, 'ProcessedArgument', interfaceMeta, VOID, [Argument_0]);
|
|
390
390
|
setMetadataFor(ArgumentTransformContext, 'ArgumentTransformContext', classMeta, VOID, [Argument_0]);
|
|
391
391
|
setMetadataFor(ProcessedArgumentImpl, 'ProcessedArgumentImpl', classMeta, VOID, [ProcessedArgument]);
|
|
392
392
|
function parameterHelp_0(context) {
|
|
393
|
-
var n = this.
|
|
394
|
-
var h = this.
|
|
393
|
+
var n = this.x3r();
|
|
394
|
+
var h = this.p3z();
|
|
395
395
|
return (n == null ? true : h == null) ? null : new Group(n, h);
|
|
396
396
|
}
|
|
397
397
|
setMetadataFor(ParameterGroup, 'ParameterGroup', interfaceMeta);
|
|
@@ -407,39 +407,39 @@
|
|
|
407
407
|
setMetadataFor(Envvar, 'Envvar', classMeta, FinalValue);
|
|
408
408
|
setMetadataFor(OptionTransformContext, 'OptionTransformContext', classMeta, VOID, [Option_0]);
|
|
409
409
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
410
|
-
names = names === VOID ? this.
|
|
411
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
412
|
-
nvalues = nvalues === VOID ? this.
|
|
413
|
-
helpGetter = helpGetter === VOID ? this.
|
|
414
|
-
hidden = hidden === VOID ? this.
|
|
415
|
-
helpTags = helpTags === VOID ? this.
|
|
416
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
417
|
-
envvar = envvar === VOID ? this.
|
|
418
|
-
valueSplit = valueSplit === VOID ? this.
|
|
419
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
420
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
421
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
422
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
423
|
-
eager = eager === VOID ? this.
|
|
424
|
-
return $super === VOID ? this.
|
|
410
|
+
names = names === VOID ? this.a3o() : names;
|
|
411
|
+
metavarGetter = metavarGetter === VOID ? this.k40() : metavarGetter;
|
|
412
|
+
nvalues = nvalues === VOID ? this.z3o() : nvalues;
|
|
413
|
+
helpGetter = helpGetter === VOID ? this.n3y() : helpGetter;
|
|
414
|
+
hidden = hidden === VOID ? this.x3o() : hidden;
|
|
415
|
+
helpTags = helpTags === VOID ? this.s3y() : helpTags;
|
|
416
|
+
valueSourceKey = valueSourceKey === VOID ? this.n40() : valueSourceKey;
|
|
417
|
+
envvar = envvar === VOID ? this.i40() : envvar;
|
|
418
|
+
valueSplit = valueSplit === VOID ? this.l40() : valueSplit;
|
|
419
|
+
completionCandidates = completionCandidates === VOID ? this.p3y() : completionCandidates;
|
|
420
|
+
secondaryNames = secondaryNames === VOID ? this.b3o() : secondaryNames;
|
|
421
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.x3p() : acceptsNumberValueWithoutName;
|
|
422
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.b40() : acceptsUnattachedValue;
|
|
423
|
+
eager = eager === VOID ? this.a40() : eager;
|
|
424
|
+
return $super === VOID ? this.m40(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.m40.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
425
425
|
}
|
|
426
426
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
427
|
-
validator = validator === VOID ? this.
|
|
428
|
-
names = names === VOID ? this.
|
|
429
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
430
|
-
nvalues = nvalues === VOID ? this.
|
|
431
|
-
helpGetter = helpGetter === VOID ? this.
|
|
432
|
-
hidden = hidden === VOID ? this.
|
|
433
|
-
helpTags = helpTags === VOID ? this.
|
|
434
|
-
envvar = envvar === VOID ? this.
|
|
435
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
436
|
-
valueSplit = valueSplit === VOID ? this.
|
|
437
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
438
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
439
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
440
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
441
|
-
eager = eager === VOID ? this.
|
|
442
|
-
return $super === VOID ? this.
|
|
427
|
+
validator = validator === VOID ? this.j40() : validator;
|
|
428
|
+
names = names === VOID ? this.a3o() : names;
|
|
429
|
+
metavarGetter = metavarGetter === VOID ? this.k40() : metavarGetter;
|
|
430
|
+
nvalues = nvalues === VOID ? this.z3o() : nvalues;
|
|
431
|
+
helpGetter = helpGetter === VOID ? this.n3y() : helpGetter;
|
|
432
|
+
hidden = hidden === VOID ? this.x3o() : hidden;
|
|
433
|
+
helpTags = helpTags === VOID ? this.s3y() : helpTags;
|
|
434
|
+
envvar = envvar === VOID ? this.i40() : envvar;
|
|
435
|
+
valueSourceKey = valueSourceKey === VOID ? this.n40() : valueSourceKey;
|
|
436
|
+
valueSplit = valueSplit === VOID ? this.l40() : valueSplit;
|
|
437
|
+
completionCandidates = completionCandidates === VOID ? this.p3y() : completionCandidates;
|
|
438
|
+
secondaryNames = secondaryNames === VOID ? this.b3o() : secondaryNames;
|
|
439
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.x3p() : acceptsNumberValueWithoutName;
|
|
440
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.b40() : acceptsUnattachedValue;
|
|
441
|
+
eager = eager === VOID ? this.a40() : eager;
|
|
442
|
+
return $super === VOID ? this.o40(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.o40.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
443
443
|
}
|
|
444
444
|
setMetadataFor(OptionWithValues, 'OptionWithValues', interfaceMeta, VOID, [OptionDelegate]);
|
|
445
445
|
setMetadataFor(OptionCallTransformContext, 'OptionCallTransformContext', classMeta, VOID, [Option_0]);
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
setMetadataFor(BrowserMppImpls, 'BrowserMppImpls', objectMeta);
|
|
457
457
|
//endregion
|
|
458
458
|
function commandCompletionFuncName($this, command) {
|
|
459
|
-
var tmp = command.
|
|
459
|
+
var tmp = command.z3n();
|
|
460
460
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
461
461
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
462
462
|
var isTopLevel = ancestors.n() === 1;
|
|
@@ -467,35 +467,35 @@
|
|
|
467
467
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').q8(name, '_');
|
|
468
468
|
}
|
|
469
469
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
470
|
-
return plus(_this__u8e3s4.
|
|
470
|
+
return plus(_this__u8e3s4.a3o(), _this__u8e3s4.b3o());
|
|
471
471
|
}
|
|
472
472
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
473
473
|
return "'" + it + "'";
|
|
474
474
|
}
|
|
475
475
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
476
|
-
return it.
|
|
476
|
+
return it.c3o_1;
|
|
477
477
|
}
|
|
478
478
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
479
|
-
return it.
|
|
479
|
+
return it.d3o_1.p3n_1;
|
|
480
480
|
}
|
|
481
481
|
function BashCompletionGenerator() {
|
|
482
482
|
BashCompletionGenerator_instance = this;
|
|
483
483
|
}
|
|
484
|
-
protoOf(BashCompletionGenerator).
|
|
485
|
-
var commandName = command.
|
|
484
|
+
protoOf(BashCompletionGenerator).w3o = function (command, zsh) {
|
|
485
|
+
var commandName = command.p3n_1;
|
|
486
486
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
487
487
|
var isTopLevel = tmp0_container.gd();
|
|
488
488
|
var funcName = tmp0_container.hd();
|
|
489
489
|
// Inline function 'kotlin.collections.map' call
|
|
490
490
|
// Inline function 'kotlin.collections.filterNot' call
|
|
491
|
-
var tmp0_filterNot = command.
|
|
491
|
+
var tmp0_filterNot = command.t3n_1;
|
|
492
492
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
493
493
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
494
494
|
var tmp0_iterator = tmp0_filterNot.v();
|
|
495
495
|
while (tmp0_iterator.w()) {
|
|
496
496
|
var element = tmp0_iterator.y();
|
|
497
497
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
498
|
-
if (!element.
|
|
498
|
+
if (!element.x3o()) {
|
|
499
499
|
tmp0_filterNotTo.s(element);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
@@ -506,12 +506,12 @@
|
|
|
506
506
|
var item = tmp0_iterator_0.y();
|
|
507
507
|
var tmp$ret$3;
|
|
508
508
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
509
|
-
tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_getInstance()), item.
|
|
509
|
+
tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_getInstance()), item.y3o(), item.z3o());
|
|
510
510
|
tmp0_mapTo.s(tmp$ret$3);
|
|
511
511
|
}
|
|
512
512
|
var options = tmp0_mapTo;
|
|
513
513
|
// Inline function 'kotlin.collections.map' call
|
|
514
|
-
var tmp2_map = command.
|
|
514
|
+
var tmp2_map = command.u3n_1;
|
|
515
515
|
// Inline function 'kotlin.collections.mapTo' call
|
|
516
516
|
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp2_map, 10));
|
|
517
517
|
var tmp0_iterator_1 = tmp2_map.v();
|
|
@@ -519,12 +519,12 @@
|
|
|
519
519
|
var item_0 = tmp0_iterator_1.y();
|
|
520
520
|
var tmp$ret$6;
|
|
521
521
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
522
|
-
tmp$ret$6 = to(item_0.wa(), item_0.
|
|
522
|
+
tmp$ret$6 = to(item_0.wa(), item_0.y3o());
|
|
523
523
|
tmp0_mapTo_0.s(tmp$ret$6);
|
|
524
524
|
}
|
|
525
525
|
var arguments_0 = tmp0_mapTo_0;
|
|
526
526
|
// Inline function 'kotlin.collections.map' call
|
|
527
|
-
var tmp3_map = command.
|
|
527
|
+
var tmp3_map = command.s3n_1;
|
|
528
528
|
// Inline function 'kotlin.collections.mapTo' call
|
|
529
529
|
var tmp0_mapTo_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
|
|
530
530
|
var tmp0_iterator_2 = tmp3_map.v();
|
|
@@ -532,19 +532,19 @@
|
|
|
532
532
|
var item_1 = tmp0_iterator_2.y();
|
|
533
533
|
var tmp$ret$9;
|
|
534
534
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
535
|
-
tmp$ret$9 = item_1.
|
|
535
|
+
tmp$ret$9 = item_1.p3n_1;
|
|
536
536
|
tmp0_mapTo_1.s(tmp$ret$9);
|
|
537
537
|
}
|
|
538
538
|
var subcommands = tmp0_mapTo_1;
|
|
539
539
|
// Inline function 'kotlin.collections.flatMap' call
|
|
540
540
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
541
|
-
var tmp4_takeWhile = command.
|
|
541
|
+
var tmp4_takeWhile = command.u3n_1;
|
|
542
542
|
var list = ArrayList_init_$Create$();
|
|
543
543
|
var tmp0_iterator_3 = tmp4_takeWhile.v();
|
|
544
544
|
$l$loop: while (tmp0_iterator_3.w()) {
|
|
545
545
|
var item_2 = tmp0_iterator_3.y();
|
|
546
546
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
547
|
-
if (!(item_2.
|
|
547
|
+
if (!(item_2.z3o() > 0))
|
|
548
548
|
break $l$loop;
|
|
549
549
|
list.s(item_2);
|
|
550
550
|
}
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
var element_0 = tmp0_iterator_4.y();
|
|
556
556
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
557
557
|
// Inline function 'kotlin.collections.map' call
|
|
558
|
-
var tmp0_map = numberRangeToNumber(1, element_0.
|
|
558
|
+
var tmp0_map = numberRangeToNumber(1, element_0.z3o());
|
|
559
559
|
// Inline function 'kotlin.collections.mapTo' call
|
|
560
560
|
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
561
561
|
var inductionVariable = tmp0_map.v9_1;
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
var fixedArgNameArray = joinToString(tmp0_flatMapTo, ' ');
|
|
577
577
|
// Inline function 'kotlin.text.orEmpty' call
|
|
578
578
|
// Inline function 'kotlin.collections.find' call
|
|
579
|
-
var tmp6_find = command.
|
|
579
|
+
var tmp6_find = command.u3n_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.w()) {
|
|
585
585
|
var element_1 = tmp0_iterator_5.y();
|
|
586
586
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
587
|
-
if (element_1.
|
|
587
|
+
if (element_1.z3o() < 0) {
|
|
588
588
|
tmp$ret$21 = element_1;
|
|
589
589
|
break $l$block;
|
|
590
590
|
}
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
var name = tmp1_loop_parameter.gd();
|
|
655
655
|
var candidate = tmp1_loop_parameter.hd();
|
|
656
656
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
657
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
657
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a3p_1;
|
|
658
658
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
659
659
|
var tmp;
|
|
660
660
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
}
|
|
713
713
|
tmp0_apply.f5(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
714
714
|
// Inline function 'kotlin.collections.iterator' call
|
|
715
|
-
var tmp7_iterator = command.
|
|
715
|
+
var tmp7_iterator = command.b3p().n2().v();
|
|
716
716
|
while (tmp7_iterator.w()) {
|
|
717
717
|
var tmp8_loop_parameter = tmp7_iterator.y();
|
|
718
718
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -723,18 +723,18 @@
|
|
|
723
723
|
joinTo(toks, tmp0_apply, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
724
724
|
tmp0_apply.f5(' "${COMP_WORDS[@]:${i}}" )').f5('\n');
|
|
725
725
|
tmp0_apply.f5(' (( COMP_CWORD = COMP_CWORD + ' + toks.n() + ' ))\n');
|
|
726
|
-
if (!command.
|
|
726
|
+
if (!command.z3n().e3o_1) {
|
|
727
727
|
tmp0_apply.f5(' can_parse_options=0\n');
|
|
728
728
|
}
|
|
729
729
|
tmp0_apply.f5(' ;;\n');
|
|
730
730
|
}
|
|
731
|
-
var tmp9_iterator = command.
|
|
731
|
+
var tmp9_iterator = command.s3n_1.v();
|
|
732
732
|
while (tmp9_iterator.w()) {
|
|
733
733
|
var sub = tmp9_iterator.y();
|
|
734
|
-
tmp0_apply.f5(trimMargin('\n | ' + sub.
|
|
734
|
+
tmp0_apply.f5(trimMargin('\n | ' + sub.p3n_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_getInstance(), sub).td_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
735
735
|
}
|
|
736
736
|
tmp0_apply.f5(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
737
|
-
if (!command.
|
|
737
|
+
if (!command.z3n().e3o_1) {
|
|
738
738
|
tmp0_apply.f5(' can_parse_options=0\n');
|
|
739
739
|
}
|
|
740
740
|
tmp0_apply.f5(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -795,11 +795,11 @@
|
|
|
795
795
|
} else {
|
|
796
796
|
if (completion instanceof Fixed) {
|
|
797
797
|
tmp0_apply.f5(" COMPREPLY=($(compgen -W '");
|
|
798
|
-
joinTo(completion.
|
|
798
|
+
joinTo(completion.c3p_1, tmp0_apply, ' ');
|
|
799
799
|
tmp0_apply.f5('\' -- "${word}"))\n');
|
|
800
800
|
} else {
|
|
801
801
|
if (completion instanceof Custom) {
|
|
802
|
-
if (!(completion.
|
|
802
|
+
if (!(completion.a3p_1(ShellType_BASH_getInstance()) == null)) {
|
|
803
803
|
var fname = customParamCompletionName(BashCompletionGenerator_getInstance(), funcName, name_1);
|
|
804
804
|
tmp0_apply.f5(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
805
805
|
}
|
|
@@ -818,10 +818,10 @@
|
|
|
818
818
|
tmp0_apply.f5('\' -- "${word}"))\n ;;\n');
|
|
819
819
|
}
|
|
820
820
|
tmp0_apply.f5(' esac\n}\n');
|
|
821
|
-
var tmp13_iterator = command.
|
|
821
|
+
var tmp13_iterator = command.s3n_1.v();
|
|
822
822
|
while (tmp13_iterator.w()) {
|
|
823
823
|
var subcommand = tmp13_iterator.y();
|
|
824
|
-
tmp0_apply.f5(BashCompletionGenerator_getInstance().
|
|
824
|
+
tmp0_apply.f5(BashCompletionGenerator_getInstance().w3o(subcommand, zsh));
|
|
825
825
|
}
|
|
826
826
|
if (isTopLevel) {
|
|
827
827
|
tmp0_apply.f5('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -953,13 +953,13 @@
|
|
|
953
953
|
}
|
|
954
954
|
function Fixed(candidates) {
|
|
955
955
|
CompletionCandidates.call(this);
|
|
956
|
-
this.
|
|
956
|
+
this.c3p_1 = candidates;
|
|
957
957
|
}
|
|
958
958
|
protoOf(Fixed).toString = function () {
|
|
959
|
-
return 'Fixed(candidates=' + this.
|
|
959
|
+
return 'Fixed(candidates=' + this.c3p_1 + ')';
|
|
960
960
|
};
|
|
961
961
|
protoOf(Fixed).hashCode = function () {
|
|
962
|
-
return hashCode(this.
|
|
962
|
+
return hashCode(this.c3p_1);
|
|
963
963
|
};
|
|
964
964
|
protoOf(Fixed).equals = function (other) {
|
|
965
965
|
if (this === other)
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
if (!(other instanceof Fixed))
|
|
968
968
|
return false;
|
|
969
969
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
970
|
-
if (!equals(this.
|
|
970
|
+
if (!equals(this.c3p_1, tmp0_other_with_cast.c3p_1))
|
|
971
971
|
return false;
|
|
972
972
|
return true;
|
|
973
973
|
};
|
|
@@ -978,20 +978,20 @@
|
|
|
978
978
|
function CompletionGenerator() {
|
|
979
979
|
CompletionGenerator_instance = this;
|
|
980
980
|
}
|
|
981
|
-
protoOf(CompletionGenerator).
|
|
981
|
+
protoOf(CompletionGenerator).d3p = function (command, shell) {
|
|
982
982
|
// Inline function 'kotlin.text.lowercase' call
|
|
983
983
|
// Inline function 'kotlin.text.trim' call
|
|
984
984
|
// Inline function 'kotlin.js.asDynamic' call
|
|
985
985
|
var message;
|
|
986
986
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
987
987
|
case 'fish':
|
|
988
|
-
message = FishCompletionGenerator_getInstance().
|
|
988
|
+
message = FishCompletionGenerator_getInstance().e3p(command);
|
|
989
989
|
break;
|
|
990
990
|
case 'zsh':
|
|
991
|
-
message = BashCompletionGenerator_getInstance().
|
|
991
|
+
message = BashCompletionGenerator_getInstance().w3o(command, true);
|
|
992
992
|
break;
|
|
993
993
|
default:
|
|
994
|
-
message = BashCompletionGenerator_getInstance().
|
|
994
|
+
message = BashCompletionGenerator_getInstance().w3o(command, false);
|
|
995
995
|
break;
|
|
996
996
|
}
|
|
997
997
|
throw new PrintCompletionMessage(message);
|
|
@@ -1009,29 +1009,29 @@
|
|
|
1009
1009
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1010
1010
|
// Inline function 'kotlin.contracts.contract' call
|
|
1011
1011
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
1012
|
-
var parentCommandName = lastOrNull(command.
|
|
1013
|
-
var rootCommandName = first_0(command.
|
|
1012
|
+
var parentCommandName = lastOrNull(command.z3n().f3p());
|
|
1013
|
+
var rootCommandName = first_0(command.z3n().g3p());
|
|
1014
1014
|
var isTopLevel = parentCommandName == null;
|
|
1015
|
-
var commandName = command.
|
|
1015
|
+
var commandName = command.p3n_1;
|
|
1016
1016
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1017
|
-
var tmp0_filterNot = command.
|
|
1017
|
+
var tmp0_filterNot = command.t3n_1;
|
|
1018
1018
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1019
1019
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
1020
1020
|
var tmp0_iterator = tmp0_filterNot.v();
|
|
1021
1021
|
while (tmp0_iterator.w()) {
|
|
1022
1022
|
var element = tmp0_iterator.y();
|
|
1023
1023
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1024
|
-
if (!element.
|
|
1024
|
+
if (!element.x3o()) {
|
|
1025
1025
|
tmp0_filterNotTo.s(element);
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
1028
|
var options = tmp0_filterNotTo;
|
|
1029
|
-
var arguments_0 = command.
|
|
1030
|
-
var subcommands = command.
|
|
1029
|
+
var arguments_0 = command.u3n_1;
|
|
1030
|
+
var subcommands = command.s3n_1;
|
|
1031
1031
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1032
1032
|
var hasSubcommands = !subcommands.c1();
|
|
1033
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1034
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1033
|
+
var subcommandsVarName_0 = subcommandsVarName(command.z3n().g3p(), FishCompletionGenerator_getInstance());
|
|
1034
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.z3n().f3p(), FishCompletionGenerator_getInstance());
|
|
1035
1035
|
if (isTopLevel) {
|
|
1036
1036
|
// Inline function 'kotlin.text.appendLine' call
|
|
1037
1037
|
var tmp1_appendLine = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
tmp0_apply.f5('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1060
1060
|
}
|
|
1061
1061
|
tmp0_apply.f5('-a ' + commandName + ' ');
|
|
1062
|
-
var help = replace_0(command.
|
|
1062
|
+
var help = replace_0(command.h3p(command.z3n()), "'", "\\'");
|
|
1063
1063
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1064
1064
|
if (!isBlank(help)) {
|
|
1065
1065
|
tmp0_apply.f5("-d '" + help + "'");
|
|
@@ -1155,11 +1155,11 @@
|
|
|
1155
1155
|
}
|
|
1156
1156
|
tmp0_apply.f5(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1157
1157
|
}
|
|
1158
|
-
if (option.
|
|
1158
|
+
if (option.z3o().v9_1 > 0) {
|
|
1159
1159
|
tmp0_apply.f5(' -r');
|
|
1160
1160
|
}
|
|
1161
|
-
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), option.
|
|
1162
|
-
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), option.
|
|
1161
|
+
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), option.y3o());
|
|
1162
|
+
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), option.i3p(command.z3n()));
|
|
1163
1163
|
// Inline function 'kotlin.text.appendLine' call
|
|
1164
1164
|
tmp0_apply.g5(_Char___init__impl__6a9atx(10));
|
|
1165
1165
|
}
|
|
@@ -1174,8 +1174,8 @@
|
|
|
1174
1174
|
while (tmp2_iterator.w()) {
|
|
1175
1175
|
var argument = tmp2_iterator.y();
|
|
1176
1176
|
appendCompleteCall(tmp0_apply, FishCompletionGenerator_getInstance(), rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1177
|
-
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), argument.
|
|
1178
|
-
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), argument.
|
|
1177
|
+
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), argument.y3o());
|
|
1178
|
+
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), argument.j3p(command.z3n()));
|
|
1179
1179
|
// Inline function 'kotlin.text.appendLine' call
|
|
1180
1180
|
tmp0_apply.g5(_Char___init__impl__6a9atx(10));
|
|
1181
1181
|
}
|
|
@@ -1236,10 +1236,10 @@
|
|
|
1236
1236
|
_this__u8e3s4.f5(' -fa "(__fish_complete_users)"');
|
|
1237
1237
|
} else {
|
|
1238
1238
|
if (completion instanceof Fixed) {
|
|
1239
|
-
joinTo(completion.
|
|
1239
|
+
joinTo(completion.c3p_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1240
1240
|
} else {
|
|
1241
1241
|
if (completion instanceof Custom) {
|
|
1242
|
-
var customCompletion = completion.
|
|
1242
|
+
var customCompletion = completion.a3p_1(ShellType_FISH_getInstance());
|
|
1243
1243
|
_this__u8e3s4.f5(' -fa ' + customCompletion);
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
@@ -1255,11 +1255,11 @@
|
|
|
1255
1255
|
var tmp;
|
|
1256
1256
|
var tmp_0;
|
|
1257
1257
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1258
|
-
if (!_this__u8e3s4.
|
|
1258
|
+
if (!_this__u8e3s4.u3n_1.c1()) {
|
|
1259
1259
|
tmp_0 = true;
|
|
1260
1260
|
} else {
|
|
1261
1261
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1262
|
-
tmp_0 = !_this__u8e3s4.
|
|
1262
|
+
tmp_0 = !_this__u8e3s4.s3n_1.c1();
|
|
1263
1263
|
}
|
|
1264
1264
|
if (tmp_0) {
|
|
1265
1265
|
tmp = true;
|
|
@@ -1268,7 +1268,7 @@
|
|
|
1268
1268
|
$l$block_0: {
|
|
1269
1269
|
// Inline function 'kotlin.collections.any' call
|
|
1270
1270
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1271
|
-
var tmp2_flatMap = _this__u8e3s4.
|
|
1271
|
+
var tmp2_flatMap = _this__u8e3s4.t3n_1;
|
|
1272
1272
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1273
1273
|
var tmp0_flatMapTo = ArrayList_init_$Create$();
|
|
1274
1274
|
var tmp0_iterator = tmp2_flatMap.v();
|
|
@@ -1307,10 +1307,10 @@
|
|
|
1307
1307
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1308
1308
|
}
|
|
1309
1309
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1310
|
-
return plus(_this__u8e3s4.
|
|
1310
|
+
return plus(_this__u8e3s4.a3o(), _this__u8e3s4.b3o());
|
|
1311
1311
|
}
|
|
1312
1312
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1313
|
-
return it.
|
|
1313
|
+
return it.p3n_1;
|
|
1314
1314
|
}
|
|
1315
1315
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1316
1316
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
function FishCompletionGenerator() {
|
|
1320
1320
|
FishCompletionGenerator_instance = this;
|
|
1321
1321
|
}
|
|
1322
|
-
protoOf(FishCompletionGenerator).
|
|
1322
|
+
protoOf(FishCompletionGenerator).e3p = function (command) {
|
|
1323
1323
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1324
1324
|
return '';
|
|
1325
1325
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1332,30 +1332,30 @@
|
|
|
1332
1332
|
}
|
|
1333
1333
|
function registeredOptionNames($this) {
|
|
1334
1334
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1335
|
-
var tmp0_flatMapTo = $this.
|
|
1335
|
+
var tmp0_flatMapTo = $this.t3n_1;
|
|
1336
1336
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1337
1337
|
var tmp1_flatMapTo = LinkedHashSet_init_$Create$();
|
|
1338
1338
|
var tmp0_iterator = tmp0_flatMapTo.v();
|
|
1339
1339
|
while (tmp0_iterator.w()) {
|
|
1340
1340
|
var element = tmp0_iterator.y();
|
|
1341
1341
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1342
|
-
var list = element.
|
|
1342
|
+
var list = element.a3o();
|
|
1343
1343
|
addAll(tmp1_flatMapTo, list);
|
|
1344
1344
|
}
|
|
1345
1345
|
return tmp1_flatMapTo;
|
|
1346
1346
|
}
|
|
1347
1347
|
function createContext($this, argv, parent, ancestors) {
|
|
1348
|
-
$this.
|
|
1349
|
-
if ($this.
|
|
1348
|
+
$this.x3n_1 = Companion_getInstance_0().k3p($this, parent, argv, $this.w3n_1);
|
|
1349
|
+
if ($this.m3n_1) {
|
|
1350
1350
|
// Inline function 'kotlin.require' call
|
|
1351
1351
|
var tmp$ret$1;
|
|
1352
1352
|
$l$block: {
|
|
1353
1353
|
// Inline function 'kotlin.sequences.none' call
|
|
1354
|
-
var tmp0_iterator = $this.
|
|
1354
|
+
var tmp0_iterator = $this.z3n().l3p().v();
|
|
1355
1355
|
while (tmp0_iterator.w()) {
|
|
1356
1356
|
var element = tmp0_iterator.y();
|
|
1357
1357
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1358
|
-
if (element.
|
|
1358
|
+
if (element.d3o_1.m3n_1) {
|
|
1359
1359
|
tmp$ret$1 = false;
|
|
1360
1360
|
break $l$block;
|
|
1361
1361
|
}
|
|
@@ -1370,48 +1370,48 @@
|
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
1372
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1373
|
-
if (!$this.
|
|
1374
|
-
var names = minus($this.
|
|
1373
|
+
if (!$this.z3n().i3o_1.c1()) {
|
|
1374
|
+
var names = minus($this.z3n().i3o_1, registeredOptionNames($this));
|
|
1375
1375
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1376
1376
|
if (!names.c1()) {
|
|
1377
|
-
var tmp = $this.
|
|
1377
|
+
var tmp = $this.z3n().q3o_1.m3p();
|
|
1378
1378
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
|
-
var tmp0_iterator_0 = $this.
|
|
1381
|
+
var tmp0_iterator_0 = $this.s3n_1.v();
|
|
1382
1382
|
while (tmp0_iterator_0.w()) {
|
|
1383
1383
|
var command = tmp0_iterator_0.y();
|
|
1384
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1384
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.d3o_1));
|
|
1385
1385
|
// Inline function 'kotlin.check' call
|
|
1386
1386
|
// Inline function 'kotlin.contracts.contract' call
|
|
1387
1387
|
if (!!a.r(command)) {
|
|
1388
1388
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1389
|
-
var message_0 = 'Command ' + command.
|
|
1389
|
+
var message_0 = 'Command ' + command.p3n_1 + ' already registered';
|
|
1390
1390
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1391
1391
|
}
|
|
1392
|
-
createContext(command, argv, $this.
|
|
1392
|
+
createContext(command, argv, $this.z3n(), a);
|
|
1393
1393
|
}
|
|
1394
|
-
return ensureNotNull($this.
|
|
1394
|
+
return ensureNotNull($this.x3n_1);
|
|
1395
1395
|
}
|
|
1396
1396
|
function getCommandNameWithParents($this) {
|
|
1397
|
-
if ($this.
|
|
1397
|
+
if ($this.x3n_1 == null) {
|
|
1398
1398
|
createContext($this, emptyList(), null, emptyList());
|
|
1399
1399
|
}
|
|
1400
|
-
return joinToString($this.
|
|
1400
|
+
return joinToString($this.z3n().g3p(), ' ');
|
|
1401
1401
|
}
|
|
1402
1402
|
function generateCompletion($this) {
|
|
1403
|
-
if ($this.
|
|
1403
|
+
if ($this.l3n_1 == null)
|
|
1404
1404
|
return Unit_getInstance();
|
|
1405
1405
|
var tmp;
|
|
1406
|
-
if (isBlank($this.
|
|
1406
|
+
if (isBlank($this.l3n_1)) {
|
|
1407
1407
|
// Inline function 'kotlin.text.uppercase' call
|
|
1408
1408
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1409
|
-
tmp = '_' + replace_0($this.
|
|
1409
|
+
tmp = '_' + replace_0($this.p3n_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1410
1410
|
} else {
|
|
1411
|
-
tmp = $this.
|
|
1411
|
+
tmp = $this.l3n_1;
|
|
1412
1412
|
}
|
|
1413
1413
|
var envvar = tmp;
|
|
1414
|
-
var tmp0_elvis_lhs = $this.
|
|
1414
|
+
var tmp0_elvis_lhs = $this.z3n().r3o_1(envvar);
|
|
1415
1415
|
var tmp_0;
|
|
1416
1416
|
if (tmp0_elvis_lhs == null) {
|
|
1417
1417
|
return Unit_getInstance();
|
|
@@ -1419,13 +1419,13 @@
|
|
|
1419
1419
|
tmp_0 = tmp0_elvis_lhs;
|
|
1420
1420
|
}
|
|
1421
1421
|
var envval = tmp_0;
|
|
1422
|
-
CompletionGenerator_getInstance().
|
|
1422
|
+
CompletionGenerator_getInstance().d3p($this, envval);
|
|
1423
1423
|
}
|
|
1424
1424
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1425
1425
|
return Unit_getInstance();
|
|
1426
1426
|
}
|
|
1427
1427
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1428
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1428
|
+
throw new PrintHelpMessage($this$eagerOption.o3p_1);
|
|
1429
1429
|
}
|
|
1430
1430
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1431
1431
|
help = help === VOID ? '' : help;
|
|
@@ -1438,49 +1438,49 @@
|
|
|
1438
1438
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1439
1439
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1440
1440
|
hidden = hidden === VOID ? false : hidden;
|
|
1441
|
-
this.
|
|
1442
|
-
this.
|
|
1443
|
-
this.
|
|
1444
|
-
this.
|
|
1445
|
-
this.
|
|
1446
|
-
this.
|
|
1447
|
-
this.
|
|
1441
|
+
this.i3n_1 = invokeWithoutSubcommand;
|
|
1442
|
+
this.j3n_1 = printHelpOnEmptyArgs;
|
|
1443
|
+
this.k3n_1 = helpTags;
|
|
1444
|
+
this.l3n_1 = autoCompleteEnvvar;
|
|
1445
|
+
this.m3n_1 = allowMultipleSubcommands;
|
|
1446
|
+
this.n3n_1 = treatUnknownOptionsAsArgs;
|
|
1447
|
+
this.o3n_1 = hidden;
|
|
1448
1448
|
var tmp = this;
|
|
1449
|
-
tmp.
|
|
1450
|
-
this.
|
|
1451
|
-
this.
|
|
1452
|
-
this.
|
|
1449
|
+
tmp.p3n_1 = name == null ? inferCommandName(this) : name;
|
|
1450
|
+
this.q3n_1 = help;
|
|
1451
|
+
this.r3n_1 = epilog;
|
|
1452
|
+
this.s3n_1 = emptyList();
|
|
1453
1453
|
var tmp_0 = this;
|
|
1454
1454
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1455
|
-
tmp_0.
|
|
1455
|
+
tmp_0.t3n_1 = ArrayList_init_$Create$();
|
|
1456
1456
|
var tmp_1 = this;
|
|
1457
1457
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1458
|
-
tmp_1.
|
|
1458
|
+
tmp_1.u3n_1 = ArrayList_init_$Create$();
|
|
1459
1459
|
var tmp_2 = this;
|
|
1460
1460
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1461
|
-
tmp_2.
|
|
1461
|
+
tmp_2.v3n_1 = ArrayList_init_$Create$();
|
|
1462
1462
|
var tmp_3 = this;
|
|
1463
|
-
tmp_3.
|
|
1464
|
-
this.
|
|
1463
|
+
tmp_3.w3n_1 = CliktCommand$_contextConfig$lambda;
|
|
1464
|
+
this.x3n_1 = null;
|
|
1465
1465
|
var tmp_4 = this;
|
|
1466
1466
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1467
|
-
tmp_4.
|
|
1467
|
+
tmp_4.y3n_1 = ArrayList_init_$Create$();
|
|
1468
1468
|
}
|
|
1469
|
-
protoOf(CliktCommand).o3p = function () {
|
|
1470
|
-
return this.p3n_1;
|
|
1471
|
-
};
|
|
1472
|
-
protoOf(CliktCommand).g3p = function (context) {
|
|
1473
|
-
return this.o3p();
|
|
1474
|
-
};
|
|
1475
1469
|
protoOf(CliktCommand).p3p = function () {
|
|
1476
1470
|
return this.q3n_1;
|
|
1477
1471
|
};
|
|
1478
|
-
protoOf(CliktCommand).
|
|
1472
|
+
protoOf(CliktCommand).h3p = function (context) {
|
|
1479
1473
|
return this.p3p();
|
|
1480
1474
|
};
|
|
1481
|
-
protoOf(CliktCommand).
|
|
1475
|
+
protoOf(CliktCommand).q3p = function () {
|
|
1476
|
+
return this.r3n_1;
|
|
1477
|
+
};
|
|
1478
|
+
protoOf(CliktCommand).r3p = function (context) {
|
|
1479
|
+
return this.q3p();
|
|
1480
|
+
};
|
|
1481
|
+
protoOf(CliktCommand).s3p = function () {
|
|
1482
1482
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1483
|
-
var tmp0_mapNotNull = this.
|
|
1483
|
+
var tmp0_mapNotNull = this.t3n_1;
|
|
1484
1484
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1485
1485
|
var tmp0_mapNotNullTo = ArrayList_init_$Create$();
|
|
1486
1486
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1489,7 +1489,7 @@
|
|
|
1489
1489
|
var element = tmp0_iterator.y();
|
|
1490
1490
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1491
1491
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1492
|
-
var tmp0_safe_receiver = element.
|
|
1492
|
+
var tmp0_safe_receiver = element.t3p(this.z3n());
|
|
1493
1493
|
if (tmp0_safe_receiver == null)
|
|
1494
1494
|
null;
|
|
1495
1495
|
else {
|
|
@@ -1500,7 +1500,7 @@
|
|
|
1500
1500
|
}
|
|
1501
1501
|
var tmp = tmp0_mapNotNullTo;
|
|
1502
1502
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1503
|
-
var tmp1_mapNotNull = this.
|
|
1503
|
+
var tmp1_mapNotNull = this.u3n_1;
|
|
1504
1504
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1505
1505
|
var tmp0_mapNotNullTo_0 = ArrayList_init_$Create$();
|
|
1506
1506
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1509,7 +1509,7 @@
|
|
|
1509
1509
|
var element_0 = tmp0_iterator_0.y();
|
|
1510
1510
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1511
1511
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1512
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1512
|
+
var tmp0_safe_receiver_0 = element_0.t3p(this.z3n());
|
|
1513
1513
|
if (tmp0_safe_receiver_0 == null)
|
|
1514
1514
|
null;
|
|
1515
1515
|
else {
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
}
|
|
1521
1521
|
var tmp_0 = tmp0_mapNotNullTo_0;
|
|
1522
1522
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1523
|
-
var tmp2_mapNotNull = this.
|
|
1523
|
+
var tmp2_mapNotNull = this.v3n_1;
|
|
1524
1524
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1525
1525
|
var tmp0_mapNotNullTo_1 = ArrayList_init_$Create$();
|
|
1526
1526
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
var element_1 = tmp0_iterator_1.y();
|
|
1530
1530
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1531
1531
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1532
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1532
|
+
var tmp0_safe_receiver_1 = element_1.t3p(this.z3n());
|
|
1533
1533
|
if (tmp0_safe_receiver_1 == null)
|
|
1534
1534
|
null;
|
|
1535
1535
|
else {
|
|
@@ -1540,7 +1540,7 @@
|
|
|
1540
1540
|
}
|
|
1541
1541
|
var tmp_1 = tmp0_mapNotNullTo_1;
|
|
1542
1542
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1543
|
-
var tmp3_mapNotNull = this.
|
|
1543
|
+
var tmp3_mapNotNull = this.s3n_1;
|
|
1544
1544
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1545
1545
|
var tmp0_mapNotNullTo_2 = ArrayList_init_$Create$();
|
|
1546
1546
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1550,11 +1550,11 @@
|
|
|
1550
1550
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1551
1551
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1552
1552
|
// Inline function 'kotlin.takeUnless' call
|
|
1553
|
-
var tmp0_takeUnless = new Subcommand(element_2.
|
|
1553
|
+
var tmp0_takeUnless = new Subcommand(element_2.p3n_1, element_2.u3p(this.z3n()), element_2.k3n_1);
|
|
1554
1554
|
// Inline function 'kotlin.contracts.contract' call
|
|
1555
1555
|
var tmp_2;
|
|
1556
1556
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1557
|
-
if (!element_2.
|
|
1557
|
+
if (!element_2.o3n_1) {
|
|
1558
1558
|
tmp_2 = tmp0_takeUnless;
|
|
1559
1559
|
} else {
|
|
1560
1560
|
tmp_2 = null;
|
|
@@ -1570,11 +1570,11 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
return flatten(listOf([tmp, tmp_0, tmp_1, tmp0_mapNotNullTo_2]));
|
|
1572
1572
|
};
|
|
1573
|
-
protoOf(CliktCommand).
|
|
1573
|
+
protoOf(CliktCommand).z3n = function () {
|
|
1574
1574
|
$l$block: {
|
|
1575
1575
|
// Inline function 'kotlin.checkNotNull' call
|
|
1576
1576
|
// Inline function 'kotlin.contracts.contract' call
|
|
1577
|
-
if (this.
|
|
1577
|
+
if (this.x3n_1 == null) {
|
|
1578
1578
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1579
1579
|
var message = 'Context accessed before parse has been called.';
|
|
1580
1580
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1582,21 +1582,21 @@
|
|
|
1582
1582
|
break $l$block;
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
|
-
return ensureNotNull(this.
|
|
1585
|
+
return ensureNotNull(this.x3n_1);
|
|
1586
1586
|
};
|
|
1587
|
-
protoOf(CliktCommand).
|
|
1588
|
-
return this.
|
|
1587
|
+
protoOf(CliktCommand).v3p = function () {
|
|
1588
|
+
return this.y3n_1;
|
|
1589
1589
|
};
|
|
1590
|
-
protoOf(CliktCommand).
|
|
1591
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').n8(this.
|
|
1590
|
+
protoOf(CliktCommand).u3p = function (context) {
|
|
1591
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').n8(this.h3p(context));
|
|
1592
1592
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g9();
|
|
1593
1593
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g1(1);
|
|
1594
1594
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f9_1;
|
|
1595
1595
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1596
1596
|
};
|
|
1597
|
-
protoOf(CliktCommand).
|
|
1597
|
+
protoOf(CliktCommand).w3p = function (option) {
|
|
1598
1598
|
var names = registeredOptionNames(this);
|
|
1599
|
-
var tmp0_iterator = option.
|
|
1599
|
+
var tmp0_iterator = option.a3o().v();
|
|
1600
1600
|
while (tmp0_iterator.w()) {
|
|
1601
1601
|
var name = tmp0_iterator.y();
|
|
1602
1602
|
// Inline function 'kotlin.require' call
|
|
@@ -1607,12 +1607,12 @@
|
|
|
1607
1607
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
|
-
if (option.
|
|
1610
|
+
if (option.x3p()) {
|
|
1611
1611
|
// Inline function 'kotlin.require' call
|
|
1612
1612
|
var tmp$ret$1;
|
|
1613
1613
|
$l$block_0: {
|
|
1614
1614
|
// Inline function 'kotlin.collections.none' call
|
|
1615
|
-
var tmp1_none = this.
|
|
1615
|
+
var tmp1_none = this.t3n_1;
|
|
1616
1616
|
var tmp;
|
|
1617
1617
|
if (isInterface(tmp1_none, Collection)) {
|
|
1618
1618
|
tmp = tmp1_none.c1();
|
|
@@ -1627,7 +1627,7 @@
|
|
|
1627
1627
|
while (tmp0_iterator_0.w()) {
|
|
1628
1628
|
var element = tmp0_iterator_0.y();
|
|
1629
1629
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1630
|
-
if (element.
|
|
1630
|
+
if (element.x3p()) {
|
|
1631
1631
|
tmp$ret$1 = false;
|
|
1632
1632
|
break $l$block_0;
|
|
1633
1633
|
}
|
|
@@ -1642,21 +1642,21 @@
|
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1645
|
-
this.
|
|
1645
|
+
this.t3n_1.s(option);
|
|
1646
1646
|
};
|
|
1647
|
-
protoOf(CliktCommand).
|
|
1648
|
-
return this.
|
|
1647
|
+
protoOf(CliktCommand).y3p = function (option) {
|
|
1648
|
+
return this.w3p(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1649
1649
|
};
|
|
1650
|
-
protoOf(CliktCommand).
|
|
1650
|
+
protoOf(CliktCommand).z3p = function (argument) {
|
|
1651
1651
|
// Inline function 'kotlin.require' call
|
|
1652
1652
|
var tmp;
|
|
1653
|
-
if (argument.
|
|
1653
|
+
if (argument.z3o() > 0) {
|
|
1654
1654
|
tmp = true;
|
|
1655
1655
|
} else {
|
|
1656
1656
|
var tmp$ret$0;
|
|
1657
1657
|
$l$block_0: {
|
|
1658
1658
|
// Inline function 'kotlin.collections.none' call
|
|
1659
|
-
var tmp0_none = this.
|
|
1659
|
+
var tmp0_none = this.u3n_1;
|
|
1660
1660
|
var tmp_0;
|
|
1661
1661
|
if (isInterface(tmp0_none, Collection)) {
|
|
1662
1662
|
tmp_0 = tmp0_none.c1();
|
|
@@ -1671,7 +1671,7 @@
|
|
|
1671
1671
|
while (tmp0_iterator.w()) {
|
|
1672
1672
|
var element = tmp0_iterator.y();
|
|
1673
1673
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1674
|
-
if (element.
|
|
1674
|
+
if (element.z3o() < 0) {
|
|
1675
1675
|
tmp$ret$0 = false;
|
|
1676
1676
|
break $l$block_0;
|
|
1677
1677
|
}
|
|
@@ -1687,9 +1687,9 @@
|
|
|
1687
1687
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1688
1688
|
}
|
|
1689
1689
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1690
|
-
this.
|
|
1690
|
+
this.u3n_1.s(argument);
|
|
1691
1691
|
};
|
|
1692
|
-
protoOf(CliktCommand).
|
|
1692
|
+
protoOf(CliktCommand).a3q = function (error) {
|
|
1693
1693
|
var tmp;
|
|
1694
1694
|
if (!(error == null)) {
|
|
1695
1695
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1701,73 +1701,73 @@
|
|
|
1701
1701
|
}
|
|
1702
1702
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1703
1703
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gc();
|
|
1704
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1704
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.x3n_1 : tmp1_elvis_lhs;
|
|
1705
1705
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1706
|
-
var cmd = ctx.
|
|
1706
|
+
var cmd = ctx.d3o_1;
|
|
1707
1707
|
var programName = getCommandNameWithParents(cmd);
|
|
1708
|
-
var tmp_0 = ctx.
|
|
1709
|
-
return tmp_0.
|
|
1708
|
+
var tmp_0 = ctx.j3o_1(ctx);
|
|
1709
|
+
return tmp_0.b3q(error instanceof UsageError ? error : null, cmd.h3p(ctx), cmd.r3p(ctx), cmd.s3p(), programName);
|
|
1710
1710
|
};
|
|
1711
|
-
protoOf(CliktCommand).
|
|
1712
|
-
var msg = this.
|
|
1711
|
+
protoOf(CliktCommand).c3q = function (error) {
|
|
1712
|
+
var msg = this.a3q(error);
|
|
1713
1713
|
if (!(msg == null)) {
|
|
1714
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1715
|
-
this.
|
|
1714
|
+
var tmp1_elvis_lhs = error == null ? null : error.e3q_1;
|
|
1715
|
+
this.f3q(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1716
1716
|
}
|
|
1717
1717
|
};
|
|
1718
|
-
protoOf(CliktCommand).
|
|
1718
|
+
protoOf(CliktCommand).b3p = function () {
|
|
1719
1719
|
return emptyMap();
|
|
1720
1720
|
};
|
|
1721
|
-
protoOf(CliktCommand).
|
|
1721
|
+
protoOf(CliktCommand).g3q = function (message, trailingNewline, err) {
|
|
1722
1722
|
if (trailingNewline) {
|
|
1723
|
-
this.
|
|
1723
|
+
this.z3n().l3o_1.v3k(message, VOID, VOID, VOID, VOID, err);
|
|
1724
1724
|
} else {
|
|
1725
|
-
this.
|
|
1725
|
+
this.z3n().l3o_1.u3k(message, VOID, VOID, VOID, VOID, err);
|
|
1726
1726
|
}
|
|
1727
1727
|
};
|
|
1728
|
-
protoOf(CliktCommand).
|
|
1728
|
+
protoOf(CliktCommand).f3q = function (message, trailingNewline, err, $super) {
|
|
1729
1729
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1730
1730
|
err = err === VOID ? false : err;
|
|
1731
1731
|
var tmp;
|
|
1732
1732
|
if ($super === VOID) {
|
|
1733
|
-
this.
|
|
1733
|
+
this.g3q(message, trailingNewline, err);
|
|
1734
1734
|
tmp = Unit_getInstance();
|
|
1735
1735
|
} else {
|
|
1736
|
-
tmp = $super.
|
|
1736
|
+
tmp = $super.g3q.call(this, message, trailingNewline, err);
|
|
1737
1737
|
}
|
|
1738
1738
|
return tmp;
|
|
1739
1739
|
};
|
|
1740
|
-
protoOf(CliktCommand).
|
|
1740
|
+
protoOf(CliktCommand).h3q = function (argv, parentContext) {
|
|
1741
1741
|
createContext(this, argv, parentContext, emptyList());
|
|
1742
1742
|
generateCompletion(this);
|
|
1743
|
-
Parser_getInstance().
|
|
1743
|
+
Parser_getInstance().i3q(argv, this.z3n());
|
|
1744
1744
|
};
|
|
1745
|
-
protoOf(CliktCommand).
|
|
1745
|
+
protoOf(CliktCommand).j3q = function (argv, parentContext, $super) {
|
|
1746
1746
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1747
1747
|
var tmp;
|
|
1748
1748
|
if ($super === VOID) {
|
|
1749
|
-
this.
|
|
1749
|
+
this.h3q(argv, parentContext);
|
|
1750
1750
|
tmp = Unit_getInstance();
|
|
1751
1751
|
} else {
|
|
1752
|
-
tmp = $super.
|
|
1752
|
+
tmp = $super.h3q.call(this, argv, parentContext);
|
|
1753
1753
|
}
|
|
1754
1754
|
return tmp;
|
|
1755
1755
|
};
|
|
1756
|
-
protoOf(CliktCommand).
|
|
1756
|
+
protoOf(CliktCommand).k3q = function (argv) {
|
|
1757
1757
|
try {
|
|
1758
|
-
this.
|
|
1758
|
+
this.j3q(argv);
|
|
1759
1759
|
} catch ($p) {
|
|
1760
1760
|
if ($p instanceof CliktError) {
|
|
1761
1761
|
var e = $p;
|
|
1762
|
-
this.
|
|
1763
|
-
exitProcessMpp(e.
|
|
1762
|
+
this.c3q(e);
|
|
1763
|
+
exitProcessMpp(e.d3q_1);
|
|
1764
1764
|
} else {
|
|
1765
1765
|
throw $p;
|
|
1766
1766
|
}
|
|
1767
1767
|
}
|
|
1768
1768
|
};
|
|
1769
|
-
protoOf(CliktCommand).
|
|
1770
|
-
return this.
|
|
1769
|
+
protoOf(CliktCommand).l3q = function (argv) {
|
|
1770
|
+
return this.k3q(asList(argv));
|
|
1771
1771
|
};
|
|
1772
1772
|
protoOf(CliktCommand).toString = function () {
|
|
1773
1773
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1776,18 +1776,18 @@
|
|
|
1776
1776
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1777
1777
|
// Inline function 'kotlin.contracts.contract' call
|
|
1778
1778
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1779
|
-
tmp0_apply.f5('<' + classSimpleName(this) + ' name=' + this.
|
|
1779
|
+
tmp0_apply.f5('<' + classSimpleName(this) + ' name=' + this.p3n_1);
|
|
1780
1780
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1781
|
-
if (!this.
|
|
1782
|
-
joinTo(this.
|
|
1781
|
+
if (!this.t3n_1.c1()) {
|
|
1782
|
+
joinTo(this.t3n_1, tmp0_apply, VOID, ' options=[', ']');
|
|
1783
1783
|
}
|
|
1784
1784
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1785
|
-
if (!this.
|
|
1786
|
-
joinTo(this.
|
|
1785
|
+
if (!this.u3n_1.c1()) {
|
|
1786
|
+
joinTo(this.u3n_1, tmp0_apply, VOID, ' arguments=[', ']');
|
|
1787
1787
|
}
|
|
1788
1788
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1789
|
-
if (!this.
|
|
1790
|
-
joinTo(this.
|
|
1789
|
+
if (!this.s3n_1.c1()) {
|
|
1790
|
+
joinTo(this.s3n_1, tmp0_apply, VOID, ' subcommands=[', ']');
|
|
1791
1791
|
}
|
|
1792
1792
|
tmp0_apply.f5('>');
|
|
1793
1793
|
return tmp0_apply.toString();
|
|
@@ -1805,7 +1805,7 @@
|
|
|
1805
1805
|
return tmp1_replace.r8(tmp0_replace, tmp2_replace).toLowerCase();
|
|
1806
1806
|
}
|
|
1807
1807
|
function get_terminal(_this__u8e3s4) {
|
|
1808
|
-
return _this__u8e3s4.
|
|
1808
|
+
return _this__u8e3s4.z3n().l3o_1;
|
|
1809
1809
|
}
|
|
1810
1810
|
function classSimpleName(_this__u8e3s4) {
|
|
1811
1811
|
var tmp$ret$0;
|
|
@@ -1818,7 +1818,7 @@
|
|
|
1818
1818
|
// Inline function 'kotlin.apply' call
|
|
1819
1819
|
// Inline function 'kotlin.contracts.contract' call
|
|
1820
1820
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1821
|
-
_this__u8e3s4.
|
|
1821
|
+
_this__u8e3s4.s3n_1 = plus_2(_this__u8e3s4.s3n_1, commands);
|
|
1822
1822
|
return _this__u8e3s4;
|
|
1823
1823
|
}
|
|
1824
1824
|
function inferCommandName$lambda(it) {
|
|
@@ -1844,36 +1844,36 @@
|
|
|
1844
1844
|
}
|
|
1845
1845
|
function Builder(command, parent) {
|
|
1846
1846
|
parent = parent === VOID ? null : parent;
|
|
1847
|
-
this.
|
|
1847
|
+
this.n3q_1 = parent;
|
|
1848
1848
|
var tmp = this;
|
|
1849
|
-
var tmp0_safe_receiver = this.
|
|
1850
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1851
|
-
tmp.
|
|
1852
|
-
this.
|
|
1849
|
+
var tmp0_safe_receiver = this.n3q_1;
|
|
1850
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e3o_1;
|
|
1851
|
+
tmp.o3q_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1852
|
+
this.p3q_1 = true;
|
|
1853
1853
|
var tmp_0 = this;
|
|
1854
|
-
var tmp0_safe_receiver_0 = this.
|
|
1855
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1856
|
-
tmp_0.
|
|
1854
|
+
var tmp0_safe_receiver_0 = this.n3q_1;
|
|
1855
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.h3o_1;
|
|
1856
|
+
tmp_0.q3q_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1857
1857
|
var tmp_1 = this;
|
|
1858
|
-
var tmp0_safe_receiver_1 = this.
|
|
1859
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1860
|
-
tmp_1.
|
|
1858
|
+
var tmp0_safe_receiver_1 = this.n3q_1;
|
|
1859
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.i3o_1;
|
|
1860
|
+
tmp_1.r3q_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1861
1861
|
var tmp_2 = this;
|
|
1862
|
-
var tmp0_safe_receiver_2 = this.
|
|
1863
|
-
tmp_2.
|
|
1862
|
+
var tmp0_safe_receiver_2 = this.n3q_1;
|
|
1863
|
+
tmp_2.s3q_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.j3o_1;
|
|
1864
1864
|
var tmp_3 = this;
|
|
1865
|
-
var tmp0_safe_receiver_3 = this.
|
|
1866
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1865
|
+
var tmp0_safe_receiver_3 = this.n3q_1;
|
|
1866
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.k3o_1;
|
|
1867
1867
|
var tmp_4;
|
|
1868
1868
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1869
1869
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1870
1870
|
} else {
|
|
1871
1871
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1872
1872
|
}
|
|
1873
|
-
tmp_3.
|
|
1873
|
+
tmp_3.t3q_1 = tmp_4;
|
|
1874
1874
|
var tmp_5 = this;
|
|
1875
|
-
var tmp0_safe_receiver_4 = this.
|
|
1876
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1875
|
+
var tmp0_safe_receiver_4 = this.n3q_1;
|
|
1876
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.g3o_1;
|
|
1877
1877
|
var tmp_6;
|
|
1878
1878
|
if (tmp1_safe_receiver == null) {
|
|
1879
1879
|
tmp_6 = null;
|
|
@@ -1884,49 +1884,49 @@
|
|
|
1884
1884
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1885
1885
|
// Inline function 'kotlin.text.uppercase' call
|
|
1886
1886
|
// Inline function 'kotlin.text.replace' call
|
|
1887
|
-
var tmp0_replace = command.
|
|
1887
|
+
var tmp0_replace = command.p3n_1;
|
|
1888
1888
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1889
1889
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').q8(tmp0_replace, '_').toUpperCase();
|
|
1890
1890
|
}
|
|
1891
|
-
tmp_5.
|
|
1891
|
+
tmp_5.u3q_1 = tmp_6;
|
|
1892
1892
|
var tmp_8 = this;
|
|
1893
|
-
var tmp0_safe_receiver_5 = this.
|
|
1894
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1895
|
-
tmp_8.
|
|
1896
|
-
this.
|
|
1893
|
+
var tmp0_safe_receiver_5 = this.n3q_1;
|
|
1894
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.l3o_1;
|
|
1895
|
+
tmp_8.v3q_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1896
|
+
this.w3q_1 = get_defaultArgFileReader();
|
|
1897
1897
|
var tmp_9 = this;
|
|
1898
|
-
var tmp0_safe_receiver_6 = this.
|
|
1899
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1900
|
-
tmp_9.
|
|
1898
|
+
var tmp0_safe_receiver_6 = this.n3q_1;
|
|
1899
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.n3o_1;
|
|
1900
|
+
tmp_9.x3q_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1901
1901
|
var tmp_10 = this;
|
|
1902
|
-
var tmp0_safe_receiver_7 = this.
|
|
1903
|
-
tmp_10.
|
|
1904
|
-
this.
|
|
1905
|
-
this.
|
|
1902
|
+
var tmp0_safe_receiver_7 = this.n3q_1;
|
|
1903
|
+
tmp_10.y3q_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.o3o_1;
|
|
1904
|
+
this.z3q_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1905
|
+
this.a3r_1 = get_defaultLocalization();
|
|
1906
1906
|
var tmp_11 = this;
|
|
1907
|
-
var tmp0_safe_receiver_8 = this.
|
|
1908
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1907
|
+
var tmp0_safe_receiver_8 = this.n3q_1;
|
|
1908
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.r3o_1;
|
|
1909
1909
|
var tmp_12;
|
|
1910
1910
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1911
1911
|
tmp_12 = readEnvvar$ref();
|
|
1912
1912
|
} else {
|
|
1913
1913
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1914
1914
|
}
|
|
1915
|
-
tmp_11.
|
|
1915
|
+
tmp_11.b3r_1 = tmp_12;
|
|
1916
1916
|
var tmp_13 = this;
|
|
1917
|
-
var tmp0_safe_receiver_9 = this.
|
|
1918
|
-
tmp_13.
|
|
1917
|
+
var tmp0_safe_receiver_9 = this.n3q_1;
|
|
1918
|
+
tmp_13.c3r_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.s3o_1;
|
|
1919
1919
|
}
|
|
1920
1920
|
function Companion() {
|
|
1921
1921
|
Companion_instance = this;
|
|
1922
1922
|
}
|
|
1923
|
-
protoOf(Companion).
|
|
1923
|
+
protoOf(Companion).k3p = function (command, parent, argv, block) {
|
|
1924
1924
|
// Inline function 'kotlin.with' call
|
|
1925
1925
|
var tmp0_with = new Builder(command, parent);
|
|
1926
1926
|
// Inline function 'kotlin.contracts.contract' call
|
|
1927
1927
|
block(tmp0_with);
|
|
1928
1928
|
var tmp;
|
|
1929
|
-
if (tmp0_with.
|
|
1929
|
+
if (tmp0_with.o3q_1 ? !command.m3n_1 : false) {
|
|
1930
1930
|
var tmp_0;
|
|
1931
1931
|
if (parent == null) {
|
|
1932
1932
|
tmp_0 = null;
|
|
@@ -1937,11 +1937,11 @@
|
|
|
1937
1937
|
var tmp$ret$1;
|
|
1938
1938
|
$l$block: {
|
|
1939
1939
|
// Inline function 'kotlin.sequences.any' call
|
|
1940
|
-
var tmp0_iterator = parent.
|
|
1940
|
+
var tmp0_iterator = parent.d3r().v();
|
|
1941
1941
|
while (tmp0_iterator.w()) {
|
|
1942
1942
|
var element = tmp0_iterator.y();
|
|
1943
1943
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1944
|
-
if (element.
|
|
1944
|
+
if (element.d3o_1.m3n_1) {
|
|
1945
1945
|
tmp$ret$1 = true;
|
|
1946
1946
|
break $l$block;
|
|
1947
1947
|
}
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
tmp = false;
|
|
1956
1956
|
}
|
|
1957
1957
|
var interspersed = tmp;
|
|
1958
|
-
var tmp1_elvis_lhs = tmp0_with.
|
|
1958
|
+
var tmp1_elvis_lhs = tmp0_with.s3q_1;
|
|
1959
1959
|
var tmp_1;
|
|
1960
1960
|
if (tmp1_elvis_lhs == null) {
|
|
1961
1961
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
tmp_1 = tmp1_elvis_lhs;
|
|
1964
1964
|
}
|
|
1965
1965
|
var formatter = tmp_1;
|
|
1966
|
-
return new Context(parent, command, interspersed, tmp0_with.
|
|
1966
|
+
return new Context(parent, command, interspersed, tmp0_with.p3q_1, tmp0_with.u3q_1, tmp0_with.q3q_1, toSet(tmp0_with.r3q_1), formatter, tmp0_with.t3q_1, tmp0_with.v3q_1, tmp0_with.w3q_1, tmp0_with.x3q_1, tmp0_with.y3q_1, tmp0_with.z3q_1, tmp0_with.a3r_1, tmp0_with.b3r_1, tmp0_with.c3r_1, argv);
|
|
1967
1967
|
};
|
|
1968
1968
|
var Companion_instance;
|
|
1969
1969
|
function Companion_getInstance_0() {
|
|
@@ -1972,52 +1972,52 @@
|
|
|
1972
1972
|
return Companion_instance;
|
|
1973
1973
|
}
|
|
1974
1974
|
function Context$parentNames$lambda(it) {
|
|
1975
|
-
return it.
|
|
1975
|
+
return it.d3o_1.p3n_1;
|
|
1976
1976
|
}
|
|
1977
1977
|
function Context$ancestors$lambda(it) {
|
|
1978
|
-
return it.
|
|
1978
|
+
return it.c3o_1;
|
|
1979
1979
|
}
|
|
1980
1980
|
function Context$selfAndAncestors$lambda(it) {
|
|
1981
|
-
return it.
|
|
1981
|
+
return it.c3o_1;
|
|
1982
1982
|
}
|
|
1983
1983
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1984
1984
|
Companion_getInstance_0();
|
|
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.
|
|
2003
|
-
this.
|
|
2004
|
-
this.
|
|
2005
|
-
}
|
|
2006
|
-
protoOf(Context).
|
|
2007
|
-
var tmp = this.
|
|
1985
|
+
this.c3o_1 = parent;
|
|
1986
|
+
this.d3o_1 = command;
|
|
1987
|
+
this.e3o_1 = allowInterspersedArgs;
|
|
1988
|
+
this.f3o_1 = allowGroupedShortOptions;
|
|
1989
|
+
this.g3o_1 = autoEnvvarPrefix;
|
|
1990
|
+
this.h3o_1 = printExtraMessages;
|
|
1991
|
+
this.i3o_1 = helpOptionNames;
|
|
1992
|
+
this.j3o_1 = helpFormatter;
|
|
1993
|
+
this.k3o_1 = tokenTransformer;
|
|
1994
|
+
this.l3o_1 = terminal;
|
|
1995
|
+
this.m3o_1 = argumentFileReader;
|
|
1996
|
+
this.n3o_1 = readEnvvarBeforeValueSource;
|
|
1997
|
+
this.o3o_1 = valueSource;
|
|
1998
|
+
this.p3o_1 = correctionSuggestor;
|
|
1999
|
+
this.q3o_1 = localization;
|
|
2000
|
+
this.r3o_1 = readEnvvar;
|
|
2001
|
+
this.s3o_1 = obj;
|
|
2002
|
+
this.t3o_1 = originalArgv;
|
|
2003
|
+
this.u3o_1 = null;
|
|
2004
|
+
this.v3o_1 = false;
|
|
2005
|
+
}
|
|
2006
|
+
protoOf(Context).f3p = function () {
|
|
2007
|
+
var tmp = this.l3p();
|
|
2008
2008
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
2009
2009
|
};
|
|
2010
|
-
protoOf(Context).
|
|
2011
|
-
return plus_1(this.
|
|
2010
|
+
protoOf(Context).g3p = function () {
|
|
2011
|
+
return plus_1(this.f3p(), this.d3o_1.p3n_1);
|
|
2012
2012
|
};
|
|
2013
|
-
protoOf(Context).
|
|
2014
|
-
return generateSequence(this.
|
|
2013
|
+
protoOf(Context).l3p = function () {
|
|
2014
|
+
return generateSequence(this.c3o_1, Context$ancestors$lambda);
|
|
2015
2015
|
};
|
|
2016
|
-
protoOf(Context).
|
|
2016
|
+
protoOf(Context).d3r = function () {
|
|
2017
2017
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
2018
2018
|
};
|
|
2019
|
-
protoOf(Context).
|
|
2020
|
-
return !(this.
|
|
2019
|
+
protoOf(Context).e3r = function () {
|
|
2020
|
+
return !(this.m3o_1 == null);
|
|
2021
2021
|
};
|
|
2022
2022
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
2023
2023
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2063,10 +2063,10 @@
|
|
|
2063
2063
|
return tmp0_mapTo_0;
|
|
2064
2064
|
}
|
|
2065
2065
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2066
|
-
this.
|
|
2066
|
+
this.f3r_1 = function_0;
|
|
2067
2067
|
}
|
|
2068
2068
|
protoOf(sam$kotlin_Comparator$0).u9 = function (a, b) {
|
|
2069
|
-
return this.
|
|
2069
|
+
return this.f3r_1(a, b);
|
|
2070
2070
|
};
|
|
2071
2071
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2072
2072
|
return this.u9(a, b);
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
hidden = hidden === VOID ? false : hidden;
|
|
2175
2175
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2176
2176
|
}
|
|
2177
|
-
protoOf(NoOpCliktCommand).
|
|
2177
|
+
protoOf(NoOpCliktCommand).m3q = function () {
|
|
2178
2178
|
return Unit_getInstance();
|
|
2179
2179
|
};
|
|
2180
2180
|
function StaticallyGroupedOption() {
|
|
@@ -2186,10 +2186,10 @@
|
|
|
2186
2186
|
function FileNotFound(filename) {
|
|
2187
2187
|
UsageError.call(this, null);
|
|
2188
2188
|
captureStack(this, FileNotFound);
|
|
2189
|
-
this.
|
|
2189
|
+
this.d3s_1 = filename;
|
|
2190
2190
|
}
|
|
2191
|
-
protoOf(FileNotFound).
|
|
2192
|
-
return localization.
|
|
2191
|
+
protoOf(FileNotFound).e3s = function (localization, formatter) {
|
|
2192
|
+
return localization.f3s(this.d3s_1);
|
|
2193
2193
|
};
|
|
2194
2194
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2195
2195
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2216,18 +2216,18 @@
|
|
|
2216
2216
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2217
2217
|
CliktError.call(this, message, VOID, statusCode);
|
|
2218
2218
|
captureStack(this, UsageError);
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2219
|
+
this.i3s_1 = paramName;
|
|
2220
|
+
this.j3s_1 = null;
|
|
2221
2221
|
}
|
|
2222
|
-
protoOf(UsageError).
|
|
2222
|
+
protoOf(UsageError).e3s = function (localization, formatter) {
|
|
2223
2223
|
var tmp0_elvis_lhs = this.message;
|
|
2224
2224
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2225
2225
|
};
|
|
2226
|
-
protoOf(UsageError).
|
|
2227
|
-
this.
|
|
2226
|
+
protoOf(UsageError).k3s = function (_set____db54di) {
|
|
2227
|
+
this.j3s_1 = _set____db54di;
|
|
2228
2228
|
};
|
|
2229
2229
|
protoOf(UsageError).gc = function () {
|
|
2230
|
-
return this.
|
|
2230
|
+
return this.j3s_1;
|
|
2231
2231
|
};
|
|
2232
2232
|
function CliktError(message, cause, statusCode, printError) {
|
|
2233
2233
|
message = message === VOID ? null : message;
|
|
@@ -2236,8 +2236,8 @@
|
|
|
2236
2236
|
printError = printError === VOID ? true : printError;
|
|
2237
2237
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2238
2238
|
captureStack(this, CliktError);
|
|
2239
|
-
this.
|
|
2240
|
-
this.
|
|
2239
|
+
this.d3q_1 = statusCode;
|
|
2240
|
+
this.e3q_1 = printError;
|
|
2241
2241
|
}
|
|
2242
2242
|
function ContextCliktError() {
|
|
2243
2243
|
}
|
|
@@ -2246,16 +2246,16 @@
|
|
|
2246
2246
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2247
2247
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2248
2248
|
captureStack(this, PrintHelpMessage);
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2249
|
+
this.n3s_1 = context;
|
|
2250
|
+
this.o3s_1 = error;
|
|
2251
2251
|
}
|
|
2252
2252
|
protoOf(PrintHelpMessage).gc = function () {
|
|
2253
|
-
return this.
|
|
2253
|
+
return this.n3s_1;
|
|
2254
2254
|
};
|
|
2255
2255
|
function Companion_0() {
|
|
2256
2256
|
Companion_instance_0 = this;
|
|
2257
2257
|
}
|
|
2258
|
-
protoOf(Companion_0).
|
|
2258
|
+
protoOf(Companion_0).p3s = function (errors) {
|
|
2259
2259
|
var tmp;
|
|
2260
2260
|
switch (errors.n()) {
|
|
2261
2261
|
case 0:
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
var element = tmp0_iterator.y();
|
|
2276
2276
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2277
2277
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2278
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2278
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u3s_1;
|
|
2279
2279
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2280
2280
|
addAll(tmp0_flatMapTo, list);
|
|
2281
2281
|
}
|
|
@@ -2293,17 +2293,17 @@
|
|
|
2293
2293
|
}
|
|
2294
2294
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2295
2295
|
return function (it) {
|
|
2296
|
-
return it.
|
|
2296
|
+
return it.e3s($localization, $formatter);
|
|
2297
2297
|
};
|
|
2298
2298
|
}
|
|
2299
2299
|
function MultiUsageError(errors) {
|
|
2300
2300
|
Companion_getInstance_1();
|
|
2301
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2301
|
+
UsageError.call(this, null, VOID, first_0(errors).d3q_1);
|
|
2302
2302
|
captureStack(this, MultiUsageError);
|
|
2303
|
-
this.
|
|
2303
|
+
this.u3s_1 = errors;
|
|
2304
2304
|
}
|
|
2305
|
-
protoOf(MultiUsageError).
|
|
2306
|
-
return joinToString(this.
|
|
2305
|
+
protoOf(MultiUsageError).e3s = function (localization, formatter) {
|
|
2306
|
+
return joinToString(this.u3s_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2307
2307
|
};
|
|
2308
2308
|
var Kind_Argument_instance;
|
|
2309
2309
|
var Kind_Option_instance;
|
|
@@ -2321,7 +2321,7 @@
|
|
|
2321
2321
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2322
2322
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2323
2323
|
BadParameterValue.call($this);
|
|
2324
|
-
$this.
|
|
2324
|
+
$this.z3s_1 = Kind_Argument_getInstance();
|
|
2325
2325
|
return $this;
|
|
2326
2326
|
}
|
|
2327
2327
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2332,7 +2332,7 @@
|
|
|
2332
2332
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2333
2333
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2334
2334
|
BadParameterValue.call($this);
|
|
2335
|
-
$this.
|
|
2335
|
+
$this.z3s_1 = Kind_Option_getInstance();
|
|
2336
2336
|
return $this;
|
|
2337
2337
|
}
|
|
2338
2338
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2343,7 +2343,7 @@
|
|
|
2343
2343
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2344
2344
|
UsageError.call($this, message, name);
|
|
2345
2345
|
BadParameterValue.call($this);
|
|
2346
|
-
$this.
|
|
2346
|
+
$this.z3s_1 = Kind_Option_getInstance();
|
|
2347
2347
|
return $this;
|
|
2348
2348
|
}
|
|
2349
2349
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
Kind_initEntries();
|
|
2360
2360
|
return Kind_Option_instance;
|
|
2361
2361
|
}
|
|
2362
|
-
protoOf(BadParameterValue).
|
|
2362
|
+
protoOf(BadParameterValue).e3s = function (localization, formatter) {
|
|
2363
2363
|
// Inline function 'kotlin.takeUnless' call
|
|
2364
2364
|
var tmp0_takeUnless = this.message;
|
|
2365
2365
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2373,7 +2373,7 @@
|
|
|
2373
2373
|
tmp = null;
|
|
2374
2374
|
}
|
|
2375
2375
|
var m = tmp;
|
|
2376
|
-
var tmp0_safe_receiver = this.
|
|
2376
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2377
2377
|
var tmp_0;
|
|
2378
2378
|
if (tmp0_safe_receiver == null) {
|
|
2379
2379
|
tmp_0 = null;
|
|
@@ -2398,14 +2398,14 @@
|
|
|
2398
2398
|
// Inline function 'kotlin.let' call
|
|
2399
2399
|
// Inline function 'kotlin.contracts.contract' call
|
|
2400
2400
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2401
|
-
var tmp0_subject = this.
|
|
2401
|
+
var tmp0_subject = this.z3s_1;
|
|
2402
2402
|
var tmp_3;
|
|
2403
2403
|
switch (tmp0_subject == null ? -1 : tmp0_subject.d9_1) {
|
|
2404
2404
|
case 0:
|
|
2405
|
-
tmp_3 = formatter.
|
|
2405
|
+
tmp_3 = formatter.a3t(tmp1_safe_receiver);
|
|
2406
2406
|
break;
|
|
2407
2407
|
case 1:
|
|
2408
|
-
tmp_3 = formatter.
|
|
2408
|
+
tmp_3 = formatter.b3t(tmp1_safe_receiver);
|
|
2409
2409
|
break;
|
|
2410
2410
|
case -1:
|
|
2411
2411
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2419,13 +2419,13 @@
|
|
|
2419
2419
|
var p = tmp_2;
|
|
2420
2420
|
var tmp_4;
|
|
2421
2421
|
if (m == null ? p == null : false) {
|
|
2422
|
-
tmp_4 = localization.
|
|
2422
|
+
tmp_4 = localization.f3t();
|
|
2423
2423
|
} else if (m == null ? !(p == null) : false) {
|
|
2424
|
-
tmp_4 = localization.
|
|
2424
|
+
tmp_4 = localization.e3t(p);
|
|
2425
2425
|
} else if (!(m == null) ? p == null : false) {
|
|
2426
|
-
tmp_4 = localization.
|
|
2426
|
+
tmp_4 = localization.d3t(m);
|
|
2427
2427
|
} else if (!(m == null) ? !(p == null) : false) {
|
|
2428
|
-
tmp_4 = localization.
|
|
2428
|
+
tmp_4 = localization.c3t(p, m);
|
|
2429
2429
|
} else {
|
|
2430
2430
|
throw IllegalStateException_init_$Create$('impossible');
|
|
2431
2431
|
}
|
|
@@ -2442,66 +2442,66 @@
|
|
|
2442
2442
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2443
2443
|
UsageError.call(this, null, paramName);
|
|
2444
2444
|
captureStack(this, NoSuchSubcommand);
|
|
2445
|
-
this.
|
|
2445
|
+
this.k3t_1 = possibilities;
|
|
2446
2446
|
}
|
|
2447
|
-
protoOf(NoSuchSubcommand).
|
|
2448
|
-
var tmp0_safe_receiver = this.
|
|
2447
|
+
protoOf(NoSuchSubcommand).e3s = function (localization, formatter) {
|
|
2448
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2449
2449
|
var tmp;
|
|
2450
2450
|
if (tmp0_safe_receiver == null) {
|
|
2451
2451
|
tmp = null;
|
|
2452
2452
|
} else {
|
|
2453
2453
|
// Inline function 'kotlin.let' call
|
|
2454
2454
|
// Inline function 'kotlin.contracts.contract' call
|
|
2455
|
-
tmp = formatter.
|
|
2455
|
+
tmp = formatter.l3t(tmp0_safe_receiver);
|
|
2456
2456
|
}
|
|
2457
2457
|
var tmp1_elvis_lhs = tmp;
|
|
2458
2458
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2459
2459
|
// Inline function 'kotlin.collections.map' call
|
|
2460
|
-
var tmp0_map = this.
|
|
2460
|
+
var tmp0_map = this.k3t_1;
|
|
2461
2461
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2462
2462
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
2463
2463
|
var tmp0_iterator = tmp0_map.v();
|
|
2464
2464
|
while (tmp0_iterator.w()) {
|
|
2465
2465
|
var item = tmp0_iterator.y();
|
|
2466
2466
|
var tmp$ret$2;
|
|
2467
|
-
tmp$ret$2 = formatter.
|
|
2467
|
+
tmp$ret$2 = formatter.l3t(item);
|
|
2468
2468
|
tmp0_mapTo.s(tmp$ret$2);
|
|
2469
2469
|
}
|
|
2470
|
-
return localization.
|
|
2470
|
+
return localization.m3t(tmp_0, tmp0_mapTo);
|
|
2471
2471
|
};
|
|
2472
2472
|
function NoSuchOption(paramName, possibilities) {
|
|
2473
2473
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2474
2474
|
UsageError.call(this, null, paramName);
|
|
2475
2475
|
captureStack(this, NoSuchOption);
|
|
2476
|
-
this.
|
|
2476
|
+
this.r3t_1 = possibilities;
|
|
2477
2477
|
}
|
|
2478
|
-
protoOf(NoSuchOption).
|
|
2479
|
-
var tmp0_safe_receiver = this.
|
|
2478
|
+
protoOf(NoSuchOption).e3s = function (localization, formatter) {
|
|
2479
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2480
2480
|
var tmp;
|
|
2481
2481
|
if (tmp0_safe_receiver == null) {
|
|
2482
2482
|
tmp = null;
|
|
2483
2483
|
} else {
|
|
2484
2484
|
// Inline function 'kotlin.let' call
|
|
2485
2485
|
// Inline function 'kotlin.contracts.contract' call
|
|
2486
|
-
tmp = formatter.
|
|
2486
|
+
tmp = formatter.b3t(tmp0_safe_receiver);
|
|
2487
2487
|
}
|
|
2488
2488
|
var tmp1_elvis_lhs = tmp;
|
|
2489
2489
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2490
2490
|
// Inline function 'kotlin.collections.map' call
|
|
2491
|
-
var tmp0_map = this.
|
|
2491
|
+
var tmp0_map = this.r3t_1;
|
|
2492
2492
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2493
2493
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
2494
2494
|
var tmp0_iterator = tmp0_map.v();
|
|
2495
2495
|
while (tmp0_iterator.w()) {
|
|
2496
2496
|
var item = tmp0_iterator.y();
|
|
2497
2497
|
var tmp$ret$2;
|
|
2498
|
-
tmp$ret$2 = formatter.
|
|
2498
|
+
tmp$ret$2 = formatter.b3t(item);
|
|
2499
2499
|
tmp0_mapTo.s(tmp$ret$2);
|
|
2500
2500
|
}
|
|
2501
|
-
return localization.
|
|
2501
|
+
return localization.s3t(tmp_0, tmp0_mapTo);
|
|
2502
2502
|
};
|
|
2503
2503
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2504
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2504
|
+
IncorrectOptionValueCount.call($this, option.z3o().v9_1, paramName);
|
|
2505
2505
|
return $this;
|
|
2506
2506
|
}
|
|
2507
2507
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2512,40 +2512,40 @@
|
|
|
2512
2512
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2513
2513
|
UsageError.call(this, null, paramName);
|
|
2514
2514
|
captureStack(this, IncorrectOptionValueCount);
|
|
2515
|
-
this.
|
|
2515
|
+
this.x3t_1 = minValues;
|
|
2516
2516
|
}
|
|
2517
|
-
protoOf(IncorrectOptionValueCount).
|
|
2518
|
-
var tmp0_safe_receiver = this.
|
|
2517
|
+
protoOf(IncorrectOptionValueCount).e3s = function (localization, formatter) {
|
|
2518
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2519
2519
|
var tmp;
|
|
2520
2520
|
if (tmp0_safe_receiver == null) {
|
|
2521
2521
|
tmp = null;
|
|
2522
2522
|
} else {
|
|
2523
2523
|
// Inline function 'kotlin.let' call
|
|
2524
2524
|
// Inline function 'kotlin.contracts.contract' call
|
|
2525
|
-
tmp = formatter.
|
|
2525
|
+
tmp = formatter.b3t(tmp0_safe_receiver);
|
|
2526
2526
|
}
|
|
2527
2527
|
var tmp1_elvis_lhs = tmp;
|
|
2528
|
-
return localization.
|
|
2528
|
+
return localization.y3t(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.x3t_1);
|
|
2529
2529
|
};
|
|
2530
2530
|
function MissingArgument(argument) {
|
|
2531
2531
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2532
2532
|
captureStack(this, MissingArgument);
|
|
2533
2533
|
}
|
|
2534
|
-
protoOf(MissingArgument).
|
|
2535
|
-
var tmp0_safe_receiver = this.
|
|
2534
|
+
protoOf(MissingArgument).e3s = function (localization, formatter) {
|
|
2535
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2536
2536
|
var tmp;
|
|
2537
2537
|
if (tmp0_safe_receiver == null) {
|
|
2538
2538
|
tmp = null;
|
|
2539
2539
|
} else {
|
|
2540
2540
|
// Inline function 'kotlin.let' call
|
|
2541
2541
|
// Inline function 'kotlin.contracts.contract' call
|
|
2542
|
-
tmp = formatter.
|
|
2542
|
+
tmp = formatter.a3t(tmp0_safe_receiver);
|
|
2543
2543
|
}
|
|
2544
2544
|
var tmp1_elvis_lhs = tmp;
|
|
2545
|
-
return localization.
|
|
2545
|
+
return localization.d3u(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2546
2546
|
};
|
|
2547
2547
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2548
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2548
|
+
IncorrectArgumentValueCount.call($this, argument.z3o(), argument);
|
|
2549
2549
|
return $this;
|
|
2550
2550
|
}
|
|
2551
2551
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2556,20 +2556,20 @@
|
|
|
2556
2556
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2557
2557
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2558
2558
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2559
|
-
this.
|
|
2559
|
+
this.i3u_1 = nvalues;
|
|
2560
2560
|
}
|
|
2561
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2562
|
-
var tmp0_safe_receiver = this.
|
|
2561
|
+
protoOf(IncorrectArgumentValueCount).e3s = function (localization, formatter) {
|
|
2562
|
+
var tmp0_safe_receiver = this.i3s_1;
|
|
2563
2563
|
var tmp;
|
|
2564
2564
|
if (tmp0_safe_receiver == null) {
|
|
2565
2565
|
tmp = null;
|
|
2566
2566
|
} else {
|
|
2567
2567
|
// Inline function 'kotlin.let' call
|
|
2568
2568
|
// Inline function 'kotlin.contracts.contract' call
|
|
2569
|
-
tmp = formatter.
|
|
2569
|
+
tmp = formatter.a3t(tmp0_safe_receiver);
|
|
2570
2570
|
}
|
|
2571
2571
|
var tmp1_elvis_lhs = tmp;
|
|
2572
|
-
return localization.
|
|
2572
|
+
return localization.j3u(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.i3u_1);
|
|
2573
2573
|
};
|
|
2574
2574
|
function Abort() {
|
|
2575
2575
|
}
|
|
@@ -2585,28 +2585,28 @@
|
|
|
2585
2585
|
lineno = lineno === VOID ? null : lineno;
|
|
2586
2586
|
UsageError.call(this, message);
|
|
2587
2587
|
captureStack(this, InvalidFileFormat);
|
|
2588
|
-
this.
|
|
2589
|
-
this.
|
|
2588
|
+
this.o3u_1 = filename;
|
|
2589
|
+
this.p3u_1 = lineno;
|
|
2590
2590
|
}
|
|
2591
|
-
protoOf(InvalidFileFormat).
|
|
2592
|
-
return this.
|
|
2591
|
+
protoOf(InvalidFileFormat).e3s = function (localization, formatter) {
|
|
2592
|
+
return this.p3u_1 == null ? localization.r3u(this.o3u_1, ensureNotNull(this.message)) : localization.q3u(this.o3u_1, this.p3u_1, ensureNotNull(this.message));
|
|
2593
2593
|
};
|
|
2594
2594
|
function MissingOption(option) {
|
|
2595
2595
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2596
2596
|
captureStack(this, MissingOption);
|
|
2597
2597
|
}
|
|
2598
|
-
protoOf(MissingOption).
|
|
2599
|
-
var tmp0_safe_receiver = this.
|
|
2598
|
+
protoOf(MissingOption).e3s = function (localization, formatter) {
|
|
2599
|
+
var tmp0_safe_receiver = this.i3s_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.b3t(tmp0_safe_receiver);
|
|
2607
2607
|
}
|
|
2608
2608
|
var tmp1_elvis_lhs = tmp;
|
|
2609
|
-
return localization.
|
|
2609
|
+
return localization.w3u(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2610
2610
|
};
|
|
2611
2611
|
function get_defaultArgFileReader() {
|
|
2612
2612
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2643,13 +2643,13 @@
|
|
|
2643
2643
|
// Inline function 'kotlin.collections.component2' call
|
|
2644
2644
|
var invocations = tmp1_loop_parameter.p2();
|
|
2645
2645
|
try {
|
|
2646
|
-
option.
|
|
2646
|
+
option.x3u(context, invocations);
|
|
2647
2647
|
} catch ($p) {
|
|
2648
2648
|
if ($p instanceof UsageError) {
|
|
2649
2649
|
var e = $p;
|
|
2650
2650
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2651
2651
|
errors.s(e);
|
|
2652
|
-
context.
|
|
2652
|
+
context.v3o_1 = true;
|
|
2653
2653
|
} else {
|
|
2654
2654
|
throw $p;
|
|
2655
2655
|
}
|
|
@@ -2674,7 +2674,7 @@
|
|
|
2674
2674
|
while (tmp2_iterator.w()) {
|
|
2675
2675
|
var o = tmp2_iterator.y();
|
|
2676
2676
|
try {
|
|
2677
|
-
o.
|
|
2677
|
+
o.x3u(context, emptyList());
|
|
2678
2678
|
} catch ($p) {
|
|
2679
2679
|
if ($p instanceof IllegalStateException) {
|
|
2680
2680
|
var e_0 = $p;
|
|
@@ -2688,7 +2688,7 @@
|
|
|
2688
2688
|
} else {
|
|
2689
2689
|
if ($p instanceof Abort) {
|
|
2690
2690
|
var e_2 = $p;
|
|
2691
|
-
if (!context.
|
|
2691
|
+
if (!context.v3o_1)
|
|
2692
2692
|
throw e_2;
|
|
2693
2693
|
} else {
|
|
2694
2694
|
throw $p;
|
|
@@ -2701,11 +2701,11 @@
|
|
|
2701
2701
|
while (tmp3_iterator.w()) {
|
|
2702
2702
|
var o_0 = tmp3_iterator.y();
|
|
2703
2703
|
try {
|
|
2704
|
-
o_0.
|
|
2704
|
+
o_0.x3u(context, emptyList());
|
|
2705
2705
|
} catch ($p) {
|
|
2706
2706
|
if ($p instanceof IllegalStateException) {
|
|
2707
2707
|
var e_3 = $p;
|
|
2708
|
-
var tmp4_safe_receiver = Companion_getInstance_1().
|
|
2708
|
+
var tmp4_safe_receiver = Companion_getInstance_1().p3s(errors);
|
|
2709
2709
|
if (tmp4_safe_receiver == null)
|
|
2710
2710
|
null;
|
|
2711
2711
|
else {
|
|
@@ -2719,14 +2719,14 @@
|
|
|
2719
2719
|
var e_4 = $p;
|
|
2720
2720
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2721
2721
|
errors.s(e_4);
|
|
2722
|
-
context.
|
|
2722
|
+
context.v3o_1 = true;
|
|
2723
2723
|
} else {
|
|
2724
2724
|
throw $p;
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
|
-
var tmp5_safe_receiver = Companion_getInstance_1().
|
|
2729
|
+
var tmp5_safe_receiver = Companion_getInstance_1().p3s(errors);
|
|
2730
2730
|
if (tmp5_safe_receiver == null)
|
|
2731
2731
|
null;
|
|
2732
2732
|
else {
|
|
@@ -2749,29 +2749,29 @@
|
|
|
2749
2749
|
}
|
|
2750
2750
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2751
2751
|
ParameterHelp.call(this);
|
|
2752
|
-
this.
|
|
2753
|
-
this.
|
|
2754
|
-
this.
|
|
2755
|
-
this.
|
|
2756
|
-
this.
|
|
2757
|
-
this.
|
|
2758
|
-
this.
|
|
2759
|
-
this.
|
|
2760
|
-
this.
|
|
2752
|
+
this.y3u_1 = names;
|
|
2753
|
+
this.z3u_1 = secondaryNames;
|
|
2754
|
+
this.a3v_1 = metavar;
|
|
2755
|
+
this.b3v_1 = help;
|
|
2756
|
+
this.c3v_1 = nvalues;
|
|
2757
|
+
this.d3v_1 = tags;
|
|
2758
|
+
this.e3v_1 = acceptsNumberValueWithoutName;
|
|
2759
|
+
this.f3v_1 = acceptsUnattachedValue;
|
|
2760
|
+
this.g3v_1 = groupName;
|
|
2761
2761
|
}
|
|
2762
2762
|
protoOf(Option).toString = function () {
|
|
2763
|
-
return 'Option(names=' + this.
|
|
2763
|
+
return 'Option(names=' + this.y3u_1 + ', secondaryNames=' + this.z3u_1 + ', metavar=' + this.a3v_1 + ', help=' + this.b3v_1 + ', nvalues=' + this.c3v_1 + ', tags=' + this.d3v_1 + ', acceptsNumberValueWithoutName=' + this.e3v_1 + ', acceptsUnattachedValue=' + this.f3v_1 + ', groupName=' + this.g3v_1 + ')';
|
|
2764
2764
|
};
|
|
2765
2765
|
protoOf(Option).hashCode = function () {
|
|
2766
|
-
var result = hashCode(this.
|
|
2767
|
-
result = imul(result, 31) + hashCode(this.
|
|
2768
|
-
result = imul(result, 31) + (this.
|
|
2769
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2770
|
-
result = imul(result, 31) + this.
|
|
2771
|
-
result = imul(result, 31) + hashCode(this.
|
|
2772
|
-
result = imul(result, 31) + (this.d3v_1 | 0) | 0;
|
|
2766
|
+
var result = hashCode(this.y3u_1);
|
|
2767
|
+
result = imul(result, 31) + hashCode(this.z3u_1) | 0;
|
|
2768
|
+
result = imul(result, 31) + (this.a3v_1 == null ? 0 : getStringHashCode(this.a3v_1)) | 0;
|
|
2769
|
+
result = imul(result, 31) + getStringHashCode(this.b3v_1) | 0;
|
|
2770
|
+
result = imul(result, 31) + this.c3v_1.hashCode() | 0;
|
|
2771
|
+
result = imul(result, 31) + hashCode(this.d3v_1) | 0;
|
|
2773
2772
|
result = imul(result, 31) + (this.e3v_1 | 0) | 0;
|
|
2774
|
-
result = imul(result, 31) + (this.f3v_1
|
|
2773
|
+
result = imul(result, 31) + (this.f3v_1 | 0) | 0;
|
|
2774
|
+
result = imul(result, 31) + (this.g3v_1 == null ? 0 : getStringHashCode(this.g3v_1)) | 0;
|
|
2775
2775
|
return result;
|
|
2776
2776
|
};
|
|
2777
2777
|
protoOf(Option).equals = function (other) {
|
|
@@ -2780,43 +2780,43 @@
|
|
|
2780
2780
|
if (!(other instanceof Option))
|
|
2781
2781
|
return false;
|
|
2782
2782
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2783
|
-
if (!equals(this.x3u_1, tmp0_other_with_cast.x3u_1))
|
|
2784
|
-
return false;
|
|
2785
2783
|
if (!equals(this.y3u_1, tmp0_other_with_cast.y3u_1))
|
|
2786
2784
|
return false;
|
|
2787
|
-
if (!(this.z3u_1
|
|
2785
|
+
if (!equals(this.z3u_1, tmp0_other_with_cast.z3u_1))
|
|
2788
2786
|
return false;
|
|
2789
|
-
if (!(this.a3v_1
|
|
2787
|
+
if (!(this.a3v_1 == tmp0_other_with_cast.a3v_1))
|
|
2790
2788
|
return false;
|
|
2791
|
-
if (!this.b3v_1
|
|
2789
|
+
if (!(this.b3v_1 === tmp0_other_with_cast.b3v_1))
|
|
2792
2790
|
return false;
|
|
2793
|
-
if (!
|
|
2791
|
+
if (!this.c3v_1.equals(tmp0_other_with_cast.c3v_1))
|
|
2794
2792
|
return false;
|
|
2795
|
-
if (!(this.d3v_1
|
|
2793
|
+
if (!equals(this.d3v_1, tmp0_other_with_cast.d3v_1))
|
|
2796
2794
|
return false;
|
|
2797
2795
|
if (!(this.e3v_1 === tmp0_other_with_cast.e3v_1))
|
|
2798
2796
|
return false;
|
|
2799
|
-
if (!(this.f3v_1
|
|
2797
|
+
if (!(this.f3v_1 === tmp0_other_with_cast.f3v_1))
|
|
2798
|
+
return false;
|
|
2799
|
+
if (!(this.g3v_1 == tmp0_other_with_cast.g3v_1))
|
|
2800
2800
|
return false;
|
|
2801
2801
|
return true;
|
|
2802
2802
|
};
|
|
2803
2803
|
function Argument(name, help, required, repeatable, tags) {
|
|
2804
2804
|
ParameterHelp.call(this);
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2807
|
-
this.
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2805
|
+
this.h3v_1 = name;
|
|
2806
|
+
this.i3v_1 = help;
|
|
2807
|
+
this.j3v_1 = required;
|
|
2808
|
+
this.k3v_1 = repeatable;
|
|
2809
|
+
this.l3v_1 = tags;
|
|
2810
2810
|
}
|
|
2811
2811
|
protoOf(Argument).toString = function () {
|
|
2812
|
-
return 'Argument(name=' + this.
|
|
2812
|
+
return 'Argument(name=' + this.h3v_1 + ', help=' + this.i3v_1 + ', required=' + this.j3v_1 + ', repeatable=' + this.k3v_1 + ', tags=' + this.l3v_1 + ')';
|
|
2813
2813
|
};
|
|
2814
2814
|
protoOf(Argument).hashCode = function () {
|
|
2815
|
-
var result = getStringHashCode(this.
|
|
2816
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2817
|
-
result = imul(result, 31) + (this.i3v_1 | 0) | 0;
|
|
2815
|
+
var result = getStringHashCode(this.h3v_1);
|
|
2816
|
+
result = imul(result, 31) + getStringHashCode(this.i3v_1) | 0;
|
|
2818
2817
|
result = imul(result, 31) + (this.j3v_1 | 0) | 0;
|
|
2819
|
-
result = imul(result, 31) +
|
|
2818
|
+
result = imul(result, 31) + (this.k3v_1 | 0) | 0;
|
|
2819
|
+
result = imul(result, 31) + hashCode(this.l3v_1) | 0;
|
|
2820
2820
|
return result;
|
|
2821
2821
|
};
|
|
2822
2822
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2825,31 +2825,31 @@
|
|
|
2825
2825
|
if (!(other instanceof Argument))
|
|
2826
2826
|
return false;
|
|
2827
2827
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2828
|
-
if (!(this.g3v_1 === tmp0_other_with_cast.g3v_1))
|
|
2829
|
-
return false;
|
|
2830
2828
|
if (!(this.h3v_1 === tmp0_other_with_cast.h3v_1))
|
|
2831
2829
|
return false;
|
|
2832
2830
|
if (!(this.i3v_1 === tmp0_other_with_cast.i3v_1))
|
|
2833
2831
|
return false;
|
|
2834
2832
|
if (!(this.j3v_1 === tmp0_other_with_cast.j3v_1))
|
|
2835
2833
|
return false;
|
|
2836
|
-
if (!
|
|
2834
|
+
if (!(this.k3v_1 === tmp0_other_with_cast.k3v_1))
|
|
2835
|
+
return false;
|
|
2836
|
+
if (!equals(this.l3v_1, tmp0_other_with_cast.l3v_1))
|
|
2837
2837
|
return false;
|
|
2838
2838
|
return true;
|
|
2839
2839
|
};
|
|
2840
2840
|
function Subcommand(name, help, tags) {
|
|
2841
2841
|
ParameterHelp.call(this);
|
|
2842
|
-
this.
|
|
2843
|
-
this.
|
|
2844
|
-
this.
|
|
2842
|
+
this.m3v_1 = name;
|
|
2843
|
+
this.n3v_1 = help;
|
|
2844
|
+
this.o3v_1 = tags;
|
|
2845
2845
|
}
|
|
2846
2846
|
protoOf(Subcommand).toString = function () {
|
|
2847
|
-
return 'Subcommand(name=' + this.
|
|
2847
|
+
return 'Subcommand(name=' + this.m3v_1 + ', help=' + this.n3v_1 + ', tags=' + this.o3v_1 + ')';
|
|
2848
2848
|
};
|
|
2849
2849
|
protoOf(Subcommand).hashCode = function () {
|
|
2850
|
-
var result = getStringHashCode(this.
|
|
2851
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2852
|
-
result = imul(result, 31) + hashCode(this.
|
|
2850
|
+
var result = getStringHashCode(this.m3v_1);
|
|
2851
|
+
result = imul(result, 31) + getStringHashCode(this.n3v_1) | 0;
|
|
2852
|
+
result = imul(result, 31) + hashCode(this.o3v_1) | 0;
|
|
2853
2853
|
return result;
|
|
2854
2854
|
};
|
|
2855
2855
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2858,25 +2858,25 @@
|
|
|
2858
2858
|
if (!(other instanceof Subcommand))
|
|
2859
2859
|
return false;
|
|
2860
2860
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2861
|
-
if (!(this.l3v_1 === tmp0_other_with_cast.l3v_1))
|
|
2862
|
-
return false;
|
|
2863
2861
|
if (!(this.m3v_1 === tmp0_other_with_cast.m3v_1))
|
|
2864
2862
|
return false;
|
|
2865
|
-
if (!
|
|
2863
|
+
if (!(this.n3v_1 === tmp0_other_with_cast.n3v_1))
|
|
2864
|
+
return false;
|
|
2865
|
+
if (!equals(this.o3v_1, tmp0_other_with_cast.o3v_1))
|
|
2866
2866
|
return false;
|
|
2867
2867
|
return true;
|
|
2868
2868
|
};
|
|
2869
2869
|
function Group(name, help) {
|
|
2870
2870
|
ParameterHelp.call(this);
|
|
2871
|
-
this.
|
|
2872
|
-
this.
|
|
2871
|
+
this.p3v_1 = name;
|
|
2872
|
+
this.q3v_1 = help;
|
|
2873
2873
|
}
|
|
2874
2874
|
protoOf(Group).toString = function () {
|
|
2875
|
-
return 'Group(name=' + this.
|
|
2875
|
+
return 'Group(name=' + this.p3v_1 + ', help=' + this.q3v_1 + ')';
|
|
2876
2876
|
};
|
|
2877
2877
|
protoOf(Group).hashCode = function () {
|
|
2878
|
-
var result = getStringHashCode(this.
|
|
2879
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2878
|
+
var result = getStringHashCode(this.p3v_1);
|
|
2879
|
+
result = imul(result, 31) + getStringHashCode(this.q3v_1) | 0;
|
|
2880
2880
|
return result;
|
|
2881
2881
|
};
|
|
2882
2882
|
protoOf(Group).equals = function (other) {
|
|
@@ -2885,18 +2885,18 @@
|
|
|
2885
2885
|
if (!(other instanceof Group))
|
|
2886
2886
|
return false;
|
|
2887
2887
|
var tmp0_other_with_cast = other instanceof Group ? other : THROW_CCE();
|
|
2888
|
-
if (!(this.o3v_1 === tmp0_other_with_cast.o3v_1))
|
|
2889
|
-
return false;
|
|
2890
2888
|
if (!(this.p3v_1 === tmp0_other_with_cast.p3v_1))
|
|
2891
2889
|
return false;
|
|
2890
|
+
if (!(this.q3v_1 === tmp0_other_with_cast.q3v_1))
|
|
2891
|
+
return false;
|
|
2892
2892
|
return true;
|
|
2893
2893
|
};
|
|
2894
2894
|
function ParameterHelp() {
|
|
2895
2895
|
}
|
|
2896
2896
|
function Tags() {
|
|
2897
2897
|
Tags_instance = this;
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2898
|
+
this.r3v_1 = 'default';
|
|
2899
|
+
this.s3v_1 = 'required';
|
|
2900
2900
|
}
|
|
2901
2901
|
var Tags_instance;
|
|
2902
2902
|
function Tags_getInstance() {
|
|
@@ -2928,15 +2928,15 @@
|
|
|
2928
2928
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2929
2929
|
}
|
|
2930
2930
|
function RenderedSection(title, content) {
|
|
2931
|
-
this.
|
|
2932
|
-
this.
|
|
2931
|
+
this.m3w_1 = title;
|
|
2932
|
+
this.n3w_1 = content;
|
|
2933
2933
|
}
|
|
2934
2934
|
protoOf(RenderedSection).toString = function () {
|
|
2935
|
-
return 'RenderedSection(title=' + this.
|
|
2935
|
+
return 'RenderedSection(title=' + this.m3w_1 + ', content=' + this.n3w_1 + ')';
|
|
2936
2936
|
};
|
|
2937
2937
|
protoOf(RenderedSection).hashCode = function () {
|
|
2938
|
-
var result = hashCode(this.
|
|
2939
|
-
result = imul(result, 31) + hashCode(this.
|
|
2938
|
+
var result = hashCode(this.m3w_1);
|
|
2939
|
+
result = imul(result, 31) + hashCode(this.n3w_1) | 0;
|
|
2940
2940
|
return result;
|
|
2941
2941
|
};
|
|
2942
2942
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -2945,25 +2945,25 @@
|
|
|
2945
2945
|
if (!(other instanceof RenderedSection))
|
|
2946
2946
|
return false;
|
|
2947
2947
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
2948
|
-
if (!equals(this.l3w_1, tmp0_other_with_cast.l3w_1))
|
|
2949
|
-
return false;
|
|
2950
2948
|
if (!equals(this.m3w_1, tmp0_other_with_cast.m3w_1))
|
|
2951
2949
|
return false;
|
|
2950
|
+
if (!equals(this.n3w_1, tmp0_other_with_cast.n3w_1))
|
|
2951
|
+
return false;
|
|
2952
2952
|
return true;
|
|
2953
2953
|
};
|
|
2954
2954
|
function DefinitionRow(term, description, marker) {
|
|
2955
2955
|
marker = marker === VOID ? null : marker;
|
|
2956
|
-
this.
|
|
2957
|
-
this.
|
|
2958
|
-
this.
|
|
2956
|
+
this.o3w_1 = term;
|
|
2957
|
+
this.p3w_1 = description;
|
|
2958
|
+
this.q3w_1 = marker;
|
|
2959
2959
|
}
|
|
2960
2960
|
protoOf(DefinitionRow).toString = function () {
|
|
2961
|
-
return 'DefinitionRow(term=' + this.
|
|
2961
|
+
return 'DefinitionRow(term=' + this.o3w_1 + ', description=' + this.p3w_1 + ', marker=' + this.q3w_1 + ')';
|
|
2962
2962
|
};
|
|
2963
2963
|
protoOf(DefinitionRow).hashCode = function () {
|
|
2964
|
-
var result = getStringHashCode(this.
|
|
2965
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2966
|
-
result = imul(result, 31) + (this.
|
|
2964
|
+
var result = getStringHashCode(this.o3w_1);
|
|
2965
|
+
result = imul(result, 31) + getStringHashCode(this.p3w_1) | 0;
|
|
2966
|
+
result = imul(result, 31) + (this.q3w_1 == null ? 0 : getStringHashCode(this.q3w_1)) | 0;
|
|
2967
2967
|
return result;
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -2972,49 +2972,49 @@
|
|
|
2972
2972
|
if (!(other instanceof DefinitionRow))
|
|
2973
2973
|
return false;
|
|
2974
2974
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
2975
|
-
if (!(this.n3w_1 === tmp0_other_with_cast.n3w_1))
|
|
2976
|
-
return false;
|
|
2977
2975
|
if (!(this.o3w_1 === tmp0_other_with_cast.o3w_1))
|
|
2978
2976
|
return false;
|
|
2979
|
-
if (!(this.p3w_1
|
|
2977
|
+
if (!(this.p3w_1 === tmp0_other_with_cast.p3w_1))
|
|
2978
|
+
return false;
|
|
2979
|
+
if (!(this.q3w_1 == tmp0_other_with_cast.q3w_1))
|
|
2980
2980
|
return false;
|
|
2981
2981
|
return true;
|
|
2982
2982
|
};
|
|
2983
2983
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
2984
|
-
this.
|
|
2984
|
+
this.r3w_1 = function_0;
|
|
2985
2985
|
}
|
|
2986
2986
|
protoOf(sam$kotlin_Comparator$0_0).u9 = function (a, b) {
|
|
2987
|
-
return this.
|
|
2987
|
+
return this.r3w_1(a, b);
|
|
2988
2988
|
};
|
|
2989
2989
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
2990
2990
|
return this.u9(a, b);
|
|
2991
2991
|
};
|
|
2992
2992
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
2993
|
-
this.
|
|
2993
|
+
this.s3w_1 = function_0;
|
|
2994
2994
|
}
|
|
2995
2995
|
protoOf(sam$kotlin_Comparator$0_1).u9 = function (a, b) {
|
|
2996
|
-
return this.
|
|
2996
|
+
return this.s3w_1(a, b);
|
|
2997
2997
|
};
|
|
2998
2998
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
2999
2999
|
return this.u9(a, b);
|
|
3000
3000
|
};
|
|
3001
3001
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3002
3002
|
return function ($this$verticalLayout) {
|
|
3003
|
-
$this$verticalLayout.
|
|
3004
|
-
$this$verticalLayout.
|
|
3003
|
+
$this$verticalLayout.p3i(1);
|
|
3004
|
+
$this$verticalLayout.l3h(this$0.x3w($error, $prolog, $epilog, $parameters, $programName));
|
|
3005
3005
|
return Unit_getInstance();
|
|
3006
3006
|
};
|
|
3007
3007
|
}
|
|
3008
3008
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
3009
3009
|
return function ($this$definitionList) {
|
|
3010
|
-
$this$definitionList.
|
|
3011
|
-
$this$definitionList.
|
|
3012
|
-
$this$definitionList.
|
|
3010
|
+
$this$definitionList.k3l($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
3011
|
+
$this$definitionList.e3l_1 = true;
|
|
3012
|
+
$this$definitionList.h3l(1);
|
|
3013
3013
|
return Unit_getInstance();
|
|
3014
3014
|
};
|
|
3015
3015
|
}
|
|
3016
3016
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
3017
|
-
$this$withPadding.
|
|
3017
|
+
$this$withPadding.i3c_1 = 2;
|
|
3018
3018
|
return Unit_getInstance();
|
|
3019
3019
|
}
|
|
3020
3020
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -3028,24 +3028,24 @@
|
|
|
3028
3028
|
}
|
|
3029
3029
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3030
3030
|
return function ($this$definitionList) {
|
|
3031
|
-
var tmp0_iterator = this$0.
|
|
3031
|
+
var tmp0_iterator = this$0.y3w($parameters).v();
|
|
3032
3032
|
while (tmp0_iterator.w()) {
|
|
3033
3033
|
var section = tmp0_iterator.y();
|
|
3034
|
-
$this$definitionList.
|
|
3034
|
+
$this$definitionList.l3l(section.m3w_1, section.n3w_1);
|
|
3035
3035
|
}
|
|
3036
3036
|
return Unit_getInstance();
|
|
3037
3037
|
};
|
|
3038
3038
|
}
|
|
3039
3039
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3040
|
-
$this$withPadding.
|
|
3041
|
-
$this$withPadding.
|
|
3042
|
-
$this$withPadding.
|
|
3040
|
+
$this$withPadding.f3c_1 = 1;
|
|
3041
|
+
$this$withPadding.i3c_1 = 2;
|
|
3042
|
+
$this$withPadding.h3c_1 = 1;
|
|
3043
3043
|
return Unit_getInstance();
|
|
3044
3044
|
}
|
|
3045
3045
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3046
3046
|
return function ($this$verticalLayout) {
|
|
3047
|
-
$this$verticalLayout.
|
|
3048
|
-
$this$verticalLayout.
|
|
3047
|
+
$this$verticalLayout.o3b($markdown);
|
|
3048
|
+
$this$verticalLayout.o3b(this$0.z3w($options));
|
|
3049
3049
|
return Unit_getInstance();
|
|
3050
3050
|
};
|
|
3051
3051
|
}
|
|
@@ -3059,7 +3059,7 @@
|
|
|
3059
3059
|
// Inline function 'kotlin.collections.component2' call
|
|
3060
3060
|
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.p2();
|
|
3061
3061
|
var v = tmp$ret$1;
|
|
3062
|
-
return this$0.
|
|
3062
|
+
return this$0.a3x(k, v);
|
|
3063
3063
|
};
|
|
3064
3064
|
}
|
|
3065
3065
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3072,7 +3072,7 @@
|
|
|
3072
3072
|
// Inline function 'kotlin.collections.component2' call
|
|
3073
3073
|
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.p2();
|
|
3074
3074
|
var v = tmp$ret$1;
|
|
3075
|
-
return this$0.
|
|
3075
|
+
return this$0.b3x(k, v);
|
|
3076
3076
|
};
|
|
3077
3077
|
}
|
|
3078
3078
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3086,28 +3086,28 @@
|
|
|
3086
3086
|
}
|
|
3087
3087
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3088
3088
|
return function (it) {
|
|
3089
|
-
return this$0.
|
|
3089
|
+
return this$0.c3x(it);
|
|
3090
3090
|
};
|
|
3091
3091
|
}
|
|
3092
3092
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3093
|
-
this.
|
|
3093
|
+
this.d3x_1 = this$0;
|
|
3094
3094
|
}
|
|
3095
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3096
|
-
return this.
|
|
3095
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).b3t = function (name) {
|
|
3096
|
+
return this.d3x_1.c3x(name);
|
|
3097
3097
|
};
|
|
3098
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3099
|
-
return this.
|
|
3098
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).a3t = function (name) {
|
|
3099
|
+
return this.d3x_1.f3x(this.d3x_1.e3x(name));
|
|
3100
3100
|
};
|
|
3101
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3102
|
-
return this.
|
|
3101
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).l3t = function (name) {
|
|
3102
|
+
return this.d3x_1.g3x(name);
|
|
3103
3103
|
};
|
|
3104
3104
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3105
3105
|
return function ($this$definitionList) {
|
|
3106
|
-
$this$definitionList.
|
|
3106
|
+
$this$definitionList.e3l_1 = true;
|
|
3107
3107
|
var tmp0_iterator = $rows.v();
|
|
3108
3108
|
while (tmp0_iterator.w()) {
|
|
3109
3109
|
var row = tmp0_iterator.y();
|
|
3110
|
-
$this$definitionList.
|
|
3110
|
+
$this$definitionList.l3l(this$0.h3x(row), this$0.i3x(row));
|
|
3111
3111
|
}
|
|
3112
3112
|
return Unit_getInstance();
|
|
3113
3113
|
};
|
|
@@ -3116,22 +3116,22 @@
|
|
|
3116
3116
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3117
3117
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3118
3118
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3122
|
-
this.
|
|
3119
|
+
this.t3w_1 = context;
|
|
3120
|
+
this.u3w_1 = requiredOptionMarker;
|
|
3121
|
+
this.v3w_1 = showDefaultValues;
|
|
3122
|
+
this.w3w_1 = showRequiredTag;
|
|
3123
3123
|
}
|
|
3124
|
-
protoOf(MordantHelpFormatter).i3x = function () {
|
|
3125
|
-
return this.s3w_1.p3o_1;
|
|
3126
|
-
};
|
|
3127
3124
|
protoOf(MordantHelpFormatter).j3x = function () {
|
|
3128
|
-
return this.
|
|
3125
|
+
return this.t3w_1.q3o_1;
|
|
3129
3126
|
};
|
|
3130
|
-
protoOf(MordantHelpFormatter).
|
|
3127
|
+
protoOf(MordantHelpFormatter).k3x = function () {
|
|
3128
|
+
return this.t3w_1.l3o_1.f39_1;
|
|
3129
|
+
};
|
|
3130
|
+
protoOf(MordantHelpFormatter).b3q = function (error, prolog, epilog, parameters, programName) {
|
|
3131
3131
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3132
|
-
return this.
|
|
3132
|
+
return this.t3w_1.l3o_1.w3k(widget);
|
|
3133
3133
|
};
|
|
3134
|
-
protoOf(MordantHelpFormatter).
|
|
3134
|
+
protoOf(MordantHelpFormatter).x3w = function (error, prolog, epilog, parameters, programName) {
|
|
3135
3135
|
// Inline function 'kotlin.collections.buildList' call
|
|
3136
3136
|
// Inline function 'kotlin.contracts.contract' call
|
|
3137
3137
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3139,26 +3139,26 @@
|
|
|
3139
3139
|
var tmp0_apply = ArrayList_init_$Create$();
|
|
3140
3140
|
// Inline function 'kotlin.contracts.contract' call
|
|
3141
3141
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3142
|
-
tmp0_apply.s(this.
|
|
3142
|
+
tmp0_apply.s(this.l3x(parameters, programName));
|
|
3143
3143
|
if (error == null) {
|
|
3144
3144
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3145
3145
|
if (charSequenceLength(prolog) > 0) {
|
|
3146
|
-
tmp0_apply.s(this.
|
|
3146
|
+
tmp0_apply.s(this.n3x(prolog));
|
|
3147
3147
|
}
|
|
3148
3148
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3149
3149
|
if (!parameters.c1()) {
|
|
3150
|
-
tmp0_apply.s(this.
|
|
3150
|
+
tmp0_apply.s(this.o3x(parameters));
|
|
3151
3151
|
}
|
|
3152
3152
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3153
3153
|
if (charSequenceLength(epilog) > 0) {
|
|
3154
|
-
tmp0_apply.s(this.
|
|
3154
|
+
tmp0_apply.s(this.p3x(epilog));
|
|
3155
3155
|
}
|
|
3156
3156
|
} else {
|
|
3157
|
-
tmp0_apply.s(this.
|
|
3157
|
+
tmp0_apply.s(this.m3x(parameters, error));
|
|
3158
3158
|
}
|
|
3159
3159
|
return tmp0_apply.b3();
|
|
3160
3160
|
};
|
|
3161
|
-
protoOf(MordantHelpFormatter).
|
|
3161
|
+
protoOf(MordantHelpFormatter).m3x = function (parameters, error) {
|
|
3162
3162
|
var tmp$ret$2;
|
|
3163
3163
|
// Inline function 'kotlin.text.buildString' call
|
|
3164
3164
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3167,7 +3167,7 @@
|
|
|
3167
3167
|
// Inline function 'kotlin.contracts.contract' call
|
|
3168
3168
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3169
3169
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3170
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3170
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u3s_1;
|
|
3171
3171
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3172
3172
|
var iterator = errors.v();
|
|
3173
3173
|
var index = 0;
|
|
@@ -3179,16 +3179,16 @@
|
|
|
3179
3179
|
// Inline function 'kotlin.text.appendLine' call
|
|
3180
3180
|
tmp0_apply.g5(_Char___init__impl__6a9atx(10));
|
|
3181
3181
|
}
|
|
3182
|
-
tmp0_apply.f5(this.
|
|
3182
|
+
tmp0_apply.f5(this.q3x(this.j3x().t3v()));
|
|
3183
3183
|
tmp0_apply.f5(' ');
|
|
3184
|
-
tmp0_apply.f5(e.
|
|
3184
|
+
tmp0_apply.f5(e.e3s(this.j3x(), this.r3x(this.t3w_1)));
|
|
3185
3185
|
}
|
|
3186
3186
|
tmp$ret$2 = tmp0_apply.toString();
|
|
3187
3187
|
return Text_init_$Create$(tmp$ret$2);
|
|
3188
3188
|
};
|
|
3189
|
-
protoOf(MordantHelpFormatter).
|
|
3190
|
-
var optionalStyle = this.
|
|
3191
|
-
var title = this.
|
|
3189
|
+
protoOf(MordantHelpFormatter).l3x = function (parameters, programName) {
|
|
3190
|
+
var optionalStyle = this.k3x().l3a('muted');
|
|
3191
|
+
var title = this.s3x(this.j3x().d3w());
|
|
3192
3192
|
var prog = title + ' ' + programName;
|
|
3193
3193
|
// Inline function 'kotlin.collections.buildList' call
|
|
3194
3194
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3222,8 +3222,8 @@
|
|
|
3222
3222
|
tmp$ret$0 = false;
|
|
3223
3223
|
}
|
|
3224
3224
|
if (tmp$ret$0) {
|
|
3225
|
-
var metavar = this.
|
|
3226
|
-
tmp0_apply.s(optionalStyle.j28(this.
|
|
3225
|
+
var metavar = this.e3x(this.j3x().h3w());
|
|
3226
|
+
tmp0_apply.s(optionalStyle.j28(this.t3x(metavar)));
|
|
3227
3227
|
}
|
|
3228
3228
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3229
3229
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3241,12 +3241,12 @@
|
|
|
3241
3241
|
var item = tmp0_iterator_1.y();
|
|
3242
3242
|
var tmp$ret$4;
|
|
3243
3243
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3244
|
-
var name = this.
|
|
3245
|
-
if (!item.
|
|
3246
|
-
name = this.s3x(name);
|
|
3247
|
-
if (item.j3v_1)
|
|
3244
|
+
var name = this.e3x(item.h3v_1);
|
|
3245
|
+
if (!item.j3v_1)
|
|
3248
3246
|
name = this.t3x(name);
|
|
3249
|
-
|
|
3247
|
+
if (item.k3v_1)
|
|
3248
|
+
name = this.u3x(name);
|
|
3249
|
+
var style = item.j3v_1 ? TextStyle() : optionalStyle;
|
|
3250
3250
|
tmp$ret$4 = style.j28(name);
|
|
3251
3251
|
tmp0_apply.s(tmp$ret$4);
|
|
3252
3252
|
}
|
|
@@ -3275,9 +3275,9 @@
|
|
|
3275
3275
|
tmp$ret$6 = false;
|
|
3276
3276
|
}
|
|
3277
3277
|
if (tmp$ret$6) {
|
|
3278
|
-
var commandMetavar = this.
|
|
3279
|
-
var argsMetavar = this.
|
|
3280
|
-
var repeatedArgs = this.
|
|
3278
|
+
var commandMetavar = this.e3x(this.j3x().i3w());
|
|
3279
|
+
var argsMetavar = this.e3x(this.j3x().j3w());
|
|
3280
|
+
var repeatedArgs = this.u3x(this.t3x(argsMetavar));
|
|
3281
3281
|
tmp0_apply.s(optionalStyle.j28(commandMetavar + ' ' + repeatedArgs));
|
|
3282
3282
|
}
|
|
3283
3283
|
var usageParts = tmp0_apply.b3();
|
|
@@ -3289,17 +3289,17 @@
|
|
|
3289
3289
|
}
|
|
3290
3290
|
return tmp_1;
|
|
3291
3291
|
};
|
|
3292
|
-
protoOf(MordantHelpFormatter).
|
|
3292
|
+
protoOf(MordantHelpFormatter).n3x = function (prolog) {
|
|
3293
3293
|
var tmp = new Markdown(prolog, true);
|
|
3294
3294
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3295
3295
|
};
|
|
3296
|
-
protoOf(MordantHelpFormatter).
|
|
3296
|
+
protoOf(MordantHelpFormatter).p3x = function (epilog) {
|
|
3297
3297
|
return new Markdown(epilog, true);
|
|
3298
3298
|
};
|
|
3299
|
-
protoOf(MordantHelpFormatter).
|
|
3299
|
+
protoOf(MordantHelpFormatter).v3x = function (title) {
|
|
3300
3300
|
return title + ':';
|
|
3301
3301
|
};
|
|
3302
|
-
protoOf(MordantHelpFormatter).
|
|
3302
|
+
protoOf(MordantHelpFormatter).w3x = function (parameters) {
|
|
3303
3303
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3304
3304
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3305
3305
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3319,7 +3319,7 @@
|
|
|
3319
3319
|
var element_0 = tmp0_iterator_0.y();
|
|
3320
3320
|
var tmp$ret$2;
|
|
3321
3321
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3322
|
-
tmp$ret$2 = element_0.
|
|
3322
|
+
tmp$ret$2 = element_0.p3v_1;
|
|
3323
3323
|
tmp0_associateByTo.l2(tmp$ret$2, element_0);
|
|
3324
3324
|
}
|
|
3325
3325
|
var groupsByName = tmp0_associateByTo;
|
|
@@ -3343,7 +3343,7 @@
|
|
|
3343
3343
|
while (tmp0_iterator_2.w()) {
|
|
3344
3344
|
var element_2 = tmp0_iterator_2.y();
|
|
3345
3345
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3346
|
-
var key = element_2.
|
|
3346
|
+
var key = element_2.g3v_1;
|
|
3347
3347
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3348
3348
|
var value = tmp0_groupByTo.u2(key);
|
|
3349
3349
|
var tmp;
|
|
@@ -3384,19 +3384,19 @@
|
|
|
3384
3384
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3385
3385
|
var title = item.gd();
|
|
3386
3386
|
var params = item.hd();
|
|
3387
|
-
var renderedTitle = this.
|
|
3387
|
+
var renderedTitle = this.v3x(title == null ? this.j3x().e3w() : title);
|
|
3388
3388
|
// Inline function 'kotlin.collections.get' call
|
|
3389
3389
|
var tmp1_safe_receiver = (isInterface(groupsByName, Map) ? groupsByName : THROW_CCE()).u2(title);
|
|
3390
|
-
var content = this.
|
|
3391
|
-
tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3390
|
+
var content = this.x3x(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q3v_1, params);
|
|
3391
|
+
tmp$ret$19 = RenderedSection_init_$Create$(this.y3x(renderedTitle), content);
|
|
3392
3392
|
tmp0_mapTo.s(tmp$ret$19);
|
|
3393
3393
|
}
|
|
3394
3394
|
return toList_1(tmp0_mapTo);
|
|
3395
3395
|
};
|
|
3396
|
-
protoOf(MordantHelpFormatter).
|
|
3396
|
+
protoOf(MordantHelpFormatter).o3x = function (parameters) {
|
|
3397
3397
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3398
3398
|
};
|
|
3399
|
-
protoOf(MordantHelpFormatter).
|
|
3399
|
+
protoOf(MordantHelpFormatter).y3w = function (parameters) {
|
|
3400
3400
|
// Inline function 'kotlin.collections.buildList' call
|
|
3401
3401
|
// Inline function 'kotlin.contracts.contract' call
|
|
3402
3402
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3404,12 +3404,12 @@
|
|
|
3404
3404
|
var tmp0_apply = ArrayList_init_$Create$();
|
|
3405
3405
|
// Inline function 'kotlin.contracts.contract' call
|
|
3406
3406
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3407
|
-
tmp0_apply.z(this.
|
|
3408
|
-
tmp0_apply.z(this.y3x(parameters));
|
|
3407
|
+
tmp0_apply.z(this.w3x(parameters));
|
|
3409
3408
|
tmp0_apply.z(this.z3x(parameters));
|
|
3409
|
+
tmp0_apply.z(this.a3y(parameters));
|
|
3410
3410
|
return tmp0_apply.b3();
|
|
3411
3411
|
};
|
|
3412
|
-
protoOf(MordantHelpFormatter).
|
|
3412
|
+
protoOf(MordantHelpFormatter).x3x = function (help, parameters) {
|
|
3413
3413
|
// Inline function 'kotlin.collections.map' call
|
|
3414
3414
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3415
3415
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3419,29 +3419,29 @@
|
|
|
3419
3419
|
var tmp$ret$5;
|
|
3420
3420
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3421
3421
|
var tmp;
|
|
3422
|
-
if (item.
|
|
3423
|
-
tmp = plus_0(listOf_0(this.
|
|
3422
|
+
if (item.e3v_1) {
|
|
3423
|
+
tmp = plus_0(listOf_0(this.b3y(item)), item.y3u_1);
|
|
3424
3424
|
} else {
|
|
3425
|
-
tmp = item.
|
|
3425
|
+
tmp = item.y3u_1;
|
|
3426
3426
|
}
|
|
3427
3427
|
var unjoinedNames = tmp;
|
|
3428
|
-
var names = mutableListOf([this.
|
|
3428
|
+
var names = mutableListOf([this.c3y(unjoinedNames)]);
|
|
3429
3429
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3430
|
-
if (!item.
|
|
3430
|
+
if (!item.z3u_1.c1()) {
|
|
3431
3431
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3432
|
-
var tmp1_plusAssign = this.
|
|
3432
|
+
var tmp1_plusAssign = this.c3y(item.z3u_1);
|
|
3433
3433
|
names.s(tmp1_plusAssign);
|
|
3434
3434
|
}
|
|
3435
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3436
|
-
var tmp_1 = this.
|
|
3435
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.d3y(item));
|
|
3436
|
+
var tmp_1 = this.e3y(item.b3v_1, item.d3v_1);
|
|
3437
3437
|
Tags_getInstance();
|
|
3438
3438
|
var tmp0_subject = 'required';
|
|
3439
3439
|
var tmp_2;
|
|
3440
3440
|
// Inline function 'kotlin.collections.contains' call
|
|
3441
|
-
var tmp2_contains = item.
|
|
3441
|
+
var tmp2_contains = item.d3v_1;
|
|
3442
3442
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3443
3443
|
if ((isInterface(tmp2_contains, Map) ? tmp2_contains : THROW_CCE()).s2(tmp0_subject)) {
|
|
3444
|
-
var tmp1_safe_receiver = this.
|
|
3444
|
+
var tmp1_safe_receiver = this.u3w_1;
|
|
3445
3445
|
var tmp_3;
|
|
3446
3446
|
if (tmp1_safe_receiver == null) {
|
|
3447
3447
|
tmp_3 = null;
|
|
@@ -3449,7 +3449,7 @@
|
|
|
3449
3449
|
// Inline function 'kotlin.let' call
|
|
3450
3450
|
// Inline function 'kotlin.contracts.contract' call
|
|
3451
3451
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3452
|
-
tmp_3 = this.
|
|
3452
|
+
tmp_3 = this.f3y(tmp1_safe_receiver);
|
|
3453
3453
|
}
|
|
3454
3454
|
tmp_2 = tmp_3;
|
|
3455
3455
|
} else {
|
|
@@ -3460,12 +3460,12 @@
|
|
|
3460
3460
|
}
|
|
3461
3461
|
var options = tmp0_mapTo;
|
|
3462
3462
|
if (help == null)
|
|
3463
|
-
return this.
|
|
3463
|
+
return this.z3w(options);
|
|
3464
3464
|
var tmp_4 = new Markdown(help, true);
|
|
3465
3465
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3466
3466
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3467
3467
|
};
|
|
3468
|
-
protoOf(MordantHelpFormatter).
|
|
3468
|
+
protoOf(MordantHelpFormatter).z3x = function (parameters) {
|
|
3469
3469
|
// Inline function 'kotlin.collections.map' call
|
|
3470
3470
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3471
3471
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3484,7 +3484,7 @@
|
|
|
3484
3484
|
var item = tmp0_iterator_0.y();
|
|
3485
3485
|
var tmp$ret$2;
|
|
3486
3486
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3487
|
-
tmp$ret$2 = new DefinitionRow(this.
|
|
3487
|
+
tmp$ret$2 = new DefinitionRow(this.f3x(this.e3x(item.h3v_1)), this.e3y(item.i3v_1, item.l3v_1));
|
|
3488
3488
|
tmp0_mapTo.s(tmp$ret$2);
|
|
3489
3489
|
}
|
|
3490
3490
|
var arguments_0 = tmp0_mapTo;
|
|
@@ -3510,7 +3510,7 @@
|
|
|
3510
3510
|
var element_0 = tmp0_iterator_1.y();
|
|
3511
3511
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3512
3512
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3513
|
-
var tmp0_isEmpty = element_0.
|
|
3513
|
+
var tmp0_isEmpty = element_0.p3w_1;
|
|
3514
3514
|
if (!(charSequenceLength(tmp0_isEmpty) === 0)) {
|
|
3515
3515
|
tmp$ret$5 = false;
|
|
3516
3516
|
break $l$block_0;
|
|
@@ -3522,10 +3522,10 @@
|
|
|
3522
3522
|
}
|
|
3523
3523
|
if (tmp)
|
|
3524
3524
|
return emptyList();
|
|
3525
|
-
var title = this.
|
|
3526
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3525
|
+
var title = this.y3x(this.v3x(this.j3x().f3w()));
|
|
3526
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.z3w(arguments_0)));
|
|
3527
3527
|
};
|
|
3528
|
-
protoOf(MordantHelpFormatter).
|
|
3528
|
+
protoOf(MordantHelpFormatter).a3y = function (parameters) {
|
|
3529
3529
|
// Inline function 'kotlin.collections.map' call
|
|
3530
3530
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3531
3531
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3544,16 +3544,16 @@
|
|
|
3544
3544
|
var item = tmp0_iterator_0.y();
|
|
3545
3545
|
var tmp$ret$2;
|
|
3546
3546
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3547
|
-
tmp$ret$2 = new DefinitionRow(this.
|
|
3547
|
+
tmp$ret$2 = new DefinitionRow(this.g3x(item.m3v_1), this.e3y(item.n3v_1, item.o3v_1));
|
|
3548
3548
|
tmp0_mapTo.s(tmp$ret$2);
|
|
3549
3549
|
}
|
|
3550
3550
|
var commands = tmp0_mapTo;
|
|
3551
3551
|
if (commands.c1())
|
|
3552
3552
|
return emptyList();
|
|
3553
|
-
var title = this.
|
|
3554
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3553
|
+
var title = this.y3x(this.v3x(this.j3x().g3w()));
|
|
3554
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.z3w(commands)));
|
|
3555
3555
|
};
|
|
3556
|
-
protoOf(MordantHelpFormatter).
|
|
3556
|
+
protoOf(MordantHelpFormatter).e3y = function (help, tags) {
|
|
3557
3557
|
var tmp = asSequence(tags);
|
|
3558
3558
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3559
3559
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3571,12 +3571,12 @@
|
|
|
3571
3571
|
}
|
|
3572
3572
|
return tmp_1;
|
|
3573
3573
|
};
|
|
3574
|
-
protoOf(MordantHelpFormatter).
|
|
3574
|
+
protoOf(MordantHelpFormatter).a3x = function (tag, value) {
|
|
3575
3575
|
var tmp;
|
|
3576
3576
|
Tags_getInstance();
|
|
3577
3577
|
if (tag === 'default') {
|
|
3578
3578
|
var tmp_0;
|
|
3579
|
-
if (this.
|
|
3579
|
+
if (this.v3w_1) {
|
|
3580
3580
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3581
3581
|
tmp_0 = !isBlank(value);
|
|
3582
3582
|
} else {
|
|
@@ -3586,14 +3586,14 @@
|
|
|
3586
3586
|
} else {
|
|
3587
3587
|
Tags_getInstance();
|
|
3588
3588
|
if (tag === 'required') {
|
|
3589
|
-
tmp = this.
|
|
3589
|
+
tmp = this.w3w_1;
|
|
3590
3590
|
} else {
|
|
3591
3591
|
tmp = true;
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
3594
|
return tmp;
|
|
3595
3595
|
};
|
|
3596
|
-
protoOf(MordantHelpFormatter).
|
|
3596
|
+
protoOf(MordantHelpFormatter).c3y = function (names) {
|
|
3597
3597
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3598
3598
|
var tmp$ret$0;
|
|
3599
3599
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
@@ -3602,15 +3602,15 @@
|
|
|
3602
3602
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3603
3603
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3604
3604
|
};
|
|
3605
|
-
protoOf(MordantHelpFormatter).
|
|
3605
|
+
protoOf(MordantHelpFormatter).b3x = function (tag, value) {
|
|
3606
3606
|
var tmp;
|
|
3607
3607
|
Tags_getInstance();
|
|
3608
3608
|
if (tag === 'default') {
|
|
3609
|
-
tmp = this.
|
|
3609
|
+
tmp = this.j3x().k3w();
|
|
3610
3610
|
} else {
|
|
3611
3611
|
Tags_getInstance();
|
|
3612
3612
|
if (tag === 'required') {
|
|
3613
|
-
tmp = this.
|
|
3613
|
+
tmp = this.j3x().l3w();
|
|
3614
3614
|
} else {
|
|
3615
3615
|
tmp = tag;
|
|
3616
3616
|
}
|
|
@@ -3620,67 +3620,67 @@
|
|
|
3620
3620
|
var tmp_0;
|
|
3621
3621
|
Tags_getInstance();
|
|
3622
3622
|
if (tag === 'required') {
|
|
3623
|
-
tmp_0 = this.e3y(fullTag);
|
|
3624
|
-
} else {
|
|
3625
3623
|
tmp_0 = this.f3y(fullTag);
|
|
3624
|
+
} else {
|
|
3625
|
+
tmp_0 = this.g3y(fullTag);
|
|
3626
3626
|
}
|
|
3627
3627
|
return tmp_0;
|
|
3628
3628
|
};
|
|
3629
|
-
protoOf(MordantHelpFormatter).
|
|
3630
|
-
var tmp0_elvis_lhs = option.
|
|
3631
|
-
var metavar = this.
|
|
3632
|
-
return '' + new Char(first(first_1(option.
|
|
3629
|
+
protoOf(MordantHelpFormatter).b3y = function (option) {
|
|
3630
|
+
var tmp0_elvis_lhs = option.a3v_1;
|
|
3631
|
+
var metavar = this.e3x(tmp0_elvis_lhs == null ? this.j3x().c3w() : tmp0_elvis_lhs);
|
|
3632
|
+
return '' + new Char(first(first_1(option.y3u_1))) + metavar;
|
|
3633
3633
|
};
|
|
3634
|
-
protoOf(MordantHelpFormatter).
|
|
3634
|
+
protoOf(MordantHelpFormatter).e3x = function (name) {
|
|
3635
3635
|
// Inline function 'kotlin.text.lowercase' call
|
|
3636
3636
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3637
3637
|
return '<' + name.toLowerCase() + '>';
|
|
3638
3638
|
};
|
|
3639
|
-
protoOf(MordantHelpFormatter).e3y = function (name) {
|
|
3640
|
-
return this.j3x().k3a('danger').j28(name);
|
|
3641
|
-
};
|
|
3642
3639
|
protoOf(MordantHelpFormatter).f3y = function (name) {
|
|
3643
|
-
return this.
|
|
3640
|
+
return this.k3x().l3a('danger').j28(name);
|
|
3644
3641
|
};
|
|
3645
|
-
protoOf(MordantHelpFormatter).
|
|
3646
|
-
return this.
|
|
3642
|
+
protoOf(MordantHelpFormatter).g3y = function (name) {
|
|
3643
|
+
return this.k3x().l3a('muted').j28(name);
|
|
3647
3644
|
};
|
|
3648
|
-
protoOf(MordantHelpFormatter).
|
|
3649
|
-
return this.
|
|
3645
|
+
protoOf(MordantHelpFormatter).c3x = function (name) {
|
|
3646
|
+
return this.k3x().l3a('info').j28(name);
|
|
3650
3647
|
};
|
|
3651
3648
|
protoOf(MordantHelpFormatter).f3x = function (name) {
|
|
3652
|
-
return this.
|
|
3649
|
+
return this.k3x().l3a('info').j28(name);
|
|
3650
|
+
};
|
|
3651
|
+
protoOf(MordantHelpFormatter).g3x = function (name) {
|
|
3652
|
+
return this.k3x().l3a('info').j28(name);
|
|
3653
3653
|
};
|
|
3654
|
-
protoOf(MordantHelpFormatter).
|
|
3655
|
-
return this.
|
|
3654
|
+
protoOf(MordantHelpFormatter).y3x = function (title) {
|
|
3655
|
+
return this.k3x().l3a('warning').j28(title);
|
|
3656
3656
|
};
|
|
3657
|
-
protoOf(MordantHelpFormatter).
|
|
3658
|
-
return this.
|
|
3657
|
+
protoOf(MordantHelpFormatter).s3x = function (title) {
|
|
3658
|
+
return this.k3x().l3a('warning').j28(title);
|
|
3659
3659
|
};
|
|
3660
|
-
protoOf(MordantHelpFormatter).
|
|
3661
|
-
return this.
|
|
3660
|
+
protoOf(MordantHelpFormatter).q3x = function (title) {
|
|
3661
|
+
return this.k3x().l3a('danger').j28(title);
|
|
3662
3662
|
};
|
|
3663
|
-
protoOf(MordantHelpFormatter).
|
|
3664
|
-
var style = this.
|
|
3663
|
+
protoOf(MordantHelpFormatter).h3y = function (metavar) {
|
|
3664
|
+
var style = this.k3x().l3a('warning').k38(this.k3x().l3a('muted'));
|
|
3665
3665
|
return style.j28(metavar);
|
|
3666
3666
|
};
|
|
3667
|
-
protoOf(MordantHelpFormatter).
|
|
3667
|
+
protoOf(MordantHelpFormatter).r3x = function (context) {
|
|
3668
3668
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3669
3669
|
};
|
|
3670
|
-
protoOf(MordantHelpFormatter).
|
|
3670
|
+
protoOf(MordantHelpFormatter).t3x = function (metavar) {
|
|
3671
3671
|
return '[' + metavar + ']';
|
|
3672
3672
|
};
|
|
3673
|
-
protoOf(MordantHelpFormatter).
|
|
3673
|
+
protoOf(MordantHelpFormatter).u3x = function (metavar) {
|
|
3674
3674
|
return metavar + '...';
|
|
3675
3675
|
};
|
|
3676
|
-
protoOf(MordantHelpFormatter).
|
|
3676
|
+
protoOf(MordantHelpFormatter).i3y = function (metavar) {
|
|
3677
3677
|
return '=' + metavar;
|
|
3678
3678
|
};
|
|
3679
|
-
protoOf(MordantHelpFormatter).
|
|
3680
|
-
if (option.
|
|
3679
|
+
protoOf(MordantHelpFormatter).d3y = function (option) {
|
|
3680
|
+
if (option.a3v_1 == null)
|
|
3681
3681
|
return '';
|
|
3682
3682
|
// Inline function 'kotlin.text.trim' call
|
|
3683
|
-
var tmp0_trim = option.
|
|
3683
|
+
var tmp0_trim = option.a3v_1;
|
|
3684
3684
|
var tmp$ret$1;
|
|
3685
3685
|
// Inline function 'kotlin.text.trim' call
|
|
3686
3686
|
var tmp0_trim_0 = (!(tmp0_trim == null) ? isCharSequence(tmp0_trim) : false) ? tmp0_trim : THROW_CCE();
|
|
@@ -3707,26 +3707,26 @@
|
|
|
3707
3707
|
tmp$ret$1 = charSequenceSubSequence(tmp0_trim_0, startIndex, endIndex + 1 | 0);
|
|
3708
3708
|
var metavar = toString_0(tmp$ret$1);
|
|
3709
3709
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3710
|
-
metavar = this.
|
|
3711
|
-
metavar = this.g3y(metavar);
|
|
3712
|
-
if (option.b3v_1.w9_1 > 1)
|
|
3713
|
-
metavar = this.t3x(metavar);
|
|
3710
|
+
metavar = this.e3x(metavar);
|
|
3714
3711
|
metavar = this.h3y(metavar);
|
|
3715
|
-
if (option.
|
|
3716
|
-
metavar = this.
|
|
3712
|
+
if (option.c3v_1.w9_1 > 1)
|
|
3713
|
+
metavar = this.u3x(metavar);
|
|
3714
|
+
metavar = this.i3y(metavar);
|
|
3715
|
+
if (option.c3v_1.v9_1 === 0)
|
|
3716
|
+
metavar = this.t3x(metavar);
|
|
3717
3717
|
return metavar;
|
|
3718
3718
|
};
|
|
3719
|
-
protoOf(MordantHelpFormatter).
|
|
3719
|
+
protoOf(MordantHelpFormatter).h3x = function (row) {
|
|
3720
3720
|
var tmp;
|
|
3721
3721
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3722
|
-
var tmp0_isNullOrEmpty = row.
|
|
3722
|
+
var tmp0_isNullOrEmpty = row.q3w_1;
|
|
3723
3723
|
// Inline function 'kotlin.contracts.contract' call
|
|
3724
3724
|
if (tmp0_isNullOrEmpty == null ? true : charSequenceLength(tmp0_isNullOrEmpty) === 0) {
|
|
3725
3725
|
tmp = ' ';
|
|
3726
3726
|
} else {
|
|
3727
3727
|
var tmp$ret$3;
|
|
3728
3728
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3729
|
-
var tmp1_ifEmpty = drop(' ', this.
|
|
3729
|
+
var tmp1_ifEmpty = drop(' ', this.j3y(row.q3w_1));
|
|
3730
3730
|
var tmp_0;
|
|
3731
3731
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3732
3732
|
if (charSequenceLength(tmp1_ifEmpty) === 0) {
|
|
@@ -3736,18 +3736,18 @@
|
|
|
3736
3736
|
tmp_0 = tmp1_ifEmpty;
|
|
3737
3737
|
}
|
|
3738
3738
|
tmp$ret$3 = tmp_0;
|
|
3739
|
-
tmp = row.
|
|
3739
|
+
tmp = row.q3w_1 + tmp$ret$3;
|
|
3740
3740
|
}
|
|
3741
3741
|
var termPrefix = tmp;
|
|
3742
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3742
|
+
return Text_init_$Create$(termPrefix + row.o3w_1, Whitespace_PRE_WRAP_getInstance());
|
|
3743
3743
|
};
|
|
3744
|
-
protoOf(MordantHelpFormatter).
|
|
3745
|
-
return isBlank(row.
|
|
3744
|
+
protoOf(MordantHelpFormatter).i3x = function (row) {
|
|
3745
|
+
return isBlank(row.p3w_1) ? Text_init_$Create$('') : new Markdown(row.p3w_1, true);
|
|
3746
3746
|
};
|
|
3747
|
-
protoOf(MordantHelpFormatter).
|
|
3747
|
+
protoOf(MordantHelpFormatter).z3w = function (rows) {
|
|
3748
3748
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3749
3749
|
};
|
|
3750
|
-
protoOf(MordantHelpFormatter).
|
|
3750
|
+
protoOf(MordantHelpFormatter).j3y = function (_this__u8e3s4) {
|
|
3751
3751
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3752
3752
|
};
|
|
3753
3753
|
function Argument_0() {
|
|
@@ -3763,119 +3763,119 @@
|
|
|
3763
3763
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3764
3764
|
}
|
|
3765
3765
|
function ArgumentTransformContext(argument, context) {
|
|
3766
|
-
this.
|
|
3767
|
-
this.
|
|
3766
|
+
this.u3y_1 = argument;
|
|
3767
|
+
this.v3y_1 = context;
|
|
3768
3768
|
}
|
|
3769
3769
|
protoOf(ArgumentTransformContext).gc = function () {
|
|
3770
|
-
return this.
|
|
3770
|
+
return this.v3y_1;
|
|
3771
3771
|
};
|
|
3772
|
-
protoOf(ArgumentTransformContext).
|
|
3773
|
-
return this.
|
|
3772
|
+
protoOf(ArgumentTransformContext).y3o = function () {
|
|
3773
|
+
return this.u3y_1.y3o();
|
|
3774
3774
|
};
|
|
3775
3775
|
protoOf(ArgumentTransformContext).wa = function () {
|
|
3776
|
-
return this.
|
|
3776
|
+
return this.u3y_1.wa();
|
|
3777
3777
|
};
|
|
3778
|
-
protoOf(ArgumentTransformContext).
|
|
3779
|
-
return this.
|
|
3778
|
+
protoOf(ArgumentTransformContext).z3o = function () {
|
|
3779
|
+
return this.u3y_1.z3o();
|
|
3780
3780
|
};
|
|
3781
|
-
protoOf(ArgumentTransformContext).
|
|
3782
|
-
return this.
|
|
3781
|
+
protoOf(ArgumentTransformContext).k3y = function () {
|
|
3782
|
+
return this.u3y_1.k3y();
|
|
3783
3783
|
};
|
|
3784
|
-
protoOf(ArgumentTransformContext).
|
|
3785
|
-
this.
|
|
3784
|
+
protoOf(ArgumentTransformContext).l3y = function (context, values) {
|
|
3785
|
+
this.u3y_1.l3y(context, values);
|
|
3786
3786
|
};
|
|
3787
|
-
protoOf(ArgumentTransformContext).
|
|
3788
|
-
return this.
|
|
3787
|
+
protoOf(ArgumentTransformContext).j3p = function (context) {
|
|
3788
|
+
return this.u3y_1.j3p(context);
|
|
3789
3789
|
};
|
|
3790
|
-
protoOf(ArgumentTransformContext).
|
|
3791
|
-
return this.
|
|
3790
|
+
protoOf(ArgumentTransformContext).t3p = function (context) {
|
|
3791
|
+
return this.u3y_1.t3p(context);
|
|
3792
3792
|
};
|
|
3793
|
-
protoOf(ArgumentTransformContext).
|
|
3794
|
-
this.
|
|
3793
|
+
protoOf(ArgumentTransformContext).m3y = function (context) {
|
|
3794
|
+
this.u3y_1.m3y(context);
|
|
3795
3795
|
};
|
|
3796
|
-
protoOf(ArgumentTransformContext).
|
|
3797
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3796
|
+
protoOf(ArgumentTransformContext).w3y = function (message) {
|
|
3797
|
+
throw BadParameterValue_init_$Create$(message, this.u3y_1);
|
|
3798
3798
|
};
|
|
3799
3799
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3800
|
-
this.
|
|
3801
|
-
this.
|
|
3802
|
-
this.
|
|
3803
|
-
this.
|
|
3804
|
-
this.
|
|
3805
|
-
this.
|
|
3806
|
-
this.
|
|
3807
|
-
this.
|
|
3808
|
-
this.
|
|
3800
|
+
this.x3y_1 = name;
|
|
3801
|
+
this.y3y_1 = nvalues;
|
|
3802
|
+
this.z3y_1 = required;
|
|
3803
|
+
this.a3z_1 = helpGetter;
|
|
3804
|
+
this.b3z_1 = helpTags;
|
|
3805
|
+
this.c3z_1 = explicitCompletionCandidates;
|
|
3806
|
+
this.d3z_1 = transformValue;
|
|
3807
|
+
this.e3z_1 = transformAll;
|
|
3808
|
+
this.f3z_1 = transformValidator;
|
|
3809
3809
|
// Inline function 'kotlin.require' call
|
|
3810
3810
|
// Inline function 'kotlin.contracts.contract' call
|
|
3811
|
-
if (!!(this.
|
|
3811
|
+
if (!!(this.y3y_1 === 0)) {
|
|
3812
3812
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3813
3813
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3814
3814
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3815
3815
|
}
|
|
3816
|
-
this.
|
|
3816
|
+
this.g3z_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3817
3817
|
}
|
|
3818
3818
|
protoOf(ProcessedArgumentImpl).wa = function () {
|
|
3819
|
-
return this.w3y_1;
|
|
3820
|
-
};
|
|
3821
|
-
protoOf(ProcessedArgumentImpl).y3o = function () {
|
|
3822
3819
|
return this.x3y_1;
|
|
3823
3820
|
};
|
|
3824
|
-
protoOf(ProcessedArgumentImpl).
|
|
3821
|
+
protoOf(ProcessedArgumentImpl).z3o = function () {
|
|
3825
3822
|
return this.y3y_1;
|
|
3826
3823
|
};
|
|
3827
|
-
protoOf(ProcessedArgumentImpl).
|
|
3824
|
+
protoOf(ProcessedArgumentImpl).k3y = function () {
|
|
3828
3825
|
return this.z3y_1;
|
|
3829
3826
|
};
|
|
3830
|
-
protoOf(ProcessedArgumentImpl).
|
|
3827
|
+
protoOf(ProcessedArgumentImpl).n3y = function () {
|
|
3831
3828
|
return this.a3z_1;
|
|
3832
3829
|
};
|
|
3833
|
-
protoOf(ProcessedArgumentImpl).
|
|
3830
|
+
protoOf(ProcessedArgumentImpl).s3y = function () {
|
|
3834
3831
|
return this.b3z_1;
|
|
3835
3832
|
};
|
|
3836
|
-
protoOf(ProcessedArgumentImpl).
|
|
3833
|
+
protoOf(ProcessedArgumentImpl).p3y = function () {
|
|
3837
3834
|
return this.c3z_1;
|
|
3838
3835
|
};
|
|
3839
|
-
protoOf(ProcessedArgumentImpl).
|
|
3840
|
-
|
|
3836
|
+
protoOf(ProcessedArgumentImpl).o3y = function () {
|
|
3837
|
+
return this.d3z_1;
|
|
3838
|
+
};
|
|
3839
|
+
protoOf(ProcessedArgumentImpl).j3p = function (context) {
|
|
3840
|
+
var tmp0_safe_receiver = this.a3z_1;
|
|
3841
3841
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3842
3842
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3843
3843
|
};
|
|
3844
|
-
protoOf(ProcessedArgumentImpl).
|
|
3845
|
-
return this.
|
|
3844
|
+
protoOf(ProcessedArgumentImpl).h3z = function (_set____db54di) {
|
|
3845
|
+
return this.g3z_1.k3z(this, value$factory(), _set____db54di);
|
|
3846
3846
|
};
|
|
3847
3847
|
protoOf(ProcessedArgumentImpl).p2 = function () {
|
|
3848
|
-
return this.
|
|
3848
|
+
return this.g3z_1.l3z(this, value$factory_0());
|
|
3849
3849
|
};
|
|
3850
|
-
protoOf(ProcessedArgumentImpl).
|
|
3851
|
-
var tmp0_elvis_lhs = this.
|
|
3850
|
+
protoOf(ProcessedArgumentImpl).y3o = function () {
|
|
3851
|
+
var tmp0_elvis_lhs = this.c3z_1;
|
|
3852
3852
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3853
3853
|
};
|
|
3854
|
-
protoOf(ProcessedArgumentImpl).
|
|
3855
|
-
return new Argument(this.
|
|
3856
|
-
};
|
|
3857
|
-
protoOf(ProcessedArgumentImpl).l3z = function (thisRef, property) {
|
|
3858
|
-
return this.p2();
|
|
3854
|
+
protoOf(ProcessedArgumentImpl).t3p = function (context) {
|
|
3855
|
+
return new Argument(this.x3y_1, this.j3p(context), this.z3y_1 ? true : this.y3y_1 > 1, this.y3y_1 < 0, this.b3z_1);
|
|
3859
3856
|
};
|
|
3860
3857
|
protoOf(ProcessedArgumentImpl).m3z = function (thisRef, property) {
|
|
3861
|
-
return this.
|
|
3858
|
+
return this.p2();
|
|
3862
3859
|
};
|
|
3863
3860
|
protoOf(ProcessedArgumentImpl).n3z = function (thisRef, property) {
|
|
3864
|
-
|
|
3861
|
+
return this.m3z(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3862
|
+
};
|
|
3863
|
+
protoOf(ProcessedArgumentImpl).o3z = function (thisRef, property) {
|
|
3864
|
+
if (isBlank(this.x3y_1)) {
|
|
3865
3865
|
var tmp = this;
|
|
3866
3866
|
var tmp$ret$1;
|
|
3867
3867
|
// Inline function 'kotlin.text.uppercase' call
|
|
3868
3868
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3869
3869
|
tmp$ret$1 = property.callableName.toUpperCase();
|
|
3870
|
-
tmp.
|
|
3870
|
+
tmp.x3y_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3871
3871
|
}
|
|
3872
|
-
thisRef.
|
|
3872
|
+
thisRef.z3p(this);
|
|
3873
3873
|
return this;
|
|
3874
3874
|
};
|
|
3875
|
-
protoOf(ProcessedArgumentImpl).
|
|
3876
|
-
return this.
|
|
3875
|
+
protoOf(ProcessedArgumentImpl).t3y = function (thisRef, property) {
|
|
3876
|
+
return this.o3z(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3877
3877
|
};
|
|
3878
|
-
protoOf(ProcessedArgumentImpl).
|
|
3878
|
+
protoOf(ProcessedArgumentImpl).l3y = function (context, values) {
|
|
3879
3879
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3880
3880
|
// Inline function 'kotlin.collections.map' call
|
|
3881
3881
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3885,15 +3885,15 @@
|
|
|
3885
3885
|
var item = tmp0_iterator.y();
|
|
3886
3886
|
var tmp$ret$0;
|
|
3887
3887
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3888
|
-
tmp$ret$0 = this.
|
|
3888
|
+
tmp$ret$0 = this.d3z_1(ctx, item);
|
|
3889
3889
|
tmp0_mapTo.s(tmp$ret$0);
|
|
3890
3890
|
}
|
|
3891
|
-
this.
|
|
3891
|
+
this.h3z(this.e3z_1(ctx, tmp0_mapTo));
|
|
3892
3892
|
};
|
|
3893
|
-
protoOf(ProcessedArgumentImpl).
|
|
3894
|
-
this.
|
|
3893
|
+
protoOf(ProcessedArgumentImpl).m3y = function (context) {
|
|
3894
|
+
this.f3z_1(new ArgumentTransformContext(this, context), this.p2());
|
|
3895
3895
|
};
|
|
3896
|
-
protoOf(ProcessedArgumentImpl).
|
|
3896
|
+
protoOf(ProcessedArgumentImpl).q3y = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3897
3897
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3898
3898
|
};
|
|
3899
3899
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3903,7 +3903,7 @@
|
|
|
3903
3903
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
3904
3904
|
// Inline function 'kotlin.contracts.contract' call
|
|
3905
3905
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3906
|
-
tmp0_apply.f5(this.
|
|
3906
|
+
tmp0_apply.f5(this.x3y_1);
|
|
3907
3907
|
// Inline function 'kotlin.onSuccess' call
|
|
3908
3908
|
// Inline function 'kotlin.runCatching' call
|
|
3909
3909
|
var tmp;
|
|
@@ -3959,14 +3959,14 @@
|
|
|
3959
3959
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3960
3960
|
return receiver.p2();
|
|
3961
3961
|
}, function (receiver, value) {
|
|
3962
|
-
return receiver.
|
|
3962
|
+
return receiver.h3z(value);
|
|
3963
3963
|
});
|
|
3964
3964
|
}
|
|
3965
3965
|
function value$factory_0() {
|
|
3966
3966
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3967
3967
|
return receiver.p2();
|
|
3968
3968
|
}, function (receiver, value) {
|
|
3969
|
-
return receiver.
|
|
3969
|
+
return receiver.h3z(value);
|
|
3970
3970
|
});
|
|
3971
3971
|
}
|
|
3972
3972
|
function ParameterGroup() {
|
|
@@ -3981,29 +3981,29 @@
|
|
|
3981
3981
|
return UNINITIALIZED_instance;
|
|
3982
3982
|
}
|
|
3983
3983
|
function NullableLateinit(errorMessage) {
|
|
3984
|
-
this.
|
|
3985
|
-
this.
|
|
3984
|
+
this.i3z_1 = errorMessage;
|
|
3985
|
+
this.j3z_1 = UNINITIALIZED_getInstance();
|
|
3986
3986
|
}
|
|
3987
|
-
protoOf(NullableLateinit).
|
|
3988
|
-
if (this.
|
|
3989
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3987
|
+
protoOf(NullableLateinit).l3z = function (thisRef, property) {
|
|
3988
|
+
if (this.j3z_1 === UNINITIALIZED_getInstance())
|
|
3989
|
+
throw IllegalStateException_init_$Create$(this.i3z_1);
|
|
3990
3990
|
try {
|
|
3991
|
-
var tmp = this.
|
|
3991
|
+
var tmp = this.j3z_1;
|
|
3992
3992
|
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
3993
3993
|
} catch ($p) {
|
|
3994
3994
|
if ($p instanceof ClassCastException) {
|
|
3995
3995
|
var e = $p;
|
|
3996
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3996
|
+
throw IllegalStateException_init_$Create$(this.i3z_1);
|
|
3997
3997
|
} else {
|
|
3998
3998
|
throw $p;
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
|
-
protoOf(NullableLateinit).
|
|
4003
|
-
return this.
|
|
4002
|
+
protoOf(NullableLateinit).n3z = function (thisRef, property) {
|
|
4003
|
+
return this.l3z(isObject(thisRef) ? thisRef : THROW_CCE(), property);
|
|
4004
4004
|
};
|
|
4005
|
-
protoOf(NullableLateinit).
|
|
4006
|
-
this.
|
|
4005
|
+
protoOf(NullableLateinit).k3z = function (thisRef, property, value) {
|
|
4006
|
+
this.j3z_1 = value;
|
|
4007
4007
|
};
|
|
4008
4008
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
4009
4009
|
help = help === VOID ? '' : help;
|
|
@@ -4015,12 +4015,12 @@
|
|
|
4015
4015
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4016
4016
|
tmp$ret$0 = copyToArray(names);
|
|
4017
4017
|
var tmp0_validate = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4018
|
-
var tmp = tmp0_validate.
|
|
4019
|
-
var tmp_0 = tmp0_validate.
|
|
4020
|
-
var tmp_1 = tmp0_validate.
|
|
4021
|
-
var o = tmp0_validate.
|
|
4022
|
-
o.
|
|
4023
|
-
_this__u8e3s4.
|
|
4018
|
+
var tmp = tmp0_validate.o3y();
|
|
4019
|
+
var tmp_0 = tmp0_validate.r3z();
|
|
4020
|
+
var tmp_1 = tmp0_validate.s3z();
|
|
4021
|
+
var o = tmp0_validate.t3z(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4022
|
+
o.u3z(groupName);
|
|
4023
|
+
_this__u8e3s4.y3p(o);
|
|
4024
4024
|
return _this__u8e3s4;
|
|
4025
4025
|
}
|
|
4026
4026
|
function eagerOption$lambda($action) {
|
|
@@ -4040,16 +4040,16 @@
|
|
|
4040
4040
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4041
4041
|
var tmp = boolean(_this__u8e3s4);
|
|
4042
4042
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4043
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4043
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).v3z(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4044
4044
|
}
|
|
4045
4045
|
function nullableFlag$lambda($secondaryNames) {
|
|
4046
4046
|
return function ($this$transformValues, it) {
|
|
4047
4047
|
var tmp;
|
|
4048
4048
|
if (it.n() > 1) {
|
|
4049
|
-
$this$transformValues.
|
|
4049
|
+
$this$transformValues.w3y($this$transformValues.y3z_1.q3o_1.y3v($this$transformValues.w3z_1));
|
|
4050
4050
|
}
|
|
4051
4051
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4052
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4052
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.w3z_1) : tmp0_elvis_lhs;
|
|
4053
4053
|
};
|
|
4054
4054
|
}
|
|
4055
4055
|
function Option_0() {
|
|
@@ -4058,7 +4058,7 @@
|
|
|
4058
4058
|
var tmp$ret$0;
|
|
4059
4059
|
$l$block_0: {
|
|
4060
4060
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
4061
|
-
var iterator = _this__u8e3s4.
|
|
4061
|
+
var iterator = _this__u8e3s4.a3o().v();
|
|
4062
4062
|
if (!iterator.w()) {
|
|
4063
4063
|
tmp$ret$0 = null;
|
|
4064
4064
|
break $l$block_0;
|
|
@@ -4151,13 +4151,13 @@
|
|
|
4151
4151
|
}
|
|
4152
4152
|
function Parsed(values) {
|
|
4153
4153
|
FinalValue.call(this);
|
|
4154
|
-
this.
|
|
4154
|
+
this.d40_1 = values;
|
|
4155
4155
|
}
|
|
4156
4156
|
protoOf(Parsed).toString = function () {
|
|
4157
|
-
return 'Parsed(values=' + this.
|
|
4157
|
+
return 'Parsed(values=' + this.d40_1 + ')';
|
|
4158
4158
|
};
|
|
4159
4159
|
protoOf(Parsed).hashCode = function () {
|
|
4160
|
-
return hashCode(this.
|
|
4160
|
+
return hashCode(this.d40_1);
|
|
4161
4161
|
};
|
|
4162
4162
|
protoOf(Parsed).equals = function (other) {
|
|
4163
4163
|
if (this === other)
|
|
@@ -4165,19 +4165,19 @@
|
|
|
4165
4165
|
if (!(other instanceof Parsed))
|
|
4166
4166
|
return false;
|
|
4167
4167
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4168
|
-
if (!equals(this.
|
|
4168
|
+
if (!equals(this.d40_1, tmp0_other_with_cast.d40_1))
|
|
4169
4169
|
return false;
|
|
4170
4170
|
return true;
|
|
4171
4171
|
};
|
|
4172
4172
|
function Sourced(values) {
|
|
4173
4173
|
FinalValue.call(this);
|
|
4174
|
-
this.
|
|
4174
|
+
this.e40_1 = values;
|
|
4175
4175
|
}
|
|
4176
4176
|
protoOf(Sourced).toString = function () {
|
|
4177
|
-
return 'Sourced(values=' + this.
|
|
4177
|
+
return 'Sourced(values=' + this.e40_1 + ')';
|
|
4178
4178
|
};
|
|
4179
4179
|
protoOf(Sourced).hashCode = function () {
|
|
4180
|
-
return hashCode(this.
|
|
4180
|
+
return hashCode(this.e40_1);
|
|
4181
4181
|
};
|
|
4182
4182
|
protoOf(Sourced).equals = function (other) {
|
|
4183
4183
|
if (this === other)
|
|
@@ -4185,21 +4185,21 @@
|
|
|
4185
4185
|
if (!(other instanceof Sourced))
|
|
4186
4186
|
return false;
|
|
4187
4187
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4188
|
-
if (!equals(this.
|
|
4188
|
+
if (!equals(this.e40_1, tmp0_other_with_cast.e40_1))
|
|
4189
4189
|
return false;
|
|
4190
4190
|
return true;
|
|
4191
4191
|
};
|
|
4192
4192
|
function Envvar(key, value) {
|
|
4193
4193
|
FinalValue.call(this);
|
|
4194
|
-
this.
|
|
4195
|
-
this.
|
|
4194
|
+
this.f40_1 = key;
|
|
4195
|
+
this.g40_1 = value;
|
|
4196
4196
|
}
|
|
4197
4197
|
protoOf(Envvar).toString = function () {
|
|
4198
|
-
return 'Envvar(key=' + this.
|
|
4198
|
+
return 'Envvar(key=' + this.f40_1 + ', value=' + this.g40_1 + ')';
|
|
4199
4199
|
};
|
|
4200
4200
|
protoOf(Envvar).hashCode = function () {
|
|
4201
|
-
var result = getStringHashCode(this.
|
|
4202
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4201
|
+
var result = getStringHashCode(this.f40_1);
|
|
4202
|
+
result = imul(result, 31) + getStringHashCode(this.g40_1) | 0;
|
|
4203
4203
|
return result;
|
|
4204
4204
|
};
|
|
4205
4205
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4208,10 +4208,10 @@
|
|
|
4208
4208
|
if (!(other instanceof Envvar))
|
|
4209
4209
|
return false;
|
|
4210
4210
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4211
|
-
if (!(this.e40_1 === tmp0_other_with_cast.e40_1))
|
|
4212
|
-
return false;
|
|
4213
4211
|
if (!(this.f40_1 === tmp0_other_with_cast.f40_1))
|
|
4214
4212
|
return false;
|
|
4213
|
+
if (!(this.g40_1 === tmp0_other_with_cast.g40_1))
|
|
4214
|
+
return false;
|
|
4215
4215
|
return true;
|
|
4216
4216
|
};
|
|
4217
4217
|
function FinalValue() {
|
|
@@ -4222,7 +4222,7 @@
|
|
|
4222
4222
|
if (!invocations.c1()) {
|
|
4223
4223
|
tmp = new Parsed(invocations);
|
|
4224
4224
|
} else {
|
|
4225
|
-
if (context.
|
|
4225
|
+
if (context.n3o_1) {
|
|
4226
4226
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4227
4227
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4228
4228
|
} else {
|
|
@@ -4271,7 +4271,7 @@
|
|
|
4271
4271
|
return setOf_0(normalizedName);
|
|
4272
4272
|
}
|
|
4273
4273
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4274
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4274
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.a3o(), envvar, context.g3o_1);
|
|
4275
4275
|
var tmp;
|
|
4276
4276
|
if (tmp0_elvis_lhs == null) {
|
|
4277
4277
|
return null;
|
|
@@ -4279,7 +4279,7 @@
|
|
|
4279
4279
|
tmp = tmp0_elvis_lhs;
|
|
4280
4280
|
}
|
|
4281
4281
|
var env = tmp;
|
|
4282
|
-
var tmp1_safe_receiver = context.
|
|
4282
|
+
var tmp1_safe_receiver = context.r3o_1(env);
|
|
4283
4283
|
var tmp_0;
|
|
4284
4284
|
if (tmp1_safe_receiver == null) {
|
|
4285
4285
|
tmp_0 = null;
|
|
@@ -4292,8 +4292,8 @@
|
|
|
4292
4292
|
return tmp_0;
|
|
4293
4293
|
}
|
|
4294
4294
|
function readValueSource(_this__u8e3s4, context) {
|
|
4295
|
-
var tmp0_safe_receiver = context.
|
|
4296
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4295
|
+
var tmp0_safe_receiver = context.o3o_1;
|
|
4296
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h40(context, _this__u8e3s4);
|
|
4297
4297
|
var tmp;
|
|
4298
4298
|
if (tmp1_safe_receiver == null) {
|
|
4299
4299
|
tmp = null;
|
|
@@ -4324,56 +4324,56 @@
|
|
|
4324
4324
|
return '' + new Char(charSequenceGet(it.p2(), 0)) + '-' + new Char(charSequenceGet(it.p2(), 1));
|
|
4325
4325
|
}
|
|
4326
4326
|
function OptionTransformContext(option, context) {
|
|
4327
|
-
this.
|
|
4328
|
-
this.
|
|
4327
|
+
this.n3p_1 = option;
|
|
4328
|
+
this.o3p_1 = context;
|
|
4329
4329
|
}
|
|
4330
4330
|
protoOf(OptionTransformContext).gc = function () {
|
|
4331
|
-
return this.
|
|
4331
|
+
return this.o3p_1;
|
|
4332
4332
|
};
|
|
4333
|
-
protoOf(OptionTransformContext).
|
|
4334
|
-
return this.
|
|
4333
|
+
protoOf(OptionTransformContext).x3p = function () {
|
|
4334
|
+
return this.n3p_1.x3p();
|
|
4335
4335
|
};
|
|
4336
|
-
protoOf(OptionTransformContext).
|
|
4337
|
-
return this.
|
|
4336
|
+
protoOf(OptionTransformContext).b40 = function () {
|
|
4337
|
+
return this.n3p_1.b40();
|
|
4338
4338
|
};
|
|
4339
|
-
protoOf(OptionTransformContext).
|
|
4340
|
-
return this.
|
|
4339
|
+
protoOf(OptionTransformContext).y3o = function () {
|
|
4340
|
+
return this.n3p_1.y3o();
|
|
4341
4341
|
};
|
|
4342
|
-
protoOf(OptionTransformContext).
|
|
4343
|
-
return this.
|
|
4342
|
+
protoOf(OptionTransformContext).a40 = function () {
|
|
4343
|
+
return this.n3p_1.a40();
|
|
4344
4344
|
};
|
|
4345
|
-
protoOf(OptionTransformContext).
|
|
4346
|
-
return this.
|
|
4345
|
+
protoOf(OptionTransformContext).s3y = function () {
|
|
4346
|
+
return this.n3p_1.s3y();
|
|
4347
4347
|
};
|
|
4348
|
-
protoOf(OptionTransformContext).
|
|
4349
|
-
return this.
|
|
4348
|
+
protoOf(OptionTransformContext).x3o = function () {
|
|
4349
|
+
return this.n3p_1.x3o();
|
|
4350
4350
|
};
|
|
4351
|
-
protoOf(OptionTransformContext).
|
|
4352
|
-
return this.
|
|
4351
|
+
protoOf(OptionTransformContext).a3o = function () {
|
|
4352
|
+
return this.n3p_1.a3o();
|
|
4353
4353
|
};
|
|
4354
|
-
protoOf(OptionTransformContext).
|
|
4355
|
-
return this.
|
|
4354
|
+
protoOf(OptionTransformContext).z3o = function () {
|
|
4355
|
+
return this.n3p_1.z3o();
|
|
4356
4356
|
};
|
|
4357
|
-
protoOf(OptionTransformContext).
|
|
4358
|
-
return this.
|
|
4357
|
+
protoOf(OptionTransformContext).b3o = function () {
|
|
4358
|
+
return this.n3p_1.b3o();
|
|
4359
4359
|
};
|
|
4360
|
-
protoOf(OptionTransformContext).
|
|
4361
|
-
this.
|
|
4360
|
+
protoOf(OptionTransformContext).x3u = function (context, invocations) {
|
|
4361
|
+
this.n3p_1.x3u(context, invocations);
|
|
4362
4362
|
};
|
|
4363
|
-
protoOf(OptionTransformContext).
|
|
4364
|
-
return this.
|
|
4363
|
+
protoOf(OptionTransformContext).z3z = function (context) {
|
|
4364
|
+
return this.n3p_1.z3z(context);
|
|
4365
4365
|
};
|
|
4366
|
-
protoOf(OptionTransformContext).
|
|
4367
|
-
return this.
|
|
4366
|
+
protoOf(OptionTransformContext).i3p = function (context) {
|
|
4367
|
+
return this.n3p_1.i3p(context);
|
|
4368
4368
|
};
|
|
4369
|
-
protoOf(OptionTransformContext).
|
|
4370
|
-
return this.
|
|
4369
|
+
protoOf(OptionTransformContext).t3p = function (context) {
|
|
4370
|
+
return this.n3p_1.t3p(context);
|
|
4371
4371
|
};
|
|
4372
|
-
protoOf(OptionTransformContext).
|
|
4373
|
-
this.
|
|
4372
|
+
protoOf(OptionTransformContext).m3y = function (context) {
|
|
4373
|
+
this.n3p_1.m3y(context);
|
|
4374
4374
|
};
|
|
4375
|
-
protoOf(OptionTransformContext).
|
|
4376
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4375
|
+
protoOf(OptionTransformContext).w3y = function (message) {
|
|
4376
|
+
throw BadParameterValue_init_$Create$_0(message, this.n3p_1);
|
|
4377
4377
|
};
|
|
4378
4378
|
function OptionWithValues() {
|
|
4379
4379
|
}
|
|
@@ -4406,146 +4406,146 @@
|
|
|
4406
4406
|
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);
|
|
4407
4407
|
}
|
|
4408
4408
|
function OptionCallTransformContext(name, option, context) {
|
|
4409
|
-
this.
|
|
4410
|
-
this.
|
|
4411
|
-
this.
|
|
4409
|
+
this.w3z_1 = name;
|
|
4410
|
+
this.x3z_1 = option;
|
|
4411
|
+
this.y3z_1 = context;
|
|
4412
4412
|
}
|
|
4413
4413
|
protoOf(OptionCallTransformContext).gc = function () {
|
|
4414
|
-
return this.
|
|
4414
|
+
return this.y3z_1;
|
|
4415
4415
|
};
|
|
4416
|
-
protoOf(OptionCallTransformContext).
|
|
4417
|
-
return this.
|
|
4416
|
+
protoOf(OptionCallTransformContext).x3p = function () {
|
|
4417
|
+
return this.x3z_1.x3p();
|
|
4418
4418
|
};
|
|
4419
|
-
protoOf(OptionCallTransformContext).
|
|
4420
|
-
return this.
|
|
4419
|
+
protoOf(OptionCallTransformContext).b40 = function () {
|
|
4420
|
+
return this.x3z_1.b40();
|
|
4421
4421
|
};
|
|
4422
|
-
protoOf(OptionCallTransformContext).
|
|
4423
|
-
return this.
|
|
4422
|
+
protoOf(OptionCallTransformContext).y3o = function () {
|
|
4423
|
+
return this.x3z_1.y3o();
|
|
4424
4424
|
};
|
|
4425
|
-
protoOf(OptionCallTransformContext).
|
|
4426
|
-
return this.
|
|
4425
|
+
protoOf(OptionCallTransformContext).a40 = function () {
|
|
4426
|
+
return this.x3z_1.a40();
|
|
4427
4427
|
};
|
|
4428
|
-
protoOf(OptionCallTransformContext).
|
|
4429
|
-
return this.
|
|
4428
|
+
protoOf(OptionCallTransformContext).s3y = function () {
|
|
4429
|
+
return this.x3z_1.s3y();
|
|
4430
4430
|
};
|
|
4431
|
-
protoOf(OptionCallTransformContext).
|
|
4432
|
-
return this.
|
|
4431
|
+
protoOf(OptionCallTransformContext).x3o = function () {
|
|
4432
|
+
return this.x3z_1.x3o();
|
|
4433
4433
|
};
|
|
4434
|
-
protoOf(OptionCallTransformContext).
|
|
4435
|
-
return this.
|
|
4434
|
+
protoOf(OptionCallTransformContext).a3o = function () {
|
|
4435
|
+
return this.x3z_1.a3o();
|
|
4436
4436
|
};
|
|
4437
|
-
protoOf(OptionCallTransformContext).
|
|
4438
|
-
return this.
|
|
4437
|
+
protoOf(OptionCallTransformContext).z3o = function () {
|
|
4438
|
+
return this.x3z_1.z3o();
|
|
4439
4439
|
};
|
|
4440
|
-
protoOf(OptionCallTransformContext).
|
|
4441
|
-
return this.
|
|
4440
|
+
protoOf(OptionCallTransformContext).b3o = function () {
|
|
4441
|
+
return this.x3z_1.b3o();
|
|
4442
4442
|
};
|
|
4443
|
-
protoOf(OptionCallTransformContext).
|
|
4444
|
-
this.
|
|
4443
|
+
protoOf(OptionCallTransformContext).x3u = function (context, invocations) {
|
|
4444
|
+
this.x3z_1.x3u(context, invocations);
|
|
4445
4445
|
};
|
|
4446
|
-
protoOf(OptionCallTransformContext).
|
|
4447
|
-
return this.
|
|
4446
|
+
protoOf(OptionCallTransformContext).z3z = function (context) {
|
|
4447
|
+
return this.x3z_1.z3z(context);
|
|
4448
4448
|
};
|
|
4449
|
-
protoOf(OptionCallTransformContext).
|
|
4450
|
-
return this.
|
|
4449
|
+
protoOf(OptionCallTransformContext).i3p = function (context) {
|
|
4450
|
+
return this.x3z_1.i3p(context);
|
|
4451
4451
|
};
|
|
4452
|
-
protoOf(OptionCallTransformContext).
|
|
4453
|
-
return this.
|
|
4452
|
+
protoOf(OptionCallTransformContext).t3p = function (context) {
|
|
4453
|
+
return this.x3z_1.t3p(context);
|
|
4454
4454
|
};
|
|
4455
|
-
protoOf(OptionCallTransformContext).
|
|
4456
|
-
this.
|
|
4455
|
+
protoOf(OptionCallTransformContext).m3y = function (context) {
|
|
4456
|
+
this.x3z_1.m3y(context);
|
|
4457
4457
|
};
|
|
4458
|
-
protoOf(OptionCallTransformContext).
|
|
4459
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4458
|
+
protoOf(OptionCallTransformContext).w3y = function (message) {
|
|
4459
|
+
throw BadParameterValue_init_$Create$_1(message, this.x3z_1, this.w3z_1);
|
|
4460
4460
|
};
|
|
4461
4461
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4462
|
-
return $this$null.
|
|
4462
|
+
return $this$null.q3o_1.b3w();
|
|
4463
4463
|
}
|
|
4464
4464
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4465
|
-
this.
|
|
4466
|
-
this.
|
|
4467
|
-
this.
|
|
4468
|
-
this.
|
|
4469
|
-
this.
|
|
4470
|
-
this.
|
|
4471
|
-
this.
|
|
4472
|
-
this.
|
|
4473
|
-
this.
|
|
4474
|
-
this.
|
|
4475
|
-
this.
|
|
4476
|
-
this.
|
|
4477
|
-
this.
|
|
4478
|
-
this.
|
|
4479
|
-
this.
|
|
4480
|
-
this.
|
|
4481
|
-
this.
|
|
4482
|
-
this.g41_1 = null;
|
|
4465
|
+
this.q40_1 = metavarGetter;
|
|
4466
|
+
this.r40_1 = nvalues;
|
|
4467
|
+
this.s40_1 = helpGetter;
|
|
4468
|
+
this.t40_1 = hidden;
|
|
4469
|
+
this.u40_1 = helpTags;
|
|
4470
|
+
this.v40_1 = valueSourceKey;
|
|
4471
|
+
this.w40_1 = envvar;
|
|
4472
|
+
this.x40_1 = valueSplit;
|
|
4473
|
+
this.y40_1 = explicitCompletionCandidates;
|
|
4474
|
+
this.z40_1 = secondaryNames;
|
|
4475
|
+
this.a41_1 = acceptsNumberValueWithoutName;
|
|
4476
|
+
this.b41_1 = acceptsUnattachedValue;
|
|
4477
|
+
this.c41_1 = eager;
|
|
4478
|
+
this.d41_1 = transformValue;
|
|
4479
|
+
this.e41_1 = transformEach;
|
|
4480
|
+
this.f41_1 = transformAll;
|
|
4481
|
+
this.g41_1 = transformValidator;
|
|
4483
4482
|
this.h41_1 = null;
|
|
4484
|
-
this.i41_1 =
|
|
4485
|
-
this.j41_1 =
|
|
4483
|
+
this.i41_1 = null;
|
|
4484
|
+
this.j41_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4485
|
+
this.k41_1 = names;
|
|
4486
4486
|
}
|
|
4487
|
-
protoOf(OptionWithValuesImpl).
|
|
4488
|
-
return this.p40_1;
|
|
4489
|
-
};
|
|
4490
|
-
protoOf(OptionWithValuesImpl).y3o = function () {
|
|
4487
|
+
protoOf(OptionWithValuesImpl).k40 = function () {
|
|
4491
4488
|
return this.q40_1;
|
|
4492
4489
|
};
|
|
4493
|
-
protoOf(OptionWithValuesImpl).
|
|
4490
|
+
protoOf(OptionWithValuesImpl).z3o = function () {
|
|
4494
4491
|
return this.r40_1;
|
|
4495
4492
|
};
|
|
4496
|
-
protoOf(OptionWithValuesImpl).
|
|
4493
|
+
protoOf(OptionWithValuesImpl).n3y = function () {
|
|
4497
4494
|
return this.s40_1;
|
|
4498
4495
|
};
|
|
4499
|
-
protoOf(OptionWithValuesImpl).
|
|
4496
|
+
protoOf(OptionWithValuesImpl).x3o = function () {
|
|
4500
4497
|
return this.t40_1;
|
|
4501
4498
|
};
|
|
4502
|
-
protoOf(OptionWithValuesImpl).
|
|
4499
|
+
protoOf(OptionWithValuesImpl).s3y = function () {
|
|
4503
4500
|
return this.u40_1;
|
|
4504
4501
|
};
|
|
4505
|
-
protoOf(OptionWithValuesImpl).
|
|
4502
|
+
protoOf(OptionWithValuesImpl).n40 = function () {
|
|
4506
4503
|
return this.v40_1;
|
|
4507
4504
|
};
|
|
4508
|
-
protoOf(OptionWithValuesImpl).
|
|
4505
|
+
protoOf(OptionWithValuesImpl).i40 = function () {
|
|
4509
4506
|
return this.w40_1;
|
|
4510
4507
|
};
|
|
4511
|
-
protoOf(OptionWithValuesImpl).
|
|
4508
|
+
protoOf(OptionWithValuesImpl).l40 = function () {
|
|
4512
4509
|
return this.x40_1;
|
|
4513
4510
|
};
|
|
4514
|
-
protoOf(OptionWithValuesImpl).
|
|
4511
|
+
protoOf(OptionWithValuesImpl).p3y = function () {
|
|
4515
4512
|
return this.y40_1;
|
|
4516
4513
|
};
|
|
4517
|
-
protoOf(OptionWithValuesImpl).
|
|
4514
|
+
protoOf(OptionWithValuesImpl).b3o = function () {
|
|
4518
4515
|
return this.z40_1;
|
|
4519
4516
|
};
|
|
4520
|
-
protoOf(OptionWithValuesImpl).
|
|
4517
|
+
protoOf(OptionWithValuesImpl).x3p = function () {
|
|
4521
4518
|
return this.a41_1;
|
|
4522
4519
|
};
|
|
4523
|
-
protoOf(OptionWithValuesImpl).
|
|
4520
|
+
protoOf(OptionWithValuesImpl).b40 = function () {
|
|
4524
4521
|
return this.b41_1;
|
|
4525
4522
|
};
|
|
4526
|
-
protoOf(OptionWithValuesImpl).
|
|
4523
|
+
protoOf(OptionWithValuesImpl).a40 = function () {
|
|
4527
4524
|
return this.c41_1;
|
|
4528
4525
|
};
|
|
4529
|
-
protoOf(OptionWithValuesImpl).
|
|
4526
|
+
protoOf(OptionWithValuesImpl).o3y = function () {
|
|
4530
4527
|
return this.d41_1;
|
|
4531
4528
|
};
|
|
4532
4529
|
protoOf(OptionWithValuesImpl).r3z = function () {
|
|
4533
4530
|
return this.e41_1;
|
|
4534
4531
|
};
|
|
4535
|
-
protoOf(OptionWithValuesImpl).
|
|
4532
|
+
protoOf(OptionWithValuesImpl).s3z = function () {
|
|
4536
4533
|
return this.f41_1;
|
|
4537
4534
|
};
|
|
4538
|
-
protoOf(OptionWithValuesImpl).
|
|
4535
|
+
protoOf(OptionWithValuesImpl).j40 = function () {
|
|
4539
4536
|
return this.g41_1;
|
|
4540
4537
|
};
|
|
4541
|
-
protoOf(OptionWithValuesImpl).
|
|
4542
|
-
this.h41_1 = _set____db54di;
|
|
4543
|
-
};
|
|
4544
|
-
protoOf(OptionWithValuesImpl).w3r = function () {
|
|
4538
|
+
protoOf(OptionWithValuesImpl).y3r = function () {
|
|
4545
4539
|
return this.h41_1;
|
|
4546
4540
|
};
|
|
4547
|
-
protoOf(OptionWithValuesImpl).
|
|
4548
|
-
|
|
4541
|
+
protoOf(OptionWithValuesImpl).u3z = function (_set____db54di) {
|
|
4542
|
+
this.i41_1 = _set____db54di;
|
|
4543
|
+
};
|
|
4544
|
+
protoOf(OptionWithValuesImpl).x3r = function () {
|
|
4545
|
+
return this.i41_1;
|
|
4546
|
+
};
|
|
4547
|
+
protoOf(OptionWithValuesImpl).z3z = function (context) {
|
|
4548
|
+
var tmp0_elvis_lhs = this.q40_1;
|
|
4549
4549
|
var tmp;
|
|
4550
4550
|
if (tmp0_elvis_lhs == null) {
|
|
4551
4551
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4554,30 +4554,30 @@
|
|
|
4554
4554
|
}
|
|
4555
4555
|
return tmp(context);
|
|
4556
4556
|
};
|
|
4557
|
-
protoOf(OptionWithValuesImpl).
|
|
4558
|
-
return this.
|
|
4557
|
+
protoOf(OptionWithValuesImpl).h3z = function (_set____db54di) {
|
|
4558
|
+
return this.j41_1.k3z(this, value$factory_1(), _set____db54di);
|
|
4559
4559
|
};
|
|
4560
4560
|
protoOf(OptionWithValuesImpl).p2 = function () {
|
|
4561
|
-
return this.
|
|
4561
|
+
return this.j41_1.l3z(this, value$factory_2());
|
|
4562
4562
|
};
|
|
4563
|
-
protoOf(OptionWithValuesImpl).
|
|
4564
|
-
return this.
|
|
4563
|
+
protoOf(OptionWithValuesImpl).a3o = function () {
|
|
4564
|
+
return this.k41_1;
|
|
4565
4565
|
};
|
|
4566
|
-
protoOf(OptionWithValuesImpl).
|
|
4567
|
-
var tmp0_elvis_lhs = this.
|
|
4566
|
+
protoOf(OptionWithValuesImpl).y3o = function () {
|
|
4567
|
+
var tmp0_elvis_lhs = this.y40_1;
|
|
4568
4568
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4569
4569
|
};
|
|
4570
|
-
protoOf(OptionWithValuesImpl).
|
|
4571
|
-
var tmp0_safe_receiver = this.
|
|
4570
|
+
protoOf(OptionWithValuesImpl).i3p = function (context) {
|
|
4571
|
+
var tmp0_safe_receiver = this.s40_1;
|
|
4572
4572
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4573
4573
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4574
4574
|
};
|
|
4575
|
-
protoOf(OptionWithValuesImpl).
|
|
4576
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4575
|
+
protoOf(OptionWithValuesImpl).x3u = function (context, invocations) {
|
|
4576
|
+
var v = getFinalValue(this, context, invocations, this.w40_1);
|
|
4577
4577
|
var tmp;
|
|
4578
4578
|
if (v instanceof Parsed) {
|
|
4579
4579
|
var tmp_0;
|
|
4580
|
-
if (this.
|
|
4580
|
+
if (this.x40_1 == null) {
|
|
4581
4581
|
tmp_0 = invocations;
|
|
4582
4582
|
} else {
|
|
4583
4583
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4589,7 +4589,7 @@
|
|
|
4589
4589
|
var tmp$ret$4;
|
|
4590
4590
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4591
4591
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4592
|
-
var tmp0_flatMap = item.
|
|
4592
|
+
var tmp0_flatMap = item.n41_1;
|
|
4593
4593
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4594
4594
|
var tmp0_flatMapTo = ArrayList_init_$Create$();
|
|
4595
4595
|
var tmp0_iterator_0 = tmp0_flatMap.v();
|
|
@@ -4597,10 +4597,10 @@
|
|
|
4597
4597
|
var element = tmp0_iterator_0.y();
|
|
4598
4598
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4599
4599
|
// Inline function 'kotlin.text.split' call
|
|
4600
|
-
var list = this.
|
|
4600
|
+
var list = this.x40_1.y8(element, 0);
|
|
4601
4601
|
addAll(tmp0_flatMapTo, list);
|
|
4602
4602
|
}
|
|
4603
|
-
tmp$ret$4 = item.
|
|
4603
|
+
tmp$ret$4 = item.o41(VOID, tmp0_flatMapTo);
|
|
4604
4604
|
tmp0_mapTo.s(tmp$ret$4);
|
|
4605
4605
|
}
|
|
4606
4606
|
tmp_0 = tmp0_mapTo;
|
|
@@ -4609,7 +4609,7 @@
|
|
|
4609
4609
|
} else {
|
|
4610
4610
|
if (v instanceof Sourced) {
|
|
4611
4611
|
// Inline function 'kotlin.collections.map' call
|
|
4612
|
-
var tmp0_map = v.
|
|
4612
|
+
var tmp0_map = v.e40_1;
|
|
4613
4613
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4614
4614
|
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
4615
4615
|
var tmp0_iterator_1 = tmp0_map.v();
|
|
@@ -4617,21 +4617,21 @@
|
|
|
4617
4617
|
var item_0 = tmp0_iterator_1.y();
|
|
4618
4618
|
var tmp$ret$7;
|
|
4619
4619
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4620
|
-
tmp$ret$7 = new Invocation('', item_0.
|
|
4620
|
+
tmp$ret$7 = new Invocation('', item_0.l41_1);
|
|
4621
4621
|
tmp0_mapTo_0.s(tmp$ret$7);
|
|
4622
4622
|
}
|
|
4623
4623
|
tmp = tmp0_mapTo_0;
|
|
4624
4624
|
} else {
|
|
4625
4625
|
if (v instanceof Envvar) {
|
|
4626
4626
|
var tmp_1;
|
|
4627
|
-
if (this.
|
|
4628
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4627
|
+
if (this.x40_1 == null) {
|
|
4628
|
+
tmp_1 = listOf_0(new Invocation(v.f40_1, listOf_0(v.g40_1)));
|
|
4629
4629
|
} else {
|
|
4630
4630
|
var tmp$ret$10;
|
|
4631
4631
|
// Inline function 'kotlin.text.split' call
|
|
4632
|
-
var tmp1_split = v.
|
|
4633
|
-
tmp$ret$10 = this.
|
|
4634
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4632
|
+
var tmp1_split = v.g40_1;
|
|
4633
|
+
tmp$ret$10 = this.x40_1.y8(tmp1_split, 0);
|
|
4634
|
+
tmp_1 = listOf_0(new Invocation(v.f40_1, tmp$ret$10));
|
|
4635
4635
|
}
|
|
4636
4636
|
tmp = tmp_1;
|
|
4637
4637
|
} else {
|
|
@@ -4649,9 +4649,9 @@
|
|
|
4649
4649
|
var item_1 = tmp0_iterator_2.y();
|
|
4650
4650
|
var tmp$ret$14;
|
|
4651
4651
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4652
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4652
|
+
var tc = new OptionCallTransformContext(item_1.m41_1, this, context);
|
|
4653
4653
|
// Inline function 'kotlin.collections.map' call
|
|
4654
|
-
var tmp0_map_0 = item_1.
|
|
4654
|
+
var tmp0_map_0 = item_1.n41_1;
|
|
4655
4655
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4656
4656
|
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
4657
4657
|
var tmp0_iterator_3 = tmp0_map_0.v();
|
|
@@ -4659,30 +4659,30 @@
|
|
|
4659
4659
|
var item_2 = tmp0_iterator_3.y();
|
|
4660
4660
|
var tmp$ret$11;
|
|
4661
4661
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4662
|
-
tmp$ret$11 = this.
|
|
4662
|
+
tmp$ret$11 = this.d41_1(tc, item_2);
|
|
4663
4663
|
tmp0_mapTo_2.s(tmp$ret$11);
|
|
4664
4664
|
}
|
|
4665
|
-
tmp$ret$14 = this.
|
|
4665
|
+
tmp$ret$14 = this.e41_1(tc, tmp0_mapTo_2);
|
|
4666
4666
|
tmp0_mapTo_1.s(tmp$ret$14);
|
|
4667
4667
|
}
|
|
4668
|
-
this.
|
|
4668
|
+
this.h3z(this.f41_1(tmp_2, tmp0_mapTo_1));
|
|
4669
4669
|
};
|
|
4670
|
-
protoOf(OptionWithValuesImpl).
|
|
4671
|
-
this.
|
|
4672
|
-
thisRef.
|
|
4670
|
+
protoOf(OptionWithValuesImpl).p40 = function (thisRef, property) {
|
|
4671
|
+
this.k41_1 = inferOptionNames(this.k41_1, property.callableName);
|
|
4672
|
+
thisRef.y3p(this);
|
|
4673
4673
|
return this;
|
|
4674
4674
|
};
|
|
4675
|
-
protoOf(OptionWithValuesImpl).
|
|
4676
|
-
return this.
|
|
4675
|
+
protoOf(OptionWithValuesImpl).t3y = function (thisRef, property) {
|
|
4676
|
+
return this.p40((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4677
4677
|
};
|
|
4678
|
-
protoOf(OptionWithValuesImpl).
|
|
4679
|
-
this.
|
|
4678
|
+
protoOf(OptionWithValuesImpl).m3y = function (context) {
|
|
4679
|
+
this.g41_1(new OptionTransformContext(this, context), this.p2());
|
|
4680
4680
|
};
|
|
4681
|
-
protoOf(OptionWithValuesImpl).
|
|
4681
|
+
protoOf(OptionWithValuesImpl).m40 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4682
4682
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4683
4683
|
};
|
|
4684
|
-
protoOf(OptionWithValuesImpl).
|
|
4685
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4684
|
+
protoOf(OptionWithValuesImpl).o40 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4685
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.d41_1, this.e41_1, this.f41_1, validator);
|
|
4686
4686
|
};
|
|
4687
4687
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4688
4688
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4723,8 +4723,8 @@
|
|
|
4723
4723
|
}
|
|
4724
4724
|
return tmp0_apply.toString();
|
|
4725
4725
|
};
|
|
4726
|
-
protoOf(OptionWithValuesImpl).
|
|
4727
|
-
return this.
|
|
4726
|
+
protoOf(OptionWithValuesImpl).n3z = function (thisRef, property) {
|
|
4727
|
+
return this.c40((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4728
4728
|
};
|
|
4729
4729
|
function defaultEachProcessor() {
|
|
4730
4730
|
return defaultEachProcessor$lambda;
|
|
@@ -4761,14 +4761,14 @@
|
|
|
4761
4761
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4762
4762
|
return receiver.p2();
|
|
4763
4763
|
}, function (receiver, value) {
|
|
4764
|
-
return receiver.
|
|
4764
|
+
return receiver.h3z(value);
|
|
4765
4765
|
});
|
|
4766
4766
|
}
|
|
4767
4767
|
function value$factory_2() {
|
|
4768
4768
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4769
4769
|
return receiver.p2();
|
|
4770
4770
|
}, function (receiver, value) {
|
|
4771
|
-
return receiver.
|
|
4771
|
+
return receiver.h3z(value);
|
|
4772
4772
|
});
|
|
4773
4773
|
}
|
|
4774
4774
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4778,7 +4778,7 @@
|
|
|
4778
4778
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4779
4779
|
var tmp;
|
|
4780
4780
|
if (defaultForHelp === VOID) {
|
|
4781
|
-
var tmp_0 = _this__u8e3s4.
|
|
4781
|
+
var tmp_0 = _this__u8e3s4.s3y();
|
|
4782
4782
|
Tags_getInstance();
|
|
4783
4783
|
tmp = tmp_0.u2('default');
|
|
4784
4784
|
} else {
|
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
var tmp_1;
|
|
4789
4789
|
if (showAsRequired === VOID) {
|
|
4790
4790
|
// Inline function 'kotlin.collections.contains' call
|
|
4791
|
-
var tmp0_contains = _this__u8e3s4.
|
|
4791
|
+
var tmp0_contains = _this__u8e3s4.s3y();
|
|
4792
4792
|
Tags_getInstance();
|
|
4793
4793
|
var tmp1_contains = 'required';
|
|
4794
4794
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -4797,7 +4797,7 @@
|
|
|
4797
4797
|
tmp_1 = showAsRequired;
|
|
4798
4798
|
}
|
|
4799
4799
|
showAsRequired = tmp_1;
|
|
4800
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4800
|
+
var tags = toMutableMap(_this__u8e3s4.s3y());
|
|
4801
4801
|
if (showAsRequired) {
|
|
4802
4802
|
// Inline function 'kotlin.collections.set' call
|
|
4803
4803
|
Tags_getInstance();
|
|
@@ -4815,7 +4815,7 @@
|
|
|
4815
4815
|
Tags_getInstance();
|
|
4816
4816
|
tags.m2('default');
|
|
4817
4817
|
}
|
|
4818
|
-
return _this__u8e3s4.
|
|
4818
|
+
return _this__u8e3s4.t3z(_this__u8e3s4.o3y(), _this__u8e3s4.r3z(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4819
4819
|
}
|
|
4820
4820
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4821
4821
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4832,7 +4832,7 @@
|
|
|
4832
4832
|
return function ($this$transformAll, it) {
|
|
4833
4833
|
var tmp;
|
|
4834
4834
|
if (it.c1() ? $required : false) {
|
|
4835
|
-
throw new MissingOption($this$transformAll.
|
|
4835
|
+
throw new MissingOption($this$transformAll.n3p_1);
|
|
4836
4836
|
} else if (it.c1() ? !$required : false) {
|
|
4837
4837
|
tmp = $default;
|
|
4838
4838
|
} else {
|
|
@@ -4863,34 +4863,34 @@
|
|
|
4863
4863
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4864
4864
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4865
4865
|
}
|
|
4866
|
-
var tmp = _this__u8e3s4.
|
|
4866
|
+
var tmp = _this__u8e3s4.o3y();
|
|
4867
4867
|
var tmp_0 = defaultAllProcessor_0();
|
|
4868
4868
|
var tmp_1 = defaultValidator_0();
|
|
4869
4869
|
var tmp_2;
|
|
4870
4870
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4871
4871
|
tmp_2 = transformValues$lambda;
|
|
4872
4872
|
} else {
|
|
4873
|
-
tmp_2 = _this__u8e3s4.
|
|
4873
|
+
tmp_2 = _this__u8e3s4.k40();
|
|
4874
4874
|
}
|
|
4875
|
-
return _this__u8e3s4.
|
|
4875
|
+
return _this__u8e3s4.t3z(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4876
4876
|
}
|
|
4877
4877
|
function transformValues$lambda($this$null) {
|
|
4878
4878
|
return null;
|
|
4879
4879
|
}
|
|
4880
4880
|
function HelpTransformContext(context) {
|
|
4881
|
-
this.
|
|
4881
|
+
this.p41_1 = context;
|
|
4882
4882
|
}
|
|
4883
4883
|
protoOf(HelpTransformContext).gc = function () {
|
|
4884
|
-
return this.
|
|
4884
|
+
return this.p41_1;
|
|
4885
4885
|
};
|
|
4886
|
-
protoOf(HelpTransformContext).
|
|
4886
|
+
protoOf(HelpTransformContext).w3y = function (message) {
|
|
4887
4887
|
throw new UsageError(message);
|
|
4888
4888
|
};
|
|
4889
4889
|
protoOf(HelpTransformContext).toString = function () {
|
|
4890
|
-
return 'HelpTransformContext(context=' + this.
|
|
4890
|
+
return 'HelpTransformContext(context=' + this.p41_1 + ')';
|
|
4891
4891
|
};
|
|
4892
4892
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4893
|
-
return hashCode(this.
|
|
4893
|
+
return hashCode(this.p41_1);
|
|
4894
4894
|
};
|
|
4895
4895
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4896
4896
|
if (this === other)
|
|
@@ -4898,7 +4898,7 @@
|
|
|
4898
4898
|
if (!(other instanceof HelpTransformContext))
|
|
4899
4899
|
return false;
|
|
4900
4900
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4901
|
-
if (!equals(this.
|
|
4901
|
+
if (!equals(this.p41_1, tmp0_other_with_cast.p41_1))
|
|
4902
4902
|
return false;
|
|
4903
4903
|
return true;
|
|
4904
4904
|
};
|
|
@@ -4910,10 +4910,10 @@
|
|
|
4910
4910
|
var tmp = defaultEachProcessor();
|
|
4911
4911
|
var tmp_0 = defaultAllProcessor_0();
|
|
4912
4912
|
var tmp_1 = defaultValidator_0();
|
|
4913
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4913
|
+
var tmp0_elvis_lhs = _this__u8e3s4.k40();
|
|
4914
4914
|
var tmp_2 = tmp0_elvis_lhs == null ? tmp0_convert : tmp0_elvis_lhs;
|
|
4915
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4916
|
-
return _this__u8e3s4.
|
|
4915
|
+
var tmp1_elvis_lhs = _this__u8e3s4.p3y();
|
|
4916
|
+
return _this__u8e3s4.t3z(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4917
4917
|
}
|
|
4918
4918
|
function valueToBool(_this__u8e3s4, value) {
|
|
4919
4919
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4937,7 +4937,7 @@
|
|
|
4937
4937
|
tmp = false;
|
|
4938
4938
|
break;
|
|
4939
4939
|
default:
|
|
4940
|
-
_this__u8e3s4.
|
|
4940
|
+
_this__u8e3s4.w3y(_this__u8e3s4.gc().q3o_1.z3v(value));
|
|
4941
4941
|
break;
|
|
4942
4942
|
}
|
|
4943
4943
|
return tmp;
|
|
@@ -4951,7 +4951,7 @@
|
|
|
4951
4951
|
try {
|
|
4952
4952
|
var tmp$ret$0;
|
|
4953
4953
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
4954
|
-
var tmp0_anonymous = $this_boolean.
|
|
4954
|
+
var tmp0_anonymous = $this_boolean.o3y()($this$null, it);
|
|
4955
4955
|
tmp$ret$0 = valueToBool($this$null, tmp0_anonymous);
|
|
4956
4956
|
tmp = tmp$ret$0;
|
|
4957
4957
|
} catch ($p) {
|
|
@@ -4959,12 +4959,12 @@
|
|
|
4959
4959
|
if ($p instanceof UsageError) {
|
|
4960
4960
|
var err = $p;
|
|
4961
4961
|
var tmp_1 = err;
|
|
4962
|
-
var tmp0_elvis_lhs = err.
|
|
4962
|
+
var tmp0_elvis_lhs = err.i3s_1;
|
|
4963
4963
|
var tmp_2;
|
|
4964
4964
|
if (tmp0_elvis_lhs == null) {
|
|
4965
4965
|
var tmp$ret$3;
|
|
4966
4966
|
// Inline function 'kotlin.takeUnless' call
|
|
4967
|
-
var tmp0_takeUnless = $this$null.
|
|
4967
|
+
var tmp0_takeUnless = $this$null.w3z_1;
|
|
4968
4968
|
// Inline function 'kotlin.contracts.contract' call
|
|
4969
4969
|
var tmp_3;
|
|
4970
4970
|
var tmp$ret$2;
|
|
@@ -4984,13 +4984,13 @@
|
|
|
4984
4984
|
tmp_2 = tmp0_elvis_lhs;
|
|
4985
4985
|
}
|
|
4986
4986
|
var tmp1_elvis_lhs = tmp_2;
|
|
4987
|
-
tmp_1.
|
|
4987
|
+
tmp_1.i3s_1 = tmp1_elvis_lhs == null ? longestName($this$null.x3z_1) : tmp1_elvis_lhs;
|
|
4988
4988
|
throw err;
|
|
4989
4989
|
} else {
|
|
4990
4990
|
if ($p instanceof Exception) {
|
|
4991
4991
|
var err_0 = $p;
|
|
4992
4992
|
var tmp2_elvis_lhs = err_0.message;
|
|
4993
|
-
$this$null.
|
|
4993
|
+
$this$null.w3y(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
4994
4994
|
} else {
|
|
4995
4995
|
throw $p;
|
|
4996
4996
|
}
|
|
@@ -5042,16 +5042,16 @@
|
|
|
5042
5042
|
var tmp_1 = defaultEachProcessor();
|
|
5043
5043
|
var tmp_2 = defaultAllProcessor_0();
|
|
5044
5044
|
var tmp_3 = defaultValidator_0();
|
|
5045
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5045
|
+
var tmp0_elvis_lhs = _this__u8e3s4.k40();
|
|
5046
5046
|
var tmp_4 = tmp0_elvis_lhs == null ? tmp0_convert : tmp0_elvis_lhs;
|
|
5047
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5048
|
-
return _this__u8e3s4.
|
|
5047
|
+
var tmp1_elvis_lhs = _this__u8e3s4.p3y();
|
|
5048
|
+
return _this__u8e3s4.t3z(valueTransform, tmp_1, tmp_2, tmp_3, VOID, tmp_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? tmp1_convert : tmp1_elvis_lhs);
|
|
5049
5049
|
}
|
|
5050
5050
|
function mvar(choices) {
|
|
5051
5051
|
return joinToString(choices, '|', '(', ')');
|
|
5052
5052
|
}
|
|
5053
5053
|
function errorMessage(context, choice, choices) {
|
|
5054
|
-
return context.
|
|
5054
|
+
return context.q3o_1.a3w(choice, toList_1(choices.k2()));
|
|
5055
5055
|
}
|
|
5056
5056
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
5057
5057
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5091,8 +5091,8 @@
|
|
|
5091
5091
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
5092
5092
|
var tmp_1 = defaultAllProcessor();
|
|
5093
5093
|
var tmp_2 = defaultValidator();
|
|
5094
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5095
|
-
return _this__u8e3s4.
|
|
5094
|
+
var tmp0_elvis_lhs = _this__u8e3s4.p3y();
|
|
5095
|
+
return _this__u8e3s4.r3y(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? tmp1_convert : tmp0_elvis_lhs);
|
|
5096
5096
|
}
|
|
5097
5097
|
function choice$lambda($metavar) {
|
|
5098
5098
|
return function ($this$convert) {
|
|
@@ -5105,7 +5105,7 @@
|
|
|
5105
5105
|
try {
|
|
5106
5106
|
var tmp$ret$2;
|
|
5107
5107
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5108
|
-
var tmp2_anonymous = $this_choice.
|
|
5108
|
+
var tmp2_anonymous = $this_choice.o3y()($this$null, it);
|
|
5109
5109
|
var tmp_0;
|
|
5110
5110
|
if ($ignoreCase) {
|
|
5111
5111
|
var tmp$ret$1;
|
|
@@ -5121,7 +5121,7 @@
|
|
|
5121
5121
|
var tmp0_elvis_lhs = $c.u2(tmp_0);
|
|
5122
5122
|
var tmp_1;
|
|
5123
5123
|
if (tmp0_elvis_lhs == null) {
|
|
5124
|
-
$this$null.
|
|
5124
|
+
$this$null.w3y(errorMessage($this$null.y3z_1, tmp2_anonymous, $choices));
|
|
5125
5125
|
} else {
|
|
5126
5126
|
tmp_1 = tmp0_elvis_lhs;
|
|
5127
5127
|
}
|
|
@@ -5132,12 +5132,12 @@
|
|
|
5132
5132
|
if ($p instanceof UsageError) {
|
|
5133
5133
|
var err = $p;
|
|
5134
5134
|
var tmp_3 = err;
|
|
5135
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5135
|
+
var tmp0_elvis_lhs_0 = err.i3s_1;
|
|
5136
5136
|
var tmp_4;
|
|
5137
5137
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5138
5138
|
var tmp$ret$5;
|
|
5139
5139
|
// Inline function 'kotlin.takeUnless' call
|
|
5140
|
-
var tmp0_takeUnless = $this$null.
|
|
5140
|
+
var tmp0_takeUnless = $this$null.w3z_1;
|
|
5141
5141
|
// Inline function 'kotlin.contracts.contract' call
|
|
5142
5142
|
var tmp_5;
|
|
5143
5143
|
var tmp$ret$4;
|
|
@@ -5157,13 +5157,13 @@
|
|
|
5157
5157
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5158
5158
|
}
|
|
5159
5159
|
var tmp1_elvis_lhs = tmp_4;
|
|
5160
|
-
tmp_3.
|
|
5160
|
+
tmp_3.i3s_1 = tmp1_elvis_lhs == null ? longestName($this$null.x3z_1) : tmp1_elvis_lhs;
|
|
5161
5161
|
throw err;
|
|
5162
5162
|
} else {
|
|
5163
5163
|
if ($p instanceof Exception) {
|
|
5164
5164
|
var err_0 = $p;
|
|
5165
5165
|
var tmp2_elvis_lhs = err_0.message;
|
|
5166
|
-
$this$null.
|
|
5166
|
+
$this$null.w3y(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5167
5167
|
} else {
|
|
5168
5168
|
throw $p;
|
|
5169
5169
|
}
|
|
@@ -5179,7 +5179,7 @@
|
|
|
5179
5179
|
try {
|
|
5180
5180
|
var tmp$ret$2;
|
|
5181
5181
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5182
|
-
var tmp2_anonymous = $this_choice.
|
|
5182
|
+
var tmp2_anonymous = $this_choice.o3y()($this$null, it);
|
|
5183
5183
|
var tmp_0;
|
|
5184
5184
|
if ($ignoreCase) {
|
|
5185
5185
|
var tmp$ret$1;
|
|
@@ -5195,7 +5195,7 @@
|
|
|
5195
5195
|
var tmp0_elvis_lhs = $c.u2(tmp_0);
|
|
5196
5196
|
var tmp_1;
|
|
5197
5197
|
if (tmp0_elvis_lhs == null) {
|
|
5198
|
-
$this$null.
|
|
5198
|
+
$this$null.w3y(errorMessage($this$null.v3y_1, tmp2_anonymous, $choices));
|
|
5199
5199
|
} else {
|
|
5200
5200
|
tmp_1 = tmp0_elvis_lhs;
|
|
5201
5201
|
}
|
|
@@ -5206,14 +5206,14 @@
|
|
|
5206
5206
|
if ($p instanceof UsageError) {
|
|
5207
5207
|
var err = $p;
|
|
5208
5208
|
var tmp_3 = err;
|
|
5209
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5210
|
-
tmp_3.
|
|
5209
|
+
var tmp0_elvis_lhs_0 = err.i3s_1;
|
|
5210
|
+
tmp_3.i3s_1 = tmp0_elvis_lhs_0 == null ? $this$null.u3y_1.wa() : tmp0_elvis_lhs_0;
|
|
5211
5211
|
throw err;
|
|
5212
5212
|
} else {
|
|
5213
5213
|
if ($p instanceof Exception) {
|
|
5214
5214
|
var err_0 = $p;
|
|
5215
5215
|
var tmp1_elvis_lhs = err_0.message;
|
|
5216
|
-
$this$null.
|
|
5216
|
+
$this$null.w3y(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5217
5217
|
} else {
|
|
5218
5218
|
throw $p;
|
|
5219
5219
|
}
|
|
@@ -5224,23 +5224,23 @@
|
|
|
5224
5224
|
};
|
|
5225
5225
|
}
|
|
5226
5226
|
function Invocation(name, values) {
|
|
5227
|
-
this.
|
|
5228
|
-
this.
|
|
5227
|
+
this.m41_1 = name;
|
|
5228
|
+
this.n41_1 = values;
|
|
5229
5229
|
}
|
|
5230
|
-
protoOf(Invocation).
|
|
5230
|
+
protoOf(Invocation).q41 = function (name, values) {
|
|
5231
5231
|
return new Invocation(name, values);
|
|
5232
5232
|
};
|
|
5233
|
-
protoOf(Invocation).
|
|
5234
|
-
name = name === VOID ? this.
|
|
5235
|
-
values = values === VOID ? this.
|
|
5236
|
-
return $super === VOID ? this.
|
|
5233
|
+
protoOf(Invocation).o41 = function (name, values, $super) {
|
|
5234
|
+
name = name === VOID ? this.m41_1 : name;
|
|
5235
|
+
values = values === VOID ? this.n41_1 : values;
|
|
5236
|
+
return $super === VOID ? this.q41(name, values) : $super.q41.call(this, name, values);
|
|
5237
5237
|
};
|
|
5238
5238
|
protoOf(Invocation).toString = function () {
|
|
5239
|
-
return 'Invocation(name=' + this.
|
|
5239
|
+
return 'Invocation(name=' + this.m41_1 + ', values=' + this.n41_1 + ')';
|
|
5240
5240
|
};
|
|
5241
5241
|
protoOf(Invocation).hashCode = function () {
|
|
5242
|
-
var result = getStringHashCode(this.
|
|
5243
|
-
result = imul(result, 31) + hashCode(this.
|
|
5242
|
+
var result = getStringHashCode(this.m41_1);
|
|
5243
|
+
result = imul(result, 31) + hashCode(this.n41_1) | 0;
|
|
5244
5244
|
return result;
|
|
5245
5245
|
};
|
|
5246
5246
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5249,18 +5249,18 @@
|
|
|
5249
5249
|
if (!(other instanceof Invocation))
|
|
5250
5250
|
return false;
|
|
5251
5251
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5252
|
-
if (!(this.
|
|
5252
|
+
if (!(this.m41_1 === tmp0_other_with_cast.m41_1))
|
|
5253
5253
|
return false;
|
|
5254
|
-
if (!equals(this.
|
|
5254
|
+
if (!equals(this.n41_1, tmp0_other_with_cast.n41_1))
|
|
5255
5255
|
return false;
|
|
5256
5256
|
return true;
|
|
5257
5257
|
};
|
|
5258
5258
|
function parse($this, argv, context, canRun) {
|
|
5259
5259
|
var tokens = argv;
|
|
5260
|
-
var command = context.
|
|
5261
|
-
var aliases = command.
|
|
5260
|
+
var command = context.d3o_1;
|
|
5261
|
+
var aliases = command.b3p();
|
|
5262
5262
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5263
|
-
var tmp0_associateBy = command.
|
|
5263
|
+
var tmp0_associateBy = command.s3n_1;
|
|
5264
5264
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associateBy, 10)), 16);
|
|
5265
5265
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5266
5266
|
var tmp0_associateByTo = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5269,7 +5269,7 @@
|
|
|
5269
5269
|
var element = tmp0_iterator.y();
|
|
5270
5270
|
var tmp$ret$0;
|
|
5271
5271
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5272
|
-
tmp$ret$0 = element.
|
|
5272
|
+
tmp$ret$0 = element.p3n_1;
|
|
5273
5273
|
tmp0_associateByTo.l2(tmp$ret$0, element);
|
|
5274
5274
|
}
|
|
5275
5275
|
var subcommands = tmp0_associateByTo;
|
|
@@ -5277,7 +5277,7 @@
|
|
|
5277
5277
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5278
5278
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5279
5279
|
// Inline function 'kotlin.collections.find' call
|
|
5280
|
-
var tmp1_find = command.
|
|
5280
|
+
var tmp1_find = command.t3n_1;
|
|
5281
5281
|
var tmp$ret$5;
|
|
5282
5282
|
$l$block: {
|
|
5283
5283
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5285,7 +5285,7 @@
|
|
|
5285
5285
|
while (tmp0_iterator_0.w()) {
|
|
5286
5286
|
var element_0 = tmp0_iterator_0.y();
|
|
5287
5287
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5288
|
-
if (element_0.
|
|
5288
|
+
if (element_0.x3p()) {
|
|
5289
5289
|
tmp$ret$5 = element_0;
|
|
5290
5290
|
break $l$block;
|
|
5291
5291
|
}
|
|
@@ -5293,7 +5293,7 @@
|
|
|
5293
5293
|
tmp$ret$5 = null;
|
|
5294
5294
|
}
|
|
5295
5295
|
var numberOption = tmp$ret$5;
|
|
5296
|
-
var arguments_0 = command.
|
|
5296
|
+
var arguments_0 = command.u3n_1;
|
|
5297
5297
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5298
5298
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5299
5299
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -5301,11 +5301,11 @@
|
|
|
5301
5301
|
var tmp$ret$10;
|
|
5302
5302
|
$l$block_0: {
|
|
5303
5303
|
// Inline function 'kotlin.sequences.any' call
|
|
5304
|
-
var tmp0_iterator_1 = context.
|
|
5304
|
+
var tmp0_iterator_1 = context.l3p().v();
|
|
5305
5305
|
while (tmp0_iterator_1.w()) {
|
|
5306
5306
|
var element_1 = tmp0_iterator_1.y();
|
|
5307
5307
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5308
|
-
if (element_1.
|
|
5308
|
+
if (element_1.d3o_1.m3n_1) {
|
|
5309
5309
|
tmp$ret$10 = true;
|
|
5310
5310
|
break $l$block_0;
|
|
5311
5311
|
}
|
|
@@ -5317,24 +5317,24 @@
|
|
|
5317
5317
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5318
5318
|
var subcommand = null;
|
|
5319
5319
|
var canParseOptions = true;
|
|
5320
|
-
var canExpandAtFiles = context.
|
|
5320
|
+
var canExpandAtFiles = context.e3r();
|
|
5321
5321
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5322
5322
|
var invocations = ArrayList_init_$Create$();
|
|
5323
5323
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5324
5324
|
var errors = ArrayList_init_$Create$();
|
|
5325
5325
|
var i = {_v: 0};
|
|
5326
5326
|
var minAliasI = 0;
|
|
5327
|
-
var tmp0_iterator_2 = command.
|
|
5327
|
+
var tmp0_iterator_2 = command.t3n_1.v();
|
|
5328
5328
|
while (tmp0_iterator_2.w()) {
|
|
5329
5329
|
var option = tmp0_iterator_2.y();
|
|
5330
5330
|
// Inline function 'kotlin.require' call
|
|
5331
5331
|
var tmp;
|
|
5332
5332
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5333
|
-
if (!option.
|
|
5333
|
+
if (!option.a3o().c1()) {
|
|
5334
5334
|
tmp = true;
|
|
5335
5335
|
} else {
|
|
5336
5336
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5337
|
-
tmp = !option.
|
|
5337
|
+
tmp = !option.b3o().c1();
|
|
5338
5338
|
}
|
|
5339
5339
|
// Inline function 'kotlin.contracts.contract' call
|
|
5340
5340
|
if (!tmp) {
|
|
@@ -5344,12 +5344,12 @@
|
|
|
5344
5344
|
}
|
|
5345
5345
|
// Inline function 'kotlin.require' call
|
|
5346
5346
|
// Inline function 'kotlin.contracts.contract' call
|
|
5347
|
-
if (!(option.
|
|
5347
|
+
if (!(option.b40() ? true : option.z3o().w9_1 <= 1)) {
|
|
5348
5348
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5349
5349
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5350
5350
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5351
5351
|
}
|
|
5352
|
-
var tmp1_iterator = plus(option.
|
|
5352
|
+
var tmp1_iterator = plus(option.a3o(), option.b3o()).v();
|
|
5353
5353
|
while (tmp1_iterator.w()) {
|
|
5354
5354
|
var name = tmp1_iterator.y();
|
|
5355
5355
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5364,12 +5364,12 @@
|
|
|
5364
5364
|
}
|
|
5365
5365
|
}
|
|
5366
5366
|
prefixes.t('');
|
|
5367
|
-
if (tokens.c1() ? command.
|
|
5367
|
+
if (tokens.c1() ? command.j3n_1 : false) {
|
|
5368
5368
|
throw new PrintHelpMessage(context, true);
|
|
5369
5369
|
}
|
|
5370
5370
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5371
5371
|
var tok = tokens.g1(i._v);
|
|
5372
|
-
var normTok = context.
|
|
5372
|
+
var normTok = context.k3o_1(context, tok);
|
|
5373
5373
|
var prefix = splitOptionPrefix(tok).sd_1;
|
|
5374
5374
|
var tmp_0;
|
|
5375
5375
|
if (canExpandAtFiles ? startsWith(tok, '@') : false) {
|
|
@@ -5397,8 +5397,8 @@
|
|
|
5397
5397
|
canParseOptions = false;
|
|
5398
5398
|
canExpandAtFiles = false;
|
|
5399
5399
|
} else {
|
|
5400
|
-
if (canParseOptions ? (((prefix.length > 1 ? prefixes.r(prefix) : false) ? true : longNames.r(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.
|
|
5401
|
-
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseLongOpt($this, command.
|
|
5400
|
+
if (canParseOptions ? (((prefix.length > 1 ? prefixes.r(prefix) : false) ? true : longNames.r(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.f3o_1 : false) {
|
|
5401
|
+
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseLongOpt($this, command.n3n_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5402
5402
|
} else {
|
|
5403
5403
|
var tmp_1;
|
|
5404
5404
|
var tmp_2;
|
|
@@ -5414,7 +5414,7 @@
|
|
|
5414
5414
|
tmp_1 = false;
|
|
5415
5415
|
}
|
|
5416
5416
|
if (tmp_1) {
|
|
5417
|
-
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseShortOpt($this, command.
|
|
5417
|
+
parse$consumeParse(positionalArgs, invocations, i, errors, context, i._v, parseShortOpt($this, command.n3n_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5418
5418
|
} else {
|
|
5419
5419
|
var tmp_3;
|
|
5420
5420
|
if (i._v >= minAliasI) {
|
|
@@ -5436,7 +5436,7 @@
|
|
|
5436
5436
|
i._v = i._v + 1 | 0;
|
|
5437
5437
|
break loop;
|
|
5438
5438
|
} else {
|
|
5439
|
-
if (!context.
|
|
5439
|
+
if (!context.e3o_1)
|
|
5440
5440
|
canParseOptions = false;
|
|
5441
5441
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5442
5442
|
var tmp9_plusAssign = to(i._v, tokens.g1(i._v));
|
|
@@ -5456,7 +5456,7 @@
|
|
|
5456
5456
|
while (tmp0_iterator_3.w()) {
|
|
5457
5457
|
var element_2 = tmp0_iterator_3.y();
|
|
5458
5458
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5459
|
-
var key = element_2.
|
|
5459
|
+
var key = element_2.r41_1;
|
|
5460
5460
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5461
5461
|
var value = tmp0_groupByTo.u2(key);
|
|
5462
5462
|
var tmp_4;
|
|
@@ -5471,7 +5471,7 @@
|
|
|
5471
5471
|
var list = tmp_4;
|
|
5472
5472
|
var tmp$ret$28;
|
|
5473
5473
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5474
|
-
tmp$ret$28 = element_2.
|
|
5474
|
+
tmp$ret$28 = element_2.u41();
|
|
5475
5475
|
list.s(tmp$ret$28);
|
|
5476
5476
|
}
|
|
5477
5477
|
var invocationsByOption = tmp0_groupByTo;
|
|
@@ -5482,9 +5482,9 @@
|
|
|
5482
5482
|
while (tmp0_iterator_4.w()) {
|
|
5483
5483
|
var element_3 = tmp0_iterator_4.y();
|
|
5484
5484
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5485
|
-
var tmp_5 = element_3.
|
|
5485
|
+
var tmp_5 = element_3.r41_1;
|
|
5486
5486
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5487
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5487
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y3r();
|
|
5488
5488
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5489
5489
|
var value_0 = tmp0_groupByTo_0.u2(key_0);
|
|
5490
5490
|
var tmp_6;
|
|
@@ -5520,7 +5520,7 @@
|
|
|
5520
5520
|
while (tmp0_iterator_6.w()) {
|
|
5521
5521
|
var element_5 = tmp0_iterator_6.y();
|
|
5522
5522
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5523
|
-
var key_1 = element_5.
|
|
5523
|
+
var key_1 = element_5.r41_1;
|
|
5524
5524
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5525
5525
|
var value_1 = tmp0_groupByTo_1.u2(key_1);
|
|
5526
5526
|
var tmp_8;
|
|
@@ -5535,7 +5535,7 @@
|
|
|
5535
5535
|
var list_1 = tmp_8;
|
|
5536
5536
|
var tmp$ret$41;
|
|
5537
5537
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5538
|
-
tmp$ret$41 = element_5.
|
|
5538
|
+
tmp$ret$41 = element_5.u41();
|
|
5539
5539
|
list_1.s(tmp$ret$41);
|
|
5540
5540
|
}
|
|
5541
5541
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5544,7 +5544,7 @@
|
|
|
5544
5544
|
while (tmp0_iterator_7.w()) {
|
|
5545
5545
|
var entry = tmp0_iterator_7.y();
|
|
5546
5546
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5547
|
-
if (!entry.o2().
|
|
5547
|
+
if (!entry.o2().a40()) {
|
|
5548
5548
|
result.l2(entry.o2(), entry.p2());
|
|
5549
5549
|
}
|
|
5550
5550
|
}
|
|
@@ -5552,7 +5552,7 @@
|
|
|
5552
5552
|
}
|
|
5553
5553
|
var invocationsByOptionByGroup = tmp0_mapValuesTo;
|
|
5554
5554
|
// Inline function 'kotlin.collections.filter' call
|
|
5555
|
-
var tmp10_filter = command.
|
|
5555
|
+
var tmp10_filter = command.t3n_1;
|
|
5556
5556
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5557
5557
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
5558
5558
|
var tmp0_iterator_8 = tmp10_filter.v();
|
|
@@ -5560,9 +5560,9 @@
|
|
|
5560
5560
|
var element_6 = tmp0_iterator_8.y();
|
|
5561
5561
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5562
5562
|
var tmp_9;
|
|
5563
|
-
if (!element_6.
|
|
5563
|
+
if (!element_6.a40()) {
|
|
5564
5564
|
var tmp0_safe_receiver_0 = isInterface(element_6, GroupableOption) ? element_6 : null;
|
|
5565
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5565
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.y3r()) == null;
|
|
5566
5566
|
} else {
|
|
5567
5567
|
tmp_9 = false;
|
|
5568
5568
|
}
|
|
@@ -5583,13 +5583,13 @@
|
|
|
5583
5583
|
var o = element_7.o2();
|
|
5584
5584
|
// Inline function 'kotlin.collections.component2' call
|
|
5585
5585
|
var inv = element_7.p2();
|
|
5586
|
-
if (o.
|
|
5587
|
-
o.
|
|
5588
|
-
o.
|
|
5586
|
+
if (o.a40()) {
|
|
5587
|
+
o.x3u(context, inv);
|
|
5588
|
+
o.m3y(context);
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
5591
|
var argsParseResult = parseArguments($this, i._v, positionalArgs, arguments_0);
|
|
5592
|
-
var tmp2_safe_receiver = argsParseResult.
|
|
5592
|
+
var tmp2_safe_receiver = argsParseResult.x41_1;
|
|
5593
5593
|
if (tmp2_safe_receiver == null)
|
|
5594
5594
|
null;
|
|
5595
5595
|
else {
|
|
@@ -5597,7 +5597,7 @@
|
|
|
5597
5597
|
// Inline function 'kotlin.contracts.contract' call
|
|
5598
5598
|
parse$addError(errors, context, tmp2_safe_receiver);
|
|
5599
5599
|
}
|
|
5600
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5600
|
+
var excessResult = handleExcessArguments($this, argsParseResult.v41_1, hasMultipleSubAncestor, i._v, tokens, subcommands, positionalArgs, context);
|
|
5601
5601
|
var tmp3_safe_receiver = excessResult.td_1;
|
|
5602
5602
|
if (tmp3_safe_receiver == null)
|
|
5603
5603
|
null;
|
|
@@ -5616,7 +5616,7 @@
|
|
|
5616
5616
|
while (tmp0_iterator_10.w()) {
|
|
5617
5617
|
var element_8 = tmp0_iterator_10.y();
|
|
5618
5618
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5619
|
-
if (element_8.
|
|
5619
|
+
if (element_8.a42_1) {
|
|
5620
5620
|
tmp0_filterTo_0.s(element_8);
|
|
5621
5621
|
}
|
|
5622
5622
|
}
|
|
@@ -5640,19 +5640,19 @@
|
|
|
5640
5640
|
var item = tmp0_iterator_11.y();
|
|
5641
5641
|
var tmp$ret$69;
|
|
5642
5642
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5643
|
-
tmp$ret$69 = item.
|
|
5643
|
+
tmp$ret$69 = item.y41_1;
|
|
5644
5644
|
tmp14_mapTo.s(tmp$ret$69);
|
|
5645
5645
|
}
|
|
5646
5646
|
var usageErrors = tmp14_mapTo;
|
|
5647
5647
|
i._v = excessResult.sd_1;
|
|
5648
|
-
var tmp4_container = finalizeArguments($this, argsParseResult.
|
|
5648
|
+
var tmp4_container = finalizeArguments($this, argsParseResult.w41_1, context);
|
|
5649
5649
|
var retries = tmp4_container.gd();
|
|
5650
5650
|
var argErrs = tmp4_container.hd();
|
|
5651
5651
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5652
5652
|
addAll(usageErrors, argErrs);
|
|
5653
5653
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5654
5654
|
if (!argErrs.c1())
|
|
5655
|
-
context.
|
|
5655
|
+
context.v3o_1 = true;
|
|
5656
5656
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5657
5657
|
try {
|
|
5658
5658
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
@@ -5663,12 +5663,12 @@
|
|
|
5663
5663
|
var e = $p;
|
|
5664
5664
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5665
5665
|
usageErrors.s(e);
|
|
5666
|
-
context.
|
|
5666
|
+
context.v3o_1 = true;
|
|
5667
5667
|
} else {
|
|
5668
5668
|
throw $p;
|
|
5669
5669
|
}
|
|
5670
5670
|
}
|
|
5671
|
-
var tmp5_safe_receiver = Companion_getInstance_1().
|
|
5671
|
+
var tmp5_safe_receiver = Companion_getInstance_1().p3s(usageErrors);
|
|
5672
5672
|
if (tmp5_safe_receiver == null)
|
|
5673
5673
|
null;
|
|
5674
5674
|
else {
|
|
@@ -5691,20 +5691,20 @@
|
|
|
5691
5691
|
if (group == null)
|
|
5692
5692
|
null;
|
|
5693
5693
|
else {
|
|
5694
|
-
group.
|
|
5694
|
+
group.q3z(context, invs);
|
|
5695
5695
|
}
|
|
5696
5696
|
} catch ($p) {
|
|
5697
5697
|
if ($p instanceof UsageError) {
|
|
5698
5698
|
var e_0 = $p;
|
|
5699
5699
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5700
5700
|
usageErrors.s(e_0);
|
|
5701
|
-
context.
|
|
5701
|
+
context.v3o_1 = true;
|
|
5702
5702
|
} else {
|
|
5703
5703
|
throw $p;
|
|
5704
5704
|
}
|
|
5705
5705
|
}
|
|
5706
5706
|
}
|
|
5707
|
-
var tmp8_iterator = command.
|
|
5707
|
+
var tmp8_iterator = command.v3n_1.v();
|
|
5708
5708
|
while (tmp8_iterator.w()) {
|
|
5709
5709
|
var g = tmp8_iterator.y();
|
|
5710
5710
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -5713,20 +5713,20 @@
|
|
|
5713
5713
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5714
5714
|
try {
|
|
5715
5715
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5716
|
-
g.
|
|
5716
|
+
g.q3z(context, emptyMap());
|
|
5717
5717
|
} catch ($p) {
|
|
5718
5718
|
if ($p instanceof UsageError) {
|
|
5719
5719
|
var e_1 = $p;
|
|
5720
5720
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5721
5721
|
usageErrors.s(e_1);
|
|
5722
|
-
context.
|
|
5722
|
+
context.v3o_1 = true;
|
|
5723
5723
|
} else {
|
|
5724
5724
|
throw $p;
|
|
5725
5725
|
}
|
|
5726
5726
|
}
|
|
5727
5727
|
}
|
|
5728
5728
|
}
|
|
5729
|
-
var tmp9_safe_receiver = Companion_getInstance_1().
|
|
5729
|
+
var tmp9_safe_receiver = Companion_getInstance_1().p3s(usageErrors);
|
|
5730
5730
|
if (tmp9_safe_receiver == null)
|
|
5731
5731
|
null;
|
|
5732
5732
|
else {
|
|
@@ -5748,13 +5748,13 @@
|
|
|
5748
5748
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5749
5749
|
try {
|
|
5750
5750
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5751
|
-
arg.
|
|
5751
|
+
arg.l3y(context, v);
|
|
5752
5752
|
} catch ($p) {
|
|
5753
5753
|
if ($p instanceof UsageError) {
|
|
5754
5754
|
var e_2 = $p;
|
|
5755
5755
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5756
5756
|
usageErrors.s(e_2);
|
|
5757
|
-
context.
|
|
5757
|
+
context.v3o_1 = true;
|
|
5758
5758
|
} else {
|
|
5759
5759
|
throw $p;
|
|
5760
5760
|
}
|
|
@@ -5768,59 +5768,59 @@
|
|
|
5768
5768
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5769
5769
|
try {
|
|
5770
5770
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5771
|
-
element_10.
|
|
5771
|
+
element_10.m3y(context);
|
|
5772
5772
|
} catch ($p) {
|
|
5773
5773
|
if ($p instanceof UsageError) {
|
|
5774
5774
|
var e_3 = $p;
|
|
5775
5775
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5776
5776
|
usageErrors.s(e_3);
|
|
5777
|
-
context.
|
|
5777
|
+
context.v3o_1 = true;
|
|
5778
5778
|
} else {
|
|
5779
5779
|
throw $p;
|
|
5780
5780
|
}
|
|
5781
5781
|
}
|
|
5782
5782
|
}
|
|
5783
5783
|
// Inline function 'kotlin.collections.forEach' call
|
|
5784
|
-
var tmp0_iterator_14 = command.
|
|
5784
|
+
var tmp0_iterator_14 = command.v3n_1.v();
|
|
5785
5785
|
while (tmp0_iterator_14.w()) {
|
|
5786
5786
|
var element_11 = tmp0_iterator_14.y();
|
|
5787
5787
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5788
5788
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5789
5789
|
try {
|
|
5790
5790
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5791
|
-
element_11.
|
|
5791
|
+
element_11.m3y(context);
|
|
5792
5792
|
} catch ($p) {
|
|
5793
5793
|
if ($p instanceof UsageError) {
|
|
5794
5794
|
var e_4 = $p;
|
|
5795
5795
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5796
5796
|
usageErrors.s(e_4);
|
|
5797
|
-
context.
|
|
5797
|
+
context.v3o_1 = true;
|
|
5798
5798
|
} else {
|
|
5799
5799
|
throw $p;
|
|
5800
5800
|
}
|
|
5801
5801
|
}
|
|
5802
5802
|
}
|
|
5803
5803
|
// Inline function 'kotlin.collections.forEach' call
|
|
5804
|
-
var tmp0_iterator_15 = command.
|
|
5804
|
+
var tmp0_iterator_15 = command.u3n_1.v();
|
|
5805
5805
|
while (tmp0_iterator_15.w()) {
|
|
5806
5806
|
var element_12 = tmp0_iterator_15.y();
|
|
5807
5807
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5808
5808
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5809
5809
|
try {
|
|
5810
5810
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5811
|
-
element_12.
|
|
5811
|
+
element_12.m3y(context);
|
|
5812
5812
|
} catch ($p) {
|
|
5813
5813
|
if ($p instanceof UsageError) {
|
|
5814
5814
|
var e_5 = $p;
|
|
5815
5815
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5816
5816
|
usageErrors.s(e_5);
|
|
5817
|
-
context.
|
|
5817
|
+
context.v3o_1 = true;
|
|
5818
5818
|
} else {
|
|
5819
5819
|
throw $p;
|
|
5820
5820
|
}
|
|
5821
5821
|
}
|
|
5822
5822
|
}
|
|
5823
|
-
var tmp10_safe_receiver = Companion_getInstance_1().
|
|
5823
|
+
var tmp10_safe_receiver = Companion_getInstance_1().p3s(usageErrors);
|
|
5824
5824
|
if (tmp10_safe_receiver == null)
|
|
5825
5825
|
null;
|
|
5826
5826
|
else {
|
|
@@ -5837,22 +5837,22 @@
|
|
|
5837
5837
|
tmp_13 = false;
|
|
5838
5838
|
}
|
|
5839
5839
|
if (tmp_13) {
|
|
5840
|
-
tmp_12 = !command.
|
|
5840
|
+
tmp_12 = !command.i3n_1;
|
|
5841
5841
|
} else {
|
|
5842
5842
|
tmp_12 = false;
|
|
5843
5843
|
}
|
|
5844
5844
|
if (tmp_12) {
|
|
5845
5845
|
throw new PrintHelpMessage(context, true);
|
|
5846
5846
|
}
|
|
5847
|
-
command.
|
|
5848
|
-
if (command.
|
|
5849
|
-
var tmp11_iterator = command.
|
|
5847
|
+
command.z3n().u3o_1 = subcommand;
|
|
5848
|
+
if (command.z3n().h3o_1) {
|
|
5849
|
+
var tmp11_iterator = command.v3p().v();
|
|
5850
5850
|
while (tmp11_iterator.w()) {
|
|
5851
5851
|
var warning = tmp11_iterator.y();
|
|
5852
|
-
get_terminal(command).
|
|
5852
|
+
get_terminal(command).q3k(warning, VOID, VOID, VOID, VOID, true);
|
|
5853
5853
|
}
|
|
5854
5854
|
}
|
|
5855
|
-
command.
|
|
5855
|
+
command.m3q();
|
|
5856
5856
|
} else {
|
|
5857
5857
|
var tmp_14;
|
|
5858
5858
|
if (subcommand == null) {
|
|
@@ -5868,16 +5868,16 @@
|
|
|
5868
5868
|
} catch ($p) {
|
|
5869
5869
|
if ($p instanceof UsageError) {
|
|
5870
5870
|
var e_6 = $p;
|
|
5871
|
-
e_6.
|
|
5871
|
+
e_6.k3s(context);
|
|
5872
5872
|
throw e_6;
|
|
5873
5873
|
} else {
|
|
5874
5874
|
throw $p;
|
|
5875
5875
|
}
|
|
5876
5876
|
}
|
|
5877
5877
|
if (!(subcommand == null)) {
|
|
5878
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5878
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.z3n(), true);
|
|
5879
5879
|
var tmp_15;
|
|
5880
|
-
if (command.
|
|
5880
|
+
if (command.m3n_1) {
|
|
5881
5881
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5882
5882
|
tmp_15 = !nextTokens.c1();
|
|
5883
5883
|
} else {
|
|
@@ -5905,7 +5905,7 @@
|
|
|
5905
5905
|
}
|
|
5906
5906
|
if (tmp_0) {
|
|
5907
5907
|
var actual = last(positionalArgs).td_1;
|
|
5908
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5908
|
+
throw new NoSuchSubcommand(actual, context.p3o_1(actual, toList_1(subcommands.k2())));
|
|
5909
5909
|
} else {
|
|
5910
5910
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5911
5911
|
}
|
|
@@ -5933,7 +5933,7 @@
|
|
|
5933
5933
|
var tmp0_container = tmp;
|
|
5934
5934
|
var name = tmp0_container.gd();
|
|
5935
5935
|
var attachedValue = tmp0_container.hd();
|
|
5936
|
-
name = context.
|
|
5936
|
+
name = context.k3o_1(context, name);
|
|
5937
5937
|
var tmp1_elvis_lhs = optionsByName.u2(name);
|
|
5938
5938
|
var tmp_1;
|
|
5939
5939
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5950,11 +5950,11 @@
|
|
|
5950
5950
|
while (tmp0_iterator.w()) {
|
|
5951
5951
|
var element = tmp0_iterator.y();
|
|
5952
5952
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5953
|
-
if (!element.p2().
|
|
5953
|
+
if (!element.p2().x3o()) {
|
|
5954
5954
|
tmp0_filterNotTo.l2(element.o2(), element.p2());
|
|
5955
5955
|
}
|
|
5956
5956
|
}
|
|
5957
|
-
var possibilities = context.
|
|
5957
|
+
var possibilities = context.p3o_1(tmp_3, toList_1(tmp0_filterNotTo.k2()));
|
|
5958
5958
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5959
5959
|
}
|
|
5960
5960
|
} else {
|
|
@@ -5969,7 +5969,7 @@
|
|
|
5969
5969
|
if (!(attachedValue == null)) {
|
|
5970
5970
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5971
5971
|
values.s(attachedValue);
|
|
5972
|
-
} else if (!option.
|
|
5972
|
+
} else if (!option.b40()) {
|
|
5973
5973
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5974
5974
|
}
|
|
5975
5975
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5979,10 +5979,10 @@
|
|
|
5979
5979
|
var i = inductionVariable;
|
|
5980
5980
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5981
5981
|
var tok = tokens.g1(i);
|
|
5982
|
-
if (values.n() >= option.
|
|
5982
|
+
if (values.n() >= option.z3o().w9_1)
|
|
5983
5983
|
break $l$loop_0;
|
|
5984
5984
|
var tmp;
|
|
5985
|
-
if (values.n() >= option.
|
|
5985
|
+
if (values.n() >= option.z3o().v9_1) {
|
|
5986
5986
|
var tmp_0;
|
|
5987
5987
|
var tmp_1;
|
|
5988
5988
|
var tmp_2;
|
|
@@ -6023,7 +6023,7 @@
|
|
|
6023
6023
|
}
|
|
6024
6024
|
while (!(i === last));
|
|
6025
6025
|
var consumed = values.n() + (attachedValue == null ? 1 : 0) | 0;
|
|
6026
|
-
var progression = option.
|
|
6026
|
+
var progression = option.z3o();
|
|
6027
6027
|
var containsLower = progression.v9_1;
|
|
6028
6028
|
var containsUpper = progression.w9_1;
|
|
6029
6029
|
var containsArg = values.n();
|
|
@@ -6070,7 +6070,7 @@
|
|
|
6070
6070
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6071
6071
|
if (i === 0)
|
|
6072
6072
|
continue $l$loop;
|
|
6073
|
-
var name = context.
|
|
6073
|
+
var name = context.k3o_1(context, prefix + new Char(opt));
|
|
6074
6074
|
var tmp2_elvis_lhs = optionsByName.u2(name);
|
|
6075
6075
|
var tmp_0;
|
|
6076
6076
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -6100,10 +6100,10 @@
|
|
|
6100
6100
|
tmp_0 = tmp2_elvis_lhs;
|
|
6101
6101
|
}
|
|
6102
6102
|
var option = tmp_0;
|
|
6103
|
-
if (option.
|
|
6103
|
+
if (option.z3o().w9_1 > 0) {
|
|
6104
6104
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
6105
6105
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
6106
|
-
return result.
|
|
6106
|
+
return result.f42(VOID, VOID, plus_0(invocations, result.d42_1));
|
|
6107
6107
|
} else {
|
|
6108
6108
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6109
6109
|
var tmp2_plusAssign = new OptInvocation(option, name, emptyList());
|
|
@@ -6124,7 +6124,7 @@
|
|
|
6124
6124
|
$l$loop: while (tmp0_iterator.w()) {
|
|
6125
6125
|
var item = tmp0_iterator.y();
|
|
6126
6126
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6127
|
-
if (!(item.
|
|
6127
|
+
if (!(item.z3o() > 0))
|
|
6128
6128
|
break $l$loop;
|
|
6129
6129
|
list.s(item);
|
|
6130
6130
|
}
|
|
@@ -6134,7 +6134,7 @@
|
|
|
6134
6134
|
var element = tmp0_iterator_0.y();
|
|
6135
6135
|
var tmp_0 = sum;
|
|
6136
6136
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6137
|
-
sum = tmp_0 + element.
|
|
6137
|
+
sum = tmp_0 + element.z3o() | 0;
|
|
6138
6138
|
}
|
|
6139
6139
|
var endSize = sum;
|
|
6140
6140
|
var i = 0;
|
|
@@ -6143,15 +6143,15 @@
|
|
|
6143
6143
|
var argument = tmp0_iterator_1.y();
|
|
6144
6144
|
var remaining = positionalArgs.n() - i | 0;
|
|
6145
6145
|
var tmp_1;
|
|
6146
|
-
if (argument.
|
|
6146
|
+
if (argument.z3o() <= 0) {
|
|
6147
6147
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6148
|
-
var tmp2_maxOf = argument.
|
|
6148
|
+
var tmp2_maxOf = argument.k3y() ? 1 : 0;
|
|
6149
6149
|
var tmp3_maxOf = remaining - endSize | 0;
|
|
6150
6150
|
tmp_1 = Math.max(tmp2_maxOf, tmp3_maxOf);
|
|
6151
|
-
} else if ((argument.
|
|
6151
|
+
} else if ((argument.z3o() > 0 ? !argument.k3y() : false) ? remaining === 0 : false) {
|
|
6152
6152
|
tmp_1 = 0;
|
|
6153
6153
|
} else {
|
|
6154
|
-
tmp_1 = argument.
|
|
6154
|
+
tmp_1 = argument.z3o();
|
|
6155
6155
|
}
|
|
6156
6156
|
var consumed = tmp_1;
|
|
6157
6157
|
if (consumed > remaining) {
|
|
@@ -6195,7 +6195,7 @@
|
|
|
6195
6195
|
// Inline function 'kotlin.collections.component2' call
|
|
6196
6196
|
var v = tmp1_loop_parameter.p2();
|
|
6197
6197
|
try {
|
|
6198
|
-
it.
|
|
6198
|
+
it.l3y(context, v);
|
|
6199
6199
|
} catch ($p) {
|
|
6200
6200
|
if ($p instanceof IllegalStateException) {
|
|
6201
6201
|
var e = $p;
|
|
@@ -6206,11 +6206,11 @@
|
|
|
6206
6206
|
var e_0 = $p;
|
|
6207
6207
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6208
6208
|
usageErrors.s(e_0);
|
|
6209
|
-
context.
|
|
6209
|
+
context.v3o_1 = true;
|
|
6210
6210
|
} else {
|
|
6211
6211
|
if ($p instanceof Abort) {
|
|
6212
6212
|
var e_1 = $p;
|
|
6213
|
-
if (!context.
|
|
6213
|
+
if (!context.v3o_1)
|
|
6214
6214
|
throw e_1;
|
|
6215
6215
|
} else {
|
|
6216
6216
|
throw $p;
|
|
@@ -6222,19 +6222,19 @@
|
|
|
6222
6222
|
return to(retries, usageErrors);
|
|
6223
6223
|
}
|
|
6224
6224
|
function loadArgFile($this, filename, context) {
|
|
6225
|
-
return shlex(filename, ensureNotNull(context.
|
|
6225
|
+
return shlex(filename, ensureNotNull(context.m3o_1)(filename), context);
|
|
6226
6226
|
}
|
|
6227
6227
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6228
6228
|
var tmp = takeLast(positionalArgs, excess);
|
|
6229
6229
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6230
|
-
var message = excess === 1 ? context.
|
|
6230
|
+
var message = excess === 1 ? context.q3o_1.w3v(actual) : context.q3o_1.x3v(actual, excess);
|
|
6231
6231
|
return new UsageError(message);
|
|
6232
6232
|
}
|
|
6233
6233
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6234
|
-
this.
|
|
6234
|
+
this.g42_1 = function_0;
|
|
6235
6235
|
}
|
|
6236
6236
|
protoOf(sam$kotlin_Comparator$0_2).u9 = function (a, b) {
|
|
6237
|
-
return this.
|
|
6237
|
+
return this.g42_1(a, b);
|
|
6238
6238
|
};
|
|
6239
6239
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6240
6240
|
return this.u9(a, b);
|
|
@@ -6247,22 +6247,22 @@
|
|
|
6247
6247
|
return false;
|
|
6248
6248
|
if (prefix.length > 1)
|
|
6249
6249
|
return true;
|
|
6250
|
-
if (longNames.r($context.
|
|
6250
|
+
if (longNames.r($context.k3o_1($context, substringBefore(token, '='))))
|
|
6251
6251
|
return true;
|
|
6252
6252
|
// Inline function 'kotlin.collections.contains' call
|
|
6253
|
-
var tmp0_contains = $context.
|
|
6253
|
+
var tmp0_contains = $context.k3o_1($context, take(token, 2));
|
|
6254
6254
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6255
6255
|
return !(isInterface(optionsByName, Map) ? optionsByName : THROW_CCE()).s2(tmp0_contains);
|
|
6256
6256
|
}
|
|
6257
6257
|
function parse$addError(errors, $context, e) {
|
|
6258
6258
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6259
6259
|
errors.s(e);
|
|
6260
|
-
$context.
|
|
6260
|
+
$context.v3o_1 = true;
|
|
6261
6261
|
}
|
|
6262
6262
|
function parse$consumeParse(positionalArgs, invocations, i, errors, $context, tokenIndex, result) {
|
|
6263
6263
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6264
6264
|
// Inline function 'kotlin.collections.map' call
|
|
6265
|
-
var tmp0_map = result.
|
|
6265
|
+
var tmp0_map = result.c42_1;
|
|
6266
6266
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6267
6267
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
6268
6268
|
var tmp0_iterator = tmp0_map.v();
|
|
@@ -6275,9 +6275,9 @@
|
|
|
6275
6275
|
}
|
|
6276
6276
|
addAll(positionalArgs, tmp0_mapTo);
|
|
6277
6277
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6278
|
-
var tmp2_plusAssign = result.
|
|
6278
|
+
var tmp2_plusAssign = result.d42_1;
|
|
6279
6279
|
addAll(invocations, tmp2_plusAssign);
|
|
6280
|
-
var tmp0_safe_receiver = result.
|
|
6280
|
+
var tmp0_safe_receiver = result.e42_1;
|
|
6281
6281
|
if (tmp0_safe_receiver == null)
|
|
6282
6282
|
null;
|
|
6283
6283
|
else {
|
|
@@ -6285,15 +6285,15 @@
|
|
|
6285
6285
|
// Inline function 'kotlin.contracts.contract' call
|
|
6286
6286
|
parse$addError(errors, $context, tmp0_safe_receiver);
|
|
6287
6287
|
}
|
|
6288
|
-
i._v = i._v + result.
|
|
6288
|
+
i._v = i._v + result.b42_1 | 0;
|
|
6289
6289
|
}
|
|
6290
6290
|
function Parser$parse$lambda(a, b) {
|
|
6291
6291
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6292
6292
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6293
|
-
var tmp = a.
|
|
6293
|
+
var tmp = a.z41_1;
|
|
6294
6294
|
var tmp$ret$1;
|
|
6295
6295
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6296
|
-
tmp$ret$1 = b.
|
|
6296
|
+
tmp$ret$1 = b.z41_1;
|
|
6297
6297
|
return compareValues(tmp, tmp$ret$1);
|
|
6298
6298
|
}
|
|
6299
6299
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6306,7 +6306,7 @@
|
|
|
6306
6306
|
function Parser() {
|
|
6307
6307
|
Parser_instance = this;
|
|
6308
6308
|
}
|
|
6309
|
-
protoOf(Parser).
|
|
6309
|
+
protoOf(Parser).i3q = function (argv, context) {
|
|
6310
6310
|
parse(this, argv, context, true);
|
|
6311
6311
|
};
|
|
6312
6312
|
var Parser_instance;
|
|
@@ -6316,20 +6316,20 @@
|
|
|
6316
6316
|
return Parser_instance;
|
|
6317
6317
|
}
|
|
6318
6318
|
function OptInvocation(opt, name, values) {
|
|
6319
|
-
this.
|
|
6320
|
-
this.
|
|
6321
|
-
this.
|
|
6319
|
+
this.r41_1 = opt;
|
|
6320
|
+
this.s41_1 = name;
|
|
6321
|
+
this.t41_1 = values;
|
|
6322
6322
|
}
|
|
6323
|
-
protoOf(OptInvocation).
|
|
6324
|
-
return new Invocation(this.
|
|
6323
|
+
protoOf(OptInvocation).u41 = function () {
|
|
6324
|
+
return new Invocation(this.s41_1, this.t41_1);
|
|
6325
6325
|
};
|
|
6326
6326
|
protoOf(OptInvocation).toString = function () {
|
|
6327
|
-
return 'OptInvocation(opt=' + this.
|
|
6327
|
+
return 'OptInvocation(opt=' + this.r41_1 + ', name=' + this.s41_1 + ', values=' + this.t41_1 + ')';
|
|
6328
6328
|
};
|
|
6329
6329
|
protoOf(OptInvocation).hashCode = function () {
|
|
6330
|
-
var result = hashCode(this.
|
|
6331
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6332
|
-
result = imul(result, 31) + hashCode(this.
|
|
6330
|
+
var result = hashCode(this.r41_1);
|
|
6331
|
+
result = imul(result, 31) + getStringHashCode(this.s41_1) | 0;
|
|
6332
|
+
result = imul(result, 31) + hashCode(this.t41_1) | 0;
|
|
6333
6333
|
return result;
|
|
6334
6334
|
};
|
|
6335
6335
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6338,27 +6338,27 @@
|
|
|
6338
6338
|
if (!(other instanceof OptInvocation))
|
|
6339
6339
|
return false;
|
|
6340
6340
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6341
|
-
if (!equals(this.
|
|
6341
|
+
if (!equals(this.r41_1, tmp0_other_with_cast.r41_1))
|
|
6342
6342
|
return false;
|
|
6343
|
-
if (!(this.
|
|
6343
|
+
if (!(this.s41_1 === tmp0_other_with_cast.s41_1))
|
|
6344
6344
|
return false;
|
|
6345
|
-
if (!equals(this.
|
|
6345
|
+
if (!equals(this.t41_1, tmp0_other_with_cast.t41_1))
|
|
6346
6346
|
return false;
|
|
6347
6347
|
return true;
|
|
6348
6348
|
};
|
|
6349
6349
|
function Err(e, i, includeInMulti) {
|
|
6350
6350
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6351
|
-
this.
|
|
6352
|
-
this.
|
|
6353
|
-
this.
|
|
6351
|
+
this.y41_1 = e;
|
|
6352
|
+
this.z41_1 = i;
|
|
6353
|
+
this.a42_1 = includeInMulti;
|
|
6354
6354
|
}
|
|
6355
6355
|
protoOf(Err).toString = function () {
|
|
6356
|
-
return 'Err(e=' + this.
|
|
6356
|
+
return 'Err(e=' + this.y41_1 + ', i=' + this.z41_1 + ', includeInMulti=' + this.a42_1 + ')';
|
|
6357
6357
|
};
|
|
6358
6358
|
protoOf(Err).hashCode = function () {
|
|
6359
|
-
var result = hashCode(this.
|
|
6360
|
-
result = imul(result, 31) + this.
|
|
6361
|
-
result = imul(result, 31) + (this.
|
|
6359
|
+
var result = hashCode(this.y41_1);
|
|
6360
|
+
result = imul(result, 31) + this.z41_1 | 0;
|
|
6361
|
+
result = imul(result, 31) + (this.a42_1 | 0) | 0;
|
|
6362
6362
|
return result;
|
|
6363
6363
|
};
|
|
6364
6364
|
protoOf(Err).equals = function (other) {
|
|
@@ -6367,12 +6367,12 @@
|
|
|
6367
6367
|
if (!(other instanceof Err))
|
|
6368
6368
|
return false;
|
|
6369
6369
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6370
|
-
if (!equals(this.
|
|
6371
|
-
return false;
|
|
6372
|
-
if (!(this.y41_1 === tmp0_other_with_cast.y41_1))
|
|
6370
|
+
if (!equals(this.y41_1, tmp0_other_with_cast.y41_1))
|
|
6373
6371
|
return false;
|
|
6374
6372
|
if (!(this.z41_1 === tmp0_other_with_cast.z41_1))
|
|
6375
6373
|
return false;
|
|
6374
|
+
if (!(this.a42_1 === tmp0_other_with_cast.a42_1))
|
|
6375
|
+
return false;
|
|
6376
6376
|
return true;
|
|
6377
6377
|
};
|
|
6378
6378
|
function OptParseResult_init_$Init$(consumed, invocations, $this) {
|
|
@@ -6393,29 +6393,29 @@
|
|
|
6393
6393
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6394
6394
|
known = known === VOID ? emptyList() : known;
|
|
6395
6395
|
err = err === VOID ? null : err;
|
|
6396
|
-
this.
|
|
6397
|
-
this.
|
|
6398
|
-
this.
|
|
6399
|
-
this.
|
|
6396
|
+
this.b42_1 = consumed;
|
|
6397
|
+
this.c42_1 = unknown;
|
|
6398
|
+
this.d42_1 = known;
|
|
6399
|
+
this.e42_1 = err;
|
|
6400
6400
|
}
|
|
6401
|
-
protoOf(OptParseResult).
|
|
6401
|
+
protoOf(OptParseResult).h42 = function (consumed, unknown, known, err) {
|
|
6402
6402
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6403
6403
|
};
|
|
6404
|
-
protoOf(OptParseResult).
|
|
6405
|
-
consumed = consumed === VOID ? this.
|
|
6406
|
-
unknown = unknown === VOID ? this.
|
|
6407
|
-
known = known === VOID ? this.
|
|
6408
|
-
err = err === VOID ? this.
|
|
6409
|
-
return $super === VOID ? this.
|
|
6404
|
+
protoOf(OptParseResult).f42 = function (consumed, unknown, known, err, $super) {
|
|
6405
|
+
consumed = consumed === VOID ? this.b42_1 : consumed;
|
|
6406
|
+
unknown = unknown === VOID ? this.c42_1 : unknown;
|
|
6407
|
+
known = known === VOID ? this.d42_1 : known;
|
|
6408
|
+
err = err === VOID ? this.e42_1 : err;
|
|
6409
|
+
return $super === VOID ? this.h42(consumed, unknown, known, err) : $super.h42.call(this, consumed, unknown, known, err);
|
|
6410
6410
|
};
|
|
6411
6411
|
protoOf(OptParseResult).toString = function () {
|
|
6412
|
-
return 'OptParseResult(consumed=' + this.
|
|
6412
|
+
return 'OptParseResult(consumed=' + this.b42_1 + ', unknown=' + this.c42_1 + ', known=' + this.d42_1 + ', err=' + this.e42_1 + ')';
|
|
6413
6413
|
};
|
|
6414
6414
|
protoOf(OptParseResult).hashCode = function () {
|
|
6415
|
-
var result = this.
|
|
6416
|
-
result = imul(result, 31) + hashCode(this.b42_1) | 0;
|
|
6415
|
+
var result = this.b42_1;
|
|
6417
6416
|
result = imul(result, 31) + hashCode(this.c42_1) | 0;
|
|
6418
|
-
result = imul(result, 31) + (this.d42_1
|
|
6417
|
+
result = imul(result, 31) + hashCode(this.d42_1) | 0;
|
|
6418
|
+
result = imul(result, 31) + (this.e42_1 == null ? 0 : this.e42_1.hashCode()) | 0;
|
|
6419
6419
|
return result;
|
|
6420
6420
|
};
|
|
6421
6421
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6424,28 +6424,28 @@
|
|
|
6424
6424
|
if (!(other instanceof OptParseResult))
|
|
6425
6425
|
return false;
|
|
6426
6426
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6427
|
-
if (!(this.
|
|
6428
|
-
return false;
|
|
6429
|
-
if (!equals(this.b42_1, tmp0_other_with_cast.b42_1))
|
|
6427
|
+
if (!(this.b42_1 === tmp0_other_with_cast.b42_1))
|
|
6430
6428
|
return false;
|
|
6431
6429
|
if (!equals(this.c42_1, tmp0_other_with_cast.c42_1))
|
|
6432
6430
|
return false;
|
|
6433
6431
|
if (!equals(this.d42_1, tmp0_other_with_cast.d42_1))
|
|
6434
6432
|
return false;
|
|
6433
|
+
if (!equals(this.e42_1, tmp0_other_with_cast.e42_1))
|
|
6434
|
+
return false;
|
|
6435
6435
|
return true;
|
|
6436
6436
|
};
|
|
6437
6437
|
function ArgsParseResult(excessCount, args, err) {
|
|
6438
|
-
this.
|
|
6439
|
-
this.
|
|
6440
|
-
this.
|
|
6438
|
+
this.v41_1 = excessCount;
|
|
6439
|
+
this.w41_1 = args;
|
|
6440
|
+
this.x41_1 = err;
|
|
6441
6441
|
}
|
|
6442
6442
|
protoOf(ArgsParseResult).toString = function () {
|
|
6443
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6443
|
+
return 'ArgsParseResult(excessCount=' + this.v41_1 + ', args=' + this.w41_1 + ', err=' + this.x41_1 + ')';
|
|
6444
6444
|
};
|
|
6445
6445
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6446
|
-
var result = this.
|
|
6447
|
-
result = imul(result, 31) + hashCode(this.
|
|
6448
|
-
result = imul(result, 31) + (this.
|
|
6446
|
+
var result = this.v41_1;
|
|
6447
|
+
result = imul(result, 31) + hashCode(this.w41_1) | 0;
|
|
6448
|
+
result = imul(result, 31) + (this.x41_1 == null ? 0 : this.x41_1.hashCode()) | 0;
|
|
6449
6449
|
return result;
|
|
6450
6450
|
};
|
|
6451
6451
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6454,16 +6454,16 @@
|
|
|
6454
6454
|
if (!(other instanceof ArgsParseResult))
|
|
6455
6455
|
return false;
|
|
6456
6456
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6457
|
-
if (!(this.
|
|
6458
|
-
return false;
|
|
6459
|
-
if (!equals(this.v41_1, tmp0_other_with_cast.v41_1))
|
|
6457
|
+
if (!(this.v41_1 === tmp0_other_with_cast.v41_1))
|
|
6460
6458
|
return false;
|
|
6461
6459
|
if (!equals(this.w41_1, tmp0_other_with_cast.w41_1))
|
|
6462
6460
|
return false;
|
|
6461
|
+
if (!equals(this.x41_1, tmp0_other_with_cast.x41_1))
|
|
6462
|
+
return false;
|
|
6463
6463
|
return true;
|
|
6464
6464
|
};
|
|
6465
6465
|
function shlex(filename, text, context) {
|
|
6466
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6466
|
+
var tmp1_elvis_lhs = context == null ? null : context.q3o_1;
|
|
6467
6467
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6468
6468
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6469
6469
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6485,7 +6485,7 @@
|
|
|
6485
6485
|
} else {
|
|
6486
6486
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6487
6487
|
if (i._v >= get_lastIndex(text)) {
|
|
6488
|
-
shlex$err(filename, text, i, localization.
|
|
6488
|
+
shlex$err(filename, text, i, localization.v3v());
|
|
6489
6489
|
}
|
|
6490
6490
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6491
6491
|
do {
|
|
@@ -6558,7 +6558,7 @@
|
|
|
6558
6558
|
}
|
|
6559
6559
|
var tmp_9 = inQuote;
|
|
6560
6560
|
if (!((tmp_9 == null ? null : new Char(tmp_9)) == null)) {
|
|
6561
|
-
shlex$err(filename, text, i, localization.
|
|
6561
|
+
shlex$err(filename, text, i, localization.u3v());
|
|
6562
6562
|
}
|
|
6563
6563
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6564
6564
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6646,23 +6646,23 @@
|
|
|
6646
6646
|
var LETTER_OR_DIGIT_RE;
|
|
6647
6647
|
function readFileIfExists(filename) {
|
|
6648
6648
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6649
|
-
return get_impls().
|
|
6649
|
+
return get_impls().i42(filename);
|
|
6650
6650
|
}
|
|
6651
6651
|
function NodeMppImpls(fs) {
|
|
6652
|
-
this.
|
|
6652
|
+
this.j42_1 = fs;
|
|
6653
6653
|
}
|
|
6654
|
-
protoOf(NodeMppImpls).
|
|
6654
|
+
protoOf(NodeMppImpls).a3n = function (key) {
|
|
6655
6655
|
var tmp = process.env[key];
|
|
6656
6656
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6657
6657
|
};
|
|
6658
|
-
protoOf(NodeMppImpls).
|
|
6658
|
+
protoOf(NodeMppImpls).k42 = function (status) {
|
|
6659
6659
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6660
6660
|
return process.exit(status);
|
|
6661
6661
|
};
|
|
6662
|
-
protoOf(NodeMppImpls).
|
|
6662
|
+
protoOf(NodeMppImpls).i42 = function (filename) {
|
|
6663
6663
|
var tmp;
|
|
6664
6664
|
try {
|
|
6665
|
-
var tmp_0 = this.
|
|
6665
|
+
var tmp_0 = this.j42_1.readFileSync(filename, 'utf-8');
|
|
6666
6666
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6667
6667
|
} catch ($p) {
|
|
6668
6668
|
var tmp_1;
|
|
@@ -6679,12 +6679,12 @@
|
|
|
6679
6679
|
function BrowserMppImpls() {
|
|
6680
6680
|
BrowserMppImpls_instance = this;
|
|
6681
6681
|
}
|
|
6682
|
-
protoOf(BrowserMppImpls).
|
|
6682
|
+
protoOf(BrowserMppImpls).a3n = function (key) {
|
|
6683
6683
|
return null;
|
|
6684
6684
|
};
|
|
6685
|
-
protoOf(BrowserMppImpls).
|
|
6685
|
+
protoOf(BrowserMppImpls).k42 = function (status) {
|
|
6686
6686
|
};
|
|
6687
|
-
protoOf(BrowserMppImpls).
|
|
6687
|
+
protoOf(BrowserMppImpls).i42 = function (filename) {
|
|
6688
6688
|
return null;
|
|
6689
6689
|
};
|
|
6690
6690
|
var BrowserMppImpls_instance;
|
|
@@ -6695,11 +6695,11 @@
|
|
|
6695
6695
|
}
|
|
6696
6696
|
function readEnvvar(key) {
|
|
6697
6697
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6698
|
-
return get_impls().
|
|
6698
|
+
return get_impls().a3n(key);
|
|
6699
6699
|
}
|
|
6700
6700
|
function exitProcessMpp(status) {
|
|
6701
6701
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6702
|
-
return get_impls().
|
|
6702
|
+
return get_impls().k42(status);
|
|
6703
6703
|
}
|
|
6704
6704
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6705
6705
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6732,44 +6732,44 @@
|
|
|
6732
6732
|
}
|
|
6733
6733
|
}
|
|
6734
6734
|
//region block: post-declaration
|
|
6735
|
-
protoOf(defaultLocalization$1).
|
|
6736
|
-
protoOf(defaultLocalization$1).
|
|
6737
|
-
protoOf(defaultLocalization$1).
|
|
6738
|
-
protoOf(defaultLocalization$1).
|
|
6739
|
-
protoOf(defaultLocalization$1).
|
|
6740
|
-
protoOf(defaultLocalization$1).
|
|
6741
|
-
protoOf(defaultLocalization$1).
|
|
6742
|
-
protoOf(defaultLocalization$1).
|
|
6743
|
-
protoOf(defaultLocalization$1).
|
|
6744
|
-
protoOf(defaultLocalization$1).
|
|
6745
|
-
protoOf(defaultLocalization$1).
|
|
6746
|
-
protoOf(defaultLocalization$1).
|
|
6747
|
-
protoOf(defaultLocalization$1).
|
|
6748
|
-
protoOf(defaultLocalization$1).
|
|
6749
|
-
protoOf(defaultLocalization$1).
|
|
6750
|
-
protoOf(defaultLocalization$1).
|
|
6751
|
-
protoOf(defaultLocalization$1).
|
|
6752
|
-
protoOf(defaultLocalization$1).
|
|
6753
|
-
protoOf(defaultLocalization$1).
|
|
6754
|
-
protoOf(defaultLocalization$1).
|
|
6755
|
-
protoOf(defaultLocalization$1).
|
|
6756
|
-
protoOf(defaultLocalization$1).
|
|
6757
|
-
protoOf(defaultLocalization$1).
|
|
6758
|
-
protoOf(defaultLocalization$1).
|
|
6759
|
-
protoOf(defaultLocalization$1).
|
|
6760
|
-
protoOf(defaultLocalization$1).
|
|
6761
|
-
protoOf(defaultLocalization$1).
|
|
6762
|
-
protoOf(defaultLocalization$1).
|
|
6763
|
-
protoOf(defaultLocalization$1).
|
|
6764
|
-
protoOf(defaultLocalization$1).
|
|
6765
|
-
protoOf(defaultLocalization$1).
|
|
6766
|
-
protoOf(defaultLocalization$1).
|
|
6767
|
-
protoOf(defaultLocalization$1).
|
|
6768
|
-
protoOf(ProcessedArgumentImpl).
|
|
6769
|
-
protoOf(OptionWithValuesImpl).
|
|
6770
|
-
protoOf(OptionWithValuesImpl).
|
|
6771
|
-
protoOf(OptionWithValuesImpl).
|
|
6772
|
-
protoOf(OptionWithValuesImpl).
|
|
6735
|
+
protoOf(defaultLocalization$1).t3v = usageError;
|
|
6736
|
+
protoOf(defaultLocalization$1).f3t = badParameter;
|
|
6737
|
+
protoOf(defaultLocalization$1).d3t = badParameterWithMessage;
|
|
6738
|
+
protoOf(defaultLocalization$1).e3t = badParameterWithParam;
|
|
6739
|
+
protoOf(defaultLocalization$1).c3t = badParameterWithMessageAndParam;
|
|
6740
|
+
protoOf(defaultLocalization$1).w3u = missingOption;
|
|
6741
|
+
protoOf(defaultLocalization$1).d3u = missingArgument;
|
|
6742
|
+
protoOf(defaultLocalization$1).m3t = noSuchSubcommand;
|
|
6743
|
+
protoOf(defaultLocalization$1).s3t = noSuchOption;
|
|
6744
|
+
protoOf(defaultLocalization$1).y3t = incorrectOptionValueCount;
|
|
6745
|
+
protoOf(defaultLocalization$1).j3u = incorrectArgumentValueCount;
|
|
6746
|
+
protoOf(defaultLocalization$1).f3s = fileNotFound;
|
|
6747
|
+
protoOf(defaultLocalization$1).r3u = invalidFileFormat;
|
|
6748
|
+
protoOf(defaultLocalization$1).q3u = invalidFileFormat_0;
|
|
6749
|
+
protoOf(defaultLocalization$1).u3v = unclosedQuote;
|
|
6750
|
+
protoOf(defaultLocalization$1).v3v = fileEndsWithSlash;
|
|
6751
|
+
protoOf(defaultLocalization$1).w3v = extraArgumentOne;
|
|
6752
|
+
protoOf(defaultLocalization$1).x3v = extraArgumentMany;
|
|
6753
|
+
protoOf(defaultLocalization$1).y3v = invalidFlagValueInFile;
|
|
6754
|
+
protoOf(defaultLocalization$1).z3v = boolConversionError;
|
|
6755
|
+
protoOf(defaultLocalization$1).a3w = invalidChoice;
|
|
6756
|
+
protoOf(defaultLocalization$1).b3w = stringMetavar;
|
|
6757
|
+
protoOf(defaultLocalization$1).c3w = intMetavar;
|
|
6758
|
+
protoOf(defaultLocalization$1).d3w = usageTitle;
|
|
6759
|
+
protoOf(defaultLocalization$1).e3w = optionsTitle;
|
|
6760
|
+
protoOf(defaultLocalization$1).f3w = argumentsTitle;
|
|
6761
|
+
protoOf(defaultLocalization$1).g3w = commandsTitle;
|
|
6762
|
+
protoOf(defaultLocalization$1).h3w = optionsMetavar;
|
|
6763
|
+
protoOf(defaultLocalization$1).i3w = commandMetavar;
|
|
6764
|
+
protoOf(defaultLocalization$1).j3w = argumentsMetavar;
|
|
6765
|
+
protoOf(defaultLocalization$1).k3w = helpTagDefault;
|
|
6766
|
+
protoOf(defaultLocalization$1).l3w = helpTagRequired;
|
|
6767
|
+
protoOf(defaultLocalization$1).m3p = helpOptionMessage;
|
|
6768
|
+
protoOf(ProcessedArgumentImpl).r3y = copy$default;
|
|
6769
|
+
protoOf(OptionWithValuesImpl).t3z = copy$default_0;
|
|
6770
|
+
protoOf(OptionWithValuesImpl).v3z = copy$default_1;
|
|
6771
|
+
protoOf(OptionWithValuesImpl).c40 = getValue_0;
|
|
6772
|
+
protoOf(OptionWithValuesImpl).t3p = parameterHelp;
|
|
6773
6773
|
//endregion
|
|
6774
6774
|
//region block: exports
|
|
6775
6775
|
_.$_$ = _.$_$ || {};
|