git-digger 1.7.27 → 1.7.28
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 +676 -464
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +50 -50
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +196 -196
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +368 -339
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +329 -249
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +352 -415
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +100 -93
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +33 -33
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1195 -1215
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +1 -1
- package/kotlin/tools-digger-core.js +25 -26
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +15 -15
- package/kotlin/tools-digger-model.js +8 -8
- package/kotlin/tools-git-adapter.js +14 -14
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -2
package/kotlin/clikt-clikt.js
CHANGED
|
@@ -2,57 +2,58 @@
|
|
|
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.$_$.p9;
|
|
6
|
+
var map = kotlin_kotlin.$_$.u9;
|
|
7
|
+
var toList = kotlin_kotlin.$_$.y9;
|
|
8
8
|
var asReversed = kotlin_kotlin.$_$.a4;
|
|
9
9
|
var joinToString = kotlin_kotlin.$_$.z4;
|
|
10
10
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
|
|
11
|
-
var replace = kotlin_kotlin.$_$.
|
|
12
|
-
var to = kotlin_kotlin.$_$.
|
|
11
|
+
var replace = kotlin_kotlin.$_$.wa;
|
|
12
|
+
var to = kotlin_kotlin.$_$.ad;
|
|
13
13
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
14
14
|
var plus = kotlin_kotlin.$_$.s5;
|
|
15
15
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
16
16
|
var Unit_instance = kotlin_kotlin.$_$.j3;
|
|
17
17
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.g4;
|
|
18
18
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
19
|
-
var Triple = kotlin_kotlin.$_$.
|
|
20
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
19
|
+
var Triple = kotlin_kotlin.$_$.dc;
|
|
20
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.m8;
|
|
21
21
|
var addAll = kotlin_kotlin.$_$.x3;
|
|
22
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
23
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
22
|
+
var compareTo = kotlin_kotlin.$_$.m7;
|
|
23
|
+
var ensureNotNull = kotlin_kotlin.$_$.rc;
|
|
24
24
|
var plus_0 = kotlin_kotlin.$_$.t5;
|
|
25
25
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
26
|
-
var trimMargin = kotlin_kotlin.$_$.
|
|
27
|
-
var trimIndent = kotlin_kotlin.$_$.
|
|
28
|
-
var prependIndent = kotlin_kotlin.$_$.
|
|
26
|
+
var trimMargin = kotlin_kotlin.$_$.kb;
|
|
27
|
+
var trimIndent = kotlin_kotlin.$_$.jb;
|
|
28
|
+
var prependIndent = kotlin_kotlin.$_$.ra;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.g;
|
|
30
30
|
var joinTo = kotlin_kotlin.$_$.a5;
|
|
31
31
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
32
|
-
var first = kotlin_kotlin.$_$.
|
|
32
|
+
var first = kotlin_kotlin.$_$.ha;
|
|
33
33
|
var toString = kotlin_kotlin.$_$.t1;
|
|
34
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
37
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForClass = 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 noWhenBranchMatchedException = kotlin_kotlin.$_$.wc;
|
|
35
|
+
var equals = kotlin_kotlin.$_$.n7;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.s8;
|
|
37
|
+
var initMetadataForObject = kotlin_kotlin.$_$.y7;
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.ub;
|
|
39
|
+
var initMetadataForClass = kotlin_kotlin.$_$.t7;
|
|
40
|
+
var THROW_CCE = kotlin_kotlin.$_$.cc;
|
|
41
|
+
var isCharSequence = kotlin_kotlin.$_$.d8;
|
|
42
|
+
var trim = kotlin_kotlin.$_$.mb;
|
|
43
|
+
var toString_0 = kotlin_kotlin.$_$.v8;
|
|
44
44
|
var lastOrNull = kotlin_kotlin.$_$.e5;
|
|
45
45
|
var first_0 = kotlin_kotlin.$_$.s4;
|
|
46
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
47
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
46
|
+
var replace_0 = kotlin_kotlin.$_$.va;
|
|
47
|
+
var isBlank = kotlin_kotlin.$_$.ka;
|
|
48
48
|
var Collection = kotlin_kotlin.$_$.l3;
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.h8;
|
|
50
|
+
var startsWith = kotlin_kotlin.$_$.za;
|
|
51
51
|
var charArrayOf = kotlin_kotlin.$_$.h7;
|
|
52
|
-
var trimStart = kotlin_kotlin.$_$.
|
|
53
|
-
var
|
|
54
|
-
var contains = kotlin_kotlin.$_$.
|
|
55
|
-
var
|
|
52
|
+
var trimStart = kotlin_kotlin.$_$.lb;
|
|
53
|
+
var charCodeAt = kotlin_kotlin.$_$.i7;
|
|
54
|
+
var contains = kotlin_kotlin.$_$.da;
|
|
55
|
+
var substring = kotlin_kotlin.$_$.eb;
|
|
56
|
+
var startsWith_0 = kotlin_kotlin.$_$.ab;
|
|
56
57
|
var emptyMap = kotlin_kotlin.$_$.p4;
|
|
57
58
|
var emptyList = kotlin_kotlin.$_$.o4;
|
|
58
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
@@ -62,101 +63,103 @@
|
|
|
62
63
|
var flatten = kotlin_kotlin.$_$.u4;
|
|
63
64
|
var toList_0 = kotlin_kotlin.$_$.l6;
|
|
64
65
|
var setOf = kotlin_kotlin.$_$.z5;
|
|
65
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
66
|
+
var removeSuffix = kotlin_kotlin.$_$.ta;
|
|
66
67
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
67
|
-
var split = kotlin_kotlin.$_$.
|
|
68
|
+
var split = kotlin_kotlin.$_$.ya;
|
|
68
69
|
var last = kotlin_kotlin.$_$.f5;
|
|
69
70
|
var plus_1 = kotlin_kotlin.$_$.r5;
|
|
70
71
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
71
72
|
var toSet = kotlin_kotlin.$_$.q6;
|
|
72
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
73
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.u7;
|
|
73
74
|
var plus_2 = kotlin_kotlin.$_$.u5;
|
|
74
75
|
var asReversed_0 = kotlin_kotlin.$_$.z3;
|
|
75
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
76
|
+
var addSuppressed = kotlin_kotlin.$_$.nc;
|
|
76
77
|
var sortedWith = kotlin_kotlin.$_$.d6;
|
|
77
78
|
var FunctionAdapter = kotlin_kotlin.$_$.d7;
|
|
78
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
79
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
79
|
+
var Comparator = kotlin_kotlin.$_$.tb;
|
|
80
|
+
var hashCode = kotlin_kotlin.$_$.s7;
|
|
80
81
|
var compareValues = kotlin_kotlin.$_$.w6;
|
|
81
82
|
var print = kotlin_kotlin.$_$.c7;
|
|
82
83
|
var println = kotlin_kotlin.$_$.a7;
|
|
83
84
|
var asList = kotlin_kotlin.$_$.y3;
|
|
84
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
85
|
-
var commonPrefixWith = kotlin_kotlin.$_$.
|
|
86
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
85
|
+
var closeFinally = kotlin_kotlin.$_$.pc;
|
|
86
|
+
var commonPrefixWith = kotlin_kotlin.$_$.ba;
|
|
87
|
+
var charSequenceLength = kotlin_kotlin.$_$.k7;
|
|
87
88
|
var booleanArray = kotlin_kotlin.$_$.f7;
|
|
88
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
89
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
89
|
+
var get_lastIndex = kotlin_kotlin.$_$.na;
|
|
90
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.w7;
|
|
90
91
|
var captureStack = kotlin_kotlin.$_$.g7;
|
|
91
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
92
|
+
var RuntimeException = kotlin_kotlin.$_$.bc;
|
|
92
93
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.n1;
|
|
93
94
|
var listOf_0 = kotlin_kotlin.$_$.i5;
|
|
94
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
95
|
+
var objectCreate = kotlin_kotlin.$_$.r8;
|
|
95
96
|
var toMap = kotlin_kotlin.$_$.n6;
|
|
96
97
|
var KtMap = kotlin_kotlin.$_$.s3;
|
|
97
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
98
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
98
|
+
var toString_1 = kotlin_kotlin.$_$.zc;
|
|
99
|
+
var getStringHashCode = kotlin_kotlin.$_$.r7;
|
|
99
100
|
var mapCapacity = kotlin_kotlin.$_$.k5;
|
|
100
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
101
|
+
var coerceAtLeast = kotlin_kotlin.$_$.z8;
|
|
101
102
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
102
103
|
var toList_1 = kotlin_kotlin.$_$.k6;
|
|
103
104
|
var mutableListOf = kotlin_kotlin.$_$.o5;
|
|
104
105
|
var asSequence = kotlin_kotlin.$_$.b4;
|
|
105
|
-
var filter = kotlin_kotlin.$_$.
|
|
106
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
106
|
+
var filter = kotlin_kotlin.$_$.n9;
|
|
107
|
+
var joinToString_0 = kotlin_kotlin.$_$.r9;
|
|
107
108
|
var first_1 = kotlin_kotlin.$_$.t4;
|
|
108
|
-
var
|
|
109
|
-
var
|
|
110
|
-
var
|
|
109
|
+
var charSequenceGet = kotlin_kotlin.$_$.j7;
|
|
110
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.l7;
|
|
111
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.o7;
|
|
112
|
+
var repeat = kotlin_kotlin.$_$.ua;
|
|
111
113
|
var listOfNotNull = kotlin_kotlin.$_$.h5;
|
|
112
|
-
var lineSequence = kotlin_kotlin.$_$.
|
|
113
|
-
var drop = kotlin_kotlin.$_$.
|
|
114
|
+
var lineSequence = kotlin_kotlin.$_$.pa;
|
|
115
|
+
var drop = kotlin_kotlin.$_$.ea;
|
|
116
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.h9;
|
|
117
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.q7;
|
|
114
118
|
var Companion_instance = kotlin_kotlin.$_$.e3;
|
|
115
119
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.u1;
|
|
116
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
120
|
+
var createFailure = kotlin_kotlin.$_$.qc;
|
|
117
121
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.x1;
|
|
118
122
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.w1;
|
|
119
123
|
var single = kotlin_kotlin.$_$.a6;
|
|
120
|
-
var
|
|
121
|
-
var
|
|
122
|
-
var ClassCastException = kotlin_kotlin.$_$.ob;
|
|
123
|
-
var IllegalStateException = kotlin_kotlin.$_$.ub;
|
|
124
|
+
var ClassCastException = kotlin_kotlin.$_$.rb;
|
|
125
|
+
var IllegalStateException = kotlin_kotlin.$_$.xb;
|
|
124
126
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.g1;
|
|
125
127
|
var copyToArray = kotlin_kotlin.$_$.l4;
|
|
126
128
|
var toSet_0 = kotlin_kotlin.$_$.r6;
|
|
127
129
|
var contains_0 = kotlin_kotlin.$_$.h4;
|
|
128
|
-
var
|
|
130
|
+
var substring_0 = kotlin_kotlin.$_$.db;
|
|
131
|
+
var slice = kotlin_kotlin.$_$.xa;
|
|
129
132
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
130
133
|
var setOf_0 = kotlin_kotlin.$_$.y5;
|
|
131
134
|
var emptySet = kotlin_kotlin.$_$.q4;
|
|
132
135
|
var toMutableMap = kotlin_kotlin.$_$.p6;
|
|
133
|
-
var Exception = kotlin_kotlin.$_$.
|
|
134
|
-
var Pair = kotlin_kotlin.$_$.
|
|
135
|
-
var toList_2 = kotlin_kotlin.$_$.
|
|
136
|
+
var Exception = kotlin_kotlin.$_$.vb;
|
|
137
|
+
var Pair = kotlin_kotlin.$_$.zb;
|
|
138
|
+
var toList_2 = kotlin_kotlin.$_$.yc;
|
|
136
139
|
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.k1;
|
|
137
140
|
var CoroutineImpl = kotlin_kotlin.$_$.y6;
|
|
138
141
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x6;
|
|
139
142
|
var removeLast = kotlin_kotlin.$_$.w5;
|
|
140
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
141
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
142
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
143
|
-
var onEach = kotlin_kotlin.$_$.
|
|
144
|
-
var sequence = kotlin_kotlin.$_$.
|
|
145
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
143
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.v7;
|
|
144
|
+
var SequenceScope = kotlin_kotlin.$_$.l9;
|
|
145
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.x7;
|
|
146
|
+
var onEach = kotlin_kotlin.$_$.w9;
|
|
147
|
+
var sequence = kotlin_kotlin.$_$.x9;
|
|
148
|
+
var Sequence = kotlin_kotlin.$_$.m9;
|
|
146
149
|
var get_lastIndex_0 = kotlin_kotlin.$_$.c5;
|
|
147
150
|
var getValue = kotlin_kotlin.$_$.w4;
|
|
148
|
-
var contains_1 = kotlin_kotlin.$_$.
|
|
149
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
150
|
-
var take = kotlin_kotlin.$_$.
|
|
151
|
+
var contains_1 = kotlin_kotlin.$_$.ca;
|
|
152
|
+
var substringBefore = kotlin_kotlin.$_$.cb;
|
|
153
|
+
var take = kotlin_kotlin.$_$.fb;
|
|
151
154
|
var take_0 = kotlin_kotlin.$_$.h6;
|
|
152
155
|
var drop_0 = kotlin_kotlin.$_$.n4;
|
|
153
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
154
|
-
var isDigit = kotlin_kotlin.$_$.
|
|
155
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
156
|
+
var indexOf = kotlin_kotlin.$_$.ja;
|
|
157
|
+
var isDigit = kotlin_kotlin.$_$.la;
|
|
158
|
+
var coerceAtMost = kotlin_kotlin.$_$.b9;
|
|
156
159
|
var takeLast = kotlin_kotlin.$_$.g6;
|
|
157
160
|
var plus_3 = kotlin_kotlin.$_$.q5;
|
|
158
|
-
var Char = kotlin_kotlin.$_$.
|
|
159
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
161
|
+
var Char = kotlin_kotlin.$_$.qb;
|
|
162
|
+
var isWhitespace = kotlin_kotlin.$_$.ma;
|
|
160
163
|
//endregion
|
|
161
164
|
//region block: pre-declaration
|
|
162
165
|
initMetadataForObject(BashCompletionGenerator, 'BashCompletionGenerator');
|
|
@@ -434,8 +437,8 @@
|
|
|
434
437
|
initMetadataForClass(OptionInvocation, 'OptionInvocation');
|
|
435
438
|
initMetadataForClass(CommandLineParseResult, 'CommandLineParseResult');
|
|
436
439
|
initMetadataForClass(CommandInvocation, 'CommandInvocation');
|
|
437
|
-
initMetadataForCoroutine($invoke$yieldSubsCOROUTINE
|
|
438
|
-
initMetadataForLambda(FlatInvocations$seq$slambda, CoroutineImpl, VOID, [1,
|
|
440
|
+
initMetadataForCoroutine($invoke$yieldSubsCOROUTINE$, CoroutineImpl);
|
|
441
|
+
initMetadataForLambda(FlatInvocations$seq$slambda, CoroutineImpl, VOID, [1, 3]);
|
|
439
442
|
initMetadataForLambda(FlatInvocations$iterator$slambda, CoroutineImpl, VOID, [1]);
|
|
440
443
|
initMetadataForClass(FlatInvocations, 'FlatInvocations', VOID, VOID, [Sequence]);
|
|
441
444
|
initMetadataForClass(ArgumentInvocation, 'ArgumentInvocation');
|
|
@@ -1128,7 +1131,7 @@
|
|
|
1128
1131
|
}
|
|
1129
1132
|
}
|
|
1130
1133
|
function appendHelp($this, _this__u8e3s4, help) {
|
|
1131
|
-
var tmp$ret$
|
|
1134
|
+
var tmp$ret$1;
|
|
1132
1135
|
$l$block: {
|
|
1133
1136
|
// Inline function 'kotlin.text.takeWhile' call
|
|
1134
1137
|
var inductionVariable = 0;
|
|
@@ -1137,18 +1140,16 @@
|
|
|
1137
1140
|
do {
|
|
1138
1141
|
var index = inductionVariable;
|
|
1139
1142
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1140
|
-
var it =
|
|
1143
|
+
var it = charCodeAt(help, index);
|
|
1141
1144
|
if (!!contains('\r\n', it)) {
|
|
1142
|
-
|
|
1143
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
1144
|
-
tmp$ret$3 = help.substring(0, index);
|
|
1145
|
+
tmp$ret$1 = substring(help, 0, index);
|
|
1145
1146
|
break $l$block;
|
|
1146
1147
|
}
|
|
1147
1148
|
}
|
|
1148
1149
|
while (inductionVariable < last);
|
|
1149
|
-
tmp$ret$
|
|
1150
|
+
tmp$ret$1 = help;
|
|
1150
1151
|
}
|
|
1151
|
-
var h = replace_0(tmp$ret$
|
|
1152
|
+
var h = replace_0(tmp$ret$1, "'", "\\'");
|
|
1152
1153
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1153
1154
|
if (!isBlank(h)) {
|
|
1154
1155
|
_this__u8e3s4.x7(" -d '" + h + "'");
|
|
@@ -1538,13 +1539,13 @@
|
|
|
1538
1539
|
}
|
|
1539
1540
|
}
|
|
1540
1541
|
if (option.q1j()) {
|
|
1541
|
-
var
|
|
1542
|
+
var tmp0 = this.a1h_1;
|
|
1542
1543
|
var tmp$ret$2;
|
|
1543
1544
|
$l$block_0: {
|
|
1544
1545
|
// Inline function 'kotlin.collections.none' call
|
|
1545
1546
|
var tmp;
|
|
1546
|
-
if (isInterface(
|
|
1547
|
-
tmp =
|
|
1547
|
+
if (isInterface(tmp0, Collection)) {
|
|
1548
|
+
tmp = tmp0.m();
|
|
1548
1549
|
} else {
|
|
1549
1550
|
tmp = false;
|
|
1550
1551
|
}
|
|
@@ -1552,7 +1553,7 @@
|
|
|
1552
1553
|
tmp$ret$2 = true;
|
|
1553
1554
|
break $l$block_0;
|
|
1554
1555
|
}
|
|
1555
|
-
var _iterator__ex2g4s_0 =
|
|
1556
|
+
var _iterator__ex2g4s_0 = tmp0.p();
|
|
1556
1557
|
while (_iterator__ex2g4s_0.q()) {
|
|
1557
1558
|
var element = _iterator__ex2g4s_0.r();
|
|
1558
1559
|
if (element.q1j()) {
|
|
@@ -2145,13 +2146,13 @@
|
|
|
2145
2146
|
return 0.0;
|
|
2146
2147
|
else {
|
|
2147
2148
|
if (s1.length === 1 && s2.length === 1)
|
|
2148
|
-
return
|
|
2149
|
+
return charCodeAt(s1, 0) === charCodeAt(s2, 0) ? 1.0 : 0.0;
|
|
2149
2150
|
}
|
|
2150
2151
|
}
|
|
2151
|
-
var
|
|
2152
|
+
var tmp0 = s1.length;
|
|
2152
2153
|
// Inline function 'kotlin.math.max' call
|
|
2153
2154
|
var b = s2.length;
|
|
2154
|
-
var searchRange = (Math.max(
|
|
2155
|
+
var searchRange = (Math.max(tmp0, b) / 2 | 0) - 1 | 0;
|
|
2155
2156
|
var s2Consumed = booleanArray(s2.length);
|
|
2156
2157
|
var matches = 0.0;
|
|
2157
2158
|
var transpositions = 0;
|
|
@@ -2160,21 +2161,21 @@
|
|
|
2160
2161
|
var last = s1.length;
|
|
2161
2162
|
while (inductionVariable < last) {
|
|
2162
2163
|
var i = inductionVariable;
|
|
2163
|
-
var c1 =
|
|
2164
|
+
var c1 = charCodeAt(s1, inductionVariable);
|
|
2164
2165
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2165
2166
|
// Inline function 'kotlin.math.max' call
|
|
2166
2167
|
var b_0 = i - searchRange | 0;
|
|
2167
2168
|
var start = Math.max(0, b_0);
|
|
2168
|
-
var
|
|
2169
|
+
var tmp0_0 = get_lastIndex(s2);
|
|
2169
2170
|
// Inline function 'kotlin.math.min' call
|
|
2170
2171
|
var b_1 = i + searchRange | 0;
|
|
2171
|
-
var end = Math.min(
|
|
2172
|
+
var end = Math.min(tmp0_0, b_1);
|
|
2172
2173
|
var inductionVariable_0 = start;
|
|
2173
2174
|
if (inductionVariable_0 <= end)
|
|
2174
2175
|
$l$loop: do {
|
|
2175
2176
|
var j = inductionVariable_0;
|
|
2176
2177
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2177
|
-
var c2 =
|
|
2178
|
+
var c2 = charCodeAt(s2, j);
|
|
2178
2179
|
if (!(c1 === c2) || s2Consumed[j])
|
|
2179
2180
|
continue $l$loop;
|
|
2180
2181
|
s2Consumed[j] = true;
|
|
@@ -4017,6 +4018,28 @@
|
|
|
4017
4018
|
protoOf(ArgumentTransformContext).e1p = function (context) {
|
|
4018
4019
|
this.e1t_1.e1p(context);
|
|
4019
4020
|
};
|
|
4021
|
+
function ProcessedArgumentImpl$_get_value_$ref_enmq3a() {
|
|
4022
|
+
return function (p0) {
|
|
4023
|
+
return p0.z();
|
|
4024
|
+
};
|
|
4025
|
+
}
|
|
4026
|
+
function ProcessedArgumentImpl$_set_value_$ref_en7qba() {
|
|
4027
|
+
return function (p0, p1) {
|
|
4028
|
+
p0.r1t(p1);
|
|
4029
|
+
return Unit_instance;
|
|
4030
|
+
};
|
|
4031
|
+
}
|
|
4032
|
+
function ProcessedArgumentImpl$_get_value_$ref_enmq3a_0() {
|
|
4033
|
+
return function (p0) {
|
|
4034
|
+
return p0.z();
|
|
4035
|
+
};
|
|
4036
|
+
}
|
|
4037
|
+
function ProcessedArgumentImpl$_set_value_$ref_en7qba_0() {
|
|
4038
|
+
return function (p0, p1) {
|
|
4039
|
+
p0.r1t(p1);
|
|
4040
|
+
return Unit_instance;
|
|
4041
|
+
};
|
|
4042
|
+
}
|
|
4020
4043
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
4021
4044
|
this.h1t_1 = name;
|
|
4022
4045
|
this.i1t_1 = nvalues;
|
|
@@ -4049,10 +4072,14 @@
|
|
|
4049
4072
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4050
4073
|
};
|
|
4051
4074
|
protoOf(ProcessedArgumentImpl).r1t = function (_set____db54di) {
|
|
4052
|
-
|
|
4075
|
+
var tmp = KMutableProperty1;
|
|
4076
|
+
var tmp_0 = ProcessedArgumentImpl$_get_value_$ref_enmq3a_0();
|
|
4077
|
+
return this.q1t_1.u1t(this, getPropertyCallableRef('value', 1, tmp, tmp_0, ProcessedArgumentImpl$_set_value_$ref_en7qba_0()), _set____db54di);
|
|
4053
4078
|
};
|
|
4054
4079
|
protoOf(ProcessedArgumentImpl).z = function () {
|
|
4055
|
-
|
|
4080
|
+
var tmp = KMutableProperty1;
|
|
4081
|
+
var tmp_0 = ProcessedArgumentImpl$_get_value_$ref_enmq3a();
|
|
4082
|
+
return this.q1t_1.v1t(this, getPropertyCallableRef('value', 1, tmp, tmp_0, ProcessedArgumentImpl$_set_value_$ref_en7qba()));
|
|
4056
4083
|
};
|
|
4057
4084
|
protoOf(ProcessedArgumentImpl).h1i = function () {
|
|
4058
4085
|
var tmp0_elvis_lhs = this.m1t_1;
|
|
@@ -4154,20 +4181,6 @@
|
|
|
4154
4181
|
function defaultValidator$lambda(_this__u8e3s4, it) {
|
|
4155
4182
|
return Unit_instance;
|
|
4156
4183
|
}
|
|
4157
|
-
function value$factory() {
|
|
4158
|
-
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4159
|
-
return receiver.z();
|
|
4160
|
-
}, function (receiver, value) {
|
|
4161
|
-
return receiver.r1t(value);
|
|
4162
|
-
});
|
|
4163
|
-
}
|
|
4164
|
-
function value$factory_0() {
|
|
4165
|
-
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4166
|
-
return receiver.z();
|
|
4167
|
-
}, function (receiver, value) {
|
|
4168
|
-
return receiver.r1t(value);
|
|
4169
|
-
});
|
|
4170
|
-
}
|
|
4171
4184
|
function ParameterGroup() {
|
|
4172
4185
|
}
|
|
4173
4186
|
function UNINITIALIZED() {
|
|
@@ -4285,25 +4298,7 @@
|
|
|
4285
4298
|
return tmp$ret$0;
|
|
4286
4299
|
}
|
|
4287
4300
|
function splitOptionPrefix(name) {
|
|
4288
|
-
|
|
4289
|
-
if (name.length < 2 || !contains('-@/+', charSequenceGet(name, 0))) {
|
|
4290
|
-
tmp = to('', name);
|
|
4291
|
-
} else if (name.length > 2 && charSequenceGet(name, 0) === charSequenceGet(name, 1)) {
|
|
4292
|
-
var tmp_0 = slice(name, numberRangeToNumber(0, 1));
|
|
4293
|
-
// Inline function 'kotlin.text.substring' call
|
|
4294
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
4295
|
-
var tmp$ret$1 = name.substring(2);
|
|
4296
|
-
tmp = to(tmp_0, tmp$ret$1);
|
|
4297
|
-
} else {
|
|
4298
|
-
// Inline function 'kotlin.text.substring' call
|
|
4299
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
4300
|
-
var tmp_1 = name.substring(0, 1);
|
|
4301
|
-
// Inline function 'kotlin.text.substring' call
|
|
4302
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
4303
|
-
var tmp$ret$5 = name.substring(1);
|
|
4304
|
-
tmp = to(tmp_1, tmp$ret$5);
|
|
4305
|
-
}
|
|
4306
|
-
return tmp;
|
|
4301
|
+
return name.length < 2 || !contains('-@/+', charCodeAt(name, 0)) ? to('', name) : name.length > 2 && charCodeAt(name, 0) === charCodeAt(name, 1) ? to(slice(name, numberRangeToNumber(0, 1)), substring_0(name, 2)) : to(substring(name, 0, 1), substring_0(name, 1));
|
|
4307
4302
|
}
|
|
4308
4303
|
function inferEnvvar(names, envvar, autoEnvvarPrefix) {
|
|
4309
4304
|
if (!(envvar == null))
|
|
@@ -4394,12 +4389,12 @@
|
|
|
4394
4389
|
}
|
|
4395
4390
|
return names;
|
|
4396
4391
|
}
|
|
4397
|
-
var
|
|
4392
|
+
var tmp2 = Regex_init_$Create$('[a-z][A-Z]');
|
|
4398
4393
|
// Inline function 'kotlin.text.replace' call
|
|
4399
4394
|
var transform = inferOptionNames$lambda;
|
|
4400
4395
|
// Inline function 'kotlin.text.lowercase' call
|
|
4401
4396
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4402
|
-
var normalizedName = '--' +
|
|
4397
|
+
var normalizedName = '--' + tmp2.jc(propertyName, transform).toLowerCase();
|
|
4403
4398
|
return setOf_0(normalizedName);
|
|
4404
4399
|
}
|
|
4405
4400
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
@@ -4466,7 +4461,7 @@
|
|
|
4466
4461
|
return !final.m();
|
|
4467
4462
|
}
|
|
4468
4463
|
function inferOptionNames$lambda(it) {
|
|
4469
|
-
return toString(
|
|
4464
|
+
return toString(charCodeAt(it.z(), 0)) + '-' + toString(charCodeAt(it.z(), 1));
|
|
4470
4465
|
}
|
|
4471
4466
|
function OptionWithValues() {
|
|
4472
4467
|
}
|
|
@@ -4605,6 +4600,28 @@
|
|
|
4605
4600
|
function OptionWithValuesImpl$metavar$lambda(_this__u8e3s4) {
|
|
4606
4601
|
return _this__u8e3s4.w1h_1.v1s();
|
|
4607
4602
|
}
|
|
4603
|
+
function OptionWithValuesImpl$_get_value_$ref_kjlo8() {
|
|
4604
|
+
return function (p0) {
|
|
4605
|
+
return p0.z();
|
|
4606
|
+
};
|
|
4607
|
+
}
|
|
4608
|
+
function OptionWithValuesImpl$_set_value_$ref_tve22s() {
|
|
4609
|
+
return function (p0, p1) {
|
|
4610
|
+
p0.r1t(p1);
|
|
4611
|
+
return Unit_instance;
|
|
4612
|
+
};
|
|
4613
|
+
}
|
|
4614
|
+
function OptionWithValuesImpl$_get_value_$ref_kjlo8_0() {
|
|
4615
|
+
return function (p0) {
|
|
4616
|
+
return p0.z();
|
|
4617
|
+
};
|
|
4618
|
+
}
|
|
4619
|
+
function OptionWithValuesImpl$_set_value_$ref_tve22s_0() {
|
|
4620
|
+
return function (p0, p1) {
|
|
4621
|
+
p0.r1t(p1);
|
|
4622
|
+
return Unit_instance;
|
|
4623
|
+
};
|
|
4624
|
+
}
|
|
4608
4625
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4609
4626
|
this.w1u_1 = metavarGetter;
|
|
4610
4627
|
this.x1u_1 = nvalues;
|
|
@@ -4699,10 +4716,14 @@
|
|
|
4699
4716
|
return tmp(context);
|
|
4700
4717
|
};
|
|
4701
4718
|
protoOf(OptionWithValuesImpl).r1t = function (_set____db54di) {
|
|
4702
|
-
|
|
4719
|
+
var tmp = KMutableProperty1;
|
|
4720
|
+
var tmp_0 = OptionWithValuesImpl$_get_value_$ref_kjlo8_0();
|
|
4721
|
+
return this.p1v_1.u1t(this, getPropertyCallableRef('value', 1, tmp, tmp_0, OptionWithValuesImpl$_set_value_$ref_tve22s_0()), _set____db54di);
|
|
4703
4722
|
};
|
|
4704
4723
|
protoOf(OptionWithValuesImpl).z = function () {
|
|
4705
|
-
|
|
4724
|
+
var tmp = KMutableProperty1;
|
|
4725
|
+
var tmp_0 = OptionWithValuesImpl$_get_value_$ref_kjlo8();
|
|
4726
|
+
return this.p1v_1.v1t(this, getPropertyCallableRef('value', 1, tmp, tmp_0, OptionWithValuesImpl$_set_value_$ref_tve22s()));
|
|
4706
4727
|
};
|
|
4707
4728
|
protoOf(OptionWithValuesImpl).h1h = function () {
|
|
4708
4729
|
return this.q1v_1;
|
|
@@ -4864,20 +4885,6 @@
|
|
|
4864
4885
|
function defaultValidator$lambda_0(_this__u8e3s4, it) {
|
|
4865
4886
|
return Unit_instance;
|
|
4866
4887
|
}
|
|
4867
|
-
function value$factory_1() {
|
|
4868
|
-
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4869
|
-
return receiver.z();
|
|
4870
|
-
}, function (receiver, value) {
|
|
4871
|
-
return receiver.r1t(value);
|
|
4872
|
-
});
|
|
4873
|
-
}
|
|
4874
|
-
function value$factory_2() {
|
|
4875
|
-
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4876
|
-
return receiver.z();
|
|
4877
|
-
}, function (receiver, value) {
|
|
4878
|
-
return receiver.r1t(value);
|
|
4879
|
-
});
|
|
4880
|
-
}
|
|
4881
4888
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
4882
4889
|
defaultForHelp = defaultForHelp === VOID ? toString_0(value) : defaultForHelp;
|
|
4883
4890
|
return transformAll(_this__u8e3s4, defaultForHelp, VOID, default$lambda(value));
|
|
@@ -5233,11 +5240,11 @@
|
|
|
5233
5240
|
var usageErrors = destination;
|
|
5234
5241
|
if (usageErrors.s() === _this__u8e3s4.v1l_1.s())
|
|
5235
5242
|
return usageErrors;
|
|
5236
|
-
var
|
|
5243
|
+
var tmp0_0 = _this__u8e3s4.v1l_1;
|
|
5237
5244
|
var tmp$ret$3;
|
|
5238
5245
|
$l$block: {
|
|
5239
5246
|
// Inline function 'kotlin.collections.first' call
|
|
5240
|
-
var _iterator__ex2g4s_0 =
|
|
5247
|
+
var _iterator__ex2g4s_0 = tmp0_0.p();
|
|
5241
5248
|
while (_iterator__ex2g4s_0.q()) {
|
|
5242
5249
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
5243
5250
|
if (!(element_0 instanceof UsageError)) {
|
|
@@ -5295,18 +5302,18 @@
|
|
|
5295
5302
|
this.v1l_1 = errors;
|
|
5296
5303
|
}
|
|
5297
5304
|
function invoke$yieldSubs(_this__u8e3s4, this$0, inv, $completion) {
|
|
5298
|
-
var tmp = new $invoke$yieldSubsCOROUTINE$
|
|
5305
|
+
var tmp = new $invoke$yieldSubsCOROUTINE$(_this__u8e3s4, this$0, inv, $completion);
|
|
5299
5306
|
tmp.u8_1 = Unit_instance;
|
|
5300
5307
|
tmp.v8_1 = null;
|
|
5301
5308
|
return tmp.a9();
|
|
5302
5309
|
}
|
|
5303
|
-
function $invoke$yieldSubsCOROUTINE$
|
|
5310
|
+
function $invoke$yieldSubsCOROUTINE$(_this__u8e3s4, this$0, inv, resultContinuation) {
|
|
5304
5311
|
CoroutineImpl.call(this, resultContinuation);
|
|
5305
5312
|
this.g1w_1 = _this__u8e3s4;
|
|
5306
5313
|
this.h1w_1 = this$0;
|
|
5307
5314
|
this.i1w_1 = inv;
|
|
5308
5315
|
}
|
|
5309
|
-
protoOf($invoke$yieldSubsCOROUTINE$
|
|
5316
|
+
protoOf($invoke$yieldSubsCOROUTINE$).a9 = function () {
|
|
5310
5317
|
var suspendResult = this.u8_1;
|
|
5311
5318
|
$sm: do
|
|
5312
5319
|
try {
|
|
@@ -5635,10 +5642,10 @@
|
|
|
5635
5642
|
}
|
|
5636
5643
|
if (tmp_0) {
|
|
5637
5644
|
if (startsWith(tok, '@@')) {
|
|
5638
|
-
var
|
|
5645
|
+
var tmp0 = $this.x1x_1;
|
|
5639
5646
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5640
5647
|
var element = drop(tok, 1);
|
|
5641
|
-
|
|
5648
|
+
tmp0.e(element);
|
|
5642
5649
|
$this.c1y_1 = $this.c1y_1 + 1 | 0;
|
|
5643
5650
|
} else {
|
|
5644
5651
|
insertTokens($this, loadArgFile(drop(normTok, 1), $this.o1x_1));
|
|
@@ -5727,10 +5734,10 @@
|
|
|
5727
5734
|
tmp = false;
|
|
5728
5735
|
}
|
|
5729
5736
|
if (tmp) {
|
|
5730
|
-
var
|
|
5737
|
+
var tmp0_0 = $this.b1y_1;
|
|
5731
5738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5732
5739
|
var element_0 = new PrintHelpMessage($this.o1x_1, true);
|
|
5733
|
-
|
|
5740
|
+
tmp0_0.e(element_0);
|
|
5734
5741
|
return true;
|
|
5735
5742
|
}
|
|
5736
5743
|
return false;
|
|
@@ -5766,10 +5773,10 @@
|
|
|
5766
5773
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5767
5774
|
$this.w1x_1.e(name);
|
|
5768
5775
|
}
|
|
5769
|
-
var
|
|
5776
|
+
var tmp0 = $this.v1x_1;
|
|
5770
5777
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5771
5778
|
var element = splitOptionPrefix(name).u9_1;
|
|
5772
|
-
|
|
5779
|
+
tmp0.e(element);
|
|
5773
5780
|
}
|
|
5774
5781
|
}
|
|
5775
5782
|
$this.v1x_1.d2('');
|
|
@@ -5828,21 +5835,21 @@
|
|
|
5828
5835
|
return true;
|
|
5829
5836
|
if ($this.w1x_1.d1($this.o1x_1.r1h_1($this.o1x_1, substringBefore(token, '='))))
|
|
5830
5837
|
return true;
|
|
5831
|
-
var
|
|
5838
|
+
var tmp0 = $this.t1x_1;
|
|
5832
5839
|
// Inline function 'kotlin.collections.contains' call
|
|
5833
5840
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5834
5841
|
var key = $this.o1x_1.r1h_1($this.o1x_1, take(token, 2));
|
|
5835
|
-
return !(isInterface(
|
|
5842
|
+
return !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).u1(key);
|
|
5836
5843
|
}
|
|
5837
5844
|
function consumeOptionParse($this, result) {
|
|
5838
5845
|
var tmp0 = $this.x1x_1;
|
|
5839
5846
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5840
5847
|
var elements = result.v1y_1;
|
|
5841
5848
|
addAll(tmp0, elements);
|
|
5842
|
-
var
|
|
5849
|
+
var tmp0_0 = $this.z1x_1;
|
|
5843
5850
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5844
5851
|
var elements_0 = result.w1y_1;
|
|
5845
|
-
addAll(
|
|
5852
|
+
addAll(tmp0_0, elements_0);
|
|
5846
5853
|
var tmp0_safe_receiver = result.x1y_1;
|
|
5847
5854
|
if (tmp0_safe_receiver == null)
|
|
5848
5855
|
null;
|
|
@@ -5862,14 +5869,7 @@
|
|
|
5862
5869
|
var equalsIndex = indexOf(tok, _Char___init__impl__6a9atx(61));
|
|
5863
5870
|
var tmp;
|
|
5864
5871
|
if (equalsIndex >= 0) {
|
|
5865
|
-
|
|
5866
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
5867
|
-
var tmp_0 = tok.substring(0, equalsIndex);
|
|
5868
|
-
// Inline function 'kotlin.text.substring' call
|
|
5869
|
-
var startIndex = equalsIndex + 1 | 0;
|
|
5870
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
5871
|
-
var tmp$ret$3 = tok.substring(startIndex);
|
|
5872
|
-
tmp = to(tmp_0, tmp$ret$3);
|
|
5872
|
+
tmp = to(substring(tok, 0, equalsIndex), substring_0(tok, equalsIndex + 1 | 0));
|
|
5873
5873
|
} else {
|
|
5874
5874
|
tmp = to(tok, null);
|
|
5875
5875
|
}
|
|
@@ -5878,13 +5878,13 @@
|
|
|
5878
5878
|
var attachedValue = _destruct__k2r9zo.x9();
|
|
5879
5879
|
name = $this.o1x_1.r1h_1($this.o1x_1, name);
|
|
5880
5880
|
var tmp0_elvis_lhs = $this.t1x_1.w1(name);
|
|
5881
|
-
var
|
|
5881
|
+
var tmp_0;
|
|
5882
5882
|
if (tmp0_elvis_lhs == null) {
|
|
5883
|
-
var
|
|
5883
|
+
var tmp_1;
|
|
5884
5884
|
if ($this.m1x_1.c1j()) {
|
|
5885
5885
|
return new OptParseResult(1, listOf_0(tok));
|
|
5886
5886
|
} else {
|
|
5887
|
-
var
|
|
5887
|
+
var tmp_2 = name;
|
|
5888
5888
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5889
5889
|
var tmp0 = $this.t1x_1;
|
|
5890
5890
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -5897,17 +5897,17 @@
|
|
|
5897
5897
|
destination.e2(element.y(), element.z());
|
|
5898
5898
|
}
|
|
5899
5899
|
}
|
|
5900
|
-
var possibilities = $this.o1x_1.v1h_1(
|
|
5900
|
+
var possibilities = $this.o1x_1.v1h_1(tmp_2, toList_0(destination.x1()));
|
|
5901
5901
|
return new OptParseResult(1, VOID, VOID, createNoSuchOption($this, name, possibilities));
|
|
5902
5902
|
}
|
|
5903
5903
|
} else {
|
|
5904
|
-
|
|
5904
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
5905
5905
|
}
|
|
5906
|
-
var option =
|
|
5906
|
+
var option = tmp_0;
|
|
5907
5907
|
return parseOptValues($this, option, name, attachedValue);
|
|
5908
5908
|
}
|
|
5909
5909
|
function parseShortOpt($this, tok) {
|
|
5910
|
-
var prefix = toString(
|
|
5910
|
+
var prefix = toString(charCodeAt(tok, 0));
|
|
5911
5911
|
var tmp;
|
|
5912
5912
|
if (!($this.u1x_1 == null)) {
|
|
5913
5913
|
var tmp0 = drop(tok, 1);
|
|
@@ -5938,7 +5938,7 @@
|
|
|
5938
5938
|
var last = tok.length;
|
|
5939
5939
|
$l$loop: while (inductionVariable_0 < last) {
|
|
5940
5940
|
var i = inductionVariable_0;
|
|
5941
|
-
var opt =
|
|
5941
|
+
var opt = charCodeAt(tok, inductionVariable_0);
|
|
5942
5942
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5943
5943
|
if (i === 0)
|
|
5944
5944
|
continue $l$loop;
|
|
@@ -5953,11 +5953,11 @@
|
|
|
5953
5953
|
var tmp_2;
|
|
5954
5954
|
var tmp_3;
|
|
5955
5955
|
if (prefix === '-') {
|
|
5956
|
-
var
|
|
5956
|
+
var tmp0_0 = $this.t1x_1;
|
|
5957
5957
|
// Inline function 'kotlin.collections.contains' call
|
|
5958
5958
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5959
5959
|
var key = '-' + tok;
|
|
5960
|
-
tmp_3 = (isInterface(
|
|
5960
|
+
tmp_3 = (isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).u1(key);
|
|
5961
5961
|
} else {
|
|
5962
5962
|
tmp_3 = false;
|
|
5963
5963
|
}
|
|
@@ -6124,10 +6124,10 @@
|
|
|
6124
6124
|
var remaining = $this.x1x_1.s() - tokenI | 0;
|
|
6125
6125
|
var tmp_0;
|
|
6126
6126
|
if (argument.i1i() <= 0) {
|
|
6127
|
-
var
|
|
6127
|
+
var tmp0 = argument.d1t() ? 1 : 0;
|
|
6128
6128
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6129
6129
|
var b = remaining - endSize | 0;
|
|
6130
|
-
tmp_0 = Math.max(
|
|
6130
|
+
tmp_0 = Math.max(tmp0, b);
|
|
6131
6131
|
} else if (argument.i1i() > 0 && !argument.d1t() && remaining === 0) {
|
|
6132
6132
|
tmp_0 = 0;
|
|
6133
6133
|
} else {
|
|
@@ -6136,10 +6136,10 @@
|
|
|
6136
6136
|
var consumed = tmp_0;
|
|
6137
6137
|
var toIndex = coerceAtMost(tokenI + consumed | 0, $this.x1x_1.s());
|
|
6138
6138
|
var values = $this.x1x_1.s1(tokenI, toIndex);
|
|
6139
|
-
var
|
|
6139
|
+
var tmp0_0 = $this.a1y_1;
|
|
6140
6140
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6141
6141
|
var element_0 = new ArgumentInvocation(argument, values);
|
|
6142
|
-
|
|
6142
|
+
tmp0_0.e(element_0);
|
|
6143
6143
|
if (consumed > remaining) {
|
|
6144
6144
|
return Unit_instance;
|
|
6145
6145
|
}
|
|
@@ -6159,15 +6159,15 @@
|
|
|
6159
6159
|
if (tmp) {
|
|
6160
6160
|
var actual = last($this.x1x_1);
|
|
6161
6161
|
var possibilities = $this.m1x_1.g1h().v1h_1(actual, toList_0($this.r1x_1.x1()));
|
|
6162
|
-
var
|
|
6162
|
+
var tmp0 = $this.b1y_1;
|
|
6163
6163
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6164
6164
|
var element = new NoSuchSubcommand(actual, possibilities);
|
|
6165
|
-
|
|
6165
|
+
tmp0.e(element);
|
|
6166
6166
|
} else {
|
|
6167
|
-
var
|
|
6167
|
+
var tmp0_0 = $this.b1y_1;
|
|
6168
6168
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6169
6169
|
var element_0 = new NoSuchArgument(takeLast($this.x1x_1, excessCount));
|
|
6170
|
-
|
|
6170
|
+
tmp0_0.e(element_0);
|
|
6171
6171
|
}
|
|
6172
6172
|
}
|
|
6173
6173
|
}
|
|
@@ -6390,7 +6390,7 @@
|
|
|
6390
6390
|
var sb = StringBuilder_init_$Create$();
|
|
6391
6391
|
var i = {_v: 0};
|
|
6392
6392
|
loop: while (i._v < text.length) {
|
|
6393
|
-
var c =
|
|
6393
|
+
var c = charCodeAt(text, i._v);
|
|
6394
6394
|
var tmp;
|
|
6395
6395
|
if (contains('\r\n', c)) {
|
|
6396
6396
|
var tmp_0 = inQuote;
|
|
@@ -6406,13 +6406,13 @@
|
|
|
6406
6406
|
if (i._v >= get_lastIndex(text)) {
|
|
6407
6407
|
shlex$err(filename, text, i, localization.s1s());
|
|
6408
6408
|
}
|
|
6409
|
-
if (contains('\r\n',
|
|
6409
|
+
if (contains('\r\n', charCodeAt(text, i._v + 1 | 0))) {
|
|
6410
6410
|
do {
|
|
6411
6411
|
i._v = i._v + 1 | 0;
|
|
6412
6412
|
}
|
|
6413
|
-
while (i._v <= get_lastIndex(text) && isWhitespace(
|
|
6413
|
+
while (i._v <= get_lastIndex(text) && isWhitespace(charCodeAt(text, i._v)));
|
|
6414
6414
|
} else {
|
|
6415
|
-
sb.y7(
|
|
6415
|
+
sb.y7(charCodeAt(text, i._v + 1 | 0));
|
|
6416
6416
|
i._v = i._v + 2 | 0;
|
|
6417
6417
|
}
|
|
6418
6418
|
} else {
|