git-semver-tagger 1.9.20 → 1.9.22
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/kotlin/clikt-clikt-mordant.js +67 -67
- package/kotlin/clikt-clikt.js +900 -896
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +406 -406
- package/kotlin/command-line-tools-tagger-cli.js +917 -97
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +24 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1186 -1186
- package/kotlin/mordant-mordant.js +1097 -1097
- package/kotlin/tools-tagger-json.js +5 -5
- package/package.json +1 -1
package/kotlin/clikt-clikt.js
CHANGED
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
var toList_1 = kotlin_kotlin.$_$.h7;
|
|
73
73
|
var toSet = kotlin_kotlin.$_$.k7;
|
|
74
74
|
var initMetadataForCompanion = kotlin_kotlin.$_$.g9;
|
|
75
|
+
var firstOrNull = kotlin_kotlin.$_$.m5;
|
|
75
76
|
var plus_2 = kotlin_kotlin.$_$.r6;
|
|
76
77
|
var asReversed_0 = kotlin_kotlin.$_$.m4;
|
|
77
78
|
var addSuppressed = kotlin_kotlin.$_$.me;
|
|
@@ -201,19 +202,19 @@
|
|
|
201
202
|
} else {
|
|
202
203
|
var tmp_0 = this.g19();
|
|
203
204
|
var tmp_1 = this.h19();
|
|
204
|
-
var tmp_2 = this.
|
|
205
|
+
var tmp_2 = this.t1m(context);
|
|
205
206
|
var tmp_3 = this.q1a(context);
|
|
206
207
|
var tmp_4 = this.h1a();
|
|
207
208
|
var tmp_5 = this.y1a();
|
|
208
209
|
var tmp_6 = this.p1b();
|
|
209
|
-
var tmp_7 = this.
|
|
210
|
+
var tmp_7 = this.a1e();
|
|
210
211
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
211
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
212
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x1d();
|
|
212
213
|
var tmp_8;
|
|
213
214
|
if (tmp1_elvis_lhs == null) {
|
|
214
215
|
var tmp2_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
215
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
216
|
-
tmp_8 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.
|
|
216
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.b1e();
|
|
217
|
+
tmp_8 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.x1d();
|
|
217
218
|
} else {
|
|
218
219
|
tmp_8 = tmp1_elvis_lhs;
|
|
219
220
|
}
|
|
@@ -387,18 +388,18 @@
|
|
|
387
388
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
388
389
|
name = name === VOID ? this.k() : name;
|
|
389
390
|
nvalues = nvalues === VOID ? this.h1a() : nvalues;
|
|
390
|
-
required = required === VOID ? this.
|
|
391
|
-
helpGetter = helpGetter === VOID ? this.
|
|
391
|
+
required = required === VOID ? this.j1l() : required;
|
|
392
|
+
helpGetter = helpGetter === VOID ? this.k1l() : helpGetter;
|
|
392
393
|
helpTags = helpTags === VOID ? this.y1a() : helpTags;
|
|
393
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
394
|
-
return $super === VOID ? this.
|
|
394
|
+
completionCandidates = completionCandidates === VOID ? this.n1l() : completionCandidates;
|
|
395
|
+
return $super === VOID ? this.o1l(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.o1l.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
395
396
|
}
|
|
396
397
|
initMetadataForInterface(ProcessedArgument, 'ProcessedArgument', VOID, VOID, [Argument_0]);
|
|
397
398
|
initMetadataForClass(ArgumentTransformContext, 'ArgumentTransformContext', VOID, VOID, [Argument_0]);
|
|
398
399
|
initMetadataForClass(ProcessedArgumentImpl, 'ProcessedArgumentImpl', VOID, VOID, [ProcessedArgument]);
|
|
399
400
|
function parameterHelp_0(context) {
|
|
400
|
-
var n = this.
|
|
401
|
-
var h = this.
|
|
401
|
+
var n = this.x1d();
|
|
402
|
+
var h = this.m1m();
|
|
402
403
|
return n == null || h == null ? null : new Group_0(n, h);
|
|
403
404
|
}
|
|
404
405
|
initMetadataForInterface(ParameterGroup, 'ParameterGroup');
|
|
@@ -411,38 +412,38 @@
|
|
|
411
412
|
initMetadataForInterface(OptionDelegate, 'OptionDelegate', VOID, VOID, [GroupableOption]);
|
|
412
413
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
413
414
|
names = names === VOID ? this.g19() : names;
|
|
414
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
415
|
+
metavarGetter = metavarGetter === VOID ? this.b1n() : metavarGetter;
|
|
415
416
|
nvalues = nvalues === VOID ? this.h1a() : nvalues;
|
|
416
|
-
helpGetter = helpGetter === VOID ? this.
|
|
417
|
+
helpGetter = helpGetter === VOID ? this.k1l() : helpGetter;
|
|
417
418
|
hidden = hidden === VOID ? this.f1a() : hidden;
|
|
418
419
|
helpTags = helpTags === VOID ? this.y1a() : helpTags;
|
|
419
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
420
|
-
envvar = envvar === VOID ? this.
|
|
421
|
-
valueSplit = valueSplit === VOID ? this.
|
|
422
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
420
|
+
valueSourceKey = valueSourceKey === VOID ? this.y1d() : valueSourceKey;
|
|
421
|
+
envvar = envvar === VOID ? this.z1m() : envvar;
|
|
422
|
+
valueSplit = valueSplit === VOID ? this.c1n() : valueSplit;
|
|
423
|
+
completionCandidates = completionCandidates === VOID ? this.n1l() : completionCandidates;
|
|
423
424
|
secondaryNames = secondaryNames === VOID ? this.h19() : secondaryNames;
|
|
424
425
|
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.p1b() : acceptsNumberValueWithoutName;
|
|
425
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
426
|
-
eager = eager === VOID ? this.
|
|
427
|
-
return $super === VOID ? this.
|
|
426
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.a1e() : acceptsUnattachedValue;
|
|
427
|
+
eager = eager === VOID ? this.z1d() : eager;
|
|
428
|
+
return $super === VOID ? this.d1n(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.d1n.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
428
429
|
}
|
|
429
430
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
430
|
-
validator = validator === VOID ? this.
|
|
431
|
+
validator = validator === VOID ? this.a1n() : validator;
|
|
431
432
|
names = names === VOID ? this.g19() : names;
|
|
432
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
433
|
+
metavarGetter = metavarGetter === VOID ? this.b1n() : metavarGetter;
|
|
433
434
|
nvalues = nvalues === VOID ? this.h1a() : nvalues;
|
|
434
|
-
helpGetter = helpGetter === VOID ? this.
|
|
435
|
+
helpGetter = helpGetter === VOID ? this.k1l() : helpGetter;
|
|
435
436
|
hidden = hidden === VOID ? this.f1a() : hidden;
|
|
436
437
|
helpTags = helpTags === VOID ? this.y1a() : helpTags;
|
|
437
|
-
envvar = envvar === VOID ? this.
|
|
438
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
439
|
-
valueSplit = valueSplit === VOID ? this.
|
|
440
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
438
|
+
envvar = envvar === VOID ? this.z1m() : envvar;
|
|
439
|
+
valueSourceKey = valueSourceKey === VOID ? this.y1d() : valueSourceKey;
|
|
440
|
+
valueSplit = valueSplit === VOID ? this.c1n() : valueSplit;
|
|
441
|
+
completionCandidates = completionCandidates === VOID ? this.n1l() : completionCandidates;
|
|
441
442
|
secondaryNames = secondaryNames === VOID ? this.h19() : secondaryNames;
|
|
442
443
|
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.p1b() : acceptsNumberValueWithoutName;
|
|
443
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
444
|
-
eager = eager === VOID ? this.
|
|
445
|
-
return $super === VOID ? this.
|
|
444
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.a1e() : acceptsUnattachedValue;
|
|
445
|
+
eager = eager === VOID ? this.z1d() : eager;
|
|
446
|
+
return $super === VOID ? this.e1n(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.e1n.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
446
447
|
}
|
|
447
448
|
initMetadataForInterface(OptionWithValues, 'OptionWithValues', VOID, VOID, [OptionDelegate]);
|
|
448
449
|
initMetadataForClass(OptionTransformContext, 'OptionTransformContext', VOID, VOID, [Option_0]);
|
|
@@ -1945,6 +1946,9 @@
|
|
|
1945
1946
|
tmp.c1a_1 = ArrayList_init_$Create$();
|
|
1946
1947
|
this.d1a_1 = emptyList();
|
|
1947
1948
|
}
|
|
1949
|
+
protoOf(Context).s1c = function () {
|
|
1950
|
+
return firstOrNull(this.a1a_1);
|
|
1951
|
+
};
|
|
1948
1952
|
protoOf(Context).n1a = function () {
|
|
1949
1953
|
var tmp = ancestors(this);
|
|
1950
1954
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
@@ -1976,7 +1980,7 @@
|
|
|
1976
1980
|
if (!(err == null))
|
|
1977
1981
|
throw err;
|
|
1978
1982
|
};
|
|
1979
|
-
protoOf(Context).
|
|
1983
|
+
protoOf(Context).t1c = function () {
|
|
1980
1984
|
return !(this.r19_1 == null);
|
|
1981
1985
|
};
|
|
1982
1986
|
protoOf(Context).toString = function () {
|
|
@@ -2030,16 +2034,16 @@
|
|
|
2030
2034
|
return destination_1;
|
|
2031
2035
|
}
|
|
2032
2036
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2033
|
-
this.
|
|
2037
|
+
this.u1c_1 = function_0;
|
|
2034
2038
|
}
|
|
2035
2039
|
protoOf(sam$kotlin_Comparator$0).fd = function (a, b) {
|
|
2036
|
-
return this.
|
|
2040
|
+
return this.u1c_1(a, b);
|
|
2037
2041
|
};
|
|
2038
2042
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2039
2043
|
return this.fd(a, b);
|
|
2040
2044
|
};
|
|
2041
2045
|
protoOf(sam$kotlin_Comparator$0).h3 = function () {
|
|
2042
|
-
return this.
|
|
2046
|
+
return this.u1c_1;
|
|
2043
2047
|
};
|
|
2044
2048
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2045
2049
|
var tmp;
|
|
@@ -2114,9 +2118,9 @@
|
|
|
2114
2118
|
}
|
|
2115
2119
|
function parse(_this__u8e3s4, argv) {
|
|
2116
2120
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.parseAndRun' call
|
|
2117
|
-
var result = CommandLineParser_instance.
|
|
2121
|
+
var result = CommandLineParser_instance.l1d(_this__u8e3s4, argv);
|
|
2118
2122
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.run' call
|
|
2119
|
-
var rootInvocation = result.
|
|
2123
|
+
var rootInvocation = result.m1d_1;
|
|
2120
2124
|
var tmp0 = flatten_0(rootInvocation);
|
|
2121
2125
|
$l$block: {
|
|
2122
2126
|
// Inline function 'kotlin.use' call
|
|
@@ -2125,7 +2129,7 @@
|
|
|
2125
2129
|
var _iterator__ex2g4s = tmp0.r();
|
|
2126
2130
|
while (_iterator__ex2g4s.s()) {
|
|
2127
2131
|
var invocation = _iterator__ex2g4s.t();
|
|
2128
|
-
invocation.
|
|
2132
|
+
invocation.s1d_1.k1d();
|
|
2129
2133
|
}
|
|
2130
2134
|
break $l$block;
|
|
2131
2135
|
} catch ($p) {
|
|
@@ -2247,18 +2251,18 @@
|
|
|
2247
2251
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2248
2252
|
CliktError.call(this, message, VOID, statusCode);
|
|
2249
2253
|
captureStack(this, UsageError);
|
|
2250
|
-
this.
|
|
2251
|
-
this.
|
|
2254
|
+
this.f1e_1 = paramName;
|
|
2255
|
+
this.g1e_1 = null;
|
|
2252
2256
|
}
|
|
2253
|
-
protoOf(UsageError).
|
|
2257
|
+
protoOf(UsageError).h1e = function (localization, formatter) {
|
|
2254
2258
|
var tmp0_elvis_lhs = this.message;
|
|
2255
2259
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2256
2260
|
};
|
|
2257
|
-
protoOf(UsageError).
|
|
2258
|
-
this.
|
|
2261
|
+
protoOf(UsageError).i1e = function (_set____db54di) {
|
|
2262
|
+
this.g1e_1 = _set____db54di;
|
|
2259
2263
|
};
|
|
2260
2264
|
protoOf(UsageError).y8 = function () {
|
|
2261
|
-
return this.
|
|
2265
|
+
return this.g1e_1;
|
|
2262
2266
|
};
|
|
2263
2267
|
function CliktError(message, cause, statusCode, printError) {
|
|
2264
2268
|
message = message === VOID ? null : message;
|
|
@@ -2277,15 +2281,15 @@
|
|
|
2277
2281
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2278
2282
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2279
2283
|
captureStack(this, PrintHelpMessage);
|
|
2280
|
-
this.
|
|
2281
|
-
this.
|
|
2284
|
+
this.l1e_1 = context;
|
|
2285
|
+
this.m1e_1 = error;
|
|
2282
2286
|
}
|
|
2283
2287
|
protoOf(PrintHelpMessage).y8 = function () {
|
|
2284
|
-
return this.
|
|
2288
|
+
return this.l1e_1;
|
|
2285
2289
|
};
|
|
2286
2290
|
function Companion_0() {
|
|
2287
2291
|
}
|
|
2288
|
-
protoOf(Companion_0).
|
|
2292
|
+
protoOf(Companion_0).n1e = function (errors) {
|
|
2289
2293
|
var tmp;
|
|
2290
2294
|
switch (errors.d1()) {
|
|
2291
2295
|
case 0:
|
|
@@ -2304,7 +2308,7 @@
|
|
|
2304
2308
|
while (_iterator__ex2g4s.s()) {
|
|
2305
2309
|
var element = _iterator__ex2g4s.t();
|
|
2306
2310
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2307
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2311
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1e_1;
|
|
2308
2312
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2309
2313
|
addAll(destination, list);
|
|
2310
2314
|
}
|
|
@@ -2343,16 +2347,16 @@
|
|
|
2343
2347
|
}
|
|
2344
2348
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2345
2349
|
return function (it) {
|
|
2346
|
-
return it.
|
|
2350
|
+
return it.h1e($localization, $formatter);
|
|
2347
2351
|
};
|
|
2348
2352
|
}
|
|
2349
2353
|
function MultiUsageError(errors) {
|
|
2350
2354
|
UsageError.call(this, null, VOID, first_0(errors).v1b_1);
|
|
2351
2355
|
captureStack(this, MultiUsageError);
|
|
2352
|
-
this.
|
|
2356
|
+
this.s1e_1 = errors;
|
|
2353
2357
|
}
|
|
2354
|
-
protoOf(MultiUsageError).
|
|
2355
|
-
return joinToString(this.
|
|
2358
|
+
protoOf(MultiUsageError).h1e = function (localization, formatter) {
|
|
2359
|
+
return joinToString(this.s1e_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2356
2360
|
};
|
|
2357
2361
|
var Kind_Argument_instance;
|
|
2358
2362
|
var Kind_Option_instance;
|
|
@@ -2370,7 +2374,7 @@
|
|
|
2370
2374
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2371
2375
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2372
2376
|
BadParameterValue.call($this);
|
|
2373
|
-
$this.
|
|
2377
|
+
$this.x1e_1 = Kind_Argument_getInstance();
|
|
2374
2378
|
return $this;
|
|
2375
2379
|
}
|
|
2376
2380
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2381,7 +2385,7 @@
|
|
|
2381
2385
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2382
2386
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2383
2387
|
BadParameterValue.call($this);
|
|
2384
|
-
$this.
|
|
2388
|
+
$this.x1e_1 = Kind_Option_getInstance();
|
|
2385
2389
|
return $this;
|
|
2386
2390
|
}
|
|
2387
2391
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2392,7 +2396,7 @@
|
|
|
2392
2396
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2393
2397
|
UsageError.call($this, message, name);
|
|
2394
2398
|
BadParameterValue.call($this);
|
|
2395
|
-
$this.
|
|
2399
|
+
$this.x1e_1 = Kind_Option_getInstance();
|
|
2396
2400
|
return $this;
|
|
2397
2401
|
}
|
|
2398
2402
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2408,7 +2412,7 @@
|
|
|
2408
2412
|
Kind_initEntries();
|
|
2409
2413
|
return Kind_Option_instance;
|
|
2410
2414
|
}
|
|
2411
|
-
protoOf(BadParameterValue).
|
|
2415
|
+
protoOf(BadParameterValue).h1e = function (localization, formatter) {
|
|
2412
2416
|
// Inline function 'kotlin.takeUnless' call
|
|
2413
2417
|
var this_0 = this.message;
|
|
2414
2418
|
var tmp;
|
|
@@ -2419,7 +2423,7 @@
|
|
|
2419
2423
|
tmp = null;
|
|
2420
2424
|
}
|
|
2421
2425
|
var m = tmp;
|
|
2422
|
-
var tmp0_safe_receiver = this.
|
|
2426
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2423
2427
|
var tmp_0;
|
|
2424
2428
|
if (tmp0_safe_receiver == null) {
|
|
2425
2429
|
tmp_0 = null;
|
|
@@ -2440,14 +2444,14 @@
|
|
|
2440
2444
|
tmp_2 = null;
|
|
2441
2445
|
} else {
|
|
2442
2446
|
// Inline function 'kotlin.let' call
|
|
2443
|
-
var tmp0_subject = this.
|
|
2447
|
+
var tmp0_subject = this.x1e_1;
|
|
2444
2448
|
var tmp_3;
|
|
2445
2449
|
switch (tmp0_subject == null ? -1 : tmp0_subject.y2_1) {
|
|
2446
2450
|
case 0:
|
|
2447
|
-
tmp_3 = formatter.
|
|
2451
|
+
tmp_3 = formatter.y1e(tmp1_safe_receiver);
|
|
2448
2452
|
break;
|
|
2449
2453
|
case 1:
|
|
2450
|
-
tmp_3 = formatter.
|
|
2454
|
+
tmp_3 = formatter.z1e(tmp1_safe_receiver);
|
|
2451
2455
|
break;
|
|
2452
2456
|
case -1:
|
|
2453
2457
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2461,13 +2465,13 @@
|
|
|
2461
2465
|
var p = tmp_2;
|
|
2462
2466
|
var tmp_4;
|
|
2463
2467
|
if (m == null && p == null) {
|
|
2464
|
-
tmp_4 = localization.
|
|
2468
|
+
tmp_4 = localization.d1f();
|
|
2465
2469
|
} else if (m == null && !(p == null)) {
|
|
2466
|
-
tmp_4 = localization.
|
|
2470
|
+
tmp_4 = localization.c1f(p);
|
|
2467
2471
|
} else if (!(m == null) && p == null) {
|
|
2468
|
-
tmp_4 = localization.
|
|
2472
|
+
tmp_4 = localization.b1f(m);
|
|
2469
2473
|
} else if (!(m == null) && !(p == null)) {
|
|
2470
|
-
tmp_4 = localization.
|
|
2474
|
+
tmp_4 = localization.a1f(p, m);
|
|
2471
2475
|
} else {
|
|
2472
2476
|
// Inline function 'kotlin.error' call
|
|
2473
2477
|
var message = 'impossible';
|
|
@@ -2483,52 +2487,52 @@
|
|
|
2483
2487
|
subcommand = subcommand === VOID ? null : subcommand;
|
|
2484
2488
|
UsageError.call(this, null, paramName);
|
|
2485
2489
|
captureStack(this, NoSuchOption);
|
|
2486
|
-
this.
|
|
2487
|
-
this.
|
|
2490
|
+
this.i1f_1 = possibilities;
|
|
2491
|
+
this.j1f_1 = subcommand;
|
|
2488
2492
|
}
|
|
2489
|
-
protoOf(NoSuchOption).
|
|
2490
|
-
var tmp0_safe_receiver = this.
|
|
2493
|
+
protoOf(NoSuchOption).h1e = function (localization, formatter) {
|
|
2494
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2491
2495
|
var tmp;
|
|
2492
2496
|
if (tmp0_safe_receiver == null) {
|
|
2493
2497
|
tmp = null;
|
|
2494
2498
|
} else {
|
|
2495
2499
|
// Inline function 'kotlin.let' call
|
|
2496
|
-
tmp = formatter.
|
|
2500
|
+
tmp = formatter.z1e(tmp0_safe_receiver);
|
|
2497
2501
|
}
|
|
2498
2502
|
var tmp1_elvis_lhs = tmp;
|
|
2499
2503
|
var name = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2500
2504
|
var tmp_0;
|
|
2501
|
-
if (!(this.
|
|
2502
|
-
tmp_0 = localization.
|
|
2505
|
+
if (!(this.j1f_1 == null)) {
|
|
2506
|
+
tmp_0 = localization.m1f(name, formatter.l1f(formatter.l1f(this.j1f_1)));
|
|
2503
2507
|
} else {
|
|
2504
2508
|
// Inline function 'kotlin.collections.map' call
|
|
2505
|
-
var this_0 = this.
|
|
2509
|
+
var this_0 = this.i1f_1;
|
|
2506
2510
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2507
2511
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2508
2512
|
var _iterator__ex2g4s = this_0.r();
|
|
2509
2513
|
while (_iterator__ex2g4s.s()) {
|
|
2510
2514
|
var item = _iterator__ex2g4s.t();
|
|
2511
|
-
var tmp$ret$4 = formatter.
|
|
2515
|
+
var tmp$ret$4 = formatter.z1e(item);
|
|
2512
2516
|
destination.v(tmp$ret$4);
|
|
2513
2517
|
}
|
|
2514
|
-
tmp_0 = localization.
|
|
2518
|
+
tmp_0 = localization.k1f(name, destination);
|
|
2515
2519
|
}
|
|
2516
2520
|
return tmp_0;
|
|
2517
2521
|
};
|
|
2518
2522
|
function NoSuchArgument(excessArguments) {
|
|
2519
2523
|
UsageError.call(this, null);
|
|
2520
2524
|
captureStack(this, NoSuchArgument);
|
|
2521
|
-
this.
|
|
2525
|
+
this.r1f_1 = excessArguments;
|
|
2522
2526
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2523
2527
|
// Inline function 'kotlin.require' call
|
|
2524
|
-
if (!!this.
|
|
2528
|
+
if (!!this.r1f_1.p()) {
|
|
2525
2529
|
var message = 'must provide at least one excess argument';
|
|
2526
2530
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2527
2531
|
}
|
|
2528
2532
|
}
|
|
2529
|
-
protoOf(NoSuchArgument).
|
|
2530
|
-
var actual = joinToString(this.
|
|
2531
|
-
return this.
|
|
2533
|
+
protoOf(NoSuchArgument).h1e = function (localization, formatter) {
|
|
2534
|
+
var actual = joinToString(this.r1f_1, ' ', '(', ')', 3);
|
|
2535
|
+
return this.r1f_1.d1() === 1 ? localization.t1f(actual) : localization.s1f(actual, this.r1f_1.d1());
|
|
2532
2536
|
};
|
|
2533
2537
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2534
2538
|
IncorrectOptionValueCount.call($this, option.h1a().o1_1, paramName);
|
|
@@ -2542,35 +2546,35 @@
|
|
|
2542
2546
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2543
2547
|
UsageError.call(this, null, paramName);
|
|
2544
2548
|
captureStack(this, IncorrectOptionValueCount);
|
|
2545
|
-
this.
|
|
2549
|
+
this.y1f_1 = minValues;
|
|
2546
2550
|
}
|
|
2547
|
-
protoOf(IncorrectOptionValueCount).
|
|
2548
|
-
var tmp0_safe_receiver = this.
|
|
2551
|
+
protoOf(IncorrectOptionValueCount).h1e = function (localization, formatter) {
|
|
2552
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2549
2553
|
var tmp;
|
|
2550
2554
|
if (tmp0_safe_receiver == null) {
|
|
2551
2555
|
tmp = null;
|
|
2552
2556
|
} else {
|
|
2553
2557
|
// Inline function 'kotlin.let' call
|
|
2554
|
-
tmp = formatter.
|
|
2558
|
+
tmp = formatter.z1e(tmp0_safe_receiver);
|
|
2555
2559
|
}
|
|
2556
2560
|
var tmp1_elvis_lhs = tmp;
|
|
2557
|
-
return localization.
|
|
2561
|
+
return localization.z1f(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.y1f_1);
|
|
2558
2562
|
};
|
|
2559
2563
|
function MissingArgument(argument) {
|
|
2560
2564
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2561
2565
|
captureStack(this, MissingArgument);
|
|
2562
2566
|
}
|
|
2563
|
-
protoOf(MissingArgument).
|
|
2564
|
-
var tmp0_safe_receiver = this.
|
|
2567
|
+
protoOf(MissingArgument).h1e = function (localization, formatter) {
|
|
2568
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2565
2569
|
var tmp;
|
|
2566
2570
|
if (tmp0_safe_receiver == null) {
|
|
2567
2571
|
tmp = null;
|
|
2568
2572
|
} else {
|
|
2569
2573
|
// Inline function 'kotlin.let' call
|
|
2570
|
-
tmp = formatter.
|
|
2574
|
+
tmp = formatter.y1e(tmp0_safe_receiver);
|
|
2571
2575
|
}
|
|
2572
2576
|
var tmp1_elvis_lhs = tmp;
|
|
2573
|
-
return localization.
|
|
2577
|
+
return localization.e1g(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2574
2578
|
};
|
|
2575
2579
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2576
2580
|
IncorrectArgumentValueCount.call($this, argument.h1a(), argument);
|
|
@@ -2584,35 +2588,35 @@
|
|
|
2584
2588
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2585
2589
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2586
2590
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2587
|
-
this.
|
|
2591
|
+
this.j1g_1 = nvalues;
|
|
2588
2592
|
}
|
|
2589
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2590
|
-
var tmp0_safe_receiver = this.
|
|
2593
|
+
protoOf(IncorrectArgumentValueCount).h1e = function (localization, formatter) {
|
|
2594
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2591
2595
|
var tmp;
|
|
2592
2596
|
if (tmp0_safe_receiver == null) {
|
|
2593
2597
|
tmp = null;
|
|
2594
2598
|
} else {
|
|
2595
2599
|
// Inline function 'kotlin.let' call
|
|
2596
|
-
tmp = formatter.
|
|
2600
|
+
tmp = formatter.y1e(tmp0_safe_receiver);
|
|
2597
2601
|
}
|
|
2598
2602
|
var tmp1_elvis_lhs = tmp;
|
|
2599
|
-
return localization.
|
|
2603
|
+
return localization.k1g(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.j1g_1);
|
|
2600
2604
|
};
|
|
2601
2605
|
function MissingOption(option) {
|
|
2602
2606
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2603
2607
|
captureStack(this, MissingOption);
|
|
2604
2608
|
}
|
|
2605
|
-
protoOf(MissingOption).
|
|
2606
|
-
var tmp0_safe_receiver = this.
|
|
2609
|
+
protoOf(MissingOption).h1e = function (localization, formatter) {
|
|
2610
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2607
2611
|
var tmp;
|
|
2608
2612
|
if (tmp0_safe_receiver == null) {
|
|
2609
2613
|
tmp = null;
|
|
2610
2614
|
} else {
|
|
2611
2615
|
// Inline function 'kotlin.let' call
|
|
2612
|
-
tmp = formatter.
|
|
2616
|
+
tmp = formatter.z1e(tmp0_safe_receiver);
|
|
2613
2617
|
}
|
|
2614
2618
|
var tmp1_elvis_lhs = tmp;
|
|
2615
|
-
return localization.
|
|
2619
|
+
return localization.p1g(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2616
2620
|
};
|
|
2617
2621
|
function PrintMessage(message, statusCode, printError) {
|
|
2618
2622
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2630,50 +2634,50 @@
|
|
|
2630
2634
|
lineno = lineno === VOID ? null : lineno;
|
|
2631
2635
|
UsageError.call(this, message);
|
|
2632
2636
|
captureStack(this, InvalidFileFormat);
|
|
2633
|
-
this.
|
|
2634
|
-
this.
|
|
2637
|
+
this.u1g_1 = filename;
|
|
2638
|
+
this.v1g_1 = lineno;
|
|
2635
2639
|
}
|
|
2636
|
-
protoOf(InvalidFileFormat).
|
|
2637
|
-
return this.
|
|
2640
|
+
protoOf(InvalidFileFormat).h1e = function (localization, formatter) {
|
|
2641
|
+
return this.v1g_1 == null ? localization.x1g(this.u1g_1, ensureNotNull(this.message)) : localization.w1g(this.u1g_1, this.v1g_1, ensureNotNull(this.message));
|
|
2638
2642
|
};
|
|
2639
2643
|
function NoSuchSubcommand(paramName, possibilities) {
|
|
2640
2644
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2641
2645
|
UsageError.call(this, null, paramName);
|
|
2642
2646
|
captureStack(this, NoSuchSubcommand);
|
|
2643
|
-
this.
|
|
2647
|
+
this.c1h_1 = possibilities;
|
|
2644
2648
|
}
|
|
2645
|
-
protoOf(NoSuchSubcommand).
|
|
2646
|
-
var tmp0_safe_receiver = this.
|
|
2649
|
+
protoOf(NoSuchSubcommand).h1e = function (localization, formatter) {
|
|
2650
|
+
var tmp0_safe_receiver = this.f1e_1;
|
|
2647
2651
|
var tmp;
|
|
2648
2652
|
if (tmp0_safe_receiver == null) {
|
|
2649
2653
|
tmp = null;
|
|
2650
2654
|
} else {
|
|
2651
2655
|
// Inline function 'kotlin.let' call
|
|
2652
|
-
tmp = formatter.
|
|
2656
|
+
tmp = formatter.l1f(tmp0_safe_receiver);
|
|
2653
2657
|
}
|
|
2654
2658
|
var tmp1_elvis_lhs = tmp;
|
|
2655
2659
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2656
2660
|
// Inline function 'kotlin.collections.map' call
|
|
2657
|
-
var this_0 = this.
|
|
2661
|
+
var this_0 = this.c1h_1;
|
|
2658
2662
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2659
2663
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2660
2664
|
var _iterator__ex2g4s = this_0.r();
|
|
2661
2665
|
while (_iterator__ex2g4s.s()) {
|
|
2662
2666
|
var item = _iterator__ex2g4s.t();
|
|
2663
|
-
var tmp$ret$4 = formatter.
|
|
2667
|
+
var tmp$ret$4 = formatter.l1f(item);
|
|
2664
2668
|
destination.v(tmp$ret$4);
|
|
2665
2669
|
}
|
|
2666
|
-
return localization.
|
|
2670
|
+
return localization.d1h(tmp_0, destination);
|
|
2667
2671
|
};
|
|
2668
2672
|
function Abort() {
|
|
2669
2673
|
}
|
|
2670
2674
|
function FileNotFound(filename) {
|
|
2671
2675
|
UsageError.call(this, null);
|
|
2672
2676
|
captureStack(this, FileNotFound);
|
|
2673
|
-
this.
|
|
2677
|
+
this.i1h_1 = filename;
|
|
2674
2678
|
}
|
|
2675
|
-
protoOf(FileNotFound).
|
|
2676
|
-
return localization.
|
|
2679
|
+
protoOf(FileNotFound).h1e = function (localization, formatter) {
|
|
2680
|
+
return localization.j1h(this.i1h_1);
|
|
2677
2681
|
};
|
|
2678
2682
|
function finalizeOptions(context, options, invocationsByOption) {
|
|
2679
2683
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -2700,12 +2704,12 @@
|
|
|
2700
2704
|
var option = _iterator__ex2g4s.t();
|
|
2701
2705
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2702
2706
|
try {
|
|
2703
|
-
option.
|
|
2707
|
+
option.k1h(context);
|
|
2704
2708
|
} catch ($p) {
|
|
2705
2709
|
if ($p instanceof UsageError) {
|
|
2706
2710
|
var e = $p;
|
|
2707
2711
|
var tmp0_elvis_lhs = e.y8();
|
|
2708
|
-
e.
|
|
2712
|
+
e.i1e(tmp0_elvis_lhs == null ? context : tmp0_elvis_lhs);
|
|
2709
2713
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2710
2714
|
usageErrors.v(e);
|
|
2711
2715
|
context.b1a_1 = true;
|
|
@@ -2719,12 +2723,12 @@
|
|
|
2719
2723
|
var group = _iterator__ex2g4s_0.t();
|
|
2720
2724
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2721
2725
|
try {
|
|
2722
|
-
group.
|
|
2726
|
+
group.k1h(context);
|
|
2723
2727
|
} catch ($p) {
|
|
2724
2728
|
if ($p instanceof UsageError) {
|
|
2725
2729
|
var e_0 = $p;
|
|
2726
2730
|
var tmp0_elvis_lhs_0 = e_0.y8();
|
|
2727
|
-
e_0.
|
|
2731
|
+
e_0.i1e(tmp0_elvis_lhs_0 == null ? context : tmp0_elvis_lhs_0);
|
|
2728
2732
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2729
2733
|
usageErrors.v(e_0);
|
|
2730
2734
|
context.b1a_1 = true;
|
|
@@ -2738,12 +2742,12 @@
|
|
|
2738
2742
|
var argument = _iterator__ex2g4s_1.t();
|
|
2739
2743
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2740
2744
|
try {
|
|
2741
|
-
argument.
|
|
2745
|
+
argument.k1h(context);
|
|
2742
2746
|
} catch ($p) {
|
|
2743
2747
|
if ($p instanceof UsageError) {
|
|
2744
2748
|
var e_1 = $p;
|
|
2745
2749
|
var tmp0_elvis_lhs_1 = e_1.y8();
|
|
2746
|
-
e_1.
|
|
2750
|
+
e_1.i1e(tmp0_elvis_lhs_1 == null ? context : tmp0_elvis_lhs_1);
|
|
2747
2751
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2748
2752
|
usageErrors.v(e_1);
|
|
2749
2753
|
context.b1a_1 = true;
|
|
@@ -2813,7 +2817,7 @@
|
|
|
2813
2817
|
while (_iterator__ex2g4s_2.s()) {
|
|
2814
2818
|
var element_1 = _iterator__ex2g4s_2.t();
|
|
2815
2819
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2816
|
-
var pair = to(element_1.
|
|
2820
|
+
var pair = to(element_1.l1h_1, element_1.m1h_1);
|
|
2817
2821
|
this_1.p2(pair.da_1, pair.ea_1);
|
|
2818
2822
|
}
|
|
2819
2823
|
var _iterator__ex2g4s_3 = arguments_0.r();
|
|
@@ -2883,13 +2887,13 @@
|
|
|
2883
2887
|
var it = _iterator__ex2g4s.t();
|
|
2884
2888
|
try {
|
|
2885
2889
|
if (it instanceof Arg) {
|
|
2886
|
-
it.
|
|
2890
|
+
it.t1h_1.v1h(context, it.u1h_1);
|
|
2887
2891
|
} else {
|
|
2888
2892
|
if (it instanceof Opt) {
|
|
2889
|
-
it.
|
|
2893
|
+
it.q1h_1.s1h(context, it.r1h_1);
|
|
2890
2894
|
} else {
|
|
2891
2895
|
if (it instanceof Group) {
|
|
2892
|
-
it.
|
|
2896
|
+
it.n1h_1.p1h(context, it.o1h_1);
|
|
2893
2897
|
} else {
|
|
2894
2898
|
noWhenBranchMatchedException();
|
|
2895
2899
|
}
|
|
@@ -2904,7 +2908,7 @@
|
|
|
2904
2908
|
if ($p instanceof UsageError) {
|
|
2905
2909
|
var e_0 = $p;
|
|
2906
2910
|
var tmp1_elvis_lhs = e_0.y8();
|
|
2907
|
-
e_0.
|
|
2911
|
+
e_0.i1e(tmp1_elvis_lhs == null ? context : tmp1_elvis_lhs);
|
|
2908
2912
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2909
2913
|
errors.v(e_0);
|
|
2910
2914
|
context.b1a_1 = true;
|
|
@@ -2929,15 +2933,15 @@
|
|
|
2929
2933
|
}
|
|
2930
2934
|
function Opt(option, invs) {
|
|
2931
2935
|
Param.call(this);
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2936
|
+
this.q1h_1 = option;
|
|
2937
|
+
this.r1h_1 = invs;
|
|
2934
2938
|
}
|
|
2935
2939
|
protoOf(Opt).toString = function () {
|
|
2936
|
-
return 'Opt(option=' + toString_0(this.
|
|
2940
|
+
return 'Opt(option=' + toString_0(this.q1h_1) + ', invs=' + toString_0(this.r1h_1) + ')';
|
|
2937
2941
|
};
|
|
2938
2942
|
protoOf(Opt).hashCode = function () {
|
|
2939
|
-
var result = hashCode(this.
|
|
2940
|
-
result = imul(result, 31) + hashCode(this.
|
|
2943
|
+
var result = hashCode(this.q1h_1);
|
|
2944
|
+
result = imul(result, 31) + hashCode(this.r1h_1) | 0;
|
|
2941
2945
|
return result;
|
|
2942
2946
|
};
|
|
2943
2947
|
protoOf(Opt).equals = function (other) {
|
|
@@ -2945,10 +2949,10 @@
|
|
|
2945
2949
|
return true;
|
|
2946
2950
|
if (!(other instanceof Opt))
|
|
2947
2951
|
return false;
|
|
2948
|
-
if (!equals(this.p1h_1, other.p1h_1))
|
|
2949
|
-
return false;
|
|
2950
2952
|
if (!equals(this.q1h_1, other.q1h_1))
|
|
2951
2953
|
return false;
|
|
2954
|
+
if (!equals(this.r1h_1, other.r1h_1))
|
|
2955
|
+
return false;
|
|
2952
2956
|
return true;
|
|
2953
2957
|
};
|
|
2954
2958
|
function getAllOptions(invocations, options) {
|
|
@@ -2974,15 +2978,15 @@
|
|
|
2974
2978
|
}
|
|
2975
2979
|
function Arg(argument, invs) {
|
|
2976
2980
|
Param.call(this);
|
|
2977
|
-
this.
|
|
2978
|
-
this.
|
|
2981
|
+
this.t1h_1 = argument;
|
|
2982
|
+
this.u1h_1 = invs;
|
|
2979
2983
|
}
|
|
2980
2984
|
protoOf(Arg).toString = function () {
|
|
2981
|
-
return 'Arg(argument=' + toString_0(this.
|
|
2985
|
+
return 'Arg(argument=' + toString_0(this.t1h_1) + ', invs=' + toString_0(this.u1h_1) + ')';
|
|
2982
2986
|
};
|
|
2983
2987
|
protoOf(Arg).hashCode = function () {
|
|
2984
|
-
var result = hashCode(this.
|
|
2985
|
-
result = imul(result, 31) + hashCode(this.
|
|
2988
|
+
var result = hashCode(this.t1h_1);
|
|
2989
|
+
result = imul(result, 31) + hashCode(this.u1h_1) | 0;
|
|
2986
2990
|
return result;
|
|
2987
2991
|
};
|
|
2988
2992
|
protoOf(Arg).equals = function (other) {
|
|
@@ -2990,23 +2994,23 @@
|
|
|
2990
2994
|
return true;
|
|
2991
2995
|
if (!(other instanceof Arg))
|
|
2992
2996
|
return false;
|
|
2993
|
-
if (!equals(this.s1h_1, other.s1h_1))
|
|
2994
|
-
return false;
|
|
2995
2997
|
if (!equals(this.t1h_1, other.t1h_1))
|
|
2996
2998
|
return false;
|
|
2999
|
+
if (!equals(this.u1h_1, other.u1h_1))
|
|
3000
|
+
return false;
|
|
2997
3001
|
return true;
|
|
2998
3002
|
};
|
|
2999
3003
|
function Group(group, invs) {
|
|
3000
3004
|
Param.call(this);
|
|
3001
|
-
this.
|
|
3002
|
-
this.
|
|
3005
|
+
this.n1h_1 = group;
|
|
3006
|
+
this.o1h_1 = invs;
|
|
3003
3007
|
}
|
|
3004
3008
|
protoOf(Group).toString = function () {
|
|
3005
|
-
return 'Group(group=' + toString_0(this.
|
|
3009
|
+
return 'Group(group=' + toString_0(this.n1h_1) + ', invs=' + toString_0(this.o1h_1) + ')';
|
|
3006
3010
|
};
|
|
3007
3011
|
protoOf(Group).hashCode = function () {
|
|
3008
|
-
var result = hashCode(this.
|
|
3009
|
-
result = imul(result, 31) + hashCode(this.
|
|
3012
|
+
var result = hashCode(this.n1h_1);
|
|
3013
|
+
result = imul(result, 31) + hashCode(this.o1h_1) | 0;
|
|
3010
3014
|
return result;
|
|
3011
3015
|
};
|
|
3012
3016
|
protoOf(Group).equals = function (other) {
|
|
@@ -3014,14 +3018,14 @@
|
|
|
3014
3018
|
return true;
|
|
3015
3019
|
if (!(other instanceof Group))
|
|
3016
3020
|
return false;
|
|
3017
|
-
if (!equals(this.m1h_1, other.m1h_1))
|
|
3018
|
-
return false;
|
|
3019
3021
|
if (!equals(this.n1h_1, other.n1h_1))
|
|
3020
3022
|
return false;
|
|
3023
|
+
if (!equals(this.o1h_1, other.o1h_1))
|
|
3024
|
+
return false;
|
|
3021
3025
|
return true;
|
|
3022
3026
|
};
|
|
3023
3027
|
function throwErrors(_this__u8e3s4) {
|
|
3024
|
-
var tmp0_safe_receiver = Companion_instance_1.
|
|
3028
|
+
var tmp0_safe_receiver = Companion_instance_1.n1e(_this__u8e3s4);
|
|
3025
3029
|
if (tmp0_safe_receiver == null)
|
|
3026
3030
|
null;
|
|
3027
3031
|
else {
|
|
@@ -3031,24 +3035,24 @@
|
|
|
3031
3035
|
}
|
|
3032
3036
|
function get_group(_this__u8e3s4) {
|
|
3033
3037
|
var tmp0_safe_receiver = isInterface(_this__u8e3s4, GroupableOption) ? _this__u8e3s4 : null;
|
|
3034
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3038
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b1e();
|
|
3035
3039
|
}
|
|
3036
3040
|
function RenderedSection(title, content) {
|
|
3037
|
-
this.
|
|
3038
|
-
this.
|
|
3041
|
+
this.w1h_1 = title;
|
|
3042
|
+
this.x1h_1 = content;
|
|
3039
3043
|
}
|
|
3040
3044
|
protoOf(RenderedSection).fa = function () {
|
|
3041
|
-
return this.
|
|
3045
|
+
return this.w1h_1;
|
|
3042
3046
|
};
|
|
3043
3047
|
protoOf(RenderedSection).ga = function () {
|
|
3044
|
-
return this.
|
|
3048
|
+
return this.x1h_1;
|
|
3045
3049
|
};
|
|
3046
3050
|
protoOf(RenderedSection).toString = function () {
|
|
3047
|
-
return 'RenderedSection(title=' + this.
|
|
3051
|
+
return 'RenderedSection(title=' + this.w1h_1 + ', content=' + toString_1(this.x1h_1) + ')';
|
|
3048
3052
|
};
|
|
3049
3053
|
protoOf(RenderedSection).hashCode = function () {
|
|
3050
|
-
var result = getStringHashCode(this.
|
|
3051
|
-
result = imul(result, 31) + (this.
|
|
3054
|
+
var result = getStringHashCode(this.w1h_1);
|
|
3055
|
+
result = imul(result, 31) + (this.x1h_1 == null ? 0 : hashCode(this.x1h_1)) | 0;
|
|
3052
3056
|
return result;
|
|
3053
3057
|
};
|
|
3054
3058
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -3056,25 +3060,25 @@
|
|
|
3056
3060
|
return true;
|
|
3057
3061
|
if (!(other instanceof RenderedSection))
|
|
3058
3062
|
return false;
|
|
3059
|
-
if (!(this.
|
|
3063
|
+
if (!(this.w1h_1 === other.w1h_1))
|
|
3060
3064
|
return false;
|
|
3061
|
-
if (!equals(this.
|
|
3065
|
+
if (!equals(this.x1h_1, other.x1h_1))
|
|
3062
3066
|
return false;
|
|
3063
3067
|
return true;
|
|
3064
3068
|
};
|
|
3065
3069
|
function DefinitionRow(term, description, marker) {
|
|
3066
3070
|
marker = marker === VOID ? null : marker;
|
|
3067
|
-
this.
|
|
3068
|
-
this.
|
|
3069
|
-
this.
|
|
3071
|
+
this.y1h_1 = term;
|
|
3072
|
+
this.z1h_1 = description;
|
|
3073
|
+
this.a1i_1 = marker;
|
|
3070
3074
|
}
|
|
3071
3075
|
protoOf(DefinitionRow).toString = function () {
|
|
3072
|
-
return 'DefinitionRow(term=' + this.
|
|
3076
|
+
return 'DefinitionRow(term=' + this.y1h_1 + ', description=' + this.z1h_1 + ', marker=' + this.a1i_1 + ')';
|
|
3073
3077
|
};
|
|
3074
3078
|
protoOf(DefinitionRow).hashCode = function () {
|
|
3075
|
-
var result = getStringHashCode(this.
|
|
3076
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3077
|
-
result = imul(result, 31) + (this.
|
|
3079
|
+
var result = getStringHashCode(this.y1h_1);
|
|
3080
|
+
result = imul(result, 31) + getStringHashCode(this.z1h_1) | 0;
|
|
3081
|
+
result = imul(result, 31) + (this.a1i_1 == null ? 0 : getStringHashCode(this.a1i_1)) | 0;
|
|
3078
3082
|
return result;
|
|
3079
3083
|
};
|
|
3080
3084
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -3082,25 +3086,25 @@
|
|
|
3082
3086
|
return true;
|
|
3083
3087
|
if (!(other instanceof DefinitionRow))
|
|
3084
3088
|
return false;
|
|
3085
|
-
if (!(this.x1h_1 === other.x1h_1))
|
|
3086
|
-
return false;
|
|
3087
3089
|
if (!(this.y1h_1 === other.y1h_1))
|
|
3088
3090
|
return false;
|
|
3089
|
-
if (!(this.z1h_1
|
|
3091
|
+
if (!(this.z1h_1 === other.z1h_1))
|
|
3092
|
+
return false;
|
|
3093
|
+
if (!(this.a1i_1 == other.a1i_1))
|
|
3090
3094
|
return false;
|
|
3091
3095
|
return true;
|
|
3092
3096
|
};
|
|
3093
3097
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3094
|
-
this.
|
|
3098
|
+
this.b1i_1 = function_0;
|
|
3095
3099
|
}
|
|
3096
3100
|
protoOf(sam$kotlin_Comparator$0_0).fd = function (a, b) {
|
|
3097
|
-
return this.
|
|
3101
|
+
return this.b1i_1(a, b);
|
|
3098
3102
|
};
|
|
3099
3103
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3100
3104
|
return this.fd(a, b);
|
|
3101
3105
|
};
|
|
3102
3106
|
protoOf(sam$kotlin_Comparator$0_0).h3 = function () {
|
|
3103
|
-
return this.
|
|
3107
|
+
return this.b1i_1;
|
|
3104
3108
|
};
|
|
3105
3109
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
3106
3110
|
var tmp;
|
|
@@ -3121,16 +3125,16 @@
|
|
|
3121
3125
|
return hashCode(this.h3());
|
|
3122
3126
|
};
|
|
3123
3127
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3124
|
-
this.
|
|
3128
|
+
this.c1i_1 = function_0;
|
|
3125
3129
|
}
|
|
3126
3130
|
protoOf(sam$kotlin_Comparator$0_1).fd = function (a, b) {
|
|
3127
|
-
return this.
|
|
3131
|
+
return this.c1i_1(a, b);
|
|
3128
3132
|
};
|
|
3129
3133
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3130
3134
|
return this.fd(a, b);
|
|
3131
3135
|
};
|
|
3132
3136
|
protoOf(sam$kotlin_Comparator$0_1).h3 = function () {
|
|
3133
|
-
return this.
|
|
3137
|
+
return this.c1i_1;
|
|
3134
3138
|
};
|
|
3135
3139
|
protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
|
|
3136
3140
|
var tmp;
|
|
@@ -3162,7 +3166,7 @@
|
|
|
3162
3166
|
var k = _destruct__k2r9zo.l1();
|
|
3163
3167
|
// Inline function 'kotlin.collections.component2' call
|
|
3164
3168
|
var v = _destruct__k2r9zo.m1();
|
|
3165
|
-
return this$0.
|
|
3169
|
+
return this$0.h1i(k, v);
|
|
3166
3170
|
};
|
|
3167
3171
|
}
|
|
3168
3172
|
function AbstractHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3171,7 +3175,7 @@
|
|
|
3171
3175
|
var k = _destruct__k2r9zo.l1();
|
|
3172
3176
|
// Inline function 'kotlin.collections.component2' call
|
|
3173
3177
|
var v = _destruct__k2r9zo.m1();
|
|
3174
|
-
return this$0.
|
|
3178
|
+
return this$0.i1i(k, v);
|
|
3175
3179
|
};
|
|
3176
3180
|
}
|
|
3177
3181
|
function AbstractHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3182,63 +3186,63 @@
|
|
|
3182
3186
|
}
|
|
3183
3187
|
function AbstractHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3184
3188
|
return function (it) {
|
|
3185
|
-
return this$0.
|
|
3189
|
+
return this$0.j1i(it);
|
|
3186
3190
|
};
|
|
3187
3191
|
}
|
|
3188
3192
|
function AbstractHelpFormatter$parameterFormatter$1(this$0) {
|
|
3189
|
-
this.
|
|
3193
|
+
this.k1i_1 = this$0;
|
|
3190
3194
|
}
|
|
3191
|
-
protoOf(AbstractHelpFormatter$parameterFormatter$1).
|
|
3192
|
-
return this.
|
|
3195
|
+
protoOf(AbstractHelpFormatter$parameterFormatter$1).z1e = function (name) {
|
|
3196
|
+
return this.k1i_1.j1i(name);
|
|
3193
3197
|
};
|
|
3194
|
-
protoOf(AbstractHelpFormatter$parameterFormatter$1).
|
|
3195
|
-
return this.
|
|
3198
|
+
protoOf(AbstractHelpFormatter$parameterFormatter$1).y1e = function (name) {
|
|
3199
|
+
return this.k1i_1.m1i(this.k1i_1.l1i(name));
|
|
3196
3200
|
};
|
|
3197
|
-
protoOf(AbstractHelpFormatter$parameterFormatter$1).
|
|
3198
|
-
return this.
|
|
3201
|
+
protoOf(AbstractHelpFormatter$parameterFormatter$1).l1f = function (name) {
|
|
3202
|
+
return this.k1i_1.n1i(name);
|
|
3199
3203
|
};
|
|
3200
3204
|
function AbstractHelpFormatter(context, requiredOptionMarker, showDefaultValues, showRequiredTag) {
|
|
3201
3205
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3202
3206
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3203
3207
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
this.
|
|
3207
|
-
this.
|
|
3208
|
+
this.d1i_1 = context;
|
|
3209
|
+
this.e1i_1 = requiredOptionMarker;
|
|
3210
|
+
this.f1i_1 = showDefaultValues;
|
|
3211
|
+
this.g1i_1 = showRequiredTag;
|
|
3208
3212
|
}
|
|
3209
|
-
protoOf(AbstractHelpFormatter).
|
|
3210
|
-
return this.
|
|
3213
|
+
protoOf(AbstractHelpFormatter).o1i = function () {
|
|
3214
|
+
return this.d1i_1.v19_1;
|
|
3211
3215
|
};
|
|
3212
|
-
protoOf(AbstractHelpFormatter).
|
|
3216
|
+
protoOf(AbstractHelpFormatter).p1i = function (error, prolog, epilog, parameters, programName) {
|
|
3213
3217
|
// Inline function 'kotlin.collections.buildList' call
|
|
3214
3218
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3215
3219
|
// Inline function 'kotlin.apply' call
|
|
3216
3220
|
var this_0 = ArrayList_init_$Create$();
|
|
3217
|
-
this_0.v(this.
|
|
3221
|
+
this_0.v(this.q1i(parameters, programName));
|
|
3218
3222
|
if (error == null) {
|
|
3219
3223
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3220
3224
|
if (charSequenceLength(prolog) > 0) {
|
|
3221
|
-
this_0.v(this.
|
|
3225
|
+
this_0.v(this.s1i(prolog));
|
|
3222
3226
|
}
|
|
3223
3227
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3224
3228
|
if (!parameters.p()) {
|
|
3225
|
-
this_0.v(this.
|
|
3229
|
+
this_0.v(this.t1i(parameters));
|
|
3226
3230
|
}
|
|
3227
3231
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3228
3232
|
if (charSequenceLength(epilog) > 0) {
|
|
3229
|
-
this_0.v(this.
|
|
3233
|
+
this_0.v(this.u1i(epilog));
|
|
3230
3234
|
}
|
|
3231
3235
|
} else {
|
|
3232
|
-
this_0.v(this.
|
|
3236
|
+
this_0.v(this.r1i(parameters, error));
|
|
3233
3237
|
}
|
|
3234
3238
|
return this_0.f5();
|
|
3235
3239
|
};
|
|
3236
|
-
protoOf(AbstractHelpFormatter).
|
|
3240
|
+
protoOf(AbstractHelpFormatter).v1i = function (parameters, error) {
|
|
3237
3241
|
// Inline function 'kotlin.text.buildString' call
|
|
3238
3242
|
// Inline function 'kotlin.apply' call
|
|
3239
3243
|
var this_0 = StringBuilder_init_$Create$();
|
|
3240
3244
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3241
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3245
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1e_1;
|
|
3242
3246
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3243
3247
|
var iterator = errors.r();
|
|
3244
3248
|
var index = 0;
|
|
@@ -3250,13 +3254,13 @@
|
|
|
3250
3254
|
// Inline function 'kotlin.text.appendLine' call
|
|
3251
3255
|
this_0.q(_Char___init__impl__6a9atx(10));
|
|
3252
3256
|
}
|
|
3253
|
-
this_0.o(this.
|
|
3257
|
+
this_0.o(this.x1i(this.o1i().w1i()));
|
|
3254
3258
|
this_0.o(' ');
|
|
3255
|
-
this_0.o(e.
|
|
3259
|
+
this_0.o(e.h1e(this.o1i(), this.y1i(this.d1i_1)));
|
|
3256
3260
|
}
|
|
3257
3261
|
return this_0.toString();
|
|
3258
3262
|
};
|
|
3259
|
-
protoOf(AbstractHelpFormatter).
|
|
3263
|
+
protoOf(AbstractHelpFormatter).z1i = function (parameters) {
|
|
3260
3264
|
// Inline function 'kotlin.collections.buildList' call
|
|
3261
3265
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3262
3266
|
// Inline function 'kotlin.apply' call
|
|
@@ -3285,8 +3289,8 @@
|
|
|
3285
3289
|
tmp$ret$4 = false;
|
|
3286
3290
|
}
|
|
3287
3291
|
if (tmp$ret$4) {
|
|
3288
|
-
var metavar = this.
|
|
3289
|
-
this_0.v(this.
|
|
3292
|
+
var metavar = this.l1i(this.o1i().a1j());
|
|
3293
|
+
this_0.v(this.c1j(this.b1j(metavar)));
|
|
3290
3294
|
}
|
|
3291
3295
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3292
3296
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3302,12 +3306,12 @@
|
|
|
3302
3306
|
var _iterator__ex2g4s_1 = destination.r();
|
|
3303
3307
|
while (_iterator__ex2g4s_1.s()) {
|
|
3304
3308
|
var item = _iterator__ex2g4s_1.t();
|
|
3305
|
-
var name = this.
|
|
3306
|
-
if (!item.
|
|
3307
|
-
name = this.
|
|
3308
|
-
if (item.
|
|
3309
|
-
name = this.
|
|
3310
|
-
var tmp$ret$9 = item.
|
|
3309
|
+
var name = this.l1i(item.d1j_1);
|
|
3310
|
+
if (!item.f1j_1)
|
|
3311
|
+
name = this.b1j(name);
|
|
3312
|
+
if (item.g1j_1)
|
|
3313
|
+
name = this.i1j(name);
|
|
3314
|
+
var tmp$ret$9 = item.f1j_1 ? this.j1j(name) : this.c1j(name);
|
|
3311
3315
|
this_0.v(tmp$ret$9);
|
|
3312
3316
|
}
|
|
3313
3317
|
var tmp$ret$10;
|
|
@@ -3334,18 +3338,18 @@
|
|
|
3334
3338
|
tmp$ret$10 = false;
|
|
3335
3339
|
}
|
|
3336
3340
|
if (tmp$ret$10) {
|
|
3337
|
-
var commandMetavar = this.
|
|
3338
|
-
var argsMetavar = this.
|
|
3339
|
-
var repeatedArgs = this.
|
|
3340
|
-
this_0.v(this.
|
|
3341
|
+
var commandMetavar = this.l1i(this.o1i().k1j());
|
|
3342
|
+
var argsMetavar = this.l1i(this.o1i().l1j());
|
|
3343
|
+
var repeatedArgs = this.i1j(this.b1j(argsMetavar));
|
|
3344
|
+
this_0.v(this.c1j(commandMetavar + ' ' + repeatedArgs));
|
|
3341
3345
|
}
|
|
3342
3346
|
var tmp$ret$0 = this_0.f5();
|
|
3343
3347
|
return joinToString(tmp$ret$0, ' ');
|
|
3344
3348
|
};
|
|
3345
|
-
protoOf(AbstractHelpFormatter).
|
|
3349
|
+
protoOf(AbstractHelpFormatter).m1j = function (title) {
|
|
3346
3350
|
return title + ':';
|
|
3347
3351
|
};
|
|
3348
|
-
protoOf(AbstractHelpFormatter).
|
|
3352
|
+
protoOf(AbstractHelpFormatter).n1j = function (parameters) {
|
|
3349
3353
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3350
3354
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3351
3355
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3363,7 +3367,7 @@
|
|
|
3363
3367
|
var _iterator__ex2g4s_0 = destination.r();
|
|
3364
3368
|
while (_iterator__ex2g4s_0.s()) {
|
|
3365
3369
|
var element_0 = _iterator__ex2g4s_0.t();
|
|
3366
|
-
var tmp$ret$4 = element_0.
|
|
3370
|
+
var tmp$ret$4 = element_0.o1j_1;
|
|
3367
3371
|
destination_0.p2(tmp$ret$4, element_0);
|
|
3368
3372
|
}
|
|
3369
3373
|
var groupsByName = destination_0;
|
|
@@ -3383,7 +3387,7 @@
|
|
|
3383
3387
|
var _iterator__ex2g4s_2 = destination_1.r();
|
|
3384
3388
|
while (_iterator__ex2g4s_2.s()) {
|
|
3385
3389
|
var element_2 = _iterator__ex2g4s_2.t();
|
|
3386
|
-
var key = element_2.
|
|
3390
|
+
var key = element_2.y1j_1;
|
|
3387
3391
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3388
3392
|
var value = destination_2.m2(key);
|
|
3389
3393
|
var tmp;
|
|
@@ -3422,55 +3426,55 @@
|
|
|
3422
3426
|
var item = _iterator__ex2g4s_4.t();
|
|
3423
3427
|
var title = item.fa();
|
|
3424
3428
|
var params = item.ga();
|
|
3425
|
-
var renderedTitle = this.
|
|
3429
|
+
var renderedTitle = this.m1j(title == null ? this.o1i().z1j() : title);
|
|
3426
3430
|
// Inline function 'kotlin.collections.get' call
|
|
3427
3431
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).m2(title);
|
|
3428
|
-
var content = this.
|
|
3429
|
-
var tmp$ret$20 = new RenderedSection(this.
|
|
3432
|
+
var content = this.a1k(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p1j_1, params);
|
|
3433
|
+
var tmp$ret$20 = new RenderedSection(this.b1k(renderedTitle), content);
|
|
3430
3434
|
destination_4.v(tmp$ret$20);
|
|
3431
3435
|
}
|
|
3432
3436
|
return toList_0(destination_4);
|
|
3433
3437
|
};
|
|
3434
|
-
protoOf(AbstractHelpFormatter).
|
|
3438
|
+
protoOf(AbstractHelpFormatter).c1k = function (parameters) {
|
|
3435
3439
|
// Inline function 'kotlin.collections.buildList' call
|
|
3436
3440
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3437
3441
|
// Inline function 'kotlin.apply' call
|
|
3438
3442
|
var this_0 = ArrayList_init_$Create$();
|
|
3439
|
-
this_0.h1(this.
|
|
3440
|
-
this_0.h1(this.c1k(parameters));
|
|
3443
|
+
this_0.h1(this.n1j(parameters));
|
|
3441
3444
|
this_0.h1(this.d1k(parameters));
|
|
3445
|
+
this_0.h1(this.e1k(parameters));
|
|
3442
3446
|
return this_0.f5();
|
|
3443
3447
|
};
|
|
3444
|
-
protoOf(AbstractHelpFormatter).
|
|
3448
|
+
protoOf(AbstractHelpFormatter).f1k = function (it) {
|
|
3445
3449
|
var tmp;
|
|
3446
|
-
if (it.
|
|
3447
|
-
tmp = plus_0(listOf_0(this.
|
|
3450
|
+
if (it.w1j_1) {
|
|
3451
|
+
tmp = plus_0(listOf_0(this.g1k(it)), it.q1j_1);
|
|
3448
3452
|
} else {
|
|
3449
|
-
tmp = it.
|
|
3453
|
+
tmp = it.q1j_1;
|
|
3450
3454
|
}
|
|
3451
3455
|
var unjoinedNames = tmp;
|
|
3452
|
-
var names = mutableListOf([this.
|
|
3456
|
+
var names = mutableListOf([this.h1k(unjoinedNames)]);
|
|
3453
3457
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3454
|
-
if (!it.
|
|
3458
|
+
if (!it.r1j_1.p()) {
|
|
3455
3459
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3456
|
-
var element = this.
|
|
3460
|
+
var element = this.h1k(it.r1j_1);
|
|
3457
3461
|
names.v(element);
|
|
3458
3462
|
}
|
|
3459
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3460
|
-
var tmp_1 = this.
|
|
3463
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.i1k(it));
|
|
3464
|
+
var tmp_1 = this.j1k(it.t1j_1, it.v1j_1);
|
|
3461
3465
|
var tmp0_subject = 'required';
|
|
3462
3466
|
var tmp_2;
|
|
3463
3467
|
// Inline function 'kotlin.collections.contains' call
|
|
3464
3468
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3465
|
-
var this_0 = it.
|
|
3469
|
+
var this_0 = it.v1j_1;
|
|
3466
3470
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).k2(tmp0_subject)) {
|
|
3467
|
-
var tmp1_safe_receiver = this.
|
|
3471
|
+
var tmp1_safe_receiver = this.e1i_1;
|
|
3468
3472
|
var tmp_3;
|
|
3469
3473
|
if (tmp1_safe_receiver == null) {
|
|
3470
3474
|
tmp_3 = null;
|
|
3471
3475
|
} else {
|
|
3472
3476
|
// Inline function 'kotlin.let' call
|
|
3473
|
-
tmp_3 = this.
|
|
3477
|
+
tmp_3 = this.k1k(tmp1_safe_receiver);
|
|
3474
3478
|
}
|
|
3475
3479
|
tmp_2 = tmp_3;
|
|
3476
3480
|
} else {
|
|
@@ -3478,7 +3482,7 @@
|
|
|
3478
3482
|
}
|
|
3479
3483
|
return new DefinitionRow(tmp_0, tmp_1, tmp_2);
|
|
3480
3484
|
};
|
|
3481
|
-
protoOf(AbstractHelpFormatter).
|
|
3485
|
+
protoOf(AbstractHelpFormatter).d1k = function (parameters) {
|
|
3482
3486
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3483
3487
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3484
3488
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3495,7 +3499,7 @@
|
|
|
3495
3499
|
var _iterator__ex2g4s_0 = destination.r();
|
|
3496
3500
|
while (_iterator__ex2g4s_0.s()) {
|
|
3497
3501
|
var item = _iterator__ex2g4s_0.t();
|
|
3498
|
-
var tmp$ret$4 = new DefinitionRow(this.
|
|
3502
|
+
var tmp$ret$4 = new DefinitionRow(this.m1i(this.l1i(item.d1j_1)), this.j1k(item.e1j_1, item.h1j_1));
|
|
3499
3503
|
destination_0.v(tmp$ret$4);
|
|
3500
3504
|
}
|
|
3501
3505
|
var arguments_0 = destination_0;
|
|
@@ -3520,7 +3524,7 @@
|
|
|
3520
3524
|
while (_iterator__ex2g4s_1.s()) {
|
|
3521
3525
|
var element_0 = _iterator__ex2g4s_1.t();
|
|
3522
3526
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3523
|
-
var this_0 = element_0.
|
|
3527
|
+
var this_0 = element_0.z1h_1;
|
|
3524
3528
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3525
3529
|
tmp$ret$5 = false;
|
|
3526
3530
|
break $l$block_0;
|
|
@@ -3532,10 +3536,10 @@
|
|
|
3532
3536
|
}
|
|
3533
3537
|
if (tmp)
|
|
3534
3538
|
return emptyList();
|
|
3535
|
-
var title = this.
|
|
3536
|
-
return listOf_0(new RenderedSection(title, this.
|
|
3539
|
+
var title = this.b1k(this.m1j(this.o1i().l1k()));
|
|
3540
|
+
return listOf_0(new RenderedSection(title, this.m1k(arguments_0)));
|
|
3537
3541
|
};
|
|
3538
|
-
protoOf(AbstractHelpFormatter).
|
|
3542
|
+
protoOf(AbstractHelpFormatter).e1k = function (parameters) {
|
|
3539
3543
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3540
3544
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3541
3545
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3552,16 +3556,16 @@
|
|
|
3552
3556
|
var _iterator__ex2g4s_0 = destination.r();
|
|
3553
3557
|
while (_iterator__ex2g4s_0.s()) {
|
|
3554
3558
|
var item = _iterator__ex2g4s_0.t();
|
|
3555
|
-
var tmp$ret$4 = new DefinitionRow(this.
|
|
3559
|
+
var tmp$ret$4 = new DefinitionRow(this.n1i(item.n1k_1), this.j1k(item.o1k_1, item.p1k_1));
|
|
3556
3560
|
destination_0.v(tmp$ret$4);
|
|
3557
3561
|
}
|
|
3558
3562
|
var commands = destination_0;
|
|
3559
3563
|
if (commands.p())
|
|
3560
3564
|
return emptyList();
|
|
3561
|
-
var title = this.
|
|
3562
|
-
return listOf_0(new RenderedSection(title, this.
|
|
3565
|
+
var title = this.b1k(this.m1j(this.o1i().q1k()));
|
|
3566
|
+
return listOf_0(new RenderedSection(title, this.m1k(commands)));
|
|
3563
3567
|
};
|
|
3564
|
-
protoOf(AbstractHelpFormatter).
|
|
3568
|
+
protoOf(AbstractHelpFormatter).j1k = function (help, tags) {
|
|
3565
3569
|
var tmp = asSequence(tags);
|
|
3566
3570
|
var tmp_0 = filter(tmp, AbstractHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3567
3571
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, AbstractHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3579,12 +3583,12 @@
|
|
|
3579
3583
|
}
|
|
3580
3584
|
return tmp_1;
|
|
3581
3585
|
};
|
|
3582
|
-
protoOf(AbstractHelpFormatter).
|
|
3586
|
+
protoOf(AbstractHelpFormatter).h1i = function (tag, value) {
|
|
3583
3587
|
var tmp;
|
|
3584
3588
|
switch (tag) {
|
|
3585
3589
|
case 'default':
|
|
3586
3590
|
var tmp_0;
|
|
3587
|
-
if (this.
|
|
3591
|
+
if (this.f1i_1) {
|
|
3588
3592
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3589
3593
|
tmp_0 = !isBlank(value);
|
|
3590
3594
|
} else {
|
|
@@ -3594,7 +3598,7 @@
|
|
|
3594
3598
|
tmp = tmp_0;
|
|
3595
3599
|
break;
|
|
3596
3600
|
case 'required':
|
|
3597
|
-
tmp = this.
|
|
3601
|
+
tmp = this.g1i_1;
|
|
3598
3602
|
break;
|
|
3599
3603
|
default:
|
|
3600
3604
|
tmp = true;
|
|
@@ -3602,7 +3606,7 @@
|
|
|
3602
3606
|
}
|
|
3603
3607
|
return tmp;
|
|
3604
3608
|
};
|
|
3605
|
-
protoOf(AbstractHelpFormatter).
|
|
3609
|
+
protoOf(AbstractHelpFormatter).h1k = function (names) {
|
|
3606
3610
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3607
3611
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3608
3612
|
var tmp = AbstractHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3610,79 +3614,79 @@
|
|
|
3610
3614
|
var tmp_0 = sortedWith(names, tmp$ret$1);
|
|
3611
3615
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, AbstractHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3612
3616
|
};
|
|
3613
|
-
protoOf(AbstractHelpFormatter).
|
|
3617
|
+
protoOf(AbstractHelpFormatter).i1i = function (tag, value) {
|
|
3614
3618
|
var t;
|
|
3615
3619
|
switch (tag) {
|
|
3616
3620
|
case 'default':
|
|
3617
|
-
t = this.
|
|
3621
|
+
t = this.o1i().r1k();
|
|
3618
3622
|
break;
|
|
3619
3623
|
case 'required':
|
|
3620
|
-
t = this.
|
|
3624
|
+
t = this.o1i().s1k();
|
|
3621
3625
|
break;
|
|
3622
3626
|
default:
|
|
3623
3627
|
t = tag;
|
|
3624
3628
|
break;
|
|
3625
3629
|
}
|
|
3626
3630
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3627
|
-
return tag === 'required' ? this.
|
|
3631
|
+
return tag === 'required' ? this.k1k(fullTag) : this.t1k(fullTag);
|
|
3628
3632
|
};
|
|
3629
|
-
protoOf(AbstractHelpFormatter).
|
|
3630
|
-
var tmp0_elvis_lhs = option.
|
|
3631
|
-
var metavar = this.
|
|
3632
|
-
return toString(first(first_1(option.
|
|
3633
|
+
protoOf(AbstractHelpFormatter).g1k = function (option) {
|
|
3634
|
+
var tmp0_elvis_lhs = option.s1j_1;
|
|
3635
|
+
var metavar = this.l1i(tmp0_elvis_lhs == null ? this.o1i().u1k() : tmp0_elvis_lhs);
|
|
3636
|
+
return toString(first(first_1(option.q1j_1))) + metavar;
|
|
3633
3637
|
};
|
|
3634
|
-
protoOf(AbstractHelpFormatter).
|
|
3638
|
+
protoOf(AbstractHelpFormatter).l1i = function (name) {
|
|
3635
3639
|
// Inline function 'kotlin.text.lowercase' call
|
|
3636
3640
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3637
3641
|
return '<' + name.toLowerCase() + '>';
|
|
3638
3642
|
};
|
|
3639
|
-
protoOf(AbstractHelpFormatter).
|
|
3643
|
+
protoOf(AbstractHelpFormatter).k1k = function (name) {
|
|
3640
3644
|
return name;
|
|
3641
3645
|
};
|
|
3642
|
-
protoOf(AbstractHelpFormatter).
|
|
3646
|
+
protoOf(AbstractHelpFormatter).t1k = function (name) {
|
|
3643
3647
|
return name;
|
|
3644
3648
|
};
|
|
3645
|
-
protoOf(AbstractHelpFormatter).
|
|
3649
|
+
protoOf(AbstractHelpFormatter).j1i = function (name) {
|
|
3646
3650
|
return name;
|
|
3647
3651
|
};
|
|
3648
|
-
protoOf(AbstractHelpFormatter).
|
|
3652
|
+
protoOf(AbstractHelpFormatter).m1i = function (name) {
|
|
3649
3653
|
return name;
|
|
3650
3654
|
};
|
|
3651
|
-
protoOf(AbstractHelpFormatter).
|
|
3655
|
+
protoOf(AbstractHelpFormatter).n1i = function (name) {
|
|
3652
3656
|
return name;
|
|
3653
3657
|
};
|
|
3654
|
-
protoOf(AbstractHelpFormatter).
|
|
3658
|
+
protoOf(AbstractHelpFormatter).b1k = function (title) {
|
|
3655
3659
|
return title;
|
|
3656
3660
|
};
|
|
3657
|
-
protoOf(AbstractHelpFormatter).
|
|
3661
|
+
protoOf(AbstractHelpFormatter).x1i = function (title) {
|
|
3658
3662
|
return title;
|
|
3659
3663
|
};
|
|
3660
|
-
protoOf(AbstractHelpFormatter).
|
|
3664
|
+
protoOf(AbstractHelpFormatter).v1k = function (metavar) {
|
|
3661
3665
|
return metavar;
|
|
3662
3666
|
};
|
|
3663
|
-
protoOf(AbstractHelpFormatter).
|
|
3667
|
+
protoOf(AbstractHelpFormatter).c1j = function (parameter) {
|
|
3664
3668
|
return parameter;
|
|
3665
3669
|
};
|
|
3666
|
-
protoOf(AbstractHelpFormatter).
|
|
3670
|
+
protoOf(AbstractHelpFormatter).j1j = function (parameter) {
|
|
3667
3671
|
return parameter;
|
|
3668
3672
|
};
|
|
3669
|
-
protoOf(AbstractHelpFormatter).
|
|
3673
|
+
protoOf(AbstractHelpFormatter).y1i = function (context) {
|
|
3670
3674
|
return new AbstractHelpFormatter$parameterFormatter$1(this);
|
|
3671
3675
|
};
|
|
3672
|
-
protoOf(AbstractHelpFormatter).
|
|
3676
|
+
protoOf(AbstractHelpFormatter).b1j = function (metavar) {
|
|
3673
3677
|
return '[' + metavar + ']';
|
|
3674
3678
|
};
|
|
3675
|
-
protoOf(AbstractHelpFormatter).
|
|
3679
|
+
protoOf(AbstractHelpFormatter).i1j = function (metavar) {
|
|
3676
3680
|
return metavar + '...';
|
|
3677
3681
|
};
|
|
3678
|
-
protoOf(AbstractHelpFormatter).
|
|
3682
|
+
protoOf(AbstractHelpFormatter).w1k = function (metavar) {
|
|
3679
3683
|
return '=' + metavar;
|
|
3680
3684
|
};
|
|
3681
|
-
protoOf(AbstractHelpFormatter).
|
|
3682
|
-
if (option.
|
|
3685
|
+
protoOf(AbstractHelpFormatter).i1k = function (option) {
|
|
3686
|
+
if (option.s1j_1 == null)
|
|
3683
3687
|
return '';
|
|
3684
3688
|
// Inline function 'kotlin.text.trim' call
|
|
3685
|
-
var this_0 = option.
|
|
3689
|
+
var this_0 = option.s1j_1;
|
|
3686
3690
|
// Inline function 'kotlin.text.trim' call
|
|
3687
3691
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3688
3692
|
var startIndex = 0;
|
|
@@ -3707,40 +3711,40 @@
|
|
|
3707
3711
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3708
3712
|
var metavar = toString_0(tmp$ret$1);
|
|
3709
3713
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3710
|
-
metavar = this.
|
|
3711
|
-
metavar = this.u1k(metavar);
|
|
3712
|
-
if (option.t1j_1.p1_1 > 1)
|
|
3713
|
-
metavar = this.h1j(metavar);
|
|
3714
|
+
metavar = this.l1i(metavar);
|
|
3714
3715
|
metavar = this.v1k(metavar);
|
|
3715
|
-
if (option.
|
|
3716
|
-
metavar = this.
|
|
3716
|
+
if (option.u1j_1.p1_1 > 1)
|
|
3717
|
+
metavar = this.i1j(metavar);
|
|
3718
|
+
metavar = this.w1k(metavar);
|
|
3719
|
+
if (option.u1j_1.o1_1 === 0)
|
|
3720
|
+
metavar = this.b1j(metavar);
|
|
3717
3721
|
return metavar;
|
|
3718
3722
|
};
|
|
3719
3723
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
3720
3724
|
ParameterHelp.call(this);
|
|
3721
|
-
this.
|
|
3722
|
-
this.
|
|
3723
|
-
this.
|
|
3724
|
-
this.
|
|
3725
|
-
this.
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3728
|
-
this.
|
|
3729
|
-
this.
|
|
3725
|
+
this.q1j_1 = names;
|
|
3726
|
+
this.r1j_1 = secondaryNames;
|
|
3727
|
+
this.s1j_1 = metavar;
|
|
3728
|
+
this.t1j_1 = help;
|
|
3729
|
+
this.u1j_1 = nvalues;
|
|
3730
|
+
this.v1j_1 = tags;
|
|
3731
|
+
this.w1j_1 = acceptsNumberValueWithoutName;
|
|
3732
|
+
this.x1j_1 = acceptsUnattachedValue;
|
|
3733
|
+
this.y1j_1 = groupName;
|
|
3730
3734
|
}
|
|
3731
3735
|
protoOf(Option).toString = function () {
|
|
3732
|
-
return 'Option(names=' + toString_0(this.
|
|
3736
|
+
return 'Option(names=' + toString_0(this.q1j_1) + ', secondaryNames=' + toString_0(this.r1j_1) + ', metavar=' + this.s1j_1 + ', help=' + this.t1j_1 + ', nvalues=' + this.u1j_1.toString() + ', tags=' + toString_0(this.v1j_1) + ', acceptsNumberValueWithoutName=' + this.w1j_1 + ', acceptsUnattachedValue=' + this.x1j_1 + ', groupName=' + this.y1j_1 + ')';
|
|
3733
3737
|
};
|
|
3734
3738
|
protoOf(Option).hashCode = function () {
|
|
3735
|
-
var result = hashCode(this.
|
|
3736
|
-
result = imul(result, 31) + hashCode(this.
|
|
3737
|
-
result = imul(result, 31) + (this.
|
|
3738
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3739
|
-
result = imul(result, 31) + this.
|
|
3740
|
-
result = imul(result, 31) + hashCode(this.
|
|
3741
|
-
result = imul(result, 31) + getBooleanHashCode(this.v1j_1) | 0;
|
|
3739
|
+
var result = hashCode(this.q1j_1);
|
|
3740
|
+
result = imul(result, 31) + hashCode(this.r1j_1) | 0;
|
|
3741
|
+
result = imul(result, 31) + (this.s1j_1 == null ? 0 : getStringHashCode(this.s1j_1)) | 0;
|
|
3742
|
+
result = imul(result, 31) + getStringHashCode(this.t1j_1) | 0;
|
|
3743
|
+
result = imul(result, 31) + this.u1j_1.hashCode() | 0;
|
|
3744
|
+
result = imul(result, 31) + hashCode(this.v1j_1) | 0;
|
|
3742
3745
|
result = imul(result, 31) + getBooleanHashCode(this.w1j_1) | 0;
|
|
3743
|
-
result = imul(result, 31) + (this.x1j_1
|
|
3746
|
+
result = imul(result, 31) + getBooleanHashCode(this.x1j_1) | 0;
|
|
3747
|
+
result = imul(result, 31) + (this.y1j_1 == null ? 0 : getStringHashCode(this.y1j_1)) | 0;
|
|
3744
3748
|
return result;
|
|
3745
3749
|
};
|
|
3746
3750
|
protoOf(Option).equals = function (other) {
|
|
@@ -3748,43 +3752,43 @@
|
|
|
3748
3752
|
return true;
|
|
3749
3753
|
if (!(other instanceof Option))
|
|
3750
3754
|
return false;
|
|
3751
|
-
if (!equals(this.p1j_1, other.p1j_1))
|
|
3752
|
-
return false;
|
|
3753
3755
|
if (!equals(this.q1j_1, other.q1j_1))
|
|
3754
3756
|
return false;
|
|
3755
|
-
if (!(this.r1j_1
|
|
3757
|
+
if (!equals(this.r1j_1, other.r1j_1))
|
|
3756
3758
|
return false;
|
|
3757
|
-
if (!(this.s1j_1
|
|
3759
|
+
if (!(this.s1j_1 == other.s1j_1))
|
|
3758
3760
|
return false;
|
|
3759
|
-
if (!this.t1j_1
|
|
3761
|
+
if (!(this.t1j_1 === other.t1j_1))
|
|
3760
3762
|
return false;
|
|
3761
|
-
if (!
|
|
3763
|
+
if (!this.u1j_1.equals(other.u1j_1))
|
|
3762
3764
|
return false;
|
|
3763
|
-
if (!(this.v1j_1
|
|
3765
|
+
if (!equals(this.v1j_1, other.v1j_1))
|
|
3764
3766
|
return false;
|
|
3765
3767
|
if (!(this.w1j_1 === other.w1j_1))
|
|
3766
3768
|
return false;
|
|
3767
|
-
if (!(this.x1j_1
|
|
3769
|
+
if (!(this.x1j_1 === other.x1j_1))
|
|
3770
|
+
return false;
|
|
3771
|
+
if (!(this.y1j_1 == other.y1j_1))
|
|
3768
3772
|
return false;
|
|
3769
3773
|
return true;
|
|
3770
3774
|
};
|
|
3771
3775
|
function Argument(name, help, required, repeatable, tags) {
|
|
3772
3776
|
ParameterHelp.call(this);
|
|
3773
|
-
this.
|
|
3774
|
-
this.
|
|
3775
|
-
this.
|
|
3776
|
-
this.
|
|
3777
|
-
this.
|
|
3777
|
+
this.d1j_1 = name;
|
|
3778
|
+
this.e1j_1 = help;
|
|
3779
|
+
this.f1j_1 = required;
|
|
3780
|
+
this.g1j_1 = repeatable;
|
|
3781
|
+
this.h1j_1 = tags;
|
|
3778
3782
|
}
|
|
3779
3783
|
protoOf(Argument).toString = function () {
|
|
3780
|
-
return 'Argument(name=' + this.
|
|
3784
|
+
return 'Argument(name=' + this.d1j_1 + ', help=' + this.e1j_1 + ', required=' + this.f1j_1 + ', repeatable=' + this.g1j_1 + ', tags=' + toString_0(this.h1j_1) + ')';
|
|
3781
3785
|
};
|
|
3782
3786
|
protoOf(Argument).hashCode = function () {
|
|
3783
|
-
var result = getStringHashCode(this.
|
|
3784
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3785
|
-
result = imul(result, 31) + getBooleanHashCode(this.e1j_1) | 0;
|
|
3787
|
+
var result = getStringHashCode(this.d1j_1);
|
|
3788
|
+
result = imul(result, 31) + getStringHashCode(this.e1j_1) | 0;
|
|
3786
3789
|
result = imul(result, 31) + getBooleanHashCode(this.f1j_1) | 0;
|
|
3787
|
-
result = imul(result, 31) +
|
|
3790
|
+
result = imul(result, 31) + getBooleanHashCode(this.g1j_1) | 0;
|
|
3791
|
+
result = imul(result, 31) + hashCode(this.h1j_1) | 0;
|
|
3788
3792
|
return result;
|
|
3789
3793
|
};
|
|
3790
3794
|
protoOf(Argument).equals = function (other) {
|
|
@@ -3792,31 +3796,31 @@
|
|
|
3792
3796
|
return true;
|
|
3793
3797
|
if (!(other instanceof Argument))
|
|
3794
3798
|
return false;
|
|
3795
|
-
if (!(this.c1j_1 === other.c1j_1))
|
|
3796
|
-
return false;
|
|
3797
3799
|
if (!(this.d1j_1 === other.d1j_1))
|
|
3798
3800
|
return false;
|
|
3799
3801
|
if (!(this.e1j_1 === other.e1j_1))
|
|
3800
3802
|
return false;
|
|
3801
3803
|
if (!(this.f1j_1 === other.f1j_1))
|
|
3802
3804
|
return false;
|
|
3803
|
-
if (!
|
|
3805
|
+
if (!(this.g1j_1 === other.g1j_1))
|
|
3806
|
+
return false;
|
|
3807
|
+
if (!equals(this.h1j_1, other.h1j_1))
|
|
3804
3808
|
return false;
|
|
3805
3809
|
return true;
|
|
3806
3810
|
};
|
|
3807
3811
|
function Subcommand(name, help, tags) {
|
|
3808
3812
|
ParameterHelp.call(this);
|
|
3809
|
-
this.
|
|
3810
|
-
this.
|
|
3811
|
-
this.
|
|
3813
|
+
this.n1k_1 = name;
|
|
3814
|
+
this.o1k_1 = help;
|
|
3815
|
+
this.p1k_1 = tags;
|
|
3812
3816
|
}
|
|
3813
3817
|
protoOf(Subcommand).toString = function () {
|
|
3814
|
-
return 'Subcommand(name=' + this.
|
|
3818
|
+
return 'Subcommand(name=' + this.n1k_1 + ', help=' + this.o1k_1 + ', tags=' + toString_0(this.p1k_1) + ')';
|
|
3815
3819
|
};
|
|
3816
3820
|
protoOf(Subcommand).hashCode = function () {
|
|
3817
|
-
var result = getStringHashCode(this.
|
|
3818
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3819
|
-
result = imul(result, 31) + hashCode(this.
|
|
3821
|
+
var result = getStringHashCode(this.n1k_1);
|
|
3822
|
+
result = imul(result, 31) + getStringHashCode(this.o1k_1) | 0;
|
|
3823
|
+
result = imul(result, 31) + hashCode(this.p1k_1) | 0;
|
|
3820
3824
|
return result;
|
|
3821
3825
|
};
|
|
3822
3826
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -3824,25 +3828,25 @@
|
|
|
3824
3828
|
return true;
|
|
3825
3829
|
if (!(other instanceof Subcommand))
|
|
3826
3830
|
return false;
|
|
3827
|
-
if (!(this.m1k_1 === other.m1k_1))
|
|
3828
|
-
return false;
|
|
3829
3831
|
if (!(this.n1k_1 === other.n1k_1))
|
|
3830
3832
|
return false;
|
|
3831
|
-
if (!
|
|
3833
|
+
if (!(this.o1k_1 === other.o1k_1))
|
|
3834
|
+
return false;
|
|
3835
|
+
if (!equals(this.p1k_1, other.p1k_1))
|
|
3832
3836
|
return false;
|
|
3833
3837
|
return true;
|
|
3834
3838
|
};
|
|
3835
3839
|
function Group_0(name, help) {
|
|
3836
3840
|
ParameterHelp.call(this);
|
|
3837
|
-
this.
|
|
3838
|
-
this.
|
|
3841
|
+
this.o1j_1 = name;
|
|
3842
|
+
this.p1j_1 = help;
|
|
3839
3843
|
}
|
|
3840
3844
|
protoOf(Group_0).toString = function () {
|
|
3841
|
-
return 'Group(name=' + this.
|
|
3845
|
+
return 'Group(name=' + this.o1j_1 + ', help=' + this.p1j_1 + ')';
|
|
3842
3846
|
};
|
|
3843
3847
|
protoOf(Group_0).hashCode = function () {
|
|
3844
|
-
var result = getStringHashCode(this.
|
|
3845
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3848
|
+
var result = getStringHashCode(this.o1j_1);
|
|
3849
|
+
result = imul(result, 31) + getStringHashCode(this.p1j_1) | 0;
|
|
3846
3850
|
return result;
|
|
3847
3851
|
};
|
|
3848
3852
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -3850,10 +3854,10 @@
|
|
|
3850
3854
|
return true;
|
|
3851
3855
|
if (!(other instanceof Group_0))
|
|
3852
3856
|
return false;
|
|
3853
|
-
if (!(this.n1j_1 === other.n1j_1))
|
|
3854
|
-
return false;
|
|
3855
3857
|
if (!(this.o1j_1 === other.o1j_1))
|
|
3856
3858
|
return false;
|
|
3859
|
+
if (!(this.p1j_1 === other.p1j_1))
|
|
3860
|
+
return false;
|
|
3857
3861
|
return true;
|
|
3858
3862
|
};
|
|
3859
3863
|
function ParameterHelp() {
|
|
@@ -3891,9 +3895,9 @@
|
|
|
3891
3895
|
}
|
|
3892
3896
|
function PlaintextHelpFormatter$buildParameterList$lambda(this$0, $termLength) {
|
|
3893
3897
|
return function (it) {
|
|
3894
|
-
var term = this$0.
|
|
3898
|
+
var term = this$0.h1l(it);
|
|
3895
3899
|
// Inline function 'kotlin.text.ifBlank' call
|
|
3896
|
-
var this_0 = this$0.
|
|
3900
|
+
var this_0 = this$0.i1l(it);
|
|
3897
3901
|
var tmp;
|
|
3898
3902
|
if (isBlank(this_0)) {
|
|
3899
3903
|
tmp = null;
|
|
@@ -3912,15 +3916,15 @@
|
|
|
3912
3916
|
AbstractHelpFormatter.call(this, context, requiredOptionMarker, showDefaultValues, showRequiredTag);
|
|
3913
3917
|
}
|
|
3914
3918
|
protoOf(PlaintextHelpFormatter).t1b = function (error, prolog, epilog, parameters, programName) {
|
|
3915
|
-
var parts = this.
|
|
3919
|
+
var parts = this.p1i(error, prolog, epilog, parameters, programName);
|
|
3916
3920
|
return joinToString(parts, '\n\n');
|
|
3917
3921
|
};
|
|
3918
|
-
protoOf(PlaintextHelpFormatter).
|
|
3919
|
-
return this.
|
|
3922
|
+
protoOf(PlaintextHelpFormatter).r1i = function (parameters, error) {
|
|
3923
|
+
return this.v1i(parameters, error);
|
|
3920
3924
|
};
|
|
3921
|
-
protoOf(PlaintextHelpFormatter).
|
|
3922
|
-
var params = this.
|
|
3923
|
-
var title = this.
|
|
3925
|
+
protoOf(PlaintextHelpFormatter).q1i = function (parameters, programName) {
|
|
3926
|
+
var params = this.z1i(parameters);
|
|
3927
|
+
var title = this.o1i().c1l();
|
|
3924
3928
|
var tmp;
|
|
3925
3929
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3926
3930
|
if (charSequenceLength(params) === 0) {
|
|
@@ -3930,18 +3934,18 @@
|
|
|
3930
3934
|
}
|
|
3931
3935
|
return tmp;
|
|
3932
3936
|
};
|
|
3933
|
-
protoOf(PlaintextHelpFormatter).
|
|
3937
|
+
protoOf(PlaintextHelpFormatter).s1i = function (prolog) {
|
|
3934
3938
|
var tmp = lineSequence(prolog);
|
|
3935
3939
|
return joinToString_0(tmp, '\n', VOID, VOID, VOID, VOID, PlaintextHelpFormatter$renderProlog$lambda);
|
|
3936
3940
|
};
|
|
3937
|
-
protoOf(PlaintextHelpFormatter).
|
|
3941
|
+
protoOf(PlaintextHelpFormatter).u1i = function (epilog) {
|
|
3938
3942
|
return epilog;
|
|
3939
3943
|
};
|
|
3940
|
-
protoOf(PlaintextHelpFormatter).
|
|
3941
|
-
var tmp = this.
|
|
3944
|
+
protoOf(PlaintextHelpFormatter).t1i = function (parameters) {
|
|
3945
|
+
var tmp = this.c1k(parameters);
|
|
3942
3946
|
return joinToString(tmp, '\n\n', VOID, VOID, VOID, VOID, PlaintextHelpFormatter$renderParameters$lambda);
|
|
3943
3947
|
};
|
|
3944
|
-
protoOf(PlaintextHelpFormatter).
|
|
3948
|
+
protoOf(PlaintextHelpFormatter).a1k = function (help, parameters) {
|
|
3945
3949
|
// Inline function 'kotlin.text.buildString' call
|
|
3946
3950
|
// Inline function 'kotlin.apply' call
|
|
3947
3951
|
var this_0 = StringBuilder_init_$Create$();
|
|
@@ -3960,22 +3964,22 @@
|
|
|
3960
3964
|
var _iterator__ex2g4s = parameters.r();
|
|
3961
3965
|
while (_iterator__ex2g4s.s()) {
|
|
3962
3966
|
var item = _iterator__ex2g4s.t();
|
|
3963
|
-
var tmp$ret$9 = this.
|
|
3967
|
+
var tmp$ret$9 = this.f1k(item);
|
|
3964
3968
|
destination.v(tmp$ret$9);
|
|
3965
3969
|
}
|
|
3966
3970
|
var options = destination;
|
|
3967
|
-
this_0.o(this.
|
|
3971
|
+
this_0.o(this.m1k(options));
|
|
3968
3972
|
return this_0.toString();
|
|
3969
3973
|
};
|
|
3970
|
-
protoOf(PlaintextHelpFormatter).
|
|
3974
|
+
protoOf(PlaintextHelpFormatter).h1l = function (row) {
|
|
3971
3975
|
var tmp;
|
|
3972
3976
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3973
|
-
var this_0 = row.
|
|
3977
|
+
var this_0 = row.a1i_1;
|
|
3974
3978
|
if (this_0 == null || charSequenceLength(this_0) === 0) {
|
|
3975
3979
|
tmp = ' ';
|
|
3976
3980
|
} else {
|
|
3977
3981
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3978
|
-
var this_1 = drop(' ', row.
|
|
3982
|
+
var this_1 = drop(' ', row.a1i_1.length);
|
|
3979
3983
|
var tmp_0;
|
|
3980
3984
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3981
3985
|
if (charSequenceLength(this_1) === 0) {
|
|
@@ -3984,15 +3988,15 @@
|
|
|
3984
3988
|
tmp_0 = this_1;
|
|
3985
3989
|
}
|
|
3986
3990
|
var tmp$ret$1 = tmp_0;
|
|
3987
|
-
tmp = row.
|
|
3991
|
+
tmp = row.a1i_1 + tmp$ret$1;
|
|
3988
3992
|
}
|
|
3989
3993
|
var termPrefix = tmp;
|
|
3990
|
-
return termPrefix + row.
|
|
3994
|
+
return termPrefix + row.y1h_1;
|
|
3991
3995
|
};
|
|
3992
|
-
protoOf(PlaintextHelpFormatter).
|
|
3993
|
-
return row.
|
|
3996
|
+
protoOf(PlaintextHelpFormatter).i1l = function (row) {
|
|
3997
|
+
return row.z1h_1;
|
|
3994
3998
|
};
|
|
3995
|
-
protoOf(PlaintextHelpFormatter).
|
|
3999
|
+
protoOf(PlaintextHelpFormatter).m1k = function (rows) {
|
|
3996
4000
|
var tmp$ret$0;
|
|
3997
4001
|
$l$block: {
|
|
3998
4002
|
// Inline function 'kotlin.collections.maxOfOrNull' call
|
|
@@ -4001,9 +4005,9 @@
|
|
|
4001
4005
|
tmp$ret$0 = null;
|
|
4002
4006
|
break $l$block;
|
|
4003
4007
|
}
|
|
4004
|
-
var maxValue = iterator.t().
|
|
4008
|
+
var maxValue = iterator.t().y1h_1.length;
|
|
4005
4009
|
while (iterator.s()) {
|
|
4006
|
-
var v = iterator.t().
|
|
4010
|
+
var v = iterator.t().y1h_1.length;
|
|
4007
4011
|
if (compareTo(maxValue, v) < 0) {
|
|
4008
4012
|
maxValue = v;
|
|
4009
4013
|
}
|
|
@@ -4030,41 +4034,41 @@
|
|
|
4030
4034
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
4031
4035
|
}
|
|
4032
4036
|
function ArgumentTransformContext(argument, context) {
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4037
|
+
this.r1l_1 = argument;
|
|
4038
|
+
this.s1l_1 = context;
|
|
4035
4039
|
}
|
|
4036
4040
|
protoOf(ArgumentTransformContext).y8 = function () {
|
|
4037
|
-
return this.
|
|
4041
|
+
return this.s1l_1;
|
|
4038
4042
|
};
|
|
4039
|
-
protoOf(ArgumentTransformContext).
|
|
4040
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
4043
|
+
protoOf(ArgumentTransformContext).t1l = function (message) {
|
|
4044
|
+
throw BadParameterValue_init_$Create$(message, this.r1l_1);
|
|
4041
4045
|
};
|
|
4042
4046
|
protoOf(ArgumentTransformContext).k = function () {
|
|
4043
|
-
return this.
|
|
4047
|
+
return this.r1l_1.k();
|
|
4044
4048
|
};
|
|
4045
4049
|
protoOf(ArgumentTransformContext).h1a = function () {
|
|
4046
|
-
return this.
|
|
4050
|
+
return this.r1l_1.h1a();
|
|
4047
4051
|
};
|
|
4048
|
-
protoOf(ArgumentTransformContext).
|
|
4049
|
-
return this.
|
|
4052
|
+
protoOf(ArgumentTransformContext).j1l = function () {
|
|
4053
|
+
return this.r1l_1.j1l();
|
|
4050
4054
|
};
|
|
4051
4055
|
protoOf(ArgumentTransformContext).r1a = function (context) {
|
|
4052
|
-
return this.
|
|
4056
|
+
return this.r1l_1.r1a(context);
|
|
4053
4057
|
};
|
|
4054
4058
|
protoOf(ArgumentTransformContext).y1a = function () {
|
|
4055
|
-
return this.
|
|
4059
|
+
return this.r1l_1.y1a();
|
|
4056
4060
|
};
|
|
4057
4061
|
protoOf(ArgumentTransformContext).g1a = function () {
|
|
4058
|
-
return this.
|
|
4062
|
+
return this.r1l_1.g1a();
|
|
4059
4063
|
};
|
|
4060
4064
|
protoOf(ArgumentTransformContext).j1b = function (context) {
|
|
4061
|
-
return this.
|
|
4065
|
+
return this.r1l_1.j1b(context);
|
|
4062
4066
|
};
|
|
4063
|
-
protoOf(ArgumentTransformContext).
|
|
4064
|
-
this.
|
|
4067
|
+
protoOf(ArgumentTransformContext).v1h = function (context, values) {
|
|
4068
|
+
this.r1l_1.v1h(context, values);
|
|
4065
4069
|
};
|
|
4066
|
-
protoOf(ArgumentTransformContext).
|
|
4067
|
-
this.
|
|
4070
|
+
protoOf(ArgumentTransformContext).k1h = function (context) {
|
|
4071
|
+
this.r1l_1.k1h(context);
|
|
4068
4072
|
};
|
|
4069
4073
|
function transformAll(_this__u8e3s4, nvalues, required, defaultForHelp, transform) {
|
|
4070
4074
|
nvalues = nvalues === VOID ? null : nvalues;
|
|
@@ -4076,10 +4080,10 @@
|
|
|
4076
4080
|
tags.p2('default', defaultForHelp);
|
|
4077
4081
|
} else
|
|
4078
4082
|
tags.q2('default');
|
|
4079
|
-
var tmp = _this__u8e3s4.
|
|
4083
|
+
var tmp = _this__u8e3s4.l1l();
|
|
4080
4084
|
var tmp_0 = defaultValidator();
|
|
4081
4085
|
var tmp_1 = nvalues == null ? _this__u8e3s4.h1a() : nvalues;
|
|
4082
|
-
return _this__u8e3s4.
|
|
4086
|
+
return _this__u8e3s4.p1l(tmp, transform, tmp_0, VOID, tmp_1, required == null ? _this__u8e3s4.j1l() : required, VOID, tags);
|
|
4083
4087
|
}
|
|
4084
4088
|
function ProcessedArgumentImpl$_get_value_$ref_enmq3a() {
|
|
4085
4089
|
return function (p0) {
|
|
@@ -4088,7 +4092,7 @@
|
|
|
4088
4092
|
}
|
|
4089
4093
|
function ProcessedArgumentImpl$_set_value_$ref_en7qba() {
|
|
4090
4094
|
return function (p0, p1) {
|
|
4091
|
-
p0.
|
|
4095
|
+
p0.e1m(p1);
|
|
4092
4096
|
return Unit_instance;
|
|
4093
4097
|
};
|
|
4094
4098
|
}
|
|
@@ -4099,99 +4103,99 @@
|
|
|
4099
4103
|
}
|
|
4100
4104
|
function ProcessedArgumentImpl$_set_value_$ref_en7qba_0() {
|
|
4101
4105
|
return function (p0, p1) {
|
|
4102
|
-
p0.
|
|
4106
|
+
p0.e1m(p1);
|
|
4103
4107
|
return Unit_instance;
|
|
4104
4108
|
};
|
|
4105
4109
|
}
|
|
4106
4110
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
4107
|
-
this.
|
|
4108
|
-
this.
|
|
4109
|
-
this.
|
|
4110
|
-
this.
|
|
4111
|
-
this.
|
|
4112
|
-
this.
|
|
4113
|
-
this.
|
|
4114
|
-
this.
|
|
4115
|
-
this.
|
|
4111
|
+
this.u1l_1 = name;
|
|
4112
|
+
this.v1l_1 = nvalues;
|
|
4113
|
+
this.w1l_1 = required;
|
|
4114
|
+
this.x1l_1 = helpGetter;
|
|
4115
|
+
this.y1l_1 = helpTags;
|
|
4116
|
+
this.z1l_1 = explicitCompletionCandidates;
|
|
4117
|
+
this.a1m_1 = transformValue;
|
|
4118
|
+
this.b1m_1 = transformAll;
|
|
4119
|
+
this.c1m_1 = transformValidator;
|
|
4116
4120
|
// Inline function 'kotlin.require' call
|
|
4117
|
-
if (!!(this.
|
|
4121
|
+
if (!!(this.v1l_1 === 0)) {
|
|
4118
4122
|
var message = 'Arguments cannot have nvalues == 0';
|
|
4119
4123
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4120
4124
|
}
|
|
4121
|
-
this.
|
|
4125
|
+
this.d1m_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
4122
4126
|
}
|
|
4123
4127
|
protoOf(ProcessedArgumentImpl).k = function () {
|
|
4124
|
-
return this.t1l_1;
|
|
4125
|
-
};
|
|
4126
|
-
protoOf(ProcessedArgumentImpl).h1a = function () {
|
|
4127
4128
|
return this.u1l_1;
|
|
4128
4129
|
};
|
|
4129
|
-
protoOf(ProcessedArgumentImpl).
|
|
4130
|
+
protoOf(ProcessedArgumentImpl).h1a = function () {
|
|
4130
4131
|
return this.v1l_1;
|
|
4131
4132
|
};
|
|
4132
4133
|
protoOf(ProcessedArgumentImpl).j1l = function () {
|
|
4133
4134
|
return this.w1l_1;
|
|
4134
4135
|
};
|
|
4135
|
-
protoOf(ProcessedArgumentImpl).
|
|
4136
|
+
protoOf(ProcessedArgumentImpl).k1l = function () {
|
|
4136
4137
|
return this.x1l_1;
|
|
4137
4138
|
};
|
|
4138
|
-
protoOf(ProcessedArgumentImpl).
|
|
4139
|
+
protoOf(ProcessedArgumentImpl).y1a = function () {
|
|
4139
4140
|
return this.y1l_1;
|
|
4140
4141
|
};
|
|
4141
|
-
protoOf(ProcessedArgumentImpl).
|
|
4142
|
+
protoOf(ProcessedArgumentImpl).n1l = function () {
|
|
4142
4143
|
return this.z1l_1;
|
|
4143
4144
|
};
|
|
4144
4145
|
protoOf(ProcessedArgumentImpl).l1l = function () {
|
|
4145
4146
|
return this.a1m_1;
|
|
4146
4147
|
};
|
|
4148
|
+
protoOf(ProcessedArgumentImpl).m1l = function () {
|
|
4149
|
+
return this.b1m_1;
|
|
4150
|
+
};
|
|
4147
4151
|
protoOf(ProcessedArgumentImpl).r1a = function (context) {
|
|
4148
|
-
var tmp0_safe_receiver = this.
|
|
4152
|
+
var tmp0_safe_receiver = this.x1l_1;
|
|
4149
4153
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4150
4154
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4151
4155
|
};
|
|
4152
|
-
protoOf(ProcessedArgumentImpl).
|
|
4156
|
+
protoOf(ProcessedArgumentImpl).e1m = function (_set____db54di) {
|
|
4153
4157
|
var tmp = KMutableProperty1;
|
|
4154
4158
|
var tmp_0 = ProcessedArgumentImpl$_get_value_$ref_enmq3a_0();
|
|
4155
|
-
return this.
|
|
4159
|
+
return this.d1m_1.h1m(this, getPropertyCallableRef('value', 1, tmp, tmp_0, ProcessedArgumentImpl$_set_value_$ref_en7qba_0()), _set____db54di);
|
|
4156
4160
|
};
|
|
4157
4161
|
protoOf(ProcessedArgumentImpl).m1 = function () {
|
|
4158
4162
|
var tmp = KMutableProperty1;
|
|
4159
4163
|
var tmp_0 = ProcessedArgumentImpl$_get_value_$ref_enmq3a();
|
|
4160
|
-
return this.
|
|
4164
|
+
return this.d1m_1.i1m(this, getPropertyCallableRef('value', 1, tmp, tmp_0, ProcessedArgumentImpl$_set_value_$ref_en7qba()));
|
|
4161
4165
|
};
|
|
4162
4166
|
protoOf(ProcessedArgumentImpl).g1a = function () {
|
|
4163
|
-
var tmp0_elvis_lhs = this.
|
|
4167
|
+
var tmp0_elvis_lhs = this.z1l_1;
|
|
4164
4168
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4165
4169
|
};
|
|
4166
4170
|
protoOf(ProcessedArgumentImpl).j1b = function (context) {
|
|
4167
|
-
return new Argument(this.
|
|
4168
|
-
};
|
|
4169
|
-
protoOf(ProcessedArgumentImpl).i1m = function (thisRef, property) {
|
|
4170
|
-
return this.m1();
|
|
4171
|
+
return new Argument(this.u1l_1, this.r1a(context), this.w1l_1 || this.v1l_1 > 1, this.v1l_1 < 0, this.y1l_1);
|
|
4171
4172
|
};
|
|
4172
4173
|
protoOf(ProcessedArgumentImpl).j1m = function (thisRef, property) {
|
|
4173
|
-
return this.
|
|
4174
|
+
return this.m1();
|
|
4174
4175
|
};
|
|
4175
4176
|
protoOf(ProcessedArgumentImpl).k1m = function (thisRef, property) {
|
|
4176
|
-
|
|
4177
|
+
return this.j1m(thisRef instanceof BaseCliktCommand ? thisRef : THROW_CCE(), property);
|
|
4178
|
+
};
|
|
4179
|
+
protoOf(ProcessedArgumentImpl).l1m = function (thisRef, property) {
|
|
4180
|
+
if (isBlank(this.u1l_1)) {
|
|
4177
4181
|
var tmp = this;
|
|
4178
4182
|
// Inline function 'kotlin.text.uppercase' call
|
|
4179
4183
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4180
4184
|
var tmp$ret$0 = property.callableName.toUpperCase();
|
|
4181
|
-
tmp.
|
|
4185
|
+
tmp.u1l_1 = replace_0(tmp$ret$0, '-', '_');
|
|
4182
4186
|
}
|
|
4183
4187
|
thisRef.r1b(this);
|
|
4184
4188
|
return this;
|
|
4185
4189
|
};
|
|
4186
|
-
protoOf(ProcessedArgumentImpl).
|
|
4187
|
-
return this.
|
|
4190
|
+
protoOf(ProcessedArgumentImpl).q1l = function (thisRef, property) {
|
|
4191
|
+
return this.l1m(thisRef instanceof BaseCliktCommand ? thisRef : THROW_CCE(), property);
|
|
4188
4192
|
};
|
|
4189
|
-
protoOf(ProcessedArgumentImpl).
|
|
4193
|
+
protoOf(ProcessedArgumentImpl).v1h = function (context, values) {
|
|
4190
4194
|
var ctx = new ArgumentTransformContext(this, context);
|
|
4191
|
-
if (this.
|
|
4195
|
+
if (this.w1l_1) {
|
|
4192
4196
|
if (values.p())
|
|
4193
4197
|
throw new MissingArgument(this);
|
|
4194
|
-
else if (this.
|
|
4198
|
+
else if (this.v1l_1 > 0 && !(values.d1() === this.v1l_1))
|
|
4195
4199
|
throw IncorrectArgumentValueCount_init_$Create$(this);
|
|
4196
4200
|
}
|
|
4197
4201
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4200,22 +4204,22 @@
|
|
|
4200
4204
|
var _iterator__ex2g4s = values.r();
|
|
4201
4205
|
while (_iterator__ex2g4s.s()) {
|
|
4202
4206
|
var item = _iterator__ex2g4s.t();
|
|
4203
|
-
var tmp$ret$2 = this.
|
|
4207
|
+
var tmp$ret$2 = this.a1m_1(ctx, item);
|
|
4204
4208
|
destination.v(tmp$ret$2);
|
|
4205
4209
|
}
|
|
4206
|
-
this.
|
|
4210
|
+
this.e1m(this.b1m_1(ctx, destination));
|
|
4207
4211
|
};
|
|
4208
|
-
protoOf(ProcessedArgumentImpl).
|
|
4209
|
-
this.
|
|
4212
|
+
protoOf(ProcessedArgumentImpl).k1h = function (context) {
|
|
4213
|
+
this.c1m_1(new ArgumentTransformContext(this, context), this.m1());
|
|
4210
4214
|
};
|
|
4211
|
-
protoOf(ProcessedArgumentImpl).
|
|
4215
|
+
protoOf(ProcessedArgumentImpl).o1l = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
4212
4216
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
4213
4217
|
};
|
|
4214
4218
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
4215
4219
|
// Inline function 'kotlin.text.buildString' call
|
|
4216
4220
|
// Inline function 'kotlin.apply' call
|
|
4217
4221
|
var this_0 = StringBuilder_init_$Create$();
|
|
4218
|
-
this_0.o(this.
|
|
4222
|
+
this_0.o(this.u1l_1);
|
|
4219
4223
|
// Inline function 'kotlin.runCatching' call
|
|
4220
4224
|
var tmp;
|
|
4221
4225
|
try {
|
|
@@ -4249,7 +4253,7 @@
|
|
|
4249
4253
|
}
|
|
4250
4254
|
function optional$lambda($this_optional) {
|
|
4251
4255
|
return function ($this$transformAll, it) {
|
|
4252
|
-
return it.p() ? null : $this_optional.
|
|
4256
|
+
return it.p() ? null : $this_optional.m1l()($this$transformAll, it);
|
|
4253
4257
|
};
|
|
4254
4258
|
}
|
|
4255
4259
|
function argument$lambda($help) {
|
|
@@ -4275,28 +4279,28 @@
|
|
|
4275
4279
|
return UNINITIALIZED_instance;
|
|
4276
4280
|
}
|
|
4277
4281
|
function NullableLateinit(errorMessage) {
|
|
4278
|
-
this.
|
|
4279
|
-
this.
|
|
4282
|
+
this.f1m_1 = errorMessage;
|
|
4283
|
+
this.g1m_1 = UNINITIALIZED_instance;
|
|
4280
4284
|
}
|
|
4281
|
-
protoOf(NullableLateinit).
|
|
4282
|
-
if (this.
|
|
4283
|
-
throw new LateinitException(this.
|
|
4285
|
+
protoOf(NullableLateinit).i1m = function (thisRef, property) {
|
|
4286
|
+
if (this.g1m_1 === UNINITIALIZED_instance)
|
|
4287
|
+
throw new LateinitException(this.f1m_1);
|
|
4284
4288
|
try {
|
|
4285
|
-
return this.
|
|
4289
|
+
return this.g1m_1;
|
|
4286
4290
|
} catch ($p) {
|
|
4287
4291
|
if ($p instanceof ClassCastException) {
|
|
4288
4292
|
var e = $p;
|
|
4289
|
-
throw new LateinitException(this.
|
|
4293
|
+
throw new LateinitException(this.f1m_1);
|
|
4290
4294
|
} else {
|
|
4291
4295
|
throw $p;
|
|
4292
4296
|
}
|
|
4293
4297
|
}
|
|
4294
4298
|
};
|
|
4295
|
-
protoOf(NullableLateinit).
|
|
4296
|
-
return this.
|
|
4299
|
+
protoOf(NullableLateinit).k1m = function (thisRef, property) {
|
|
4300
|
+
return this.i1m(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
4297
4301
|
};
|
|
4298
|
-
protoOf(NullableLateinit).
|
|
4299
|
-
this.
|
|
4302
|
+
protoOf(NullableLateinit).h1m = function (thisRef, property, value) {
|
|
4303
|
+
this.g1m_1 = value;
|
|
4300
4304
|
};
|
|
4301
4305
|
function LateinitException(message) {
|
|
4302
4306
|
IllegalStateException_init_$Init$(message, this);
|
|
@@ -4311,11 +4315,11 @@
|
|
|
4311
4315
|
var tmp$ret$0 = copyToArray(names);
|
|
4312
4316
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
4313
4317
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4314
|
-
var tmp = this_0.
|
|
4315
|
-
var tmp_0 = this_0.
|
|
4316
|
-
var tmp_1 = this_0.
|
|
4317
|
-
var o = this_0.
|
|
4318
|
-
o.
|
|
4318
|
+
var tmp = this_0.l1l();
|
|
4319
|
+
var tmp_0 = this_0.n1m();
|
|
4320
|
+
var tmp_1 = this_0.m1l();
|
|
4321
|
+
var o = this_0.o1m(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4322
|
+
o.c1e(groupName);
|
|
4319
4323
|
_this__u8e3s4.q1b(o);
|
|
4320
4324
|
return _this__u8e3s4;
|
|
4321
4325
|
}
|
|
@@ -4338,16 +4342,16 @@
|
|
|
4338
4342
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4339
4343
|
var tmp = boolean(_this__u8e3s4);
|
|
4340
4344
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4341
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4345
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).p1m(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4342
4346
|
}
|
|
4343
4347
|
function nullableFlag$lambda($secondaryNames) {
|
|
4344
4348
|
return function ($this$transformValues, it) {
|
|
4345
4349
|
var tmp;
|
|
4346
4350
|
if (it.d1() > 1) {
|
|
4347
|
-
$this$transformValues.
|
|
4351
|
+
$this$transformValues.t1l($this$transformValues.s1m_1.v19_1.z1k($this$transformValues.q1m_1));
|
|
4348
4352
|
}
|
|
4349
4353
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4350
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4354
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.q1m_1) : tmp0_elvis_lhs;
|
|
4351
4355
|
};
|
|
4352
4356
|
}
|
|
4353
4357
|
function Option_0() {
|
|
@@ -4427,7 +4431,7 @@
|
|
|
4427
4431
|
function getFinalValue(_this__u8e3s4, context, invocations, envvar) {
|
|
4428
4432
|
var tmp;
|
|
4429
4433
|
var tmp_0;
|
|
4430
|
-
if (_this__u8e3s4.
|
|
4434
|
+
if (_this__u8e3s4.z1d()) {
|
|
4431
4435
|
tmp_0 = true;
|
|
4432
4436
|
} else {
|
|
4433
4437
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -4502,7 +4506,7 @@
|
|
|
4502
4506
|
}
|
|
4503
4507
|
function readValueSource(_this__u8e3s4, context) {
|
|
4504
4508
|
var tmp0_safe_receiver = context.t19_1;
|
|
4505
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4509
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1m(context, _this__u8e3s4);
|
|
4506
4510
|
var tmp;
|
|
4507
4511
|
if (tmp1_safe_receiver == null) {
|
|
4508
4512
|
tmp = null;
|
|
@@ -4513,7 +4517,7 @@
|
|
|
4513
4517
|
var _iterator__ex2g4s = tmp1_safe_receiver.r();
|
|
4514
4518
|
while (_iterator__ex2g4s.s()) {
|
|
4515
4519
|
var item = _iterator__ex2g4s.t();
|
|
4516
|
-
var tmp$ret$2 = new OptionInvocation(item.
|
|
4520
|
+
var tmp$ret$2 = new OptionInvocation(item.y1m_1, item.x1m_1);
|
|
4517
4521
|
destination.v(tmp$ret$2);
|
|
4518
4522
|
}
|
|
4519
4523
|
tmp = destination;
|
|
@@ -4539,7 +4543,7 @@
|
|
|
4539
4543
|
if (!invocations.p())
|
|
4540
4544
|
return false;
|
|
4541
4545
|
var tmp0_safe_receiver = isInterface(_this__u8e3s4, OptionWithValues) ? _this__u8e3s4 : null;
|
|
4542
|
-
var envvar = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4546
|
+
var envvar = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1m();
|
|
4543
4547
|
var final = getFinalValue(_this__u8e3s4, context, invocations, envvar);
|
|
4544
4548
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4545
4549
|
return !final.p();
|
|
@@ -4556,11 +4560,11 @@
|
|
|
4556
4560
|
protoOf(OptionTransformContext).y8 = function () {
|
|
4557
4561
|
return this.u1a_1;
|
|
4558
4562
|
};
|
|
4559
|
-
protoOf(OptionTransformContext).
|
|
4563
|
+
protoOf(OptionTransformContext).t1l = function (message) {
|
|
4560
4564
|
throw BadParameterValue_init_$Create$_0(message, this.t1a_1);
|
|
4561
4565
|
};
|
|
4562
|
-
protoOf(OptionTransformContext).
|
|
4563
|
-
return this.t1a_1.
|
|
4566
|
+
protoOf(OptionTransformContext).t1m = function (context) {
|
|
4567
|
+
return this.t1a_1.t1m(context);
|
|
4564
4568
|
};
|
|
4565
4569
|
protoOf(OptionTransformContext).q1a = function (context) {
|
|
4566
4570
|
return this.t1a_1.q1a(context);
|
|
@@ -4583,82 +4587,82 @@
|
|
|
4583
4587
|
protoOf(OptionTransformContext).g1a = function () {
|
|
4584
4588
|
return this.t1a_1.g1a();
|
|
4585
4589
|
};
|
|
4586
|
-
protoOf(OptionTransformContext).
|
|
4587
|
-
return this.t1a_1.
|
|
4590
|
+
protoOf(OptionTransformContext).y1d = function () {
|
|
4591
|
+
return this.t1a_1.y1d();
|
|
4588
4592
|
};
|
|
4589
4593
|
protoOf(OptionTransformContext).p1b = function () {
|
|
4590
4594
|
return this.t1a_1.p1b();
|
|
4591
4595
|
};
|
|
4592
|
-
protoOf(OptionTransformContext).y1d = function () {
|
|
4593
|
-
return this.t1a_1.y1d();
|
|
4594
|
-
};
|
|
4595
4596
|
protoOf(OptionTransformContext).z1d = function () {
|
|
4596
4597
|
return this.t1a_1.z1d();
|
|
4597
4598
|
};
|
|
4599
|
+
protoOf(OptionTransformContext).a1e = function () {
|
|
4600
|
+
return this.t1a_1.a1e();
|
|
4601
|
+
};
|
|
4598
4602
|
protoOf(OptionTransformContext).j1b = function (context) {
|
|
4599
4603
|
return this.t1a_1.j1b(context);
|
|
4600
4604
|
};
|
|
4601
|
-
protoOf(OptionTransformContext).
|
|
4602
|
-
this.t1a_1.
|
|
4605
|
+
protoOf(OptionTransformContext).s1h = function (context, invocations) {
|
|
4606
|
+
this.t1a_1.s1h(context, invocations);
|
|
4603
4607
|
};
|
|
4604
|
-
protoOf(OptionTransformContext).
|
|
4605
|
-
this.t1a_1.
|
|
4608
|
+
protoOf(OptionTransformContext).k1h = function (context) {
|
|
4609
|
+
this.t1a_1.k1h(context);
|
|
4606
4610
|
};
|
|
4607
4611
|
function OptionCallTransformContext(name, option, context) {
|
|
4608
|
-
this.
|
|
4609
|
-
this.
|
|
4610
|
-
this.
|
|
4612
|
+
this.q1m_1 = name;
|
|
4613
|
+
this.r1m_1 = option;
|
|
4614
|
+
this.s1m_1 = context;
|
|
4611
4615
|
}
|
|
4612
4616
|
protoOf(OptionCallTransformContext).y8 = function () {
|
|
4613
|
-
return this.
|
|
4617
|
+
return this.s1m_1;
|
|
4614
4618
|
};
|
|
4615
|
-
protoOf(OptionCallTransformContext).
|
|
4616
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4619
|
+
protoOf(OptionCallTransformContext).t1l = function (message) {
|
|
4620
|
+
throw BadParameterValue_init_$Create$_1(message, this.r1m_1, this.q1m_1);
|
|
4617
4621
|
};
|
|
4618
|
-
protoOf(OptionCallTransformContext).
|
|
4619
|
-
return this.
|
|
4622
|
+
protoOf(OptionCallTransformContext).t1m = function (context) {
|
|
4623
|
+
return this.r1m_1.t1m(context);
|
|
4620
4624
|
};
|
|
4621
4625
|
protoOf(OptionCallTransformContext).q1a = function (context) {
|
|
4622
|
-
return this.
|
|
4626
|
+
return this.r1m_1.q1a(context);
|
|
4623
4627
|
};
|
|
4624
4628
|
protoOf(OptionCallTransformContext).g19 = function () {
|
|
4625
|
-
return this.
|
|
4629
|
+
return this.r1m_1.g19();
|
|
4626
4630
|
};
|
|
4627
4631
|
protoOf(OptionCallTransformContext).h19 = function () {
|
|
4628
|
-
return this.
|
|
4632
|
+
return this.r1m_1.h19();
|
|
4629
4633
|
};
|
|
4630
4634
|
protoOf(OptionCallTransformContext).h1a = function () {
|
|
4631
|
-
return this.
|
|
4635
|
+
return this.r1m_1.h1a();
|
|
4632
4636
|
};
|
|
4633
4637
|
protoOf(OptionCallTransformContext).f1a = function () {
|
|
4634
|
-
return this.
|
|
4638
|
+
return this.r1m_1.f1a();
|
|
4635
4639
|
};
|
|
4636
4640
|
protoOf(OptionCallTransformContext).y1a = function () {
|
|
4637
|
-
return this.
|
|
4641
|
+
return this.r1m_1.y1a();
|
|
4638
4642
|
};
|
|
4639
4643
|
protoOf(OptionCallTransformContext).g1a = function () {
|
|
4640
|
-
return this.
|
|
4644
|
+
return this.r1m_1.g1a();
|
|
4641
4645
|
};
|
|
4642
|
-
protoOf(OptionCallTransformContext).
|
|
4643
|
-
return this.
|
|
4646
|
+
protoOf(OptionCallTransformContext).y1d = function () {
|
|
4647
|
+
return this.r1m_1.y1d();
|
|
4644
4648
|
};
|
|
4645
4649
|
protoOf(OptionCallTransformContext).p1b = function () {
|
|
4646
|
-
return this.
|
|
4647
|
-
};
|
|
4648
|
-
protoOf(OptionCallTransformContext).y1d = function () {
|
|
4649
|
-
return this.q1m_1.y1d();
|
|
4650
|
+
return this.r1m_1.p1b();
|
|
4650
4651
|
};
|
|
4651
4652
|
protoOf(OptionCallTransformContext).z1d = function () {
|
|
4652
|
-
return this.
|
|
4653
|
+
return this.r1m_1.z1d();
|
|
4654
|
+
};
|
|
4655
|
+
protoOf(OptionCallTransformContext).a1e = function () {
|
|
4656
|
+
return this.r1m_1.a1e();
|
|
4653
4657
|
};
|
|
4654
4658
|
protoOf(OptionCallTransformContext).j1b = function (context) {
|
|
4655
|
-
return this.
|
|
4659
|
+
return this.r1m_1.j1b(context);
|
|
4656
4660
|
};
|
|
4657
|
-
protoOf(OptionCallTransformContext).
|
|
4658
|
-
this.
|
|
4661
|
+
protoOf(OptionCallTransformContext).s1h = function (context, invocations) {
|
|
4662
|
+
this.r1m_1.s1h(context, invocations);
|
|
4659
4663
|
};
|
|
4660
|
-
protoOf(OptionCallTransformContext).
|
|
4661
|
-
this.
|
|
4664
|
+
protoOf(OptionCallTransformContext).k1h = function (context) {
|
|
4665
|
+
this.r1m_1.k1h(context);
|
|
4662
4666
|
};
|
|
4663
4667
|
function option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, completionCandidates, valueSourceKey, eager) {
|
|
4664
4668
|
help = help === VOID ? '' : help;
|
|
@@ -4688,7 +4692,7 @@
|
|
|
4688
4692
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, tmp_1, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4689
4693
|
}
|
|
4690
4694
|
function OptionWithValuesImpl$metavar$lambda(_this__u8e3s4) {
|
|
4691
|
-
return _this__u8e3s4.v19_1.
|
|
4695
|
+
return _this__u8e3s4.v19_1.b1l();
|
|
4692
4696
|
}
|
|
4693
4697
|
function OptionWithValuesImpl$_get_value_$ref_kjlo8() {
|
|
4694
4698
|
return function (p0) {
|
|
@@ -4697,7 +4701,7 @@
|
|
|
4697
4701
|
}
|
|
4698
4702
|
function OptionWithValuesImpl$_set_value_$ref_tve22s() {
|
|
4699
4703
|
return function (p0, p1) {
|
|
4700
|
-
p0.
|
|
4704
|
+
p0.e1m(p1);
|
|
4701
4705
|
return Unit_instance;
|
|
4702
4706
|
};
|
|
4703
4707
|
}
|
|
@@ -4708,95 +4712,95 @@
|
|
|
4708
4712
|
}
|
|
4709
4713
|
function OptionWithValuesImpl$_set_value_$ref_tve22s_0() {
|
|
4710
4714
|
return function (p0, p1) {
|
|
4711
|
-
p0.
|
|
4715
|
+
p0.e1m(p1);
|
|
4712
4716
|
return Unit_instance;
|
|
4713
4717
|
};
|
|
4714
4718
|
}
|
|
4715
4719
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4716
|
-
this.
|
|
4717
|
-
this.
|
|
4718
|
-
this.
|
|
4719
|
-
this.
|
|
4720
|
-
this.
|
|
4721
|
-
this.
|
|
4722
|
-
this.
|
|
4723
|
-
this.
|
|
4724
|
-
this.
|
|
4725
|
-
this.
|
|
4726
|
-
this.
|
|
4727
|
-
this.
|
|
4728
|
-
this.
|
|
4729
|
-
this.
|
|
4730
|
-
this.
|
|
4731
|
-
this.
|
|
4732
|
-
this.
|
|
4733
|
-
this.v1n_1 = null;
|
|
4720
|
+
this.f1n_1 = metavarGetter;
|
|
4721
|
+
this.g1n_1 = nvalues;
|
|
4722
|
+
this.h1n_1 = helpGetter;
|
|
4723
|
+
this.i1n_1 = hidden;
|
|
4724
|
+
this.j1n_1 = helpTags;
|
|
4725
|
+
this.k1n_1 = valueSourceKey;
|
|
4726
|
+
this.l1n_1 = envvar;
|
|
4727
|
+
this.m1n_1 = valueSplit;
|
|
4728
|
+
this.n1n_1 = explicitCompletionCandidates;
|
|
4729
|
+
this.o1n_1 = secondaryNames;
|
|
4730
|
+
this.p1n_1 = acceptsNumberValueWithoutName;
|
|
4731
|
+
this.q1n_1 = acceptsUnattachedValue;
|
|
4732
|
+
this.r1n_1 = eager;
|
|
4733
|
+
this.s1n_1 = transformValue;
|
|
4734
|
+
this.t1n_1 = transformEach;
|
|
4735
|
+
this.u1n_1 = transformAll;
|
|
4736
|
+
this.v1n_1 = transformValidator;
|
|
4734
4737
|
this.w1n_1 = null;
|
|
4735
|
-
this.x1n_1 =
|
|
4736
|
-
this.y1n_1 =
|
|
4738
|
+
this.x1n_1 = null;
|
|
4739
|
+
this.y1n_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4740
|
+
this.z1n_1 = names;
|
|
4737
4741
|
}
|
|
4738
|
-
protoOf(OptionWithValuesImpl).
|
|
4739
|
-
return this.e1n_1;
|
|
4740
|
-
};
|
|
4741
|
-
protoOf(OptionWithValuesImpl).h1a = function () {
|
|
4742
|
+
protoOf(OptionWithValuesImpl).b1n = function () {
|
|
4742
4743
|
return this.f1n_1;
|
|
4743
4744
|
};
|
|
4744
|
-
protoOf(OptionWithValuesImpl).
|
|
4745
|
+
protoOf(OptionWithValuesImpl).h1a = function () {
|
|
4745
4746
|
return this.g1n_1;
|
|
4746
4747
|
};
|
|
4747
|
-
protoOf(OptionWithValuesImpl).
|
|
4748
|
+
protoOf(OptionWithValuesImpl).k1l = function () {
|
|
4748
4749
|
return this.h1n_1;
|
|
4749
4750
|
};
|
|
4750
|
-
protoOf(OptionWithValuesImpl).
|
|
4751
|
+
protoOf(OptionWithValuesImpl).f1a = function () {
|
|
4751
4752
|
return this.i1n_1;
|
|
4752
4753
|
};
|
|
4753
|
-
protoOf(OptionWithValuesImpl).
|
|
4754
|
+
protoOf(OptionWithValuesImpl).y1a = function () {
|
|
4754
4755
|
return this.j1n_1;
|
|
4755
4756
|
};
|
|
4756
|
-
protoOf(OptionWithValuesImpl).
|
|
4757
|
+
protoOf(OptionWithValuesImpl).y1d = function () {
|
|
4757
4758
|
return this.k1n_1;
|
|
4758
4759
|
};
|
|
4759
|
-
protoOf(OptionWithValuesImpl).
|
|
4760
|
+
protoOf(OptionWithValuesImpl).z1m = function () {
|
|
4760
4761
|
return this.l1n_1;
|
|
4761
4762
|
};
|
|
4762
|
-
protoOf(OptionWithValuesImpl).
|
|
4763
|
+
protoOf(OptionWithValuesImpl).c1n = function () {
|
|
4763
4764
|
return this.m1n_1;
|
|
4764
4765
|
};
|
|
4765
|
-
protoOf(OptionWithValuesImpl).
|
|
4766
|
+
protoOf(OptionWithValuesImpl).n1l = function () {
|
|
4766
4767
|
return this.n1n_1;
|
|
4767
4768
|
};
|
|
4768
|
-
protoOf(OptionWithValuesImpl).
|
|
4769
|
+
protoOf(OptionWithValuesImpl).h19 = function () {
|
|
4769
4770
|
return this.o1n_1;
|
|
4770
4771
|
};
|
|
4771
|
-
protoOf(OptionWithValuesImpl).
|
|
4772
|
+
protoOf(OptionWithValuesImpl).p1b = function () {
|
|
4772
4773
|
return this.p1n_1;
|
|
4773
4774
|
};
|
|
4774
|
-
protoOf(OptionWithValuesImpl).
|
|
4775
|
+
protoOf(OptionWithValuesImpl).a1e = function () {
|
|
4775
4776
|
return this.q1n_1;
|
|
4776
4777
|
};
|
|
4777
|
-
protoOf(OptionWithValuesImpl).
|
|
4778
|
+
protoOf(OptionWithValuesImpl).z1d = function () {
|
|
4778
4779
|
return this.r1n_1;
|
|
4779
4780
|
};
|
|
4780
|
-
protoOf(OptionWithValuesImpl).
|
|
4781
|
+
protoOf(OptionWithValuesImpl).l1l = function () {
|
|
4781
4782
|
return this.s1n_1;
|
|
4782
4783
|
};
|
|
4783
|
-
protoOf(OptionWithValuesImpl).
|
|
4784
|
+
protoOf(OptionWithValuesImpl).n1m = function () {
|
|
4784
4785
|
return this.t1n_1;
|
|
4785
4786
|
};
|
|
4786
|
-
protoOf(OptionWithValuesImpl).
|
|
4787
|
+
protoOf(OptionWithValuesImpl).m1l = function () {
|
|
4787
4788
|
return this.u1n_1;
|
|
4788
4789
|
};
|
|
4789
|
-
protoOf(OptionWithValuesImpl).
|
|
4790
|
+
protoOf(OptionWithValuesImpl).a1n = function () {
|
|
4790
4791
|
return this.v1n_1;
|
|
4791
4792
|
};
|
|
4792
|
-
protoOf(OptionWithValuesImpl).b1e = function (
|
|
4793
|
-
this.w1n_1 = _set____db54di;
|
|
4794
|
-
};
|
|
4795
|
-
protoOf(OptionWithValuesImpl).w1d = function () {
|
|
4793
|
+
protoOf(OptionWithValuesImpl).b1e = function () {
|
|
4796
4794
|
return this.w1n_1;
|
|
4797
4795
|
};
|
|
4798
|
-
protoOf(OptionWithValuesImpl).
|
|
4799
|
-
|
|
4796
|
+
protoOf(OptionWithValuesImpl).c1e = function (_set____db54di) {
|
|
4797
|
+
this.x1n_1 = _set____db54di;
|
|
4798
|
+
};
|
|
4799
|
+
protoOf(OptionWithValuesImpl).x1d = function () {
|
|
4800
|
+
return this.x1n_1;
|
|
4801
|
+
};
|
|
4802
|
+
protoOf(OptionWithValuesImpl).t1m = function (context) {
|
|
4803
|
+
var tmp0_elvis_lhs = this.f1n_1;
|
|
4800
4804
|
var tmp;
|
|
4801
4805
|
if (tmp0_elvis_lhs == null) {
|
|
4802
4806
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4805,31 +4809,31 @@
|
|
|
4805
4809
|
}
|
|
4806
4810
|
return tmp(context);
|
|
4807
4811
|
};
|
|
4808
|
-
protoOf(OptionWithValuesImpl).
|
|
4812
|
+
protoOf(OptionWithValuesImpl).e1m = function (_set____db54di) {
|
|
4809
4813
|
var tmp = KMutableProperty1;
|
|
4810
4814
|
var tmp_0 = OptionWithValuesImpl$_get_value_$ref_kjlo8_0();
|
|
4811
|
-
return this.
|
|
4815
|
+
return this.y1n_1.h1m(this, getPropertyCallableRef('value', 1, tmp, tmp_0, OptionWithValuesImpl$_set_value_$ref_tve22s_0()), _set____db54di);
|
|
4812
4816
|
};
|
|
4813
4817
|
protoOf(OptionWithValuesImpl).m1 = function () {
|
|
4814
4818
|
var tmp = KMutableProperty1;
|
|
4815
4819
|
var tmp_0 = OptionWithValuesImpl$_get_value_$ref_kjlo8();
|
|
4816
|
-
return this.
|
|
4820
|
+
return this.y1n_1.i1m(this, getPropertyCallableRef('value', 1, tmp, tmp_0, OptionWithValuesImpl$_set_value_$ref_tve22s()));
|
|
4817
4821
|
};
|
|
4818
4822
|
protoOf(OptionWithValuesImpl).g19 = function () {
|
|
4819
|
-
return this.
|
|
4823
|
+
return this.z1n_1;
|
|
4820
4824
|
};
|
|
4821
4825
|
protoOf(OptionWithValuesImpl).g1a = function () {
|
|
4822
|
-
var tmp0_elvis_lhs = this.
|
|
4826
|
+
var tmp0_elvis_lhs = this.n1n_1;
|
|
4823
4827
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4824
4828
|
};
|
|
4825
4829
|
protoOf(OptionWithValuesImpl).q1a = function (context) {
|
|
4826
|
-
var tmp0_safe_receiver = this.
|
|
4830
|
+
var tmp0_safe_receiver = this.h1n_1;
|
|
4827
4831
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4828
4832
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4829
4833
|
};
|
|
4830
|
-
protoOf(OptionWithValuesImpl).
|
|
4834
|
+
protoOf(OptionWithValuesImpl).s1h = function (context, invocations) {
|
|
4831
4835
|
// Inline function 'kotlin.collections.map' call
|
|
4832
|
-
var this_0 = getFinalValue(this, context, invocations, this.
|
|
4836
|
+
var this_0 = getFinalValue(this, context, invocations, this.l1n_1);
|
|
4833
4837
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4834
4838
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
4835
4839
|
var _iterator__ex2g4s = this_0.r();
|
|
@@ -4838,28 +4842,28 @@
|
|
|
4838
4842
|
var tmp;
|
|
4839
4843
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4840
4844
|
if (!invocations.p()) {
|
|
4841
|
-
var progression = this.
|
|
4845
|
+
var progression = this.g1n_1;
|
|
4842
4846
|
var containsLower = progression.o1_1;
|
|
4843
4847
|
var containsUpper = progression.p1_1;
|
|
4844
|
-
var containsArg = item.
|
|
4848
|
+
var containsArg = item.b1o_1.d1();
|
|
4845
4849
|
tmp = !(containsLower <= containsArg ? containsArg <= containsUpper : false);
|
|
4846
4850
|
} else {
|
|
4847
4851
|
tmp = false;
|
|
4848
4852
|
}
|
|
4849
4853
|
if (tmp) {
|
|
4850
|
-
throw IncorrectOptionValueCount_init_$Create$(this, item.
|
|
4854
|
+
throw IncorrectOptionValueCount_init_$Create$(this, item.a1o_1);
|
|
4851
4855
|
}
|
|
4852
4856
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4853
|
-
var tmp0 = item.
|
|
4857
|
+
var tmp0 = item.b1o_1;
|
|
4854
4858
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4855
4859
|
var destination_0 = ArrayList_init_$Create$();
|
|
4856
4860
|
var _iterator__ex2g4s_0 = tmp0.r();
|
|
4857
4861
|
while (_iterator__ex2g4s_0.s()) {
|
|
4858
4862
|
var element = _iterator__ex2g4s_0.t();
|
|
4859
|
-
var list = this.
|
|
4863
|
+
var list = this.m1n_1(element);
|
|
4860
4864
|
addAll(destination_0, list);
|
|
4861
4865
|
}
|
|
4862
|
-
var tmp$ret$2 = item.
|
|
4866
|
+
var tmp$ret$2 = item.c1o(VOID, destination_0);
|
|
4863
4867
|
destination.v(tmp$ret$2);
|
|
4864
4868
|
}
|
|
4865
4869
|
var invs = destination;
|
|
@@ -4870,38 +4874,38 @@
|
|
|
4870
4874
|
var _iterator__ex2g4s_1 = invs.r();
|
|
4871
4875
|
while (_iterator__ex2g4s_1.s()) {
|
|
4872
4876
|
var item_0 = _iterator__ex2g4s_1.t();
|
|
4873
|
-
var tc = new OptionCallTransformContext(item_0.
|
|
4877
|
+
var tc = new OptionCallTransformContext(item_0.a1o_1, this, context);
|
|
4874
4878
|
// Inline function 'kotlin.collections.map' call
|
|
4875
|
-
var this_1 = item_0.
|
|
4879
|
+
var this_1 = item_0.b1o_1;
|
|
4876
4880
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4877
4881
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4878
4882
|
var _iterator__ex2g4s_2 = this_1.r();
|
|
4879
4883
|
while (_iterator__ex2g4s_2.s()) {
|
|
4880
4884
|
var item_1 = _iterator__ex2g4s_2.t();
|
|
4881
|
-
var tmp$ret$12 = this.
|
|
4885
|
+
var tmp$ret$12 = this.s1n_1(tc, item_1);
|
|
4882
4886
|
destination_2.v(tmp$ret$12);
|
|
4883
4887
|
}
|
|
4884
|
-
var tmp$ret$9 = this.
|
|
4888
|
+
var tmp$ret$9 = this.t1n_1(tc, destination_2);
|
|
4885
4889
|
destination_1.v(tmp$ret$9);
|
|
4886
4890
|
}
|
|
4887
|
-
this.
|
|
4891
|
+
this.e1m(this.u1n_1(tmp_0, destination_1));
|
|
4888
4892
|
};
|
|
4889
|
-
protoOf(OptionWithValuesImpl).
|
|
4890
|
-
this.
|
|
4893
|
+
protoOf(OptionWithValuesImpl).u1m = function (thisRef, property) {
|
|
4894
|
+
this.z1n_1 = inferOptionNames(this.z1n_1, property.callableName);
|
|
4891
4895
|
thisRef.q1b(this);
|
|
4892
4896
|
return this;
|
|
4893
4897
|
};
|
|
4894
|
-
protoOf(OptionWithValuesImpl).
|
|
4895
|
-
return this.
|
|
4898
|
+
protoOf(OptionWithValuesImpl).q1l = function (thisRef, property) {
|
|
4899
|
+
return this.u1m((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4896
4900
|
};
|
|
4897
|
-
protoOf(OptionWithValuesImpl).
|
|
4898
|
-
this.
|
|
4901
|
+
protoOf(OptionWithValuesImpl).k1h = function (context) {
|
|
4902
|
+
this.v1n_1(new OptionTransformContext(this, context), this.m1());
|
|
4899
4903
|
};
|
|
4900
|
-
protoOf(OptionWithValuesImpl).
|
|
4904
|
+
protoOf(OptionWithValuesImpl).d1n = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4901
4905
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4902
4906
|
};
|
|
4903
|
-
protoOf(OptionWithValuesImpl).
|
|
4904
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4907
|
+
protoOf(OptionWithValuesImpl).e1n = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4908
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.s1n_1, this.t1n_1, this.u1n_1, validator);
|
|
4905
4909
|
};
|
|
4906
4910
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4907
4911
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4933,8 +4937,8 @@
|
|
|
4933
4937
|
}
|
|
4934
4938
|
return this_0.toString();
|
|
4935
4939
|
};
|
|
4936
|
-
protoOf(OptionWithValuesImpl).
|
|
4937
|
-
return this.
|
|
4940
|
+
protoOf(OptionWithValuesImpl).k1m = function (thisRef, property) {
|
|
4941
|
+
return this.v1m((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4938
4942
|
};
|
|
4939
4943
|
function defaultEachProcessor() {
|
|
4940
4944
|
return defaultEachProcessor$lambda;
|
|
@@ -5003,7 +5007,7 @@
|
|
|
5003
5007
|
tags.p2('default', defaultForHelp);
|
|
5004
5008
|
} else
|
|
5005
5009
|
tags.q2('default');
|
|
5006
|
-
return _this__u8e3s4.
|
|
5010
|
+
return _this__u8e3s4.o1m(_this__u8e3s4.l1l(), _this__u8e3s4.n1m(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
5007
5011
|
}
|
|
5008
5012
|
function required(_this__u8e3s4) {
|
|
5009
5013
|
return transformAll_0(_this__u8e3s4, VOID, true, required$lambda);
|
|
@@ -5040,41 +5044,41 @@
|
|
|
5040
5044
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
5041
5045
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
5042
5046
|
}
|
|
5043
|
-
var tmp = _this__u8e3s4.
|
|
5047
|
+
var tmp = _this__u8e3s4.l1l();
|
|
5044
5048
|
var tmp_0 = defaultAllProcessor_0();
|
|
5045
5049
|
var tmp_1 = defaultValidator_0();
|
|
5046
5050
|
var tmp_2;
|
|
5047
5051
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
5048
5052
|
tmp_2 = transformValues$lambda;
|
|
5049
5053
|
} else {
|
|
5050
|
-
tmp_2 = _this__u8e3s4.
|
|
5054
|
+
tmp_2 = _this__u8e3s4.b1n();
|
|
5051
5055
|
}
|
|
5052
|
-
return _this__u8e3s4.
|
|
5056
|
+
return _this__u8e3s4.o1m(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
5053
5057
|
}
|
|
5054
5058
|
function transformValues$lambda($this$copy) {
|
|
5055
5059
|
return null;
|
|
5056
5060
|
}
|
|
5057
5061
|
function HelpTransformContext(context) {
|
|
5058
|
-
this.
|
|
5062
|
+
this.d1o_1 = context;
|
|
5059
5063
|
}
|
|
5060
5064
|
protoOf(HelpTransformContext).y8 = function () {
|
|
5061
|
-
return this.
|
|
5065
|
+
return this.d1o_1;
|
|
5062
5066
|
};
|
|
5063
|
-
protoOf(HelpTransformContext).
|
|
5067
|
+
protoOf(HelpTransformContext).t1l = function (message) {
|
|
5064
5068
|
throw new UsageError(message);
|
|
5065
5069
|
};
|
|
5066
5070
|
protoOf(HelpTransformContext).toString = function () {
|
|
5067
|
-
return 'HelpTransformContext(context=' + this.
|
|
5071
|
+
return 'HelpTransformContext(context=' + this.d1o_1.toString() + ')';
|
|
5068
5072
|
};
|
|
5069
5073
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
5070
|
-
return hashCode(this.
|
|
5074
|
+
return hashCode(this.d1o_1);
|
|
5071
5075
|
};
|
|
5072
5076
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
5073
5077
|
if (this === other)
|
|
5074
5078
|
return true;
|
|
5075
5079
|
if (!(other instanceof HelpTransformContext))
|
|
5076
5080
|
return false;
|
|
5077
|
-
if (!equals(this.
|
|
5081
|
+
if (!equals(this.d1o_1, other.d1o_1))
|
|
5078
5082
|
return false;
|
|
5079
5083
|
return true;
|
|
5080
5084
|
};
|
|
@@ -5087,10 +5091,10 @@
|
|
|
5087
5091
|
var tmp = defaultEachProcessor();
|
|
5088
5092
|
var tmp_0 = defaultAllProcessor_0();
|
|
5089
5093
|
var tmp_1 = defaultValidator_0();
|
|
5090
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5094
|
+
var tmp0_elvis_lhs = _this__u8e3s4.b1n();
|
|
5091
5095
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
5092
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5093
|
-
return _this__u8e3s4.
|
|
5096
|
+
var tmp1_elvis_lhs = _this__u8e3s4.n1l();
|
|
5097
|
+
return _this__u8e3s4.o1m(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
5094
5098
|
}
|
|
5095
5099
|
function valueToBool(_this__u8e3s4, value) {
|
|
5096
5100
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5114,7 +5118,7 @@
|
|
|
5114
5118
|
tmp = false;
|
|
5115
5119
|
break;
|
|
5116
5120
|
default:
|
|
5117
|
-
_this__u8e3s4.
|
|
5121
|
+
_this__u8e3s4.t1l(_this__u8e3s4.y8().v19_1.a1l(value));
|
|
5118
5122
|
break;
|
|
5119
5123
|
}
|
|
5120
5124
|
return tmp;
|
|
@@ -5128,18 +5132,18 @@
|
|
|
5128
5132
|
return function (_this__u8e3s4, it) {
|
|
5129
5133
|
var tmp;
|
|
5130
5134
|
try {
|
|
5131
|
-
var it_0 = $this.
|
|
5135
|
+
var it_0 = $this.l1l()(_this__u8e3s4, it);
|
|
5132
5136
|
tmp = valueToBool(_this__u8e3s4, it_0);
|
|
5133
5137
|
} catch ($p) {
|
|
5134
5138
|
var tmp_0;
|
|
5135
5139
|
if ($p instanceof UsageError) {
|
|
5136
5140
|
var err = $p;
|
|
5137
5141
|
var tmp_1 = err;
|
|
5138
|
-
var tmp0_elvis_lhs = err.
|
|
5142
|
+
var tmp0_elvis_lhs = err.f1e_1;
|
|
5139
5143
|
var tmp_2;
|
|
5140
5144
|
if (tmp0_elvis_lhs == null) {
|
|
5141
5145
|
// Inline function 'kotlin.takeUnless' call
|
|
5142
|
-
var this_0 = _this__u8e3s4.
|
|
5146
|
+
var this_0 = _this__u8e3s4.q1m_1;
|
|
5143
5147
|
var tmp_3;
|
|
5144
5148
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5145
5149
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
@@ -5152,13 +5156,13 @@
|
|
|
5152
5156
|
tmp_2 = tmp0_elvis_lhs;
|
|
5153
5157
|
}
|
|
5154
5158
|
var tmp1_elvis_lhs = tmp_2;
|
|
5155
|
-
tmp_1.
|
|
5159
|
+
tmp_1.f1e_1 = tmp1_elvis_lhs == null ? longestName(_this__u8e3s4.r1m_1) : tmp1_elvis_lhs;
|
|
5156
5160
|
throw err;
|
|
5157
5161
|
} else {
|
|
5158
5162
|
if ($p instanceof Exception) {
|
|
5159
5163
|
var err_0 = $p;
|
|
5160
5164
|
var tmp2_elvis_lhs = err_0.message;
|
|
5161
|
-
_this__u8e3s4.
|
|
5165
|
+
_this__u8e3s4.t1l(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5162
5166
|
} else {
|
|
5163
5167
|
throw $p;
|
|
5164
5168
|
}
|
|
@@ -5170,13 +5174,13 @@
|
|
|
5170
5174
|
}
|
|
5171
5175
|
function getInvs($this, invocation) {
|
|
5172
5176
|
// Inline function 'kotlin.collections.partition' call
|
|
5173
|
-
var this_0 = invocation.
|
|
5177
|
+
var this_0 = invocation.t1d_1.k1();
|
|
5174
5178
|
var first = ArrayList_init_$Create$();
|
|
5175
5179
|
var second = ArrayList_init_$Create$();
|
|
5176
5180
|
var _iterator__ex2g4s = this_0.r();
|
|
5177
5181
|
while (_iterator__ex2g4s.s()) {
|
|
5178
5182
|
var element = _iterator__ex2g4s.t();
|
|
5179
|
-
if (element.l1().
|
|
5183
|
+
if (element.l1().z1d()) {
|
|
5180
5184
|
first.v(element);
|
|
5181
5185
|
} else {
|
|
5182
5186
|
second.v(element);
|
|
@@ -5217,7 +5221,7 @@
|
|
|
5217
5221
|
var _iterator__ex2g4s = this_0.r();
|
|
5218
5222
|
while (_iterator__ex2g4s.s()) {
|
|
5219
5223
|
var element = _iterator__ex2g4s.t();
|
|
5220
|
-
if (element.
|
|
5224
|
+
if (element.z1d()) {
|
|
5221
5225
|
first.v(element);
|
|
5222
5226
|
} else {
|
|
5223
5227
|
second.v(element);
|
|
@@ -5227,11 +5231,11 @@
|
|
|
5227
5231
|
}
|
|
5228
5232
|
function CommandLineParser() {
|
|
5229
5233
|
}
|
|
5230
|
-
protoOf(CommandLineParser).
|
|
5234
|
+
protoOf(CommandLineParser).l1d = function (command, argv) {
|
|
5231
5235
|
return parseArgv(command, argv);
|
|
5232
5236
|
};
|
|
5233
|
-
protoOf(CommandLineParser).
|
|
5234
|
-
var command = invocation.
|
|
5237
|
+
protoOf(CommandLineParser).e1o = function (invocation) {
|
|
5238
|
+
var command = invocation.s1d_1;
|
|
5235
5239
|
var context = command.f19();
|
|
5236
5240
|
throwCompletionMessageIfRequested(context, command);
|
|
5237
5241
|
var eagerOpts = getOpts(this, command).fa();
|
|
@@ -5240,8 +5244,8 @@
|
|
|
5240
5244
|
finalizeOptions(context, eagerOpts, eagerInvs);
|
|
5241
5245
|
throwErrors(validateParameters(context, eagerInvs.n2()));
|
|
5242
5246
|
};
|
|
5243
|
-
protoOf(CommandLineParser).
|
|
5244
|
-
var command = invocation.
|
|
5247
|
+
protoOf(CommandLineParser).f1o = function (invocation) {
|
|
5248
|
+
var command = invocation.s1d_1;
|
|
5245
5249
|
var context = command.f19();
|
|
5246
5250
|
var groups = command.n1b();
|
|
5247
5251
|
var arguments_0 = command.m1b();
|
|
@@ -5260,13 +5264,13 @@
|
|
|
5260
5264
|
}
|
|
5261
5265
|
}
|
|
5262
5266
|
var nonEagerNonGroupOpts = destination;
|
|
5263
|
-
var argumentInvocations = invocation.
|
|
5267
|
+
var argumentInvocations = invocation.u1d_1;
|
|
5264
5268
|
var finalizationErrors = finalizeParameters(context, nonEagerNonGroupOpts, groups, arguments_0, nonEagerInvs, argumentInvocations);
|
|
5265
5269
|
throwErrors(plus_0(usageErrors, finalizationErrors));
|
|
5266
5270
|
throwErrors(validateParameters(context, nonEagerNonGroupOpts, groups, arguments_0));
|
|
5267
5271
|
var tmp;
|
|
5268
5272
|
var tmp_0;
|
|
5269
|
-
if (invocation.
|
|
5273
|
+
if (invocation.v1d_1.p()) {
|
|
5270
5274
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5271
5275
|
tmp_0 = !command.y18_1.p();
|
|
5272
5276
|
} else {
|
|
@@ -5283,13 +5287,13 @@
|
|
|
5283
5287
|
var tmp_1 = context;
|
|
5284
5288
|
var tmp_2 = context.a1a_1;
|
|
5285
5289
|
// Inline function 'kotlin.collections.map' call
|
|
5286
|
-
var this_0 = invocation.
|
|
5290
|
+
var this_0 = invocation.v1d_1;
|
|
5287
5291
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5288
5292
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5289
5293
|
var _iterator__ex2g4s_0 = this_0.r();
|
|
5290
5294
|
while (_iterator__ex2g4s_0.s()) {
|
|
5291
5295
|
var item = _iterator__ex2g4s_0.t();
|
|
5292
|
-
var tmp$ret$7 = item.
|
|
5296
|
+
var tmp$ret$7 = item.s1d_1;
|
|
5293
5297
|
destination_0.v(tmp$ret$7);
|
|
5294
5298
|
}
|
|
5295
5299
|
tmp_1.a1a_1 = plus_0(tmp_2, destination_0);
|
|
@@ -5328,7 +5332,7 @@
|
|
|
5328
5332
|
}
|
|
5329
5333
|
function getUsageErrorsOrThrow(_this__u8e3s4) {
|
|
5330
5334
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
5331
|
-
var tmp0 = _this__u8e3s4.
|
|
5335
|
+
var tmp0 = _this__u8e3s4.w1d_1;
|
|
5332
5336
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
5333
5337
|
var destination = ArrayList_init_$Create$();
|
|
5334
5338
|
var _iterator__ex2g4s = tmp0.r();
|
|
@@ -5339,9 +5343,9 @@
|
|
|
5339
5343
|
}
|
|
5340
5344
|
}
|
|
5341
5345
|
var usageErrors = destination;
|
|
5342
|
-
if (usageErrors.d1() === _this__u8e3s4.
|
|
5346
|
+
if (usageErrors.d1() === _this__u8e3s4.w1d_1.d1())
|
|
5343
5347
|
return usageErrors;
|
|
5344
|
-
var tmp0_0 = _this__u8e3s4.
|
|
5348
|
+
var tmp0_0 = _this__u8e3s4.w1d_1;
|
|
5345
5349
|
var tmp$ret$2;
|
|
5346
5350
|
$l$block: {
|
|
5347
5351
|
// Inline function 'kotlin.collections.first' call
|
|
@@ -5359,23 +5363,23 @@
|
|
|
5359
5363
|
throw tmp$ret$2;
|
|
5360
5364
|
}
|
|
5361
5365
|
function OptionInvocation(name, values) {
|
|
5362
|
-
this.
|
|
5363
|
-
this.
|
|
5366
|
+
this.a1o_1 = name;
|
|
5367
|
+
this.b1o_1 = values;
|
|
5364
5368
|
}
|
|
5365
|
-
protoOf(OptionInvocation).
|
|
5369
|
+
protoOf(OptionInvocation).g1o = function (name, values) {
|
|
5366
5370
|
return new OptionInvocation(name, values);
|
|
5367
5371
|
};
|
|
5368
|
-
protoOf(OptionInvocation).
|
|
5369
|
-
name = name === VOID ? this.
|
|
5370
|
-
values = values === VOID ? this.
|
|
5371
|
-
return $super === VOID ? this.
|
|
5372
|
+
protoOf(OptionInvocation).c1o = function (name, values, $super) {
|
|
5373
|
+
name = name === VOID ? this.a1o_1 : name;
|
|
5374
|
+
values = values === VOID ? this.b1o_1 : values;
|
|
5375
|
+
return $super === VOID ? this.g1o(name, values) : $super.g1o.call(this, name, values);
|
|
5372
5376
|
};
|
|
5373
5377
|
protoOf(OptionInvocation).toString = function () {
|
|
5374
|
-
return 'OptionInvocation(name=' + this.
|
|
5378
|
+
return 'OptionInvocation(name=' + this.a1o_1 + ', values=' + toString_0(this.b1o_1) + ')';
|
|
5375
5379
|
};
|
|
5376
5380
|
protoOf(OptionInvocation).hashCode = function () {
|
|
5377
|
-
var result = getStringHashCode(this.
|
|
5378
|
-
result = imul(result, 31) + hashCode(this.
|
|
5381
|
+
var result = getStringHashCode(this.a1o_1);
|
|
5382
|
+
result = imul(result, 31) + hashCode(this.b1o_1) | 0;
|
|
5379
5383
|
return result;
|
|
5380
5384
|
};
|
|
5381
5385
|
protoOf(OptionInvocation).equals = function (other) {
|
|
@@ -5383,23 +5387,23 @@
|
|
|
5383
5387
|
return true;
|
|
5384
5388
|
if (!(other instanceof OptionInvocation))
|
|
5385
5389
|
return false;
|
|
5386
|
-
if (!(this.
|
|
5390
|
+
if (!(this.a1o_1 === other.a1o_1))
|
|
5387
5391
|
return false;
|
|
5388
|
-
if (!equals(this.
|
|
5392
|
+
if (!equals(this.b1o_1, other.b1o_1))
|
|
5389
5393
|
return false;
|
|
5390
5394
|
return true;
|
|
5391
5395
|
};
|
|
5392
5396
|
function CommandLineParseResult(invocation, originalArgv, expandedArgv) {
|
|
5393
|
-
this.
|
|
5394
|
-
this.
|
|
5395
|
-
this.
|
|
5397
|
+
this.m1d_1 = invocation;
|
|
5398
|
+
this.n1d_1 = originalArgv;
|
|
5399
|
+
this.o1d_1 = expandedArgv;
|
|
5396
5400
|
}
|
|
5397
5401
|
function CommandInvocation(command, optionInvocations, argumentInvocations, subcommandInvocations, errors) {
|
|
5398
|
-
this.
|
|
5399
|
-
this.
|
|
5400
|
-
this.
|
|
5401
|
-
this.
|
|
5402
|
-
this.
|
|
5402
|
+
this.s1d_1 = command;
|
|
5403
|
+
this.t1d_1 = optionInvocations;
|
|
5404
|
+
this.u1d_1 = argumentInvocations;
|
|
5405
|
+
this.v1d_1 = subcommandInvocations;
|
|
5406
|
+
this.w1d_1 = errors;
|
|
5403
5407
|
}
|
|
5404
5408
|
function invoke$yieldSubs(_this__u8e3s4, this$0, inv, $completion) {
|
|
5405
5409
|
var tmp = new $invoke$yieldSubsCOROUTINE$(_this__u8e3s4, this$0, inv, $completion);
|
|
@@ -5409,9 +5413,9 @@
|
|
|
5409
5413
|
}
|
|
5410
5414
|
function $invoke$yieldSubsCOROUTINE$(_this__u8e3s4, this$0, inv, resultContinuation) {
|
|
5411
5415
|
CoroutineImpl.call(this, resultContinuation);
|
|
5412
|
-
this.
|
|
5413
|
-
this.
|
|
5414
|
-
this.
|
|
5416
|
+
this.p1o_1 = _this__u8e3s4;
|
|
5417
|
+
this.q1o_1 = this$0;
|
|
5418
|
+
this.r1o_1 = inv;
|
|
5415
5419
|
}
|
|
5416
5420
|
protoOf($invoke$yieldSubsCOROUTINE$).a9 = function () {
|
|
5417
5421
|
var suspendResult = this.u8_1;
|
|
@@ -5421,27 +5425,27 @@
|
|
|
5421
5425
|
switch (tmp) {
|
|
5422
5426
|
case 0:
|
|
5423
5427
|
this.t8_1 = 5;
|
|
5424
|
-
this.
|
|
5428
|
+
this.q1o_1.q1d_1.v(this.r1o_1.s1d_1.f19());
|
|
5425
5429
|
this.s8_1 = 1;
|
|
5426
|
-
suspendResult = this.
|
|
5430
|
+
suspendResult = this.p1o_1.ue(this.r1o_1, this);
|
|
5427
5431
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5428
5432
|
return suspendResult;
|
|
5429
5433
|
}
|
|
5430
5434
|
|
|
5431
5435
|
continue $sm;
|
|
5432
5436
|
case 1:
|
|
5433
|
-
this.
|
|
5437
|
+
this.s1o_1 = this.r1o_1.v1d_1.r();
|
|
5434
5438
|
this.s8_1 = 2;
|
|
5435
5439
|
continue $sm;
|
|
5436
5440
|
case 2:
|
|
5437
|
-
if (!this.
|
|
5441
|
+
if (!this.s1o_1.s()) {
|
|
5438
5442
|
this.s8_1 = 4;
|
|
5439
5443
|
continue $sm;
|
|
5440
5444
|
}
|
|
5441
5445
|
|
|
5442
|
-
var sub = this.
|
|
5446
|
+
var sub = this.s1o_1.t();
|
|
5443
5447
|
this.s8_1 = 3;
|
|
5444
|
-
suspendResult = invoke$yieldSubs(this.
|
|
5448
|
+
suspendResult = invoke$yieldSubs(this.p1o_1, this.q1o_1, sub, this);
|
|
5445
5449
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5446
5450
|
return suspendResult;
|
|
5447
5451
|
}
|
|
@@ -5451,7 +5455,7 @@
|
|
|
5451
5455
|
this.s8_1 = 2;
|
|
5452
5456
|
continue $sm;
|
|
5453
5457
|
case 4:
|
|
5454
|
-
removeLast(this.
|
|
5458
|
+
removeLast(this.q1o_1.q1d_1).u3();
|
|
5455
5459
|
return Unit_instance;
|
|
5456
5460
|
case 5:
|
|
5457
5461
|
throw this.v8_1;
|
|
@@ -5468,22 +5472,22 @@
|
|
|
5468
5472
|
while (true);
|
|
5469
5473
|
};
|
|
5470
5474
|
function FlatInvocations$iterator$slambda$lambda(it) {
|
|
5471
|
-
CommandLineParser_instance.
|
|
5475
|
+
CommandLineParser_instance.f1o(it);
|
|
5472
5476
|
return Unit_instance;
|
|
5473
5477
|
}
|
|
5474
5478
|
function FlatInvocations$seq$slambda($root, this$0, resultContinuation) {
|
|
5475
|
-
this.
|
|
5476
|
-
this.
|
|
5479
|
+
this.b1p_1 = $root;
|
|
5480
|
+
this.c1p_1 = this$0;
|
|
5477
5481
|
CoroutineImpl.call(this, resultContinuation);
|
|
5478
5482
|
}
|
|
5479
|
-
protoOf(FlatInvocations$seq$slambda).
|
|
5480
|
-
var tmp = this.
|
|
5483
|
+
protoOf(FlatInvocations$seq$slambda).e1p = function ($this$sequence, $completion) {
|
|
5484
|
+
var tmp = this.f1p($this$sequence, $completion);
|
|
5481
5485
|
tmp.u8_1 = Unit_instance;
|
|
5482
5486
|
tmp.v8_1 = null;
|
|
5483
5487
|
return tmp.a9();
|
|
5484
5488
|
};
|
|
5485
5489
|
protoOf(FlatInvocations$seq$slambda).s9 = function (p1, $completion) {
|
|
5486
|
-
return this.
|
|
5490
|
+
return this.e1p(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
5487
5491
|
};
|
|
5488
5492
|
protoOf(FlatInvocations$seq$slambda).a9 = function () {
|
|
5489
5493
|
var suspendResult = this.u8_1;
|
|
@@ -5494,7 +5498,7 @@
|
|
|
5494
5498
|
case 0:
|
|
5495
5499
|
this.t8_1 = 2;
|
|
5496
5500
|
this.s8_1 = 1;
|
|
5497
|
-
suspendResult = invoke$yieldSubs(this.
|
|
5501
|
+
suspendResult = invoke$yieldSubs(this.d1p_1, this.c1p_1, this.b1p_1, this);
|
|
5498
5502
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5499
5503
|
return suspendResult;
|
|
5500
5504
|
}
|
|
@@ -5516,31 +5520,31 @@
|
|
|
5516
5520
|
}
|
|
5517
5521
|
while (true);
|
|
5518
5522
|
};
|
|
5519
|
-
protoOf(FlatInvocations$seq$slambda).
|
|
5520
|
-
var i = new FlatInvocations$seq$slambda(this.
|
|
5521
|
-
i.
|
|
5523
|
+
protoOf(FlatInvocations$seq$slambda).f1p = function ($this$sequence, completion) {
|
|
5524
|
+
var i = new FlatInvocations$seq$slambda(this.b1p_1, this.c1p_1, completion);
|
|
5525
|
+
i.d1p_1 = $this$sequence;
|
|
5522
5526
|
return i;
|
|
5523
5527
|
};
|
|
5524
5528
|
function FlatInvocations$seq$slambda_0($root, this$0, resultContinuation) {
|
|
5525
5529
|
var i = new FlatInvocations$seq$slambda($root, this$0, resultContinuation);
|
|
5526
5530
|
var l = function ($this$sequence, $completion) {
|
|
5527
|
-
return i.
|
|
5531
|
+
return i.e1p($this$sequence, $completion);
|
|
5528
5532
|
};
|
|
5529
5533
|
l.$arity = 1;
|
|
5530
5534
|
return l;
|
|
5531
5535
|
}
|
|
5532
5536
|
function FlatInvocations$iterator$slambda(this$0, resultContinuation) {
|
|
5533
|
-
this.
|
|
5537
|
+
this.o1p_1 = this$0;
|
|
5534
5538
|
CoroutineImpl.call(this, resultContinuation);
|
|
5535
5539
|
}
|
|
5536
|
-
protoOf(FlatInvocations$iterator$slambda).
|
|
5537
|
-
var tmp = this.
|
|
5540
|
+
protoOf(FlatInvocations$iterator$slambda).e1p = function ($this$sequence, $completion) {
|
|
5541
|
+
var tmp = this.f1p($this$sequence, $completion);
|
|
5538
5542
|
tmp.u8_1 = Unit_instance;
|
|
5539
5543
|
tmp.v8_1 = null;
|
|
5540
5544
|
return tmp.a9();
|
|
5541
5545
|
};
|
|
5542
5546
|
protoOf(FlatInvocations$iterator$slambda).s9 = function (p1, $completion) {
|
|
5543
|
-
return this.
|
|
5547
|
+
return this.e1p(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
5544
5548
|
};
|
|
5545
5549
|
protoOf(FlatInvocations$iterator$slambda).a9 = function () {
|
|
5546
5550
|
var suspendResult = this.u8_1;
|
|
@@ -5550,14 +5554,14 @@
|
|
|
5550
5554
|
switch (tmp) {
|
|
5551
5555
|
case 0:
|
|
5552
5556
|
this.t8_1 = 2;
|
|
5553
|
-
var _iterator__ex2g4s = this.
|
|
5557
|
+
var _iterator__ex2g4s = this.o1p_1.r1d_1.r();
|
|
5554
5558
|
while (_iterator__ex2g4s.s()) {
|
|
5555
5559
|
var element = _iterator__ex2g4s.t();
|
|
5556
|
-
CommandLineParser_instance.
|
|
5560
|
+
CommandLineParser_instance.e1o(element);
|
|
5557
5561
|
}
|
|
5558
5562
|
|
|
5559
5563
|
this.s8_1 = 1;
|
|
5560
|
-
suspendResult = this.
|
|
5564
|
+
suspendResult = this.p1p_1.we(onEach(this.o1p_1.r1d_1, FlatInvocations$iterator$slambda$lambda), this);
|
|
5561
5565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5562
5566
|
return suspendResult;
|
|
5563
5567
|
}
|
|
@@ -5579,39 +5583,39 @@
|
|
|
5579
5583
|
}
|
|
5580
5584
|
while (true);
|
|
5581
5585
|
};
|
|
5582
|
-
protoOf(FlatInvocations$iterator$slambda).
|
|
5583
|
-
var i = new FlatInvocations$iterator$slambda(this.
|
|
5584
|
-
i.
|
|
5586
|
+
protoOf(FlatInvocations$iterator$slambda).f1p = function ($this$sequence, completion) {
|
|
5587
|
+
var i = new FlatInvocations$iterator$slambda(this.o1p_1, completion);
|
|
5588
|
+
i.p1p_1 = $this$sequence;
|
|
5585
5589
|
return i;
|
|
5586
5590
|
};
|
|
5587
5591
|
function FlatInvocations$iterator$slambda_0(this$0, resultContinuation) {
|
|
5588
5592
|
var i = new FlatInvocations$iterator$slambda(this$0, resultContinuation);
|
|
5589
5593
|
var l = function ($this$sequence, $completion) {
|
|
5590
|
-
return i.
|
|
5594
|
+
return i.e1p($this$sequence, $completion);
|
|
5591
5595
|
};
|
|
5592
5596
|
l.$arity = 1;
|
|
5593
5597
|
return l;
|
|
5594
5598
|
}
|
|
5595
5599
|
function FlatInvocations(root, finalize) {
|
|
5596
|
-
this.
|
|
5600
|
+
this.p1d_1 = finalize;
|
|
5597
5601
|
var tmp = this;
|
|
5598
5602
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5599
|
-
tmp.
|
|
5603
|
+
tmp.q1d_1 = ArrayList_init_$Create$();
|
|
5600
5604
|
var tmp_0 = this;
|
|
5601
|
-
tmp_0.
|
|
5605
|
+
tmp_0.r1d_1 = sequence(FlatInvocations$seq$slambda_0(root, this, null));
|
|
5602
5606
|
}
|
|
5603
5607
|
protoOf(FlatInvocations).r = function () {
|
|
5604
5608
|
var tmp;
|
|
5605
|
-
if (this.
|
|
5609
|
+
if (this.p1d_1) {
|
|
5606
5610
|
tmp = sequence(FlatInvocations$iterator$slambda_0(this, null));
|
|
5607
5611
|
} else {
|
|
5608
|
-
tmp = this.
|
|
5612
|
+
tmp = this.r1d_1;
|
|
5609
5613
|
}
|
|
5610
5614
|
return tmp.r();
|
|
5611
5615
|
};
|
|
5612
5616
|
protoOf(FlatInvocations).u3 = function () {
|
|
5613
5617
|
// Inline function 'kotlin.collections.forEach' call
|
|
5614
|
-
var _iterator__ex2g4s = this.
|
|
5618
|
+
var _iterator__ex2g4s = this.q1d_1.r();
|
|
5615
5619
|
while (_iterator__ex2g4s.s()) {
|
|
5616
5620
|
var element = _iterator__ex2g4s.t();
|
|
5617
5621
|
element.u3();
|
|
@@ -5622,27 +5626,27 @@
|
|
|
5622
5626
|
return new FlatInvocations(_this__u8e3s4, finalize);
|
|
5623
5627
|
}
|
|
5624
5628
|
function ArgumentInvocation(argument, values) {
|
|
5625
|
-
this.
|
|
5626
|
-
this.
|
|
5629
|
+
this.l1h_1 = argument;
|
|
5630
|
+
this.m1h_1 = values;
|
|
5627
5631
|
}
|
|
5628
5632
|
function parseArgv(rootCommand, originalArgv) {
|
|
5629
5633
|
rootCommand.h1b();
|
|
5630
5634
|
var result = parseCommandArgv(rootCommand, originalArgv, 0);
|
|
5631
|
-
return new CommandLineParseResult(result.
|
|
5635
|
+
return new CommandLineParseResult(result.q1p_1, originalArgv, result.s1p_1);
|
|
5632
5636
|
}
|
|
5633
5637
|
function CommandArgvParseResult(invocation, nextCommand, argv, i) {
|
|
5634
|
-
this.
|
|
5635
|
-
this.
|
|
5636
|
-
this.
|
|
5637
|
-
this.
|
|
5638
|
+
this.q1p_1 = invocation;
|
|
5639
|
+
this.r1p_1 = nextCommand;
|
|
5640
|
+
this.s1p_1 = argv;
|
|
5641
|
+
this.t1p_1 = i;
|
|
5638
5642
|
}
|
|
5639
5643
|
function parseCommandArgv(command, argv, i) {
|
|
5640
|
-
var rootResult = (new CommandParser(command, argv, i)).
|
|
5644
|
+
var rootResult = (new CommandParser(command, argv, i)).p1q();
|
|
5641
5645
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5642
5646
|
var subcommands = ArrayList_init_$Create$();
|
|
5643
|
-
var nextCommand = rootResult.
|
|
5644
|
-
var nextArgv = rootResult.
|
|
5645
|
-
var nextI = rootResult.
|
|
5647
|
+
var nextCommand = rootResult.r1q_1;
|
|
5648
|
+
var nextArgv = rootResult.u1q_1;
|
|
5649
|
+
var nextI = rootResult.s1q_1;
|
|
5646
5650
|
$l$loop: while (true) {
|
|
5647
5651
|
var tmp;
|
|
5648
5652
|
if (!(nextCommand == null)) {
|
|
@@ -5655,38 +5659,38 @@
|
|
|
5655
5659
|
break $l$loop;
|
|
5656
5660
|
}
|
|
5657
5661
|
var result = parseCommandArgv(nextCommand, nextArgv, nextI);
|
|
5658
|
-
nextCommand = result.
|
|
5659
|
-
nextArgv = result.
|
|
5660
|
-
nextI = result.
|
|
5662
|
+
nextCommand = result.r1p_1;
|
|
5663
|
+
nextArgv = result.s1p_1;
|
|
5664
|
+
nextI = result.t1p_1;
|
|
5661
5665
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5662
|
-
var element = result.
|
|
5666
|
+
var element = result.q1p_1;
|
|
5663
5667
|
subcommands.v(element);
|
|
5664
5668
|
}
|
|
5665
|
-
return new CommandArgvParseResult(rootResult.
|
|
5669
|
+
return new CommandArgvParseResult(rootResult.x1q(subcommands), nextCommand, nextArgv, nextI);
|
|
5666
5670
|
}
|
|
5667
5671
|
function CommandParseResult(command, nextCommand, i, errors, expandedArgv, optInvocations, argInvocations) {
|
|
5668
|
-
this.
|
|
5669
|
-
this.
|
|
5670
|
-
this.
|
|
5671
|
-
this.
|
|
5672
|
-
this.
|
|
5673
|
-
this.
|
|
5674
|
-
this.
|
|
5672
|
+
this.q1q_1 = command;
|
|
5673
|
+
this.r1q_1 = nextCommand;
|
|
5674
|
+
this.s1q_1 = i;
|
|
5675
|
+
this.t1q_1 = errors;
|
|
5676
|
+
this.u1q_1 = expandedArgv;
|
|
5677
|
+
this.v1q_1 = optInvocations;
|
|
5678
|
+
this.w1q_1 = argInvocations;
|
|
5675
5679
|
}
|
|
5676
|
-
protoOf(CommandParseResult).
|
|
5677
|
-
return new CommandInvocation(this.
|
|
5680
|
+
protoOf(CommandParseResult).x1q = function (subcommands) {
|
|
5681
|
+
return new CommandInvocation(this.q1q_1, this.v1q_1, this.w1q_1, subcommands, this.t1q_1);
|
|
5678
5682
|
};
|
|
5679
5683
|
protoOf(CommandParseResult).toString = function () {
|
|
5680
|
-
return 'CommandParseResult(command=' + toString_0(this.
|
|
5684
|
+
return 'CommandParseResult(command=' + toString_0(this.q1q_1) + ', nextCommand=' + toString_1(this.r1q_1) + ', i=' + this.s1q_1 + ', errors=' + toString_0(this.t1q_1) + ', expandedArgv=' + toString_0(this.u1q_1) + ', optInvocations=' + toString_0(this.v1q_1) + ', argInvocations=' + toString_0(this.w1q_1) + ')';
|
|
5681
5685
|
};
|
|
5682
5686
|
protoOf(CommandParseResult).hashCode = function () {
|
|
5683
|
-
var result = hashCode(this.
|
|
5684
|
-
result = imul(result, 31) + (this.
|
|
5685
|
-
result = imul(result, 31) + this.
|
|
5686
|
-
result = imul(result, 31) + hashCode(this.s1q_1) | 0;
|
|
5687
|
+
var result = hashCode(this.q1q_1);
|
|
5688
|
+
result = imul(result, 31) + (this.r1q_1 == null ? 0 : hashCode(this.r1q_1)) | 0;
|
|
5689
|
+
result = imul(result, 31) + this.s1q_1 | 0;
|
|
5687
5690
|
result = imul(result, 31) + hashCode(this.t1q_1) | 0;
|
|
5688
5691
|
result = imul(result, 31) + hashCode(this.u1q_1) | 0;
|
|
5689
5692
|
result = imul(result, 31) + hashCode(this.v1q_1) | 0;
|
|
5693
|
+
result = imul(result, 31) + hashCode(this.w1q_1) | 0;
|
|
5690
5694
|
return result;
|
|
5691
5695
|
};
|
|
5692
5696
|
protoOf(CommandParseResult).equals = function (other) {
|
|
@@ -5694,13 +5698,11 @@
|
|
|
5694
5698
|
return true;
|
|
5695
5699
|
if (!(other instanceof CommandParseResult))
|
|
5696
5700
|
return false;
|
|
5697
|
-
if (!equals(this.p1q_1, other.p1q_1))
|
|
5698
|
-
return false;
|
|
5699
5701
|
if (!equals(this.q1q_1, other.q1q_1))
|
|
5700
5702
|
return false;
|
|
5701
|
-
if (!(this.r1q_1
|
|
5703
|
+
if (!equals(this.r1q_1, other.r1q_1))
|
|
5702
5704
|
return false;
|
|
5703
|
-
if (!
|
|
5705
|
+
if (!(this.s1q_1 === other.s1q_1))
|
|
5704
5706
|
return false;
|
|
5705
5707
|
if (!equals(this.t1q_1, other.t1q_1))
|
|
5706
5708
|
return false;
|
|
@@ -5708,66 +5710,68 @@
|
|
|
5708
5710
|
return false;
|
|
5709
5711
|
if (!equals(this.v1q_1, other.v1q_1))
|
|
5710
5712
|
return false;
|
|
5713
|
+
if (!equals(this.w1q_1, other.w1q_1))
|
|
5714
|
+
return false;
|
|
5711
5715
|
return true;
|
|
5712
5716
|
};
|
|
5713
5717
|
function _get_canParseSubcommands__hq4fdg($this) {
|
|
5714
|
-
return $this.
|
|
5718
|
+
return $this.f1q_1.d1() >= $this.m1q_1;
|
|
5715
5719
|
}
|
|
5716
5720
|
function consumeTokens($this) {
|
|
5717
|
-
$l$loop: while ($this.
|
|
5718
|
-
var tok = $this.
|
|
5719
|
-
var normTok = $this.
|
|
5721
|
+
$l$loop: while ($this.k1q_1 <= get_lastIndex_0($this.v1p_1)) {
|
|
5722
|
+
var tok = $this.v1p_1.c1($this.k1q_1);
|
|
5723
|
+
var normTok = $this.w1p_1.q19_1($this.w1p_1, tok);
|
|
5720
5724
|
var prefix = splitOptionPrefix(tok).da_1;
|
|
5721
5725
|
var tmp;
|
|
5722
|
-
if ($this.
|
|
5726
|
+
if ($this.k1q_1 >= $this.l1q_1) {
|
|
5723
5727
|
// Inline function 'kotlin.collections.contains' call
|
|
5724
5728
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5725
|
-
var this_0 = $this.
|
|
5729
|
+
var this_0 = $this.x1p_1;
|
|
5726
5730
|
tmp = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).k2(tok);
|
|
5727
5731
|
} else {
|
|
5728
5732
|
tmp = false;
|
|
5729
5733
|
}
|
|
5730
5734
|
if (tmp) {
|
|
5731
|
-
insertTokens($this, getValue($this.
|
|
5735
|
+
insertTokens($this, getValue($this.x1p_1, tok));
|
|
5732
5736
|
} else {
|
|
5733
5737
|
var tmp_0;
|
|
5734
|
-
if ($this.
|
|
5738
|
+
if ($this.o1q_1 && startsWith(tok, '@')) {
|
|
5735
5739
|
// Inline function 'kotlin.collections.contains' call
|
|
5736
5740
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5737
|
-
var this_1 = $this.
|
|
5741
|
+
var this_1 = $this.b1q_1;
|
|
5738
5742
|
tmp_0 = !(isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).k2(normTok);
|
|
5739
5743
|
} else {
|
|
5740
5744
|
tmp_0 = false;
|
|
5741
5745
|
}
|
|
5742
5746
|
if (tmp_0) {
|
|
5743
5747
|
if (startsWith(tok, '@@')) {
|
|
5744
|
-
var tmp0 = $this.
|
|
5748
|
+
var tmp0 = $this.f1q_1;
|
|
5745
5749
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5746
5750
|
var element = drop(tok, 1);
|
|
5747
5751
|
tmp0.v(element);
|
|
5748
|
-
$this.
|
|
5752
|
+
$this.k1q_1 = $this.k1q_1 + 1 | 0;
|
|
5749
5753
|
} else {
|
|
5750
|
-
insertTokens($this, loadArgFile(drop(normTok, 1), $this.
|
|
5754
|
+
insertTokens($this, loadArgFile(drop(normTok, 1), $this.w1p_1));
|
|
5751
5755
|
}
|
|
5752
5756
|
} else {
|
|
5753
|
-
if ($this.
|
|
5754
|
-
$this.
|
|
5755
|
-
$this.m1q_1 = false;
|
|
5757
|
+
if ($this.n1q_1 && tok === '--') {
|
|
5758
|
+
$this.k1q_1 = $this.k1q_1 + 1 | 0;
|
|
5756
5759
|
$this.n1q_1 = false;
|
|
5760
|
+
$this.o1q_1 = false;
|
|
5757
5761
|
} else {
|
|
5758
|
-
if ($this.
|
|
5762
|
+
if ($this.n1q_1 && (prefix.length > 1 && $this.d1q_1.u1(prefix) || $this.e1q_1.u1(normTok) || isLongOptionWithEquals($this, prefix, tok) || !$this.w1p_1.l19_1)) {
|
|
5759
5763
|
consumeOptionParse($this, parseLongOpt($this, tok));
|
|
5760
5764
|
} else {
|
|
5761
5765
|
var tmp_1;
|
|
5762
5766
|
var tmp_2;
|
|
5763
|
-
if ($this.
|
|
5767
|
+
if ($this.n1q_1 && tok.length >= 2) {
|
|
5764
5768
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5765
5769
|
tmp_2 = charSequenceLength(prefix) > 0;
|
|
5766
5770
|
} else {
|
|
5767
5771
|
tmp_2 = false;
|
|
5768
5772
|
}
|
|
5769
5773
|
if (tmp_2) {
|
|
5770
|
-
tmp_1 = $this.
|
|
5774
|
+
tmp_1 = $this.d1q_1.u1(prefix);
|
|
5771
5775
|
} else {
|
|
5772
5776
|
tmp_1 = false;
|
|
5773
5777
|
}
|
|
@@ -5778,21 +5782,21 @@
|
|
|
5778
5782
|
if (_get_canParseSubcommands__hq4fdg($this)) {
|
|
5779
5783
|
// Inline function 'kotlin.collections.contains' call
|
|
5780
5784
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5781
|
-
var this_2 = $this.
|
|
5785
|
+
var this_2 = $this.a1q_1;
|
|
5782
5786
|
tmp_3 = (isInterface(this_2, KtMap) ? this_2 : THROW_CCE()).k2(normTok);
|
|
5783
5787
|
} else {
|
|
5784
5788
|
tmp_3 = false;
|
|
5785
5789
|
}
|
|
5786
5790
|
if (tmp_3) {
|
|
5787
|
-
$this.
|
|
5788
|
-
$this.
|
|
5791
|
+
$this.g1q_1 = getValue($this.a1q_1, normTok);
|
|
5792
|
+
$this.k1q_1 = $this.k1q_1 + 1 | 0;
|
|
5789
5793
|
break $l$loop;
|
|
5790
5794
|
} else {
|
|
5791
|
-
if (!$this.
|
|
5792
|
-
$this.
|
|
5795
|
+
if (!$this.w1p_1.k19_1)
|
|
5796
|
+
$this.n1q_1 = false;
|
|
5793
5797
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5794
|
-
$this.
|
|
5795
|
-
$this.
|
|
5798
|
+
$this.f1q_1.v(tok);
|
|
5799
|
+
$this.k1q_1 = $this.k1q_1 + 1 | 0;
|
|
5796
5800
|
}
|
|
5797
5801
|
}
|
|
5798
5802
|
}
|
|
@@ -5803,8 +5807,8 @@
|
|
|
5803
5807
|
}
|
|
5804
5808
|
function printHelpOnEmptyArgsIfNecessary($this) {
|
|
5805
5809
|
var tmp;
|
|
5806
|
-
if ($this.
|
|
5807
|
-
var tmp0 = $this.
|
|
5810
|
+
if ($this.k1q_1 > get_lastIndex_0($this.v1p_1) && $this.u1p_1.x1a()) {
|
|
5811
|
+
var tmp0 = $this.u1p_1.z18_1;
|
|
5808
5812
|
var tmp$ret$0;
|
|
5809
5813
|
$l$block_0: {
|
|
5810
5814
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -5821,7 +5825,7 @@
|
|
|
5821
5825
|
var _iterator__ex2g4s = tmp0.r();
|
|
5822
5826
|
while (_iterator__ex2g4s.s()) {
|
|
5823
5827
|
var element = _iterator__ex2g4s.t();
|
|
5824
|
-
if (hasEnvvarOrSourcedValue(element, $this.
|
|
5828
|
+
if (hasEnvvarOrSourcedValue(element, $this.w1p_1, emptyList())) {
|
|
5825
5829
|
tmp$ret$0 = false;
|
|
5826
5830
|
break $l$block_0;
|
|
5827
5831
|
}
|
|
@@ -5833,16 +5837,16 @@
|
|
|
5833
5837
|
tmp = false;
|
|
5834
5838
|
}
|
|
5835
5839
|
if (tmp) {
|
|
5836
|
-
var tmp0_0 = $this.
|
|
5840
|
+
var tmp0_0 = $this.j1q_1;
|
|
5837
5841
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5838
|
-
var element_0 = new PrintHelpMessage($this.
|
|
5842
|
+
var element_0 = new PrintHelpMessage($this.w1p_1, true);
|
|
5839
5843
|
tmp0_0.v(element_0);
|
|
5840
5844
|
return true;
|
|
5841
5845
|
}
|
|
5842
5846
|
return false;
|
|
5843
5847
|
}
|
|
5844
5848
|
function splitOptionPrefixes($this) {
|
|
5845
|
-
var _iterator__ex2g4s = $this.
|
|
5849
|
+
var _iterator__ex2g4s = $this.u1p_1.z18_1.r();
|
|
5846
5850
|
while (_iterator__ex2g4s.s()) {
|
|
5847
5851
|
var option = _iterator__ex2g4s.t();
|
|
5848
5852
|
var tmp;
|
|
@@ -5859,7 +5863,7 @@
|
|
|
5859
5863
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5860
5864
|
}
|
|
5861
5865
|
// Inline function 'kotlin.require' call
|
|
5862
|
-
if (!(option.
|
|
5866
|
+
if (!(option.a1e() || option.h1a().p1_1 <= 1)) {
|
|
5863
5867
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5864
5868
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5865
5869
|
}
|
|
@@ -5867,28 +5871,28 @@
|
|
|
5867
5871
|
while (_iterator__ex2g4s_0.s()) {
|
|
5868
5872
|
var name = _iterator__ex2g4s_0.t();
|
|
5869
5873
|
// Inline function 'kotlin.collections.set' call
|
|
5870
|
-
$this.
|
|
5874
|
+
$this.b1q_1.p2(name, option);
|
|
5871
5875
|
if (name.length > 2) {
|
|
5872
5876
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5873
|
-
$this.
|
|
5877
|
+
$this.e1q_1.v(name);
|
|
5874
5878
|
}
|
|
5875
|
-
var tmp0 = $this.
|
|
5879
|
+
var tmp0 = $this.d1q_1;
|
|
5876
5880
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5877
5881
|
var element = splitOptionPrefix(name).da_1;
|
|
5878
5882
|
tmp0.v(element);
|
|
5879
5883
|
}
|
|
5880
5884
|
}
|
|
5881
|
-
$this.
|
|
5885
|
+
$this.d1q_1.w2('');
|
|
5882
5886
|
}
|
|
5883
5887
|
function makeResult($this) {
|
|
5884
5888
|
// Inline function 'kotlin.collections.groupBy' call
|
|
5885
|
-
var tmp0 = $this.
|
|
5889
|
+
var tmp0 = $this.h1q_1;
|
|
5886
5890
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
5887
5891
|
var destination = LinkedHashMap_init_$Create$();
|
|
5888
5892
|
var _iterator__ex2g4s = tmp0.r();
|
|
5889
5893
|
while (_iterator__ex2g4s.s()) {
|
|
5890
5894
|
var element = _iterator__ex2g4s.t();
|
|
5891
|
-
var key = element.
|
|
5895
|
+
var key = element.y1q_1;
|
|
5892
5896
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5893
5897
|
var value = destination.m2(key);
|
|
5894
5898
|
var tmp;
|
|
@@ -5900,29 +5904,29 @@
|
|
|
5900
5904
|
tmp = value;
|
|
5901
5905
|
}
|
|
5902
5906
|
var list = tmp;
|
|
5903
|
-
var tmp$ret$5 = element.
|
|
5907
|
+
var tmp$ret$5 = element.b1r();
|
|
5904
5908
|
list.v(tmp$ret$5);
|
|
5905
5909
|
}
|
|
5906
5910
|
var opts = destination;
|
|
5907
|
-
var _iterator__ex2g4s_0 = $this.
|
|
5911
|
+
var _iterator__ex2g4s_0 = $this.j1q_1.r();
|
|
5908
5912
|
while (_iterator__ex2g4s_0.s()) {
|
|
5909
5913
|
var e = _iterator__ex2g4s_0.t();
|
|
5910
5914
|
if (e instanceof UsageError) {
|
|
5911
5915
|
var tmp0_elvis_lhs = e.y8();
|
|
5912
|
-
e.
|
|
5916
|
+
e.i1e(tmp0_elvis_lhs == null ? $this.w1p_1 : tmp0_elvis_lhs);
|
|
5913
5917
|
}
|
|
5914
|
-
$this.
|
|
5918
|
+
$this.w1p_1.b1a_1 = true;
|
|
5915
5919
|
}
|
|
5916
5920
|
// Inline function 'kotlin.takeIf' call
|
|
5917
|
-
var this_0 = $this.
|
|
5921
|
+
var this_0 = $this.g1q_1;
|
|
5918
5922
|
var tmp_0;
|
|
5919
|
-
if ($this.
|
|
5923
|
+
if ($this.j1q_1.p()) {
|
|
5920
5924
|
tmp_0 = this_0;
|
|
5921
5925
|
} else {
|
|
5922
5926
|
tmp_0 = null;
|
|
5923
5927
|
}
|
|
5924
5928
|
var nextCommand = tmp_0;
|
|
5925
|
-
return new CommandParseResult($this.
|
|
5929
|
+
return new CommandParseResult($this.u1p_1, nextCommand, $this.k1q_1, $this.j1q_1, $this.v1p_1, opts, $this.i1q_1);
|
|
5926
5930
|
}
|
|
5927
5931
|
function isLongOptionWithEquals($this, prefix, token) {
|
|
5928
5932
|
if (!contains_1(token, '='))
|
|
@@ -5932,37 +5936,37 @@
|
|
|
5932
5936
|
return false;
|
|
5933
5937
|
if (prefix.length > 1)
|
|
5934
5938
|
return true;
|
|
5935
|
-
if ($this.
|
|
5939
|
+
if ($this.e1q_1.u1($this.w1p_1.q19_1($this.w1p_1, substringBefore(token, '='))))
|
|
5936
5940
|
return true;
|
|
5937
|
-
var tmp0 = $this.
|
|
5941
|
+
var tmp0 = $this.b1q_1;
|
|
5938
5942
|
// Inline function 'kotlin.collections.contains' call
|
|
5939
5943
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5940
|
-
var key = $this.
|
|
5944
|
+
var key = $this.w1p_1.q19_1($this.w1p_1, take(token, 2));
|
|
5941
5945
|
return !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).k2(key);
|
|
5942
5946
|
}
|
|
5943
5947
|
function consumeOptionParse($this, result) {
|
|
5944
|
-
var tmp0 = $this.
|
|
5948
|
+
var tmp0 = $this.f1q_1;
|
|
5945
5949
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5946
|
-
var elements = result.
|
|
5950
|
+
var elements = result.d1r_1;
|
|
5947
5951
|
addAll(tmp0, elements);
|
|
5948
|
-
var tmp0_0 = $this.
|
|
5952
|
+
var tmp0_0 = $this.h1q_1;
|
|
5949
5953
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5950
|
-
var elements_0 = result.
|
|
5954
|
+
var elements_0 = result.e1r_1;
|
|
5951
5955
|
addAll(tmp0_0, elements_0);
|
|
5952
|
-
var tmp0_safe_receiver = result.
|
|
5956
|
+
var tmp0_safe_receiver = result.f1r_1;
|
|
5953
5957
|
if (tmp0_safe_receiver == null)
|
|
5954
5958
|
null;
|
|
5955
5959
|
else {
|
|
5956
5960
|
// Inline function 'kotlin.let' call
|
|
5957
5961
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5958
|
-
$this.
|
|
5959
|
-
$this.
|
|
5962
|
+
$this.j1q_1.v(tmp0_safe_receiver);
|
|
5963
|
+
$this.w1p_1.b1a_1 = true;
|
|
5960
5964
|
}
|
|
5961
|
-
$this.
|
|
5965
|
+
$this.k1q_1 = $this.k1q_1 + result.c1r_1 | 0;
|
|
5962
5966
|
}
|
|
5963
5967
|
function insertTokens($this, newTokens) {
|
|
5964
|
-
$this.
|
|
5965
|
-
$this.
|
|
5968
|
+
$this.v1p_1 = flatten(listOf([take_0($this.v1p_1, $this.k1q_1), newTokens, drop_0($this.v1p_1, $this.k1q_1 + 1 | 0)]));
|
|
5969
|
+
$this.l1q_1 = $this.k1q_1 + newTokens.d1() | 0;
|
|
5966
5970
|
}
|
|
5967
5971
|
function parseLongOpt($this, tok) {
|
|
5968
5972
|
var equalsIndex = indexOf(tok, _Char___init__impl__6a9atx(61));
|
|
@@ -5975,17 +5979,17 @@
|
|
|
5975
5979
|
var _destruct__k2r9zo = tmp;
|
|
5976
5980
|
var name = _destruct__k2r9zo.fa();
|
|
5977
5981
|
var attachedValue = _destruct__k2r9zo.ga();
|
|
5978
|
-
name = $this.
|
|
5979
|
-
var tmp0_elvis_lhs = $this.
|
|
5982
|
+
name = $this.w1p_1.q19_1($this.w1p_1, name);
|
|
5983
|
+
var tmp0_elvis_lhs = $this.b1q_1.m2(name);
|
|
5980
5984
|
var tmp_0;
|
|
5981
5985
|
if (tmp0_elvis_lhs == null) {
|
|
5982
5986
|
var tmp_1;
|
|
5983
|
-
if ($this.
|
|
5987
|
+
if ($this.u1p_1.b1b()) {
|
|
5984
5988
|
return new OptParseResult(1, listOf_0(tok));
|
|
5985
5989
|
} else {
|
|
5986
5990
|
var tmp_2 = name;
|
|
5987
5991
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5988
|
-
var tmp0 = $this.
|
|
5992
|
+
var tmp0 = $this.b1q_1;
|
|
5989
5993
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5990
5994
|
var destination = LinkedHashMap_init_$Create$();
|
|
5991
5995
|
// Inline function 'kotlin.collections.iterator' call
|
|
@@ -5996,7 +6000,7 @@
|
|
|
5996
6000
|
destination.p2(element.l1(), element.m1());
|
|
5997
6001
|
}
|
|
5998
6002
|
}
|
|
5999
|
-
var possibilities = $this.
|
|
6003
|
+
var possibilities = $this.w1p_1.u19_1(tmp_2, toList_0(destination.n2()));
|
|
6000
6004
|
return new OptParseResult(1, VOID, VOID, createNoSuchOption($this, name, possibilities));
|
|
6001
6005
|
}
|
|
6002
6006
|
} else {
|
|
@@ -6008,7 +6012,7 @@
|
|
|
6008
6012
|
function parseShortOpt($this, tok) {
|
|
6009
6013
|
var prefix = toString(charCodeAt(tok, 0));
|
|
6010
6014
|
var tmp;
|
|
6011
|
-
if (!($this.
|
|
6015
|
+
if (!($this.c1q_1 == null)) {
|
|
6012
6016
|
var tmp0 = drop(tok, 1);
|
|
6013
6017
|
var tmp$ret$0;
|
|
6014
6018
|
$l$block: {
|
|
@@ -6029,7 +6033,7 @@
|
|
|
6029
6033
|
tmp = false;
|
|
6030
6034
|
}
|
|
6031
6035
|
if (tmp) {
|
|
6032
|
-
return OptParseResult_init_$Create$_0(1, $this.
|
|
6036
|
+
return OptParseResult_init_$Create$_0(1, $this.c1q_1, '', listOf_0(drop(tok, 1)));
|
|
6033
6037
|
}
|
|
6034
6038
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6035
6039
|
var invocations = ArrayList_init_$Create$();
|
|
@@ -6041,18 +6045,18 @@
|
|
|
6041
6045
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6042
6046
|
if (i === 0)
|
|
6043
6047
|
continue $l$loop;
|
|
6044
|
-
var name = $this.
|
|
6045
|
-
var tmp0_elvis_lhs = $this.
|
|
6048
|
+
var name = $this.w1p_1.q19_1($this.w1p_1, prefix + toString(opt));
|
|
6049
|
+
var tmp0_elvis_lhs = $this.b1q_1.m2(name);
|
|
6046
6050
|
var tmp_0;
|
|
6047
6051
|
if (tmp0_elvis_lhs == null) {
|
|
6048
6052
|
var tmp_1;
|
|
6049
|
-
if ($this.
|
|
6053
|
+
if ($this.u1p_1.b1b()) {
|
|
6050
6054
|
return new OptParseResult(1, listOf_0(tok));
|
|
6051
6055
|
} else {
|
|
6052
6056
|
var tmp_2;
|
|
6053
6057
|
var tmp_3;
|
|
6054
6058
|
if (prefix === '-') {
|
|
6055
|
-
var tmp0_0 = $this.
|
|
6059
|
+
var tmp0_0 = $this.b1q_1;
|
|
6056
6060
|
// Inline function 'kotlin.collections.contains' call
|
|
6057
6061
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6058
6062
|
var key = '-' + tok;
|
|
@@ -6075,7 +6079,7 @@
|
|
|
6075
6079
|
if (option.h1a().p1_1 > 0) {
|
|
6076
6080
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
6077
6081
|
var result = parseOptValues($this, option, name, value);
|
|
6078
|
-
return result.
|
|
6082
|
+
return result.g1r(VOID, VOID, plus_0(invocations, result.e1r_1));
|
|
6079
6083
|
} else {
|
|
6080
6084
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6081
6085
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6087,7 +6091,7 @@
|
|
|
6087
6091
|
function createNoSuchOption($this, name, possibilities) {
|
|
6088
6092
|
if (possibilities.p()) {
|
|
6089
6093
|
// Inline function 'kotlin.collections.find' call
|
|
6090
|
-
var tmp0 = $this.
|
|
6094
|
+
var tmp0 = $this.a1q_1.o2();
|
|
6091
6095
|
var tmp$ret$1;
|
|
6092
6096
|
$l$block_1: {
|
|
6093
6097
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -6137,16 +6141,16 @@
|
|
|
6137
6141
|
if (!(attachedValue == null)) {
|
|
6138
6142
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6139
6143
|
values.v(attachedValue);
|
|
6140
|
-
} else if (!option.
|
|
6144
|
+
} else if (!option.a1e()) {
|
|
6141
6145
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
6142
6146
|
}
|
|
6143
|
-
var inductionVariable = $this.
|
|
6144
|
-
var last = get_lastIndex_0($this.
|
|
6147
|
+
var inductionVariable = $this.k1q_1 + 1 | 0;
|
|
6148
|
+
var last = get_lastIndex_0($this.v1p_1);
|
|
6145
6149
|
if (inductionVariable <= last)
|
|
6146
6150
|
$l$loop_0: do {
|
|
6147
6151
|
var j = inductionVariable;
|
|
6148
6152
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6149
|
-
var tok = $this.
|
|
6153
|
+
var tok = $this.v1p_1.c1(j);
|
|
6150
6154
|
if (values.d1() >= option.h1a().p1_1)
|
|
6151
6155
|
break $l$loop_0;
|
|
6152
6156
|
var tmp;
|
|
@@ -6159,7 +6163,7 @@
|
|
|
6159
6163
|
} else {
|
|
6160
6164
|
// Inline function 'kotlin.collections.contains' call
|
|
6161
6165
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6162
|
-
var this_0 = $this.
|
|
6166
|
+
var this_0 = $this.b1q_1;
|
|
6163
6167
|
tmp_2 = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).k2(tok);
|
|
6164
6168
|
}
|
|
6165
6169
|
if (tmp_2) {
|
|
@@ -6167,14 +6171,14 @@
|
|
|
6167
6171
|
} else {
|
|
6168
6172
|
// Inline function 'kotlin.collections.contains' call
|
|
6169
6173
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6170
|
-
var this_1 = $this.
|
|
6174
|
+
var this_1 = $this.a1q_1;
|
|
6171
6175
|
tmp_1 = (isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).k2(tok);
|
|
6172
6176
|
}
|
|
6173
6177
|
if (tmp_1) {
|
|
6174
6178
|
tmp_0 = true;
|
|
6175
6179
|
} else {
|
|
6176
6180
|
var tmp_3;
|
|
6177
|
-
if (!$this.
|
|
6181
|
+
if (!$this.u1p_1.b1b()) {
|
|
6178
6182
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6179
6183
|
var this_2 = splitOptionPrefix(tok).da_1;
|
|
6180
6184
|
tmp_3 = charSequenceLength(this_2) > 0;
|
|
@@ -6198,7 +6202,7 @@
|
|
|
6198
6202
|
}
|
|
6199
6203
|
function parseArguments($this) {
|
|
6200
6204
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
6201
|
-
var this_0 = asReversed_0($this.
|
|
6205
|
+
var this_0 = asReversed_0($this.u1p_1.a19_1);
|
|
6202
6206
|
var list = ArrayList_init_$Create$();
|
|
6203
6207
|
var _iterator__ex2g4s = this_0.r();
|
|
6204
6208
|
$l$loop: while (_iterator__ex2g4s.s()) {
|
|
@@ -6217,25 +6221,25 @@
|
|
|
6217
6221
|
}
|
|
6218
6222
|
var endSize = sum;
|
|
6219
6223
|
var tokenI = 0;
|
|
6220
|
-
var _iterator__ex2g4s_1 = $this.
|
|
6224
|
+
var _iterator__ex2g4s_1 = $this.u1p_1.a19_1.r();
|
|
6221
6225
|
while (_iterator__ex2g4s_1.s()) {
|
|
6222
6226
|
var argument = _iterator__ex2g4s_1.t();
|
|
6223
|
-
var remaining = $this.
|
|
6227
|
+
var remaining = $this.f1q_1.d1() - tokenI | 0;
|
|
6224
6228
|
var tmp_0;
|
|
6225
6229
|
if (argument.h1a() <= 0) {
|
|
6226
|
-
var tmp0 = argument.
|
|
6230
|
+
var tmp0 = argument.j1l() ? 1 : 0;
|
|
6227
6231
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6228
6232
|
var b = remaining - endSize | 0;
|
|
6229
6233
|
tmp_0 = Math.max(tmp0, b);
|
|
6230
|
-
} else if (argument.h1a() > 0 && !argument.
|
|
6234
|
+
} else if (argument.h1a() > 0 && !argument.j1l() && remaining === 0) {
|
|
6231
6235
|
tmp_0 = 0;
|
|
6232
6236
|
} else {
|
|
6233
6237
|
tmp_0 = argument.h1a();
|
|
6234
6238
|
}
|
|
6235
6239
|
var consumed = tmp_0;
|
|
6236
|
-
var toIndex = coerceAtMost(tokenI + consumed | 0, $this.
|
|
6237
|
-
var values = $this.
|
|
6238
|
-
var tmp0_0 = $this.
|
|
6240
|
+
var toIndex = coerceAtMost(tokenI + consumed | 0, $this.f1q_1.d1());
|
|
6241
|
+
var values = $this.f1q_1.i2(tokenI, toIndex);
|
|
6242
|
+
var tmp0_0 = $this.i1q_1;
|
|
6239
6243
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6240
6244
|
var element_0 = new ArgumentInvocation(argument, values);
|
|
6241
6245
|
tmp0_0.v(element_0);
|
|
@@ -6244,39 +6248,39 @@
|
|
|
6244
6248
|
}
|
|
6245
6249
|
tokenI = tokenI + consumed | 0;
|
|
6246
6250
|
}
|
|
6247
|
-
handleExcessArgs($this, $this.
|
|
6251
|
+
handleExcessArgs($this, $this.f1q_1.d1() - tokenI | 0);
|
|
6248
6252
|
}
|
|
6249
6253
|
function handleExcessArgs($this, excessCount) {
|
|
6250
6254
|
if (excessCount !== 0) {
|
|
6251
6255
|
var tmp;
|
|
6252
6256
|
if (excessCount === 1) {
|
|
6253
6257
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6254
|
-
tmp = !$this.
|
|
6258
|
+
tmp = !$this.z1p_1.p();
|
|
6255
6259
|
} else {
|
|
6256
6260
|
tmp = false;
|
|
6257
6261
|
}
|
|
6258
6262
|
if (tmp) {
|
|
6259
|
-
var actual = last($this.
|
|
6260
|
-
var possibilities = $this.
|
|
6261
|
-
var tmp0 = $this.
|
|
6263
|
+
var actual = last($this.f1q_1);
|
|
6264
|
+
var possibilities = $this.u1p_1.f19().u19_1(actual, toList_0($this.z1p_1.n2()));
|
|
6265
|
+
var tmp0 = $this.j1q_1;
|
|
6262
6266
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6263
6267
|
var element = new NoSuchSubcommand(actual, possibilities);
|
|
6264
6268
|
tmp0.v(element);
|
|
6265
6269
|
} else {
|
|
6266
|
-
var tmp0_0 = $this.
|
|
6270
|
+
var tmp0_0 = $this.j1q_1;
|
|
6267
6271
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6268
|
-
var element_0 = new NoSuchArgument(takeLast($this.
|
|
6272
|
+
var element_0 = new NoSuchArgument(takeLast($this.f1q_1, excessCount));
|
|
6269
6273
|
tmp0_0.v(element_0);
|
|
6270
6274
|
}
|
|
6271
6275
|
}
|
|
6272
6276
|
}
|
|
6273
6277
|
function CommandParser(command, argv, startingIndex) {
|
|
6274
|
-
this.
|
|
6275
|
-
this.
|
|
6276
|
-
this.
|
|
6277
|
-
this.
|
|
6278
|
+
this.u1p_1 = command;
|
|
6279
|
+
this.v1p_1 = argv;
|
|
6280
|
+
this.w1p_1 = this.u1p_1.f19();
|
|
6281
|
+
this.x1p_1 = this.u1p_1.j1a();
|
|
6278
6282
|
var tmp = this;
|
|
6279
|
-
var tmp0 = ancestors(this.
|
|
6283
|
+
var tmp0 = ancestors(this.w1p_1);
|
|
6280
6284
|
var tmp$ret$0;
|
|
6281
6285
|
$l$block: {
|
|
6282
6286
|
// Inline function 'kotlin.sequences.firstOrNull' call
|
|
@@ -6311,10 +6315,10 @@
|
|
|
6311
6315
|
tmp_0 = destination;
|
|
6312
6316
|
}
|
|
6313
6317
|
var tmp3_elvis_lhs = tmp_0;
|
|
6314
|
-
tmp.
|
|
6318
|
+
tmp.y1p_1 = tmp3_elvis_lhs == null ? emptyMap() : tmp3_elvis_lhs;
|
|
6315
6319
|
var tmp_1 = this;
|
|
6316
6320
|
// Inline function 'kotlin.collections.associateBy' call
|
|
6317
|
-
var this_0 = this.
|
|
6321
|
+
var this_0 = this.u1p_1.y18_1;
|
|
6318
6322
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
6319
6323
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
6320
6324
|
var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
@@ -6324,14 +6328,14 @@
|
|
|
6324
6328
|
var tmp$ret$8 = element_1.q18_1;
|
|
6325
6329
|
destination_0.p2(tmp$ret$8, element_1);
|
|
6326
6330
|
}
|
|
6327
|
-
tmp_1.
|
|
6328
|
-
this.
|
|
6331
|
+
tmp_1.z1p_1 = destination_0;
|
|
6332
|
+
this.a1q_1 = plus_3(this.y1p_1, this.z1p_1);
|
|
6329
6333
|
var tmp_2 = this;
|
|
6330
6334
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6331
|
-
tmp_2.
|
|
6335
|
+
tmp_2.b1q_1 = LinkedHashMap_init_$Create$();
|
|
6332
6336
|
var tmp_3 = this;
|
|
6333
6337
|
// Inline function 'kotlin.collections.find' call
|
|
6334
|
-
var tmp0_0 = this.
|
|
6338
|
+
var tmp0_0 = this.u1p_1.z18_1;
|
|
6335
6339
|
var tmp$ret$11;
|
|
6336
6340
|
$l$block_0: {
|
|
6337
6341
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -6345,42 +6349,42 @@
|
|
|
6345
6349
|
}
|
|
6346
6350
|
tmp$ret$11 = null;
|
|
6347
6351
|
}
|
|
6348
|
-
tmp_3.
|
|
6352
|
+
tmp_3.c1q_1 = tmp$ret$11;
|
|
6349
6353
|
var tmp_4 = this;
|
|
6350
6354
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
6351
|
-
tmp_4.
|
|
6355
|
+
tmp_4.d1q_1 = LinkedHashSet_init_$Create$();
|
|
6352
6356
|
var tmp_5 = this;
|
|
6353
6357
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
6354
|
-
tmp_5.
|
|
6358
|
+
tmp_5.e1q_1 = LinkedHashSet_init_$Create$();
|
|
6355
6359
|
var tmp_6 = this;
|
|
6356
6360
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6357
|
-
tmp_6.
|
|
6358
|
-
this.
|
|
6361
|
+
tmp_6.f1q_1 = ArrayList_init_$Create$();
|
|
6362
|
+
this.g1q_1 = null;
|
|
6359
6363
|
var tmp_7 = this;
|
|
6360
6364
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6361
|
-
tmp_7.
|
|
6365
|
+
tmp_7.h1q_1 = ArrayList_init_$Create$();
|
|
6362
6366
|
var tmp_8 = this;
|
|
6363
6367
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6364
|
-
tmp_8.
|
|
6368
|
+
tmp_8.i1q_1 = ArrayList_init_$Create$();
|
|
6365
6369
|
var tmp_9 = this;
|
|
6366
6370
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6367
|
-
tmp_9.
|
|
6368
|
-
this.
|
|
6369
|
-
this.
|
|
6371
|
+
tmp_9.j1q_1 = ArrayList_init_$Create$();
|
|
6372
|
+
this.k1q_1 = startingIndex;
|
|
6373
|
+
this.l1q_1 = this.k1q_1;
|
|
6370
6374
|
var tmp_10 = this;
|
|
6371
6375
|
// Inline function 'kotlin.collections.sumOf' call
|
|
6372
6376
|
var sum = 0;
|
|
6373
|
-
var _iterator__ex2g4s_3 = this.
|
|
6377
|
+
var _iterator__ex2g4s_3 = this.u1p_1.a19_1.r();
|
|
6374
6378
|
while (_iterator__ex2g4s_3.s()) {
|
|
6375
6379
|
var element_3 = _iterator__ex2g4s_3.t();
|
|
6376
6380
|
var tmp_11 = sum;
|
|
6377
|
-
sum = tmp_11 + (element_3.
|
|
6381
|
+
sum = tmp_11 + (element_3.j1l() ? coerceAtLeast(element_3.h1a(), 0) : 0) | 0;
|
|
6378
6382
|
}
|
|
6379
|
-
tmp_10.
|
|
6380
|
-
this.
|
|
6381
|
-
this.
|
|
6383
|
+
tmp_10.m1q_1 = sum;
|
|
6384
|
+
this.n1q_1 = true;
|
|
6385
|
+
this.o1q_1 = this.w1p_1.t1c();
|
|
6382
6386
|
}
|
|
6383
|
-
protoOf(CommandParser).
|
|
6387
|
+
protoOf(CommandParser).p1q = function () {
|
|
6384
6388
|
splitOptionPrefixes(this);
|
|
6385
6389
|
if (printHelpOnEmptyArgsIfNecessary(this))
|
|
6386
6390
|
return makeResult(this);
|
|
@@ -6389,20 +6393,20 @@
|
|
|
6389
6393
|
return makeResult(this);
|
|
6390
6394
|
};
|
|
6391
6395
|
function OptInvocation(opt, name, values) {
|
|
6392
|
-
this.
|
|
6393
|
-
this.
|
|
6394
|
-
this.
|
|
6396
|
+
this.y1q_1 = opt;
|
|
6397
|
+
this.z1q_1 = name;
|
|
6398
|
+
this.a1r_1 = values;
|
|
6395
6399
|
}
|
|
6396
|
-
protoOf(OptInvocation).
|
|
6397
|
-
return new OptionInvocation(this.
|
|
6400
|
+
protoOf(OptInvocation).b1r = function () {
|
|
6401
|
+
return new OptionInvocation(this.z1q_1, this.a1r_1);
|
|
6398
6402
|
};
|
|
6399
6403
|
protoOf(OptInvocation).toString = function () {
|
|
6400
|
-
return 'OptInvocation(opt=' + toString_0(this.
|
|
6404
|
+
return 'OptInvocation(opt=' + toString_0(this.y1q_1) + ', name=' + this.z1q_1 + ', values=' + toString_0(this.a1r_1) + ')';
|
|
6401
6405
|
};
|
|
6402
6406
|
protoOf(OptInvocation).hashCode = function () {
|
|
6403
|
-
var result = hashCode(this.
|
|
6404
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6405
|
-
result = imul(result, 31) + hashCode(this.
|
|
6407
|
+
var result = hashCode(this.y1q_1);
|
|
6408
|
+
result = imul(result, 31) + getStringHashCode(this.z1q_1) | 0;
|
|
6409
|
+
result = imul(result, 31) + hashCode(this.a1r_1) | 0;
|
|
6406
6410
|
return result;
|
|
6407
6411
|
};
|
|
6408
6412
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6410,11 +6414,11 @@
|
|
|
6410
6414
|
return true;
|
|
6411
6415
|
if (!(other instanceof OptInvocation))
|
|
6412
6416
|
return false;
|
|
6413
|
-
if (!equals(this.
|
|
6417
|
+
if (!equals(this.y1q_1, other.y1q_1))
|
|
6414
6418
|
return false;
|
|
6415
|
-
if (!(this.
|
|
6419
|
+
if (!(this.z1q_1 === other.z1q_1))
|
|
6416
6420
|
return false;
|
|
6417
|
-
if (!equals(this.
|
|
6421
|
+
if (!equals(this.a1r_1, other.a1r_1))
|
|
6418
6422
|
return false;
|
|
6419
6423
|
return true;
|
|
6420
6424
|
};
|
|
@@ -6439,29 +6443,29 @@
|
|
|
6439
6443
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6440
6444
|
known = known === VOID ? emptyList() : known;
|
|
6441
6445
|
err = err === VOID ? null : err;
|
|
6442
|
-
this.
|
|
6443
|
-
this.
|
|
6444
|
-
this.
|
|
6445
|
-
this.
|
|
6446
|
+
this.c1r_1 = consumed;
|
|
6447
|
+
this.d1r_1 = unknown;
|
|
6448
|
+
this.e1r_1 = known;
|
|
6449
|
+
this.f1r_1 = err;
|
|
6446
6450
|
}
|
|
6447
|
-
protoOf(OptParseResult).
|
|
6451
|
+
protoOf(OptParseResult).h1r = function (consumed, unknown, known, err) {
|
|
6448
6452
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6449
6453
|
};
|
|
6450
|
-
protoOf(OptParseResult).
|
|
6451
|
-
consumed = consumed === VOID ? this.
|
|
6452
|
-
unknown = unknown === VOID ? this.
|
|
6453
|
-
known = known === VOID ? this.
|
|
6454
|
-
err = err === VOID ? this.
|
|
6455
|
-
return $super === VOID ? this.
|
|
6454
|
+
protoOf(OptParseResult).g1r = function (consumed, unknown, known, err, $super) {
|
|
6455
|
+
consumed = consumed === VOID ? this.c1r_1 : consumed;
|
|
6456
|
+
unknown = unknown === VOID ? this.d1r_1 : unknown;
|
|
6457
|
+
known = known === VOID ? this.e1r_1 : known;
|
|
6458
|
+
err = err === VOID ? this.f1r_1 : err;
|
|
6459
|
+
return $super === VOID ? this.h1r(consumed, unknown, known, err) : $super.h1r.call(this, consumed, unknown, known, err);
|
|
6456
6460
|
};
|
|
6457
6461
|
protoOf(OptParseResult).toString = function () {
|
|
6458
|
-
return 'OptParseResult(consumed=' + this.
|
|
6462
|
+
return 'OptParseResult(consumed=' + this.c1r_1 + ', unknown=' + toString_0(this.d1r_1) + ', known=' + toString_0(this.e1r_1) + ', err=' + toString_1(this.f1r_1) + ')';
|
|
6459
6463
|
};
|
|
6460
6464
|
protoOf(OptParseResult).hashCode = function () {
|
|
6461
|
-
var result = this.
|
|
6462
|
-
result = imul(result, 31) + hashCode(this.c1r_1) | 0;
|
|
6465
|
+
var result = this.c1r_1;
|
|
6463
6466
|
result = imul(result, 31) + hashCode(this.d1r_1) | 0;
|
|
6464
|
-
result = imul(result, 31) +
|
|
6467
|
+
result = imul(result, 31) + hashCode(this.e1r_1) | 0;
|
|
6468
|
+
result = imul(result, 31) + (this.f1r_1 == null ? 0 : hashCode(this.f1r_1)) | 0;
|
|
6465
6469
|
return result;
|
|
6466
6470
|
};
|
|
6467
6471
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6469,14 +6473,14 @@
|
|
|
6469
6473
|
return true;
|
|
6470
6474
|
if (!(other instanceof OptParseResult))
|
|
6471
6475
|
return false;
|
|
6472
|
-
if (!(this.
|
|
6473
|
-
return false;
|
|
6474
|
-
if (!equals(this.c1r_1, other.c1r_1))
|
|
6476
|
+
if (!(this.c1r_1 === other.c1r_1))
|
|
6475
6477
|
return false;
|
|
6476
6478
|
if (!equals(this.d1r_1, other.d1r_1))
|
|
6477
6479
|
return false;
|
|
6478
6480
|
if (!equals(this.e1r_1, other.e1r_1))
|
|
6479
6481
|
return false;
|
|
6482
|
+
if (!equals(this.f1r_1, other.f1r_1))
|
|
6483
|
+
return false;
|
|
6480
6484
|
return true;
|
|
6481
6485
|
};
|
|
6482
6486
|
function shlex(filename, text, localization) {
|
|
@@ -6502,7 +6506,7 @@
|
|
|
6502
6506
|
} else {
|
|
6503
6507
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6504
6508
|
if (i._v >= get_lastIndex(text)) {
|
|
6505
|
-
shlex$err(filename, text, i, localization.
|
|
6509
|
+
shlex$err(filename, text, i, localization.y1k());
|
|
6506
6510
|
}
|
|
6507
6511
|
if (contains('\r\n', charCodeAt(text, i._v + 1 | 0))) {
|
|
6508
6512
|
do {
|
|
@@ -6573,7 +6577,7 @@
|
|
|
6573
6577
|
}
|
|
6574
6578
|
var tmp_8 = inQuote;
|
|
6575
6579
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6576
|
-
shlex$err(filename, text, i, localization.
|
|
6580
|
+
shlex$err(filename, text, i, localization.x1k());
|
|
6577
6581
|
}
|
|
6578
6582
|
if (inToken) {
|
|
6579
6583
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
@@ -6599,20 +6603,20 @@
|
|
|
6599
6603
|
}
|
|
6600
6604
|
function ChainedValueSource$getValues$lambda($context, $option) {
|
|
6601
6605
|
return function (it) {
|
|
6602
|
-
return it.
|
|
6606
|
+
return it.w1m($context, $option);
|
|
6603
6607
|
};
|
|
6604
6608
|
}
|
|
6605
6609
|
function ChainedValueSource(sources) {
|
|
6606
|
-
this.
|
|
6610
|
+
this.i1r_1 = sources;
|
|
6607
6611
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6608
6612
|
// Inline function 'kotlin.require' call
|
|
6609
|
-
if (!!this.
|
|
6613
|
+
if (!!this.i1r_1.p()) {
|
|
6610
6614
|
var message = 'Must provide configuration sources';
|
|
6611
6615
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
6612
6616
|
}
|
|
6613
6617
|
}
|
|
6614
|
-
protoOf(ChainedValueSource).
|
|
6615
|
-
var tmp = asSequence_0(this.
|
|
6618
|
+
protoOf(ChainedValueSource).w1m = function (context, option) {
|
|
6619
|
+
var tmp = asSequence_0(this.i1r_1);
|
|
6616
6620
|
var tmp0 = map(tmp, ChainedValueSource$getValues$lambda(context, option));
|
|
6617
6621
|
var tmp$ret$0;
|
|
6618
6622
|
$l$block: {
|
|
@@ -6634,19 +6638,19 @@
|
|
|
6634
6638
|
};
|
|
6635
6639
|
function Companion_1() {
|
|
6636
6640
|
}
|
|
6637
|
-
protoOf(Companion_1).
|
|
6638
|
-
return listOf_0(this.
|
|
6641
|
+
protoOf(Companion_1).j1r = function (value, location) {
|
|
6642
|
+
return listOf_0(this.k1r(value, location));
|
|
6639
6643
|
};
|
|
6640
|
-
protoOf(Companion_1).
|
|
6644
|
+
protoOf(Companion_1).l1r = function (value, location, $super) {
|
|
6641
6645
|
location = location === VOID ? '' : location;
|
|
6642
|
-
return $super === VOID ? this.
|
|
6646
|
+
return $super === VOID ? this.j1r(value, location) : $super.j1r.call(this, value, location);
|
|
6643
6647
|
};
|
|
6644
|
-
protoOf(Companion_1).
|
|
6648
|
+
protoOf(Companion_1).k1r = function (value, location) {
|
|
6645
6649
|
return new Invocation(listOf_0(toString_1(value)), location);
|
|
6646
6650
|
};
|
|
6647
|
-
protoOf(Companion_1).
|
|
6651
|
+
protoOf(Companion_1).m1r = function (value, location, $super) {
|
|
6648
6652
|
location = location === VOID ? '' : location;
|
|
6649
|
-
return $super === VOID ? this.
|
|
6653
|
+
return $super === VOID ? this.k1r(value, location) : $super.k1r.call(this, value, location);
|
|
6650
6654
|
};
|
|
6651
6655
|
var Companion_instance_2;
|
|
6652
6656
|
function Companion_getInstance_1() {
|
|
@@ -6654,15 +6658,15 @@
|
|
|
6654
6658
|
}
|
|
6655
6659
|
function Invocation(values, location) {
|
|
6656
6660
|
location = location === VOID ? '' : location;
|
|
6657
|
-
this.
|
|
6658
|
-
this.
|
|
6661
|
+
this.x1m_1 = values;
|
|
6662
|
+
this.y1m_1 = location;
|
|
6659
6663
|
}
|
|
6660
6664
|
protoOf(Invocation).toString = function () {
|
|
6661
|
-
return 'Invocation(values=' + toString_0(this.
|
|
6665
|
+
return 'Invocation(values=' + toString_0(this.x1m_1) + ', location=' + this.y1m_1 + ')';
|
|
6662
6666
|
};
|
|
6663
6667
|
protoOf(Invocation).hashCode = function () {
|
|
6664
|
-
var result = hashCode(this.
|
|
6665
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6668
|
+
var result = hashCode(this.x1m_1);
|
|
6669
|
+
result = imul(result, 31) + getStringHashCode(this.y1m_1) | 0;
|
|
6666
6670
|
return result;
|
|
6667
6671
|
};
|
|
6668
6672
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -6670,15 +6674,15 @@
|
|
|
6670
6674
|
return true;
|
|
6671
6675
|
if (!(other instanceof Invocation))
|
|
6672
6676
|
return false;
|
|
6673
|
-
if (!equals(this.
|
|
6677
|
+
if (!equals(this.x1m_1, other.x1m_1))
|
|
6674
6678
|
return false;
|
|
6675
|
-
if (!(this.
|
|
6679
|
+
if (!(this.y1m_1 === other.y1m_1))
|
|
6676
6680
|
return false;
|
|
6677
6681
|
return true;
|
|
6678
6682
|
};
|
|
6679
6683
|
function Companion_2() {
|
|
6680
6684
|
}
|
|
6681
|
-
protoOf(Companion_2).
|
|
6685
|
+
protoOf(Companion_2).n1r = function (option) {
|
|
6682
6686
|
var longestName_0 = longestName(option);
|
|
6683
6687
|
$l$block: {
|
|
6684
6688
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -6696,43 +6700,43 @@
|
|
|
6696
6700
|
return Companion_instance_3;
|
|
6697
6701
|
}
|
|
6698
6702
|
//region block: post-declaration
|
|
6699
|
-
protoOf(defaultLocalization$1).
|
|
6700
|
-
protoOf(defaultLocalization$1).
|
|
6701
|
-
protoOf(defaultLocalization$1).
|
|
6702
|
-
protoOf(defaultLocalization$1).
|
|
6703
|
-
protoOf(defaultLocalization$1).
|
|
6704
|
-
protoOf(defaultLocalization$1).
|
|
6705
|
-
protoOf(defaultLocalization$1).
|
|
6706
|
-
protoOf(defaultLocalization$1).
|
|
6707
|
-
protoOf(defaultLocalization$1).
|
|
6708
|
-
protoOf(defaultLocalization$1).
|
|
6709
|
-
protoOf(defaultLocalization$1).
|
|
6710
|
-
protoOf(defaultLocalization$1).
|
|
6711
|
-
protoOf(defaultLocalization$1).
|
|
6712
|
-
protoOf(defaultLocalization$1).
|
|
6713
|
-
protoOf(defaultLocalization$1).
|
|
6714
|
-
protoOf(defaultLocalization$1).
|
|
6715
|
-
protoOf(defaultLocalization$1).
|
|
6716
|
-
protoOf(defaultLocalization$1).
|
|
6717
|
-
protoOf(defaultLocalization$1).
|
|
6718
|
-
protoOf(defaultLocalization$1).
|
|
6719
|
-
protoOf(defaultLocalization$1).
|
|
6720
|
-
protoOf(defaultLocalization$1).
|
|
6721
|
-
protoOf(defaultLocalization$1).
|
|
6722
|
-
protoOf(defaultLocalization$1).
|
|
6723
|
-
protoOf(defaultLocalization$1).
|
|
6724
|
-
protoOf(defaultLocalization$1).
|
|
6725
|
-
protoOf(defaultLocalization$1).
|
|
6726
|
-
protoOf(defaultLocalization$1).
|
|
6727
|
-
protoOf(defaultLocalization$1).
|
|
6728
|
-
protoOf(defaultLocalization$1).
|
|
6729
|
-
protoOf(defaultLocalization$1).
|
|
6730
|
-
protoOf(defaultLocalization$1).
|
|
6703
|
+
protoOf(defaultLocalization$1).w1i = usageError;
|
|
6704
|
+
protoOf(defaultLocalization$1).d1f = badParameter;
|
|
6705
|
+
protoOf(defaultLocalization$1).b1f = badParameterWithMessage;
|
|
6706
|
+
protoOf(defaultLocalization$1).c1f = badParameterWithParam;
|
|
6707
|
+
protoOf(defaultLocalization$1).a1f = badParameterWithMessageAndParam;
|
|
6708
|
+
protoOf(defaultLocalization$1).p1g = missingOption;
|
|
6709
|
+
protoOf(defaultLocalization$1).e1g = missingArgument;
|
|
6710
|
+
protoOf(defaultLocalization$1).d1h = noSuchSubcommand;
|
|
6711
|
+
protoOf(defaultLocalization$1).k1f = noSuchOption;
|
|
6712
|
+
protoOf(defaultLocalization$1).m1f = noSuchOptionWithSubCommandPossibility;
|
|
6713
|
+
protoOf(defaultLocalization$1).z1f = incorrectOptionValueCount;
|
|
6714
|
+
protoOf(defaultLocalization$1).k1g = incorrectArgumentValueCount;
|
|
6715
|
+
protoOf(defaultLocalization$1).j1h = fileNotFound;
|
|
6716
|
+
protoOf(defaultLocalization$1).x1g = invalidFileFormat;
|
|
6717
|
+
protoOf(defaultLocalization$1).w1g = invalidFileFormat_0;
|
|
6718
|
+
protoOf(defaultLocalization$1).x1k = unclosedQuote;
|
|
6719
|
+
protoOf(defaultLocalization$1).y1k = fileEndsWithSlash;
|
|
6720
|
+
protoOf(defaultLocalization$1).t1f = extraArgumentOne;
|
|
6721
|
+
protoOf(defaultLocalization$1).s1f = extraArgumentMany;
|
|
6722
|
+
protoOf(defaultLocalization$1).z1k = invalidFlagValueInFile;
|
|
6723
|
+
protoOf(defaultLocalization$1).a1l = boolConversionError;
|
|
6724
|
+
protoOf(defaultLocalization$1).b1l = stringMetavar;
|
|
6725
|
+
protoOf(defaultLocalization$1).u1k = intMetavar;
|
|
6726
|
+
protoOf(defaultLocalization$1).c1l = usageTitle;
|
|
6727
|
+
protoOf(defaultLocalization$1).z1j = optionsTitle;
|
|
6728
|
+
protoOf(defaultLocalization$1).l1k = argumentsTitle;
|
|
6729
|
+
protoOf(defaultLocalization$1).q1k = commandsTitle;
|
|
6730
|
+
protoOf(defaultLocalization$1).a1j = optionsMetavar;
|
|
6731
|
+
protoOf(defaultLocalization$1).k1j = commandMetavar;
|
|
6732
|
+
protoOf(defaultLocalization$1).l1j = argumentsMetavar;
|
|
6733
|
+
protoOf(defaultLocalization$1).r1k = helpTagDefault;
|
|
6734
|
+
protoOf(defaultLocalization$1).s1k = helpTagRequired;
|
|
6731
6735
|
protoOf(defaultLocalization$1).g1b = helpOptionMessage;
|
|
6732
|
-
protoOf(ProcessedArgumentImpl).
|
|
6733
|
-
protoOf(OptionWithValuesImpl).
|
|
6734
|
-
protoOf(OptionWithValuesImpl).
|
|
6735
|
-
protoOf(OptionWithValuesImpl).
|
|
6736
|
+
protoOf(ProcessedArgumentImpl).p1l = copy$default;
|
|
6737
|
+
protoOf(OptionWithValuesImpl).o1m = copy$default_0;
|
|
6738
|
+
protoOf(OptionWithValuesImpl).p1m = copy$default_1;
|
|
6739
|
+
protoOf(OptionWithValuesImpl).v1m = getValue_0;
|
|
6736
6740
|
protoOf(OptionWithValuesImpl).j1b = parameterHelp;
|
|
6737
6741
|
//endregion
|
|
6738
6742
|
//region block: init
|