git-digger 1.2.20 → 1.2.21
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/Kotlin-DateTime-library-kotlinx-datetime.js +50 -50
- package/kotlin/clikt-clikt.js +1163 -1163
- package/kotlin/colormath-root-colormath.js +421 -421
- package/kotlin/kotlin-kotlin-stdlib.js +211 -210
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +64 -64
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +231 -231
- package/kotlin/markdown.js +1865 -1865
- package/kotlin/mordant-mordant.js +1595 -1595
- package/kotlin/tools-digger-cli.js +67 -67
- package/kotlin/tools-digger-core.js +81 -125
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +67 -67
- package/kotlin/tools-digger-model.js +7 -7
- package/package.json +1 -1
package/kotlin/clikt-clikt.js
CHANGED
|
@@ -2,57 +2,57 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
6
|
-
var map = kotlin_kotlin.$_$.
|
|
7
|
-
var toList = kotlin_kotlin.$_$.
|
|
5
|
+
var generateSequence = kotlin_kotlin.$_$.x9;
|
|
6
|
+
var map = kotlin_kotlin.$_$.ba;
|
|
7
|
+
var toList = kotlin_kotlin.$_$.da;
|
|
8
8
|
var asReversed = kotlin_kotlin.$_$.c4;
|
|
9
9
|
var joinToString = kotlin_kotlin.$_$.h5;
|
|
10
10
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
11
|
-
var replace = kotlin_kotlin.$_$.
|
|
12
|
-
var to = kotlin_kotlin.$_$.
|
|
11
|
+
var replace = kotlin_kotlin.$_$.ib;
|
|
12
|
+
var to = kotlin_kotlin.$_$.id;
|
|
13
13
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
14
14
|
var plus = kotlin_kotlin.$_$.d6;
|
|
15
15
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
16
16
|
var Unit_instance = kotlin_kotlin.$_$.l3;
|
|
17
17
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i4;
|
|
18
18
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
19
|
-
var Triple = kotlin_kotlin.$_$.
|
|
20
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
19
|
+
var Triple = kotlin_kotlin.$_$.oc;
|
|
20
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.v8;
|
|
21
21
|
var addAll = kotlin_kotlin.$_$.z3;
|
|
22
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
23
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
22
|
+
var compareTo = kotlin_kotlin.$_$.z7;
|
|
23
|
+
var ensureNotNull = kotlin_kotlin.$_$.bd;
|
|
24
24
|
var plus_0 = kotlin_kotlin.$_$.f6;
|
|
25
25
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
26
|
-
var trimMargin = kotlin_kotlin.$_$.
|
|
27
|
-
var trimIndent = kotlin_kotlin.$_$.
|
|
28
|
-
var prependIndent = kotlin_kotlin.$_$.
|
|
26
|
+
var trimMargin = kotlin_kotlin.$_$.wb;
|
|
27
|
+
var trimIndent = kotlin_kotlin.$_$.vb;
|
|
28
|
+
var prependIndent = kotlin_kotlin.$_$.cb;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.g;
|
|
30
30
|
var joinTo = kotlin_kotlin.$_$.i5;
|
|
31
31
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
32
|
-
var first = kotlin_kotlin.$_$.
|
|
32
|
+
var first = kotlin_kotlin.$_$.oa;
|
|
33
33
|
var toString = kotlin_kotlin.$_$.w1;
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
36
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
37
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
40
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
41
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
42
|
-
var trim = kotlin_kotlin.$_$.
|
|
43
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
34
|
+
var equals = kotlin_kotlin.$_$.a8;
|
|
35
|
+
var protoOf = kotlin_kotlin.$_$.c9;
|
|
36
|
+
var objectMeta = kotlin_kotlin.$_$.b9;
|
|
37
|
+
var setMetadataFor = kotlin_kotlin.$_$.d9;
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.fc;
|
|
39
|
+
var classMeta = kotlin_kotlin.$_$.y7;
|
|
40
|
+
var THROW_CCE = kotlin_kotlin.$_$.nc;
|
|
41
|
+
var isCharSequence = kotlin_kotlin.$_$.m8;
|
|
42
|
+
var trim = kotlin_kotlin.$_$.yb;
|
|
43
|
+
var toString_0 = kotlin_kotlin.$_$.f9;
|
|
44
44
|
var lastOrNull = kotlin_kotlin.$_$.n5;
|
|
45
45
|
var first_0 = kotlin_kotlin.$_$.z4;
|
|
46
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
47
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
46
|
+
var replace_0 = kotlin_kotlin.$_$.hb;
|
|
47
|
+
var isBlank = kotlin_kotlin.$_$.sa;
|
|
48
48
|
var Collection = kotlin_kotlin.$_$.n3;
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
51
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
52
|
-
var trimStart = kotlin_kotlin.$_$.
|
|
53
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
54
|
-
var contains = kotlin_kotlin.$_$.
|
|
55
|
-
var startsWith_0 = kotlin_kotlin.$_$.
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.q8;
|
|
50
|
+
var startsWith = kotlin_kotlin.$_$.mb;
|
|
51
|
+
var charArrayOf = kotlin_kotlin.$_$.t7;
|
|
52
|
+
var trimStart = kotlin_kotlin.$_$.xb;
|
|
53
|
+
var charSequenceGet = kotlin_kotlin.$_$.v7;
|
|
54
|
+
var contains = kotlin_kotlin.$_$.ja;
|
|
55
|
+
var startsWith_0 = kotlin_kotlin.$_$.nb;
|
|
56
56
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
57
57
|
var minus = kotlin_kotlin.$_$.y5;
|
|
58
58
|
var plus_1 = kotlin_kotlin.$_$.g6;
|
|
@@ -64,36 +64,36 @@
|
|
|
64
64
|
var flatten = kotlin_kotlin.$_$.b5;
|
|
65
65
|
var asList = kotlin_kotlin.$_$.a4;
|
|
66
66
|
var setOf = kotlin_kotlin.$_$.m6;
|
|
67
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
67
|
+
var removeSuffix = kotlin_kotlin.$_$.eb;
|
|
68
68
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
69
|
-
var split = kotlin_kotlin.$_$.
|
|
69
|
+
var split = kotlin_kotlin.$_$.lb;
|
|
70
70
|
var last = kotlin_kotlin.$_$.q5;
|
|
71
71
|
var plus_2 = kotlin_kotlin.$_$.c6;
|
|
72
72
|
var Terminal_init_$Create$ = kotlin_mordant_mordant.$_$.h;
|
|
73
|
-
var toSet = kotlin_kotlin.$_$.
|
|
73
|
+
var toSet = kotlin_kotlin.$_$.f7;
|
|
74
74
|
var asReversed_0 = kotlin_kotlin.$_$.b4;
|
|
75
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
75
|
+
var addSuppressed = kotlin_kotlin.$_$.yc;
|
|
76
76
|
var sortedWith = kotlin_kotlin.$_$.r6;
|
|
77
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
78
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
79
|
-
var commonPrefixWith = kotlin_kotlin.$_$.
|
|
80
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
81
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
82
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
83
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
84
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
85
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
77
|
+
var Comparator = kotlin_kotlin.$_$.ec;
|
|
78
|
+
var compareValues = kotlin_kotlin.$_$.l7;
|
|
79
|
+
var commonPrefixWith = kotlin_kotlin.$_$.ga;
|
|
80
|
+
var charSequenceLength = kotlin_kotlin.$_$.w7;
|
|
81
|
+
var booleanArray = kotlin_kotlin.$_$.r7;
|
|
82
|
+
var get_lastIndex = kotlin_kotlin.$_$.ya;
|
|
83
|
+
var interfaceMeta = kotlin_kotlin.$_$.h8;
|
|
84
|
+
var captureStack = kotlin_kotlin.$_$.s7;
|
|
85
|
+
var RuntimeException = kotlin_kotlin.$_$.mc;
|
|
86
86
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
87
87
|
var listOf_0 = kotlin_kotlin.$_$.s5;
|
|
88
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
89
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
90
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
88
|
+
var objectCreate = kotlin_kotlin.$_$.a9;
|
|
89
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.gd;
|
|
90
|
+
var toMutableMap = kotlin_kotlin.$_$.e7;
|
|
91
91
|
var Map = kotlin_kotlin.$_$.u3;
|
|
92
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
93
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
94
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
95
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
96
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
92
|
+
var toList_0 = kotlin_kotlin.$_$.a7;
|
|
93
|
+
var IllegalStateException = kotlin_kotlin.$_$.ic;
|
|
94
|
+
var hashCode = kotlin_kotlin.$_$.g8;
|
|
95
|
+
var getStringHashCode = kotlin_kotlin.$_$.f8;
|
|
96
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.c8;
|
|
97
97
|
var Text_init_$Create$ = kotlin_mordant_mordant.$_$.i;
|
|
98
98
|
var Whitespace_NORMAL_getInstance = kotlin_mordant_mordant.$_$.f;
|
|
99
99
|
var verticalLayout = kotlin_mordant_mordant.$_$.c;
|
|
@@ -102,49 +102,49 @@
|
|
|
102
102
|
var Markdown = kotlin_mordant_mordant.$_$.a;
|
|
103
103
|
var withPadding = kotlin_mordant_mordant.$_$.e;
|
|
104
104
|
var mapCapacity = kotlin_kotlin.$_$.u5;
|
|
105
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
105
|
+
var coerceAtLeast = kotlin_kotlin.$_$.k9;
|
|
106
106
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
107
107
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.s;
|
|
108
|
-
var toList_1 = kotlin_kotlin.$_$.
|
|
108
|
+
var toList_1 = kotlin_kotlin.$_$.z6;
|
|
109
109
|
var mutableListOf = kotlin_kotlin.$_$.a6;
|
|
110
110
|
var asSequence = kotlin_kotlin.$_$.d4;
|
|
111
|
-
var filter = kotlin_kotlin.$_$.
|
|
112
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
111
|
+
var filter = kotlin_kotlin.$_$.w9;
|
|
112
|
+
var joinToString_0 = kotlin_kotlin.$_$.z9;
|
|
113
113
|
var first_1 = kotlin_kotlin.$_$.a5;
|
|
114
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
115
|
-
var drop = kotlin_kotlin.$_$.
|
|
114
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.x7;
|
|
115
|
+
var drop = kotlin_kotlin.$_$.ka;
|
|
116
116
|
var Whitespace_PRE_WRAP_getInstance = kotlin_mordant_mordant.$_$.g;
|
|
117
117
|
var Companion_instance = kotlin_kotlin.$_$.g3;
|
|
118
118
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.x1;
|
|
119
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
119
|
+
var createFailure = kotlin_kotlin.$_$.ad;
|
|
120
120
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.a2;
|
|
121
121
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.z1;
|
|
122
122
|
var single = kotlin_kotlin.$_$.n6;
|
|
123
|
-
var KMutableProperty1 = kotlin_kotlin.$_$.
|
|
124
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
125
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
123
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.s9;
|
|
124
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.e8;
|
|
125
|
+
var ClassCastException = kotlin_kotlin.$_$.cc;
|
|
126
126
|
var copyToArray = kotlin_kotlin.$_$.q4;
|
|
127
|
-
var toSet_0 = kotlin_kotlin.$_$.
|
|
127
|
+
var toSet_0 = kotlin_kotlin.$_$.g7;
|
|
128
128
|
var contains_0 = kotlin_kotlin.$_$.j4;
|
|
129
|
-
var slice = kotlin_kotlin.$_$.
|
|
129
|
+
var slice = kotlin_kotlin.$_$.jb;
|
|
130
130
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
131
131
|
var setOf_0 = kotlin_kotlin.$_$.l6;
|
|
132
132
|
var emptySet = kotlin_kotlin.$_$.w4;
|
|
133
|
-
var Exception = kotlin_kotlin.$_$.
|
|
133
|
+
var Exception = kotlin_kotlin.$_$.gc;
|
|
134
134
|
var get_lastIndex_0 = kotlin_kotlin.$_$.k5;
|
|
135
135
|
var getValue = kotlin_kotlin.$_$.d5;
|
|
136
136
|
var slice_0 = kotlin_kotlin.$_$.o6;
|
|
137
137
|
var drop_0 = kotlin_kotlin.$_$.t4;
|
|
138
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
139
|
-
var isDigit = kotlin_kotlin.$_$.
|
|
140
|
-
var withDefault = kotlin_kotlin.$_$.
|
|
138
|
+
var indexOf = kotlin_kotlin.$_$.ra;
|
|
139
|
+
var isDigit = kotlin_kotlin.$_$.ta;
|
|
140
|
+
var withDefault = kotlin_kotlin.$_$.h7;
|
|
141
141
|
var getOrNull = kotlin_kotlin.$_$.c5;
|
|
142
142
|
var takeLast = kotlin_kotlin.$_$.v6;
|
|
143
|
-
var contains_1 = kotlin_kotlin.$_$.
|
|
144
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
145
|
-
var take = kotlin_kotlin.$_$.
|
|
146
|
-
var Char = kotlin_kotlin.$_$.
|
|
147
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
143
|
+
var contains_1 = kotlin_kotlin.$_$.ia;
|
|
144
|
+
var substringBefore = kotlin_kotlin.$_$.pb;
|
|
145
|
+
var take = kotlin_kotlin.$_$.qb;
|
|
146
|
+
var Char = kotlin_kotlin.$_$.bc;
|
|
147
|
+
var isWhitespace = kotlin_kotlin.$_$.xa;
|
|
148
148
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
149
149
|
//endregion
|
|
150
150
|
//region block: pre-declaration
|
|
@@ -179,24 +179,24 @@
|
|
|
179
179
|
}
|
|
180
180
|
function parameterHelp(context) {
|
|
181
181
|
var tmp;
|
|
182
|
-
if (this.
|
|
182
|
+
if (this.p2m()) {
|
|
183
183
|
tmp = null;
|
|
184
184
|
} else {
|
|
185
|
-
var tmp_0 = this.
|
|
186
|
-
var tmp_1 = this.
|
|
187
|
-
var tmp_2 = this.
|
|
188
|
-
var tmp_3 = this.
|
|
189
|
-
var tmp_4 = this.
|
|
190
|
-
var tmp_5 = this.
|
|
191
|
-
var tmp_6 = this.
|
|
192
|
-
var tmp_7 = this.
|
|
185
|
+
var tmp_0 = this.r2l();
|
|
186
|
+
var tmp_1 = this.s2l();
|
|
187
|
+
var tmp_2 = this.b2x(context);
|
|
188
|
+
var tmp_3 = this.a2n(context);
|
|
189
|
+
var tmp_4 = this.r2m();
|
|
190
|
+
var tmp_5 = this.b2p();
|
|
191
|
+
var tmp_6 = this.p2n();
|
|
192
|
+
var tmp_7 = this.e2p();
|
|
193
193
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
194
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
194
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2p();
|
|
195
195
|
var tmp_8;
|
|
196
196
|
if (tmp3_elvis_lhs == null) {
|
|
197
197
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
198
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
199
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
198
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2p();
|
|
199
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a2p();
|
|
200
200
|
} else {
|
|
201
201
|
tmp_8 = tmp3_elvis_lhs;
|
|
202
202
|
}
|
|
@@ -362,8 +362,8 @@
|
|
|
362
362
|
setMetadataFor(ArgumentTransformContext, 'ArgumentTransformContext', classMeta, VOID, [Argument_0]);
|
|
363
363
|
setMetadataFor(ProcessedArgumentImpl, 'ProcessedArgumentImpl', classMeta, VOID, [Argument_0]);
|
|
364
364
|
function parameterHelp_0(context) {
|
|
365
|
-
var n = this.
|
|
366
|
-
var h = this.
|
|
365
|
+
var n = this.a2p();
|
|
366
|
+
var h = this.s2w();
|
|
367
367
|
return (n == null ? true : h == null) ? null : new Group_0(n, h);
|
|
368
368
|
}
|
|
369
369
|
setMetadataFor(ParameterGroup, 'ParameterGroup', interfaceMeta);
|
|
@@ -379,39 +379,39 @@
|
|
|
379
379
|
setMetadataFor(Envvar, 'Envvar', classMeta, FinalValue);
|
|
380
380
|
setMetadataFor(OptionTransformContext, 'OptionTransformContext', classMeta, VOID, [Option_0]);
|
|
381
381
|
function copy$default(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
382
|
-
names = names === VOID ? this.
|
|
383
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
384
|
-
nvalues = nvalues === VOID ? this.
|
|
385
|
-
helpGetter = helpGetter === VOID ? this.
|
|
386
|
-
hidden = hidden === VOID ? this.
|
|
387
|
-
helpTags = helpTags === VOID ? this.
|
|
388
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
389
|
-
envvar = envvar === VOID ? this.
|
|
390
|
-
valueSplit = valueSplit === VOID ? this.
|
|
391
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
392
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
393
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
394
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
395
|
-
eager = eager === VOID ? this.
|
|
396
|
-
return $super === VOID ? this.
|
|
382
|
+
names = names === VOID ? this.r2l() : names;
|
|
383
|
+
metavarGetter = metavarGetter === VOID ? this.m2x() : metavarGetter;
|
|
384
|
+
nvalues = nvalues === VOID ? this.r2m() : nvalues;
|
|
385
|
+
helpGetter = helpGetter === VOID ? this.n2x() : helpGetter;
|
|
386
|
+
hidden = hidden === VOID ? this.p2m() : hidden;
|
|
387
|
+
helpTags = helpTags === VOID ? this.b2p() : helpTags;
|
|
388
|
+
valueSourceKey = valueSourceKey === VOID ? this.c2p() : valueSourceKey;
|
|
389
|
+
envvar = envvar === VOID ? this.j2x() : envvar;
|
|
390
|
+
valueSplit = valueSplit === VOID ? this.o2x() : valueSplit;
|
|
391
|
+
completionCandidates = completionCandidates === VOID ? this.l2x() : completionCandidates;
|
|
392
|
+
secondaryNames = secondaryNames === VOID ? this.s2l() : secondaryNames;
|
|
393
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.p2n() : acceptsNumberValueWithoutName;
|
|
394
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.e2p() : acceptsUnattachedValue;
|
|
395
|
+
eager = eager === VOID ? this.d2p() : eager;
|
|
396
|
+
return $super === VOID ? this.p2x(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.p2x.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
397
397
|
}
|
|
398
398
|
function copy$default_0(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
399
|
-
validator = validator === VOID ? this.
|
|
400
|
-
names = names === VOID ? this.
|
|
401
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
402
|
-
nvalues = nvalues === VOID ? this.
|
|
403
|
-
helpGetter = helpGetter === VOID ? this.
|
|
404
|
-
hidden = hidden === VOID ? this.
|
|
405
|
-
helpTags = helpTags === VOID ? this.
|
|
406
|
-
envvar = envvar === VOID ? this.
|
|
407
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
408
|
-
valueSplit = valueSplit === VOID ? this.
|
|
409
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
410
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
411
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
412
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
413
|
-
eager = eager === VOID ? this.
|
|
414
|
-
return $super === VOID ? this.
|
|
399
|
+
validator = validator === VOID ? this.k2x() : validator;
|
|
400
|
+
names = names === VOID ? this.r2l() : names;
|
|
401
|
+
metavarGetter = metavarGetter === VOID ? this.m2x() : metavarGetter;
|
|
402
|
+
nvalues = nvalues === VOID ? this.r2m() : nvalues;
|
|
403
|
+
helpGetter = helpGetter === VOID ? this.n2x() : helpGetter;
|
|
404
|
+
hidden = hidden === VOID ? this.p2m() : hidden;
|
|
405
|
+
helpTags = helpTags === VOID ? this.b2p() : helpTags;
|
|
406
|
+
envvar = envvar === VOID ? this.j2x() : envvar;
|
|
407
|
+
valueSourceKey = valueSourceKey === VOID ? this.c2p() : valueSourceKey;
|
|
408
|
+
valueSplit = valueSplit === VOID ? this.o2x() : valueSplit;
|
|
409
|
+
completionCandidates = completionCandidates === VOID ? this.l2x() : completionCandidates;
|
|
410
|
+
secondaryNames = secondaryNames === VOID ? this.s2l() : secondaryNames;
|
|
411
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.p2n() : acceptsNumberValueWithoutName;
|
|
412
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.e2p() : acceptsUnattachedValue;
|
|
413
|
+
eager = eager === VOID ? this.d2p() : eager;
|
|
414
|
+
return $super === VOID ? this.q2x(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.q2x.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
415
415
|
}
|
|
416
416
|
setMetadataFor(OptionWithValues, 'OptionWithValues', interfaceMeta, VOID, [OptionDelegate]);
|
|
417
417
|
setMetadataFor(OptionCallTransformContext, 'OptionCallTransformContext', classMeta, VOID, [Option_0]);
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
setMetadataFor(BrowserMppImpls, 'BrowserMppImpls', objectMeta);
|
|
429
429
|
//endregion
|
|
430
430
|
function commandCompletionFuncName($this, command) {
|
|
431
|
-
var tmp = command.
|
|
431
|
+
var tmp = command.q2l();
|
|
432
432
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
433
433
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
434
434
|
var isTopLevel = ancestors.l() === 1;
|
|
@@ -439,34 +439,34 @@
|
|
|
439
439
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').n8(name, '_');
|
|
440
440
|
}
|
|
441
441
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
442
|
-
return plus(_this__u8e3s4.
|
|
442
|
+
return plus(_this__u8e3s4.r2l(), _this__u8e3s4.s2l());
|
|
443
443
|
}
|
|
444
444
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
445
445
|
return "'" + it + "'";
|
|
446
446
|
}
|
|
447
447
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
448
|
-
return it.
|
|
448
|
+
return it.t2l_1;
|
|
449
449
|
}
|
|
450
450
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
451
|
-
return it.
|
|
451
|
+
return it.u2l_1.g2l_1;
|
|
452
452
|
}
|
|
453
453
|
function BashCompletionGenerator() {
|
|
454
454
|
}
|
|
455
|
-
protoOf(BashCompletionGenerator).
|
|
456
|
-
var commandName = command.
|
|
455
|
+
protoOf(BashCompletionGenerator).o2m = function (command, zsh) {
|
|
456
|
+
var commandName = command.g2l_1;
|
|
457
457
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
458
458
|
var isTopLevel = tmp0_container.a6();
|
|
459
459
|
var funcName = tmp0_container.b6();
|
|
460
460
|
// Inline function 'kotlin.collections.map' call
|
|
461
461
|
// Inline function 'kotlin.collections.filterNot' call
|
|
462
462
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
463
|
-
var this_0 = command.
|
|
463
|
+
var this_0 = command.k2l_1;
|
|
464
464
|
var destination = ArrayList_init_$Create$();
|
|
465
465
|
var tmp0_iterator = this_0.r();
|
|
466
466
|
while (tmp0_iterator.s()) {
|
|
467
467
|
var element = tmp0_iterator.u();
|
|
468
468
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
469
|
-
if (!element.
|
|
469
|
+
if (!element.p2m()) {
|
|
470
470
|
destination.o(element);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
@@ -476,43 +476,43 @@
|
|
|
476
476
|
while (tmp0_iterator_0.s()) {
|
|
477
477
|
var item = tmp0_iterator_0.u();
|
|
478
478
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
479
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
479
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.q2m(), item.r2m());
|
|
480
480
|
destination_0.o(tmp$ret$3);
|
|
481
481
|
}
|
|
482
482
|
var options = destination_0;
|
|
483
483
|
// Inline function 'kotlin.collections.map' call
|
|
484
|
-
var this_1 = command.
|
|
484
|
+
var this_1 = command.l2l_1;
|
|
485
485
|
// Inline function 'kotlin.collections.mapTo' call
|
|
486
486
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
487
487
|
var tmp0_iterator_1 = this_1.r();
|
|
488
488
|
while (tmp0_iterator_1.s()) {
|
|
489
489
|
var item_0 = tmp0_iterator_1.u();
|
|
490
490
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
491
|
-
var tmp$ret$6 = to(item_0.c12(), item_0.
|
|
491
|
+
var tmp$ret$6 = to(item_0.c12(), item_0.q2m());
|
|
492
492
|
destination_1.o(tmp$ret$6);
|
|
493
493
|
}
|
|
494
494
|
var arguments_0 = destination_1;
|
|
495
495
|
// Inline function 'kotlin.collections.map' call
|
|
496
|
-
var this_2 = command.
|
|
496
|
+
var this_2 = command.j2l_1;
|
|
497
497
|
// Inline function 'kotlin.collections.mapTo' call
|
|
498
498
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
499
499
|
var tmp0_iterator_2 = this_2.r();
|
|
500
500
|
while (tmp0_iterator_2.s()) {
|
|
501
501
|
var item_1 = tmp0_iterator_2.u();
|
|
502
502
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
503
|
-
var tmp$ret$9 = item_1.
|
|
503
|
+
var tmp$ret$9 = item_1.g2l_1;
|
|
504
504
|
destination_2.o(tmp$ret$9);
|
|
505
505
|
}
|
|
506
506
|
var subcommands = destination_2;
|
|
507
507
|
// Inline function 'kotlin.collections.flatMap' call
|
|
508
508
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
509
|
-
var this_3 = command.
|
|
509
|
+
var this_3 = command.l2l_1;
|
|
510
510
|
var list = ArrayList_init_$Create$();
|
|
511
511
|
var tmp0_iterator_3 = this_3.r();
|
|
512
512
|
$l$loop: while (tmp0_iterator_3.s()) {
|
|
513
513
|
var item_2 = tmp0_iterator_3.u();
|
|
514
514
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
515
|
-
if (!(item_2.
|
|
515
|
+
if (!(item_2.r2m() > 0))
|
|
516
516
|
break $l$loop;
|
|
517
517
|
list.o(item_2);
|
|
518
518
|
}
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
var element_0 = tmp0_iterator_4.u();
|
|
524
524
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
525
525
|
// Inline function 'kotlin.collections.map' call
|
|
526
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
526
|
+
var this_4 = numberRangeToNumber(1, element_0.r2m());
|
|
527
527
|
// Inline function 'kotlin.collections.mapTo' call
|
|
528
528
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
529
529
|
var tmp0_iterator_5 = this_4.r();
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
540
540
|
// Inline function 'kotlin.text.orEmpty' call
|
|
541
541
|
// Inline function 'kotlin.collections.find' call
|
|
542
|
-
var this_5 = command.
|
|
542
|
+
var this_5 = command.l2l_1;
|
|
543
543
|
var tmp$ret$21;
|
|
544
544
|
$l$block: {
|
|
545
545
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
while (tmp0_iterator_6.s()) {
|
|
548
548
|
var element_1 = tmp0_iterator_6.u();
|
|
549
549
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
550
|
-
if (element_1.
|
|
550
|
+
if (element_1.r2m() < 0) {
|
|
551
551
|
tmp$ret$21 = element_1;
|
|
552
552
|
break $l$block;
|
|
553
553
|
}
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
var name = tmp1_loop_parameter.a6();
|
|
617
617
|
var candidate = tmp1_loop_parameter.b6();
|
|
618
618
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
619
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
619
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s2m_1;
|
|
620
620
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
621
621
|
var tmp;
|
|
622
622
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
}
|
|
675
675
|
this_6.f5(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
676
676
|
// Inline function 'kotlin.collections.iterator' call
|
|
677
|
-
var tmp7_iterator = command.
|
|
677
|
+
var tmp7_iterator = command.t2m().l2().r();
|
|
678
678
|
while (tmp7_iterator.s()) {
|
|
679
679
|
var tmp8_loop_parameter = tmp7_iterator.u();
|
|
680
680
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -685,18 +685,18 @@
|
|
|
685
685
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
686
686
|
this_6.f5(' "${COMP_WORDS[@]:${i}}" )').f5('\n');
|
|
687
687
|
this_6.f5(' (( COMP_CWORD = COMP_CWORD + ' + toks.l() + ' ))\n');
|
|
688
|
-
if (!command.
|
|
688
|
+
if (!command.q2l().v2l_1) {
|
|
689
689
|
this_6.f5(' can_parse_options=0\n');
|
|
690
690
|
}
|
|
691
691
|
this_6.f5(' ;;\n');
|
|
692
692
|
}
|
|
693
|
-
var tmp9_iterator = command.
|
|
693
|
+
var tmp9_iterator = command.j2l_1.r();
|
|
694
694
|
while (tmp9_iterator.s()) {
|
|
695
695
|
var sub = tmp9_iterator.u();
|
|
696
|
-
this_6.f5(trimMargin('\n | ' + sub.
|
|
696
|
+
this_6.f5(trimMargin('\n | ' + sub.g2l_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).z5_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
697
697
|
}
|
|
698
698
|
this_6.f5(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
699
|
-
if (!command.
|
|
699
|
+
if (!command.q2l().v2l_1) {
|
|
700
700
|
this_6.f5(' can_parse_options=0\n');
|
|
701
701
|
}
|
|
702
702
|
this_6.f5(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -756,11 +756,11 @@
|
|
|
756
756
|
} else {
|
|
757
757
|
if (completion instanceof Fixed) {
|
|
758
758
|
this_6.f5(" COMPREPLY=($(compgen -W '");
|
|
759
|
-
joinTo(completion.
|
|
759
|
+
joinTo(completion.u2m_1, this_6, ' ');
|
|
760
760
|
this_6.f5('\' -- "${word}"))\n');
|
|
761
761
|
} else {
|
|
762
762
|
if (completion instanceof Custom) {
|
|
763
|
-
if (!(completion.
|
|
763
|
+
if (!(completion.s2m_1(ShellType_BASH_getInstance()) == null)) {
|
|
764
764
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
765
765
|
this_6.f5(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
766
766
|
}
|
|
@@ -779,10 +779,10 @@
|
|
|
779
779
|
this_6.f5('\' -- "${word}"))\n ;;\n');
|
|
780
780
|
}
|
|
781
781
|
this_6.f5(' esac\n}\n');
|
|
782
|
-
var tmp13_iterator = command.
|
|
782
|
+
var tmp13_iterator = command.j2l_1.r();
|
|
783
783
|
while (tmp13_iterator.s()) {
|
|
784
784
|
var subcommand = tmp13_iterator.u();
|
|
785
|
-
this_6.f5(BashCompletionGenerator_instance.
|
|
785
|
+
this_6.f5(BashCompletionGenerator_instance.o2m(subcommand, zsh));
|
|
786
786
|
}
|
|
787
787
|
if (isTopLevel) {
|
|
788
788
|
this_6.f5('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -918,20 +918,20 @@
|
|
|
918
918
|
}
|
|
919
919
|
function CompletionGenerator() {
|
|
920
920
|
}
|
|
921
|
-
protoOf(CompletionGenerator).
|
|
921
|
+
protoOf(CompletionGenerator).v2m = function (command, shell) {
|
|
922
922
|
// Inline function 'kotlin.text.lowercase' call
|
|
923
923
|
// Inline function 'kotlin.text.trim' call
|
|
924
924
|
// Inline function 'kotlin.js.asDynamic' call
|
|
925
925
|
var message;
|
|
926
926
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
927
927
|
case 'fish':
|
|
928
|
-
message = FishCompletionGenerator_instance.
|
|
928
|
+
message = FishCompletionGenerator_instance.w2m(command);
|
|
929
929
|
break;
|
|
930
930
|
case 'zsh':
|
|
931
|
-
message = BashCompletionGenerator_instance.
|
|
931
|
+
message = BashCompletionGenerator_instance.o2m(command, true);
|
|
932
932
|
break;
|
|
933
933
|
default:
|
|
934
|
-
message = BashCompletionGenerator_instance.
|
|
934
|
+
message = BashCompletionGenerator_instance.o2m(command, false);
|
|
935
935
|
break;
|
|
936
936
|
}
|
|
937
937
|
throw new PrintCompletionMessage(message);
|
|
@@ -947,29 +947,29 @@
|
|
|
947
947
|
var this_0 = StringBuilder_init_$Create$();
|
|
948
948
|
// Inline function 'kotlin.contracts.contract' call
|
|
949
949
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
950
|
-
var parentCommandName = lastOrNull(command.
|
|
951
|
-
var rootCommandName = first_0(command.
|
|
950
|
+
var parentCommandName = lastOrNull(command.q2l().x2m());
|
|
951
|
+
var rootCommandName = first_0(command.q2l().y2m());
|
|
952
952
|
var isTopLevel = parentCommandName == null;
|
|
953
|
-
var commandName = command.
|
|
953
|
+
var commandName = command.g2l_1;
|
|
954
954
|
// Inline function 'kotlin.collections.filterNot' call
|
|
955
955
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
956
|
-
var this_1 = command.
|
|
956
|
+
var this_1 = command.k2l_1;
|
|
957
957
|
var destination = ArrayList_init_$Create$();
|
|
958
958
|
var tmp0_iterator = this_1.r();
|
|
959
959
|
while (tmp0_iterator.s()) {
|
|
960
960
|
var element = tmp0_iterator.u();
|
|
961
961
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
962
|
-
if (!element.
|
|
962
|
+
if (!element.p2m()) {
|
|
963
963
|
destination.o(element);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
var options = destination;
|
|
967
|
-
var arguments_0 = command.
|
|
968
|
-
var subcommands = command.
|
|
967
|
+
var arguments_0 = command.l2l_1;
|
|
968
|
+
var subcommands = command.j2l_1;
|
|
969
969
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
970
970
|
var hasSubcommands = !subcommands.y();
|
|
971
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
972
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
971
|
+
var subcommandsVarName_0 = subcommandsVarName(command.q2l().y2m(), FishCompletionGenerator_instance);
|
|
972
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.q2l().x2m(), FishCompletionGenerator_instance);
|
|
973
973
|
if (isTopLevel) {
|
|
974
974
|
// Inline function 'kotlin.text.appendLine' call
|
|
975
975
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -997,7 +997,7 @@
|
|
|
997
997
|
this_0.f5('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
998
998
|
}
|
|
999
999
|
this_0.f5('-a ' + commandName + ' ');
|
|
1000
|
-
var help = replace_0(command.
|
|
1000
|
+
var help = replace_0(command.z2m(command.q2l()), "'", "\\'");
|
|
1001
1001
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1002
1002
|
if (!isBlank(help)) {
|
|
1003
1003
|
this_0.f5("-d '" + help + "'");
|
|
@@ -1093,11 +1093,11 @@
|
|
|
1093
1093
|
}
|
|
1094
1094
|
this_0.f5(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1095
1095
|
}
|
|
1096
|
-
if (option.
|
|
1096
|
+
if (option.r2m().fe_1 > 0) {
|
|
1097
1097
|
this_0.f5(' -r');
|
|
1098
1098
|
}
|
|
1099
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1100
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1099
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.q2m());
|
|
1100
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.a2n(command.q2l()));
|
|
1101
1101
|
// Inline function 'kotlin.text.appendLine' call
|
|
1102
1102
|
this_0.g5(_Char___init__impl__6a9atx(10));
|
|
1103
1103
|
}
|
|
@@ -1112,8 +1112,8 @@
|
|
|
1112
1112
|
while (tmp2_iterator.s()) {
|
|
1113
1113
|
var argument = tmp2_iterator.u();
|
|
1114
1114
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1115
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1116
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1115
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.q2m());
|
|
1116
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.b2n(command.q2l()));
|
|
1117
1117
|
// Inline function 'kotlin.text.appendLine' call
|
|
1118
1118
|
this_0.g5(_Char___init__impl__6a9atx(10));
|
|
1119
1119
|
}
|
|
@@ -1174,10 +1174,10 @@
|
|
|
1174
1174
|
_this__u8e3s4.f5(' -fa "(__fish_complete_users)"');
|
|
1175
1175
|
} else {
|
|
1176
1176
|
if (completion instanceof Fixed) {
|
|
1177
|
-
joinTo(completion.
|
|
1177
|
+
joinTo(completion.u2m_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1178
1178
|
} else {
|
|
1179
1179
|
if (completion instanceof Custom) {
|
|
1180
|
-
var customCompletion = completion.
|
|
1180
|
+
var customCompletion = completion.s2m_1(ShellType_FISH_getInstance());
|
|
1181
1181
|
_this__u8e3s4.f5(' -fa ' + customCompletion);
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
@@ -1193,11 +1193,11 @@
|
|
|
1193
1193
|
var tmp;
|
|
1194
1194
|
var tmp_0;
|
|
1195
1195
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1196
|
-
if (!_this__u8e3s4.
|
|
1196
|
+
if (!_this__u8e3s4.l2l_1.y()) {
|
|
1197
1197
|
tmp_0 = true;
|
|
1198
1198
|
} else {
|
|
1199
1199
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1200
|
-
tmp_0 = !_this__u8e3s4.
|
|
1200
|
+
tmp_0 = !_this__u8e3s4.j2l_1.y();
|
|
1201
1201
|
}
|
|
1202
1202
|
if (tmp_0) {
|
|
1203
1203
|
tmp = true;
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
// Inline function 'kotlin.collections.any' call
|
|
1208
1208
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1209
1209
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1210
|
-
var this_0 = _this__u8e3s4.
|
|
1210
|
+
var this_0 = _this__u8e3s4.k2l_1;
|
|
1211
1211
|
var destination = ArrayList_init_$Create$();
|
|
1212
1212
|
var tmp0_iterator = this_0.r();
|
|
1213
1213
|
while (tmp0_iterator.s()) {
|
|
@@ -1245,10 +1245,10 @@
|
|
|
1245
1245
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1246
1246
|
}
|
|
1247
1247
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1248
|
-
return plus(_this__u8e3s4.
|
|
1248
|
+
return plus(_this__u8e3s4.r2l(), _this__u8e3s4.s2l());
|
|
1249
1249
|
}
|
|
1250
1250
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1251
|
-
return it.
|
|
1251
|
+
return it.g2l_1;
|
|
1252
1252
|
}
|
|
1253
1253
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1254
1254
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1256,7 +1256,7 @@
|
|
|
1256
1256
|
}
|
|
1257
1257
|
function FishCompletionGenerator() {
|
|
1258
1258
|
}
|
|
1259
|
-
protoOf(FishCompletionGenerator).
|
|
1259
|
+
protoOf(FishCompletionGenerator).w2m = function (command) {
|
|
1260
1260
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1261
1261
|
return '';
|
|
1262
1262
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1267,30 +1267,30 @@
|
|
|
1267
1267
|
}
|
|
1268
1268
|
function registeredOptionNames($this) {
|
|
1269
1269
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1270
|
-
var this_0 = $this.
|
|
1270
|
+
var this_0 = $this.k2l_1;
|
|
1271
1271
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1272
1272
|
var destination = LinkedHashSet_init_$Create$();
|
|
1273
1273
|
var tmp0_iterator = this_0.r();
|
|
1274
1274
|
while (tmp0_iterator.s()) {
|
|
1275
1275
|
var element = tmp0_iterator.u();
|
|
1276
1276
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1277
|
-
var list = element.
|
|
1277
|
+
var list = element.r2l();
|
|
1278
1278
|
addAll(destination, list);
|
|
1279
1279
|
}
|
|
1280
1280
|
return destination;
|
|
1281
1281
|
}
|
|
1282
1282
|
function createContext($this, argv, parent, ancestors) {
|
|
1283
|
-
$this.
|
|
1284
|
-
if ($this.
|
|
1283
|
+
$this.o2l_1 = Companion_instance_0.c2n($this, parent, argv, $this.n2l_1);
|
|
1284
|
+
if ($this.d2l_1) {
|
|
1285
1285
|
// Inline function 'kotlin.require' call
|
|
1286
1286
|
var tmp$ret$1;
|
|
1287
1287
|
$l$block: {
|
|
1288
1288
|
// Inline function 'kotlin.sequences.none' call
|
|
1289
|
-
var tmp0_iterator = $this.
|
|
1289
|
+
var tmp0_iterator = $this.q2l().d2n().r();
|
|
1290
1290
|
while (tmp0_iterator.s()) {
|
|
1291
1291
|
var element = tmp0_iterator.u();
|
|
1292
1292
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1293
|
-
if (element.
|
|
1293
|
+
if (element.u2l_1.d2l_1) {
|
|
1294
1294
|
tmp$ret$1 = false;
|
|
1295
1295
|
break $l$block;
|
|
1296
1296
|
}
|
|
@@ -1305,48 +1305,48 @@
|
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
1307
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1308
|
-
if (!$this.
|
|
1309
|
-
var names = minus($this.
|
|
1308
|
+
if (!$this.q2l().z2l_1.y()) {
|
|
1309
|
+
var names = minus($this.q2l().z2l_1, registeredOptionNames($this));
|
|
1310
1310
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1311
1311
|
if (!names.y()) {
|
|
1312
|
-
var tmp = $this.
|
|
1312
|
+
var tmp = $this.q2l().h2m_1.e2n();
|
|
1313
1313
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
var tmp0_iterator_0 = $this.
|
|
1316
|
+
var tmp0_iterator_0 = $this.j2l_1.r();
|
|
1317
1317
|
while (tmp0_iterator_0.s()) {
|
|
1318
1318
|
var command = tmp0_iterator_0.u();
|
|
1319
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1319
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.u2l_1));
|
|
1320
1320
|
// Inline function 'kotlin.check' call
|
|
1321
1321
|
// Inline function 'kotlin.contracts.contract' call
|
|
1322
1322
|
if (!!a.n(command)) {
|
|
1323
1323
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1324
|
-
var message_0 = 'Command ' + command.
|
|
1324
|
+
var message_0 = 'Command ' + command.g2l_1 + ' already registered';
|
|
1325
1325
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1326
1326
|
}
|
|
1327
|
-
createContext(command, argv, $this.
|
|
1327
|
+
createContext(command, argv, $this.q2l(), a);
|
|
1328
1328
|
}
|
|
1329
|
-
return ensureNotNull($this.
|
|
1329
|
+
return ensureNotNull($this.o2l_1);
|
|
1330
1330
|
}
|
|
1331
1331
|
function getCommandNameWithParents($this) {
|
|
1332
|
-
if ($this.
|
|
1332
|
+
if ($this.o2l_1 == null) {
|
|
1333
1333
|
createContext($this, emptyList(), null, emptyList());
|
|
1334
1334
|
}
|
|
1335
|
-
return joinToString($this.
|
|
1335
|
+
return joinToString($this.q2l().y2m(), ' ');
|
|
1336
1336
|
}
|
|
1337
1337
|
function generateCompletion($this) {
|
|
1338
|
-
if ($this.
|
|
1338
|
+
if ($this.c2l_1 == null)
|
|
1339
1339
|
return Unit_instance;
|
|
1340
1340
|
var tmp;
|
|
1341
|
-
if (isBlank($this.
|
|
1341
|
+
if (isBlank($this.c2l_1)) {
|
|
1342
1342
|
// Inline function 'kotlin.text.uppercase' call
|
|
1343
1343
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1344
|
-
tmp = '_' + replace_0($this.
|
|
1344
|
+
tmp = '_' + replace_0($this.g2l_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1345
1345
|
} else {
|
|
1346
|
-
tmp = $this.
|
|
1346
|
+
tmp = $this.c2l_1;
|
|
1347
1347
|
}
|
|
1348
1348
|
var envvar = tmp;
|
|
1349
|
-
var tmp0_elvis_lhs = $this.
|
|
1349
|
+
var tmp0_elvis_lhs = $this.q2l().i2m_1(envvar);
|
|
1350
1350
|
var tmp_0;
|
|
1351
1351
|
if (tmp0_elvis_lhs == null) {
|
|
1352
1352
|
return Unit_instance;
|
|
@@ -1354,13 +1354,13 @@
|
|
|
1354
1354
|
tmp_0 = tmp0_elvis_lhs;
|
|
1355
1355
|
}
|
|
1356
1356
|
var envval = tmp_0;
|
|
1357
|
-
CompletionGenerator_instance.
|
|
1357
|
+
CompletionGenerator_instance.v2m($this, envval);
|
|
1358
1358
|
}
|
|
1359
1359
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1360
1360
|
return Unit_instance;
|
|
1361
1361
|
}
|
|
1362
1362
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1363
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1363
|
+
throw new PrintHelpMessage($this$eagerOption.g2n_1);
|
|
1364
1364
|
}
|
|
1365
1365
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1366
1366
|
help = help === VOID ? '' : help;
|
|
@@ -1373,50 +1373,50 @@
|
|
|
1373
1373
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1374
1374
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1375
1375
|
hidden = hidden === VOID ? false : hidden;
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1382
|
-
this.
|
|
1376
|
+
this.z2k_1 = invokeWithoutSubcommand;
|
|
1377
|
+
this.a2l_1 = printHelpOnEmptyArgs;
|
|
1378
|
+
this.b2l_1 = helpTags;
|
|
1379
|
+
this.c2l_1 = autoCompleteEnvvar;
|
|
1380
|
+
this.d2l_1 = allowMultipleSubcommands;
|
|
1381
|
+
this.e2l_1 = treatUnknownOptionsAsArgs;
|
|
1382
|
+
this.f2l_1 = hidden;
|
|
1383
1383
|
var tmp = this;
|
|
1384
|
-
tmp.
|
|
1385
|
-
this.
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1384
|
+
tmp.g2l_1 = name == null ? inferCommandName(this) : name;
|
|
1385
|
+
this.h2l_1 = help;
|
|
1386
|
+
this.i2l_1 = epilog;
|
|
1387
|
+
this.j2l_1 = emptyList();
|
|
1388
1388
|
var tmp_0 = this;
|
|
1389
1389
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1390
|
-
tmp_0.
|
|
1390
|
+
tmp_0.k2l_1 = ArrayList_init_$Create$();
|
|
1391
1391
|
var tmp_1 = this;
|
|
1392
1392
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1393
|
-
tmp_1.
|
|
1393
|
+
tmp_1.l2l_1 = ArrayList_init_$Create$();
|
|
1394
1394
|
var tmp_2 = this;
|
|
1395
1395
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1396
|
-
tmp_2.
|
|
1396
|
+
tmp_2.m2l_1 = ArrayList_init_$Create$();
|
|
1397
1397
|
var tmp_3 = this;
|
|
1398
|
-
tmp_3.
|
|
1399
|
-
this.
|
|
1398
|
+
tmp_3.n2l_1 = CliktCommand$_contextConfig$lambda;
|
|
1399
|
+
this.o2l_1 = null;
|
|
1400
1400
|
var tmp_4 = this;
|
|
1401
1401
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1402
|
-
tmp_4.
|
|
1402
|
+
tmp_4.p2l_1 = ArrayList_init_$Create$();
|
|
1403
1403
|
}
|
|
1404
|
+
protoOf(CliktCommand).h2n = function () {
|
|
1405
|
+
return this.h2l_1;
|
|
1406
|
+
};
|
|
1407
|
+
protoOf(CliktCommand).z2m = function (context) {
|
|
1408
|
+
return this.h2n();
|
|
1409
|
+
};
|
|
1404
1410
|
protoOf(CliktCommand).i2n = function () {
|
|
1405
1411
|
return this.i2l_1;
|
|
1406
1412
|
};
|
|
1407
|
-
protoOf(CliktCommand).
|
|
1413
|
+
protoOf(CliktCommand).j2n = function (context) {
|
|
1408
1414
|
return this.i2n();
|
|
1409
1415
|
};
|
|
1410
|
-
protoOf(CliktCommand).
|
|
1411
|
-
return this.j2l_1;
|
|
1412
|
-
};
|
|
1413
|
-
protoOf(CliktCommand).k2n = function (context) {
|
|
1414
|
-
return this.j2n();
|
|
1415
|
-
};
|
|
1416
|
-
protoOf(CliktCommand).l2n = function () {
|
|
1416
|
+
protoOf(CliktCommand).k2n = function () {
|
|
1417
1417
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1418
1418
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1419
|
-
var this_0 = this.
|
|
1419
|
+
var this_0 = this.k2l_1;
|
|
1420
1420
|
var destination = ArrayList_init_$Create$();
|
|
1421
1421
|
// Inline function 'kotlin.collections.forEach' call
|
|
1422
1422
|
var tmp0_iterator = this_0.r();
|
|
@@ -1424,7 +1424,7 @@
|
|
|
1424
1424
|
var element = tmp0_iterator.u();
|
|
1425
1425
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1426
1426
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1427
|
-
var tmp0_safe_receiver = element.
|
|
1427
|
+
var tmp0_safe_receiver = element.l2n(this.q2l());
|
|
1428
1428
|
if (tmp0_safe_receiver == null)
|
|
1429
1429
|
null;
|
|
1430
1430
|
else {
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
var tmp = destination;
|
|
1437
1437
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1438
1438
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1439
|
-
var this_1 = this.
|
|
1439
|
+
var this_1 = this.l2l_1;
|
|
1440
1440
|
var destination_0 = ArrayList_init_$Create$();
|
|
1441
1441
|
// Inline function 'kotlin.collections.forEach' call
|
|
1442
1442
|
var tmp0_iterator_0 = this_1.r();
|
|
@@ -1444,7 +1444,7 @@
|
|
|
1444
1444
|
var element_0 = tmp0_iterator_0.u();
|
|
1445
1445
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1446
1446
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1447
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1447
|
+
var tmp0_safe_receiver_0 = element_0.l2n(this.q2l());
|
|
1448
1448
|
if (tmp0_safe_receiver_0 == null)
|
|
1449
1449
|
null;
|
|
1450
1450
|
else {
|
|
@@ -1456,7 +1456,7 @@
|
|
|
1456
1456
|
var tmp_0 = destination_0;
|
|
1457
1457
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1458
1458
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1459
|
-
var this_2 = this.
|
|
1459
|
+
var this_2 = this.m2l_1;
|
|
1460
1460
|
var destination_1 = ArrayList_init_$Create$();
|
|
1461
1461
|
// Inline function 'kotlin.collections.forEach' call
|
|
1462
1462
|
var tmp0_iterator_1 = this_2.r();
|
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
var element_1 = tmp0_iterator_1.u();
|
|
1465
1465
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1466
1466
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1467
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1467
|
+
var tmp0_safe_receiver_1 = element_1.l2n(this.q2l());
|
|
1468
1468
|
if (tmp0_safe_receiver_1 == null)
|
|
1469
1469
|
null;
|
|
1470
1470
|
else {
|
|
@@ -1476,7 +1476,7 @@
|
|
|
1476
1476
|
var tmp_1 = destination_1;
|
|
1477
1477
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1478
1478
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1479
|
-
var this_3 = this.
|
|
1479
|
+
var this_3 = this.j2l_1;
|
|
1480
1480
|
var destination_2 = ArrayList_init_$Create$();
|
|
1481
1481
|
// Inline function 'kotlin.collections.forEach' call
|
|
1482
1482
|
var tmp0_iterator_2 = this_3.r();
|
|
@@ -1485,11 +1485,11 @@
|
|
|
1485
1485
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1486
1486
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1487
1487
|
// Inline function 'kotlin.takeUnless' call
|
|
1488
|
-
var this_4 = new Subcommand(element_2.
|
|
1488
|
+
var this_4 = new Subcommand(element_2.g2l_1, element_2.m2n(this.q2l()), element_2.b2l_1);
|
|
1489
1489
|
// Inline function 'kotlin.contracts.contract' call
|
|
1490
1490
|
var tmp_2;
|
|
1491
1491
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1492
|
-
if (!element_2.
|
|
1492
|
+
if (!element_2.f2l_1) {
|
|
1493
1493
|
tmp_2 = this_4;
|
|
1494
1494
|
} else {
|
|
1495
1495
|
tmp_2 = null;
|
|
@@ -1505,11 +1505,11 @@
|
|
|
1505
1505
|
}
|
|
1506
1506
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1507
1507
|
};
|
|
1508
|
-
protoOf(CliktCommand).
|
|
1508
|
+
protoOf(CliktCommand).q2l = function () {
|
|
1509
1509
|
$l$block: {
|
|
1510
1510
|
// Inline function 'kotlin.checkNotNull' call
|
|
1511
1511
|
// Inline function 'kotlin.contracts.contract' call
|
|
1512
|
-
if (this.
|
|
1512
|
+
if (this.o2l_1 == null) {
|
|
1513
1513
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1514
1514
|
var message = 'Context accessed before parse has been called.';
|
|
1515
1515
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1517,21 +1517,21 @@
|
|
|
1517
1517
|
break $l$block;
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
|
-
return ensureNotNull(this.
|
|
1520
|
+
return ensureNotNull(this.o2l_1);
|
|
1521
1521
|
};
|
|
1522
|
-
protoOf(CliktCommand).
|
|
1523
|
-
return this.
|
|
1522
|
+
protoOf(CliktCommand).n2n = function () {
|
|
1523
|
+
return this.p2l_1;
|
|
1524
1524
|
};
|
|
1525
|
-
protoOf(CliktCommand).
|
|
1526
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').k8(this.
|
|
1525
|
+
protoOf(CliktCommand).m2n = function (context) {
|
|
1526
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').k8(this.z2m(context));
|
|
1527
1527
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d9();
|
|
1528
1528
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c1(1);
|
|
1529
1529
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c9_1;
|
|
1530
1530
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1531
1531
|
};
|
|
1532
|
-
protoOf(CliktCommand).
|
|
1532
|
+
protoOf(CliktCommand).o2n = function (option) {
|
|
1533
1533
|
var names = registeredOptionNames(this);
|
|
1534
|
-
var tmp0_iterator = option.
|
|
1534
|
+
var tmp0_iterator = option.r2l().r();
|
|
1535
1535
|
while (tmp0_iterator.s()) {
|
|
1536
1536
|
var name = tmp0_iterator.u();
|
|
1537
1537
|
// Inline function 'kotlin.require' call
|
|
@@ -1542,12 +1542,12 @@
|
|
|
1542
1542
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
if (option.
|
|
1545
|
+
if (option.p2n()) {
|
|
1546
1546
|
// Inline function 'kotlin.require' call
|
|
1547
1547
|
var tmp$ret$1;
|
|
1548
1548
|
$l$block_0: {
|
|
1549
1549
|
// Inline function 'kotlin.collections.none' call
|
|
1550
|
-
var this_0 = this.
|
|
1550
|
+
var this_0 = this.k2l_1;
|
|
1551
1551
|
var tmp;
|
|
1552
1552
|
if (isInterface(this_0, Collection)) {
|
|
1553
1553
|
tmp = this_0.y();
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
while (tmp0_iterator_0.s()) {
|
|
1563
1563
|
var element = tmp0_iterator_0.u();
|
|
1564
1564
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1565
|
-
if (element.
|
|
1565
|
+
if (element.p2n()) {
|
|
1566
1566
|
tmp$ret$1 = false;
|
|
1567
1567
|
break $l$block_0;
|
|
1568
1568
|
}
|
|
@@ -1577,21 +1577,21 @@
|
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1580
|
-
this.
|
|
1580
|
+
this.k2l_1.o(option);
|
|
1581
1581
|
};
|
|
1582
|
-
protoOf(CliktCommand).
|
|
1583
|
-
return this.
|
|
1582
|
+
protoOf(CliktCommand).q2n = function (option) {
|
|
1583
|
+
return this.o2n(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1584
1584
|
};
|
|
1585
|
-
protoOf(CliktCommand).
|
|
1585
|
+
protoOf(CliktCommand).r2n = function (argument) {
|
|
1586
1586
|
// Inline function 'kotlin.require' call
|
|
1587
1587
|
var tmp;
|
|
1588
|
-
if (argument.
|
|
1588
|
+
if (argument.r2m() > 0) {
|
|
1589
1589
|
tmp = true;
|
|
1590
1590
|
} else {
|
|
1591
1591
|
var tmp$ret$0;
|
|
1592
1592
|
$l$block_0: {
|
|
1593
1593
|
// Inline function 'kotlin.collections.none' call
|
|
1594
|
-
var this_0 = this.
|
|
1594
|
+
var this_0 = this.l2l_1;
|
|
1595
1595
|
var tmp_0;
|
|
1596
1596
|
if (isInterface(this_0, Collection)) {
|
|
1597
1597
|
tmp_0 = this_0.y();
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
while (tmp0_iterator.s()) {
|
|
1607
1607
|
var element = tmp0_iterator.u();
|
|
1608
1608
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1609
|
-
if (element.
|
|
1609
|
+
if (element.r2m() < 0) {
|
|
1610
1610
|
tmp$ret$0 = false;
|
|
1611
1611
|
break $l$block_0;
|
|
1612
1612
|
}
|
|
@@ -1622,9 +1622,9 @@
|
|
|
1622
1622
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1623
1623
|
}
|
|
1624
1624
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1625
|
-
this.
|
|
1625
|
+
this.l2l_1.o(argument);
|
|
1626
1626
|
};
|
|
1627
|
-
protoOf(CliktCommand).
|
|
1627
|
+
protoOf(CliktCommand).s2n = function (error) {
|
|
1628
1628
|
var tmp;
|
|
1629
1629
|
if (!(error == null)) {
|
|
1630
1630
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1635,74 +1635,74 @@
|
|
|
1635
1635
|
return error.message;
|
|
1636
1636
|
}
|
|
1637
1637
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1638
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1639
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1638
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t2n();
|
|
1639
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.o2l_1 : tmp1_elvis_lhs;
|
|
1640
1640
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1641
|
-
var cmd = ctx.
|
|
1641
|
+
var cmd = ctx.u2l_1;
|
|
1642
1642
|
var programName = getCommandNameWithParents(cmd);
|
|
1643
|
-
var tmp_0 = ctx.
|
|
1644
|
-
return tmp_0.
|
|
1643
|
+
var tmp_0 = ctx.a2m_1(ctx);
|
|
1644
|
+
return tmp_0.u2n(error instanceof UsageError ? error : null, cmd.z2m(ctx), cmd.j2n(ctx), cmd.k2n(), programName);
|
|
1645
1645
|
};
|
|
1646
|
-
protoOf(CliktCommand).
|
|
1647
|
-
var msg = this.
|
|
1646
|
+
protoOf(CliktCommand).v2n = function (error) {
|
|
1647
|
+
var msg = this.s2n(error);
|
|
1648
1648
|
if (!(msg == null)) {
|
|
1649
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1650
|
-
this.
|
|
1649
|
+
var tmp1_elvis_lhs = error == null ? null : error.x2n_1;
|
|
1650
|
+
this.y2n(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
|
-
protoOf(CliktCommand).
|
|
1653
|
+
protoOf(CliktCommand).t2m = function () {
|
|
1654
1654
|
return emptyMap();
|
|
1655
1655
|
};
|
|
1656
|
-
protoOf(CliktCommand).
|
|
1656
|
+
protoOf(CliktCommand).z2n = function (message, trailingNewline, err) {
|
|
1657
1657
|
if (trailingNewline) {
|
|
1658
|
-
this.
|
|
1658
|
+
this.q2l().c2m_1.j2i(message, VOID, VOID, VOID, VOID, err);
|
|
1659
1659
|
} else {
|
|
1660
|
-
this.
|
|
1660
|
+
this.q2l().c2m_1.i2i(message, VOID, VOID, VOID, VOID, err);
|
|
1661
1661
|
}
|
|
1662
1662
|
};
|
|
1663
|
-
protoOf(CliktCommand).
|
|
1663
|
+
protoOf(CliktCommand).y2n = function (message, trailingNewline, err, $super) {
|
|
1664
1664
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1665
1665
|
err = err === VOID ? false : err;
|
|
1666
1666
|
var tmp;
|
|
1667
1667
|
if ($super === VOID) {
|
|
1668
|
-
this.
|
|
1668
|
+
this.z2n(message, trailingNewline, err);
|
|
1669
1669
|
tmp = Unit_instance;
|
|
1670
1670
|
} else {
|
|
1671
|
-
tmp = $super.
|
|
1671
|
+
tmp = $super.z2n.call(this, message, trailingNewline, err);
|
|
1672
1672
|
}
|
|
1673
1673
|
return tmp;
|
|
1674
1674
|
};
|
|
1675
|
-
protoOf(CliktCommand).
|
|
1675
|
+
protoOf(CliktCommand).a2o = function (argv, parentContext) {
|
|
1676
1676
|
createContext(this, argv, parentContext, emptyList());
|
|
1677
1677
|
generateCompletion(this);
|
|
1678
|
-
Parser_instance.
|
|
1678
|
+
Parser_instance.b2o(argv, this.q2l());
|
|
1679
1679
|
};
|
|
1680
|
-
protoOf(CliktCommand).
|
|
1680
|
+
protoOf(CliktCommand).c2o = function (argv, parentContext, $super) {
|
|
1681
1681
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1682
1682
|
var tmp;
|
|
1683
1683
|
if ($super === VOID) {
|
|
1684
|
-
this.
|
|
1684
|
+
this.a2o(argv, parentContext);
|
|
1685
1685
|
tmp = Unit_instance;
|
|
1686
1686
|
} else {
|
|
1687
|
-
tmp = $super.
|
|
1687
|
+
tmp = $super.a2o.call(this, argv, parentContext);
|
|
1688
1688
|
}
|
|
1689
1689
|
return tmp;
|
|
1690
1690
|
};
|
|
1691
|
-
protoOf(CliktCommand).
|
|
1691
|
+
protoOf(CliktCommand).d2o = function (argv) {
|
|
1692
1692
|
try {
|
|
1693
|
-
this.
|
|
1693
|
+
this.c2o(argv);
|
|
1694
1694
|
} catch ($p) {
|
|
1695
1695
|
if ($p instanceof CliktError) {
|
|
1696
1696
|
var e = $p;
|
|
1697
|
-
this.
|
|
1698
|
-
exitProcessMpp(e.
|
|
1697
|
+
this.v2n(e);
|
|
1698
|
+
exitProcessMpp(e.w2n_1);
|
|
1699
1699
|
} else {
|
|
1700
1700
|
throw $p;
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
|
-
protoOf(CliktCommand).
|
|
1705
|
-
return this.
|
|
1704
|
+
protoOf(CliktCommand).e2o = function (argv) {
|
|
1705
|
+
return this.d2o(asList(argv));
|
|
1706
1706
|
};
|
|
1707
1707
|
protoOf(CliktCommand).toString = function () {
|
|
1708
1708
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1711,18 +1711,18 @@
|
|
|
1711
1711
|
var this_0 = StringBuilder_init_$Create$();
|
|
1712
1712
|
// Inline function 'kotlin.contracts.contract' call
|
|
1713
1713
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1714
|
-
this_0.f5('<' + classSimpleName(this) + ' name=' + this.
|
|
1714
|
+
this_0.f5('<' + classSimpleName(this) + ' name=' + this.g2l_1);
|
|
1715
1715
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1716
|
-
if (!this.
|
|
1717
|
-
joinTo(this.
|
|
1716
|
+
if (!this.k2l_1.y()) {
|
|
1717
|
+
joinTo(this.k2l_1, this_0, VOID, ' options=[', ']');
|
|
1718
1718
|
}
|
|
1719
1719
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1720
|
-
if (!this.
|
|
1721
|
-
joinTo(this.
|
|
1720
|
+
if (!this.l2l_1.y()) {
|
|
1721
|
+
joinTo(this.l2l_1, this_0, VOID, ' arguments=[', ']');
|
|
1722
1722
|
}
|
|
1723
1723
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1724
|
-
if (!this.
|
|
1725
|
-
joinTo(this.
|
|
1724
|
+
if (!this.j2l_1.y()) {
|
|
1725
|
+
joinTo(this.j2l_1, this_0, VOID, ' subcommands=[', ']');
|
|
1726
1726
|
}
|
|
1727
1727
|
this_0.f5('>');
|
|
1728
1728
|
return this_0.toString();
|
|
@@ -1753,7 +1753,7 @@
|
|
|
1753
1753
|
return lowerUpperRegex.o8(nameWithoutSuffixes, transform).toLowerCase();
|
|
1754
1754
|
}
|
|
1755
1755
|
function get_terminal(_this__u8e3s4) {
|
|
1756
|
-
return _this__u8e3s4.
|
|
1756
|
+
return _this__u8e3s4.q2l().c2m_1;
|
|
1757
1757
|
}
|
|
1758
1758
|
function classSimpleName(_this__u8e3s4) {
|
|
1759
1759
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1765,7 +1765,7 @@
|
|
|
1765
1765
|
// Inline function 'kotlin.apply' call
|
|
1766
1766
|
// Inline function 'kotlin.contracts.contract' call
|
|
1767
1767
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1768
|
-
_this__u8e3s4.
|
|
1768
|
+
_this__u8e3s4.j2l_1 = plus_2(_this__u8e3s4.j2l_1, commands);
|
|
1769
1769
|
return _this__u8e3s4;
|
|
1770
1770
|
}
|
|
1771
1771
|
function inferCommandName$lambda(it) {
|
|
@@ -1791,36 +1791,36 @@
|
|
|
1791
1791
|
}
|
|
1792
1792
|
function Builder(command, parent) {
|
|
1793
1793
|
parent = parent === VOID ? null : parent;
|
|
1794
|
-
this.
|
|
1794
|
+
this.g2o_1 = parent;
|
|
1795
1795
|
var tmp = this;
|
|
1796
|
-
var tmp0_safe_receiver = this.
|
|
1797
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1798
|
-
tmp.
|
|
1799
|
-
this.
|
|
1796
|
+
var tmp0_safe_receiver = this.g2o_1;
|
|
1797
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v2l_1;
|
|
1798
|
+
tmp.h2o_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1799
|
+
this.i2o_1 = true;
|
|
1800
1800
|
var tmp_0 = this;
|
|
1801
|
-
var tmp0_safe_receiver_0 = this.
|
|
1802
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1803
|
-
tmp_0.
|
|
1801
|
+
var tmp0_safe_receiver_0 = this.g2o_1;
|
|
1802
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.y2l_1;
|
|
1803
|
+
tmp_0.j2o_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1804
1804
|
var tmp_1 = this;
|
|
1805
|
-
var tmp0_safe_receiver_1 = this.
|
|
1806
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1807
|
-
tmp_1.
|
|
1805
|
+
var tmp0_safe_receiver_1 = this.g2o_1;
|
|
1806
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.z2l_1;
|
|
1807
|
+
tmp_1.k2o_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1808
1808
|
var tmp_2 = this;
|
|
1809
|
-
var tmp0_safe_receiver_2 = this.
|
|
1810
|
-
tmp_2.
|
|
1809
|
+
var tmp0_safe_receiver_2 = this.g2o_1;
|
|
1810
|
+
tmp_2.l2o_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.a2m_1;
|
|
1811
1811
|
var tmp_3 = this;
|
|
1812
|
-
var tmp0_safe_receiver_3 = this.
|
|
1813
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1812
|
+
var tmp0_safe_receiver_3 = this.g2o_1;
|
|
1813
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.b2m_1;
|
|
1814
1814
|
var tmp_4;
|
|
1815
1815
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1816
1816
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1817
1817
|
} else {
|
|
1818
1818
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1819
1819
|
}
|
|
1820
|
-
tmp_3.
|
|
1820
|
+
tmp_3.m2o_1 = tmp_4;
|
|
1821
1821
|
var tmp_5 = this;
|
|
1822
|
-
var tmp0_safe_receiver_4 = this.
|
|
1823
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1822
|
+
var tmp0_safe_receiver_4 = this.g2o_1;
|
|
1823
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.x2l_1;
|
|
1824
1824
|
var tmp_6;
|
|
1825
1825
|
if (tmp1_safe_receiver == null) {
|
|
1826
1826
|
tmp_6 = null;
|
|
@@ -1831,48 +1831,48 @@
|
|
|
1831
1831
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1832
1832
|
// Inline function 'kotlin.text.uppercase' call
|
|
1833
1833
|
// Inline function 'kotlin.text.replace' call
|
|
1834
|
-
var this_0 = command.
|
|
1834
|
+
var this_0 = command.g2l_1;
|
|
1835
1835
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1836
1836
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').n8(this_0, '_').toUpperCase();
|
|
1837
1837
|
}
|
|
1838
|
-
tmp_5.
|
|
1838
|
+
tmp_5.n2o_1 = tmp_6;
|
|
1839
1839
|
var tmp_8 = this;
|
|
1840
|
-
var tmp0_safe_receiver_5 = this.
|
|
1841
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1842
|
-
tmp_8.
|
|
1843
|
-
this.
|
|
1840
|
+
var tmp0_safe_receiver_5 = this.g2o_1;
|
|
1841
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.c2m_1;
|
|
1842
|
+
tmp_8.o2o_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1843
|
+
this.p2o_1 = get_defaultArgFileReader();
|
|
1844
1844
|
var tmp_9 = this;
|
|
1845
|
-
var tmp0_safe_receiver_6 = this.
|
|
1846
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1847
|
-
tmp_9.
|
|
1845
|
+
var tmp0_safe_receiver_6 = this.g2o_1;
|
|
1846
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.e2m_1;
|
|
1847
|
+
tmp_9.q2o_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1848
1848
|
var tmp_10 = this;
|
|
1849
|
-
var tmp0_safe_receiver_7 = this.
|
|
1850
|
-
tmp_10.
|
|
1851
|
-
this.
|
|
1852
|
-
this.
|
|
1849
|
+
var tmp0_safe_receiver_7 = this.g2o_1;
|
|
1850
|
+
tmp_10.r2o_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.f2m_1;
|
|
1851
|
+
this.s2o_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1852
|
+
this.t2o_1 = get_defaultLocalization();
|
|
1853
1853
|
var tmp_11 = this;
|
|
1854
|
-
var tmp0_safe_receiver_8 = this.
|
|
1855
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1854
|
+
var tmp0_safe_receiver_8 = this.g2o_1;
|
|
1855
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.i2m_1;
|
|
1856
1856
|
var tmp_12;
|
|
1857
1857
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1858
1858
|
tmp_12 = readEnvvar$ref();
|
|
1859
1859
|
} else {
|
|
1860
1860
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1861
1861
|
}
|
|
1862
|
-
tmp_11.
|
|
1862
|
+
tmp_11.u2o_1 = tmp_12;
|
|
1863
1863
|
var tmp_13 = this;
|
|
1864
|
-
var tmp0_safe_receiver_9 = this.
|
|
1865
|
-
tmp_13.
|
|
1864
|
+
var tmp0_safe_receiver_9 = this.g2o_1;
|
|
1865
|
+
tmp_13.v2o_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.j2m_1;
|
|
1866
1866
|
}
|
|
1867
1867
|
function Companion() {
|
|
1868
1868
|
}
|
|
1869
|
-
protoOf(Companion).
|
|
1869
|
+
protoOf(Companion).c2n = function (command, parent, argv, block) {
|
|
1870
1870
|
// Inline function 'kotlin.with' call
|
|
1871
1871
|
// Inline function 'kotlin.contracts.contract' call
|
|
1872
1872
|
var $this$with = new Builder(command, parent);
|
|
1873
1873
|
block($this$with);
|
|
1874
1874
|
var tmp;
|
|
1875
|
-
if ($this$with.
|
|
1875
|
+
if ($this$with.h2o_1 ? !command.d2l_1 : false) {
|
|
1876
1876
|
var tmp_0;
|
|
1877
1877
|
if (parent == null) {
|
|
1878
1878
|
tmp_0 = null;
|
|
@@ -1883,11 +1883,11 @@
|
|
|
1883
1883
|
var tmp$ret$1;
|
|
1884
1884
|
$l$block: {
|
|
1885
1885
|
// Inline function 'kotlin.sequences.any' call
|
|
1886
|
-
var tmp0_iterator = parent.
|
|
1886
|
+
var tmp0_iterator = parent.w2o().r();
|
|
1887
1887
|
while (tmp0_iterator.s()) {
|
|
1888
1888
|
var element = tmp0_iterator.u();
|
|
1889
1889
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1890
|
-
if (element.
|
|
1890
|
+
if (element.u2l_1.d2l_1) {
|
|
1891
1891
|
tmp$ret$1 = true;
|
|
1892
1892
|
break $l$block;
|
|
1893
1893
|
}
|
|
@@ -1901,7 +1901,7 @@
|
|
|
1901
1901
|
tmp = false;
|
|
1902
1902
|
}
|
|
1903
1903
|
var interspersed = tmp;
|
|
1904
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1904
|
+
var tmp1_elvis_lhs = $this$with.l2o_1;
|
|
1905
1905
|
var tmp_1;
|
|
1906
1906
|
if (tmp1_elvis_lhs == null) {
|
|
1907
1907
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1909,56 +1909,56 @@
|
|
|
1909
1909
|
tmp_1 = tmp1_elvis_lhs;
|
|
1910
1910
|
}
|
|
1911
1911
|
var formatter = tmp_1;
|
|
1912
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1912
|
+
return new Context(parent, command, interspersed, $this$with.i2o_1, $this$with.n2o_1, $this$with.j2o_1, toSet($this$with.k2o_1), formatter, $this$with.m2o_1, $this$with.o2o_1, $this$with.p2o_1, $this$with.q2o_1, $this$with.r2o_1, $this$with.s2o_1, $this$with.t2o_1, $this$with.u2o_1, $this$with.v2o_1, argv);
|
|
1913
1913
|
};
|
|
1914
1914
|
var Companion_instance_0;
|
|
1915
1915
|
function Companion_getInstance() {
|
|
1916
1916
|
return Companion_instance_0;
|
|
1917
1917
|
}
|
|
1918
1918
|
function Context$parentNames$lambda(it) {
|
|
1919
|
-
return it.
|
|
1919
|
+
return it.u2l_1.g2l_1;
|
|
1920
1920
|
}
|
|
1921
1921
|
function Context$ancestors$lambda(it) {
|
|
1922
|
-
return it.
|
|
1922
|
+
return it.t2l_1;
|
|
1923
1923
|
}
|
|
1924
1924
|
function Context$selfAndAncestors$lambda(it) {
|
|
1925
|
-
return it.
|
|
1925
|
+
return it.t2l_1;
|
|
1926
1926
|
}
|
|
1927
1927
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1928
|
-
this.
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1935
|
-
this.
|
|
1936
|
-
this.
|
|
1937
|
-
this.
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1940
|
-
this.
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1943
|
-
this.
|
|
1944
|
-
this.
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1947
|
-
this.
|
|
1928
|
+
this.t2l_1 = parent;
|
|
1929
|
+
this.u2l_1 = command;
|
|
1930
|
+
this.v2l_1 = allowInterspersedArgs;
|
|
1931
|
+
this.w2l_1 = allowGroupedShortOptions;
|
|
1932
|
+
this.x2l_1 = autoEnvvarPrefix;
|
|
1933
|
+
this.y2l_1 = printExtraMessages;
|
|
1934
|
+
this.z2l_1 = helpOptionNames;
|
|
1935
|
+
this.a2m_1 = helpFormatter;
|
|
1936
|
+
this.b2m_1 = tokenTransformer;
|
|
1937
|
+
this.c2m_1 = terminal;
|
|
1938
|
+
this.d2m_1 = argumentFileReader;
|
|
1939
|
+
this.e2m_1 = readEnvvarBeforeValueSource;
|
|
1940
|
+
this.f2m_1 = valueSource;
|
|
1941
|
+
this.g2m_1 = correctionSuggestor;
|
|
1942
|
+
this.h2m_1 = localization;
|
|
1943
|
+
this.i2m_1 = readEnvvar;
|
|
1944
|
+
this.j2m_1 = obj;
|
|
1945
|
+
this.k2m_1 = originalArgv;
|
|
1946
|
+
this.l2m_1 = null;
|
|
1947
|
+
this.m2m_1 = false;
|
|
1948
1948
|
var tmp = this;
|
|
1949
1949
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1950
|
-
tmp.
|
|
1950
|
+
tmp.n2m_1 = ArrayList_init_$Create$();
|
|
1951
1951
|
}
|
|
1952
|
-
protoOf(Context).
|
|
1953
|
-
var tmp = this.
|
|
1952
|
+
protoOf(Context).x2m = function () {
|
|
1953
|
+
var tmp = this.d2n();
|
|
1954
1954
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
1955
1955
|
};
|
|
1956
|
-
protoOf(Context).
|
|
1957
|
-
return plus_1(this.
|
|
1956
|
+
protoOf(Context).y2m = function () {
|
|
1957
|
+
return plus_1(this.x2m(), this.u2l_1.g2l_1);
|
|
1958
1958
|
};
|
|
1959
|
-
protoOf(Context).
|
|
1959
|
+
protoOf(Context).x2o = function () {
|
|
1960
1960
|
var err = null;
|
|
1961
|
-
var tmp0_iterator = asReversed_0(this.
|
|
1961
|
+
var tmp0_iterator = asReversed_0(this.n2m_1).r();
|
|
1962
1962
|
while (tmp0_iterator.s()) {
|
|
1963
1963
|
var c = tmp0_iterator.u();
|
|
1964
1964
|
try {
|
|
@@ -1976,18 +1976,18 @@
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
|
-
this.
|
|
1979
|
+
this.n2m_1.w1();
|
|
1980
1980
|
if (!(err == null))
|
|
1981
1981
|
throw err;
|
|
1982
1982
|
};
|
|
1983
|
-
protoOf(Context).
|
|
1984
|
-
return generateSequence(this.
|
|
1983
|
+
protoOf(Context).d2n = function () {
|
|
1984
|
+
return generateSequence(this.t2l_1, Context$ancestors$lambda);
|
|
1985
1985
|
};
|
|
1986
|
-
protoOf(Context).
|
|
1986
|
+
protoOf(Context).w2o = function () {
|
|
1987
1987
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
1988
1988
|
};
|
|
1989
|
-
protoOf(Context).
|
|
1990
|
-
return !(this.
|
|
1989
|
+
protoOf(Context).y2o = function () {
|
|
1990
|
+
return !(this.d2m_1 == null);
|
|
1991
1991
|
};
|
|
1992
1992
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
1993
1993
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2030,10 +2030,10 @@
|
|
|
2030
2030
|
return destination_1;
|
|
2031
2031
|
}
|
|
2032
2032
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2033
|
-
this.
|
|
2033
|
+
this.z2o_1 = function_0;
|
|
2034
2034
|
}
|
|
2035
2035
|
protoOf(sam$kotlin_Comparator$0).r9 = function (a, b) {
|
|
2036
|
-
return this.
|
|
2036
|
+
return this.z2o_1(a, b);
|
|
2037
2037
|
};
|
|
2038
2038
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2039
2039
|
return this.r9(a, b);
|
|
@@ -2137,10 +2137,10 @@
|
|
|
2137
2137
|
function FileNotFound(filename) {
|
|
2138
2138
|
UsageError.call(this, null);
|
|
2139
2139
|
captureStack(this, FileNotFound);
|
|
2140
|
-
this.
|
|
2140
|
+
this.l2p_1 = filename;
|
|
2141
2141
|
}
|
|
2142
|
-
protoOf(FileNotFound).
|
|
2143
|
-
return localization.
|
|
2142
|
+
protoOf(FileNotFound).m2p = function (localization, formatter) {
|
|
2143
|
+
return localization.n2p(this.l2p_1);
|
|
2144
2144
|
};
|
|
2145
2145
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2146
2146
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2162,18 +2162,18 @@
|
|
|
2162
2162
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2163
2163
|
CliktError.call(this, message, VOID, statusCode);
|
|
2164
2164
|
captureStack(this, UsageError);
|
|
2165
|
-
this.
|
|
2166
|
-
this.
|
|
2165
|
+
this.q2p_1 = paramName;
|
|
2166
|
+
this.r2p_1 = null;
|
|
2167
2167
|
}
|
|
2168
|
-
protoOf(UsageError).
|
|
2168
|
+
protoOf(UsageError).m2p = function (localization, formatter) {
|
|
2169
2169
|
var tmp0_elvis_lhs = this.message;
|
|
2170
2170
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2171
2171
|
};
|
|
2172
|
-
protoOf(UsageError).
|
|
2173
|
-
this.
|
|
2172
|
+
protoOf(UsageError).s2p = function (_set____db54di) {
|
|
2173
|
+
this.r2p_1 = _set____db54di;
|
|
2174
2174
|
};
|
|
2175
|
-
protoOf(UsageError).
|
|
2176
|
-
return this.
|
|
2175
|
+
protoOf(UsageError).t2n = function () {
|
|
2176
|
+
return this.r2p_1;
|
|
2177
2177
|
};
|
|
2178
2178
|
function CliktError(message, cause, statusCode, printError) {
|
|
2179
2179
|
message = message === VOID ? null : message;
|
|
@@ -2182,8 +2182,8 @@
|
|
|
2182
2182
|
printError = printError === VOID ? true : printError;
|
|
2183
2183
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2184
2184
|
captureStack(this, CliktError);
|
|
2185
|
-
this.
|
|
2186
|
-
this.
|
|
2185
|
+
this.w2n_1 = statusCode;
|
|
2186
|
+
this.x2n_1 = printError;
|
|
2187
2187
|
}
|
|
2188
2188
|
function ContextCliktError() {
|
|
2189
2189
|
}
|
|
@@ -2192,15 +2192,15 @@
|
|
|
2192
2192
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2193
2193
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2194
2194
|
captureStack(this, PrintHelpMessage);
|
|
2195
|
-
this.
|
|
2196
|
-
this.
|
|
2195
|
+
this.v2p_1 = context;
|
|
2196
|
+
this.w2p_1 = error;
|
|
2197
2197
|
}
|
|
2198
|
-
protoOf(PrintHelpMessage).
|
|
2199
|
-
return this.
|
|
2198
|
+
protoOf(PrintHelpMessage).t2n = function () {
|
|
2199
|
+
return this.v2p_1;
|
|
2200
2200
|
};
|
|
2201
2201
|
function Companion_0() {
|
|
2202
2202
|
}
|
|
2203
|
-
protoOf(Companion_0).
|
|
2203
|
+
protoOf(Companion_0).x2p = function (errors) {
|
|
2204
2204
|
var tmp;
|
|
2205
2205
|
switch (errors.l()) {
|
|
2206
2206
|
case 0:
|
|
@@ -2220,7 +2220,7 @@
|
|
|
2220
2220
|
var element = tmp0_iterator.u();
|
|
2221
2221
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2222
2222
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2223
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2223
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c2q_1;
|
|
2224
2224
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2225
2225
|
addAll(destination, list);
|
|
2226
2226
|
}
|
|
@@ -2236,16 +2236,16 @@
|
|
|
2236
2236
|
}
|
|
2237
2237
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2238
2238
|
return function (it) {
|
|
2239
|
-
return it.
|
|
2239
|
+
return it.m2p($localization, $formatter);
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
2242
|
function MultiUsageError(errors) {
|
|
2243
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2243
|
+
UsageError.call(this, null, VOID, first_0(errors).w2n_1);
|
|
2244
2244
|
captureStack(this, MultiUsageError);
|
|
2245
|
-
this.
|
|
2245
|
+
this.c2q_1 = errors;
|
|
2246
2246
|
}
|
|
2247
|
-
protoOf(MultiUsageError).
|
|
2248
|
-
return joinToString(this.
|
|
2247
|
+
protoOf(MultiUsageError).m2p = function (localization, formatter) {
|
|
2248
|
+
return joinToString(this.c2q_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2249
2249
|
};
|
|
2250
2250
|
var Kind_Argument_instance;
|
|
2251
2251
|
var Kind_Option_instance;
|
|
@@ -2263,7 +2263,7 @@
|
|
|
2263
2263
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2264
2264
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2265
2265
|
BadParameterValue.call($this);
|
|
2266
|
-
$this.
|
|
2266
|
+
$this.h2q_1 = Kind_Argument_getInstance();
|
|
2267
2267
|
return $this;
|
|
2268
2268
|
}
|
|
2269
2269
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2274,7 +2274,7 @@
|
|
|
2274
2274
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2275
2275
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2276
2276
|
BadParameterValue.call($this);
|
|
2277
|
-
$this.
|
|
2277
|
+
$this.h2q_1 = Kind_Option_getInstance();
|
|
2278
2278
|
return $this;
|
|
2279
2279
|
}
|
|
2280
2280
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2286
2286
|
UsageError.call($this, message, name);
|
|
2287
2287
|
BadParameterValue.call($this);
|
|
2288
|
-
$this.
|
|
2288
|
+
$this.h2q_1 = Kind_Option_getInstance();
|
|
2289
2289
|
return $this;
|
|
2290
2290
|
}
|
|
2291
2291
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2301,7 +2301,7 @@
|
|
|
2301
2301
|
Kind_initEntries();
|
|
2302
2302
|
return Kind_Option_instance;
|
|
2303
2303
|
}
|
|
2304
|
-
protoOf(BadParameterValue).
|
|
2304
|
+
protoOf(BadParameterValue).m2p = function (localization, formatter) {
|
|
2305
2305
|
// Inline function 'kotlin.takeUnless' call
|
|
2306
2306
|
var this_0 = this.message;
|
|
2307
2307
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2315,7 +2315,7 @@
|
|
|
2315
2315
|
tmp = null;
|
|
2316
2316
|
}
|
|
2317
2317
|
var m = tmp;
|
|
2318
|
-
var tmp0_safe_receiver = this.
|
|
2318
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2319
2319
|
var tmp_0;
|
|
2320
2320
|
if (tmp0_safe_receiver == null) {
|
|
2321
2321
|
tmp_0 = null;
|
|
@@ -2340,14 +2340,14 @@
|
|
|
2340
2340
|
// Inline function 'kotlin.let' call
|
|
2341
2341
|
// Inline function 'kotlin.contracts.contract' call
|
|
2342
2342
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2343
|
-
var tmp0_subject = this.
|
|
2343
|
+
var tmp0_subject = this.h2q_1;
|
|
2344
2344
|
var tmp_3;
|
|
2345
2345
|
switch (tmp0_subject == null ? -1 : tmp0_subject.a9_1) {
|
|
2346
2346
|
case 0:
|
|
2347
|
-
tmp_3 = formatter.
|
|
2347
|
+
tmp_3 = formatter.i2q(tmp1_safe_receiver);
|
|
2348
2348
|
break;
|
|
2349
2349
|
case 1:
|
|
2350
|
-
tmp_3 = formatter.
|
|
2350
|
+
tmp_3 = formatter.j2q(tmp1_safe_receiver);
|
|
2351
2351
|
break;
|
|
2352
2352
|
case -1:
|
|
2353
2353
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2361,13 +2361,13 @@
|
|
|
2361
2361
|
var p = tmp_2;
|
|
2362
2362
|
var tmp_4;
|
|
2363
2363
|
if (m == null ? p == null : false) {
|
|
2364
|
-
tmp_4 = localization.
|
|
2364
|
+
tmp_4 = localization.n2q();
|
|
2365
2365
|
} else if (m == null ? !(p == null) : false) {
|
|
2366
|
-
tmp_4 = localization.
|
|
2366
|
+
tmp_4 = localization.m2q(p);
|
|
2367
2367
|
} else if (!(m == null) ? p == null : false) {
|
|
2368
|
-
tmp_4 = localization.
|
|
2368
|
+
tmp_4 = localization.l2q(m);
|
|
2369
2369
|
} else if (!(m == null) ? !(p == null) : false) {
|
|
2370
|
-
tmp_4 = localization.
|
|
2370
|
+
tmp_4 = localization.k2q(p, m);
|
|
2371
2371
|
} else {
|
|
2372
2372
|
var message = 'impossible';
|
|
2373
2373
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2385,64 +2385,64 @@
|
|
|
2385
2385
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2386
2386
|
UsageError.call(this, null, paramName);
|
|
2387
2387
|
captureStack(this, NoSuchSubcommand);
|
|
2388
|
-
this.
|
|
2388
|
+
this.s2q_1 = possibilities;
|
|
2389
2389
|
}
|
|
2390
|
-
protoOf(NoSuchSubcommand).
|
|
2391
|
-
var tmp0_safe_receiver = this.
|
|
2390
|
+
protoOf(NoSuchSubcommand).m2p = function (localization, formatter) {
|
|
2391
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2392
2392
|
var tmp;
|
|
2393
2393
|
if (tmp0_safe_receiver == null) {
|
|
2394
2394
|
tmp = null;
|
|
2395
2395
|
} else {
|
|
2396
2396
|
// Inline function 'kotlin.let' call
|
|
2397
2397
|
// Inline function 'kotlin.contracts.contract' call
|
|
2398
|
-
tmp = formatter.
|
|
2398
|
+
tmp = formatter.t2q(tmp0_safe_receiver);
|
|
2399
2399
|
}
|
|
2400
2400
|
var tmp1_elvis_lhs = tmp;
|
|
2401
2401
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2402
2402
|
// Inline function 'kotlin.collections.map' call
|
|
2403
|
-
var this_0 = this.
|
|
2403
|
+
var this_0 = this.s2q_1;
|
|
2404
2404
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2405
2405
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2406
2406
|
var tmp0_iterator = this_0.r();
|
|
2407
2407
|
while (tmp0_iterator.s()) {
|
|
2408
2408
|
var item = tmp0_iterator.u();
|
|
2409
|
-
var tmp$ret$2 = formatter.
|
|
2409
|
+
var tmp$ret$2 = formatter.t2q(item);
|
|
2410
2410
|
destination.o(tmp$ret$2);
|
|
2411
2411
|
}
|
|
2412
|
-
return localization.
|
|
2412
|
+
return localization.u2q(tmp_0, destination);
|
|
2413
2413
|
};
|
|
2414
2414
|
function NoSuchOption(paramName, possibilities) {
|
|
2415
2415
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2416
2416
|
UsageError.call(this, null, paramName);
|
|
2417
2417
|
captureStack(this, NoSuchOption);
|
|
2418
|
-
this.
|
|
2418
|
+
this.z2q_1 = possibilities;
|
|
2419
2419
|
}
|
|
2420
|
-
protoOf(NoSuchOption).
|
|
2421
|
-
var tmp0_safe_receiver = this.
|
|
2420
|
+
protoOf(NoSuchOption).m2p = function (localization, formatter) {
|
|
2421
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2422
2422
|
var tmp;
|
|
2423
2423
|
if (tmp0_safe_receiver == null) {
|
|
2424
2424
|
tmp = null;
|
|
2425
2425
|
} else {
|
|
2426
2426
|
// Inline function 'kotlin.let' call
|
|
2427
2427
|
// Inline function 'kotlin.contracts.contract' call
|
|
2428
|
-
tmp = formatter.
|
|
2428
|
+
tmp = formatter.j2q(tmp0_safe_receiver);
|
|
2429
2429
|
}
|
|
2430
2430
|
var tmp1_elvis_lhs = tmp;
|
|
2431
2431
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2432
2432
|
// Inline function 'kotlin.collections.map' call
|
|
2433
|
-
var this_0 = this.
|
|
2433
|
+
var this_0 = this.z2q_1;
|
|
2434
2434
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2435
2435
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2436
2436
|
var tmp0_iterator = this_0.r();
|
|
2437
2437
|
while (tmp0_iterator.s()) {
|
|
2438
2438
|
var item = tmp0_iterator.u();
|
|
2439
|
-
var tmp$ret$2 = formatter.
|
|
2439
|
+
var tmp$ret$2 = formatter.j2q(item);
|
|
2440
2440
|
destination.o(tmp$ret$2);
|
|
2441
2441
|
}
|
|
2442
|
-
return localization.
|
|
2442
|
+
return localization.a2r(tmp_0, destination);
|
|
2443
2443
|
};
|
|
2444
2444
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2445
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2445
|
+
IncorrectOptionValueCount.call($this, option.r2m().fe_1, paramName);
|
|
2446
2446
|
return $this;
|
|
2447
2447
|
}
|
|
2448
2448
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2453,40 +2453,40 @@
|
|
|
2453
2453
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2454
2454
|
UsageError.call(this, null, paramName);
|
|
2455
2455
|
captureStack(this, IncorrectOptionValueCount);
|
|
2456
|
-
this.
|
|
2456
|
+
this.f2r_1 = minValues;
|
|
2457
2457
|
}
|
|
2458
|
-
protoOf(IncorrectOptionValueCount).
|
|
2459
|
-
var tmp0_safe_receiver = this.
|
|
2458
|
+
protoOf(IncorrectOptionValueCount).m2p = function (localization, formatter) {
|
|
2459
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2460
2460
|
var tmp;
|
|
2461
2461
|
if (tmp0_safe_receiver == null) {
|
|
2462
2462
|
tmp = null;
|
|
2463
2463
|
} else {
|
|
2464
2464
|
// Inline function 'kotlin.let' call
|
|
2465
2465
|
// Inline function 'kotlin.contracts.contract' call
|
|
2466
|
-
tmp = formatter.
|
|
2466
|
+
tmp = formatter.j2q(tmp0_safe_receiver);
|
|
2467
2467
|
}
|
|
2468
2468
|
var tmp1_elvis_lhs = tmp;
|
|
2469
|
-
return localization.
|
|
2469
|
+
return localization.g2r(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.f2r_1);
|
|
2470
2470
|
};
|
|
2471
2471
|
function MissingArgument(argument) {
|
|
2472
2472
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2473
2473
|
captureStack(this, MissingArgument);
|
|
2474
2474
|
}
|
|
2475
|
-
protoOf(MissingArgument).
|
|
2476
|
-
var tmp0_safe_receiver = this.
|
|
2475
|
+
protoOf(MissingArgument).m2p = function (localization, formatter) {
|
|
2476
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2477
2477
|
var tmp;
|
|
2478
2478
|
if (tmp0_safe_receiver == null) {
|
|
2479
2479
|
tmp = null;
|
|
2480
2480
|
} else {
|
|
2481
2481
|
// Inline function 'kotlin.let' call
|
|
2482
2482
|
// Inline function 'kotlin.contracts.contract' call
|
|
2483
|
-
tmp = formatter.
|
|
2483
|
+
tmp = formatter.i2q(tmp0_safe_receiver);
|
|
2484
2484
|
}
|
|
2485
2485
|
var tmp1_elvis_lhs = tmp;
|
|
2486
|
-
return localization.
|
|
2486
|
+
return localization.l2r(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2487
2487
|
};
|
|
2488
2488
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2489
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2489
|
+
IncorrectArgumentValueCount.call($this, argument.r2m(), argument);
|
|
2490
2490
|
return $this;
|
|
2491
2491
|
}
|
|
2492
2492
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2497,20 +2497,20 @@
|
|
|
2497
2497
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2498
2498
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2499
2499
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2500
|
-
this.
|
|
2500
|
+
this.q2r_1 = nvalues;
|
|
2501
2501
|
}
|
|
2502
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2503
|
-
var tmp0_safe_receiver = this.
|
|
2502
|
+
protoOf(IncorrectArgumentValueCount).m2p = function (localization, formatter) {
|
|
2503
|
+
var tmp0_safe_receiver = this.q2p_1;
|
|
2504
2504
|
var tmp;
|
|
2505
2505
|
if (tmp0_safe_receiver == null) {
|
|
2506
2506
|
tmp = null;
|
|
2507
2507
|
} else {
|
|
2508
2508
|
// Inline function 'kotlin.let' call
|
|
2509
2509
|
// Inline function 'kotlin.contracts.contract' call
|
|
2510
|
-
tmp = formatter.
|
|
2510
|
+
tmp = formatter.i2q(tmp0_safe_receiver);
|
|
2511
2511
|
}
|
|
2512
2512
|
var tmp1_elvis_lhs = tmp;
|
|
2513
|
-
return localization.
|
|
2513
|
+
return localization.r2r(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.q2r_1);
|
|
2514
2514
|
};
|
|
2515
2515
|
function PrintMessage(message, statusCode, printError) {
|
|
2516
2516
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2524,11 +2524,11 @@
|
|
|
2524
2524
|
lineno = lineno === VOID ? null : lineno;
|
|
2525
2525
|
UsageError.call(this, message);
|
|
2526
2526
|
captureStack(this, InvalidFileFormat);
|
|
2527
|
-
this.
|
|
2528
|
-
this.
|
|
2527
|
+
this.w2r_1 = filename;
|
|
2528
|
+
this.x2r_1 = lineno;
|
|
2529
2529
|
}
|
|
2530
|
-
protoOf(InvalidFileFormat).
|
|
2531
|
-
return this.
|
|
2530
|
+
protoOf(InvalidFileFormat).m2p = function (localization, formatter) {
|
|
2531
|
+
return this.x2r_1 == null ? localization.z2r(this.w2r_1, ensureNotNull(this.message)) : localization.y2r(this.w2r_1, this.x2r_1, ensureNotNull(this.message));
|
|
2532
2532
|
};
|
|
2533
2533
|
function ProgramResult() {
|
|
2534
2534
|
}
|
|
@@ -2645,13 +2645,13 @@
|
|
|
2645
2645
|
var it = tmp3_iterator.u();
|
|
2646
2646
|
try {
|
|
2647
2647
|
if (it instanceof Arg) {
|
|
2648
|
-
it.
|
|
2648
|
+
it.g2s_1.i2s(context, it.h2s_1);
|
|
2649
2649
|
} else {
|
|
2650
2650
|
if (it instanceof Opt) {
|
|
2651
|
-
it.
|
|
2651
|
+
it.d2s_1.f2s(context, it.e2s_1);
|
|
2652
2652
|
} else {
|
|
2653
2653
|
if (it instanceof Group) {
|
|
2654
|
-
it.
|
|
2654
|
+
it.a2s_1.c2s(context, it.b2s_1);
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
2657
2657
|
}
|
|
@@ -2665,11 +2665,11 @@
|
|
|
2665
2665
|
var e_0 = $p;
|
|
2666
2666
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2667
2667
|
errors.o(e_0);
|
|
2668
|
-
context.
|
|
2668
|
+
context.m2m_1 = true;
|
|
2669
2669
|
} else {
|
|
2670
2670
|
if ($p instanceof Abort) {
|
|
2671
2671
|
var e_1 = $p;
|
|
2672
|
-
if (!context.
|
|
2672
|
+
if (!context.m2m_1)
|
|
2673
2673
|
throw e_1;
|
|
2674
2674
|
} else {
|
|
2675
2675
|
throw $p;
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
currentRound = toList_0(nextRound);
|
|
2684
2684
|
nextRound.w1();
|
|
2685
2685
|
}
|
|
2686
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2686
|
+
var tmp5_safe_receiver = Companion_instance_1.x2p(errors);
|
|
2687
2687
|
if (tmp5_safe_receiver == null)
|
|
2688
2688
|
null;
|
|
2689
2689
|
else {
|
|
@@ -2696,18 +2696,18 @@
|
|
|
2696
2696
|
}
|
|
2697
2697
|
function Group(group, invs) {
|
|
2698
2698
|
Param.call(this);
|
|
2699
|
-
this.
|
|
2700
|
-
this.
|
|
2699
|
+
this.a2s_1 = group;
|
|
2700
|
+
this.b2s_1 = invs;
|
|
2701
2701
|
}
|
|
2702
2702
|
function Opt(option, invs) {
|
|
2703
2703
|
Param.call(this);
|
|
2704
|
-
this.
|
|
2705
|
-
this.
|
|
2704
|
+
this.d2s_1 = option;
|
|
2705
|
+
this.e2s_1 = invs;
|
|
2706
2706
|
}
|
|
2707
2707
|
function Arg(argument, invs) {
|
|
2708
2708
|
Param.call(this);
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2709
|
+
this.g2s_1 = argument;
|
|
2710
|
+
this.h2s_1 = invs;
|
|
2711
2711
|
}
|
|
2712
2712
|
function get_ANSI_CODE_RE() {
|
|
2713
2713
|
_init_properties_MppH_kt__np0w85();
|
|
@@ -2723,29 +2723,29 @@
|
|
|
2723
2723
|
}
|
|
2724
2724
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2725
2725
|
ParameterHelp.call(this);
|
|
2726
|
-
this.
|
|
2727
|
-
this.
|
|
2728
|
-
this.
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2731
|
-
this.
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2734
|
-
this.
|
|
2726
|
+
this.j2s_1 = names;
|
|
2727
|
+
this.k2s_1 = secondaryNames;
|
|
2728
|
+
this.l2s_1 = metavar;
|
|
2729
|
+
this.m2s_1 = help;
|
|
2730
|
+
this.n2s_1 = nvalues;
|
|
2731
|
+
this.o2s_1 = tags;
|
|
2732
|
+
this.p2s_1 = acceptsNumberValueWithoutName;
|
|
2733
|
+
this.q2s_1 = acceptsUnattachedValue;
|
|
2734
|
+
this.r2s_1 = groupName;
|
|
2735
2735
|
}
|
|
2736
2736
|
protoOf(Option).toString = function () {
|
|
2737
|
-
return 'Option(names=' + this.
|
|
2737
|
+
return 'Option(names=' + this.j2s_1 + ', secondaryNames=' + this.k2s_1 + ', metavar=' + this.l2s_1 + ', help=' + this.m2s_1 + ', nvalues=' + this.n2s_1 + ', tags=' + this.o2s_1 + ', acceptsNumberValueWithoutName=' + this.p2s_1 + ', acceptsUnattachedValue=' + this.q2s_1 + ', groupName=' + this.r2s_1 + ')';
|
|
2738
2738
|
};
|
|
2739
2739
|
protoOf(Option).hashCode = function () {
|
|
2740
|
-
var result = hashCode(this.
|
|
2741
|
-
result = imul(result, 31) + hashCode(this.
|
|
2742
|
-
result = imul(result, 31) + (this.
|
|
2743
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2744
|
-
result = imul(result, 31) + this.
|
|
2745
|
-
result = imul(result, 31) + hashCode(this.
|
|
2740
|
+
var result = hashCode(this.j2s_1);
|
|
2741
|
+
result = imul(result, 31) + hashCode(this.k2s_1) | 0;
|
|
2742
|
+
result = imul(result, 31) + (this.l2s_1 == null ? 0 : getStringHashCode(this.l2s_1)) | 0;
|
|
2743
|
+
result = imul(result, 31) + getStringHashCode(this.m2s_1) | 0;
|
|
2744
|
+
result = imul(result, 31) + this.n2s_1.hashCode() | 0;
|
|
2745
|
+
result = imul(result, 31) + hashCode(this.o2s_1) | 0;
|
|
2746
|
+
result = imul(result, 31) + getBooleanHashCode(this.p2s_1) | 0;
|
|
2746
2747
|
result = imul(result, 31) + getBooleanHashCode(this.q2s_1) | 0;
|
|
2747
|
-
result = imul(result, 31) +
|
|
2748
|
-
result = imul(result, 31) + (this.s2s_1 == null ? 0 : getStringHashCode(this.s2s_1)) | 0;
|
|
2748
|
+
result = imul(result, 31) + (this.r2s_1 == null ? 0 : getStringHashCode(this.r2s_1)) | 0;
|
|
2749
2749
|
return result;
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(Option).equals = function (other) {
|
|
@@ -2754,43 +2754,43 @@
|
|
|
2754
2754
|
if (!(other instanceof Option))
|
|
2755
2755
|
return false;
|
|
2756
2756
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2757
|
+
if (!equals(this.j2s_1, tmp0_other_with_cast.j2s_1))
|
|
2758
|
+
return false;
|
|
2757
2759
|
if (!equals(this.k2s_1, tmp0_other_with_cast.k2s_1))
|
|
2758
2760
|
return false;
|
|
2759
|
-
if (!
|
|
2761
|
+
if (!(this.l2s_1 == tmp0_other_with_cast.l2s_1))
|
|
2760
2762
|
return false;
|
|
2761
|
-
if (!(this.m2s_1
|
|
2763
|
+
if (!(this.m2s_1 === tmp0_other_with_cast.m2s_1))
|
|
2762
2764
|
return false;
|
|
2763
|
-
if (!
|
|
2765
|
+
if (!this.n2s_1.equals(tmp0_other_with_cast.n2s_1))
|
|
2764
2766
|
return false;
|
|
2765
|
-
if (!this.o2s_1
|
|
2767
|
+
if (!equals(this.o2s_1, tmp0_other_with_cast.o2s_1))
|
|
2766
2768
|
return false;
|
|
2767
|
-
if (!
|
|
2769
|
+
if (!(this.p2s_1 === tmp0_other_with_cast.p2s_1))
|
|
2768
2770
|
return false;
|
|
2769
2771
|
if (!(this.q2s_1 === tmp0_other_with_cast.q2s_1))
|
|
2770
2772
|
return false;
|
|
2771
|
-
if (!(this.r2s_1
|
|
2772
|
-
return false;
|
|
2773
|
-
if (!(this.s2s_1 == tmp0_other_with_cast.s2s_1))
|
|
2773
|
+
if (!(this.r2s_1 == tmp0_other_with_cast.r2s_1))
|
|
2774
2774
|
return false;
|
|
2775
2775
|
return true;
|
|
2776
2776
|
};
|
|
2777
2777
|
function Argument(name, help, required, repeatable, tags) {
|
|
2778
2778
|
ParameterHelp.call(this);
|
|
2779
|
-
this.
|
|
2780
|
-
this.
|
|
2781
|
-
this.
|
|
2782
|
-
this.
|
|
2783
|
-
this.
|
|
2779
|
+
this.s2s_1 = name;
|
|
2780
|
+
this.t2s_1 = help;
|
|
2781
|
+
this.u2s_1 = required;
|
|
2782
|
+
this.v2s_1 = repeatable;
|
|
2783
|
+
this.w2s_1 = tags;
|
|
2784
2784
|
}
|
|
2785
2785
|
protoOf(Argument).toString = function () {
|
|
2786
|
-
return 'Argument(name=' + this.
|
|
2786
|
+
return 'Argument(name=' + this.s2s_1 + ', help=' + this.t2s_1 + ', required=' + this.u2s_1 + ', repeatable=' + this.v2s_1 + ', tags=' + this.w2s_1 + ')';
|
|
2787
2787
|
};
|
|
2788
2788
|
protoOf(Argument).hashCode = function () {
|
|
2789
|
-
var result = getStringHashCode(this.
|
|
2790
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2789
|
+
var result = getStringHashCode(this.s2s_1);
|
|
2790
|
+
result = imul(result, 31) + getStringHashCode(this.t2s_1) | 0;
|
|
2791
|
+
result = imul(result, 31) + getBooleanHashCode(this.u2s_1) | 0;
|
|
2791
2792
|
result = imul(result, 31) + getBooleanHashCode(this.v2s_1) | 0;
|
|
2792
|
-
result = imul(result, 31) +
|
|
2793
|
-
result = imul(result, 31) + hashCode(this.x2s_1) | 0;
|
|
2793
|
+
result = imul(result, 31) + hashCode(this.w2s_1) | 0;
|
|
2794
2794
|
return result;
|
|
2795
2795
|
};
|
|
2796
2796
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2799,31 +2799,31 @@
|
|
|
2799
2799
|
if (!(other instanceof Argument))
|
|
2800
2800
|
return false;
|
|
2801
2801
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2802
|
+
if (!(this.s2s_1 === tmp0_other_with_cast.s2s_1))
|
|
2803
|
+
return false;
|
|
2802
2804
|
if (!(this.t2s_1 === tmp0_other_with_cast.t2s_1))
|
|
2803
2805
|
return false;
|
|
2804
2806
|
if (!(this.u2s_1 === tmp0_other_with_cast.u2s_1))
|
|
2805
2807
|
return false;
|
|
2806
2808
|
if (!(this.v2s_1 === tmp0_other_with_cast.v2s_1))
|
|
2807
2809
|
return false;
|
|
2808
|
-
if (!(this.w2s_1
|
|
2809
|
-
return false;
|
|
2810
|
-
if (!equals(this.x2s_1, tmp0_other_with_cast.x2s_1))
|
|
2810
|
+
if (!equals(this.w2s_1, tmp0_other_with_cast.w2s_1))
|
|
2811
2811
|
return false;
|
|
2812
2812
|
return true;
|
|
2813
2813
|
};
|
|
2814
2814
|
function Subcommand(name, help, tags) {
|
|
2815
2815
|
ParameterHelp.call(this);
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2816
|
+
this.x2s_1 = name;
|
|
2817
|
+
this.y2s_1 = help;
|
|
2818
|
+
this.z2s_1 = tags;
|
|
2819
2819
|
}
|
|
2820
2820
|
protoOf(Subcommand).toString = function () {
|
|
2821
|
-
return 'Subcommand(name=' + this.
|
|
2821
|
+
return 'Subcommand(name=' + this.x2s_1 + ', help=' + this.y2s_1 + ', tags=' + this.z2s_1 + ')';
|
|
2822
2822
|
};
|
|
2823
2823
|
protoOf(Subcommand).hashCode = function () {
|
|
2824
|
-
var result = getStringHashCode(this.
|
|
2825
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2826
|
-
result = imul(result, 31) + hashCode(this.
|
|
2824
|
+
var result = getStringHashCode(this.x2s_1);
|
|
2825
|
+
result = imul(result, 31) + getStringHashCode(this.y2s_1) | 0;
|
|
2826
|
+
result = imul(result, 31) + hashCode(this.z2s_1) | 0;
|
|
2827
2827
|
return result;
|
|
2828
2828
|
};
|
|
2829
2829
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2832,25 +2832,25 @@
|
|
|
2832
2832
|
if (!(other instanceof Subcommand))
|
|
2833
2833
|
return false;
|
|
2834
2834
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2835
|
-
if (!(this.
|
|
2835
|
+
if (!(this.x2s_1 === tmp0_other_with_cast.x2s_1))
|
|
2836
2836
|
return false;
|
|
2837
|
-
if (!(this.
|
|
2837
|
+
if (!(this.y2s_1 === tmp0_other_with_cast.y2s_1))
|
|
2838
2838
|
return false;
|
|
2839
|
-
if (!equals(this.
|
|
2839
|
+
if (!equals(this.z2s_1, tmp0_other_with_cast.z2s_1))
|
|
2840
2840
|
return false;
|
|
2841
2841
|
return true;
|
|
2842
2842
|
};
|
|
2843
2843
|
function Group_0(name, help) {
|
|
2844
2844
|
ParameterHelp.call(this);
|
|
2845
|
-
this.
|
|
2846
|
-
this.
|
|
2845
|
+
this.a2t_1 = name;
|
|
2846
|
+
this.b2t_1 = help;
|
|
2847
2847
|
}
|
|
2848
2848
|
protoOf(Group_0).toString = function () {
|
|
2849
|
-
return 'Group(name=' + this.
|
|
2849
|
+
return 'Group(name=' + this.a2t_1 + ', help=' + this.b2t_1 + ')';
|
|
2850
2850
|
};
|
|
2851
2851
|
protoOf(Group_0).hashCode = function () {
|
|
2852
|
-
var result = getStringHashCode(this.
|
|
2853
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2852
|
+
var result = getStringHashCode(this.a2t_1);
|
|
2853
|
+
result = imul(result, 31) + getStringHashCode(this.b2t_1) | 0;
|
|
2854
2854
|
return result;
|
|
2855
2855
|
};
|
|
2856
2856
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -2859,17 +2859,17 @@
|
|
|
2859
2859
|
if (!(other instanceof Group_0))
|
|
2860
2860
|
return false;
|
|
2861
2861
|
var tmp0_other_with_cast = other instanceof Group_0 ? other : THROW_CCE();
|
|
2862
|
-
if (!(this.
|
|
2862
|
+
if (!(this.a2t_1 === tmp0_other_with_cast.a2t_1))
|
|
2863
2863
|
return false;
|
|
2864
|
-
if (!(this.
|
|
2864
|
+
if (!(this.b2t_1 === tmp0_other_with_cast.b2t_1))
|
|
2865
2865
|
return false;
|
|
2866
2866
|
return true;
|
|
2867
2867
|
};
|
|
2868
2868
|
function ParameterHelp() {
|
|
2869
2869
|
}
|
|
2870
2870
|
function Tags() {
|
|
2871
|
-
this.
|
|
2872
|
-
this.
|
|
2871
|
+
this.c2t_1 = 'default';
|
|
2872
|
+
this.d2t_1 = 'required';
|
|
2873
2873
|
}
|
|
2874
2874
|
var Tags_instance;
|
|
2875
2875
|
function Tags_getInstance() {
|
|
@@ -2899,15 +2899,15 @@
|
|
|
2899
2899
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2900
2900
|
}
|
|
2901
2901
|
function RenderedSection(title, content) {
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2902
|
+
this.w2t_1 = title;
|
|
2903
|
+
this.x2t_1 = content;
|
|
2904
2904
|
}
|
|
2905
2905
|
protoOf(RenderedSection).toString = function () {
|
|
2906
|
-
return 'RenderedSection(title=' + this.
|
|
2906
|
+
return 'RenderedSection(title=' + this.w2t_1 + ', content=' + this.x2t_1 + ')';
|
|
2907
2907
|
};
|
|
2908
2908
|
protoOf(RenderedSection).hashCode = function () {
|
|
2909
|
-
var result = hashCode(this.
|
|
2910
|
-
result = imul(result, 31) + hashCode(this.
|
|
2909
|
+
var result = hashCode(this.w2t_1);
|
|
2910
|
+
result = imul(result, 31) + hashCode(this.x2t_1) | 0;
|
|
2911
2911
|
return result;
|
|
2912
2912
|
};
|
|
2913
2913
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -2916,25 +2916,25 @@
|
|
|
2916
2916
|
if (!(other instanceof RenderedSection))
|
|
2917
2917
|
return false;
|
|
2918
2918
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
2919
|
-
if (!equals(this.
|
|
2919
|
+
if (!equals(this.w2t_1, tmp0_other_with_cast.w2t_1))
|
|
2920
2920
|
return false;
|
|
2921
|
-
if (!equals(this.
|
|
2921
|
+
if (!equals(this.x2t_1, tmp0_other_with_cast.x2t_1))
|
|
2922
2922
|
return false;
|
|
2923
2923
|
return true;
|
|
2924
2924
|
};
|
|
2925
2925
|
function DefinitionRow(term, description, marker) {
|
|
2926
2926
|
marker = marker === VOID ? null : marker;
|
|
2927
|
-
this.
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2927
|
+
this.y2t_1 = term;
|
|
2928
|
+
this.z2t_1 = description;
|
|
2929
|
+
this.a2u_1 = marker;
|
|
2930
2930
|
}
|
|
2931
2931
|
protoOf(DefinitionRow).toString = function () {
|
|
2932
|
-
return 'DefinitionRow(term=' + this.
|
|
2932
|
+
return 'DefinitionRow(term=' + this.y2t_1 + ', description=' + this.z2t_1 + ', marker=' + this.a2u_1 + ')';
|
|
2933
2933
|
};
|
|
2934
2934
|
protoOf(DefinitionRow).hashCode = function () {
|
|
2935
|
-
var result = getStringHashCode(this.
|
|
2936
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2937
|
-
result = imul(result, 31) + (this.
|
|
2935
|
+
var result = getStringHashCode(this.y2t_1);
|
|
2936
|
+
result = imul(result, 31) + getStringHashCode(this.z2t_1) | 0;
|
|
2937
|
+
result = imul(result, 31) + (this.a2u_1 == null ? 0 : getStringHashCode(this.a2u_1)) | 0;
|
|
2938
2938
|
return result;
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -2943,49 +2943,49 @@
|
|
|
2943
2943
|
if (!(other instanceof DefinitionRow))
|
|
2944
2944
|
return false;
|
|
2945
2945
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
2946
|
-
if (!(this.
|
|
2946
|
+
if (!(this.y2t_1 === tmp0_other_with_cast.y2t_1))
|
|
2947
2947
|
return false;
|
|
2948
|
-
if (!(this.
|
|
2948
|
+
if (!(this.z2t_1 === tmp0_other_with_cast.z2t_1))
|
|
2949
2949
|
return false;
|
|
2950
|
-
if (!(this.
|
|
2950
|
+
if (!(this.a2u_1 == tmp0_other_with_cast.a2u_1))
|
|
2951
2951
|
return false;
|
|
2952
2952
|
return true;
|
|
2953
2953
|
};
|
|
2954
2954
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
2955
|
-
this.
|
|
2955
|
+
this.b2u_1 = function_0;
|
|
2956
2956
|
}
|
|
2957
2957
|
protoOf(sam$kotlin_Comparator$0_0).r9 = function (a, b) {
|
|
2958
|
-
return this.
|
|
2958
|
+
return this.b2u_1(a, b);
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
2961
2961
|
return this.r9(a, b);
|
|
2962
2962
|
};
|
|
2963
2963
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
2964
|
-
this.
|
|
2964
|
+
this.c2u_1 = function_0;
|
|
2965
2965
|
}
|
|
2966
2966
|
protoOf(sam$kotlin_Comparator$0_1).r9 = function (a, b) {
|
|
2967
|
-
return this.
|
|
2967
|
+
return this.c2u_1(a, b);
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
2970
2970
|
return this.r9(a, b);
|
|
2971
2971
|
};
|
|
2972
2972
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
2973
2973
|
return function ($this$verticalLayout) {
|
|
2974
|
-
$this$verticalLayout.
|
|
2975
|
-
$this$verticalLayout.
|
|
2974
|
+
$this$verticalLayout.a2f(1);
|
|
2975
|
+
$this$verticalLayout.y2e(this$0.h2u($error, $prolog, $epilog, $parameters, $programName));
|
|
2976
2976
|
return Unit_instance;
|
|
2977
2977
|
};
|
|
2978
2978
|
}
|
|
2979
2979
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
2980
2980
|
return function ($this$definitionList) {
|
|
2981
|
-
$this$definitionList.
|
|
2982
|
-
$this$definitionList.
|
|
2983
|
-
$this$definitionList.
|
|
2981
|
+
$this$definitionList.z2i($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
2982
|
+
$this$definitionList.t2i_1 = true;
|
|
2983
|
+
$this$definitionList.w2i(1);
|
|
2984
2984
|
return Unit_instance;
|
|
2985
2985
|
};
|
|
2986
2986
|
}
|
|
2987
2987
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
2988
|
-
$this$withPadding.
|
|
2988
|
+
$this$withPadding.q29_1 = 2;
|
|
2989
2989
|
return Unit_instance;
|
|
2990
2990
|
}
|
|
2991
2991
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -2998,24 +2998,24 @@
|
|
|
2998
2998
|
}
|
|
2999
2999
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3000
3000
|
return function ($this$definitionList) {
|
|
3001
|
-
var tmp0_iterator = this$0.
|
|
3001
|
+
var tmp0_iterator = this$0.i2u($parameters).r();
|
|
3002
3002
|
while (tmp0_iterator.s()) {
|
|
3003
3003
|
var section = tmp0_iterator.u();
|
|
3004
|
-
$this$definitionList.
|
|
3004
|
+
$this$definitionList.a2j(section.w2t_1, section.x2t_1);
|
|
3005
3005
|
}
|
|
3006
3006
|
return Unit_instance;
|
|
3007
3007
|
};
|
|
3008
3008
|
}
|
|
3009
3009
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3010
|
-
$this$withPadding.
|
|
3011
|
-
$this$withPadding.
|
|
3012
|
-
$this$withPadding.
|
|
3010
|
+
$this$withPadding.n29_1 = 1;
|
|
3011
|
+
$this$withPadding.q29_1 = 2;
|
|
3012
|
+
$this$withPadding.p29_1 = 1;
|
|
3013
3013
|
return Unit_instance;
|
|
3014
3014
|
}
|
|
3015
3015
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3016
3016
|
return function ($this$verticalLayout) {
|
|
3017
|
-
$this$verticalLayout.
|
|
3018
|
-
$this$verticalLayout.
|
|
3017
|
+
$this$verticalLayout.w28($markdown);
|
|
3018
|
+
$this$verticalLayout.w28(this$0.j2u($options));
|
|
3019
3019
|
return Unit_instance;
|
|
3020
3020
|
};
|
|
3021
3021
|
}
|
|
@@ -3025,7 +3025,7 @@
|
|
|
3025
3025
|
var k = _name_for_destructuring_parameter_0__wldtmu.m2();
|
|
3026
3026
|
// Inline function 'kotlin.collections.component2' call
|
|
3027
3027
|
var v = _name_for_destructuring_parameter_0__wldtmu.n2();
|
|
3028
|
-
return this$0.
|
|
3028
|
+
return this$0.k2u(k, v);
|
|
3029
3029
|
};
|
|
3030
3030
|
}
|
|
3031
3031
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3034,7 +3034,7 @@
|
|
|
3034
3034
|
var k = _name_for_destructuring_parameter_0__wldtmu.m2();
|
|
3035
3035
|
// Inline function 'kotlin.collections.component2' call
|
|
3036
3036
|
var v = _name_for_destructuring_parameter_0__wldtmu.n2();
|
|
3037
|
-
return this$0.
|
|
3037
|
+
return this$0.l2u(k, v);
|
|
3038
3038
|
};
|
|
3039
3039
|
}
|
|
3040
3040
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3047,28 +3047,28 @@
|
|
|
3047
3047
|
}
|
|
3048
3048
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3049
3049
|
return function (it) {
|
|
3050
|
-
return this$0.
|
|
3050
|
+
return this$0.m2u(it);
|
|
3051
3051
|
};
|
|
3052
3052
|
}
|
|
3053
3053
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3054
|
-
this.
|
|
3054
|
+
this.n2u_1 = this$0;
|
|
3055
3055
|
}
|
|
3056
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).k2q = function (name) {
|
|
3057
|
-
return this.o2u_1.n2u(name);
|
|
3058
|
-
};
|
|
3059
3056
|
protoOf(MordantHelpFormatter$parameterFormatter$1).j2q = function (name) {
|
|
3060
|
-
return this.
|
|
3057
|
+
return this.n2u_1.m2u(name);
|
|
3058
|
+
};
|
|
3059
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).i2q = function (name) {
|
|
3060
|
+
return this.n2u_1.p2u(this.n2u_1.o2u(name));
|
|
3061
3061
|
};
|
|
3062
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3063
|
-
return this.
|
|
3062
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).t2q = function (name) {
|
|
3063
|
+
return this.n2u_1.q2u(name);
|
|
3064
3064
|
};
|
|
3065
3065
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3066
3066
|
return function ($this$definitionList) {
|
|
3067
|
-
$this$definitionList.
|
|
3067
|
+
$this$definitionList.t2i_1 = true;
|
|
3068
3068
|
var tmp0_iterator = $rows.r();
|
|
3069
3069
|
while (tmp0_iterator.s()) {
|
|
3070
3070
|
var row = tmp0_iterator.u();
|
|
3071
|
-
$this$definitionList.
|
|
3071
|
+
$this$definitionList.a2j(this$0.r2u(row), this$0.s2u(row));
|
|
3072
3072
|
}
|
|
3073
3073
|
return Unit_instance;
|
|
3074
3074
|
};
|
|
@@ -3077,22 +3077,22 @@
|
|
|
3077
3077
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3078
3078
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3079
3079
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3080
|
-
this.
|
|
3081
|
-
this.
|
|
3082
|
-
this.
|
|
3083
|
-
this.
|
|
3080
|
+
this.d2u_1 = context;
|
|
3081
|
+
this.e2u_1 = requiredOptionMarker;
|
|
3082
|
+
this.f2u_1 = showDefaultValues;
|
|
3083
|
+
this.g2u_1 = showRequiredTag;
|
|
3084
3084
|
}
|
|
3085
|
-
protoOf(MordantHelpFormatter).
|
|
3086
|
-
return this.
|
|
3085
|
+
protoOf(MordantHelpFormatter).t2u = function () {
|
|
3086
|
+
return this.d2u_1.h2m_1;
|
|
3087
3087
|
};
|
|
3088
|
-
protoOf(MordantHelpFormatter).
|
|
3089
|
-
return this.
|
|
3088
|
+
protoOf(MordantHelpFormatter).u2u = function () {
|
|
3089
|
+
return this.d2u_1.c2m_1.o26_1;
|
|
3090
3090
|
};
|
|
3091
|
-
protoOf(MordantHelpFormatter).
|
|
3091
|
+
protoOf(MordantHelpFormatter).u2n = function (error, prolog, epilog, parameters, programName) {
|
|
3092
3092
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3093
|
-
return this.
|
|
3093
|
+
return this.d2u_1.c2m_1.k2i(widget);
|
|
3094
3094
|
};
|
|
3095
|
-
protoOf(MordantHelpFormatter).
|
|
3095
|
+
protoOf(MordantHelpFormatter).h2u = function (error, prolog, epilog, parameters, programName) {
|
|
3096
3096
|
// Inline function 'kotlin.collections.buildList' call
|
|
3097
3097
|
// Inline function 'kotlin.contracts.contract' call
|
|
3098
3098
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3100,26 +3100,26 @@
|
|
|
3100
3100
|
var this_0 = ArrayList_init_$Create$();
|
|
3101
3101
|
// Inline function 'kotlin.contracts.contract' call
|
|
3102
3102
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3103
|
-
this_0.o(this.
|
|
3103
|
+
this_0.o(this.v2u(parameters, programName));
|
|
3104
3104
|
if (error == null) {
|
|
3105
3105
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3106
3106
|
if (charSequenceLength(prolog) > 0) {
|
|
3107
|
-
this_0.o(this.
|
|
3107
|
+
this_0.o(this.x2u(prolog));
|
|
3108
3108
|
}
|
|
3109
3109
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3110
3110
|
if (!parameters.y()) {
|
|
3111
|
-
this_0.o(this.
|
|
3111
|
+
this_0.o(this.y2u(parameters));
|
|
3112
3112
|
}
|
|
3113
3113
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3114
3114
|
if (charSequenceLength(epilog) > 0) {
|
|
3115
|
-
this_0.o(this.
|
|
3115
|
+
this_0.o(this.z2u(epilog));
|
|
3116
3116
|
}
|
|
3117
3117
|
} else {
|
|
3118
|
-
this_0.o(this.
|
|
3118
|
+
this_0.o(this.w2u(parameters, error));
|
|
3119
3119
|
}
|
|
3120
3120
|
return this_0.z2();
|
|
3121
3121
|
};
|
|
3122
|
-
protoOf(MordantHelpFormatter).
|
|
3122
|
+
protoOf(MordantHelpFormatter).w2u = function (parameters, error) {
|
|
3123
3123
|
// Inline function 'kotlin.text.buildString' call
|
|
3124
3124
|
// Inline function 'kotlin.contracts.contract' call
|
|
3125
3125
|
// Inline function 'kotlin.apply' call
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
// Inline function 'kotlin.contracts.contract' call
|
|
3128
3128
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3129
3129
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3130
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3130
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c2q_1;
|
|
3131
3131
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3132
3132
|
var iterator = errors.r();
|
|
3133
3133
|
var index = 0;
|
|
@@ -3139,16 +3139,16 @@
|
|
|
3139
3139
|
// Inline function 'kotlin.text.appendLine' call
|
|
3140
3140
|
this_0.g5(_Char___init__impl__6a9atx(10));
|
|
3141
3141
|
}
|
|
3142
|
-
this_0.f5(this.
|
|
3142
|
+
this_0.f5(this.a2v(this.t2u().e2t()));
|
|
3143
3143
|
this_0.f5(' ');
|
|
3144
|
-
this_0.f5(e.
|
|
3144
|
+
this_0.f5(e.m2p(this.t2u(), this.b2v(this.d2u_1)));
|
|
3145
3145
|
}
|
|
3146
3146
|
var tmp$ret$2 = this_0.toString();
|
|
3147
3147
|
return Text_init_$Create$(tmp$ret$2);
|
|
3148
3148
|
};
|
|
3149
|
-
protoOf(MordantHelpFormatter).
|
|
3150
|
-
var optionalStyle = this.
|
|
3151
|
-
var title = this.
|
|
3149
|
+
protoOf(MordantHelpFormatter).v2u = function (parameters, programName) {
|
|
3150
|
+
var optionalStyle = this.u2u().t27('muted');
|
|
3151
|
+
var title = this.c2v(this.t2u().n2t());
|
|
3152
3152
|
var prog = title + ' ' + programName;
|
|
3153
3153
|
// Inline function 'kotlin.collections.buildList' call
|
|
3154
3154
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3182,8 +3182,8 @@
|
|
|
3182
3182
|
tmp$ret$0 = false;
|
|
3183
3183
|
}
|
|
3184
3184
|
if (tmp$ret$0) {
|
|
3185
|
-
var metavar = this.
|
|
3186
|
-
this_0.o(optionalStyle.
|
|
3185
|
+
var metavar = this.o2u(this.t2u().r2t());
|
|
3186
|
+
this_0.o(optionalStyle.b1f(this.d2v(metavar)));
|
|
3187
3187
|
}
|
|
3188
3188
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3189
3189
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3200,13 +3200,13 @@
|
|
|
3200
3200
|
while (tmp0_iterator_1.s()) {
|
|
3201
3201
|
var item = tmp0_iterator_1.u();
|
|
3202
3202
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3203
|
-
var name = this.
|
|
3204
|
-
if (!item.
|
|
3203
|
+
var name = this.o2u(item.s2s_1);
|
|
3204
|
+
if (!item.u2s_1)
|
|
3205
|
+
name = this.d2v(name);
|
|
3206
|
+
if (item.v2s_1)
|
|
3205
3207
|
name = this.e2v(name);
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
var style = item.v2s_1 ? TextStyle() : optionalStyle;
|
|
3209
|
-
var tmp$ret$4 = style.c1f(name);
|
|
3208
|
+
var style = item.u2s_1 ? TextStyle() : optionalStyle;
|
|
3209
|
+
var tmp$ret$4 = style.b1f(name);
|
|
3210
3210
|
this_0.o(tmp$ret$4);
|
|
3211
3211
|
}
|
|
3212
3212
|
var tmp$ret$6;
|
|
@@ -3234,10 +3234,10 @@
|
|
|
3234
3234
|
tmp$ret$6 = false;
|
|
3235
3235
|
}
|
|
3236
3236
|
if (tmp$ret$6) {
|
|
3237
|
-
var commandMetavar = this.
|
|
3238
|
-
var argsMetavar = this.
|
|
3239
|
-
var repeatedArgs = this.
|
|
3240
|
-
this_0.o(optionalStyle.
|
|
3237
|
+
var commandMetavar = this.o2u(this.t2u().s2t());
|
|
3238
|
+
var argsMetavar = this.o2u(this.t2u().t2t());
|
|
3239
|
+
var repeatedArgs = this.e2v(this.d2v(argsMetavar));
|
|
3240
|
+
this_0.o(optionalStyle.b1f(commandMetavar + ' ' + repeatedArgs));
|
|
3241
3241
|
}
|
|
3242
3242
|
var usageParts = this_0.z2();
|
|
3243
3243
|
var tmp_1;
|
|
@@ -3248,17 +3248,17 @@
|
|
|
3248
3248
|
}
|
|
3249
3249
|
return tmp_1;
|
|
3250
3250
|
};
|
|
3251
|
-
protoOf(MordantHelpFormatter).
|
|
3251
|
+
protoOf(MordantHelpFormatter).x2u = function (prolog) {
|
|
3252
3252
|
var tmp = new Markdown(prolog, true);
|
|
3253
3253
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3254
3254
|
};
|
|
3255
|
-
protoOf(MordantHelpFormatter).
|
|
3255
|
+
protoOf(MordantHelpFormatter).z2u = function (epilog) {
|
|
3256
3256
|
return new Markdown(epilog, true);
|
|
3257
3257
|
};
|
|
3258
|
-
protoOf(MordantHelpFormatter).
|
|
3258
|
+
protoOf(MordantHelpFormatter).f2v = function (title) {
|
|
3259
3259
|
return title + ':';
|
|
3260
3260
|
};
|
|
3261
|
-
protoOf(MordantHelpFormatter).
|
|
3261
|
+
protoOf(MordantHelpFormatter).g2v = function (parameters) {
|
|
3262
3262
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3263
3263
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3264
3264
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3277,7 +3277,7 @@
|
|
|
3277
3277
|
while (tmp0_iterator_0.s()) {
|
|
3278
3278
|
var element_0 = tmp0_iterator_0.u();
|
|
3279
3279
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3280
|
-
var tmp$ret$2 = element_0.
|
|
3280
|
+
var tmp$ret$2 = element_0.a2t_1;
|
|
3281
3281
|
destination_0.j2(tmp$ret$2, element_0);
|
|
3282
3282
|
}
|
|
3283
3283
|
var groupsByName = destination_0;
|
|
@@ -3301,7 +3301,7 @@
|
|
|
3301
3301
|
while (tmp0_iterator_2.s()) {
|
|
3302
3302
|
var element_2 = tmp0_iterator_2.u();
|
|
3303
3303
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3304
|
-
var key = element_2.
|
|
3304
|
+
var key = element_2.r2s_1;
|
|
3305
3305
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3306
3306
|
var value = destination_2.s2(key);
|
|
3307
3307
|
var tmp;
|
|
@@ -3340,19 +3340,19 @@
|
|
|
3340
3340
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3341
3341
|
var title = item.a6();
|
|
3342
3342
|
var params = item.b6();
|
|
3343
|
-
var renderedTitle = this.
|
|
3343
|
+
var renderedTitle = this.f2v(title == null ? this.t2u().o2t() : title);
|
|
3344
3344
|
// Inline function 'kotlin.collections.get' call
|
|
3345
3345
|
var tmp1_safe_receiver = (isInterface(groupsByName, Map) ? groupsByName : THROW_CCE()).s2(title);
|
|
3346
|
-
var content = this.
|
|
3347
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3346
|
+
var content = this.h2v(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b2t_1, params);
|
|
3347
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.i2v(renderedTitle), content);
|
|
3348
3348
|
destination_4.o(tmp$ret$19);
|
|
3349
3349
|
}
|
|
3350
3350
|
return toList_0(destination_4);
|
|
3351
3351
|
};
|
|
3352
|
-
protoOf(MordantHelpFormatter).
|
|
3352
|
+
protoOf(MordantHelpFormatter).y2u = function (parameters) {
|
|
3353
3353
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3354
3354
|
};
|
|
3355
|
-
protoOf(MordantHelpFormatter).
|
|
3355
|
+
protoOf(MordantHelpFormatter).i2u = function (parameters) {
|
|
3356
3356
|
// Inline function 'kotlin.collections.buildList' call
|
|
3357
3357
|
// Inline function 'kotlin.contracts.contract' call
|
|
3358
3358
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3360,12 +3360,12 @@
|
|
|
3360
3360
|
var this_0 = ArrayList_init_$Create$();
|
|
3361
3361
|
// Inline function 'kotlin.contracts.contract' call
|
|
3362
3362
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3363
|
-
this_0.v(this.
|
|
3363
|
+
this_0.v(this.g2v(parameters));
|
|
3364
|
+
this_0.v(this.j2v(parameters));
|
|
3364
3365
|
this_0.v(this.k2v(parameters));
|
|
3365
|
-
this_0.v(this.l2v(parameters));
|
|
3366
3366
|
return this_0.z2();
|
|
3367
3367
|
};
|
|
3368
|
-
protoOf(MordantHelpFormatter).
|
|
3368
|
+
protoOf(MordantHelpFormatter).h2v = function (help, parameters) {
|
|
3369
3369
|
// Inline function 'kotlin.collections.map' call
|
|
3370
3370
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3371
3371
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3374,28 +3374,28 @@
|
|
|
3374
3374
|
var item = tmp0_iterator.u();
|
|
3375
3375
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3376
3376
|
var tmp;
|
|
3377
|
-
if (item.
|
|
3378
|
-
tmp = plus_0(listOf_0(this.
|
|
3377
|
+
if (item.p2s_1) {
|
|
3378
|
+
tmp = plus_0(listOf_0(this.l2v(item)), item.j2s_1);
|
|
3379
3379
|
} else {
|
|
3380
|
-
tmp = item.
|
|
3380
|
+
tmp = item.j2s_1;
|
|
3381
3381
|
}
|
|
3382
3382
|
var unjoinedNames = tmp;
|
|
3383
|
-
var names = mutableListOf([this.
|
|
3383
|
+
var names = mutableListOf([this.m2v(unjoinedNames)]);
|
|
3384
3384
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3385
|
-
if (!item.
|
|
3385
|
+
if (!item.k2s_1.y()) {
|
|
3386
3386
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3387
|
-
var element = this.
|
|
3387
|
+
var element = this.m2v(item.k2s_1);
|
|
3388
3388
|
names.o(element);
|
|
3389
3389
|
}
|
|
3390
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3391
|
-
var tmp_1 = this.
|
|
3390
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.n2v(item));
|
|
3391
|
+
var tmp_1 = this.o2v(item.m2s_1, item.o2s_1);
|
|
3392
3392
|
var tmp0_subject = 'required';
|
|
3393
3393
|
var tmp_2;
|
|
3394
3394
|
// Inline function 'kotlin.collections.contains' call
|
|
3395
3395
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3396
|
-
var this_0 = item.
|
|
3396
|
+
var this_0 = item.o2s_1;
|
|
3397
3397
|
if ((isInterface(this_0, Map) ? this_0 : THROW_CCE()).q2(tmp0_subject)) {
|
|
3398
|
-
var tmp1_safe_receiver = this.
|
|
3398
|
+
var tmp1_safe_receiver = this.e2u_1;
|
|
3399
3399
|
var tmp_3;
|
|
3400
3400
|
if (tmp1_safe_receiver == null) {
|
|
3401
3401
|
tmp_3 = null;
|
|
@@ -3403,7 +3403,7 @@
|
|
|
3403
3403
|
// Inline function 'kotlin.let' call
|
|
3404
3404
|
// Inline function 'kotlin.contracts.contract' call
|
|
3405
3405
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3406
|
-
tmp_3 = this.
|
|
3406
|
+
tmp_3 = this.p2v(tmp1_safe_receiver);
|
|
3407
3407
|
}
|
|
3408
3408
|
tmp_2 = tmp_3;
|
|
3409
3409
|
} else {
|
|
@@ -3414,12 +3414,12 @@
|
|
|
3414
3414
|
}
|
|
3415
3415
|
var options = destination;
|
|
3416
3416
|
if (help == null)
|
|
3417
|
-
return this.
|
|
3417
|
+
return this.j2u(options);
|
|
3418
3418
|
var tmp_4 = new Markdown(help, true);
|
|
3419
3419
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3420
3420
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3421
3421
|
};
|
|
3422
|
-
protoOf(MordantHelpFormatter).
|
|
3422
|
+
protoOf(MordantHelpFormatter).j2v = function (parameters) {
|
|
3423
3423
|
// Inline function 'kotlin.collections.map' call
|
|
3424
3424
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3425
3425
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3437,7 +3437,7 @@
|
|
|
3437
3437
|
while (tmp0_iterator_0.s()) {
|
|
3438
3438
|
var item = tmp0_iterator_0.u();
|
|
3439
3439
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3440
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3440
|
+
var tmp$ret$2 = new DefinitionRow(this.p2u(this.o2u(item.s2s_1)), this.o2v(item.t2s_1, item.w2s_1));
|
|
3441
3441
|
destination_0.o(tmp$ret$2);
|
|
3442
3442
|
}
|
|
3443
3443
|
var arguments_0 = destination_0;
|
|
@@ -3463,7 +3463,7 @@
|
|
|
3463
3463
|
var element_0 = tmp0_iterator_1.u();
|
|
3464
3464
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3465
3465
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3466
|
-
var this_0 = element_0.
|
|
3466
|
+
var this_0 = element_0.z2t_1;
|
|
3467
3467
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3468
3468
|
tmp$ret$5 = false;
|
|
3469
3469
|
break $l$block_0;
|
|
@@ -3475,10 +3475,10 @@
|
|
|
3475
3475
|
}
|
|
3476
3476
|
if (tmp)
|
|
3477
3477
|
return emptyList();
|
|
3478
|
-
var title = this.
|
|
3479
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3478
|
+
var title = this.i2v(this.f2v(this.t2u().p2t()));
|
|
3479
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.j2u(arguments_0)));
|
|
3480
3480
|
};
|
|
3481
|
-
protoOf(MordantHelpFormatter).
|
|
3481
|
+
protoOf(MordantHelpFormatter).k2v = function (parameters) {
|
|
3482
3482
|
// Inline function 'kotlin.collections.map' call
|
|
3483
3483
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3484
3484
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3496,16 +3496,16 @@
|
|
|
3496
3496
|
while (tmp0_iterator_0.s()) {
|
|
3497
3497
|
var item = tmp0_iterator_0.u();
|
|
3498
3498
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3499
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3499
|
+
var tmp$ret$2 = new DefinitionRow(this.q2u(item.x2s_1), this.o2v(item.y2s_1, item.z2s_1));
|
|
3500
3500
|
destination_0.o(tmp$ret$2);
|
|
3501
3501
|
}
|
|
3502
3502
|
var commands = destination_0;
|
|
3503
3503
|
if (commands.y())
|
|
3504
3504
|
return emptyList();
|
|
3505
|
-
var title = this.
|
|
3506
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3505
|
+
var title = this.i2v(this.f2v(this.t2u().q2t()));
|
|
3506
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.j2u(commands)));
|
|
3507
3507
|
};
|
|
3508
|
-
protoOf(MordantHelpFormatter).
|
|
3508
|
+
protoOf(MordantHelpFormatter).o2v = function (help, tags) {
|
|
3509
3509
|
var tmp = asSequence(tags);
|
|
3510
3510
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3511
3511
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3523,11 +3523,11 @@
|
|
|
3523
3523
|
}
|
|
3524
3524
|
return tmp_1;
|
|
3525
3525
|
};
|
|
3526
|
-
protoOf(MordantHelpFormatter).
|
|
3526
|
+
protoOf(MordantHelpFormatter).k2u = function (tag, value) {
|
|
3527
3527
|
var tmp;
|
|
3528
3528
|
if (tag === 'default') {
|
|
3529
3529
|
var tmp_0;
|
|
3530
|
-
if (this.
|
|
3530
|
+
if (this.f2u_1) {
|
|
3531
3531
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3532
3532
|
tmp_0 = !isBlank(value);
|
|
3533
3533
|
} else {
|
|
@@ -3536,14 +3536,14 @@
|
|
|
3536
3536
|
tmp = tmp_0;
|
|
3537
3537
|
} else {
|
|
3538
3538
|
if (tag === 'required') {
|
|
3539
|
-
tmp = this.
|
|
3539
|
+
tmp = this.g2u_1;
|
|
3540
3540
|
} else {
|
|
3541
3541
|
tmp = true;
|
|
3542
3542
|
}
|
|
3543
3543
|
}
|
|
3544
3544
|
return tmp;
|
|
3545
3545
|
};
|
|
3546
|
-
protoOf(MordantHelpFormatter).
|
|
3546
|
+
protoOf(MordantHelpFormatter).m2v = function (names) {
|
|
3547
3547
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3548
3548
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3549
3549
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3551,13 +3551,13 @@
|
|
|
3551
3551
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3552
3552
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3553
3553
|
};
|
|
3554
|
-
protoOf(MordantHelpFormatter).
|
|
3554
|
+
protoOf(MordantHelpFormatter).l2u = function (tag, value) {
|
|
3555
3555
|
var tmp;
|
|
3556
3556
|
if (tag === 'default') {
|
|
3557
|
-
tmp = this.
|
|
3557
|
+
tmp = this.t2u().u2t();
|
|
3558
3558
|
} else {
|
|
3559
3559
|
if (tag === 'required') {
|
|
3560
|
-
tmp = this.
|
|
3560
|
+
tmp = this.t2u().v2t();
|
|
3561
3561
|
} else {
|
|
3562
3562
|
tmp = tag;
|
|
3563
3563
|
}
|
|
@@ -3566,67 +3566,67 @@
|
|
|
3566
3566
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3567
3567
|
var tmp_0;
|
|
3568
3568
|
if (tag === 'required') {
|
|
3569
|
-
tmp_0 = this.
|
|
3569
|
+
tmp_0 = this.p2v(fullTag);
|
|
3570
3570
|
} else {
|
|
3571
|
-
tmp_0 = this.
|
|
3571
|
+
tmp_0 = this.q2v(fullTag);
|
|
3572
3572
|
}
|
|
3573
3573
|
return tmp_0;
|
|
3574
3574
|
};
|
|
3575
|
-
protoOf(MordantHelpFormatter).
|
|
3576
|
-
var tmp0_elvis_lhs = option.
|
|
3577
|
-
var metavar = this.
|
|
3578
|
-
return toString(first(first_1(option.
|
|
3575
|
+
protoOf(MordantHelpFormatter).l2v = function (option) {
|
|
3576
|
+
var tmp0_elvis_lhs = option.l2s_1;
|
|
3577
|
+
var metavar = this.o2u(tmp0_elvis_lhs == null ? this.t2u().m2t() : tmp0_elvis_lhs);
|
|
3578
|
+
return toString(first(first_1(option.j2s_1))) + metavar;
|
|
3579
3579
|
};
|
|
3580
|
-
protoOf(MordantHelpFormatter).
|
|
3580
|
+
protoOf(MordantHelpFormatter).o2u = function (name) {
|
|
3581
3581
|
// Inline function 'kotlin.text.lowercase' call
|
|
3582
3582
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3583
3583
|
return '<' + name.toLowerCase() + '>';
|
|
3584
3584
|
};
|
|
3585
|
+
protoOf(MordantHelpFormatter).p2v = function (name) {
|
|
3586
|
+
return this.u2u().t27('danger').b1f(name);
|
|
3587
|
+
};
|
|
3585
3588
|
protoOf(MordantHelpFormatter).q2v = function (name) {
|
|
3586
|
-
return this.
|
|
3589
|
+
return this.u2u().t27('muted').b1f(name);
|
|
3587
3590
|
};
|
|
3588
|
-
protoOf(MordantHelpFormatter).
|
|
3589
|
-
return this.
|
|
3591
|
+
protoOf(MordantHelpFormatter).m2u = function (name) {
|
|
3592
|
+
return this.u2u().t27('info').b1f(name);
|
|
3590
3593
|
};
|
|
3591
|
-
protoOf(MordantHelpFormatter).
|
|
3592
|
-
return this.
|
|
3594
|
+
protoOf(MordantHelpFormatter).p2u = function (name) {
|
|
3595
|
+
return this.u2u().t27('info').b1f(name);
|
|
3593
3596
|
};
|
|
3594
3597
|
protoOf(MordantHelpFormatter).q2u = function (name) {
|
|
3595
|
-
return this.
|
|
3598
|
+
return this.u2u().t27('info').b1f(name);
|
|
3596
3599
|
};
|
|
3597
|
-
protoOf(MordantHelpFormatter).
|
|
3598
|
-
return this.
|
|
3600
|
+
protoOf(MordantHelpFormatter).i2v = function (title) {
|
|
3601
|
+
return this.u2u().t27('warning').b1f(title);
|
|
3599
3602
|
};
|
|
3600
|
-
protoOf(MordantHelpFormatter).
|
|
3601
|
-
return this.
|
|
3603
|
+
protoOf(MordantHelpFormatter).c2v = function (title) {
|
|
3604
|
+
return this.u2u().t27('warning').b1f(title);
|
|
3602
3605
|
};
|
|
3603
|
-
protoOf(MordantHelpFormatter).
|
|
3604
|
-
return this.
|
|
3606
|
+
protoOf(MordantHelpFormatter).a2v = function (title) {
|
|
3607
|
+
return this.u2u().t27('danger').b1f(title);
|
|
3605
3608
|
};
|
|
3606
|
-
protoOf(MordantHelpFormatter).
|
|
3607
|
-
|
|
3609
|
+
protoOf(MordantHelpFormatter).r2v = function (metavar) {
|
|
3610
|
+
var style = this.u2u().t27('warning').s25(this.u2u().t27('muted'));
|
|
3611
|
+
return style.b1f(metavar);
|
|
3608
3612
|
};
|
|
3609
|
-
protoOf(MordantHelpFormatter).
|
|
3610
|
-
var style = this.v2u().u27('warning').t25(this.v2u().u27('muted'));
|
|
3611
|
-
return style.c1f(metavar);
|
|
3612
|
-
};
|
|
3613
|
-
protoOf(MordantHelpFormatter).c2v = function (context) {
|
|
3613
|
+
protoOf(MordantHelpFormatter).b2v = function (context) {
|
|
3614
3614
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3615
3615
|
};
|
|
3616
|
-
protoOf(MordantHelpFormatter).
|
|
3616
|
+
protoOf(MordantHelpFormatter).d2v = function (metavar) {
|
|
3617
3617
|
return '[' + metavar + ']';
|
|
3618
3618
|
};
|
|
3619
|
-
protoOf(MordantHelpFormatter).
|
|
3619
|
+
protoOf(MordantHelpFormatter).e2v = function (metavar) {
|
|
3620
3620
|
return metavar + '...';
|
|
3621
3621
|
};
|
|
3622
|
-
protoOf(MordantHelpFormatter).
|
|
3622
|
+
protoOf(MordantHelpFormatter).s2v = function (metavar) {
|
|
3623
3623
|
return '=' + metavar;
|
|
3624
3624
|
};
|
|
3625
|
-
protoOf(MordantHelpFormatter).
|
|
3626
|
-
if (option.
|
|
3625
|
+
protoOf(MordantHelpFormatter).n2v = function (option) {
|
|
3626
|
+
if (option.l2s_1 == null)
|
|
3627
3627
|
return '';
|
|
3628
3628
|
// Inline function 'kotlin.text.trim' call
|
|
3629
|
-
var this_0 = option.
|
|
3629
|
+
var this_0 = option.l2s_1;
|
|
3630
3630
|
// Inline function 'kotlin.text.trim' call
|
|
3631
3631
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3632
3632
|
var startIndex = 0;
|
|
@@ -3652,25 +3652,25 @@
|
|
|
3652
3652
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3653
3653
|
var metavar = toString_0(tmp$ret$1);
|
|
3654
3654
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3655
|
-
metavar = this.
|
|
3656
|
-
metavar = this.
|
|
3657
|
-
if (option.
|
|
3658
|
-
metavar = this.f2v(metavar);
|
|
3659
|
-
metavar = this.t2v(metavar);
|
|
3660
|
-
if (option.o2s_1.fe_1 === 0)
|
|
3655
|
+
metavar = this.o2u(metavar);
|
|
3656
|
+
metavar = this.r2v(metavar);
|
|
3657
|
+
if (option.n2s_1.ge_1 > 1)
|
|
3661
3658
|
metavar = this.e2v(metavar);
|
|
3659
|
+
metavar = this.s2v(metavar);
|
|
3660
|
+
if (option.n2s_1.fe_1 === 0)
|
|
3661
|
+
metavar = this.d2v(metavar);
|
|
3662
3662
|
return metavar;
|
|
3663
3663
|
};
|
|
3664
|
-
protoOf(MordantHelpFormatter).
|
|
3664
|
+
protoOf(MordantHelpFormatter).r2u = function (row) {
|
|
3665
3665
|
var tmp;
|
|
3666
3666
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3667
|
-
var this_0 = row.
|
|
3667
|
+
var this_0 = row.a2u_1;
|
|
3668
3668
|
// Inline function 'kotlin.contracts.contract' call
|
|
3669
3669
|
if (this_0 == null ? true : charSequenceLength(this_0) === 0) {
|
|
3670
3670
|
tmp = ' ';
|
|
3671
3671
|
} else {
|
|
3672
3672
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3673
|
-
var this_1 = drop(' ', this.
|
|
3673
|
+
var this_1 = drop(' ', this.t2v(row.a2u_1));
|
|
3674
3674
|
var tmp_0;
|
|
3675
3675
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3676
3676
|
if (charSequenceLength(this_1) === 0) {
|
|
@@ -3680,18 +3680,18 @@
|
|
|
3680
3680
|
tmp_0 = this_1;
|
|
3681
3681
|
}
|
|
3682
3682
|
var tmp$ret$3 = tmp_0;
|
|
3683
|
-
tmp = row.
|
|
3683
|
+
tmp = row.a2u_1 + tmp$ret$3;
|
|
3684
3684
|
}
|
|
3685
3685
|
var termPrefix = tmp;
|
|
3686
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3686
|
+
return Text_init_$Create$(termPrefix + row.y2t_1, Whitespace_PRE_WRAP_getInstance());
|
|
3687
3687
|
};
|
|
3688
|
-
protoOf(MordantHelpFormatter).
|
|
3689
|
-
return isBlank(row.
|
|
3688
|
+
protoOf(MordantHelpFormatter).s2u = function (row) {
|
|
3689
|
+
return isBlank(row.z2t_1) ? Text_init_$Create$('') : new Markdown(row.z2t_1, true);
|
|
3690
3690
|
};
|
|
3691
|
-
protoOf(MordantHelpFormatter).
|
|
3691
|
+
protoOf(MordantHelpFormatter).j2u = function (rows) {
|
|
3692
3692
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3693
3693
|
};
|
|
3694
|
-
protoOf(MordantHelpFormatter).
|
|
3694
|
+
protoOf(MordantHelpFormatter).t2v = function (_this__u8e3s4) {
|
|
3695
3695
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3696
3696
|
};
|
|
3697
3697
|
function Argument_0() {
|
|
@@ -3705,106 +3705,106 @@
|
|
|
3705
3705
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3706
3706
|
}
|
|
3707
3707
|
function ArgumentTransformContext(argument, context) {
|
|
3708
|
-
this.
|
|
3709
|
-
this.
|
|
3708
|
+
this.w2v_1 = argument;
|
|
3709
|
+
this.x2v_1 = context;
|
|
3710
3710
|
}
|
|
3711
|
-
protoOf(ArgumentTransformContext).
|
|
3712
|
-
return this.
|
|
3711
|
+
protoOf(ArgumentTransformContext).t2n = function () {
|
|
3712
|
+
return this.x2v_1;
|
|
3713
3713
|
};
|
|
3714
|
-
protoOf(ArgumentTransformContext).
|
|
3715
|
-
return this.
|
|
3714
|
+
protoOf(ArgumentTransformContext).q2m = function () {
|
|
3715
|
+
return this.w2v_1.q2m();
|
|
3716
3716
|
};
|
|
3717
3717
|
protoOf(ArgumentTransformContext).c12 = function () {
|
|
3718
|
-
return this.
|
|
3718
|
+
return this.w2v_1.c12();
|
|
3719
3719
|
};
|
|
3720
|
-
protoOf(ArgumentTransformContext).
|
|
3721
|
-
return this.
|
|
3720
|
+
protoOf(ArgumentTransformContext).r2m = function () {
|
|
3721
|
+
return this.w2v_1.r2m();
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf(ArgumentTransformContext).
|
|
3724
|
-
return this.
|
|
3723
|
+
protoOf(ArgumentTransformContext).u2v = function () {
|
|
3724
|
+
return this.w2v_1.u2v();
|
|
3725
3725
|
};
|
|
3726
|
-
protoOf(ArgumentTransformContext).
|
|
3727
|
-
this.
|
|
3726
|
+
protoOf(ArgumentTransformContext).i2s = function (context, values) {
|
|
3727
|
+
this.w2v_1.i2s(context, values);
|
|
3728
3728
|
};
|
|
3729
|
-
protoOf(ArgumentTransformContext).
|
|
3730
|
-
return this.
|
|
3729
|
+
protoOf(ArgumentTransformContext).b2n = function (context) {
|
|
3730
|
+
return this.w2v_1.b2n(context);
|
|
3731
3731
|
};
|
|
3732
|
-
protoOf(ArgumentTransformContext).
|
|
3733
|
-
return this.
|
|
3732
|
+
protoOf(ArgumentTransformContext).l2n = function (context) {
|
|
3733
|
+
return this.w2v_1.l2n(context);
|
|
3734
3734
|
};
|
|
3735
|
-
protoOf(ArgumentTransformContext).
|
|
3736
|
-
this.
|
|
3735
|
+
protoOf(ArgumentTransformContext).v2v = function (context) {
|
|
3736
|
+
this.w2v_1.v2v(context);
|
|
3737
3737
|
};
|
|
3738
|
-
protoOf(ArgumentTransformContext).
|
|
3739
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3738
|
+
protoOf(ArgumentTransformContext).y2v = function (message) {
|
|
3739
|
+
throw BadParameterValue_init_$Create$(message, this.w2v_1);
|
|
3740
3740
|
};
|
|
3741
3741
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3742
|
-
this.
|
|
3743
|
-
this.
|
|
3744
|
-
this.
|
|
3745
|
-
this.
|
|
3746
|
-
this.
|
|
3747
|
-
this.
|
|
3748
|
-
this.
|
|
3749
|
-
this.
|
|
3750
|
-
this.
|
|
3742
|
+
this.z2v_1 = name;
|
|
3743
|
+
this.a2w_1 = nvalues;
|
|
3744
|
+
this.b2w_1 = required;
|
|
3745
|
+
this.c2w_1 = helpGetter;
|
|
3746
|
+
this.d2w_1 = helpTags;
|
|
3747
|
+
this.e2w_1 = explicitCompletionCandidates;
|
|
3748
|
+
this.f2w_1 = transformValue;
|
|
3749
|
+
this.g2w_1 = transformAll;
|
|
3750
|
+
this.h2w_1 = transformValidator;
|
|
3751
3751
|
// Inline function 'kotlin.require' call
|
|
3752
3752
|
// Inline function 'kotlin.contracts.contract' call
|
|
3753
|
-
if (!!(this.
|
|
3753
|
+
if (!!(this.a2w_1 === 0)) {
|
|
3754
3754
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3755
3755
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3756
3756
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3757
3757
|
}
|
|
3758
|
-
this.
|
|
3758
|
+
this.i2w_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3759
3759
|
}
|
|
3760
3760
|
protoOf(ProcessedArgumentImpl).c12 = function () {
|
|
3761
|
+
return this.z2v_1;
|
|
3762
|
+
};
|
|
3763
|
+
protoOf(ProcessedArgumentImpl).r2m = function () {
|
|
3761
3764
|
return this.a2w_1;
|
|
3762
3765
|
};
|
|
3763
|
-
protoOf(ProcessedArgumentImpl).
|
|
3766
|
+
protoOf(ProcessedArgumentImpl).u2v = function () {
|
|
3764
3767
|
return this.b2w_1;
|
|
3765
3768
|
};
|
|
3766
|
-
protoOf(ProcessedArgumentImpl).
|
|
3767
|
-
|
|
3768
|
-
};
|
|
3769
|
-
protoOf(ProcessedArgumentImpl).c2n = function (context) {
|
|
3770
|
-
var tmp0_safe_receiver = this.d2w_1;
|
|
3769
|
+
protoOf(ProcessedArgumentImpl).b2n = function (context) {
|
|
3770
|
+
var tmp0_safe_receiver = this.c2w_1;
|
|
3771
3771
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3772
3772
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3773
3773
|
};
|
|
3774
|
-
protoOf(ProcessedArgumentImpl).
|
|
3775
|
-
return this.
|
|
3774
|
+
protoOf(ProcessedArgumentImpl).j2w = function (_set____db54di) {
|
|
3775
|
+
return this.i2w_1.m2w(this, value$factory(), _set____db54di);
|
|
3776
3776
|
};
|
|
3777
3777
|
protoOf(ProcessedArgumentImpl).n2 = function () {
|
|
3778
|
-
return this.
|
|
3778
|
+
return this.i2w_1.n2w(this, value$factory_0());
|
|
3779
3779
|
};
|
|
3780
|
-
protoOf(ProcessedArgumentImpl).
|
|
3781
|
-
var tmp0_elvis_lhs = this.
|
|
3780
|
+
protoOf(ProcessedArgumentImpl).q2m = function () {
|
|
3781
|
+
var tmp0_elvis_lhs = this.e2w_1;
|
|
3782
3782
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3783
3783
|
};
|
|
3784
|
-
protoOf(ProcessedArgumentImpl).
|
|
3785
|
-
return new Argument(this.
|
|
3784
|
+
protoOf(ProcessedArgumentImpl).l2n = function (context) {
|
|
3785
|
+
return new Argument(this.z2v_1, this.b2n(context), this.b2w_1 ? true : this.a2w_1 > 1, this.a2w_1 < 0, this.d2w_1);
|
|
3786
3786
|
};
|
|
3787
|
-
protoOf(ProcessedArgumentImpl).
|
|
3787
|
+
protoOf(ProcessedArgumentImpl).o2w = function (thisRef, property) {
|
|
3788
3788
|
return this.n2();
|
|
3789
3789
|
};
|
|
3790
|
-
protoOf(ProcessedArgumentImpl).
|
|
3791
|
-
return this.
|
|
3790
|
+
protoOf(ProcessedArgumentImpl).p2w = function (thisRef, property) {
|
|
3791
|
+
return this.o2w(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3792
3792
|
};
|
|
3793
|
-
protoOf(ProcessedArgumentImpl).
|
|
3794
|
-
if (isBlank(this.
|
|
3793
|
+
protoOf(ProcessedArgumentImpl).q2w = function (thisRef, property) {
|
|
3794
|
+
if (isBlank(this.z2v_1)) {
|
|
3795
3795
|
var tmp = this;
|
|
3796
3796
|
// Inline function 'kotlin.text.uppercase' call
|
|
3797
3797
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3798
3798
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3799
|
-
tmp.
|
|
3799
|
+
tmp.z2v_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3800
3800
|
}
|
|
3801
|
-
thisRef.
|
|
3801
|
+
thisRef.r2n(this);
|
|
3802
3802
|
return this;
|
|
3803
3803
|
};
|
|
3804
|
-
protoOf(ProcessedArgumentImpl).
|
|
3805
|
-
return this.
|
|
3804
|
+
protoOf(ProcessedArgumentImpl).r2w = function (thisRef, property) {
|
|
3805
|
+
return this.q2w(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3806
3806
|
};
|
|
3807
|
-
protoOf(ProcessedArgumentImpl).
|
|
3807
|
+
protoOf(ProcessedArgumentImpl).i2s = function (context, values) {
|
|
3808
3808
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3809
3809
|
// Inline function 'kotlin.collections.map' call
|
|
3810
3810
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3813,13 +3813,13 @@
|
|
|
3813
3813
|
while (tmp0_iterator.s()) {
|
|
3814
3814
|
var item = tmp0_iterator.u();
|
|
3815
3815
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3816
|
-
var tmp$ret$0 = this.
|
|
3816
|
+
var tmp$ret$0 = this.f2w_1(ctx, item);
|
|
3817
3817
|
destination.o(tmp$ret$0);
|
|
3818
3818
|
}
|
|
3819
|
-
this.
|
|
3819
|
+
this.j2w(this.g2w_1(ctx, destination));
|
|
3820
3820
|
};
|
|
3821
|
-
protoOf(ProcessedArgumentImpl).
|
|
3822
|
-
this.
|
|
3821
|
+
protoOf(ProcessedArgumentImpl).v2v = function (context) {
|
|
3822
|
+
this.h2w_1(new ArgumentTransformContext(this, context), this.n2());
|
|
3823
3823
|
};
|
|
3824
3824
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
3825
3825
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
var this_0 = StringBuilder_init_$Create$();
|
|
3829
3829
|
// Inline function 'kotlin.contracts.contract' call
|
|
3830
3830
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3831
|
-
this_0.f5(this.
|
|
3831
|
+
this_0.f5(this.z2v_1);
|
|
3832
3832
|
// Inline function 'kotlin.onSuccess' call
|
|
3833
3833
|
// Inline function 'kotlin.runCatching' call
|
|
3834
3834
|
var tmp;
|
|
@@ -3882,14 +3882,14 @@
|
|
|
3882
3882
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3883
3883
|
return receiver.n2();
|
|
3884
3884
|
}, function (receiver, value) {
|
|
3885
|
-
return receiver.
|
|
3885
|
+
return receiver.j2w(value);
|
|
3886
3886
|
});
|
|
3887
3887
|
}
|
|
3888
3888
|
function value$factory_0() {
|
|
3889
3889
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
3890
3890
|
return receiver.n2();
|
|
3891
3891
|
}, function (receiver, value) {
|
|
3892
|
-
return receiver.
|
|
3892
|
+
return receiver.j2w(value);
|
|
3893
3893
|
});
|
|
3894
3894
|
}
|
|
3895
3895
|
function ParameterGroup() {
|
|
@@ -3901,29 +3901,29 @@
|
|
|
3901
3901
|
return UNINITIALIZED_instance;
|
|
3902
3902
|
}
|
|
3903
3903
|
function NullableLateinit(errorMessage) {
|
|
3904
|
-
this.
|
|
3905
|
-
this.
|
|
3904
|
+
this.k2w_1 = errorMessage;
|
|
3905
|
+
this.l2w_1 = UNINITIALIZED_instance;
|
|
3906
3906
|
}
|
|
3907
|
-
protoOf(NullableLateinit).
|
|
3908
|
-
if (this.
|
|
3909
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3907
|
+
protoOf(NullableLateinit).n2w = function (thisRef, property) {
|
|
3908
|
+
if (this.l2w_1 === UNINITIALIZED_instance)
|
|
3909
|
+
throw IllegalStateException_init_$Create$(this.k2w_1);
|
|
3910
3910
|
try {
|
|
3911
|
-
var tmp = this.
|
|
3911
|
+
var tmp = this.l2w_1;
|
|
3912
3912
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
3913
3913
|
} catch ($p) {
|
|
3914
3914
|
if ($p instanceof ClassCastException) {
|
|
3915
3915
|
var e = $p;
|
|
3916
|
-
throw IllegalStateException_init_$Create$(this.
|
|
3916
|
+
throw IllegalStateException_init_$Create$(this.k2w_1);
|
|
3917
3917
|
} else {
|
|
3918
3918
|
throw $p;
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
3921
|
};
|
|
3922
|
-
protoOf(NullableLateinit).
|
|
3923
|
-
return this.
|
|
3922
|
+
protoOf(NullableLateinit).p2w = function (thisRef, property) {
|
|
3923
|
+
return this.n2w(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
3924
3924
|
};
|
|
3925
|
-
protoOf(NullableLateinit).
|
|
3926
|
-
this.
|
|
3925
|
+
protoOf(NullableLateinit).m2w = function (thisRef, property, value) {
|
|
3926
|
+
this.l2w_1 = value;
|
|
3927
3927
|
};
|
|
3928
3928
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
3929
3929
|
help = help === VOID ? '' : help;
|
|
@@ -3934,12 +3934,12 @@
|
|
|
3934
3934
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3935
3935
|
var tmp$ret$0 = copyToArray(names);
|
|
3936
3936
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
3937
|
-
var tmp = this_0.
|
|
3938
|
-
var tmp_0 = this_0.
|
|
3939
|
-
var tmp_1 = this_0.
|
|
3940
|
-
var o = this_0.
|
|
3941
|
-
o.
|
|
3942
|
-
_this__u8e3s4.
|
|
3937
|
+
var tmp = this_0.t2w();
|
|
3938
|
+
var tmp_0 = this_0.u2w();
|
|
3939
|
+
var tmp_1 = this_0.v2w();
|
|
3940
|
+
var o = this_0.w2w(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
3941
|
+
o.g2p(groupName);
|
|
3942
|
+
_this__u8e3s4.q2n(o);
|
|
3943
3943
|
return _this__u8e3s4;
|
|
3944
3944
|
}
|
|
3945
3945
|
function eagerOption$lambda($action) {
|
|
@@ -3959,16 +3959,16 @@
|
|
|
3959
3959
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
3960
3960
|
var tmp = boolean(_this__u8e3s4);
|
|
3961
3961
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
3962
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
3962
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).x2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
3963
3963
|
}
|
|
3964
3964
|
function nullableFlag$lambda($secondaryNames) {
|
|
3965
3965
|
return function ($this$transformValues, it) {
|
|
3966
3966
|
var tmp;
|
|
3967
3967
|
if (it.l() > 1) {
|
|
3968
|
-
$this$transformValues.
|
|
3968
|
+
$this$transformValues.y2v($this$transformValues.a2x_1.h2m_1.j2t($this$transformValues.y2w_1));
|
|
3969
3969
|
}
|
|
3970
3970
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
3971
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
3971
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.y2w_1) : tmp0_elvis_lhs;
|
|
3972
3972
|
};
|
|
3973
3973
|
}
|
|
3974
3974
|
function Option_0() {
|
|
@@ -3977,7 +3977,7 @@
|
|
|
3977
3977
|
var tmp$ret$0;
|
|
3978
3978
|
$l$block_0: {
|
|
3979
3979
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
3980
|
-
var iterator = _this__u8e3s4.
|
|
3980
|
+
var iterator = _this__u8e3s4.r2l().r();
|
|
3981
3981
|
if (!iterator.s()) {
|
|
3982
3982
|
tmp$ret$0 = null;
|
|
3983
3983
|
break $l$block_0;
|
|
@@ -4068,13 +4068,13 @@
|
|
|
4068
4068
|
}
|
|
4069
4069
|
function Parsed(values) {
|
|
4070
4070
|
FinalValue.call(this);
|
|
4071
|
-
this.
|
|
4071
|
+
this.e2x_1 = values;
|
|
4072
4072
|
}
|
|
4073
4073
|
protoOf(Parsed).toString = function () {
|
|
4074
|
-
return 'Parsed(values=' + this.
|
|
4074
|
+
return 'Parsed(values=' + this.e2x_1 + ')';
|
|
4075
4075
|
};
|
|
4076
4076
|
protoOf(Parsed).hashCode = function () {
|
|
4077
|
-
return hashCode(this.
|
|
4077
|
+
return hashCode(this.e2x_1);
|
|
4078
4078
|
};
|
|
4079
4079
|
protoOf(Parsed).equals = function (other) {
|
|
4080
4080
|
if (this === other)
|
|
@@ -4082,19 +4082,19 @@
|
|
|
4082
4082
|
if (!(other instanceof Parsed))
|
|
4083
4083
|
return false;
|
|
4084
4084
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4085
|
-
if (!equals(this.
|
|
4085
|
+
if (!equals(this.e2x_1, tmp0_other_with_cast.e2x_1))
|
|
4086
4086
|
return false;
|
|
4087
4087
|
return true;
|
|
4088
4088
|
};
|
|
4089
4089
|
function Sourced(values) {
|
|
4090
4090
|
FinalValue.call(this);
|
|
4091
|
-
this.
|
|
4091
|
+
this.f2x_1 = values;
|
|
4092
4092
|
}
|
|
4093
4093
|
protoOf(Sourced).toString = function () {
|
|
4094
|
-
return 'Sourced(values=' + this.
|
|
4094
|
+
return 'Sourced(values=' + this.f2x_1 + ')';
|
|
4095
4095
|
};
|
|
4096
4096
|
protoOf(Sourced).hashCode = function () {
|
|
4097
|
-
return hashCode(this.
|
|
4097
|
+
return hashCode(this.f2x_1);
|
|
4098
4098
|
};
|
|
4099
4099
|
protoOf(Sourced).equals = function (other) {
|
|
4100
4100
|
if (this === other)
|
|
@@ -4102,21 +4102,21 @@
|
|
|
4102
4102
|
if (!(other instanceof Sourced))
|
|
4103
4103
|
return false;
|
|
4104
4104
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4105
|
-
if (!equals(this.
|
|
4105
|
+
if (!equals(this.f2x_1, tmp0_other_with_cast.f2x_1))
|
|
4106
4106
|
return false;
|
|
4107
4107
|
return true;
|
|
4108
4108
|
};
|
|
4109
4109
|
function Envvar(key, value) {
|
|
4110
4110
|
FinalValue.call(this);
|
|
4111
|
-
this.
|
|
4112
|
-
this.
|
|
4111
|
+
this.g2x_1 = key;
|
|
4112
|
+
this.h2x_1 = value;
|
|
4113
4113
|
}
|
|
4114
4114
|
protoOf(Envvar).toString = function () {
|
|
4115
|
-
return 'Envvar(key=' + this.
|
|
4115
|
+
return 'Envvar(key=' + this.g2x_1 + ', value=' + this.h2x_1 + ')';
|
|
4116
4116
|
};
|
|
4117
4117
|
protoOf(Envvar).hashCode = function () {
|
|
4118
|
-
var result = getStringHashCode(this.
|
|
4119
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4118
|
+
var result = getStringHashCode(this.g2x_1);
|
|
4119
|
+
result = imul(result, 31) + getStringHashCode(this.h2x_1) | 0;
|
|
4120
4120
|
return result;
|
|
4121
4121
|
};
|
|
4122
4122
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4125,9 +4125,9 @@
|
|
|
4125
4125
|
if (!(other instanceof Envvar))
|
|
4126
4126
|
return false;
|
|
4127
4127
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4128
|
-
if (!(this.
|
|
4128
|
+
if (!(this.g2x_1 === tmp0_other_with_cast.g2x_1))
|
|
4129
4129
|
return false;
|
|
4130
|
-
if (!(this.
|
|
4130
|
+
if (!(this.h2x_1 === tmp0_other_with_cast.h2x_1))
|
|
4131
4131
|
return false;
|
|
4132
4132
|
return true;
|
|
4133
4133
|
};
|
|
@@ -4139,7 +4139,7 @@
|
|
|
4139
4139
|
if (!invocations.y()) {
|
|
4140
4140
|
tmp = new Parsed(invocations);
|
|
4141
4141
|
} else {
|
|
4142
|
-
if (context.
|
|
4142
|
+
if (context.e2m_1) {
|
|
4143
4143
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4144
4144
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4145
4145
|
} else {
|
|
@@ -4188,7 +4188,7 @@
|
|
|
4188
4188
|
return setOf_0(normalizedName);
|
|
4189
4189
|
}
|
|
4190
4190
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4191
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4191
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.r2l(), envvar, context.x2l_1);
|
|
4192
4192
|
var tmp;
|
|
4193
4193
|
if (tmp0_elvis_lhs == null) {
|
|
4194
4194
|
return null;
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
tmp = tmp0_elvis_lhs;
|
|
4197
4197
|
}
|
|
4198
4198
|
var env = tmp;
|
|
4199
|
-
var tmp1_safe_receiver = context.
|
|
4199
|
+
var tmp1_safe_receiver = context.i2m_1(env);
|
|
4200
4200
|
var tmp_0;
|
|
4201
4201
|
if (tmp1_safe_receiver == null) {
|
|
4202
4202
|
tmp_0 = null;
|
|
@@ -4209,8 +4209,8 @@
|
|
|
4209
4209
|
return tmp_0;
|
|
4210
4210
|
}
|
|
4211
4211
|
function readValueSource(_this__u8e3s4, context) {
|
|
4212
|
-
var tmp0_safe_receiver = context.
|
|
4213
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4212
|
+
var tmp0_safe_receiver = context.f2m_1;
|
|
4213
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i2x(context, _this__u8e3s4);
|
|
4214
4214
|
var tmp;
|
|
4215
4215
|
if (tmp1_safe_receiver == null) {
|
|
4216
4216
|
tmp = null;
|
|
@@ -4241,56 +4241,56 @@
|
|
|
4241
4241
|
return toString(charSequenceGet(it.n2(), 0)) + '-' + toString(charSequenceGet(it.n2(), 1));
|
|
4242
4242
|
}
|
|
4243
4243
|
function OptionTransformContext(option, context) {
|
|
4244
|
-
this.
|
|
4245
|
-
this.
|
|
4244
|
+
this.f2n_1 = option;
|
|
4245
|
+
this.g2n_1 = context;
|
|
4246
4246
|
}
|
|
4247
|
-
protoOf(OptionTransformContext).
|
|
4248
|
-
return this.
|
|
4247
|
+
protoOf(OptionTransformContext).t2n = function () {
|
|
4248
|
+
return this.g2n_1;
|
|
4249
4249
|
};
|
|
4250
|
-
protoOf(OptionTransformContext).
|
|
4251
|
-
return this.
|
|
4250
|
+
protoOf(OptionTransformContext).p2n = function () {
|
|
4251
|
+
return this.f2n_1.p2n();
|
|
4252
4252
|
};
|
|
4253
|
-
protoOf(OptionTransformContext).
|
|
4254
|
-
return this.
|
|
4253
|
+
protoOf(OptionTransformContext).e2p = function () {
|
|
4254
|
+
return this.f2n_1.e2p();
|
|
4255
4255
|
};
|
|
4256
|
-
protoOf(OptionTransformContext).
|
|
4257
|
-
return this.
|
|
4256
|
+
protoOf(OptionTransformContext).q2m = function () {
|
|
4257
|
+
return this.f2n_1.q2m();
|
|
4258
4258
|
};
|
|
4259
|
-
protoOf(OptionTransformContext).
|
|
4260
|
-
return this.
|
|
4259
|
+
protoOf(OptionTransformContext).d2p = function () {
|
|
4260
|
+
return this.f2n_1.d2p();
|
|
4261
4261
|
};
|
|
4262
|
-
protoOf(OptionTransformContext).
|
|
4263
|
-
return this.
|
|
4262
|
+
protoOf(OptionTransformContext).b2p = function () {
|
|
4263
|
+
return this.f2n_1.b2p();
|
|
4264
4264
|
};
|
|
4265
|
-
protoOf(OptionTransformContext).
|
|
4266
|
-
return this.
|
|
4265
|
+
protoOf(OptionTransformContext).p2m = function () {
|
|
4266
|
+
return this.f2n_1.p2m();
|
|
4267
4267
|
};
|
|
4268
|
-
protoOf(OptionTransformContext).
|
|
4269
|
-
return this.
|
|
4268
|
+
protoOf(OptionTransformContext).r2l = function () {
|
|
4269
|
+
return this.f2n_1.r2l();
|
|
4270
4270
|
};
|
|
4271
|
-
protoOf(OptionTransformContext).
|
|
4272
|
-
return this.
|
|
4271
|
+
protoOf(OptionTransformContext).r2m = function () {
|
|
4272
|
+
return this.f2n_1.r2m();
|
|
4273
4273
|
};
|
|
4274
|
-
protoOf(OptionTransformContext).
|
|
4275
|
-
return this.
|
|
4274
|
+
protoOf(OptionTransformContext).s2l = function () {
|
|
4275
|
+
return this.f2n_1.s2l();
|
|
4276
4276
|
};
|
|
4277
|
-
protoOf(OptionTransformContext).
|
|
4278
|
-
this.
|
|
4277
|
+
protoOf(OptionTransformContext).f2s = function (context, invocations) {
|
|
4278
|
+
this.f2n_1.f2s(context, invocations);
|
|
4279
4279
|
};
|
|
4280
|
-
protoOf(OptionTransformContext).
|
|
4281
|
-
return this.
|
|
4280
|
+
protoOf(OptionTransformContext).b2x = function (context) {
|
|
4281
|
+
return this.f2n_1.b2x(context);
|
|
4282
4282
|
};
|
|
4283
|
-
protoOf(OptionTransformContext).
|
|
4284
|
-
return this.
|
|
4283
|
+
protoOf(OptionTransformContext).a2n = function (context) {
|
|
4284
|
+
return this.f2n_1.a2n(context);
|
|
4285
4285
|
};
|
|
4286
|
-
protoOf(OptionTransformContext).
|
|
4287
|
-
return this.
|
|
4286
|
+
protoOf(OptionTransformContext).l2n = function (context) {
|
|
4287
|
+
return this.f2n_1.l2n(context);
|
|
4288
4288
|
};
|
|
4289
|
-
protoOf(OptionTransformContext).
|
|
4290
|
-
this.
|
|
4289
|
+
protoOf(OptionTransformContext).v2v = function (context) {
|
|
4290
|
+
this.f2n_1.v2v(context);
|
|
4291
4291
|
};
|
|
4292
|
-
protoOf(OptionTransformContext).
|
|
4293
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4292
|
+
protoOf(OptionTransformContext).y2v = function (message) {
|
|
4293
|
+
throw BadParameterValue_init_$Create$_0(message, this.f2n_1);
|
|
4294
4294
|
};
|
|
4295
4295
|
function OptionWithValues() {
|
|
4296
4296
|
}
|
|
@@ -4323,121 +4323,124 @@
|
|
|
4323
4323
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, null, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4324
4324
|
}
|
|
4325
4325
|
function OptionCallTransformContext(name, option, context) {
|
|
4326
|
-
this.
|
|
4327
|
-
this.
|
|
4328
|
-
this.
|
|
4326
|
+
this.y2w_1 = name;
|
|
4327
|
+
this.z2w_1 = option;
|
|
4328
|
+
this.a2x_1 = context;
|
|
4329
4329
|
}
|
|
4330
|
-
protoOf(OptionCallTransformContext).
|
|
4331
|
-
return this.
|
|
4330
|
+
protoOf(OptionCallTransformContext).t2n = function () {
|
|
4331
|
+
return this.a2x_1;
|
|
4332
4332
|
};
|
|
4333
|
-
protoOf(OptionCallTransformContext).
|
|
4334
|
-
return this.
|
|
4333
|
+
protoOf(OptionCallTransformContext).p2n = function () {
|
|
4334
|
+
return this.z2w_1.p2n();
|
|
4335
4335
|
};
|
|
4336
|
-
protoOf(OptionCallTransformContext).
|
|
4337
|
-
return this.
|
|
4336
|
+
protoOf(OptionCallTransformContext).e2p = function () {
|
|
4337
|
+
return this.z2w_1.e2p();
|
|
4338
4338
|
};
|
|
4339
|
-
protoOf(OptionCallTransformContext).
|
|
4340
|
-
return this.
|
|
4339
|
+
protoOf(OptionCallTransformContext).q2m = function () {
|
|
4340
|
+
return this.z2w_1.q2m();
|
|
4341
4341
|
};
|
|
4342
|
-
protoOf(OptionCallTransformContext).
|
|
4343
|
-
return this.
|
|
4342
|
+
protoOf(OptionCallTransformContext).d2p = function () {
|
|
4343
|
+
return this.z2w_1.d2p();
|
|
4344
4344
|
};
|
|
4345
|
-
protoOf(OptionCallTransformContext).
|
|
4346
|
-
return this.
|
|
4345
|
+
protoOf(OptionCallTransformContext).b2p = function () {
|
|
4346
|
+
return this.z2w_1.b2p();
|
|
4347
4347
|
};
|
|
4348
|
-
protoOf(OptionCallTransformContext).
|
|
4349
|
-
return this.
|
|
4348
|
+
protoOf(OptionCallTransformContext).p2m = function () {
|
|
4349
|
+
return this.z2w_1.p2m();
|
|
4350
4350
|
};
|
|
4351
|
-
protoOf(OptionCallTransformContext).
|
|
4352
|
-
return this.
|
|
4351
|
+
protoOf(OptionCallTransformContext).r2l = function () {
|
|
4352
|
+
return this.z2w_1.r2l();
|
|
4353
4353
|
};
|
|
4354
|
-
protoOf(OptionCallTransformContext).
|
|
4355
|
-
return this.
|
|
4354
|
+
protoOf(OptionCallTransformContext).r2m = function () {
|
|
4355
|
+
return this.z2w_1.r2m();
|
|
4356
4356
|
};
|
|
4357
|
-
protoOf(OptionCallTransformContext).
|
|
4358
|
-
return this.
|
|
4357
|
+
protoOf(OptionCallTransformContext).s2l = function () {
|
|
4358
|
+
return this.z2w_1.s2l();
|
|
4359
4359
|
};
|
|
4360
|
-
protoOf(OptionCallTransformContext).
|
|
4361
|
-
this.
|
|
4360
|
+
protoOf(OptionCallTransformContext).f2s = function (context, invocations) {
|
|
4361
|
+
this.z2w_1.f2s(context, invocations);
|
|
4362
4362
|
};
|
|
4363
|
-
protoOf(OptionCallTransformContext).
|
|
4364
|
-
return this.
|
|
4363
|
+
protoOf(OptionCallTransformContext).b2x = function (context) {
|
|
4364
|
+
return this.z2w_1.b2x(context);
|
|
4365
4365
|
};
|
|
4366
|
-
protoOf(OptionCallTransformContext).
|
|
4367
|
-
return this.
|
|
4366
|
+
protoOf(OptionCallTransformContext).a2n = function (context) {
|
|
4367
|
+
return this.z2w_1.a2n(context);
|
|
4368
4368
|
};
|
|
4369
|
-
protoOf(OptionCallTransformContext).
|
|
4370
|
-
return this.
|
|
4369
|
+
protoOf(OptionCallTransformContext).l2n = function (context) {
|
|
4370
|
+
return this.z2w_1.l2n(context);
|
|
4371
4371
|
};
|
|
4372
|
-
protoOf(OptionCallTransformContext).
|
|
4373
|
-
this.
|
|
4372
|
+
protoOf(OptionCallTransformContext).v2v = function (context) {
|
|
4373
|
+
this.z2w_1.v2v(context);
|
|
4374
4374
|
};
|
|
4375
|
-
protoOf(OptionCallTransformContext).
|
|
4376
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4375
|
+
protoOf(OptionCallTransformContext).y2v = function (message) {
|
|
4376
|
+
throw BadParameterValue_init_$Create$_1(message, this.z2w_1, this.y2w_1);
|
|
4377
4377
|
};
|
|
4378
4378
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4379
|
-
return $this$null.
|
|
4379
|
+
return $this$null.h2m_1.l2t();
|
|
4380
4380
|
}
|
|
4381
4381
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4382
|
-
this.
|
|
4383
|
-
this.
|
|
4384
|
-
this.
|
|
4385
|
-
this.
|
|
4386
|
-
this.
|
|
4387
|
-
this.
|
|
4388
|
-
this.
|
|
4389
|
-
this.
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4395
|
-
this.
|
|
4396
|
-
this.
|
|
4397
|
-
this.
|
|
4398
|
-
this.
|
|
4382
|
+
this.r2x_1 = metavarGetter;
|
|
4383
|
+
this.s2x_1 = nvalues;
|
|
4384
|
+
this.t2x_1 = helpGetter;
|
|
4385
|
+
this.u2x_1 = hidden;
|
|
4386
|
+
this.v2x_1 = helpTags;
|
|
4387
|
+
this.w2x_1 = valueSourceKey;
|
|
4388
|
+
this.x2x_1 = envvar;
|
|
4389
|
+
this.y2x_1 = valueSplit;
|
|
4390
|
+
this.z2x_1 = explicitCompletionCandidates;
|
|
4391
|
+
this.a2y_1 = secondaryNames;
|
|
4392
|
+
this.b2y_1 = acceptsNumberValueWithoutName;
|
|
4393
|
+
this.c2y_1 = acceptsUnattachedValue;
|
|
4394
|
+
this.d2y_1 = eager;
|
|
4395
|
+
this.e2y_1 = transformValue;
|
|
4396
|
+
this.f2y_1 = transformEach;
|
|
4397
|
+
this.g2y_1 = transformAll;
|
|
4398
|
+
this.h2y_1 = transformValidator;
|
|
4399
|
+
this.i2y_1 = null;
|
|
4399
4400
|
this.j2y_1 = null;
|
|
4400
|
-
this.k2y_1 =
|
|
4401
|
-
this.l2y_1 =
|
|
4402
|
-
this.m2y_1 = names;
|
|
4401
|
+
this.k2y_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4402
|
+
this.l2y_1 = names;
|
|
4403
4403
|
}
|
|
4404
|
-
protoOf(OptionWithValuesImpl).
|
|
4404
|
+
protoOf(OptionWithValuesImpl).m2x = function () {
|
|
4405
|
+
return this.r2x_1;
|
|
4406
|
+
};
|
|
4407
|
+
protoOf(OptionWithValuesImpl).r2m = function () {
|
|
4405
4408
|
return this.s2x_1;
|
|
4406
4409
|
};
|
|
4407
|
-
protoOf(OptionWithValuesImpl).
|
|
4410
|
+
protoOf(OptionWithValuesImpl).n2x = function () {
|
|
4408
4411
|
return this.t2x_1;
|
|
4409
4412
|
};
|
|
4410
|
-
protoOf(OptionWithValuesImpl).
|
|
4413
|
+
protoOf(OptionWithValuesImpl).p2m = function () {
|
|
4411
4414
|
return this.u2x_1;
|
|
4412
4415
|
};
|
|
4413
|
-
protoOf(OptionWithValuesImpl).
|
|
4416
|
+
protoOf(OptionWithValuesImpl).b2p = function () {
|
|
4414
4417
|
return this.v2x_1;
|
|
4415
4418
|
};
|
|
4416
4419
|
protoOf(OptionWithValuesImpl).c2p = function () {
|
|
4417
4420
|
return this.w2x_1;
|
|
4418
4421
|
};
|
|
4419
|
-
protoOf(OptionWithValuesImpl).
|
|
4422
|
+
protoOf(OptionWithValuesImpl).j2x = function () {
|
|
4420
4423
|
return this.x2x_1;
|
|
4421
4424
|
};
|
|
4422
|
-
protoOf(OptionWithValuesImpl).
|
|
4425
|
+
protoOf(OptionWithValuesImpl).o2x = function () {
|
|
4423
4426
|
return this.y2x_1;
|
|
4424
4427
|
};
|
|
4425
|
-
protoOf(OptionWithValuesImpl).
|
|
4428
|
+
protoOf(OptionWithValuesImpl).l2x = function () {
|
|
4426
4429
|
return this.z2x_1;
|
|
4427
4430
|
};
|
|
4428
|
-
protoOf(OptionWithValuesImpl).
|
|
4431
|
+
protoOf(OptionWithValuesImpl).s2l = function () {
|
|
4429
4432
|
return this.a2y_1;
|
|
4430
4433
|
};
|
|
4431
|
-
protoOf(OptionWithValuesImpl).
|
|
4434
|
+
protoOf(OptionWithValuesImpl).p2n = function () {
|
|
4432
4435
|
return this.b2y_1;
|
|
4433
4436
|
};
|
|
4434
|
-
protoOf(OptionWithValuesImpl).
|
|
4437
|
+
protoOf(OptionWithValuesImpl).e2p = function () {
|
|
4435
4438
|
return this.c2y_1;
|
|
4436
4439
|
};
|
|
4437
|
-
protoOf(OptionWithValuesImpl).
|
|
4440
|
+
protoOf(OptionWithValuesImpl).d2p = function () {
|
|
4438
4441
|
return this.d2y_1;
|
|
4439
4442
|
};
|
|
4440
|
-
protoOf(OptionWithValuesImpl).
|
|
4443
|
+
protoOf(OptionWithValuesImpl).t2w = function () {
|
|
4441
4444
|
return this.e2y_1;
|
|
4442
4445
|
};
|
|
4443
4446
|
protoOf(OptionWithValuesImpl).u2w = function () {
|
|
@@ -4446,23 +4449,20 @@
|
|
|
4446
4449
|
protoOf(OptionWithValuesImpl).v2w = function () {
|
|
4447
4450
|
return this.g2y_1;
|
|
4448
4451
|
};
|
|
4449
|
-
protoOf(OptionWithValuesImpl).
|
|
4452
|
+
protoOf(OptionWithValuesImpl).k2x = function () {
|
|
4450
4453
|
return this.h2y_1;
|
|
4451
4454
|
};
|
|
4452
|
-
protoOf(OptionWithValuesImpl).
|
|
4455
|
+
protoOf(OptionWithValuesImpl).f2p = function () {
|
|
4453
4456
|
return this.i2y_1;
|
|
4454
4457
|
};
|
|
4455
|
-
protoOf(OptionWithValuesImpl).g2p = function () {
|
|
4456
|
-
|
|
4458
|
+
protoOf(OptionWithValuesImpl).g2p = function (_set____db54di) {
|
|
4459
|
+
this.j2y_1 = _set____db54di;
|
|
4457
4460
|
};
|
|
4458
|
-
protoOf(OptionWithValuesImpl).
|
|
4459
|
-
this.
|
|
4460
|
-
};
|
|
4461
|
-
protoOf(OptionWithValuesImpl).b2p = function () {
|
|
4462
|
-
return this.k2y_1;
|
|
4461
|
+
protoOf(OptionWithValuesImpl).a2p = function () {
|
|
4462
|
+
return this.j2y_1;
|
|
4463
4463
|
};
|
|
4464
|
-
protoOf(OptionWithValuesImpl).
|
|
4465
|
-
var tmp0_elvis_lhs = this.
|
|
4464
|
+
protoOf(OptionWithValuesImpl).b2x = function (context) {
|
|
4465
|
+
var tmp0_elvis_lhs = this.r2x_1;
|
|
4466
4466
|
var tmp;
|
|
4467
4467
|
if (tmp0_elvis_lhs == null) {
|
|
4468
4468
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4471,30 +4471,30 @@
|
|
|
4471
4471
|
}
|
|
4472
4472
|
return tmp(context);
|
|
4473
4473
|
};
|
|
4474
|
-
protoOf(OptionWithValuesImpl).
|
|
4475
|
-
return this.
|
|
4474
|
+
protoOf(OptionWithValuesImpl).j2w = function (_set____db54di) {
|
|
4475
|
+
return this.k2y_1.m2w(this, value$factory_1(), _set____db54di);
|
|
4476
4476
|
};
|
|
4477
4477
|
protoOf(OptionWithValuesImpl).n2 = function () {
|
|
4478
|
-
return this.
|
|
4478
|
+
return this.k2y_1.n2w(this, value$factory_2());
|
|
4479
4479
|
};
|
|
4480
|
-
protoOf(OptionWithValuesImpl).
|
|
4481
|
-
return this.
|
|
4480
|
+
protoOf(OptionWithValuesImpl).r2l = function () {
|
|
4481
|
+
return this.l2y_1;
|
|
4482
4482
|
};
|
|
4483
|
-
protoOf(OptionWithValuesImpl).
|
|
4484
|
-
var tmp0_elvis_lhs = this.
|
|
4483
|
+
protoOf(OptionWithValuesImpl).q2m = function () {
|
|
4484
|
+
var tmp0_elvis_lhs = this.z2x_1;
|
|
4485
4485
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4486
4486
|
};
|
|
4487
|
-
protoOf(OptionWithValuesImpl).
|
|
4488
|
-
var tmp0_safe_receiver = this.
|
|
4487
|
+
protoOf(OptionWithValuesImpl).a2n = function (context) {
|
|
4488
|
+
var tmp0_safe_receiver = this.t2x_1;
|
|
4489
4489
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4490
4490
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4491
4491
|
};
|
|
4492
|
-
protoOf(OptionWithValuesImpl).
|
|
4493
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4492
|
+
protoOf(OptionWithValuesImpl).f2s = function (context, invocations) {
|
|
4493
|
+
var v = getFinalValue(this, context, invocations, this.x2x_1);
|
|
4494
4494
|
var tmp;
|
|
4495
4495
|
if (v instanceof Parsed) {
|
|
4496
4496
|
var tmp_0;
|
|
4497
|
-
if (this.
|
|
4497
|
+
if (this.y2x_1 == null) {
|
|
4498
4498
|
tmp_0 = invocations;
|
|
4499
4499
|
} else {
|
|
4500
4500
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4506,17 +4506,17 @@
|
|
|
4506
4506
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4507
4507
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4508
4508
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4509
|
-
var this_0 = item.
|
|
4509
|
+
var this_0 = item.o2y_1;
|
|
4510
4510
|
var destination_0 = ArrayList_init_$Create$();
|
|
4511
4511
|
var tmp0_iterator_0 = this_0.r();
|
|
4512
4512
|
while (tmp0_iterator_0.s()) {
|
|
4513
4513
|
var element = tmp0_iterator_0.u();
|
|
4514
4514
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4515
4515
|
// Inline function 'kotlin.text.split' call
|
|
4516
|
-
var list = this.
|
|
4516
|
+
var list = this.y2x_1.v8(element, 0);
|
|
4517
4517
|
addAll(destination_0, list);
|
|
4518
4518
|
}
|
|
4519
|
-
var tmp$ret$4 = item.
|
|
4519
|
+
var tmp$ret$4 = item.p2y(VOID, destination_0);
|
|
4520
4520
|
destination.o(tmp$ret$4);
|
|
4521
4521
|
}
|
|
4522
4522
|
tmp_0 = destination;
|
|
@@ -4525,27 +4525,27 @@
|
|
|
4525
4525
|
} else {
|
|
4526
4526
|
if (v instanceof Sourced) {
|
|
4527
4527
|
// Inline function 'kotlin.collections.map' call
|
|
4528
|
-
var this_1 = v.
|
|
4528
|
+
var this_1 = v.f2x_1;
|
|
4529
4529
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4530
4530
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4531
4531
|
var tmp0_iterator_1 = this_1.r();
|
|
4532
4532
|
while (tmp0_iterator_1.s()) {
|
|
4533
4533
|
var item_0 = tmp0_iterator_1.u();
|
|
4534
4534
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4535
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4535
|
+
var tmp$ret$7 = new Invocation('', item_0.m2y_1);
|
|
4536
4536
|
destination_1.o(tmp$ret$7);
|
|
4537
4537
|
}
|
|
4538
4538
|
tmp = destination_1;
|
|
4539
4539
|
} else {
|
|
4540
4540
|
if (v instanceof Envvar) {
|
|
4541
4541
|
var tmp_1;
|
|
4542
|
-
if (this.
|
|
4543
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4542
|
+
if (this.y2x_1 == null) {
|
|
4543
|
+
tmp_1 = listOf_0(new Invocation(v.g2x_1, listOf_0(v.h2x_1)));
|
|
4544
4544
|
} else {
|
|
4545
4545
|
// Inline function 'kotlin.text.split' call
|
|
4546
|
-
var this_2 = v.
|
|
4547
|
-
var tmp$ret$10 = this.
|
|
4548
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4546
|
+
var this_2 = v.h2x_1;
|
|
4547
|
+
var tmp$ret$10 = this.y2x_1.v8(this_2, 0);
|
|
4548
|
+
tmp_1 = listOf_0(new Invocation(v.g2x_1, tmp$ret$10));
|
|
4549
4549
|
}
|
|
4550
4550
|
tmp = tmp_1;
|
|
4551
4551
|
} else {
|
|
@@ -4562,39 +4562,39 @@
|
|
|
4562
4562
|
while (tmp0_iterator_2.s()) {
|
|
4563
4563
|
var item_1 = tmp0_iterator_2.u();
|
|
4564
4564
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4565
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4565
|
+
var tc = new OptionCallTransformContext(item_1.n2y_1, this, context);
|
|
4566
4566
|
// Inline function 'kotlin.collections.map' call
|
|
4567
|
-
var this_3 = item_1.
|
|
4567
|
+
var this_3 = item_1.o2y_1;
|
|
4568
4568
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4569
4569
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
4570
4570
|
var tmp0_iterator_3 = this_3.r();
|
|
4571
4571
|
while (tmp0_iterator_3.s()) {
|
|
4572
4572
|
var item_2 = tmp0_iterator_3.u();
|
|
4573
4573
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4574
|
-
var tmp$ret$11 = this.
|
|
4574
|
+
var tmp$ret$11 = this.e2y_1(tc, item_2);
|
|
4575
4575
|
destination_3.o(tmp$ret$11);
|
|
4576
4576
|
}
|
|
4577
|
-
var tmp$ret$14 = this.
|
|
4577
|
+
var tmp$ret$14 = this.f2y_1(tc, destination_3);
|
|
4578
4578
|
destination_2.o(tmp$ret$14);
|
|
4579
4579
|
}
|
|
4580
|
-
this.
|
|
4580
|
+
this.j2w(this.g2y_1(tmp_2, destination_2));
|
|
4581
4581
|
};
|
|
4582
|
-
protoOf(OptionWithValuesImpl).
|
|
4583
|
-
this.
|
|
4584
|
-
thisRef.
|
|
4582
|
+
protoOf(OptionWithValuesImpl).c2x = function (thisRef, property) {
|
|
4583
|
+
this.l2y_1 = inferOptionNames(this.l2y_1, property.callableName);
|
|
4584
|
+
thisRef.q2n(this);
|
|
4585
4585
|
return this;
|
|
4586
4586
|
};
|
|
4587
|
-
protoOf(OptionWithValuesImpl).
|
|
4588
|
-
return this.
|
|
4587
|
+
protoOf(OptionWithValuesImpl).r2w = function (thisRef, property) {
|
|
4588
|
+
return this.c2x((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4589
4589
|
};
|
|
4590
|
-
protoOf(OptionWithValuesImpl).
|
|
4591
|
-
this.
|
|
4590
|
+
protoOf(OptionWithValuesImpl).v2v = function (context) {
|
|
4591
|
+
this.h2y_1(new OptionTransformContext(this, context), this.n2());
|
|
4592
4592
|
};
|
|
4593
|
-
protoOf(OptionWithValuesImpl).
|
|
4593
|
+
protoOf(OptionWithValuesImpl).p2x = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4594
4594
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4595
4595
|
};
|
|
4596
|
-
protoOf(OptionWithValuesImpl).
|
|
4597
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4596
|
+
protoOf(OptionWithValuesImpl).q2x = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4597
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.e2y_1, this.f2y_1, this.g2y_1, validator);
|
|
4598
4598
|
};
|
|
4599
4599
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4600
4600
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4633,8 +4633,8 @@
|
|
|
4633
4633
|
}
|
|
4634
4634
|
return this_0.toString();
|
|
4635
4635
|
};
|
|
4636
|
-
protoOf(OptionWithValuesImpl).
|
|
4637
|
-
return this.
|
|
4636
|
+
protoOf(OptionWithValuesImpl).p2w = function (thisRef, property) {
|
|
4637
|
+
return this.d2x((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4638
4638
|
};
|
|
4639
4639
|
function defaultEachProcessor() {
|
|
4640
4640
|
return defaultEachProcessor$lambda;
|
|
@@ -4671,14 +4671,14 @@
|
|
|
4671
4671
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4672
4672
|
return receiver.n2();
|
|
4673
4673
|
}, function (receiver, value) {
|
|
4674
|
-
return receiver.
|
|
4674
|
+
return receiver.j2w(value);
|
|
4675
4675
|
});
|
|
4676
4676
|
}
|
|
4677
4677
|
function value$factory_2() {
|
|
4678
4678
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4679
4679
|
return receiver.n2();
|
|
4680
4680
|
}, function (receiver, value) {
|
|
4681
|
-
return receiver.
|
|
4681
|
+
return receiver.j2w(value);
|
|
4682
4682
|
});
|
|
4683
4683
|
}
|
|
4684
4684
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4688,7 +4688,7 @@
|
|
|
4688
4688
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4689
4689
|
var tmp;
|
|
4690
4690
|
if (defaultForHelp === VOID) {
|
|
4691
|
-
var tmp_0 = _this__u8e3s4.
|
|
4691
|
+
var tmp_0 = _this__u8e3s4.b2p();
|
|
4692
4692
|
tmp = tmp_0.s2('default');
|
|
4693
4693
|
} else {
|
|
4694
4694
|
tmp = defaultForHelp;
|
|
@@ -4697,7 +4697,7 @@
|
|
|
4697
4697
|
var tmp_1;
|
|
4698
4698
|
if (showAsRequired === VOID) {
|
|
4699
4699
|
// Inline function 'kotlin.collections.contains' call
|
|
4700
|
-
var this_0 = _this__u8e3s4.
|
|
4700
|
+
var this_0 = _this__u8e3s4.b2p();
|
|
4701
4701
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4702
4702
|
var key = 'required';
|
|
4703
4703
|
tmp_1 = (isInterface(this_0, Map) ? this_0 : THROW_CCE()).q2(key);
|
|
@@ -4705,7 +4705,7 @@
|
|
|
4705
4705
|
tmp_1 = showAsRequired;
|
|
4706
4706
|
}
|
|
4707
4707
|
showAsRequired = tmp_1;
|
|
4708
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4708
|
+
var tags = toMutableMap(_this__u8e3s4.b2p());
|
|
4709
4709
|
if (showAsRequired) {
|
|
4710
4710
|
// Inline function 'kotlin.collections.set' call
|
|
4711
4711
|
var key_0 = 'required';
|
|
@@ -4719,7 +4719,7 @@
|
|
|
4719
4719
|
} else {
|
|
4720
4720
|
tags.k2('default');
|
|
4721
4721
|
}
|
|
4722
|
-
return _this__u8e3s4.
|
|
4722
|
+
return _this__u8e3s4.w2w(_this__u8e3s4.t2w(), _this__u8e3s4.u2w(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4723
4723
|
}
|
|
4724
4724
|
function default$lambda($value) {
|
|
4725
4725
|
return function ($this$transformAll, it) {
|
|
@@ -4749,34 +4749,34 @@
|
|
|
4749
4749
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4750
4750
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4751
4751
|
}
|
|
4752
|
-
var tmp = _this__u8e3s4.
|
|
4752
|
+
var tmp = _this__u8e3s4.t2w();
|
|
4753
4753
|
var tmp_0 = defaultAllProcessor_0();
|
|
4754
4754
|
var tmp_1 = defaultValidator_0();
|
|
4755
4755
|
var tmp_2;
|
|
4756
4756
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4757
4757
|
tmp_2 = transformValues$lambda;
|
|
4758
4758
|
} else {
|
|
4759
|
-
tmp_2 = _this__u8e3s4.
|
|
4759
|
+
tmp_2 = _this__u8e3s4.m2x();
|
|
4760
4760
|
}
|
|
4761
|
-
return _this__u8e3s4.
|
|
4761
|
+
return _this__u8e3s4.w2w(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4762
4762
|
}
|
|
4763
4763
|
function transformValues$lambda($this$null) {
|
|
4764
4764
|
return null;
|
|
4765
4765
|
}
|
|
4766
4766
|
function HelpTransformContext(context) {
|
|
4767
|
-
this.
|
|
4767
|
+
this.q2y_1 = context;
|
|
4768
4768
|
}
|
|
4769
|
-
protoOf(HelpTransformContext).
|
|
4770
|
-
return this.
|
|
4769
|
+
protoOf(HelpTransformContext).t2n = function () {
|
|
4770
|
+
return this.q2y_1;
|
|
4771
4771
|
};
|
|
4772
|
-
protoOf(HelpTransformContext).
|
|
4772
|
+
protoOf(HelpTransformContext).y2v = function (message) {
|
|
4773
4773
|
throw new UsageError(message);
|
|
4774
4774
|
};
|
|
4775
4775
|
protoOf(HelpTransformContext).toString = function () {
|
|
4776
|
-
return 'HelpTransformContext(context=' + this.
|
|
4776
|
+
return 'HelpTransformContext(context=' + this.q2y_1 + ')';
|
|
4777
4777
|
};
|
|
4778
4778
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4779
|
-
return hashCode(this.
|
|
4779
|
+
return hashCode(this.q2y_1);
|
|
4780
4780
|
};
|
|
4781
4781
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4782
4782
|
if (this === other)
|
|
@@ -4784,7 +4784,7 @@
|
|
|
4784
4784
|
if (!(other instanceof HelpTransformContext))
|
|
4785
4785
|
return false;
|
|
4786
4786
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4787
|
-
if (!equals(this.
|
|
4787
|
+
if (!equals(this.q2y_1, tmp0_other_with_cast.q2y_1))
|
|
4788
4788
|
return false;
|
|
4789
4789
|
return true;
|
|
4790
4790
|
};
|
|
@@ -4797,10 +4797,10 @@
|
|
|
4797
4797
|
var tmp = defaultEachProcessor();
|
|
4798
4798
|
var tmp_0 = defaultAllProcessor_0();
|
|
4799
4799
|
var tmp_1 = defaultValidator_0();
|
|
4800
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4800
|
+
var tmp0_elvis_lhs = _this__u8e3s4.m2x();
|
|
4801
4801
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4802
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4803
|
-
return _this__u8e3s4.
|
|
4802
|
+
var tmp1_elvis_lhs = _this__u8e3s4.l2x();
|
|
4803
|
+
return _this__u8e3s4.w2w(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4804
4804
|
}
|
|
4805
4805
|
function valueToBool(_this__u8e3s4, value) {
|
|
4806
4806
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4824,7 +4824,7 @@
|
|
|
4824
4824
|
tmp = false;
|
|
4825
4825
|
break;
|
|
4826
4826
|
default:
|
|
4827
|
-
_this__u8e3s4.
|
|
4827
|
+
_this__u8e3s4.y2v(_this__u8e3s4.t2n().h2m_1.k2t(value));
|
|
4828
4828
|
break;
|
|
4829
4829
|
}
|
|
4830
4830
|
return tmp;
|
|
@@ -4839,18 +4839,18 @@
|
|
|
4839
4839
|
var tmp;
|
|
4840
4840
|
try {
|
|
4841
4841
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
4842
|
-
var it_0 = $this.
|
|
4842
|
+
var it_0 = $this.t2w()($this$null, it);
|
|
4843
4843
|
tmp = valueToBool($this$null, it_0);
|
|
4844
4844
|
} catch ($p) {
|
|
4845
4845
|
var tmp_0;
|
|
4846
4846
|
if ($p instanceof UsageError) {
|
|
4847
4847
|
var err = $p;
|
|
4848
4848
|
var tmp_1 = err;
|
|
4849
|
-
var tmp0_elvis_lhs = err.
|
|
4849
|
+
var tmp0_elvis_lhs = err.q2p_1;
|
|
4850
4850
|
var tmp_2;
|
|
4851
4851
|
if (tmp0_elvis_lhs == null) {
|
|
4852
4852
|
// Inline function 'kotlin.takeUnless' call
|
|
4853
|
-
var this_0 = $this$null.
|
|
4853
|
+
var this_0 = $this$null.y2w_1;
|
|
4854
4854
|
// Inline function 'kotlin.contracts.contract' call
|
|
4855
4855
|
var tmp_3;
|
|
4856
4856
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -4865,13 +4865,13 @@
|
|
|
4865
4865
|
tmp_2 = tmp0_elvis_lhs;
|
|
4866
4866
|
}
|
|
4867
4867
|
var tmp1_elvis_lhs = tmp_2;
|
|
4868
|
-
tmp_1.
|
|
4868
|
+
tmp_1.q2p_1 = tmp1_elvis_lhs == null ? longestName($this$null.z2w_1) : tmp1_elvis_lhs;
|
|
4869
4869
|
throw err;
|
|
4870
4870
|
} else {
|
|
4871
4871
|
if ($p instanceof Exception) {
|
|
4872
4872
|
var err_0 = $p;
|
|
4873
4873
|
var tmp2_elvis_lhs = err_0.message;
|
|
4874
|
-
$this$null.
|
|
4874
|
+
$this$null.y2v(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
4875
4875
|
} else {
|
|
4876
4876
|
throw $p;
|
|
4877
4877
|
}
|
|
@@ -4882,23 +4882,23 @@
|
|
|
4882
4882
|
};
|
|
4883
4883
|
}
|
|
4884
4884
|
function Invocation(name, values) {
|
|
4885
|
-
this.
|
|
4886
|
-
this.
|
|
4885
|
+
this.n2y_1 = name;
|
|
4886
|
+
this.o2y_1 = values;
|
|
4887
4887
|
}
|
|
4888
|
-
protoOf(Invocation).
|
|
4888
|
+
protoOf(Invocation).r2y = function (name, values) {
|
|
4889
4889
|
return new Invocation(name, values);
|
|
4890
4890
|
};
|
|
4891
|
-
protoOf(Invocation).
|
|
4892
|
-
name = name === VOID ? this.
|
|
4893
|
-
values = values === VOID ? this.
|
|
4894
|
-
return $super === VOID ? this.
|
|
4891
|
+
protoOf(Invocation).p2y = function (name, values, $super) {
|
|
4892
|
+
name = name === VOID ? this.n2y_1 : name;
|
|
4893
|
+
values = values === VOID ? this.o2y_1 : values;
|
|
4894
|
+
return $super === VOID ? this.r2y(name, values) : $super.r2y.call(this, name, values);
|
|
4895
4895
|
};
|
|
4896
4896
|
protoOf(Invocation).toString = function () {
|
|
4897
|
-
return 'Invocation(name=' + this.
|
|
4897
|
+
return 'Invocation(name=' + this.n2y_1 + ', values=' + this.o2y_1 + ')';
|
|
4898
4898
|
};
|
|
4899
4899
|
protoOf(Invocation).hashCode = function () {
|
|
4900
|
-
var result = getStringHashCode(this.
|
|
4901
|
-
result = imul(result, 31) + hashCode(this.
|
|
4900
|
+
var result = getStringHashCode(this.n2y_1);
|
|
4901
|
+
result = imul(result, 31) + hashCode(this.o2y_1) | 0;
|
|
4902
4902
|
return result;
|
|
4903
4903
|
};
|
|
4904
4904
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -4907,18 +4907,18 @@
|
|
|
4907
4907
|
if (!(other instanceof Invocation))
|
|
4908
4908
|
return false;
|
|
4909
4909
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
4910
|
-
if (!(this.
|
|
4910
|
+
if (!(this.n2y_1 === tmp0_other_with_cast.n2y_1))
|
|
4911
4911
|
return false;
|
|
4912
|
-
if (!equals(this.
|
|
4912
|
+
if (!equals(this.o2y_1, tmp0_other_with_cast.o2y_1))
|
|
4913
4913
|
return false;
|
|
4914
4914
|
return true;
|
|
4915
4915
|
};
|
|
4916
4916
|
function parse($this, argv, context, canRun) {
|
|
4917
4917
|
var tokens = argv;
|
|
4918
|
-
var command = context.
|
|
4919
|
-
var aliases = command.
|
|
4918
|
+
var command = context.u2l_1;
|
|
4919
|
+
var aliases = command.t2m();
|
|
4920
4920
|
// Inline function 'kotlin.collections.associateBy' call
|
|
4921
|
-
var this_0 = command.
|
|
4921
|
+
var this_0 = command.j2l_1;
|
|
4922
4922
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
4923
4923
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
4924
4924
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -4926,7 +4926,7 @@
|
|
|
4926
4926
|
while (tmp0_iterator.s()) {
|
|
4927
4927
|
var element = tmp0_iterator.u();
|
|
4928
4928
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
4929
|
-
var tmp$ret$0 = element.
|
|
4929
|
+
var tmp$ret$0 = element.g2l_1;
|
|
4930
4930
|
destination.j2(tmp$ret$0, element);
|
|
4931
4931
|
}
|
|
4932
4932
|
var subcommands = destination;
|
|
@@ -4934,7 +4934,7 @@
|
|
|
4934
4934
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
4935
4935
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
4936
4936
|
// Inline function 'kotlin.collections.find' call
|
|
4937
|
-
var this_1 = command.
|
|
4937
|
+
var this_1 = command.k2l_1;
|
|
4938
4938
|
var tmp$ret$5;
|
|
4939
4939
|
$l$block: {
|
|
4940
4940
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -4942,7 +4942,7 @@
|
|
|
4942
4942
|
while (tmp0_iterator_0.s()) {
|
|
4943
4943
|
var element_0 = tmp0_iterator_0.u();
|
|
4944
4944
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
4945
|
-
if (element_0.
|
|
4945
|
+
if (element_0.p2n()) {
|
|
4946
4946
|
tmp$ret$5 = element_0;
|
|
4947
4947
|
break $l$block;
|
|
4948
4948
|
}
|
|
@@ -4950,7 +4950,7 @@
|
|
|
4950
4950
|
tmp$ret$5 = null;
|
|
4951
4951
|
}
|
|
4952
4952
|
var numberOption = tmp$ret$5;
|
|
4953
|
-
var arguments_0 = command.
|
|
4953
|
+
var arguments_0 = command.l2l_1;
|
|
4954
4954
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
4955
4955
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
4956
4956
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -4958,11 +4958,11 @@
|
|
|
4958
4958
|
var tmp$ret$10;
|
|
4959
4959
|
$l$block_0: {
|
|
4960
4960
|
// Inline function 'kotlin.sequences.any' call
|
|
4961
|
-
var tmp0_iterator_1 = context.
|
|
4961
|
+
var tmp0_iterator_1 = context.d2n().r();
|
|
4962
4962
|
while (tmp0_iterator_1.s()) {
|
|
4963
4963
|
var element_1 = tmp0_iterator_1.u();
|
|
4964
4964
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
4965
|
-
if (element_1.
|
|
4965
|
+
if (element_1.u2l_1.d2l_1) {
|
|
4966
4966
|
tmp$ret$10 = true;
|
|
4967
4967
|
break $l$block_0;
|
|
4968
4968
|
}
|
|
@@ -4974,24 +4974,24 @@
|
|
|
4974
4974
|
var positionalArgs = ArrayList_init_$Create$();
|
|
4975
4975
|
var subcommand = null;
|
|
4976
4976
|
var canParseOptions = true;
|
|
4977
|
-
var canExpandAtFiles = context.
|
|
4977
|
+
var canExpandAtFiles = context.y2o();
|
|
4978
4978
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4979
4979
|
var invocations = ArrayList_init_$Create$();
|
|
4980
4980
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4981
4981
|
var errors = ArrayList_init_$Create$();
|
|
4982
4982
|
var i = {_v: 0};
|
|
4983
4983
|
var minAliasI = 0;
|
|
4984
|
-
var tmp0_iterator_2 = command.
|
|
4984
|
+
var tmp0_iterator_2 = command.k2l_1.r();
|
|
4985
4985
|
while (tmp0_iterator_2.s()) {
|
|
4986
4986
|
var option = tmp0_iterator_2.u();
|
|
4987
4987
|
// Inline function 'kotlin.require' call
|
|
4988
4988
|
var tmp;
|
|
4989
4989
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4990
|
-
if (!option.
|
|
4990
|
+
if (!option.r2l().y()) {
|
|
4991
4991
|
tmp = true;
|
|
4992
4992
|
} else {
|
|
4993
4993
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4994
|
-
tmp = !option.
|
|
4994
|
+
tmp = !option.s2l().y();
|
|
4995
4995
|
}
|
|
4996
4996
|
// Inline function 'kotlin.contracts.contract' call
|
|
4997
4997
|
if (!tmp) {
|
|
@@ -5001,12 +5001,12 @@
|
|
|
5001
5001
|
}
|
|
5002
5002
|
// Inline function 'kotlin.require' call
|
|
5003
5003
|
// Inline function 'kotlin.contracts.contract' call
|
|
5004
|
-
if (!(option.
|
|
5004
|
+
if (!(option.e2p() ? true : option.r2m().ge_1 <= 1)) {
|
|
5005
5005
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5006
5006
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5007
5007
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5008
5008
|
}
|
|
5009
|
-
var tmp1_iterator = plus(option.
|
|
5009
|
+
var tmp1_iterator = plus(option.r2l(), option.s2l()).r();
|
|
5010
5010
|
while (tmp1_iterator.s()) {
|
|
5011
5011
|
var name = tmp1_iterator.u();
|
|
5012
5012
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5021,12 +5021,12 @@
|
|
|
5021
5021
|
}
|
|
5022
5022
|
}
|
|
5023
5023
|
prefixes.p('');
|
|
5024
|
-
if (tokens.y() ? command.
|
|
5024
|
+
if (tokens.y() ? command.a2l_1 : false) {
|
|
5025
5025
|
throw new PrintHelpMessage(context, true);
|
|
5026
5026
|
}
|
|
5027
5027
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5028
5028
|
var tok = tokens.c1(i._v);
|
|
5029
|
-
var normTok = context.
|
|
5029
|
+
var normTok = context.b2m_1(context, tok);
|
|
5030
5030
|
var prefix = splitOptionPrefix(tok).y5_1;
|
|
5031
5031
|
var tmp_0;
|
|
5032
5032
|
if (canExpandAtFiles ? startsWith(tok, '@') : false) {
|
|
@@ -5054,8 +5054,8 @@
|
|
|
5054
5054
|
canParseOptions = false;
|
|
5055
5055
|
canExpandAtFiles = false;
|
|
5056
5056
|
} else {
|
|
5057
|
-
if (canParseOptions ? (((prefix.length > 1 ? prefixes.n(prefix) : false) ? true : longNames.n(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.
|
|
5058
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.
|
|
5057
|
+
if (canParseOptions ? (((prefix.length > 1 ? prefixes.n(prefix) : false) ? true : longNames.n(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok)) ? true : !context.w2l_1 : false) {
|
|
5058
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.e2l_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5059
5059
|
} else {
|
|
5060
5060
|
var tmp_1;
|
|
5061
5061
|
var tmp_2;
|
|
@@ -5071,7 +5071,7 @@
|
|
|
5071
5071
|
tmp_1 = false;
|
|
5072
5072
|
}
|
|
5073
5073
|
if (tmp_1) {
|
|
5074
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.
|
|
5074
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.e2l_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5075
5075
|
} else {
|
|
5076
5076
|
var tmp_3;
|
|
5077
5077
|
if (i._v >= minAliasI) {
|
|
@@ -5093,7 +5093,7 @@
|
|
|
5093
5093
|
i._v = i._v + 1 | 0;
|
|
5094
5094
|
break loop;
|
|
5095
5095
|
} else {
|
|
5096
|
-
if (!context.
|
|
5096
|
+
if (!context.v2l_1)
|
|
5097
5097
|
canParseOptions = false;
|
|
5098
5098
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5099
5099
|
var element_4 = to(i._v, tokens.c1(i._v));
|
|
@@ -5113,7 +5113,7 @@
|
|
|
5113
5113
|
while (tmp0_iterator_3.s()) {
|
|
5114
5114
|
var element_5 = tmp0_iterator_3.u();
|
|
5115
5115
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5116
|
-
var key = element_5.
|
|
5116
|
+
var key = element_5.s2y_1;
|
|
5117
5117
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5118
5118
|
var value = destination_0.s2(key);
|
|
5119
5119
|
var tmp_4;
|
|
@@ -5127,7 +5127,7 @@
|
|
|
5127
5127
|
}
|
|
5128
5128
|
var list = tmp_4;
|
|
5129
5129
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5130
|
-
var tmp$ret$28 = element_5.
|
|
5130
|
+
var tmp$ret$28 = element_5.v2y();
|
|
5131
5131
|
list.o(tmp$ret$28);
|
|
5132
5132
|
}
|
|
5133
5133
|
var invocationsByOption = destination_0;
|
|
@@ -5138,9 +5138,9 @@
|
|
|
5138
5138
|
while (tmp0_iterator_4.s()) {
|
|
5139
5139
|
var element_6 = tmp0_iterator_4.u();
|
|
5140
5140
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5141
|
-
var tmp_5 = element_6.
|
|
5141
|
+
var tmp_5 = element_6.s2y_1;
|
|
5142
5142
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5143
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5143
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f2p();
|
|
5144
5144
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5145
5145
|
var value_0 = destination_1.s2(key_0);
|
|
5146
5146
|
var tmp_6;
|
|
@@ -5176,7 +5176,7 @@
|
|
|
5176
5176
|
while (tmp0_iterator_6.s()) {
|
|
5177
5177
|
var element_8 = tmp0_iterator_6.u();
|
|
5178
5178
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5179
|
-
var key_1 = element_8.
|
|
5179
|
+
var key_1 = element_8.s2y_1;
|
|
5180
5180
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5181
5181
|
var value_1 = destination_3.s2(key_1);
|
|
5182
5182
|
var tmp_8;
|
|
@@ -5190,7 +5190,7 @@
|
|
|
5190
5190
|
}
|
|
5191
5191
|
var list_1 = tmp_8;
|
|
5192
5192
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5193
|
-
var tmp$ret$41 = element_8.
|
|
5193
|
+
var tmp$ret$41 = element_8.v2y();
|
|
5194
5194
|
list_1.o(tmp$ret$41);
|
|
5195
5195
|
}
|
|
5196
5196
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5199,7 +5199,7 @@
|
|
|
5199
5199
|
while (tmp0_iterator_7.s()) {
|
|
5200
5200
|
var entry = tmp0_iterator_7.u();
|
|
5201
5201
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5202
|
-
if (!entry.m2().
|
|
5202
|
+
if (!entry.m2().d2p()) {
|
|
5203
5203
|
result.j2(entry.m2(), entry.n2());
|
|
5204
5204
|
}
|
|
5205
5205
|
}
|
|
@@ -5208,16 +5208,16 @@
|
|
|
5208
5208
|
var invocationsByOptionByGroup = destination_2;
|
|
5209
5209
|
// Inline function 'kotlin.collections.filter' call
|
|
5210
5210
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5211
|
-
var this_2 = command.
|
|
5211
|
+
var this_2 = command.k2l_1;
|
|
5212
5212
|
var destination_4 = ArrayList_init_$Create$();
|
|
5213
5213
|
var tmp0_iterator_8 = this_2.r();
|
|
5214
5214
|
while (tmp0_iterator_8.s()) {
|
|
5215
5215
|
var element_9 = tmp0_iterator_8.u();
|
|
5216
5216
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5217
5217
|
var tmp_9;
|
|
5218
|
-
if (!element_9.
|
|
5218
|
+
if (!element_9.d2p()) {
|
|
5219
5219
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5220
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5220
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f2p()) == null;
|
|
5221
5221
|
} else {
|
|
5222
5222
|
tmp_9 = false;
|
|
5223
5223
|
}
|
|
@@ -5245,16 +5245,16 @@
|
|
|
5245
5245
|
} catch ($p) {
|
|
5246
5246
|
if ($p instanceof UsageError) {
|
|
5247
5247
|
var e = $p;
|
|
5248
|
-
e.
|
|
5248
|
+
e.s2p(context);
|
|
5249
5249
|
throw e;
|
|
5250
5250
|
} else {
|
|
5251
5251
|
throw $p;
|
|
5252
5252
|
}
|
|
5253
5253
|
}
|
|
5254
5254
|
if (!(subcommand == null)) {
|
|
5255
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5255
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.q2l(), true);
|
|
5256
5256
|
var tmp_11;
|
|
5257
|
-
if (command.
|
|
5257
|
+
if (command.d2l_1) {
|
|
5258
5258
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5259
5259
|
tmp_11 = !nextTokens.y();
|
|
5260
5260
|
} else {
|
|
@@ -5266,7 +5266,7 @@
|
|
|
5266
5266
|
return nextTokens;
|
|
5267
5267
|
}
|
|
5268
5268
|
}finally {
|
|
5269
|
-
context.
|
|
5269
|
+
context.x2o();
|
|
5270
5270
|
}
|
|
5271
5271
|
return drop_0(tokens, i._v);
|
|
5272
5272
|
}
|
|
@@ -5282,13 +5282,13 @@
|
|
|
5282
5282
|
var o = element.m2();
|
|
5283
5283
|
// Inline function 'kotlin.collections.component2' call
|
|
5284
5284
|
var inv = element.n2();
|
|
5285
|
-
if (o.
|
|
5286
|
-
o.
|
|
5287
|
-
o.
|
|
5285
|
+
if (o.d2p()) {
|
|
5286
|
+
o.f2s(context, inv);
|
|
5287
|
+
o.v2v(context);
|
|
5288
5288
|
}
|
|
5289
5289
|
}
|
|
5290
5290
|
var argsParseResult = parseArguments($this, nextArgvI, positionalArgs, arguments_0);
|
|
5291
|
-
var tmp0_safe_receiver = argsParseResult.
|
|
5291
|
+
var tmp0_safe_receiver = argsParseResult.y2y_1;
|
|
5292
5292
|
if (tmp0_safe_receiver == null)
|
|
5293
5293
|
null;
|
|
5294
5294
|
else {
|
|
@@ -5296,9 +5296,9 @@
|
|
|
5296
5296
|
// Inline function 'kotlin.contracts.contract' call
|
|
5297
5297
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5298
5298
|
errors.o(tmp0_safe_receiver);
|
|
5299
|
-
context.
|
|
5299
|
+
context.m2m_1 = true;
|
|
5300
5300
|
}
|
|
5301
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5301
|
+
var excessResult = handleExcessArguments($this, argsParseResult.w2y_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5302
5302
|
var tmp1_safe_receiver = excessResult.z5_1;
|
|
5303
5303
|
if (tmp1_safe_receiver == null)
|
|
5304
5304
|
null;
|
|
@@ -5307,7 +5307,7 @@
|
|
|
5307
5307
|
// Inline function 'kotlin.contracts.contract' call
|
|
5308
5308
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5309
5309
|
errors.o(tmp1_safe_receiver);
|
|
5310
|
-
context.
|
|
5310
|
+
context.m2m_1 = true;
|
|
5311
5311
|
}
|
|
5312
5312
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5313
5313
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
@@ -5319,7 +5319,7 @@
|
|
|
5319
5319
|
while (tmp0_iterator_0.s()) {
|
|
5320
5320
|
var element_0 = tmp0_iterator_0.u();
|
|
5321
5321
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5322
|
-
if (element_0.
|
|
5322
|
+
if (element_0.b2z_1) {
|
|
5323
5323
|
destination.o(element_0);
|
|
5324
5324
|
}
|
|
5325
5325
|
}
|
|
@@ -5341,7 +5341,7 @@
|
|
|
5341
5341
|
while (tmp0_iterator_1.s()) {
|
|
5342
5342
|
var item = tmp0_iterator_1.u();
|
|
5343
5343
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5344
|
-
var tmp$ret$13 = item.
|
|
5344
|
+
var tmp$ret$13 = item.z2y_1;
|
|
5345
5345
|
destination_0.o(tmp$ret$13);
|
|
5346
5346
|
}
|
|
5347
5347
|
var usageErrors = destination_0;
|
|
@@ -5349,18 +5349,18 @@
|
|
|
5349
5349
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5350
5350
|
try {
|
|
5351
5351
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5352
|
-
finalizeParameters(context, ungroupedOptions, command.
|
|
5352
|
+
finalizeParameters(context, ungroupedOptions, command.m2l_1, invocationsByOptionByGroup, argsParseResult.x2y_1);
|
|
5353
5353
|
} catch ($p) {
|
|
5354
5354
|
if ($p instanceof UsageError) {
|
|
5355
5355
|
var e = $p;
|
|
5356
5356
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5357
5357
|
usageErrors.o(e);
|
|
5358
|
-
context.
|
|
5358
|
+
context.m2m_1 = true;
|
|
5359
5359
|
} else {
|
|
5360
5360
|
throw $p;
|
|
5361
5361
|
}
|
|
5362
5362
|
}
|
|
5363
|
-
var tmp2_safe_receiver = Companion_instance_1.
|
|
5363
|
+
var tmp2_safe_receiver = Companion_instance_1.x2p(usageErrors);
|
|
5364
5364
|
if (tmp2_safe_receiver == null)
|
|
5365
5365
|
null;
|
|
5366
5366
|
else {
|
|
@@ -5376,59 +5376,59 @@
|
|
|
5376
5376
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5377
5377
|
try {
|
|
5378
5378
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5379
|
-
element_1.
|
|
5379
|
+
element_1.v2v(context);
|
|
5380
5380
|
} catch ($p) {
|
|
5381
5381
|
if ($p instanceof UsageError) {
|
|
5382
5382
|
var e_0 = $p;
|
|
5383
5383
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5384
5384
|
usageErrors.o(e_0);
|
|
5385
|
-
context.
|
|
5385
|
+
context.m2m_1 = true;
|
|
5386
5386
|
} else {
|
|
5387
5387
|
throw $p;
|
|
5388
5388
|
}
|
|
5389
5389
|
}
|
|
5390
5390
|
}
|
|
5391
5391
|
// Inline function 'kotlin.collections.forEach' call
|
|
5392
|
-
var tmp0_iterator_3 = command.
|
|
5392
|
+
var tmp0_iterator_3 = command.m2l_1.r();
|
|
5393
5393
|
while (tmp0_iterator_3.s()) {
|
|
5394
5394
|
var element_2 = tmp0_iterator_3.u();
|
|
5395
5395
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5396
5396
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5397
5397
|
try {
|
|
5398
5398
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5399
|
-
element_2.
|
|
5399
|
+
element_2.v2v(context);
|
|
5400
5400
|
} catch ($p) {
|
|
5401
5401
|
if ($p instanceof UsageError) {
|
|
5402
5402
|
var e_1 = $p;
|
|
5403
5403
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5404
5404
|
usageErrors.o(e_1);
|
|
5405
|
-
context.
|
|
5405
|
+
context.m2m_1 = true;
|
|
5406
5406
|
} else {
|
|
5407
5407
|
throw $p;
|
|
5408
5408
|
}
|
|
5409
5409
|
}
|
|
5410
5410
|
}
|
|
5411
5411
|
// Inline function 'kotlin.collections.forEach' call
|
|
5412
|
-
var tmp0_iterator_4 = command.
|
|
5412
|
+
var tmp0_iterator_4 = command.l2l_1.r();
|
|
5413
5413
|
while (tmp0_iterator_4.s()) {
|
|
5414
5414
|
var element_3 = tmp0_iterator_4.u();
|
|
5415
5415
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5416
5416
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5417
5417
|
try {
|
|
5418
5418
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5419
|
-
element_3.
|
|
5419
|
+
element_3.v2v(context);
|
|
5420
5420
|
} catch ($p) {
|
|
5421
5421
|
if ($p instanceof UsageError) {
|
|
5422
5422
|
var e_2 = $p;
|
|
5423
5423
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5424
5424
|
usageErrors.o(e_2);
|
|
5425
|
-
context.
|
|
5425
|
+
context.m2m_1 = true;
|
|
5426
5426
|
} else {
|
|
5427
5427
|
throw $p;
|
|
5428
5428
|
}
|
|
5429
5429
|
}
|
|
5430
5430
|
}
|
|
5431
|
-
var tmp3_safe_receiver = Companion_instance_1.
|
|
5431
|
+
var tmp3_safe_receiver = Companion_instance_1.x2p(usageErrors);
|
|
5432
5432
|
if (tmp3_safe_receiver == null)
|
|
5433
5433
|
null;
|
|
5434
5434
|
else {
|
|
@@ -5445,22 +5445,22 @@
|
|
|
5445
5445
|
tmp_2 = false;
|
|
5446
5446
|
}
|
|
5447
5447
|
if (tmp_2) {
|
|
5448
|
-
tmp_1 = !command.
|
|
5448
|
+
tmp_1 = !command.z2k_1;
|
|
5449
5449
|
} else {
|
|
5450
5450
|
tmp_1 = false;
|
|
5451
5451
|
}
|
|
5452
5452
|
if (tmp_1) {
|
|
5453
5453
|
throw new PrintHelpMessage(context, true);
|
|
5454
5454
|
}
|
|
5455
|
-
command.
|
|
5456
|
-
if (command.
|
|
5457
|
-
var tmp4_iterator = command.
|
|
5455
|
+
command.q2l().l2m_1 = subcommand;
|
|
5456
|
+
if (command.q2l().y2l_1) {
|
|
5457
|
+
var tmp4_iterator = command.n2n().r();
|
|
5458
5458
|
while (tmp4_iterator.s()) {
|
|
5459
5459
|
var warning = tmp4_iterator.u();
|
|
5460
|
-
get_terminal(command).
|
|
5460
|
+
get_terminal(command).e2i(warning, VOID, VOID, VOID, VOID, true);
|
|
5461
5461
|
}
|
|
5462
5462
|
}
|
|
5463
|
-
command.
|
|
5463
|
+
command.f2o();
|
|
5464
5464
|
return nextArgvI;
|
|
5465
5465
|
}
|
|
5466
5466
|
function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens, subcommands, positionalArgs, context) {
|
|
@@ -5478,7 +5478,7 @@
|
|
|
5478
5478
|
}
|
|
5479
5479
|
if (tmp_0) {
|
|
5480
5480
|
var actual = last(positionalArgs).z5_1;
|
|
5481
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5481
|
+
throw new NoSuchSubcommand(actual, context.g2m_1(actual, toList_0(subcommands.i2())));
|
|
5482
5482
|
} else {
|
|
5483
5483
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5484
5484
|
}
|
|
@@ -5505,7 +5505,7 @@
|
|
|
5505
5505
|
var tmp0_container = tmp;
|
|
5506
5506
|
var name = tmp0_container.a6();
|
|
5507
5507
|
var attachedValue = tmp0_container.b6();
|
|
5508
|
-
name = context.
|
|
5508
|
+
name = context.b2m_1(context, name);
|
|
5509
5509
|
var tmp1_elvis_lhs = optionsByName.s2(name);
|
|
5510
5510
|
var tmp_1;
|
|
5511
5511
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5522,11 +5522,11 @@
|
|
|
5522
5522
|
while (tmp0_iterator.s()) {
|
|
5523
5523
|
var element = tmp0_iterator.u();
|
|
5524
5524
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5525
|
-
if (!element.n2().
|
|
5525
|
+
if (!element.n2().p2m()) {
|
|
5526
5526
|
destination.j2(element.m2(), element.n2());
|
|
5527
5527
|
}
|
|
5528
5528
|
}
|
|
5529
|
-
var possibilities = context.
|
|
5529
|
+
var possibilities = context.g2m_1(tmp_3, toList_0(destination.i2()));
|
|
5530
5530
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5531
5531
|
}
|
|
5532
5532
|
} else {
|
|
@@ -5541,7 +5541,7 @@
|
|
|
5541
5541
|
if (!(attachedValue == null)) {
|
|
5542
5542
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5543
5543
|
values.o(attachedValue);
|
|
5544
|
-
} else if (!option.
|
|
5544
|
+
} else if (!option.e2p()) {
|
|
5545
5545
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5546
5546
|
}
|
|
5547
5547
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5551,10 +5551,10 @@
|
|
|
5551
5551
|
var i = inductionVariable;
|
|
5552
5552
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5553
5553
|
var tok = tokens.c1(i);
|
|
5554
|
-
if (values.l() >= option.
|
|
5554
|
+
if (values.l() >= option.r2m().ge_1)
|
|
5555
5555
|
break $l$loop_0;
|
|
5556
5556
|
var tmp;
|
|
5557
|
-
if (values.l() >= option.
|
|
5557
|
+
if (values.l() >= option.r2m().fe_1) {
|
|
5558
5558
|
var tmp_0;
|
|
5559
5559
|
var tmp_1;
|
|
5560
5560
|
var tmp_2;
|
|
@@ -5595,7 +5595,7 @@
|
|
|
5595
5595
|
}
|
|
5596
5596
|
while (!(i === last));
|
|
5597
5597
|
var consumed = values.l() + (attachedValue == null ? 1 : 0) | 0;
|
|
5598
|
-
var progression = option.
|
|
5598
|
+
var progression = option.r2m();
|
|
5599
5599
|
var containsLower = progression.fe_1;
|
|
5600
5600
|
var containsUpper = progression.ge_1;
|
|
5601
5601
|
var containsArg = values.l();
|
|
@@ -5641,7 +5641,7 @@
|
|
|
5641
5641
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5642
5642
|
if (i === 0)
|
|
5643
5643
|
continue $l$loop;
|
|
5644
|
-
var name = context.
|
|
5644
|
+
var name = context.b2m_1(context, prefix + toString(opt));
|
|
5645
5645
|
var tmp2_elvis_lhs = optionsByName.s2(name);
|
|
5646
5646
|
var tmp_0;
|
|
5647
5647
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -5671,10 +5671,10 @@
|
|
|
5671
5671
|
tmp_0 = tmp2_elvis_lhs;
|
|
5672
5672
|
}
|
|
5673
5673
|
var option = tmp_0;
|
|
5674
|
-
if (option.
|
|
5674
|
+
if (option.r2m().ge_1 > 0) {
|
|
5675
5675
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
5676
5676
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
5677
|
-
return result.
|
|
5677
|
+
return result.g2z(VOID, VOID, plus_0(invocations, result.e2z_1));
|
|
5678
5678
|
} else {
|
|
5679
5679
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5680
5680
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -5695,7 +5695,7 @@
|
|
|
5695
5695
|
$l$loop: while (tmp0_iterator.s()) {
|
|
5696
5696
|
var item = tmp0_iterator.u();
|
|
5697
5697
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
5698
|
-
if (!(item.
|
|
5698
|
+
if (!(item.r2m() > 0))
|
|
5699
5699
|
break $l$loop;
|
|
5700
5700
|
list.o(item);
|
|
5701
5701
|
}
|
|
@@ -5705,7 +5705,7 @@
|
|
|
5705
5705
|
var element = tmp0_iterator_0.u();
|
|
5706
5706
|
var tmp_0 = sum;
|
|
5707
5707
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
5708
|
-
sum = tmp_0 + element.
|
|
5708
|
+
sum = tmp_0 + element.r2m() | 0;
|
|
5709
5709
|
}
|
|
5710
5710
|
var endSize = sum;
|
|
5711
5711
|
var i = 0;
|
|
@@ -5714,15 +5714,15 @@
|
|
|
5714
5714
|
var argument = tmp0_iterator_1.u();
|
|
5715
5715
|
var remaining = positionalArgs.l() - i | 0;
|
|
5716
5716
|
var tmp_1;
|
|
5717
|
-
if (argument.
|
|
5717
|
+
if (argument.r2m() <= 0) {
|
|
5718
5718
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
5719
|
-
var a = argument.
|
|
5719
|
+
var a = argument.u2v() ? 1 : 0;
|
|
5720
5720
|
var b = remaining - endSize | 0;
|
|
5721
5721
|
tmp_1 = Math.max(a, b);
|
|
5722
|
-
} else if ((argument.
|
|
5722
|
+
} else if ((argument.r2m() > 0 ? !argument.u2v() : false) ? remaining === 0 : false) {
|
|
5723
5723
|
tmp_1 = 0;
|
|
5724
5724
|
} else {
|
|
5725
|
-
tmp_1 = argument.
|
|
5725
|
+
tmp_1 = argument.r2m();
|
|
5726
5726
|
}
|
|
5727
5727
|
var consumed = tmp_1;
|
|
5728
5728
|
if (consumed > remaining) {
|
|
@@ -5753,24 +5753,24 @@
|
|
|
5753
5753
|
return new ArgsParseResult(excess, toList_1(out), null);
|
|
5754
5754
|
}
|
|
5755
5755
|
function loadArgFile($this, filename, context) {
|
|
5756
|
-
return shlex(filename, ensureNotNull(context.
|
|
5756
|
+
return shlex(filename, ensureNotNull(context.d2m_1)(filename), context);
|
|
5757
5757
|
}
|
|
5758
5758
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
5759
5759
|
var tmp = takeLast(positionalArgs, excess);
|
|
5760
5760
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
5761
|
-
var message = excess === 1 ? context.
|
|
5761
|
+
var message = excess === 1 ? context.h2m_1.h2t(actual) : context.h2m_1.i2t(actual, excess);
|
|
5762
5762
|
// Inline function 'kotlin.also' call
|
|
5763
5763
|
var this_0 = new UsageError(message);
|
|
5764
5764
|
// Inline function 'kotlin.contracts.contract' call
|
|
5765
5765
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.excessArgsError.<anonymous>' call
|
|
5766
|
-
this_0.
|
|
5766
|
+
this_0.s2p(context);
|
|
5767
5767
|
return this_0;
|
|
5768
5768
|
}
|
|
5769
5769
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
5770
|
-
this.
|
|
5770
|
+
this.h2z_1 = function_0;
|
|
5771
5771
|
}
|
|
5772
5772
|
protoOf(sam$kotlin_Comparator$0_2).r9 = function (a, b) {
|
|
5773
|
-
return this.
|
|
5773
|
+
return this.h2z_1(a, b);
|
|
5774
5774
|
};
|
|
5775
5775
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
5776
5776
|
return this.r9(a, b);
|
|
@@ -5783,17 +5783,17 @@
|
|
|
5783
5783
|
return false;
|
|
5784
5784
|
if (prefix.length > 1)
|
|
5785
5785
|
return true;
|
|
5786
|
-
if (longNames.n($context.
|
|
5786
|
+
if (longNames.n($context.b2m_1($context, substringBefore(token, '='))))
|
|
5787
5787
|
return true;
|
|
5788
5788
|
// Inline function 'kotlin.collections.contains' call
|
|
5789
5789
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5790
|
-
var key = $context.
|
|
5790
|
+
var key = $context.b2m_1($context, take(token, 2));
|
|
5791
5791
|
return !(isInterface(optionsByName, Map) ? optionsByName : THROW_CCE()).q2(key);
|
|
5792
5792
|
}
|
|
5793
5793
|
function parse$consumeParse(positionalArgs, invocations, errors, $context, i, tokenIndex, result) {
|
|
5794
5794
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5795
5795
|
// Inline function 'kotlin.collections.map' call
|
|
5796
|
-
var this_0 = result.
|
|
5796
|
+
var this_0 = result.d2z_1;
|
|
5797
5797
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5798
5798
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5799
5799
|
var tmp0_iterator = this_0.r();
|
|
@@ -5805,9 +5805,9 @@
|
|
|
5805
5805
|
}
|
|
5806
5806
|
addAll(positionalArgs, destination);
|
|
5807
5807
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5808
|
-
var elements = result.
|
|
5808
|
+
var elements = result.e2z_1;
|
|
5809
5809
|
addAll(invocations, elements);
|
|
5810
|
-
var tmp0_safe_receiver = result.
|
|
5810
|
+
var tmp0_safe_receiver = result.f2z_1;
|
|
5811
5811
|
if (tmp0_safe_receiver == null)
|
|
5812
5812
|
null;
|
|
5813
5813
|
else {
|
|
@@ -5815,16 +5815,16 @@
|
|
|
5815
5815
|
// Inline function 'kotlin.contracts.contract' call
|
|
5816
5816
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5817
5817
|
errors.o(tmp0_safe_receiver);
|
|
5818
|
-
$context.
|
|
5818
|
+
$context.m2m_1 = true;
|
|
5819
5819
|
}
|
|
5820
|
-
i._v = i._v + result.
|
|
5820
|
+
i._v = i._v + result.c2z_1 | 0;
|
|
5821
5821
|
}
|
|
5822
5822
|
function Parser$finalizeAndRun$lambda(a, b) {
|
|
5823
5823
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
5824
5824
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5825
|
-
var tmp = a.
|
|
5825
|
+
var tmp = a.a2z_1;
|
|
5826
5826
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5827
|
-
var tmp$ret$1 = b.
|
|
5827
|
+
var tmp$ret$1 = b.a2z_1;
|
|
5828
5828
|
return compareValues(tmp, tmp$ret$1);
|
|
5829
5829
|
}
|
|
5830
5830
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -5836,7 +5836,7 @@
|
|
|
5836
5836
|
}
|
|
5837
5837
|
function Parser() {
|
|
5838
5838
|
}
|
|
5839
|
-
protoOf(Parser).
|
|
5839
|
+
protoOf(Parser).b2o = function (argv, context) {
|
|
5840
5840
|
parse(this, argv, context, true);
|
|
5841
5841
|
};
|
|
5842
5842
|
var Parser_instance;
|
|
@@ -5844,20 +5844,20 @@
|
|
|
5844
5844
|
return Parser_instance;
|
|
5845
5845
|
}
|
|
5846
5846
|
function OptInvocation(opt, name, values) {
|
|
5847
|
-
this.
|
|
5848
|
-
this.
|
|
5849
|
-
this.
|
|
5847
|
+
this.s2y_1 = opt;
|
|
5848
|
+
this.t2y_1 = name;
|
|
5849
|
+
this.u2y_1 = values;
|
|
5850
5850
|
}
|
|
5851
|
-
protoOf(OptInvocation).
|
|
5852
|
-
return new Invocation(this.
|
|
5851
|
+
protoOf(OptInvocation).v2y = function () {
|
|
5852
|
+
return new Invocation(this.t2y_1, this.u2y_1);
|
|
5853
5853
|
};
|
|
5854
5854
|
protoOf(OptInvocation).toString = function () {
|
|
5855
|
-
return 'OptInvocation(opt=' + this.
|
|
5855
|
+
return 'OptInvocation(opt=' + this.s2y_1 + ', name=' + this.t2y_1 + ', values=' + this.u2y_1 + ')';
|
|
5856
5856
|
};
|
|
5857
5857
|
protoOf(OptInvocation).hashCode = function () {
|
|
5858
|
-
var result = hashCode(this.
|
|
5859
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
5860
|
-
result = imul(result, 31) + hashCode(this.
|
|
5858
|
+
var result = hashCode(this.s2y_1);
|
|
5859
|
+
result = imul(result, 31) + getStringHashCode(this.t2y_1) | 0;
|
|
5860
|
+
result = imul(result, 31) + hashCode(this.u2y_1) | 0;
|
|
5861
5861
|
return result;
|
|
5862
5862
|
};
|
|
5863
5863
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -5866,27 +5866,27 @@
|
|
|
5866
5866
|
if (!(other instanceof OptInvocation))
|
|
5867
5867
|
return false;
|
|
5868
5868
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
5869
|
-
if (!equals(this.
|
|
5869
|
+
if (!equals(this.s2y_1, tmp0_other_with_cast.s2y_1))
|
|
5870
5870
|
return false;
|
|
5871
|
-
if (!(this.
|
|
5871
|
+
if (!(this.t2y_1 === tmp0_other_with_cast.t2y_1))
|
|
5872
5872
|
return false;
|
|
5873
|
-
if (!equals(this.
|
|
5873
|
+
if (!equals(this.u2y_1, tmp0_other_with_cast.u2y_1))
|
|
5874
5874
|
return false;
|
|
5875
5875
|
return true;
|
|
5876
5876
|
};
|
|
5877
5877
|
function Err(e, i, includeInMulti) {
|
|
5878
5878
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
5879
|
-
this.
|
|
5880
|
-
this.
|
|
5881
|
-
this.
|
|
5879
|
+
this.z2y_1 = e;
|
|
5880
|
+
this.a2z_1 = i;
|
|
5881
|
+
this.b2z_1 = includeInMulti;
|
|
5882
5882
|
}
|
|
5883
5883
|
protoOf(Err).toString = function () {
|
|
5884
|
-
return 'Err(e=' + this.
|
|
5884
|
+
return 'Err(e=' + this.z2y_1 + ', i=' + this.a2z_1 + ', includeInMulti=' + this.b2z_1 + ')';
|
|
5885
5885
|
};
|
|
5886
5886
|
protoOf(Err).hashCode = function () {
|
|
5887
|
-
var result = hashCode(this.
|
|
5888
|
-
result = imul(result, 31) + this.
|
|
5889
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
5887
|
+
var result = hashCode(this.z2y_1);
|
|
5888
|
+
result = imul(result, 31) + this.a2z_1 | 0;
|
|
5889
|
+
result = imul(result, 31) + getBooleanHashCode(this.b2z_1) | 0;
|
|
5890
5890
|
return result;
|
|
5891
5891
|
};
|
|
5892
5892
|
protoOf(Err).equals = function (other) {
|
|
@@ -5895,11 +5895,11 @@
|
|
|
5895
5895
|
if (!(other instanceof Err))
|
|
5896
5896
|
return false;
|
|
5897
5897
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
5898
|
-
if (!equals(this.
|
|
5898
|
+
if (!equals(this.z2y_1, tmp0_other_with_cast.z2y_1))
|
|
5899
5899
|
return false;
|
|
5900
|
-
if (!(this.
|
|
5900
|
+
if (!(this.a2z_1 === tmp0_other_with_cast.a2z_1))
|
|
5901
5901
|
return false;
|
|
5902
|
-
if (!(this.
|
|
5902
|
+
if (!(this.b2z_1 === tmp0_other_with_cast.b2z_1))
|
|
5903
5903
|
return false;
|
|
5904
5904
|
return true;
|
|
5905
5905
|
};
|
|
@@ -5921,29 +5921,29 @@
|
|
|
5921
5921
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
5922
5922
|
known = known === VOID ? emptyList() : known;
|
|
5923
5923
|
err = err === VOID ? null : err;
|
|
5924
|
-
this.
|
|
5925
|
-
this.
|
|
5926
|
-
this.
|
|
5927
|
-
this.
|
|
5924
|
+
this.c2z_1 = consumed;
|
|
5925
|
+
this.d2z_1 = unknown;
|
|
5926
|
+
this.e2z_1 = known;
|
|
5927
|
+
this.f2z_1 = err;
|
|
5928
5928
|
}
|
|
5929
|
-
protoOf(OptParseResult).
|
|
5929
|
+
protoOf(OptParseResult).i2z = function (consumed, unknown, known, err) {
|
|
5930
5930
|
return new OptParseResult(consumed, unknown, known, err);
|
|
5931
5931
|
};
|
|
5932
|
-
protoOf(OptParseResult).
|
|
5933
|
-
consumed = consumed === VOID ? this.
|
|
5934
|
-
unknown = unknown === VOID ? this.
|
|
5935
|
-
known = known === VOID ? this.
|
|
5936
|
-
err = err === VOID ? this.
|
|
5937
|
-
return $super === VOID ? this.
|
|
5932
|
+
protoOf(OptParseResult).g2z = function (consumed, unknown, known, err, $super) {
|
|
5933
|
+
consumed = consumed === VOID ? this.c2z_1 : consumed;
|
|
5934
|
+
unknown = unknown === VOID ? this.d2z_1 : unknown;
|
|
5935
|
+
known = known === VOID ? this.e2z_1 : known;
|
|
5936
|
+
err = err === VOID ? this.f2z_1 : err;
|
|
5937
|
+
return $super === VOID ? this.i2z(consumed, unknown, known, err) : $super.i2z.call(this, consumed, unknown, known, err);
|
|
5938
5938
|
};
|
|
5939
5939
|
protoOf(OptParseResult).toString = function () {
|
|
5940
|
-
return 'OptParseResult(consumed=' + this.
|
|
5940
|
+
return 'OptParseResult(consumed=' + this.c2z_1 + ', unknown=' + this.d2z_1 + ', known=' + this.e2z_1 + ', err=' + this.f2z_1 + ')';
|
|
5941
5941
|
};
|
|
5942
5942
|
protoOf(OptParseResult).hashCode = function () {
|
|
5943
|
-
var result = this.
|
|
5943
|
+
var result = this.c2z_1;
|
|
5944
|
+
result = imul(result, 31) + hashCode(this.d2z_1) | 0;
|
|
5944
5945
|
result = imul(result, 31) + hashCode(this.e2z_1) | 0;
|
|
5945
|
-
result = imul(result, 31) +
|
|
5946
|
-
result = imul(result, 31) + (this.g2z_1 == null ? 0 : this.g2z_1.hashCode()) | 0;
|
|
5946
|
+
result = imul(result, 31) + (this.f2z_1 == null ? 0 : this.f2z_1.hashCode()) | 0;
|
|
5947
5947
|
return result;
|
|
5948
5948
|
};
|
|
5949
5949
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -5952,28 +5952,28 @@
|
|
|
5952
5952
|
if (!(other instanceof OptParseResult))
|
|
5953
5953
|
return false;
|
|
5954
5954
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
5955
|
-
if (!(this.
|
|
5955
|
+
if (!(this.c2z_1 === tmp0_other_with_cast.c2z_1))
|
|
5956
|
+
return false;
|
|
5957
|
+
if (!equals(this.d2z_1, tmp0_other_with_cast.d2z_1))
|
|
5956
5958
|
return false;
|
|
5957
5959
|
if (!equals(this.e2z_1, tmp0_other_with_cast.e2z_1))
|
|
5958
5960
|
return false;
|
|
5959
5961
|
if (!equals(this.f2z_1, tmp0_other_with_cast.f2z_1))
|
|
5960
5962
|
return false;
|
|
5961
|
-
if (!equals(this.g2z_1, tmp0_other_with_cast.g2z_1))
|
|
5962
|
-
return false;
|
|
5963
5963
|
return true;
|
|
5964
5964
|
};
|
|
5965
5965
|
function ArgsParseResult(excessCount, args, err) {
|
|
5966
|
-
this.
|
|
5967
|
-
this.
|
|
5968
|
-
this.
|
|
5966
|
+
this.w2y_1 = excessCount;
|
|
5967
|
+
this.x2y_1 = args;
|
|
5968
|
+
this.y2y_1 = err;
|
|
5969
5969
|
}
|
|
5970
5970
|
protoOf(ArgsParseResult).toString = function () {
|
|
5971
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
5971
|
+
return 'ArgsParseResult(excessCount=' + this.w2y_1 + ', args=' + this.x2y_1 + ', err=' + this.y2y_1 + ')';
|
|
5972
5972
|
};
|
|
5973
5973
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
5974
|
-
var result = this.
|
|
5975
|
-
result = imul(result, 31) + hashCode(this.
|
|
5976
|
-
result = imul(result, 31) + (this.
|
|
5974
|
+
var result = this.w2y_1;
|
|
5975
|
+
result = imul(result, 31) + hashCode(this.x2y_1) | 0;
|
|
5976
|
+
result = imul(result, 31) + (this.y2y_1 == null ? 0 : this.y2y_1.hashCode()) | 0;
|
|
5977
5977
|
return result;
|
|
5978
5978
|
};
|
|
5979
5979
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -5982,16 +5982,16 @@
|
|
|
5982
5982
|
if (!(other instanceof ArgsParseResult))
|
|
5983
5983
|
return false;
|
|
5984
5984
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
5985
|
-
if (!(this.
|
|
5985
|
+
if (!(this.w2y_1 === tmp0_other_with_cast.w2y_1))
|
|
5986
5986
|
return false;
|
|
5987
|
-
if (!equals(this.
|
|
5987
|
+
if (!equals(this.x2y_1, tmp0_other_with_cast.x2y_1))
|
|
5988
5988
|
return false;
|
|
5989
|
-
if (!equals(this.
|
|
5989
|
+
if (!equals(this.y2y_1, tmp0_other_with_cast.y2y_1))
|
|
5990
5990
|
return false;
|
|
5991
5991
|
return true;
|
|
5992
5992
|
};
|
|
5993
5993
|
function shlex(filename, text, context) {
|
|
5994
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
5994
|
+
var tmp1_elvis_lhs = context == null ? null : context.h2m_1;
|
|
5995
5995
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
5996
5996
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5997
5997
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6013,7 +6013,7 @@
|
|
|
6013
6013
|
} else {
|
|
6014
6014
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6015
6015
|
if (i._v >= get_lastIndex(text)) {
|
|
6016
|
-
shlex$err(filename, text, i, localization.
|
|
6016
|
+
shlex$err(filename, text, i, localization.g2t());
|
|
6017
6017
|
}
|
|
6018
6018
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6019
6019
|
do {
|
|
@@ -6085,7 +6085,7 @@
|
|
|
6085
6085
|
}
|
|
6086
6086
|
var tmp_8 = inQuote;
|
|
6087
6087
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6088
|
-
shlex$err(filename, text, i, localization.
|
|
6088
|
+
shlex$err(filename, text, i, localization.f2t());
|
|
6089
6089
|
}
|
|
6090
6090
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6091
6091
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6166,23 +6166,23 @@
|
|
|
6166
6166
|
var impls;
|
|
6167
6167
|
function readFileIfExists(filename) {
|
|
6168
6168
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6169
|
-
return get_impls().
|
|
6169
|
+
return get_impls().j2z(filename);
|
|
6170
6170
|
}
|
|
6171
6171
|
function NodeMppImpls(fs) {
|
|
6172
|
-
this.
|
|
6172
|
+
this.k2z_1 = fs;
|
|
6173
6173
|
}
|
|
6174
|
-
protoOf(NodeMppImpls).
|
|
6174
|
+
protoOf(NodeMppImpls).n2k = function (key) {
|
|
6175
6175
|
var tmp = process.env[key];
|
|
6176
6176
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6177
6177
|
};
|
|
6178
|
-
protoOf(NodeMppImpls).
|
|
6178
|
+
protoOf(NodeMppImpls).l2z = function (status) {
|
|
6179
6179
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6180
6180
|
return process.exit(status);
|
|
6181
6181
|
};
|
|
6182
|
-
protoOf(NodeMppImpls).
|
|
6182
|
+
protoOf(NodeMppImpls).j2z = function (filename) {
|
|
6183
6183
|
var tmp;
|
|
6184
6184
|
try {
|
|
6185
|
-
var tmp_0 = this.
|
|
6185
|
+
var tmp_0 = this.k2z_1.readFileSync(filename, 'utf-8');
|
|
6186
6186
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6187
6187
|
} catch ($p) {
|
|
6188
6188
|
var tmp_1;
|
|
@@ -6198,12 +6198,12 @@
|
|
|
6198
6198
|
};
|
|
6199
6199
|
function BrowserMppImpls() {
|
|
6200
6200
|
}
|
|
6201
|
-
protoOf(BrowserMppImpls).
|
|
6201
|
+
protoOf(BrowserMppImpls).n2k = function (key) {
|
|
6202
6202
|
return null;
|
|
6203
6203
|
};
|
|
6204
|
-
protoOf(BrowserMppImpls).
|
|
6204
|
+
protoOf(BrowserMppImpls).l2z = function (status) {
|
|
6205
6205
|
};
|
|
6206
|
-
protoOf(BrowserMppImpls).
|
|
6206
|
+
protoOf(BrowserMppImpls).j2z = function (filename) {
|
|
6207
6207
|
return null;
|
|
6208
6208
|
};
|
|
6209
6209
|
var BrowserMppImpls_instance;
|
|
@@ -6212,11 +6212,11 @@
|
|
|
6212
6212
|
}
|
|
6213
6213
|
function readEnvvar(key) {
|
|
6214
6214
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6215
|
-
return get_impls().
|
|
6215
|
+
return get_impls().n2k(key);
|
|
6216
6216
|
}
|
|
6217
6217
|
function exitProcessMpp(status) {
|
|
6218
6218
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6219
|
-
return get_impls().
|
|
6219
|
+
return get_impls().l2z(status);
|
|
6220
6220
|
}
|
|
6221
6221
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6222
6222
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6244,41 +6244,41 @@
|
|
|
6244
6244
|
}
|
|
6245
6245
|
}
|
|
6246
6246
|
//region block: post-declaration
|
|
6247
|
-
protoOf(defaultLocalization$1).
|
|
6248
|
-
protoOf(defaultLocalization$1).
|
|
6249
|
-
protoOf(defaultLocalization$1).
|
|
6250
|
-
protoOf(defaultLocalization$1).
|
|
6251
|
-
protoOf(defaultLocalization$1).
|
|
6252
|
-
protoOf(defaultLocalization$1).
|
|
6253
|
-
protoOf(defaultLocalization$1).
|
|
6254
|
-
protoOf(defaultLocalization$1).
|
|
6255
|
-
protoOf(defaultLocalization$1).
|
|
6256
|
-
protoOf(defaultLocalization$1).
|
|
6257
|
-
protoOf(defaultLocalization$1).
|
|
6258
|
-
protoOf(defaultLocalization$1).
|
|
6259
|
-
protoOf(defaultLocalization$1).
|
|
6260
|
-
protoOf(defaultLocalization$1).
|
|
6261
|
-
protoOf(defaultLocalization$1).
|
|
6262
|
-
protoOf(defaultLocalization$1).
|
|
6263
|
-
protoOf(defaultLocalization$1).
|
|
6264
|
-
protoOf(defaultLocalization$1).
|
|
6265
|
-
protoOf(defaultLocalization$1).
|
|
6266
|
-
protoOf(defaultLocalization$1).
|
|
6267
|
-
protoOf(defaultLocalization$1).
|
|
6268
|
-
protoOf(defaultLocalization$1).
|
|
6269
|
-
protoOf(defaultLocalization$1).
|
|
6270
|
-
protoOf(defaultLocalization$1).
|
|
6271
|
-
protoOf(defaultLocalization$1).
|
|
6272
|
-
protoOf(defaultLocalization$1).
|
|
6273
|
-
protoOf(defaultLocalization$1).
|
|
6274
|
-
protoOf(defaultLocalization$1).
|
|
6275
|
-
protoOf(defaultLocalization$1).
|
|
6276
|
-
protoOf(defaultLocalization$1).
|
|
6277
|
-
protoOf(defaultLocalization$1).
|
|
6278
|
-
protoOf(OptionWithValuesImpl).
|
|
6279
|
-
protoOf(OptionWithValuesImpl).
|
|
6280
|
-
protoOf(OptionWithValuesImpl).
|
|
6281
|
-
protoOf(OptionWithValuesImpl).
|
|
6247
|
+
protoOf(defaultLocalization$1).e2t = usageError;
|
|
6248
|
+
protoOf(defaultLocalization$1).n2q = badParameter;
|
|
6249
|
+
protoOf(defaultLocalization$1).l2q = badParameterWithMessage;
|
|
6250
|
+
protoOf(defaultLocalization$1).m2q = badParameterWithParam;
|
|
6251
|
+
protoOf(defaultLocalization$1).k2q = badParameterWithMessageAndParam;
|
|
6252
|
+
protoOf(defaultLocalization$1).l2r = missingArgument;
|
|
6253
|
+
protoOf(defaultLocalization$1).u2q = noSuchSubcommand;
|
|
6254
|
+
protoOf(defaultLocalization$1).a2r = noSuchOption;
|
|
6255
|
+
protoOf(defaultLocalization$1).g2r = incorrectOptionValueCount;
|
|
6256
|
+
protoOf(defaultLocalization$1).r2r = incorrectArgumentValueCount;
|
|
6257
|
+
protoOf(defaultLocalization$1).n2p = fileNotFound;
|
|
6258
|
+
protoOf(defaultLocalization$1).z2r = invalidFileFormat;
|
|
6259
|
+
protoOf(defaultLocalization$1).y2r = invalidFileFormat_0;
|
|
6260
|
+
protoOf(defaultLocalization$1).f2t = unclosedQuote;
|
|
6261
|
+
protoOf(defaultLocalization$1).g2t = fileEndsWithSlash;
|
|
6262
|
+
protoOf(defaultLocalization$1).h2t = extraArgumentOne;
|
|
6263
|
+
protoOf(defaultLocalization$1).i2t = extraArgumentMany;
|
|
6264
|
+
protoOf(defaultLocalization$1).j2t = invalidFlagValueInFile;
|
|
6265
|
+
protoOf(defaultLocalization$1).k2t = boolConversionError;
|
|
6266
|
+
protoOf(defaultLocalization$1).l2t = stringMetavar;
|
|
6267
|
+
protoOf(defaultLocalization$1).m2t = intMetavar;
|
|
6268
|
+
protoOf(defaultLocalization$1).n2t = usageTitle;
|
|
6269
|
+
protoOf(defaultLocalization$1).o2t = optionsTitle;
|
|
6270
|
+
protoOf(defaultLocalization$1).p2t = argumentsTitle;
|
|
6271
|
+
protoOf(defaultLocalization$1).q2t = commandsTitle;
|
|
6272
|
+
protoOf(defaultLocalization$1).r2t = optionsMetavar;
|
|
6273
|
+
protoOf(defaultLocalization$1).s2t = commandMetavar;
|
|
6274
|
+
protoOf(defaultLocalization$1).t2t = argumentsMetavar;
|
|
6275
|
+
protoOf(defaultLocalization$1).u2t = helpTagDefault;
|
|
6276
|
+
protoOf(defaultLocalization$1).v2t = helpTagRequired;
|
|
6277
|
+
protoOf(defaultLocalization$1).e2n = helpOptionMessage;
|
|
6278
|
+
protoOf(OptionWithValuesImpl).w2w = copy$default;
|
|
6279
|
+
protoOf(OptionWithValuesImpl).x2w = copy$default_0;
|
|
6280
|
+
protoOf(OptionWithValuesImpl).d2x = getValue_0;
|
|
6281
|
+
protoOf(OptionWithValuesImpl).l2n = parameterHelp;
|
|
6282
6282
|
//endregion
|
|
6283
6283
|
//region block: init
|
|
6284
6284
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|