@flock/wirespec 0.10.10 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-annotations.js +3 -3
- package/arrow-arrow-atomic.js +17 -17
- package/arrow-arrow-continuations.js +5 -5
- package/arrow-arrow-core.js +82 -81
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +351 -262
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +156 -180
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1490 -1461
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-test.js +3 -3
- package/kotlin-openapi-bindings.js +4696 -4696
- package/kotlin-rgxgen.js +163 -118
- package/kotlin-rgxgen.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-serialization-kotlinx-serialization-core.js +1729 -1729
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1465 -1461
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/markdown.js +191 -181
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +311 -251
- package/mordant-mordant.js.map +1 -1
- package/package.json +2 -2
- package/resources-library.js +3 -3
- package/wirespec-src-compiler-core.js +1599 -1467
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +406 -406
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +809 -805
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +98 -98
- package/wirespec-src-plugin-cli.js +136 -130
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +44 -45
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +54 -50
- package/wirespec-src-tools-generator.js.map +1 -1
package/clikt-clikt.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js', './mordant-mordant.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./mordant-mordant.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'clikt-clikt'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'clikt-clikt'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['mordant-mordant'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'clikt-clikt'. Its dependency 'mordant-mordant' was not found. Please, check whether 'mordant-mordant' is loaded prior to 'clikt-clikt'.");
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
globalThis['clikt-clikt'] = factory(typeof globalThis['clikt-clikt'] === 'undefined' ? {} : globalThis['clikt-clikt'], globalThis['kotlin-kotlin-stdlib'], globalThis['mordant-mordant']);
|
|
14
14
|
}
|
|
15
|
-
}(
|
|
15
|
+
}(function (_, kotlin_kotlin, kotlin_mordant_mordant) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
20
|
-
var map = kotlin_kotlin.$_$.
|
|
21
|
-
var toList = kotlin_kotlin.$_$.
|
|
19
|
+
var generateSequence = kotlin_kotlin.$_$.wb;
|
|
20
|
+
var map = kotlin_kotlin.$_$.zb;
|
|
21
|
+
var toList = kotlin_kotlin.$_$.ac;
|
|
22
22
|
var asReversed = kotlin_kotlin.$_$.c5;
|
|
23
23
|
var joinToString = kotlin_kotlin.$_$.s6;
|
|
24
24
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.v1;
|
|
25
|
-
var replace = kotlin_kotlin.$_$.
|
|
26
|
-
var to = kotlin_kotlin.$_$.
|
|
25
|
+
var replace = kotlin_kotlin.$_$.kd;
|
|
26
|
+
var to = kotlin_kotlin.$_$.hg;
|
|
27
27
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
28
28
|
var plus = kotlin_kotlin.$_$.p7;
|
|
29
29
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
30
30
|
var Unit_instance = kotlin_kotlin.$_$.g4;
|
|
31
31
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i5;
|
|
32
32
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
33
|
-
var Triple = kotlin_kotlin.$_$.
|
|
34
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
33
|
+
var Triple = kotlin_kotlin.$_$.kf;
|
|
34
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ra;
|
|
35
35
|
var addAll = kotlin_kotlin.$_$.y4;
|
|
36
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
37
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
36
|
+
var compareTo = kotlin_kotlin.$_$.o9;
|
|
37
|
+
var ensureNotNull = kotlin_kotlin.$_$.yf;
|
|
38
38
|
var plus_0 = kotlin_kotlin.$_$.r7;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
40
|
-
var trimMargin = kotlin_kotlin.$_$.
|
|
41
|
-
var trimIndent = kotlin_kotlin.$_$.
|
|
42
|
-
var prependIndent = kotlin_kotlin.$_$.
|
|
40
|
+
var trimMargin = kotlin_kotlin.$_$.me;
|
|
41
|
+
var trimIndent = kotlin_kotlin.$_$.le;
|
|
42
|
+
var prependIndent = kotlin_kotlin.$_$.ed;
|
|
43
43
|
var VOID = kotlin_kotlin.$_$.g;
|
|
44
44
|
var joinTo = kotlin_kotlin.$_$.t6;
|
|
45
45
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
46
|
-
var first = kotlin_kotlin.$_$.
|
|
46
|
+
var first = kotlin_kotlin.$_$.qc;
|
|
47
47
|
var toString = kotlin_kotlin.$_$.z1;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
50
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
51
|
-
var Enum = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
53
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
54
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
55
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
56
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
57
|
-
var trim = kotlin_kotlin.$_$.
|
|
48
|
+
var equals = kotlin_kotlin.$_$.q9;
|
|
49
|
+
var protoOf = kotlin_kotlin.$_$.xa;
|
|
50
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ca;
|
|
51
|
+
var Enum = kotlin_kotlin.$_$.ye;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.x9;
|
|
53
|
+
var THROW_CCE = kotlin_kotlin.$_$.if;
|
|
54
|
+
var toString_0 = kotlin_kotlin.$_$.bb;
|
|
55
|
+
var hashCode = kotlin_kotlin.$_$.w9;
|
|
56
|
+
var isCharSequence = kotlin_kotlin.$_$.ha;
|
|
57
|
+
var trim = kotlin_kotlin.$_$.pe;
|
|
58
58
|
var lastOrNull = kotlin_kotlin.$_$.z6;
|
|
59
59
|
var first_0 = kotlin_kotlin.$_$.h6;
|
|
60
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
61
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
60
|
+
var replace_0 = kotlin_kotlin.$_$.jd;
|
|
61
|
+
var isBlank = kotlin_kotlin.$_$.tc;
|
|
62
62
|
var Collection = kotlin_kotlin.$_$.k4;
|
|
63
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
64
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
65
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
66
|
-
var trimStart = kotlin_kotlin.$_$.
|
|
67
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
68
|
-
var contains = kotlin_kotlin.$_$.
|
|
69
|
-
var startsWith_0 = kotlin_kotlin.$_$.
|
|
63
|
+
var isInterface = kotlin_kotlin.$_$.la;
|
|
64
|
+
var startsWith = kotlin_kotlin.$_$.pd;
|
|
65
|
+
var charArrayOf = kotlin_kotlin.$_$.j9;
|
|
66
|
+
var trimStart = kotlin_kotlin.$_$.oe;
|
|
67
|
+
var charSequenceGet = kotlin_kotlin.$_$.l9;
|
|
68
|
+
var contains = kotlin_kotlin.$_$.jc;
|
|
69
|
+
var startsWith_0 = kotlin_kotlin.$_$.qd;
|
|
70
70
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
71
71
|
var minus = kotlin_kotlin.$_$.k7;
|
|
72
72
|
var plus_1 = kotlin_kotlin.$_$.s7;
|
|
@@ -78,36 +78,37 @@
|
|
|
78
78
|
var flatten = kotlin_kotlin.$_$.j6;
|
|
79
79
|
var asList = kotlin_kotlin.$_$.a5;
|
|
80
80
|
var setOf = kotlin_kotlin.$_$.v7;
|
|
81
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
81
|
+
var removeSuffix = kotlin_kotlin.$_$.gd;
|
|
82
82
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
83
|
-
var split = kotlin_kotlin.$_$.
|
|
83
|
+
var split = kotlin_kotlin.$_$.od;
|
|
84
84
|
var last = kotlin_kotlin.$_$.c7;
|
|
85
85
|
var plus_2 = kotlin_kotlin.$_$.o7;
|
|
86
86
|
var Terminal_init_$Create$ = kotlin_mordant_mordant.$_$.h;
|
|
87
87
|
var toSet = kotlin_kotlin.$_$.p8;
|
|
88
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
88
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.y9;
|
|
89
89
|
var asReversed_0 = kotlin_kotlin.$_$.b5;
|
|
90
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
90
|
+
var addSuppressed = kotlin_kotlin.$_$.uf;
|
|
91
91
|
var sortedWith = kotlin_kotlin.$_$.a8;
|
|
92
|
-
var
|
|
92
|
+
var FunctionAdapter = kotlin_kotlin.$_$.f9;
|
|
93
|
+
var Comparator = kotlin_kotlin.$_$.ve;
|
|
93
94
|
var compareValues = kotlin_kotlin.$_$.w8;
|
|
94
|
-
var commonPrefixWith = kotlin_kotlin.$_$.
|
|
95
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
96
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
97
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
98
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
99
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
100
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
95
|
+
var commonPrefixWith = kotlin_kotlin.$_$.fc;
|
|
96
|
+
var charSequenceLength = kotlin_kotlin.$_$.m9;
|
|
97
|
+
var booleanArray = kotlin_kotlin.$_$.h9;
|
|
98
|
+
var get_lastIndex = kotlin_kotlin.$_$.bd;
|
|
99
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.aa;
|
|
100
|
+
var captureStack = kotlin_kotlin.$_$.i9;
|
|
101
|
+
var RuntimeException = kotlin_kotlin.$_$.hf;
|
|
101
102
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.s1;
|
|
102
103
|
var listOf_0 = kotlin_kotlin.$_$.g7;
|
|
103
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
104
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
104
|
+
var objectCreate = kotlin_kotlin.$_$.wa;
|
|
105
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.eg;
|
|
105
106
|
var toMutableMap = kotlin_kotlin.$_$.o8;
|
|
106
107
|
var KtMap = kotlin_kotlin.$_$.t4;
|
|
107
108
|
var toList_0 = kotlin_kotlin.$_$.k8;
|
|
108
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
109
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
110
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
109
|
+
var IllegalStateException = kotlin_kotlin.$_$.bf;
|
|
110
|
+
var getStringHashCode = kotlin_kotlin.$_$.v9;
|
|
111
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.s9;
|
|
111
112
|
var Text_init_$Create$ = kotlin_mordant_mordant.$_$.i;
|
|
112
113
|
var Whitespace_NORMAL_getInstance = kotlin_mordant_mordant.$_$.f;
|
|
113
114
|
var verticalLayout = kotlin_mordant_mordant.$_$.c;
|
|
@@ -116,50 +117,50 @@
|
|
|
116
117
|
var Markdown = kotlin_mordant_mordant.$_$.a;
|
|
117
118
|
var withPadding = kotlin_mordant_mordant.$_$.e;
|
|
118
119
|
var mapCapacity = kotlin_kotlin.$_$.i7;
|
|
119
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
120
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ib;
|
|
120
121
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
121
122
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
122
123
|
var toList_1 = kotlin_kotlin.$_$.j8;
|
|
123
124
|
var mutableListOf = kotlin_kotlin.$_$.l7;
|
|
124
125
|
var asSequence = kotlin_kotlin.$_$.d5;
|
|
125
|
-
var filter = kotlin_kotlin.$_$.
|
|
126
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
126
|
+
var filter = kotlin_kotlin.$_$.vb;
|
|
127
|
+
var joinToString_0 = kotlin_kotlin.$_$.yb;
|
|
127
128
|
var first_1 = kotlin_kotlin.$_$.i6;
|
|
128
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
129
|
-
var drop = kotlin_kotlin.$_$.
|
|
129
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.n9;
|
|
130
|
+
var drop = kotlin_kotlin.$_$.lc;
|
|
130
131
|
var Whitespace_PRE_WRAP_getInstance = kotlin_mordant_mordant.$_$.g;
|
|
131
132
|
var Companion_instance = kotlin_kotlin.$_$.b4;
|
|
132
133
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a2;
|
|
133
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
134
|
+
var createFailure = kotlin_kotlin.$_$.xf;
|
|
134
135
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.d2;
|
|
135
136
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.c2;
|
|
136
137
|
var single = kotlin_kotlin.$_$.x7;
|
|
137
|
-
var KMutableProperty1 = kotlin_kotlin.$_$.
|
|
138
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
139
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
138
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.rb;
|
|
139
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.u9;
|
|
140
|
+
var ClassCastException = kotlin_kotlin.$_$.te;
|
|
140
141
|
var copyToArray = kotlin_kotlin.$_$.x5;
|
|
141
142
|
var toSet_0 = kotlin_kotlin.$_$.q8;
|
|
142
143
|
var contains_0 = kotlin_kotlin.$_$.j5;
|
|
143
|
-
var slice = kotlin_kotlin.$_$.
|
|
144
|
+
var slice = kotlin_kotlin.$_$.md;
|
|
144
145
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
145
146
|
var setOf_0 = kotlin_kotlin.$_$.u7;
|
|
146
147
|
var emptySet = kotlin_kotlin.$_$.d6;
|
|
147
|
-
var Exception = kotlin_kotlin.$_$.
|
|
148
|
+
var Exception = kotlin_kotlin.$_$.ze;
|
|
148
149
|
var get_lastIndex_0 = kotlin_kotlin.$_$.w6;
|
|
149
150
|
var getValue = kotlin_kotlin.$_$.m6;
|
|
150
151
|
var slice_0 = kotlin_kotlin.$_$.y7;
|
|
151
152
|
var drop_0 = kotlin_kotlin.$_$.a6;
|
|
152
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
153
|
-
var isDigit = kotlin_kotlin.$_$.
|
|
153
|
+
var indexOf = kotlin_kotlin.$_$.sc;
|
|
154
|
+
var isDigit = kotlin_kotlin.$_$.uc;
|
|
154
155
|
var withDefault = kotlin_kotlin.$_$.r8;
|
|
155
156
|
var getOrNull = kotlin_kotlin.$_$.l6;
|
|
156
157
|
var takeLast = kotlin_kotlin.$_$.e8;
|
|
157
|
-
var contains_1 = kotlin_kotlin.$_$.
|
|
158
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
159
|
-
var take = kotlin_kotlin.$_$.
|
|
160
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
161
|
-
var Char = kotlin_kotlin.$_$.
|
|
162
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
158
|
+
var contains_1 = kotlin_kotlin.$_$.ic;
|
|
159
|
+
var substringBefore = kotlin_kotlin.$_$.sd;
|
|
160
|
+
var take = kotlin_kotlin.$_$.vd;
|
|
161
|
+
var toString_1 = kotlin_kotlin.$_$.gg;
|
|
162
|
+
var Char = kotlin_kotlin.$_$.se;
|
|
163
|
+
var isWhitespace = kotlin_kotlin.$_$.ad;
|
|
163
164
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.j1;
|
|
164
165
|
//endregion
|
|
165
166
|
//region block: pre-declaration
|
|
@@ -179,7 +180,7 @@
|
|
|
179
180
|
initMetadataForClass(Builder, 'Builder');
|
|
180
181
|
initMetadataForCompanion(Companion);
|
|
181
182
|
initMetadataForClass(Context, 'Context');
|
|
182
|
-
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
183
|
+
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
183
184
|
initMetadataForClass(NoOpCliktCommand, 'NoOpCliktCommand', NoOpCliktCommand, CliktCommand);
|
|
184
185
|
function get_completionCandidates() {
|
|
185
186
|
return None_getInstance();
|
|
@@ -373,8 +374,8 @@
|
|
|
373
374
|
initMetadataForClass(defaultLocalization$1, VOID, VOID, VOID, [Localization]);
|
|
374
375
|
initMetadataForClass(RenderedSection, 'RenderedSection');
|
|
375
376
|
initMetadataForClass(DefinitionRow, 'DefinitionRow');
|
|
376
|
-
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
377
|
-
initMetadataForClass(sam$kotlin_Comparator$0_1, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
377
|
+
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
378
|
+
initMetadataForClass(sam$kotlin_Comparator$0_1, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
378
379
|
initMetadataForClass(MordantHelpFormatter$parameterFormatter$1);
|
|
379
380
|
initMetadataForClass(MordantHelpFormatter, 'MordantHelpFormatter');
|
|
380
381
|
function get_completionCandidates_0() {
|
|
@@ -450,7 +451,7 @@
|
|
|
450
451
|
initMetadataForClass(OptionWithValuesImpl, 'OptionWithValuesImpl', VOID, VOID, [OptionWithValues]);
|
|
451
452
|
initMetadataForClass(HelpTransformContext, 'HelpTransformContext');
|
|
452
453
|
initMetadataForClass(Invocation, 'Invocation');
|
|
453
|
-
initMetadataForClass(sam$kotlin_Comparator$0_2, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
|
|
454
|
+
initMetadataForClass(sam$kotlin_Comparator$0_2, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
454
455
|
initMetadataForObject(Parser, 'Parser');
|
|
455
456
|
initMetadataForClass(OptInvocation, 'OptInvocation');
|
|
456
457
|
initMetadataForClass(Err, 'Err');
|
|
@@ -468,7 +469,7 @@
|
|
|
468
469
|
return to(isTopLevel, funcName);
|
|
469
470
|
}
|
|
470
471
|
function customParamCompletionName($this, commandFuncName, name) {
|
|
471
|
-
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').
|
|
472
|
+
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').wb(name, '_');
|
|
472
473
|
}
|
|
473
474
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
474
475
|
return plus(_this__u8e3s4.g3n(), _this__u8e3s4.h3n());
|
|
@@ -487,8 +488,8 @@
|
|
|
487
488
|
protoOf(BashCompletionGenerator).d3o = function (command, zsh) {
|
|
488
489
|
var commandName = command.v3m_1;
|
|
489
490
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
490
|
-
var isTopLevel = tmp0_container.
|
|
491
|
-
var funcName = tmp0_container.
|
|
491
|
+
var isTopLevel = tmp0_container.qd();
|
|
492
|
+
var funcName = tmp0_container.rd();
|
|
492
493
|
// Inline function 'kotlin.collections.map' call
|
|
493
494
|
// Inline function 'kotlin.collections.filterNot' call
|
|
494
495
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -558,13 +559,17 @@
|
|
|
558
559
|
var this_4 = numberRangeToNumber(1, element_0.g3o());
|
|
559
560
|
// Inline function 'kotlin.collections.mapTo' call
|
|
560
561
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
562
|
+
var inductionVariable = this_4.d1_1;
|
|
563
|
+
var last = this_4.e1_1;
|
|
564
|
+
if (inductionVariable <= last)
|
|
565
|
+
do {
|
|
566
|
+
var item_3 = inductionVariable;
|
|
567
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
568
|
+
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
569
|
+
var tmp$ret$14 = "'" + element_0.r2() + "'";
|
|
570
|
+
destination_4.e(tmp$ret$14);
|
|
571
|
+
}
|
|
572
|
+
while (!(item_3 === last));
|
|
568
573
|
var list_0 = destination_4;
|
|
569
574
|
addAll(destination_3, list_0);
|
|
570
575
|
}
|
|
@@ -575,9 +580,9 @@
|
|
|
575
580
|
var tmp$ret$21;
|
|
576
581
|
$l$block: {
|
|
577
582
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
578
|
-
var
|
|
579
|
-
while (
|
|
580
|
-
var element_1 =
|
|
583
|
+
var tmp0_iterator_5 = this_5.g();
|
|
584
|
+
while (tmp0_iterator_5.h()) {
|
|
585
|
+
var element_1 = tmp0_iterator_5.i();
|
|
581
586
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
582
587
|
if (element_1.g3o() < 0) {
|
|
583
588
|
tmp$ret$21 = element_1;
|
|
@@ -592,14 +597,14 @@
|
|
|
592
597
|
// Inline function 'kotlin.collections.map' call
|
|
593
598
|
// Inline function 'kotlin.collections.mapTo' call
|
|
594
599
|
var destination_5 = ArrayList_init_$Create$_0(collectionSizeOrDefault(options, 10));
|
|
595
|
-
var
|
|
596
|
-
while (
|
|
597
|
-
var item_4 =
|
|
600
|
+
var tmp0_iterator_6 = options.g();
|
|
601
|
+
while (tmp0_iterator_6.h()) {
|
|
602
|
+
var item_4 = tmp0_iterator_6.i();
|
|
598
603
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
599
604
|
var tmp$ret$24;
|
|
600
605
|
$l$block_1: {
|
|
601
606
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
602
|
-
var iterator = item_4.
|
|
607
|
+
var iterator = item_4.nh_1.g();
|
|
603
608
|
if (!iterator.h()) {
|
|
604
609
|
tmp$ret$24 = null;
|
|
605
610
|
break $l$block_1;
|
|
@@ -623,7 +628,7 @@
|
|
|
623
628
|
while (iterator.h());
|
|
624
629
|
tmp$ret$24 = maxElem;
|
|
625
630
|
}
|
|
626
|
-
var tmp$ret$27 = to(ensureNotNull(tmp$ret$24), item_4.
|
|
631
|
+
var tmp$ret$27 = to(ensureNotNull(tmp$ret$24), item_4.oh_1);
|
|
627
632
|
destination_5.e(tmp$ret$27);
|
|
628
633
|
}
|
|
629
634
|
var paramsWithCandidates = plus_0(destination_5, arguments_0);
|
|
@@ -636,17 +641,17 @@
|
|
|
636
641
|
// Inline function 'kotlin.contracts.contract' call
|
|
637
642
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
638
643
|
if (isTopLevel) {
|
|
639
|
-
this_6.
|
|
644
|
+
this_6.w7(trimMargin('\n |#!/usr/bin/env ' + (zsh ? 'zsh' : 'bash') + '\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n |\n |\n '));
|
|
640
645
|
if (zsh) {
|
|
641
|
-
this_6.
|
|
646
|
+
this_6.w7('autoload -Uz compinit\ncompinit\nautoload -Uz bashcompinit\nbashcompinit\n\n');
|
|
642
647
|
}
|
|
643
|
-
this_6.
|
|
648
|
+
this_6.w7('__skip_opt_eq() {\n # this takes advantage of the fact that bash functions can write to local\n # variables in their callers\n (( i = i + 1 ))\n if [[ "${COMP_WORDS[$i]}" == \'=\' ]]; then\n (( i = i + 1 ))\n fi\n}\n');
|
|
644
649
|
}
|
|
645
|
-
var
|
|
646
|
-
$l$loop_0: while (
|
|
647
|
-
var tmp1_loop_parameter =
|
|
648
|
-
var name = tmp1_loop_parameter.
|
|
649
|
-
var candidate = tmp1_loop_parameter.
|
|
650
|
+
var tmp0_iterator_7 = paramsWithCandidates.g();
|
|
651
|
+
$l$loop_0: while (tmp0_iterator_7.h()) {
|
|
652
|
+
var tmp1_loop_parameter = tmp0_iterator_7.i();
|
|
653
|
+
var name = tmp1_loop_parameter.qd();
|
|
654
|
+
var candidate = tmp1_loop_parameter.rd();
|
|
650
655
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
651
656
|
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h3o_1;
|
|
652
657
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
@@ -658,19 +663,19 @@
|
|
|
658
663
|
}
|
|
659
664
|
var body = tmp;
|
|
660
665
|
var indentedBody = prependIndent(trimIndent(body), ' ');
|
|
661
|
-
this_6.
|
|
666
|
+
this_6.w7(trimMargin('\n |\n |' + customParamCompletionName(BashCompletionGenerator_instance, funcName, name) + '() {\n |' + indentedBody + '\n |}\n |\n '));
|
|
662
667
|
}
|
|
663
|
-
this_6.
|
|
668
|
+
this_6.w7(trimMargin('\n |\n |' + funcName + '() {\n | local i=' + (isTopLevel ? '1' : '$1') + "\n | local in_param=''\n | local fixed_arg_names=(" + fixedArgNameArray + ")\n | local vararg_name='" + varargName + '\'\n | local can_parse_options=1\n |\n | while [[ ${i} -lt $COMP_CWORD ]]; do\n | if [[ ${can_parse_options} -eq 1 ]]; then\n | case "${COMP_WORDS[$i]}" in\n | --)\n | can_parse_options=0\n | (( i = i + 1 ));\n | continue\n | ;;\n |\n '));
|
|
664
669
|
var tmp5_iterator = options.g();
|
|
665
670
|
while (tmp5_iterator.h()) {
|
|
666
671
|
var tmp6_loop_parameter = tmp5_iterator.i();
|
|
667
|
-
var names = tmp6_loop_parameter.
|
|
668
|
-
var nargs = tmp6_loop_parameter.
|
|
669
|
-
this_6.
|
|
672
|
+
var names = tmp6_loop_parameter.qd();
|
|
673
|
+
var nargs = tmp6_loop_parameter.qh();
|
|
674
|
+
this_6.w7(' ');
|
|
670
675
|
joinTo(names, this_6, '|', VOID, ')\n');
|
|
671
|
-
this_6.
|
|
676
|
+
this_6.w7(' __skip_opt_eq\n');
|
|
672
677
|
if (nargs.d1_1 > 0) {
|
|
673
|
-
this_6.
|
|
678
|
+
this_6.w7(' (( i = i + ' + nargs.d1_1 + ' ))\n');
|
|
674
679
|
var tmp$ret$30;
|
|
675
680
|
$l$block_3: {
|
|
676
681
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -698,13 +703,13 @@
|
|
|
698
703
|
while (iterator_0.h());
|
|
699
704
|
tmp$ret$30 = maxElem_0;
|
|
700
705
|
}
|
|
701
|
-
this_6.
|
|
706
|
+
this_6.w7(" [[ ${i} -gt COMP_CWORD ]] && in_param='" + tmp$ret$30 + "' || in_param=''\n");
|
|
702
707
|
} else {
|
|
703
|
-
this_6.
|
|
708
|
+
this_6.w7(" in_param=''\n");
|
|
704
709
|
}
|
|
705
|
-
this_6.
|
|
710
|
+
this_6.w7(' continue\n ;;\n');
|
|
706
711
|
}
|
|
707
|
-
this_6.
|
|
712
|
+
this_6.w7(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
708
713
|
// Inline function 'kotlin.collections.iterator' call
|
|
709
714
|
var tmp7_iterator = command.i3o().z().g();
|
|
710
715
|
while (tmp7_iterator.h()) {
|
|
@@ -713,88 +718,88 @@
|
|
|
713
718
|
var name_0 = tmp8_loop_parameter.a1();
|
|
714
719
|
// Inline function 'kotlin.collections.component2' call
|
|
715
720
|
var toks = tmp8_loop_parameter.b1();
|
|
716
|
-
this_6.
|
|
721
|
+
this_6.w7(trimMargin('\n | ' + name_0 + ')\n | (( i = i + 1 ))\n | COMP_WORDS=( "${COMP_WORDS[@]:0:${i}}"\n '));
|
|
717
722
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
718
|
-
this_6.
|
|
719
|
-
this_6.
|
|
723
|
+
this_6.w7(' "${COMP_WORDS[@]:${i}}" )').w7('\n');
|
|
724
|
+
this_6.w7(' (( COMP_CWORD = COMP_CWORD + ' + toks.j() + ' ))\n');
|
|
720
725
|
if (!command.f3n().k3n_1) {
|
|
721
|
-
this_6.
|
|
726
|
+
this_6.w7(' can_parse_options=0\n');
|
|
722
727
|
}
|
|
723
|
-
this_6.
|
|
728
|
+
this_6.w7(' ;;\n');
|
|
724
729
|
}
|
|
725
730
|
var tmp9_iterator = command.y3m_1.g();
|
|
726
731
|
while (tmp9_iterator.h()) {
|
|
727
732
|
var sub = tmp9_iterator.i();
|
|
728
|
-
this_6.
|
|
733
|
+
this_6.w7(trimMargin('\n | ' + sub.v3m_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).de_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
729
734
|
}
|
|
730
|
-
this_6.
|
|
735
|
+
this_6.w7(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
731
736
|
if (!command.f3n().k3n_1) {
|
|
732
|
-
this_6.
|
|
737
|
+
this_6.w7(' can_parse_options=0\n');
|
|
733
738
|
}
|
|
734
|
-
this_6.
|
|
739
|
+
this_6.w7(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
735
740
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
736
741
|
if (!options.l()) {
|
|
737
742
|
// Inline function 'kotlin.collections.mapTo' call
|
|
738
743
|
// Inline function 'kotlin.collections.flatMap' call
|
|
739
744
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
740
745
|
var destination_6 = ArrayList_init_$Create$();
|
|
741
|
-
var
|
|
742
|
-
while (
|
|
743
|
-
var element_2 =
|
|
746
|
+
var tmp0_iterator_8 = options.g();
|
|
747
|
+
while (tmp0_iterator_8.h()) {
|
|
748
|
+
var element_2 = tmp0_iterator_8.i();
|
|
744
749
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
745
|
-
var list_1 = element_2.
|
|
750
|
+
var list_1 = element_2.nh_1;
|
|
746
751
|
addAll(destination_6, list_1);
|
|
747
752
|
}
|
|
748
753
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
749
754
|
var destination_7 = LinkedHashSet_init_$Create$();
|
|
750
|
-
var
|
|
751
|
-
while (
|
|
752
|
-
var item_5 =
|
|
755
|
+
var tmp0_iterator_9 = destination_6.g();
|
|
756
|
+
while (tmp0_iterator_9.h()) {
|
|
757
|
+
var item_5 = tmp0_iterator_9.i();
|
|
753
758
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
754
759
|
var tmp$ret$41 = toString(first(item_5));
|
|
755
760
|
destination_7.e(tmp$ret$41);
|
|
756
761
|
}
|
|
757
762
|
var prefixChars = joinToString(destination_7, '');
|
|
758
|
-
this_6.
|
|
763
|
+
this_6.w7(trimMargin('\n | if [[ "${word}" =~ ^[' + prefixChars + "] ]]; then\n | COMPREPLY=($(compgen -W '\n "));
|
|
759
764
|
// Inline function 'kotlin.collections.flatMap' call
|
|
760
765
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
761
766
|
var destination_8 = ArrayList_init_$Create$();
|
|
762
|
-
var
|
|
763
|
-
while (
|
|
764
|
-
var element_3 =
|
|
767
|
+
var tmp0_iterator_10 = options.g();
|
|
768
|
+
while (tmp0_iterator_10.h()) {
|
|
769
|
+
var element_3 = tmp0_iterator_10.i();
|
|
765
770
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
766
|
-
var list_2 = element_3.
|
|
771
|
+
var list_2 = element_3.nh_1;
|
|
767
772
|
addAll(destination_8, list_2);
|
|
768
773
|
}
|
|
769
774
|
joinTo(destination_8, this_6, ' ');
|
|
770
|
-
this_6.
|
|
775
|
+
this_6.w7('\' -- "${word}"))\n return\n fi\n');
|
|
771
776
|
}
|
|
772
|
-
this_6.
|
|
777
|
+
this_6.w7('\n # We\'re either at an option\'s value, or the first remaining fixed size\n # arg, or the vararg if there are no fixed args left\n [[ -z "${in_param}" ]] && in_param=${fixed_arg_names[0]}\n [[ -z "${in_param}" ]] && in_param=${vararg_name}\n\n case "${in_param}" in\n');
|
|
773
778
|
var tmp10_iterator = paramsWithCandidates.g();
|
|
774
779
|
while (tmp10_iterator.h()) {
|
|
775
780
|
var tmp11_loop_parameter = tmp10_iterator.i();
|
|
776
|
-
var name_1 = tmp11_loop_parameter.
|
|
777
|
-
var completion = tmp11_loop_parameter.
|
|
778
|
-
this_6.
|
|
781
|
+
var name_1 = tmp11_loop_parameter.qd();
|
|
782
|
+
var completion = tmp11_loop_parameter.rd();
|
|
783
|
+
this_6.w7(trimMargin('\n | ' + name_1 + ')\n |\n '));
|
|
779
784
|
if (!equals(completion, None_getInstance())) {
|
|
780
785
|
if (equals(completion, Path_getInstance())) {
|
|
781
|
-
this_6.
|
|
786
|
+
this_6.w7(' COMPREPLY=($(compgen -o default -- "${word}"))\n');
|
|
782
787
|
} else {
|
|
783
788
|
if (equals(completion, Hostname_getInstance())) {
|
|
784
|
-
this_6.
|
|
789
|
+
this_6.w7(' COMPREPLY=($(compgen -A hostname -- "${word}"))\n');
|
|
785
790
|
} else {
|
|
786
791
|
if (equals(completion, Username_getInstance())) {
|
|
787
|
-
this_6.
|
|
792
|
+
this_6.w7(' COMPREPLY=($(compgen -A user -- "${word}"))\n');
|
|
788
793
|
} else {
|
|
789
794
|
if (completion instanceof Fixed) {
|
|
790
|
-
this_6.
|
|
795
|
+
this_6.w7(" COMPREPLY=($(compgen -W '");
|
|
791
796
|
joinTo(completion.j3o_1, this_6, ' ');
|
|
792
|
-
this_6.
|
|
797
|
+
this_6.w7('\' -- "${word}"))\n');
|
|
793
798
|
} else {
|
|
794
799
|
if (completion instanceof Custom) {
|
|
795
800
|
if (!(completion.h3o_1(ShellType_BASH_getInstance()) == null)) {
|
|
796
801
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
797
|
-
this_6.
|
|
802
|
+
this_6.w7(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
798
803
|
}
|
|
799
804
|
}
|
|
800
805
|
}
|
|
@@ -802,22 +807,22 @@
|
|
|
802
807
|
}
|
|
803
808
|
}
|
|
804
809
|
}
|
|
805
|
-
this_6.
|
|
810
|
+
this_6.w7(' ;;\n');
|
|
806
811
|
}
|
|
807
812
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
808
813
|
if (!subcommands.l()) {
|
|
809
|
-
this_6.
|
|
814
|
+
this_6.w7(" *)\n COMPREPLY=($(compgen -W '");
|
|
810
815
|
joinTo(subcommands, this_6, ' ');
|
|
811
|
-
this_6.
|
|
816
|
+
this_6.w7('\' -- "${word}"))\n ;;\n');
|
|
812
817
|
}
|
|
813
|
-
this_6.
|
|
818
|
+
this_6.w7(' esac\n}\n');
|
|
814
819
|
var tmp13_iterator = command.y3m_1.g();
|
|
815
820
|
while (tmp13_iterator.h()) {
|
|
816
821
|
var subcommand = tmp13_iterator.i();
|
|
817
|
-
this_6.
|
|
822
|
+
this_6.w7(BashCompletionGenerator_instance.d3o(subcommand, zsh));
|
|
818
823
|
}
|
|
819
824
|
if (isTopLevel) {
|
|
820
|
-
this_6.
|
|
825
|
+
this_6.w7('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
821
826
|
}
|
|
822
827
|
return this_6.toString();
|
|
823
828
|
};
|
|
@@ -1024,36 +1029,36 @@
|
|
|
1024
1029
|
// Inline function 'kotlin.text.appendLine' call
|
|
1025
1030
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
1026
1031
|
// Inline function 'kotlin.text.appendLine' call
|
|
1027
|
-
this_0.
|
|
1032
|
+
this_0.w7(value).x7(_Char___init__impl__6a9atx(10));
|
|
1028
1033
|
}
|
|
1029
1034
|
if (hasSubcommands || !isTopLevel) {
|
|
1030
1035
|
// Inline function 'kotlin.text.appendLine' call
|
|
1031
1036
|
var value_0 = '\n\n### Setup for ' + commandName;
|
|
1032
1037
|
// Inline function 'kotlin.text.appendLine' call
|
|
1033
|
-
this_0.
|
|
1038
|
+
this_0.w7(value_0).x7(_Char___init__impl__6a9atx(10));
|
|
1034
1039
|
}
|
|
1035
1040
|
if (hasSubcommands) {
|
|
1036
1041
|
var subcommandsStr = joinToString(subcommands, ' ', VOID, VOID, VOID, VOID, FishCompletionGenerator$generateFishCompletionForCommand$lambda);
|
|
1037
1042
|
// Inline function 'kotlin.text.appendLine' call
|
|
1038
1043
|
var value_1 = 'set -l ' + subcommandsVarName_0 + " '" + subcommandsStr + "'";
|
|
1039
1044
|
// Inline function 'kotlin.text.appendLine' call
|
|
1040
|
-
this_0.
|
|
1045
|
+
this_0.w7(value_1).x7(_Char___init__impl__6a9atx(10));
|
|
1041
1046
|
}
|
|
1042
1047
|
if (!isTopLevel) {
|
|
1043
|
-
this_0.
|
|
1048
|
+
this_0.w7('complete -c ' + rootCommandName + ' -f ');
|
|
1044
1049
|
if (rootCommandName === parentCommandName) {
|
|
1045
|
-
this_0.
|
|
1050
|
+
this_0.w7('-n __fish_use_subcommand ');
|
|
1046
1051
|
} else {
|
|
1047
|
-
this_0.
|
|
1052
|
+
this_0.w7('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1048
1053
|
}
|
|
1049
|
-
this_0.
|
|
1054
|
+
this_0.w7('-a ' + commandName + ' ');
|
|
1050
1055
|
var help = replace_0(command.o3o(command.f3n()), "'", "\\'");
|
|
1051
1056
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1052
1057
|
if (!isBlank(help)) {
|
|
1053
|
-
this_0.
|
|
1058
|
+
this_0.w7("-d '" + help + "'");
|
|
1054
1059
|
}
|
|
1055
1060
|
// Inline function 'kotlin.text.appendLine' call
|
|
1056
|
-
this_0.
|
|
1061
|
+
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
1057
1062
|
}
|
|
1058
1063
|
var tmp$ret$12;
|
|
1059
1064
|
$l$block_2: {
|
|
@@ -1108,7 +1113,7 @@
|
|
|
1108
1113
|
// Inline function 'kotlin.text.appendLine' call
|
|
1109
1114
|
var value_2 = '\n## Options for ' + commandName;
|
|
1110
1115
|
// Inline function 'kotlin.text.appendLine' call
|
|
1111
|
-
this_0.
|
|
1116
|
+
this_0.w7(value_2).x7(_Char___init__impl__6a9atx(10));
|
|
1112
1117
|
}
|
|
1113
1118
|
var tmp0_iterator_2 = options.g();
|
|
1114
1119
|
$l$loop: while (tmp0_iterator_2.h()) {
|
|
@@ -1133,30 +1138,30 @@
|
|
|
1133
1138
|
var tmp1_iterator = names.g();
|
|
1134
1139
|
while (tmp1_iterator.h()) {
|
|
1135
1140
|
var name = tmp1_iterator.i();
|
|
1136
|
-
this_0.
|
|
1141
|
+
this_0.x7(_Char___init__impl__6a9atx(32));
|
|
1137
1142
|
if (startsWith(name, '--')) {
|
|
1138
|
-
this_0.
|
|
1143
|
+
this_0.w7('-l ');
|
|
1139
1144
|
} else if (name.length === 2) {
|
|
1140
|
-
this_0.
|
|
1145
|
+
this_0.w7('-s ');
|
|
1141
1146
|
} else {
|
|
1142
|
-
this_0.
|
|
1147
|
+
this_0.w7('-o ');
|
|
1143
1148
|
}
|
|
1144
|
-
this_0.
|
|
1149
|
+
this_0.w7(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1145
1150
|
}
|
|
1146
1151
|
if (option.g3o().d1_1 > 0) {
|
|
1147
|
-
this_0.
|
|
1152
|
+
this_0.w7(' -r');
|
|
1148
1153
|
}
|
|
1149
1154
|
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.f3o());
|
|
1150
1155
|
appendHelp(this_0, FishCompletionGenerator_instance, option.p3o(command.f3n()));
|
|
1151
1156
|
// Inline function 'kotlin.text.appendLine' call
|
|
1152
|
-
this_0.
|
|
1157
|
+
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
1153
1158
|
}
|
|
1154
1159
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1155
1160
|
if (!arguments_0.l()) {
|
|
1156
1161
|
// Inline function 'kotlin.text.appendLine' call
|
|
1157
1162
|
var value_3 = '\n## Arguments for ' + commandName;
|
|
1158
1163
|
// Inline function 'kotlin.text.appendLine' call
|
|
1159
|
-
this_0.
|
|
1164
|
+
this_0.w7(value_3).x7(_Char___init__impl__6a9atx(10));
|
|
1160
1165
|
}
|
|
1161
1166
|
var tmp2_iterator = arguments_0.g();
|
|
1162
1167
|
while (tmp2_iterator.h()) {
|
|
@@ -1165,23 +1170,23 @@
|
|
|
1165
1170
|
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.f3o());
|
|
1166
1171
|
appendHelp(this_0, FishCompletionGenerator_instance, argument.q3o(command.f3n()));
|
|
1167
1172
|
// Inline function 'kotlin.text.appendLine' call
|
|
1168
|
-
this_0.
|
|
1173
|
+
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
1169
1174
|
}
|
|
1170
1175
|
var tmp3_iterator = subcommands.g();
|
|
1171
1176
|
while (tmp3_iterator.h()) {
|
|
1172
1177
|
var subcommand = tmp3_iterator.i();
|
|
1173
|
-
this_0.
|
|
1178
|
+
this_0.w7(generateFishCompletionForCommand(FishCompletionGenerator_instance, subcommand));
|
|
1174
1179
|
}
|
|
1175
1180
|
return this_0.toString();
|
|
1176
1181
|
}
|
|
1177
1182
|
function appendCompleteCall(_this__u8e3s4, $this, rootCommandName, isTopLevel, hasSubcommands, commandName) {
|
|
1178
|
-
_this__u8e3s4.
|
|
1183
|
+
_this__u8e3s4.w7('complete -c ' + rootCommandName);
|
|
1179
1184
|
if (isTopLevel) {
|
|
1180
1185
|
if (hasSubcommands) {
|
|
1181
|
-
_this__u8e3s4.
|
|
1186
|
+
_this__u8e3s4.w7(' -n "not __fish_seen_subcommand_from $' + commandName + '_subcommands"');
|
|
1182
1187
|
}
|
|
1183
1188
|
} else {
|
|
1184
|
-
_this__u8e3s4.
|
|
1189
|
+
_this__u8e3s4.w7(' -n "__fish_seen_subcommand_from ' + commandName + '"');
|
|
1185
1190
|
}
|
|
1186
1191
|
}
|
|
1187
1192
|
function appendHelp(_this__u8e3s4, $this, help) {
|
|
@@ -1209,26 +1214,26 @@
|
|
|
1209
1214
|
var h = replace_0(tmp$ret$3, "'", "\\'");
|
|
1210
1215
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1211
1216
|
if (!isBlank(h)) {
|
|
1212
|
-
_this__u8e3s4.
|
|
1217
|
+
_this__u8e3s4.w7(" -d '" + h + "'");
|
|
1213
1218
|
}
|
|
1214
1219
|
}
|
|
1215
1220
|
function appendParamCompletion(_this__u8e3s4, $this, completion) {
|
|
1216
1221
|
if (!(completion instanceof None)) {
|
|
1217
1222
|
if (completion instanceof Path) {
|
|
1218
|
-
_this__u8e3s4.
|
|
1223
|
+
_this__u8e3s4.w7(' -F');
|
|
1219
1224
|
} else {
|
|
1220
1225
|
if (completion instanceof Hostname) {
|
|
1221
|
-
_this__u8e3s4.
|
|
1226
|
+
_this__u8e3s4.w7(' -fa "(__fish_print_hostnames)"');
|
|
1222
1227
|
} else {
|
|
1223
1228
|
if (completion instanceof Username) {
|
|
1224
|
-
_this__u8e3s4.
|
|
1229
|
+
_this__u8e3s4.w7(' -fa "(__fish_complete_users)"');
|
|
1225
1230
|
} else {
|
|
1226
1231
|
if (completion instanceof Fixed) {
|
|
1227
1232
|
joinTo(completion.j3o_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1228
1233
|
} else {
|
|
1229
1234
|
if (completion instanceof Custom) {
|
|
1230
1235
|
var customCompletion = completion.h3o_1(ShellType_FISH_getInstance());
|
|
1231
|
-
_this__u8e3s4.
|
|
1236
|
+
_this__u8e3s4.w7(' -fa ' + customCompletion);
|
|
1232
1237
|
}
|
|
1233
1238
|
}
|
|
1234
1239
|
}
|
|
@@ -1302,7 +1307,7 @@
|
|
|
1302
1307
|
}
|
|
1303
1308
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1304
1309
|
// Inline function 'kotlin.text.replace' call
|
|
1305
|
-
return Regex_init_$Create$('\\W').
|
|
1310
|
+
return Regex_init_$Create$('\\W').wb(it, '_');
|
|
1306
1311
|
}
|
|
1307
1312
|
function FishCompletionGenerator() {
|
|
1308
1313
|
}
|
|
@@ -1573,10 +1578,10 @@
|
|
|
1573
1578
|
return this.e3n_1;
|
|
1574
1579
|
};
|
|
1575
1580
|
protoOf(CliktCommand).b3p = function (context) {
|
|
1576
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').
|
|
1577
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1581
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').tb(this.o3o(context));
|
|
1582
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ec();
|
|
1578
1583
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k(1);
|
|
1579
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1584
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.dc_1;
|
|
1580
1585
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1581
1586
|
};
|
|
1582
1587
|
protoOf(CliktCommand).d3p = function (option) {
|
|
@@ -1685,7 +1690,7 @@
|
|
|
1685
1690
|
return error.message;
|
|
1686
1691
|
}
|
|
1687
1692
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1688
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1693
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x8();
|
|
1689
1694
|
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.d3n_1 : tmp1_elvis_lhs;
|
|
1690
1695
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1691
1696
|
var cmd = ctx.j3n_1;
|
|
@@ -1761,7 +1766,7 @@
|
|
|
1761
1766
|
var this_0 = StringBuilder_init_$Create$();
|
|
1762
1767
|
// Inline function 'kotlin.contracts.contract' call
|
|
1763
1768
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1764
|
-
this_0.
|
|
1769
|
+
this_0.w7('<' + classSimpleName(this) + ' name=' + this.v3m_1);
|
|
1765
1770
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1766
1771
|
if (!this.z3m_1.l()) {
|
|
1767
1772
|
joinTo(this.z3m_1, this_0, VOID, ' options=[', ']');
|
|
@@ -1774,7 +1779,7 @@
|
|
|
1774
1779
|
if (!this.y3m_1.l()) {
|
|
1775
1780
|
joinTo(this.y3m_1, this_0, VOID, ' subcommands=[', ']');
|
|
1776
1781
|
}
|
|
1777
|
-
this_0.
|
|
1782
|
+
this_0.w7('>');
|
|
1778
1783
|
return this_0.toString();
|
|
1779
1784
|
};
|
|
1780
1785
|
function inferCommandName(_this__u8e3s4) {
|
|
@@ -1800,14 +1805,14 @@
|
|
|
1800
1805
|
// Inline function 'kotlin.text.replace' call
|
|
1801
1806
|
var transform = inferCommandName$lambda;
|
|
1802
1807
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1803
|
-
return lowerUpperRegex.
|
|
1808
|
+
return lowerUpperRegex.xb(nameWithoutSuffixes, transform).toLowerCase();
|
|
1804
1809
|
}
|
|
1805
1810
|
function get_terminal(_this__u8e3s4) {
|
|
1806
1811
|
return _this__u8e3s4.f3n().r3n_1;
|
|
1807
1812
|
}
|
|
1808
1813
|
function classSimpleName(_this__u8e3s4) {
|
|
1809
1814
|
// Inline function 'kotlin.text.orEmpty' call
|
|
1810
|
-
var tmp0_elvis_lhs = getKClassFromExpression(_this__u8e3s4).
|
|
1815
|
+
var tmp0_elvis_lhs = getKClassFromExpression(_this__u8e3s4).k9();
|
|
1811
1816
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1812
1817
|
return last(split(tmp$ret$0, ['$']));
|
|
1813
1818
|
}
|
|
@@ -1819,7 +1824,7 @@
|
|
|
1819
1824
|
return _this__u8e3s4;
|
|
1820
1825
|
}
|
|
1821
1826
|
function inferCommandName$lambda(it) {
|
|
1822
|
-
return it.
|
|
1827
|
+
return it.qc().k(1) + '-' + it.qc().k(2);
|
|
1823
1828
|
}
|
|
1824
1829
|
function get_DEFAULT_CORRECTION_SUGGESTOR() {
|
|
1825
1830
|
_init_properties_Context_kt__u684jh();
|
|
@@ -1883,7 +1888,7 @@
|
|
|
1883
1888
|
// Inline function 'kotlin.text.replace' call
|
|
1884
1889
|
var this_0 = command.v3m_1;
|
|
1885
1890
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1886
|
-
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').
|
|
1891
|
+
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').wb(this_0, '_').toUpperCase();
|
|
1887
1892
|
}
|
|
1888
1893
|
tmp_5.b3q_1 = tmp_6;
|
|
1889
1894
|
var tmp_8 = this;
|
|
@@ -2060,7 +2065,7 @@
|
|
|
2060
2065
|
while (tmp0_iterator_0.h()) {
|
|
2061
2066
|
var element = tmp0_iterator_0.i();
|
|
2062
2067
|
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2063
|
-
if (element.
|
|
2068
|
+
if (element.de_1 > 0.8) {
|
|
2064
2069
|
destination_0.e(element);
|
|
2065
2070
|
}
|
|
2066
2071
|
}
|
|
@@ -2074,7 +2079,7 @@
|
|
|
2074
2079
|
while (tmp0_iterator_1.h()) {
|
|
2075
2080
|
var item_0 = tmp0_iterator_1.i();
|
|
2076
2081
|
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2077
|
-
var tmp$ret$8 = item_0.
|
|
2082
|
+
var tmp$ret$8 = item_0.ce_1;
|
|
2078
2083
|
destination_1.e(tmp$ret$8);
|
|
2079
2084
|
}
|
|
2080
2085
|
return destination_1;
|
|
@@ -2082,19 +2087,40 @@
|
|
|
2082
2087
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2083
2088
|
this.n3q_1 = function_0;
|
|
2084
2089
|
}
|
|
2085
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2090
|
+
protoOf(sam$kotlin_Comparator$0).sc = function (a, b) {
|
|
2086
2091
|
return this.n3q_1(a, b);
|
|
2087
2092
|
};
|
|
2088
2093
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2089
|
-
return this.
|
|
2094
|
+
return this.sc(a, b);
|
|
2095
|
+
};
|
|
2096
|
+
protoOf(sam$kotlin_Comparator$0).o3 = function () {
|
|
2097
|
+
return this.n3q_1;
|
|
2098
|
+
};
|
|
2099
|
+
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2100
|
+
var tmp;
|
|
2101
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
2102
|
+
var tmp_0;
|
|
2103
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
2104
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
2105
|
+
} else {
|
|
2106
|
+
tmp_0 = false;
|
|
2107
|
+
}
|
|
2108
|
+
tmp = tmp_0;
|
|
2109
|
+
} else {
|
|
2110
|
+
tmp = false;
|
|
2111
|
+
}
|
|
2112
|
+
return tmp;
|
|
2113
|
+
};
|
|
2114
|
+
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
2115
|
+
return hashCode(this.o3());
|
|
2090
2116
|
};
|
|
2091
2117
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda$lambda(a, b) {
|
|
2092
2118
|
_init_properties_Context_kt__u684jh();
|
|
2093
2119
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2094
2120
|
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2095
|
-
var tmp = b.
|
|
2121
|
+
var tmp = b.de_1;
|
|
2096
2122
|
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2097
|
-
var tmp$ret$1 = a.
|
|
2123
|
+
var tmp$ret$1 = a.de_1;
|
|
2098
2124
|
return compareValues(tmp, tmp$ret$1);
|
|
2099
2125
|
}
|
|
2100
2126
|
var properties_initialized_Context_kt_bbur27;
|
|
@@ -2242,7 +2268,7 @@
|
|
|
2242
2268
|
protoOf(UsageError).x3r = function (_set____db54di) {
|
|
2243
2269
|
this.w3r_1 = _set____db54di;
|
|
2244
2270
|
};
|
|
2245
|
-
protoOf(UsageError).
|
|
2271
|
+
protoOf(UsageError).x8 = function () {
|
|
2246
2272
|
return this.w3r_1;
|
|
2247
2273
|
};
|
|
2248
2274
|
function CliktError(message, cause, statusCode, printError) {
|
|
@@ -2265,7 +2291,7 @@
|
|
|
2265
2291
|
this.a3s_1 = context;
|
|
2266
2292
|
this.b3s_1 = error;
|
|
2267
2293
|
}
|
|
2268
|
-
protoOf(PrintHelpMessage).
|
|
2294
|
+
protoOf(PrintHelpMessage).x8 = function () {
|
|
2269
2295
|
return this.a3s_1;
|
|
2270
2296
|
};
|
|
2271
2297
|
function Companion_0() {
|
|
@@ -2675,7 +2701,7 @@
|
|
|
2675
2701
|
while (tmp0_iterator_0.h()) {
|
|
2676
2702
|
var item = tmp0_iterator_0.i();
|
|
2677
2703
|
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>' call
|
|
2678
|
-
var tmp$ret$4 = new Arg(item.
|
|
2704
|
+
var tmp$ret$4 = new Arg(item.ce_1, item.de_1);
|
|
2679
2705
|
destination.e(tmp$ret$4);
|
|
2680
2706
|
}
|
|
2681
2707
|
var tmp = destination;
|
|
@@ -3033,20 +3059,62 @@
|
|
|
3033
3059
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3034
3060
|
this.k3w_1 = function_0;
|
|
3035
3061
|
}
|
|
3036
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
3062
|
+
protoOf(sam$kotlin_Comparator$0_0).sc = function (a, b) {
|
|
3037
3063
|
return this.k3w_1(a, b);
|
|
3038
3064
|
};
|
|
3039
3065
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3040
|
-
return this.
|
|
3066
|
+
return this.sc(a, b);
|
|
3067
|
+
};
|
|
3068
|
+
protoOf(sam$kotlin_Comparator$0_0).o3 = function () {
|
|
3069
|
+
return this.k3w_1;
|
|
3070
|
+
};
|
|
3071
|
+
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
3072
|
+
var tmp;
|
|
3073
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
3074
|
+
var tmp_0;
|
|
3075
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
3076
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
3077
|
+
} else {
|
|
3078
|
+
tmp_0 = false;
|
|
3079
|
+
}
|
|
3080
|
+
tmp = tmp_0;
|
|
3081
|
+
} else {
|
|
3082
|
+
tmp = false;
|
|
3083
|
+
}
|
|
3084
|
+
return tmp;
|
|
3085
|
+
};
|
|
3086
|
+
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
3087
|
+
return hashCode(this.o3());
|
|
3041
3088
|
};
|
|
3042
3089
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3043
3090
|
this.l3w_1 = function_0;
|
|
3044
3091
|
}
|
|
3045
|
-
protoOf(sam$kotlin_Comparator$0_1).
|
|
3092
|
+
protoOf(sam$kotlin_Comparator$0_1).sc = function (a, b) {
|
|
3046
3093
|
return this.l3w_1(a, b);
|
|
3047
3094
|
};
|
|
3048
3095
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3049
|
-
return this.
|
|
3096
|
+
return this.sc(a, b);
|
|
3097
|
+
};
|
|
3098
|
+
protoOf(sam$kotlin_Comparator$0_1).o3 = function () {
|
|
3099
|
+
return this.l3w_1;
|
|
3100
|
+
};
|
|
3101
|
+
protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
|
|
3102
|
+
var tmp;
|
|
3103
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
3104
|
+
var tmp_0;
|
|
3105
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
3106
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
3107
|
+
} else {
|
|
3108
|
+
tmp_0 = false;
|
|
3109
|
+
}
|
|
3110
|
+
tmp = tmp_0;
|
|
3111
|
+
} else {
|
|
3112
|
+
tmp = false;
|
|
3113
|
+
}
|
|
3114
|
+
return tmp;
|
|
3115
|
+
};
|
|
3116
|
+
protoOf(sam$kotlin_Comparator$0_1).hashCode = function () {
|
|
3117
|
+
return hashCode(this.o3());
|
|
3050
3118
|
};
|
|
3051
3119
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3052
3120
|
return function ($this$verticalLayout) {
|
|
@@ -3070,9 +3138,9 @@
|
|
|
3070
3138
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
3071
3139
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
3072
3140
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3073
|
-
var tmp = a.
|
|
3141
|
+
var tmp = a.ce_1 == null;
|
|
3074
3142
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3075
|
-
var tmp$ret$1 = b.
|
|
3143
|
+
var tmp$ret$1 = b.ce_1 == null;
|
|
3076
3144
|
return compareValues(tmp, tmp$ret$1);
|
|
3077
3145
|
}
|
|
3078
3146
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
@@ -3196,7 +3264,7 @@
|
|
|
3196
3264
|
} else {
|
|
3197
3265
|
this_0.e(this.f3x(parameters, error));
|
|
3198
3266
|
}
|
|
3199
|
-
return this_0.
|
|
3267
|
+
return this_0.p5();
|
|
3200
3268
|
};
|
|
3201
3269
|
protoOf(MordantHelpFormatter).f3x = function (parameters, error) {
|
|
3202
3270
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -3216,11 +3284,11 @@
|
|
|
3216
3284
|
var e = iterator.i();
|
|
3217
3285
|
if (i > 0) {
|
|
3218
3286
|
// Inline function 'kotlin.text.appendLine' call
|
|
3219
|
-
this_0.
|
|
3287
|
+
this_0.x7(_Char___init__impl__6a9atx(10));
|
|
3220
3288
|
}
|
|
3221
|
-
this_0.
|
|
3222
|
-
this_0.
|
|
3223
|
-
this_0.
|
|
3289
|
+
this_0.w7(this.j3x(this.c3x().m3v()));
|
|
3290
|
+
this_0.w7(' ');
|
|
3291
|
+
this_0.w7(e.r3r(this.c3x(), this.k3x(this.m3w_1)));
|
|
3224
3292
|
}
|
|
3225
3293
|
var tmp$ret$2 = this_0.toString();
|
|
3226
3294
|
return Text_init_$Create$(tmp$ret$2);
|
|
@@ -3262,7 +3330,7 @@
|
|
|
3262
3330
|
}
|
|
3263
3331
|
if (tmp$ret$0) {
|
|
3264
3332
|
var metavar = this.x3w(this.c3x().a3w());
|
|
3265
|
-
this_0.e(optionalStyle.
|
|
3333
|
+
this_0.e(optionalStyle.b27(this.m3x(metavar)));
|
|
3266
3334
|
}
|
|
3267
3335
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3268
3336
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3285,7 +3353,7 @@
|
|
|
3285
3353
|
if (item.f3v_1)
|
|
3286
3354
|
name = this.n3x(name);
|
|
3287
3355
|
var style = item.e3v_1 ? TextStyle() : optionalStyle;
|
|
3288
|
-
var tmp$ret$4 = style.
|
|
3356
|
+
var tmp$ret$4 = style.b27(name);
|
|
3289
3357
|
this_0.e(tmp$ret$4);
|
|
3290
3358
|
}
|
|
3291
3359
|
var tmp$ret$6;
|
|
@@ -3316,9 +3384,9 @@
|
|
|
3316
3384
|
var commandMetavar = this.x3w(this.c3x().b3w());
|
|
3317
3385
|
var argsMetavar = this.x3w(this.c3x().c3w());
|
|
3318
3386
|
var repeatedArgs = this.n3x(this.m3x(argsMetavar));
|
|
3319
|
-
this_0.e(optionalStyle.
|
|
3387
|
+
this_0.e(optionalStyle.b27(commandMetavar + ' ' + repeatedArgs));
|
|
3320
3388
|
}
|
|
3321
|
-
var usageParts = this_0.
|
|
3389
|
+
var usageParts = this_0.p5();
|
|
3322
3390
|
var tmp_1;
|
|
3323
3391
|
if (usageParts.l()) {
|
|
3324
3392
|
tmp_1 = Text_init_$Create$(prog, Whitespace_NORMAL_getInstance());
|
|
@@ -3407,7 +3475,7 @@
|
|
|
3407
3475
|
var element_3 = tmp0_iterator_3.i();
|
|
3408
3476
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3409
3477
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3410
|
-
if (!element_3.
|
|
3478
|
+
if (!element_3.de_1.l()) {
|
|
3411
3479
|
destination_3.e(element_3);
|
|
3412
3480
|
}
|
|
3413
3481
|
}
|
|
@@ -3417,8 +3485,8 @@
|
|
|
3417
3485
|
while (tmp0_iterator_4.h()) {
|
|
3418
3486
|
var item = tmp0_iterator_4.i();
|
|
3419
3487
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3420
|
-
var title = item.
|
|
3421
|
-
var params = item.
|
|
3488
|
+
var title = item.qd();
|
|
3489
|
+
var params = item.rd();
|
|
3422
3490
|
var renderedTitle = this.o3x(title == null ? this.c3x().x3v() : title);
|
|
3423
3491
|
// Inline function 'kotlin.collections.get' call
|
|
3424
3492
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).f2(title);
|
|
@@ -3442,7 +3510,7 @@
|
|
|
3442
3510
|
this_0.p(this.p3x(parameters));
|
|
3443
3511
|
this_0.p(this.s3x(parameters));
|
|
3444
3512
|
this_0.p(this.t3x(parameters));
|
|
3445
|
-
return this_0.
|
|
3513
|
+
return this_0.p5();
|
|
3446
3514
|
};
|
|
3447
3515
|
protoOf(MordantHelpFormatter).q3x = function (help, parameters) {
|
|
3448
3516
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3660,32 +3728,32 @@
|
|
|
3660
3728
|
return '<' + name.toLowerCase() + '>';
|
|
3661
3729
|
};
|
|
3662
3730
|
protoOf(MordantHelpFormatter).y3x = function (name) {
|
|
3663
|
-
return this.d3x().h39('danger').
|
|
3731
|
+
return this.d3x().h39('danger').b27(name);
|
|
3664
3732
|
};
|
|
3665
3733
|
protoOf(MordantHelpFormatter).z3x = function (name) {
|
|
3666
|
-
return this.d3x().h39('muted').
|
|
3734
|
+
return this.d3x().h39('muted').b27(name);
|
|
3667
3735
|
};
|
|
3668
3736
|
protoOf(MordantHelpFormatter).v3w = function (name) {
|
|
3669
|
-
return this.d3x().h39('info').
|
|
3737
|
+
return this.d3x().h39('info').b27(name);
|
|
3670
3738
|
};
|
|
3671
3739
|
protoOf(MordantHelpFormatter).y3w = function (name) {
|
|
3672
|
-
return this.d3x().h39('info').
|
|
3740
|
+
return this.d3x().h39('info').b27(name);
|
|
3673
3741
|
};
|
|
3674
3742
|
protoOf(MordantHelpFormatter).z3w = function (name) {
|
|
3675
|
-
return this.d3x().h39('info').
|
|
3743
|
+
return this.d3x().h39('info').b27(name);
|
|
3676
3744
|
};
|
|
3677
3745
|
protoOf(MordantHelpFormatter).r3x = function (title) {
|
|
3678
|
-
return this.d3x().h39('warning').
|
|
3746
|
+
return this.d3x().h39('warning').b27(title);
|
|
3679
3747
|
};
|
|
3680
3748
|
protoOf(MordantHelpFormatter).l3x = function (title) {
|
|
3681
|
-
return this.d3x().h39('warning').
|
|
3749
|
+
return this.d3x().h39('warning').b27(title);
|
|
3682
3750
|
};
|
|
3683
3751
|
protoOf(MordantHelpFormatter).j3x = function (title) {
|
|
3684
|
-
return this.d3x().h39('danger').
|
|
3752
|
+
return this.d3x().h39('danger').b27(title);
|
|
3685
3753
|
};
|
|
3686
3754
|
protoOf(MordantHelpFormatter).a3y = function (metavar) {
|
|
3687
3755
|
var style = this.d3x().h39('warning').g37(this.d3x().h39('muted'));
|
|
3688
|
-
return style.
|
|
3756
|
+
return style.b27(metavar);
|
|
3689
3757
|
};
|
|
3690
3758
|
protoOf(MordantHelpFormatter).k3x = function (context) {
|
|
3691
3759
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
@@ -3788,7 +3856,7 @@
|
|
|
3788
3856
|
this.l3y_1 = argument;
|
|
3789
3857
|
this.m3y_1 = context;
|
|
3790
3858
|
}
|
|
3791
|
-
protoOf(ArgumentTransformContext).
|
|
3859
|
+
protoOf(ArgumentTransformContext).x8 = function () {
|
|
3792
3860
|
return this.m3y_1;
|
|
3793
3861
|
};
|
|
3794
3862
|
protoOf(ArgumentTransformContext).f3o = function () {
|
|
@@ -3923,7 +3991,7 @@
|
|
|
3923
3991
|
var this_0 = StringBuilder_init_$Create$();
|
|
3924
3992
|
// Inline function 'kotlin.contracts.contract' call
|
|
3925
3993
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3926
|
-
this_0.
|
|
3994
|
+
this_0.w7(this.o3y_1);
|
|
3927
3995
|
// Inline function 'kotlin.onSuccess' call
|
|
3928
3996
|
// Inline function 'kotlin.runCatching' call
|
|
3929
3997
|
var tmp;
|
|
@@ -3949,7 +4017,7 @@
|
|
|
3949
4017
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>.<anonymous>' call
|
|
3950
4018
|
var tmp_1 = _Result___get_value__impl__bjfvqg(this_1);
|
|
3951
4019
|
var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
3952
|
-
this_0.
|
|
4020
|
+
this_0.w7('=').v7(it);
|
|
3953
4021
|
}
|
|
3954
4022
|
return this_0.toString();
|
|
3955
4023
|
};
|
|
@@ -4149,7 +4217,7 @@
|
|
|
4149
4217
|
while (iterator.h());
|
|
4150
4218
|
tmp$ret$0 = maxElem;
|
|
4151
4219
|
}
|
|
4152
|
-
var name = splitOptionPrefix(tmp$ret$0).
|
|
4220
|
+
var name = splitOptionPrefix(tmp$ret$0).de_1;
|
|
4153
4221
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4154
4222
|
if (charSequenceLength(name) === 0)
|
|
4155
4223
|
return null;
|
|
@@ -4157,7 +4225,7 @@
|
|
|
4157
4225
|
// Inline function 'kotlin.text.uppercase' call
|
|
4158
4226
|
// Inline function 'kotlin.text.replace' call
|
|
4159
4227
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4160
|
-
return tmp + Regex_init_$Create$('\\W').
|
|
4228
|
+
return tmp + Regex_init_$Create$('\\W').wb(name, '_').toUpperCase();
|
|
4161
4229
|
}
|
|
4162
4230
|
function OptionDelegate() {
|
|
4163
4231
|
}
|
|
@@ -4257,7 +4325,7 @@
|
|
|
4257
4325
|
var element = tmp0_iterator.i();
|
|
4258
4326
|
// Inline function 'com.github.ajalt.clikt.parameters.options.inferOptionNames.<anonymous>' call
|
|
4259
4327
|
// Inline function 'kotlin.text.matches' call
|
|
4260
|
-
if (!Regex_init_$Create$('[\\-@/+]{1,2}(?:[\\w\\-_]+|\\?)').
|
|
4328
|
+
if (!Regex_init_$Create$('[\\-@/+]{1,2}(?:[\\w\\-_]+|\\?)').rb(element)) {
|
|
4261
4329
|
tmp$ret$3 = element;
|
|
4262
4330
|
break $l$block;
|
|
4263
4331
|
}
|
|
@@ -4279,7 +4347,7 @@
|
|
|
4279
4347
|
var regex = Regex_init_$Create$('[a-z][A-Z]');
|
|
4280
4348
|
var transform = inferOptionNames$lambda;
|
|
4281
4349
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4282
|
-
var normalizedName = '--' + regex.
|
|
4350
|
+
var normalizedName = '--' + regex.xb(propertyName, transform).toLowerCase();
|
|
4283
4351
|
return setOf_0(normalizedName);
|
|
4284
4352
|
}
|
|
4285
4353
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
@@ -4340,7 +4408,7 @@
|
|
|
4340
4408
|
this.u3o_1 = option;
|
|
4341
4409
|
this.v3o_1 = context;
|
|
4342
4410
|
}
|
|
4343
|
-
protoOf(OptionTransformContext).
|
|
4411
|
+
protoOf(OptionTransformContext).x8 = function () {
|
|
4344
4412
|
return this.v3o_1;
|
|
4345
4413
|
};
|
|
4346
4414
|
protoOf(OptionTransformContext).e3p = function () {
|
|
@@ -4423,7 +4491,7 @@
|
|
|
4423
4491
|
this.m3z_1 = option;
|
|
4424
4492
|
this.n3z_1 = context;
|
|
4425
4493
|
}
|
|
4426
|
-
protoOf(OptionCallTransformContext).
|
|
4494
|
+
protoOf(OptionCallTransformContext).x8 = function () {
|
|
4427
4495
|
return this.n3z_1;
|
|
4428
4496
|
};
|
|
4429
4497
|
protoOf(OptionCallTransformContext).e3p = function () {
|
|
@@ -4609,7 +4677,7 @@
|
|
|
4609
4677
|
var element = tmp0_iterator_0.i();
|
|
4610
4678
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4611
4679
|
// Inline function 'kotlin.text.split' call
|
|
4612
|
-
var list = this.j40_1.
|
|
4680
|
+
var list = this.j40_1.zb(element, 0);
|
|
4613
4681
|
addAll(destination_0, list);
|
|
4614
4682
|
}
|
|
4615
4683
|
var tmp$ret$4 = item.a41(VOID, destination_0);
|
|
@@ -4640,7 +4708,7 @@
|
|
|
4640
4708
|
} else {
|
|
4641
4709
|
// Inline function 'kotlin.text.split' call
|
|
4642
4710
|
var this_2 = v.u3z_1;
|
|
4643
|
-
var tmp$ret$10 = this.j40_1.
|
|
4711
|
+
var tmp$ret$10 = this.j40_1.zb(this_2, 0);
|
|
4644
4712
|
tmp_1 = listOf_0(new Invocation(v.t3z_1, tmp$ret$10));
|
|
4645
4713
|
}
|
|
4646
4714
|
tmp = tmp_1;
|
|
@@ -4699,7 +4767,7 @@
|
|
|
4699
4767
|
var this_0 = StringBuilder_init_$Create$();
|
|
4700
4768
|
// Inline function 'kotlin.contracts.contract' call
|
|
4701
4769
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.toString.<anonymous>' call
|
|
4702
|
-
this_0.
|
|
4770
|
+
this_0.w7(longestName(this));
|
|
4703
4771
|
// Inline function 'kotlin.onSuccess' call
|
|
4704
4772
|
// Inline function 'kotlin.runCatching' call
|
|
4705
4773
|
var tmp;
|
|
@@ -4725,7 +4793,7 @@
|
|
|
4725
4793
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.toString.<anonymous>.<anonymous>' call
|
|
4726
4794
|
var tmp_1 = _Result___get_value__impl__bjfvqg(this_1);
|
|
4727
4795
|
var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
4728
|
-
this_0.
|
|
4796
|
+
this_0.w7('=').v7(it);
|
|
4729
4797
|
}
|
|
4730
4798
|
return this_0.toString();
|
|
4731
4799
|
};
|
|
@@ -4873,7 +4941,7 @@
|
|
|
4873
4941
|
function HelpTransformContext(context) {
|
|
4874
4942
|
this.b41_1 = context;
|
|
4875
4943
|
}
|
|
4876
|
-
protoOf(HelpTransformContext).
|
|
4944
|
+
protoOf(HelpTransformContext).x8 = function () {
|
|
4877
4945
|
return this.b41_1;
|
|
4878
4946
|
};
|
|
4879
4947
|
protoOf(HelpTransformContext).n3y = function (message) {
|
|
@@ -4931,7 +4999,7 @@
|
|
|
4931
4999
|
tmp = false;
|
|
4932
5000
|
break;
|
|
4933
5001
|
default:
|
|
4934
|
-
_this__u8e3s4.n3y(_this__u8e3s4.
|
|
5002
|
+
_this__u8e3s4.n3y(_this__u8e3s4.x8().w3n_1.s3v(value));
|
|
4935
5003
|
break;
|
|
4936
5004
|
}
|
|
4937
5005
|
return tmp;
|
|
@@ -5326,7 +5394,7 @@
|
|
|
5326
5394
|
longNames.e(name);
|
|
5327
5395
|
}
|
|
5328
5396
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5329
|
-
var element_2 = splitOptionPrefix(name).
|
|
5397
|
+
var element_2 = splitOptionPrefix(name).ce_1;
|
|
5330
5398
|
prefixes.e(element_2);
|
|
5331
5399
|
}
|
|
5332
5400
|
}
|
|
@@ -5337,7 +5405,7 @@
|
|
|
5337
5405
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5338
5406
|
var tok = tokens.k(i._v);
|
|
5339
5407
|
var normTok = context.q3n_1(context, tok);
|
|
5340
|
-
var prefix = splitOptionPrefix(tok).
|
|
5408
|
+
var prefix = splitOptionPrefix(tok).ce_1;
|
|
5341
5409
|
var tmp_0;
|
|
5342
5410
|
if (canExpandAtFiles && startsWith(tok, '@')) {
|
|
5343
5411
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -5609,7 +5677,7 @@
|
|
|
5609
5677
|
context.b3o_1 = true;
|
|
5610
5678
|
}
|
|
5611
5679
|
var excessResult = handleExcessArguments($this, argsParseResult.h41_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5612
|
-
var tmp1_safe_receiver = excessResult.
|
|
5680
|
+
var tmp1_safe_receiver = excessResult.de_1;
|
|
5613
5681
|
if (tmp1_safe_receiver == null)
|
|
5614
5682
|
null;
|
|
5615
5683
|
else {
|
|
@@ -5656,7 +5724,7 @@
|
|
|
5656
5724
|
destination_0.e(tmp$ret$13);
|
|
5657
5725
|
}
|
|
5658
5726
|
var usageErrors = destination_0;
|
|
5659
|
-
nextArgvI = excessResult.
|
|
5727
|
+
nextArgvI = excessResult.ce_1;
|
|
5660
5728
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5661
5729
|
try {
|
|
5662
5730
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
@@ -5788,7 +5856,7 @@
|
|
|
5788
5856
|
tmp_0 = false;
|
|
5789
5857
|
}
|
|
5790
5858
|
if (tmp_0) {
|
|
5791
|
-
var actual = last(positionalArgs).
|
|
5859
|
+
var actual = last(positionalArgs).de_1;
|
|
5792
5860
|
throw new NoSuchSubcommand(actual, context.v3n_1(actual, toList_0(subcommands.g2())));
|
|
5793
5861
|
} else {
|
|
5794
5862
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
@@ -5814,8 +5882,8 @@
|
|
|
5814
5882
|
tmp = to(tok, null);
|
|
5815
5883
|
}
|
|
5816
5884
|
var tmp0_container = tmp;
|
|
5817
|
-
var name = tmp0_container.
|
|
5818
|
-
var attachedValue = tmp0_container.
|
|
5885
|
+
var name = tmp0_container.qd();
|
|
5886
|
+
var attachedValue = tmp0_container.rd();
|
|
5819
5887
|
name = context.q3n_1(context, name);
|
|
5820
5888
|
var tmp1_elvis_lhs = optionsByName.f2(name);
|
|
5821
5889
|
var tmp_1;
|
|
@@ -5887,7 +5955,7 @@
|
|
|
5887
5955
|
var tmp_3;
|
|
5888
5956
|
if (!ignoreUnknown) {
|
|
5889
5957
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5890
|
-
var this_0 = splitOptionPrefix(tok).
|
|
5958
|
+
var this_0 = splitOptionPrefix(tok).ce_1;
|
|
5891
5959
|
tmp_3 = charSequenceLength(this_0) > 0;
|
|
5892
5960
|
} else {
|
|
5893
5961
|
tmp_3 = false;
|
|
@@ -6040,7 +6108,7 @@
|
|
|
6040
6108
|
var e = remaining === 0 ? new MissingArgument(argument) : IncorrectArgumentValueCount_init_$Create$(argument);
|
|
6041
6109
|
var tmp_2 = toList_1(out);
|
|
6042
6110
|
var tmp2_safe_receiver = getOrNull(positionalArgs, i);
|
|
6043
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
6111
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.ce_1;
|
|
6044
6112
|
return new ArgsParseResult(0, tmp_2, new Err(e, tmp3_elvis_lhs == null ? argvIndex : tmp3_elvis_lhs));
|
|
6045
6113
|
}
|
|
6046
6114
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -6053,7 +6121,7 @@
|
|
|
6053
6121
|
while (tmp0_iterator_2.h()) {
|
|
6054
6122
|
var item_0 = tmp0_iterator_2.i();
|
|
6055
6123
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6056
|
-
var tmp$ret$6 = item_0.
|
|
6124
|
+
var tmp$ret$6 = item_0.de_1;
|
|
6057
6125
|
destination.e(tmp$ret$6);
|
|
6058
6126
|
}
|
|
6059
6127
|
var value = plus_0(tmp_3, destination);
|
|
@@ -6080,11 +6148,32 @@
|
|
|
6080
6148
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6081
6149
|
this.s41_1 = function_0;
|
|
6082
6150
|
}
|
|
6083
|
-
protoOf(sam$kotlin_Comparator$0_2).
|
|
6151
|
+
protoOf(sam$kotlin_Comparator$0_2).sc = function (a, b) {
|
|
6084
6152
|
return this.s41_1(a, b);
|
|
6085
6153
|
};
|
|
6086
6154
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6087
|
-
return this.
|
|
6155
|
+
return this.sc(a, b);
|
|
6156
|
+
};
|
|
6157
|
+
protoOf(sam$kotlin_Comparator$0_2).o3 = function () {
|
|
6158
|
+
return this.s41_1;
|
|
6159
|
+
};
|
|
6160
|
+
protoOf(sam$kotlin_Comparator$0_2).equals = function (other) {
|
|
6161
|
+
var tmp;
|
|
6162
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
6163
|
+
var tmp_0;
|
|
6164
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
6165
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
6166
|
+
} else {
|
|
6167
|
+
tmp_0 = false;
|
|
6168
|
+
}
|
|
6169
|
+
tmp = tmp_0;
|
|
6170
|
+
} else {
|
|
6171
|
+
tmp = false;
|
|
6172
|
+
}
|
|
6173
|
+
return tmp;
|
|
6174
|
+
};
|
|
6175
|
+
protoOf(sam$kotlin_Comparator$0_2).hashCode = function () {
|
|
6176
|
+
return hashCode(this.o3());
|
|
6088
6177
|
};
|
|
6089
6178
|
function parse$isLongOptionWithEquals(longNames, $context, optionsByName, prefix, token) {
|
|
6090
6179
|
if (!contains_1(token, '='))
|
|
@@ -6143,7 +6232,7 @@
|
|
|
6143
6232
|
return emptyList();
|
|
6144
6233
|
}
|
|
6145
6234
|
function Parser$excessArgsError$lambda(it) {
|
|
6146
|
-
return it.
|
|
6235
|
+
return it.de_1;
|
|
6147
6236
|
}
|
|
6148
6237
|
function Parser() {
|
|
6149
6238
|
}
|
|
@@ -6319,7 +6408,7 @@
|
|
|
6319
6408
|
tmp = false;
|
|
6320
6409
|
}
|
|
6321
6410
|
if (tmp) {
|
|
6322
|
-
sb.
|
|
6411
|
+
sb.x7(c);
|
|
6323
6412
|
i._v = i._v + 1 | 0;
|
|
6324
6413
|
} else {
|
|
6325
6414
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
@@ -6332,7 +6421,7 @@
|
|
|
6332
6421
|
}
|
|
6333
6422
|
while (i._v <= get_lastIndex(text) && isWhitespace(charSequenceGet(text, i._v)));
|
|
6334
6423
|
} else {
|
|
6335
|
-
sb.
|
|
6424
|
+
sb.x7(charSequenceGet(text, i._v + 1 | 0));
|
|
6336
6425
|
i._v = i._v + 2 | 0;
|
|
6337
6426
|
}
|
|
6338
6427
|
} else {
|
|
@@ -6341,7 +6430,7 @@
|
|
|
6341
6430
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6342
6431
|
var element = sb.toString();
|
|
6343
6432
|
toks.e(element);
|
|
6344
|
-
sb.
|
|
6433
|
+
sb.bb();
|
|
6345
6434
|
inQuote = null;
|
|
6346
6435
|
i._v = i._v + 1 | 0;
|
|
6347
6436
|
} else {
|
|
@@ -6381,11 +6470,11 @@
|
|
|
6381
6470
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6382
6471
|
var element_0 = sb.toString();
|
|
6383
6472
|
toks.e(element_0);
|
|
6384
|
-
sb.
|
|
6473
|
+
sb.bb();
|
|
6385
6474
|
}
|
|
6386
6475
|
i._v = i._v + 1 | 0;
|
|
6387
6476
|
} else {
|
|
6388
|
-
sb.
|
|
6477
|
+
sb.x7(c);
|
|
6389
6478
|
i._v = i._v + 1 | 0;
|
|
6390
6479
|
}
|
|
6391
6480
|
}
|
|
@@ -6532,7 +6621,7 @@
|
|
|
6532
6621
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6533
6622
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6534
6623
|
// Inline function 'kotlin.text.replace' call
|
|
6535
|
-
return get_ANSI_CODE_RE().
|
|
6624
|
+
return get_ANSI_CODE_RE().wb(_this__u8e3s4, '').length;
|
|
6536
6625
|
}
|
|
6537
6626
|
var properties_initialized_MppImpl_kt_49xoxp;
|
|
6538
6627
|
function _init_properties_MppImpl_kt__zar9hh() {
|