@xiuper/mpp-core 0.0.2 → 3.0.0-alpha4
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-DateTime-library-kotlinx-datetime.js +1796 -1796
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
- package/Xiuper-mpp-codegraph.js +240 -240
- package/kaml.js +639 -639
- package/koog-agents-agents-core.js +4606 -4606
- package/koog-agents-agents-tools.js +41 -41
- package/koog-agents-agents-utils.js +52 -52
- package/koog-http-client-http-client-core.js +4 -4
- package/koog-http-client-http-client-ktor.js +166 -166
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
- package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
- package/koog-prompt-prompt-llm.js +120 -120
- package/koog-prompt-prompt-markdown.js +30 -30
- package/koog-prompt-prompt-model.js +1055 -1055
- package/koog-prompt-prompt-structure.js +342 -342
- package/koog-utils.js +10 -10
- package/kotlin-kotlin-stdlib.js +453 -411
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +116 -116
- package/kotlin-sdk-kotlin-sdk-client.js +260 -260
- package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +532 -654
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
- package/kotlinx-io-kotlinx-io-core.js +605 -605
- package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
- package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +163 -163
- package/ktor-ktor-client-core.js +2237 -2235
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +15 -15
- package/ktor-ktor-http-cio.js +725 -725
- package/ktor-ktor-http.js +805 -805
- package/ktor-ktor-io.js +766 -766
- package/ktor-ktor-network.js +285 -285
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +130 -130
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-server-cio.js +724 -724
- package/ktor-ktor-server-core.js +1793 -1793
- package/ktor-ktor-server-sse.js +125 -125
- package/ktor-ktor-sse.js +40 -40
- package/ktor-ktor-utils.js +690 -690
- package/ktor-ktor-websockets.js +49 -49
- package/markdown.js +1561 -1561
- package/okio-parent-okio.js +368 -368
- package/package.json +1 -1
- package/snakeyaml-engine-kmp.js +2005 -2005
- package/urlencoder-urlencoder-lib.js +43 -43
- package/xiuper-mpp-core.d.ts +45 -7
- package/xiuper-mpp-core.js +22405 -18664
- package/xiuper-mpp-core.js.map +1 -1
- package/autodev-mpp-core.d.ts +0 -1312
- package/autodev-mpp-core.js +0 -86483
- package/autodev-mpp-core.js.map +0 -1
package/kaml.js
CHANGED
|
@@ -22,35 +22,35 @@
|
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
28
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.ze;
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.dl;
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xd;
|
|
28
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.yd;
|
|
29
29
|
var Unit_instance = kotlin_kotlin.$_$.h6;
|
|
30
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
30
|
+
var closeFinally = kotlin_kotlin.$_$.sl;
|
|
31
31
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p3;
|
|
32
32
|
var VOID = kotlin_kotlin.$_$.h;
|
|
33
33
|
var Buffer = kotlin_com_squareup_okio_okio.$_$.c;
|
|
34
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
35
|
-
var trimEnd = kotlin_kotlin.$_$.
|
|
36
|
-
var toString = kotlin_kotlin.$_$.
|
|
34
|
+
var isCharSequence = kotlin_kotlin.$_$.ie;
|
|
35
|
+
var trimEnd = kotlin_kotlin.$_$.wj;
|
|
36
|
+
var toString = kotlin_kotlin.$_$.df;
|
|
37
37
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c4;
|
|
38
38
|
var StreamDataWriter = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.v;
|
|
39
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
40
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
41
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
43
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
44
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
-
var Enum = kotlin_kotlin.$_$.
|
|
46
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
39
|
+
var AutoCloseable = kotlin_kotlin.$_$.jk;
|
|
40
|
+
var toString_0 = kotlin_kotlin.$_$.km;
|
|
41
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.rd;
|
|
42
|
+
var getStringHashCode = kotlin_kotlin.$_$.vd;
|
|
43
|
+
var hashCode = kotlin_kotlin.$_$.wd;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.pd;
|
|
45
|
+
var Enum = kotlin_kotlin.$_$.qk;
|
|
46
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.dm;
|
|
47
47
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.j2;
|
|
48
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
48
|
+
var captureStack = kotlin_kotlin.$_$.gd;
|
|
49
49
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a4;
|
|
50
50
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
51
51
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
52
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
53
|
-
var sorted = kotlin_kotlin.$_$.
|
|
52
|
+
var defineProp = kotlin_kotlin.$_$.od;
|
|
53
|
+
var sorted = kotlin_kotlin.$_$.xa;
|
|
54
54
|
var joinToString = kotlin_kotlin.$_$.i9;
|
|
55
55
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
56
56
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
var LIST = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
64
64
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
65
65
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
66
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
66
|
+
var ensureNotNull = kotlin_kotlin.$_$.wl;
|
|
67
67
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
68
68
|
var LONG = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
69
69
|
var SHORT = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
@@ -75,35 +75,35 @@
|
|
|
75
75
|
var BOOLEAN = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
76
76
|
var STRING = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
77
77
|
var OBJECT = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
78
|
-
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.
|
|
79
|
-
var toList = kotlin_kotlin.$_$.
|
|
80
|
-
var Char = kotlin_kotlin.$_$.
|
|
78
|
+
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.jm;
|
|
79
|
+
var toList = kotlin_kotlin.$_$.ib;
|
|
80
|
+
var Char = kotlin_kotlin.$_$.lk;
|
|
81
81
|
var drop = kotlin_kotlin.$_$.k8;
|
|
82
|
-
var plus = kotlin_kotlin.$_$.
|
|
83
|
-
var substring = kotlin_kotlin.$_$.
|
|
84
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
85
|
-
var NumberFormatException = kotlin_kotlin.$_$.
|
|
86
|
-
var toByte = kotlin_kotlin.$_$.
|
|
87
|
-
var toShort = kotlin_kotlin.$_$.
|
|
88
|
-
var toInt = kotlin_kotlin.$_$.
|
|
89
|
-
var toLong = kotlin_kotlin.$_$.
|
|
90
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
91
|
-
var IndexOutOfBoundsException = kotlin_kotlin.$_$.
|
|
92
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
+
var plus = kotlin_kotlin.$_$.ja;
|
|
83
|
+
var substring = kotlin_kotlin.$_$.zi;
|
|
84
|
+
var startsWith = kotlin_kotlin.$_$.ni;
|
|
85
|
+
var NumberFormatException = kotlin_kotlin.$_$.zk;
|
|
86
|
+
var toByte = kotlin_kotlin.$_$.fj;
|
|
87
|
+
var toShort = kotlin_kotlin.$_$.pj;
|
|
88
|
+
var toInt = kotlin_kotlin.$_$.lj;
|
|
89
|
+
var toLong = kotlin_kotlin.$_$.oj;
|
|
90
|
+
var toDouble = kotlin_kotlin.$_$.ij;
|
|
91
|
+
var IndexOutOfBoundsException = kotlin_kotlin.$_$.vk;
|
|
92
|
+
var singleOrNull = kotlin_kotlin.$_$.ii;
|
|
93
93
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.p7;
|
|
94
94
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
95
95
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
96
96
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j3;
|
|
97
97
|
var checkIndexOverflow = kotlin_kotlin.$_$.n7;
|
|
98
|
-
var lines = kotlin_kotlin.$_$.
|
|
99
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
100
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
101
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
102
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
103
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
98
|
+
var lines = kotlin_kotlin.$_$.wh;
|
|
99
|
+
var FunctionAdapter = kotlin_kotlin.$_$.cd;
|
|
100
|
+
var isInterface = kotlin_kotlin.$_$.me;
|
|
101
|
+
var Comparator = kotlin_kotlin.$_$.nk;
|
|
102
|
+
var compareTo = kotlin_kotlin.$_$.nd;
|
|
103
|
+
var sortedWith = kotlin_kotlin.$_$.wa;
|
|
104
104
|
var mapCapacity = kotlin_kotlin.$_$.v9;
|
|
105
105
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.b1;
|
|
106
|
-
var to = kotlin_kotlin.$_$.
|
|
106
|
+
var to = kotlin_kotlin.$_$.lm;
|
|
107
107
|
var NodeEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.d1;
|
|
108
108
|
var AliasEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.x;
|
|
109
109
|
var MappingStartEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.c1;
|
|
@@ -113,19 +113,19 @@
|
|
|
113
113
|
var ID_SequenceEnd_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.l;
|
|
114
114
|
var ID_MappingEnd_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.j;
|
|
115
115
|
var ID_Scalar_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.k;
|
|
116
|
-
var single = kotlin_kotlin.$_$.
|
|
116
|
+
var single = kotlin_kotlin.$_$.ta;
|
|
117
117
|
var listOf = kotlin_kotlin.$_$.t9;
|
|
118
118
|
var first = kotlin_kotlin.$_$.w8;
|
|
119
|
-
var until = kotlin_kotlin.$_$.
|
|
120
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
119
|
+
var until = kotlin_kotlin.$_$.rf;
|
|
120
|
+
var coerceAtLeast = kotlin_kotlin.$_$.jf;
|
|
121
121
|
var ScalarStyle_PLAIN_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.f;
|
|
122
122
|
var firstOrNull = kotlin_kotlin.$_$.s8;
|
|
123
123
|
var CommentType_BLOCK_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.a;
|
|
124
124
|
var CommentEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.y;
|
|
125
125
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
126
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
126
|
+
var charSequenceLength = kotlin_kotlin.$_$.ld;
|
|
127
127
|
var listOf_0 = kotlin_kotlin.$_$.u9;
|
|
128
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
128
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.hj;
|
|
129
129
|
var FlowStyle_BLOCK_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.b;
|
|
130
130
|
var FlowStyle_FLOW_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.c;
|
|
131
131
|
var ScalarStyle_DOUBLE_QUOTED_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.d;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
var emptyMap = kotlin_kotlin.$_$.n8;
|
|
140
140
|
var DocumentStartEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.a1;
|
|
141
141
|
var toString_1 = kotlin_kotlin.$_$.r3;
|
|
142
|
-
var contains = kotlin_kotlin.$_$.
|
|
142
|
+
var contains = kotlin_kotlin.$_$.og;
|
|
143
143
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
144
144
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
145
145
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
var DocumentEndEvent = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.z;
|
|
149
149
|
var StreamEndEvent_init_$Create$ = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.q;
|
|
150
150
|
var MarkedYamlEngineException = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.g1;
|
|
151
|
-
var trimMargin = kotlin_kotlin.$_$.
|
|
151
|
+
var trimMargin = kotlin_kotlin.$_$.zj;
|
|
152
152
|
var Companion_instance_0 = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.u;
|
|
153
153
|
var StreamReader = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.h1;
|
|
154
154
|
var ParserImpl_init_$Create$ = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.s;
|
|
@@ -156,22 +156,22 @@
|
|
|
156
156
|
var ID_StreamEnd_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.m;
|
|
157
157
|
var ID_DocumentStart_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.i;
|
|
158
158
|
var ID_DocumentEnd_getInstance = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.h;
|
|
159
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
160
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
161
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
159
|
+
var toList_0 = kotlin_kotlin.$_$.jb;
|
|
160
|
+
var objectCreate = kotlin_kotlin.$_$.ye;
|
|
161
|
+
var plus_0 = kotlin_kotlin.$_$.ka;
|
|
162
162
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e2;
|
|
163
163
|
var last = kotlin_kotlin.$_$.r9;
|
|
164
164
|
var get_lastIndex = kotlin_kotlin.$_$.m9;
|
|
165
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
165
|
+
var initMetadataForObject = kotlin_kotlin.$_$.de;
|
|
166
166
|
var OPEN_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
167
167
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
168
168
|
var get_elementNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
169
|
-
var toSet = kotlin_kotlin.$_$.
|
|
169
|
+
var toSet = kotlin_kotlin.$_$.rb;
|
|
170
170
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
171
171
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.b3;
|
|
172
172
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s3;
|
|
173
173
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t3;
|
|
174
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
174
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ue;
|
|
175
175
|
var Companion_getInstance = kotlin_com_squareup_okio_okio.$_$.a;
|
|
176
176
|
//endregion
|
|
177
177
|
//region block: pre-declaration
|
|
@@ -238,15 +238,15 @@
|
|
|
238
238
|
initMetadataForClass(YamlScalarInput, 'YamlScalarInput', VOID, YamlInput);
|
|
239
239
|
//endregion
|
|
240
240
|
function Location(line, column) {
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
241
|
+
this.mhm_1 = line;
|
|
242
|
+
this.nhm_1 = column;
|
|
243
243
|
}
|
|
244
244
|
protoOf(Location).toString = function () {
|
|
245
|
-
return 'Location(line=' + this.
|
|
245
|
+
return 'Location(line=' + this.mhm_1 + ', column=' + this.nhm_1 + ')';
|
|
246
246
|
};
|
|
247
247
|
protoOf(Location).hashCode = function () {
|
|
248
|
-
var result = this.
|
|
249
|
-
result = imul(result, 31) + this.
|
|
248
|
+
var result = this.mhm_1;
|
|
249
|
+
result = imul(result, 31) + this.nhm_1 | 0;
|
|
250
250
|
return result;
|
|
251
251
|
};
|
|
252
252
|
protoOf(Location).equals = function (other) {
|
|
@@ -255,15 +255,15 @@
|
|
|
255
255
|
if (!(other instanceof Location))
|
|
256
256
|
return false;
|
|
257
257
|
var tmp0_other_with_cast = other instanceof Location ? other : THROW_CCE();
|
|
258
|
-
if (!(this.
|
|
258
|
+
if (!(this.mhm_1 === tmp0_other_with_cast.mhm_1))
|
|
259
259
|
return false;
|
|
260
|
-
if (!(this.
|
|
260
|
+
if (!(this.nhm_1 === tmp0_other_with_cast.nhm_1))
|
|
261
261
|
return false;
|
|
262
262
|
return true;
|
|
263
263
|
};
|
|
264
264
|
function Companion() {
|
|
265
265
|
Companion_instance_1 = this;
|
|
266
|
-
this.
|
|
266
|
+
this.ohm_1 = new Yaml();
|
|
267
267
|
}
|
|
268
268
|
var Companion_instance_1;
|
|
269
269
|
function Companion_getInstance_0() {
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
// Inline function 'kotlin.use' call
|
|
278
278
|
var exception = null;
|
|
279
279
|
try {
|
|
280
|
-
var tmp0_0 = new YamlOutput(tmp0, $this.
|
|
280
|
+
var tmp0_0 = new YamlOutput(tmp0, $this.phm_1, $this.qhm_1);
|
|
281
281
|
$l$block: {
|
|
282
282
|
// Inline function 'kotlin.use' call
|
|
283
283
|
var exception_0 = null;
|
|
@@ -316,48 +316,48 @@
|
|
|
316
316
|
Companion_getInstance_0();
|
|
317
317
|
serializersModule = serializersModule === VOID ? EmptySerializersModule() : serializersModule;
|
|
318
318
|
configuration = configuration === VOID ? new YamlConfiguration() : configuration;
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
319
|
+
this.phm_1 = serializersModule;
|
|
320
|
+
this.qhm_1 = configuration;
|
|
321
321
|
}
|
|
322
322
|
protoOf(Yaml).lz = function () {
|
|
323
|
-
return this.
|
|
323
|
+
return this.phm_1;
|
|
324
324
|
};
|
|
325
325
|
protoOf(Yaml).hw = function (deserializer, string) {
|
|
326
|
-
return this.
|
|
326
|
+
return this.rhm(deserializer, bufferedSource(string));
|
|
327
327
|
};
|
|
328
|
-
protoOf(Yaml).
|
|
329
|
-
var rootNode = this.
|
|
330
|
-
var input = Companion_getInstance_1().
|
|
328
|
+
protoOf(Yaml).rhm = function (deserializer, source) {
|
|
329
|
+
var rootNode = this.shm(source);
|
|
330
|
+
var input = Companion_getInstance_1().uhm(rootNode, this, this.phm_1, this.qhm_1, deserializer.fv());
|
|
331
331
|
return input.vy(deserializer);
|
|
332
332
|
};
|
|
333
|
-
protoOf(Yaml).
|
|
334
|
-
return this.
|
|
333
|
+
protoOf(Yaml).zhm = function (string) {
|
|
334
|
+
return this.shm(bufferedSource(string));
|
|
335
335
|
};
|
|
336
|
-
protoOf(Yaml).
|
|
337
|
-
var parser = new YamlParser(source, this.
|
|
338
|
-
var reader = new YamlNodeReader(parser, this.
|
|
336
|
+
protoOf(Yaml).shm = function (source) {
|
|
337
|
+
var parser = new YamlParser(source, this.qhm_1.ohn_1);
|
|
338
|
+
var reader = new YamlNodeReader(parser, this.qhm_1.chn_1, this.qhm_1.mhn_1);
|
|
339
339
|
var node = reader.a1o();
|
|
340
|
-
parser.
|
|
340
|
+
parser.xhn();
|
|
341
341
|
return node;
|
|
342
342
|
};
|
|
343
343
|
protoOf(Yaml).gw = function (serializer, value) {
|
|
344
344
|
var buffer = new Buffer();
|
|
345
345
|
encodeToBufferedSink(this, serializer, value, buffer);
|
|
346
346
|
// Inline function 'kotlin.text.trimEnd' call
|
|
347
|
-
var this_0 = buffer.
|
|
347
|
+
var this_0 = buffer.hh2();
|
|
348
348
|
return toString(trimEnd(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
349
349
|
};
|
|
350
350
|
function BufferedSinkDataWriter(sink) {
|
|
351
|
-
this.
|
|
351
|
+
this.yhn_1 = sink;
|
|
352
352
|
}
|
|
353
353
|
protoOf(BufferedSinkDataWriter).u9 = function () {
|
|
354
|
-
return this.
|
|
354
|
+
return this.yhn_1.u9();
|
|
355
355
|
};
|
|
356
356
|
protoOf(BufferedSinkDataWriter).s1l = function (str) {
|
|
357
|
-
this.
|
|
357
|
+
this.yhn_1.ph2(str);
|
|
358
358
|
};
|
|
359
|
-
protoOf(BufferedSinkDataWriter).
|
|
360
|
-
this.
|
|
359
|
+
protoOf(BufferedSinkDataWriter).hh7 = function (str, off, len) {
|
|
360
|
+
this.yhn_1.qh2(str, off, off + len | 0);
|
|
361
361
|
};
|
|
362
362
|
protoOf(BufferedSinkDataWriter).u4 = function () {
|
|
363
363
|
this.u9();
|
|
@@ -374,47 +374,47 @@
|
|
|
374
374
|
breakScalarsAt = breakScalarsAt === VOID ? 80 : breakScalarsAt;
|
|
375
375
|
sequenceStyle = sequenceStyle === VOID ? SequenceStyle_Block_getInstance() : sequenceStyle;
|
|
376
376
|
singleLineStringStyle = singleLineStringStyle === VOID ? SingleLineStringStyle_DoubleQuoted_getInstance() : singleLineStringStyle;
|
|
377
|
-
multiLineStringStyle = multiLineStringStyle === VOID ? singleLineStringStyle.
|
|
377
|
+
multiLineStringStyle = multiLineStringStyle === VOID ? singleLineStringStyle.bho() : multiLineStringStyle;
|
|
378
378
|
ambiguousQuoteStyle = ambiguousQuoteStyle === VOID ? AmbiguousQuoteStyle_DoubleQuoted_getInstance() : ambiguousQuoteStyle;
|
|
379
379
|
sequenceBlockIndent = sequenceBlockIndent === VOID ? 0 : sequenceBlockIndent;
|
|
380
380
|
allowAnchorsAndAliases = allowAnchorsAndAliases === VOID ? false : allowAnchorsAndAliases;
|
|
381
381
|
yamlNamingStrategy = yamlNamingStrategy === VOID ? null : yamlNamingStrategy;
|
|
382
382
|
codePointLimit = codePointLimit === VOID ? null : codePointLimit;
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
385
|
-
this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
383
|
+
this.ahn_1 = encodeDefaults;
|
|
384
|
+
this.bhn_1 = strictMode;
|
|
385
|
+
this.chn_1 = extensionDefinitionPrefix;
|
|
386
|
+
this.dhn_1 = polymorphismStyle;
|
|
387
|
+
this.ehn_1 = polymorphismPropertyName;
|
|
388
|
+
this.fhn_1 = encodingIndentationSize;
|
|
389
|
+
this.ghn_1 = breakScalarsAt;
|
|
390
|
+
this.hhn_1 = sequenceStyle;
|
|
391
|
+
this.ihn_1 = singleLineStringStyle;
|
|
392
|
+
this.jhn_1 = multiLineStringStyle;
|
|
393
|
+
this.khn_1 = ambiguousQuoteStyle;
|
|
394
|
+
this.lhn_1 = sequenceBlockIndent;
|
|
395
|
+
this.mhn_1 = allowAnchorsAndAliases;
|
|
396
|
+
this.nhn_1 = yamlNamingStrategy;
|
|
397
|
+
this.ohn_1 = codePointLimit;
|
|
398
398
|
}
|
|
399
399
|
protoOf(YamlConfiguration).toString = function () {
|
|
400
|
-
return 'YamlConfiguration(encodeDefaults=' + this.
|
|
400
|
+
return 'YamlConfiguration(encodeDefaults=' + this.ahn_1 + ', strictMode=' + this.bhn_1 + ', extensionDefinitionPrefix=' + this.chn_1 + ', polymorphismStyle=' + this.dhn_1.toString() + ', polymorphismPropertyName=' + this.ehn_1 + ', encodingIndentationSize=' + this.fhn_1 + ', breakScalarsAt=' + this.ghn_1 + ', sequenceStyle=' + this.hhn_1.toString() + ', singleLineStringStyle=' + this.ihn_1.toString() + ', multiLineStringStyle=' + this.jhn_1.toString() + ', ambiguousQuoteStyle=' + this.khn_1.toString() + ', sequenceBlockIndent=' + this.lhn_1 + ', allowAnchorsAndAliases=' + this.mhn_1 + ', yamlNamingStrategy=' + toString_0(this.nhn_1) + ', codePointLimit=' + this.ohn_1 + ')';
|
|
401
401
|
};
|
|
402
402
|
protoOf(YamlConfiguration).hashCode = function () {
|
|
403
|
-
var result = getBooleanHashCode(this.
|
|
404
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
405
|
-
result = imul(result, 31) + (this.
|
|
406
|
-
result = imul(result, 31) + this.
|
|
407
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
408
|
-
result = imul(result, 31) + this.
|
|
409
|
-
result = imul(result, 31) + this.
|
|
410
|
-
result = imul(result, 31) + this.
|
|
411
|
-
result = imul(result, 31) + this.
|
|
412
|
-
result = imul(result, 31) + this.
|
|
413
|
-
result = imul(result, 31) + this.
|
|
414
|
-
result = imul(result, 31) + this.
|
|
415
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
416
|
-
result = imul(result, 31) + (this.
|
|
417
|
-
result = imul(result, 31) + (this.
|
|
403
|
+
var result = getBooleanHashCode(this.ahn_1);
|
|
404
|
+
result = imul(result, 31) + getBooleanHashCode(this.bhn_1) | 0;
|
|
405
|
+
result = imul(result, 31) + (this.chn_1 == null ? 0 : getStringHashCode(this.chn_1)) | 0;
|
|
406
|
+
result = imul(result, 31) + this.dhn_1.hashCode() | 0;
|
|
407
|
+
result = imul(result, 31) + getStringHashCode(this.ehn_1) | 0;
|
|
408
|
+
result = imul(result, 31) + this.fhn_1 | 0;
|
|
409
|
+
result = imul(result, 31) + this.ghn_1 | 0;
|
|
410
|
+
result = imul(result, 31) + this.hhn_1.hashCode() | 0;
|
|
411
|
+
result = imul(result, 31) + this.ihn_1.hashCode() | 0;
|
|
412
|
+
result = imul(result, 31) + this.jhn_1.hashCode() | 0;
|
|
413
|
+
result = imul(result, 31) + this.khn_1.hashCode() | 0;
|
|
414
|
+
result = imul(result, 31) + this.lhn_1 | 0;
|
|
415
|
+
result = imul(result, 31) + getBooleanHashCode(this.mhn_1) | 0;
|
|
416
|
+
result = imul(result, 31) + (this.nhn_1 == null ? 0 : hashCode(this.nhn_1)) | 0;
|
|
417
|
+
result = imul(result, 31) + (this.ohn_1 == null ? 0 : this.ohn_1) | 0;
|
|
418
418
|
return result;
|
|
419
419
|
};
|
|
420
420
|
protoOf(YamlConfiguration).equals = function (other) {
|
|
@@ -423,35 +423,35 @@
|
|
|
423
423
|
if (!(other instanceof YamlConfiguration))
|
|
424
424
|
return false;
|
|
425
425
|
var tmp0_other_with_cast = other instanceof YamlConfiguration ? other : THROW_CCE();
|
|
426
|
-
if (!(this.
|
|
426
|
+
if (!(this.ahn_1 === tmp0_other_with_cast.ahn_1))
|
|
427
427
|
return false;
|
|
428
|
-
if (!(this.
|
|
428
|
+
if (!(this.bhn_1 === tmp0_other_with_cast.bhn_1))
|
|
429
429
|
return false;
|
|
430
|
-
if (!(this.
|
|
430
|
+
if (!(this.chn_1 == tmp0_other_with_cast.chn_1))
|
|
431
431
|
return false;
|
|
432
|
-
if (!this.
|
|
432
|
+
if (!this.dhn_1.equals(tmp0_other_with_cast.dhn_1))
|
|
433
433
|
return false;
|
|
434
|
-
if (!(this.
|
|
434
|
+
if (!(this.ehn_1 === tmp0_other_with_cast.ehn_1))
|
|
435
435
|
return false;
|
|
436
|
-
if (!(this.
|
|
436
|
+
if (!(this.fhn_1 === tmp0_other_with_cast.fhn_1))
|
|
437
437
|
return false;
|
|
438
|
-
if (!(this.
|
|
438
|
+
if (!(this.ghn_1 === tmp0_other_with_cast.ghn_1))
|
|
439
439
|
return false;
|
|
440
|
-
if (!this.
|
|
440
|
+
if (!this.hhn_1.equals(tmp0_other_with_cast.hhn_1))
|
|
441
441
|
return false;
|
|
442
|
-
if (!this.
|
|
442
|
+
if (!this.ihn_1.equals(tmp0_other_with_cast.ihn_1))
|
|
443
443
|
return false;
|
|
444
|
-
if (!this.
|
|
444
|
+
if (!this.jhn_1.equals(tmp0_other_with_cast.jhn_1))
|
|
445
445
|
return false;
|
|
446
|
-
if (!this.
|
|
446
|
+
if (!this.khn_1.equals(tmp0_other_with_cast.khn_1))
|
|
447
447
|
return false;
|
|
448
|
-
if (!(this.
|
|
448
|
+
if (!(this.lhn_1 === tmp0_other_with_cast.lhn_1))
|
|
449
449
|
return false;
|
|
450
|
-
if (!(this.
|
|
450
|
+
if (!(this.mhn_1 === tmp0_other_with_cast.mhn_1))
|
|
451
451
|
return false;
|
|
452
|
-
if (!equals(this.
|
|
452
|
+
if (!equals(this.nhn_1, tmp0_other_with_cast.nhn_1))
|
|
453
453
|
return false;
|
|
454
|
-
if (!(this.
|
|
454
|
+
if (!(this.ohn_1 == tmp0_other_with_cast.ohn_1))
|
|
455
455
|
return false;
|
|
456
456
|
return true;
|
|
457
457
|
};
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
function SingleLineStringStyle(name, ordinal) {
|
|
501
501
|
Enum.call(this, name, ordinal);
|
|
502
502
|
}
|
|
503
|
-
protoOf(SingleLineStringStyle).
|
|
503
|
+
protoOf(SingleLineStringStyle).bho = function () {
|
|
504
504
|
var tmp;
|
|
505
505
|
switch (this.v2_1) {
|
|
506
506
|
case 0:
|
|
@@ -597,21 +597,21 @@
|
|
|
597
597
|
throw IllegalStateException_init_$Create$('Must call beginStructure() and use returned Decoder');
|
|
598
598
|
};
|
|
599
599
|
protoOf(YamlContextualInput).wy = function (descriptor) {
|
|
600
|
-
return Companion_getInstance_1().
|
|
600
|
+
return Companion_getInstance_1().uhm(this.vhm_1, this.whm_1, this.lz(), this.yhm_1, descriptor);
|
|
601
601
|
};
|
|
602
602
|
function YamlScalarFormatException(message, path, originalValue) {
|
|
603
603
|
YamlException.call(this, message, path);
|
|
604
604
|
captureStack(this, YamlScalarFormatException);
|
|
605
|
-
this.
|
|
605
|
+
this.mho_1 = originalValue;
|
|
606
606
|
}
|
|
607
607
|
function DuplicateKeyException(originalPath, duplicatePath, key) {
|
|
608
|
-
YamlException.call(this, 'Duplicate key ' + key + '. It was previously given at line ' + originalPath.
|
|
608
|
+
YamlException.call(this, 'Duplicate key ' + key + '. It was previously given at line ' + originalPath.uho_1.mhm_1 + ', column ' + originalPath.uho_1.nhm_1 + '.', duplicatePath);
|
|
609
609
|
captureStack(this, DuplicateKeyException);
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
610
|
+
this.bhp_1 = originalPath;
|
|
611
|
+
this.chp_1 = duplicatePath;
|
|
612
|
+
this.dhp_1 = key;
|
|
613
|
+
this.ehp_1 = this.bhp_1.uho_1;
|
|
614
|
+
this.fhp_1 = this.chp_1.uho_1;
|
|
615
615
|
}
|
|
616
616
|
function IncorrectTypeException(message, path) {
|
|
617
617
|
YamlException.call(this, message, path);
|
|
@@ -625,14 +625,14 @@
|
|
|
625
625
|
cause = cause === VOID ? null : cause;
|
|
626
626
|
YamlException.call(this, "Value for '" + propertyName + "' is invalid: " + reason, path, cause);
|
|
627
627
|
captureStack(this, InvalidPropertyValueException);
|
|
628
|
-
this.
|
|
629
|
-
this.
|
|
628
|
+
this.mhp_1 = propertyName;
|
|
629
|
+
this.nhp_1 = reason;
|
|
630
630
|
}
|
|
631
631
|
function MissingRequiredPropertyException(propertyName, path, cause) {
|
|
632
632
|
cause = cause === VOID ? null : cause;
|
|
633
633
|
YamlException.call(this, "Property '" + propertyName + "' is required but it is missing.", path, cause);
|
|
634
634
|
captureStack(this, MissingRequiredPropertyException);
|
|
635
|
-
this.
|
|
635
|
+
this.uhp_1 = propertyName;
|
|
636
636
|
}
|
|
637
637
|
function EmptyYamlDocumentException(message, path) {
|
|
638
638
|
YamlException.call(this, message, path);
|
|
@@ -649,35 +649,35 @@
|
|
|
649
649
|
function NoAnchorForExtensionException(key, extensionDefinitionPrefix, path) {
|
|
650
650
|
YamlException.call(this, "The key '" + key + "' starts with the extension definition prefix '" + extensionDefinitionPrefix + "' but does not define an anchor.", path);
|
|
651
651
|
captureStack(this, NoAnchorForExtensionException);
|
|
652
|
-
this.
|
|
653
|
-
this.
|
|
652
|
+
this.bhq_1 = key;
|
|
653
|
+
this.chq_1 = extensionDefinitionPrefix;
|
|
654
654
|
}
|
|
655
655
|
function UnknownAnchorException(anchorName, path) {
|
|
656
656
|
YamlException.call(this, "Unknown anchor '" + anchorName + "'.", path);
|
|
657
657
|
captureStack(this, UnknownAnchorException);
|
|
658
|
-
this.
|
|
658
|
+
this.jhq_1 = anchorName;
|
|
659
659
|
}
|
|
660
660
|
function YamlException(message, path, cause) {
|
|
661
661
|
cause = cause === VOID ? null : cause;
|
|
662
662
|
SerializationException_init_$Init$(message, cause, this);
|
|
663
663
|
captureStack(this, YamlException);
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
664
|
+
this.nho_1 = message;
|
|
665
|
+
this.oho_1 = path;
|
|
666
|
+
this.pho_1 = cause;
|
|
667
|
+
this.qho_1 = this.oho_1.uho_1;
|
|
668
|
+
this.rho_1 = this.qho_1.mhm_1;
|
|
669
|
+
this.sho_1 = this.qho_1.nhm_1;
|
|
670
670
|
delete this.message;
|
|
671
671
|
delete this.cause;
|
|
672
672
|
}
|
|
673
673
|
protoOf(YamlException).r1 = function () {
|
|
674
|
-
return this.
|
|
674
|
+
return this.nho_1;
|
|
675
675
|
};
|
|
676
676
|
protoOf(YamlException).s1 = function () {
|
|
677
|
-
return this.
|
|
677
|
+
return this.pho_1;
|
|
678
678
|
};
|
|
679
679
|
protoOf(YamlException).toString = function () {
|
|
680
|
-
return '' + getKClassFromExpression(this).zb() + ' at ' + this.
|
|
680
|
+
return '' + getKClassFromExpression(this).zb() + ' at ' + this.oho_1.khq() + ' on line ' + this.rho_1 + ', column ' + this.sho_1 + ': ' + this.r1();
|
|
681
681
|
};
|
|
682
682
|
function UnexpectedNullValueException(path) {
|
|
683
683
|
YamlException.call(this, 'Unexpected null or empty value for non-null field.', path);
|
|
@@ -686,15 +686,15 @@
|
|
|
686
686
|
function UnknownPropertyException(propertyName, validPropertyNames, path) {
|
|
687
687
|
YamlException.call(this, "Unknown property '" + propertyName + "'. Known properties are: " + joinToString(sorted(validPropertyNames), ', '), path);
|
|
688
688
|
captureStack(this, UnknownPropertyException);
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
689
|
+
this.rhq_1 = propertyName;
|
|
690
|
+
this.shq_1 = validPropertyNames;
|
|
691
691
|
}
|
|
692
692
|
function UnknownPolymorphicTypeException(typeName, validTypeNames, path, cause) {
|
|
693
693
|
cause = cause === VOID ? null : cause;
|
|
694
694
|
YamlException.call(this, "Unknown type '" + typeName + "'. Known types are: " + joinToString(sorted(validTypeNames), ', '), path, cause);
|
|
695
695
|
captureStack(this, UnknownPolymorphicTypeException);
|
|
696
|
-
this.
|
|
697
|
-
this.
|
|
696
|
+
this.zhq_1 = typeName;
|
|
697
|
+
this.ahr_1 = validTypeNames;
|
|
698
698
|
}
|
|
699
699
|
function createContextual($this, node, yaml, context, configuration, descriptor) {
|
|
700
700
|
var tmp5_safe_receiver = getContextualDescriptor(context, descriptor);
|
|
@@ -703,29 +703,29 @@
|
|
|
703
703
|
tmp = null;
|
|
704
704
|
} else {
|
|
705
705
|
// Inline function 'kotlin.let' call
|
|
706
|
-
tmp = Companion_getInstance_1().
|
|
706
|
+
tmp = Companion_getInstance_1().uhm(node, yaml, context, configuration, tmp5_safe_receiver);
|
|
707
707
|
}
|
|
708
708
|
var tmp0_elvis_lhs = tmp;
|
|
709
709
|
return tmp0_elvis_lhs == null ? new YamlContextualInput(node, yaml, context, configuration) : tmp0_elvis_lhs;
|
|
710
710
|
}
|
|
711
711
|
function createPolymorphicMapDeserializer($this, node, yaml, context, configuration) {
|
|
712
|
-
var desiredKey = configuration.
|
|
712
|
+
var desiredKey = configuration.ehn_1;
|
|
713
713
|
var typeName = getValue($this, node, desiredKey);
|
|
714
714
|
if (typeName instanceof YamlList)
|
|
715
|
-
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a list', typeName.
|
|
715
|
+
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a list', typeName.nhr_1);
|
|
716
716
|
else {
|
|
717
717
|
if (typeName instanceof YamlMap)
|
|
718
|
-
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a map', typeName.
|
|
718
|
+
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a map', typeName.khr_1);
|
|
719
719
|
else {
|
|
720
720
|
if (typeName instanceof YamlNull)
|
|
721
|
-
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a null value', typeName.
|
|
721
|
+
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a null value', typeName.hhr_1);
|
|
722
722
|
else {
|
|
723
723
|
if (typeName instanceof YamlTaggedNode)
|
|
724
|
-
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a tagged value', typeName.
|
|
724
|
+
throw new InvalidPropertyValueException(desiredKey, 'expected a string, but got a tagged value', typeName.fhr());
|
|
725
725
|
else {
|
|
726
726
|
if (typeName instanceof YamlScalar) {
|
|
727
727
|
var remainingProperties = withoutKey($this, node, desiredKey);
|
|
728
|
-
return new YamlPolymorphicInput(typeName.
|
|
728
|
+
return new YamlPolymorphicInput(typeName.chr_1, typeName.dhr_1, remainingProperties, yaml, context, configuration);
|
|
729
729
|
} else {
|
|
730
730
|
noWhenBranchMatchedException();
|
|
731
731
|
}
|
|
@@ -735,10 +735,10 @@
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
function getValue($this, _this__u8e3s4, desiredKey) {
|
|
738
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
738
|
+
var tmp0_elvis_lhs = _this__u8e3s4.ohr(desiredKey);
|
|
739
739
|
var tmp;
|
|
740
740
|
if (tmp0_elvis_lhs == null) {
|
|
741
|
-
throw new MissingRequiredPropertyException(desiredKey, _this__u8e3s4.
|
|
741
|
+
throw new MissingRequiredPropertyException(desiredKey, _this__u8e3s4.khr_1);
|
|
742
742
|
} else {
|
|
743
743
|
tmp = tmp0_elvis_lhs;
|
|
744
744
|
}
|
|
@@ -746,26 +746,26 @@
|
|
|
746
746
|
}
|
|
747
747
|
function withoutKey($this, _this__u8e3s4, key) {
|
|
748
748
|
// Inline function 'kotlin.collections.filterKeys' call
|
|
749
|
-
var this_0 = _this__u8e3s4.
|
|
749
|
+
var this_0 = _this__u8e3s4.jhr_1;
|
|
750
750
|
var result = LinkedHashMap_init_$Create$();
|
|
751
751
|
// Inline function 'kotlin.collections.iterator' call
|
|
752
752
|
var _iterator__ex2g4s = this_0.z().p();
|
|
753
753
|
while (_iterator__ex2g4s.q()) {
|
|
754
754
|
var entry = _iterator__ex2g4s.r();
|
|
755
|
-
if (!(entry.a1().
|
|
755
|
+
if (!(entry.a1().chr_1 === key)) {
|
|
756
756
|
result.r2(entry.a1(), entry.b1());
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
|
-
return _this__u8e3s4.
|
|
759
|
+
return _this__u8e3s4.phr(result);
|
|
760
760
|
}
|
|
761
761
|
function Companion_0() {
|
|
762
762
|
Companion_instance_2 = this;
|
|
763
763
|
var tmp = this;
|
|
764
764
|
// Inline function 'kotlin.text.toRegex' call
|
|
765
765
|
var this_0 = "^Field '(.*)' is required for type with serial name '.*', but it was missing$";
|
|
766
|
-
tmp.
|
|
766
|
+
tmp.thm_1 = Regex_init_$Create$(this_0);
|
|
767
767
|
}
|
|
768
|
-
protoOf(Companion_0).
|
|
768
|
+
protoOf(Companion_0).uhm = function (node, yaml, context, configuration, descriptor) {
|
|
769
769
|
var tmp;
|
|
770
770
|
if (node instanceof YamlNull) {
|
|
771
771
|
var tmp_0;
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
tmp_1 = false;
|
|
778
778
|
}
|
|
779
779
|
if (tmp_1) {
|
|
780
|
-
throw new MissingTypeTagException(node.
|
|
780
|
+
throw new MissingTypeTagException(node.hhr_1);
|
|
781
781
|
} else {
|
|
782
782
|
tmp_0 = new YamlNullInput(node, yaml, context, configuration);
|
|
783
783
|
}
|
|
@@ -808,9 +808,9 @@
|
|
|
808
808
|
} else {
|
|
809
809
|
var tmp_9 = descriptor.uw();
|
|
810
810
|
if (tmp_9 instanceof PolymorphicKind) {
|
|
811
|
-
throw new MissingTypeTagException(node.
|
|
811
|
+
throw new MissingTypeTagException(node.dhr_1);
|
|
812
812
|
} else {
|
|
813
|
-
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a scalar value', node.
|
|
813
|
+
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a scalar value', node.dhr_1);
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
}
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
if (tmp2_subject instanceof CONTEXTUAL) {
|
|
826
826
|
tmp_10 = createContextual(this, node, yaml, context, configuration, descriptor);
|
|
827
827
|
} else {
|
|
828
|
-
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a list', node.
|
|
828
|
+
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a list', node.nhr_1);
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
tmp = tmp_10;
|
|
@@ -850,11 +850,11 @@
|
|
|
850
850
|
} else {
|
|
851
851
|
if (tmp3_subject instanceof PolymorphicKind) {
|
|
852
852
|
var tmp_13;
|
|
853
|
-
switch (configuration.
|
|
853
|
+
switch (configuration.dhn_1.v2_1) {
|
|
854
854
|
case 2:
|
|
855
|
-
throw new IncorrectTypeException("Encountered a polymorphic map descriptor but PolymorphismStyle is 'None'", node.
|
|
855
|
+
throw new IncorrectTypeException("Encountered a polymorphic map descriptor but PolymorphismStyle is 'None'", node.khr_1);
|
|
856
856
|
case 0:
|
|
857
|
-
throw new MissingTypeTagException(node.
|
|
857
|
+
throw new MissingTypeTagException(node.khr_1);
|
|
858
858
|
case 1:
|
|
859
859
|
tmp_13 = createPolymorphicMapDeserializer(this, node, yaml, context, configuration);
|
|
860
860
|
break;
|
|
@@ -864,7 +864,7 @@
|
|
|
864
864
|
}
|
|
865
865
|
tmp_11 = tmp_13;
|
|
866
866
|
} else {
|
|
867
|
-
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a map', node.
|
|
867
|
+
throw new IncorrectTypeException('Expected ' + get_friendlyDescription(descriptor.uw()) + ', but got a map', node.khr_1);
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
870
|
}
|
|
@@ -876,24 +876,24 @@
|
|
|
876
876
|
var tmp_15;
|
|
877
877
|
var tmp_16 = descriptor.uw();
|
|
878
878
|
if (tmp_16 instanceof PolymorphicKind) {
|
|
879
|
-
tmp_15 = configuration.
|
|
879
|
+
tmp_15 = configuration.dhn_1.equals(PolymorphismStyle_None_getInstance());
|
|
880
880
|
} else {
|
|
881
881
|
tmp_15 = false;
|
|
882
882
|
}
|
|
883
883
|
if (tmp_15) {
|
|
884
|
-
throw new IncorrectTypeException("Encountered a tagged polymorphic descriptor but PolymorphismStyle is 'None'", node.
|
|
884
|
+
throw new IncorrectTypeException("Encountered a tagged polymorphic descriptor but PolymorphismStyle is 'None'", node.fhr());
|
|
885
885
|
} else {
|
|
886
886
|
var tmp_17;
|
|
887
887
|
var tmp_18 = descriptor.uw();
|
|
888
888
|
if (tmp_18 instanceof PolymorphicKind) {
|
|
889
|
-
tmp_17 = configuration.
|
|
889
|
+
tmp_17 = configuration.dhn_1.equals(PolymorphismStyle_Tag_getInstance());
|
|
890
890
|
} else {
|
|
891
891
|
tmp_17 = false;
|
|
892
892
|
}
|
|
893
893
|
if (tmp_17) {
|
|
894
|
-
tmp_14 = new YamlPolymorphicInput(node.
|
|
894
|
+
tmp_14 = new YamlPolymorphicInput(node.rhr_1, node.fhr(), node.shr_1, yaml, context, configuration);
|
|
895
895
|
} else {
|
|
896
|
-
tmp_14 = this.
|
|
896
|
+
tmp_14 = this.uhm(node.shr_1, yaml, context, configuration, descriptor);
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
tmp = tmp_14;
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
return Companion_instance_2;
|
|
914
914
|
}
|
|
915
915
|
function throwIfMissingRequiredPropertyException($this, e) {
|
|
916
|
-
var tmp0_elvis_lhs = Companion_getInstance_1().
|
|
916
|
+
var tmp0_elvis_lhs = Companion_getInstance_1().thm_1.qe(ensureNotNull(e.message));
|
|
917
917
|
var tmp;
|
|
918
918
|
if (tmp0_elvis_lhs == null) {
|
|
919
919
|
return Unit_instance;
|
|
@@ -921,18 +921,18 @@
|
|
|
921
921
|
tmp = tmp0_elvis_lhs;
|
|
922
922
|
}
|
|
923
923
|
var match = tmp;
|
|
924
|
-
throw new MissingRequiredPropertyException(match.nf().u(1), $this.
|
|
924
|
+
throw new MissingRequiredPropertyException(match.nf().u(1), $this.vhm_1.fhr(), e);
|
|
925
925
|
}
|
|
926
926
|
function YamlInput(node, yaml, serializersModule, configuration) {
|
|
927
927
|
Companion_getInstance_1();
|
|
928
928
|
AbstractDecoder.call(this);
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
931
|
-
this.
|
|
932
|
-
this.
|
|
929
|
+
this.vhm_1 = node;
|
|
930
|
+
this.whm_1 = yaml;
|
|
931
|
+
this.xhm_1 = serializersModule;
|
|
932
|
+
this.yhm_1 = configuration;
|
|
933
933
|
}
|
|
934
934
|
protoOf(YamlInput).lz = function () {
|
|
935
|
-
return this.
|
|
935
|
+
return this.xhm_1;
|
|
936
936
|
};
|
|
937
937
|
protoOf(YamlInput).vy = function (deserializer) {
|
|
938
938
|
try {
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
return tmp;
|
|
1010
1010
|
}
|
|
1011
1011
|
function _get_currentElementDecoder__u73r00($this) {
|
|
1012
|
-
var tmp = $this.
|
|
1012
|
+
var tmp = $this.zhr_1;
|
|
1013
1013
|
if (!(tmp == null))
|
|
1014
1014
|
return tmp;
|
|
1015
1015
|
else {
|
|
@@ -1017,23 +1017,23 @@
|
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
1019
|
function _get_haveStartedReadingElements__wj0go1($this) {
|
|
1020
|
-
return $this.
|
|
1020
|
+
return $this.yhr_1 > 0;
|
|
1021
1021
|
}
|
|
1022
1022
|
function YamlListInput(list, yaml, context, configuration) {
|
|
1023
1023
|
YamlInput.call(this, list, yaml, context, configuration);
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1024
|
+
this.xhr_1 = list;
|
|
1025
|
+
this.yhr_1 = 0;
|
|
1026
1026
|
}
|
|
1027
1027
|
protoOf(YamlListInput).oz = function (descriptor) {
|
|
1028
|
-
return this.
|
|
1028
|
+
return this.xhr_1.mhr_1.s();
|
|
1029
1029
|
};
|
|
1030
1030
|
protoOf(YamlListInput).nz = function (descriptor) {
|
|
1031
|
-
if (this.
|
|
1031
|
+
if (this.yhr_1 === this.xhr_1.mhr_1.s()) {
|
|
1032
1032
|
return -1;
|
|
1033
1033
|
}
|
|
1034
|
-
this.
|
|
1035
|
-
var _unary__edvuaz = this.
|
|
1036
|
-
this.
|
|
1034
|
+
this.zhr_1 = Companion_getInstance_1().uhm(this.xhr_1.mhr_1.u(this.yhr_1), this.whm_1, this.lz(), this.yhm_1, descriptor.bx(0));
|
|
1035
|
+
var _unary__edvuaz = this.yhr_1;
|
|
1036
|
+
this.yhr_1 = _unary__edvuaz + 1 | 0;
|
|
1037
1037
|
return _unary__edvuaz;
|
|
1038
1038
|
};
|
|
1039
1039
|
protoOf(YamlListInput).hy = function () {
|
|
@@ -1079,7 +1079,7 @@
|
|
|
1079
1079
|
return protoOf(YamlInput).wy.call(this, descriptor);
|
|
1080
1080
|
};
|
|
1081
1081
|
function _get_currentEntry__q2u5ma($this) {
|
|
1082
|
-
var tmp = $this.
|
|
1082
|
+
var tmp = $this.jhs_1;
|
|
1083
1083
|
if (!(tmp == null))
|
|
1084
1084
|
return tmp;
|
|
1085
1085
|
else {
|
|
@@ -1093,29 +1093,29 @@
|
|
|
1093
1093
|
}
|
|
1094
1094
|
function YamlMapInput(map, yaml, context, configuration) {
|
|
1095
1095
|
YamlMapLikeInputBase.call(this, map, yaml, context, configuration);
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1096
|
+
this.hhs_1 = toList(map.jhr_1.z());
|
|
1097
|
+
this.ihs_1 = 0;
|
|
1098
1098
|
}
|
|
1099
1099
|
protoOf(YamlMapInput).nz = function (descriptor) {
|
|
1100
|
-
if (this.
|
|
1100
|
+
if (this.ihs_1 === imul(this.hhs_1.s(), 2)) {
|
|
1101
1101
|
return -1;
|
|
1102
1102
|
}
|
|
1103
|
-
var entryIndex = this.
|
|
1104
|
-
this.
|
|
1105
|
-
this.
|
|
1106
|
-
this.
|
|
1103
|
+
var entryIndex = this.ihs_1 / 2 | 0;
|
|
1104
|
+
this.jhs_1 = this.hhs_1.u(entryIndex);
|
|
1105
|
+
this.phs_1 = _get_currentEntry__q2u5ma(this).a1();
|
|
1106
|
+
this.qhs_1 = !((this.ihs_1 % 2 | 0) === 0);
|
|
1107
1107
|
var tmp = this;
|
|
1108
1108
|
var tmp_0;
|
|
1109
|
-
switch (this.
|
|
1109
|
+
switch (this.qhs_1) {
|
|
1110
1110
|
case true:
|
|
1111
1111
|
var tmp_1;
|
|
1112
1112
|
try {
|
|
1113
|
-
tmp_1 = Companion_getInstance_1().
|
|
1113
|
+
tmp_1 = Companion_getInstance_1().uhm(_get_currentEntry__q2u5ma(this).b1(), this.whm_1, this.lz(), this.yhm_1, descriptor.bx(1));
|
|
1114
1114
|
} catch ($p) {
|
|
1115
1115
|
var tmp_2;
|
|
1116
1116
|
if ($p instanceof IncorrectTypeException) {
|
|
1117
1117
|
var e = $p;
|
|
1118
|
-
throw new InvalidPropertyValueException(this.
|
|
1118
|
+
throw new InvalidPropertyValueException(this.rhs(), e.r1(), e.oho_1, e);
|
|
1119
1119
|
} else {
|
|
1120
1120
|
throw $p;
|
|
1121
1121
|
}
|
|
@@ -1124,20 +1124,20 @@
|
|
|
1124
1124
|
tmp_0 = tmp_1;
|
|
1125
1125
|
break;
|
|
1126
1126
|
case false:
|
|
1127
|
-
tmp_0 = Companion_getInstance_1().
|
|
1127
|
+
tmp_0 = Companion_getInstance_1().uhm(this.shs(), this.whm_1, this.lz(), this.yhm_1, descriptor.bx(0));
|
|
1128
1128
|
break;
|
|
1129
1129
|
default:
|
|
1130
1130
|
noWhenBranchMatchedException();
|
|
1131
1131
|
break;
|
|
1132
1132
|
}
|
|
1133
|
-
tmp.
|
|
1134
|
-
var _unary__edvuaz = this.
|
|
1135
|
-
this.
|
|
1133
|
+
tmp.ohs_1 = tmp_0;
|
|
1134
|
+
var _unary__edvuaz = this.ihs_1;
|
|
1135
|
+
this.ihs_1 = _unary__edvuaz + 1 | 0;
|
|
1136
1136
|
return _unary__edvuaz;
|
|
1137
1137
|
};
|
|
1138
1138
|
protoOf(YamlMapInput).wy = function (descriptor) {
|
|
1139
|
-
if (this.
|
|
1140
|
-
return this.
|
|
1139
|
+
if (this.uhs()) {
|
|
1140
|
+
return this.ths(YamlMapInput$beginStructure$lambda(descriptor));
|
|
1141
1141
|
}
|
|
1142
1142
|
return protoOf(YamlMapLikeInputBase).wy.call(this, descriptor);
|
|
1143
1143
|
};
|
|
@@ -1178,18 +1178,18 @@
|
|
|
1178
1178
|
}
|
|
1179
1179
|
function YamlMapLikeInputBase(map, yaml, context, configuration) {
|
|
1180
1180
|
YamlInput.call(this, map, yaml, context, configuration);
|
|
1181
|
-
this.
|
|
1181
|
+
this.qhs_1 = false;
|
|
1182
1182
|
}
|
|
1183
|
-
protoOf(YamlMapLikeInputBase).
|
|
1184
|
-
var tmp = this.
|
|
1183
|
+
protoOf(YamlMapLikeInputBase).vhs = function () {
|
|
1184
|
+
var tmp = this.ohs_1;
|
|
1185
1185
|
if (!(tmp == null))
|
|
1186
1186
|
return tmp;
|
|
1187
1187
|
else {
|
|
1188
1188
|
throwUninitializedPropertyAccessException('currentValueDecoder');
|
|
1189
1189
|
}
|
|
1190
1190
|
};
|
|
1191
|
-
protoOf(YamlMapLikeInputBase).
|
|
1192
|
-
var tmp = this.
|
|
1191
|
+
protoOf(YamlMapLikeInputBase).shs = function () {
|
|
1192
|
+
var tmp = this.phs_1;
|
|
1193
1193
|
if (!(tmp == null))
|
|
1194
1194
|
return tmp;
|
|
1195
1195
|
else {
|
|
@@ -1197,49 +1197,49 @@
|
|
|
1197
1197
|
}
|
|
1198
1198
|
};
|
|
1199
1199
|
protoOf(YamlMapLikeInputBase).hy = function () {
|
|
1200
|
-
if (!this.
|
|
1200
|
+
if (!this.uhs()) {
|
|
1201
1201
|
return true;
|
|
1202
1202
|
}
|
|
1203
|
-
return this.
|
|
1203
|
+
return this.ths(YamlMapLikeInputBase$decodeNotNullMark$lambda);
|
|
1204
1204
|
};
|
|
1205
1205
|
protoOf(YamlMapLikeInputBase).ry = function () {
|
|
1206
|
-
return this.
|
|
1206
|
+
return this.ths(YamlMapLikeInputBase$decodeString$lambda);
|
|
1207
1207
|
};
|
|
1208
1208
|
protoOf(YamlMapLikeInputBase).my = function () {
|
|
1209
|
-
return this.
|
|
1209
|
+
return this.ths(YamlMapLikeInputBase$decodeInt$lambda);
|
|
1210
1210
|
};
|
|
1211
1211
|
protoOf(YamlMapLikeInputBase).ny = function () {
|
|
1212
|
-
return this.
|
|
1212
|
+
return this.ths(YamlMapLikeInputBase$decodeLong$lambda);
|
|
1213
1213
|
};
|
|
1214
1214
|
protoOf(YamlMapLikeInputBase).ly = function () {
|
|
1215
|
-
return this.
|
|
1215
|
+
return this.ths(YamlMapLikeInputBase$decodeShort$lambda);
|
|
1216
1216
|
};
|
|
1217
1217
|
protoOf(YamlMapLikeInputBase).ky = function () {
|
|
1218
|
-
return this.
|
|
1218
|
+
return this.ths(YamlMapLikeInputBase$decodeByte$lambda);
|
|
1219
1219
|
};
|
|
1220
1220
|
protoOf(YamlMapLikeInputBase).py = function () {
|
|
1221
|
-
return this.
|
|
1221
|
+
return this.ths(YamlMapLikeInputBase$decodeDouble$lambda);
|
|
1222
1222
|
};
|
|
1223
1223
|
protoOf(YamlMapLikeInputBase).oy = function () {
|
|
1224
|
-
return this.
|
|
1224
|
+
return this.ths(YamlMapLikeInputBase$decodeFloat$lambda);
|
|
1225
1225
|
};
|
|
1226
1226
|
protoOf(YamlMapLikeInputBase).jy = function () {
|
|
1227
|
-
return this.
|
|
1227
|
+
return this.ths(YamlMapLikeInputBase$decodeBoolean$lambda);
|
|
1228
1228
|
};
|
|
1229
1229
|
protoOf(YamlMapLikeInputBase).qy = function () {
|
|
1230
|
-
return this.
|
|
1230
|
+
return this.ths(YamlMapLikeInputBase$decodeChar$lambda).t1_1;
|
|
1231
1231
|
};
|
|
1232
1232
|
protoOf(YamlMapLikeInputBase).sy = function (enumDescriptor) {
|
|
1233
|
-
return this.
|
|
1233
|
+
return this.ths(YamlMapLikeInputBase$decodeEnum$lambda(enumDescriptor));
|
|
1234
1234
|
};
|
|
1235
|
-
protoOf(YamlMapLikeInputBase).
|
|
1235
|
+
protoOf(YamlMapLikeInputBase).ths = function (action) {
|
|
1236
1236
|
try {
|
|
1237
|
-
return action(this.
|
|
1237
|
+
return action(this.vhs());
|
|
1238
1238
|
} catch ($p) {
|
|
1239
1239
|
if ($p instanceof YamlException) {
|
|
1240
1240
|
var e = $p;
|
|
1241
|
-
if (this.
|
|
1242
|
-
throw new InvalidPropertyValueException(this.
|
|
1241
|
+
if (this.qhs_1) {
|
|
1242
|
+
throw new InvalidPropertyValueException(this.rhs(), e.r1(), e.oho_1, e);
|
|
1243
1243
|
} else {
|
|
1244
1244
|
throw e;
|
|
1245
1245
|
}
|
|
@@ -1248,39 +1248,39 @@
|
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
|
-
protoOf(YamlMapLikeInputBase).
|
|
1252
|
-
return !(this.
|
|
1251
|
+
protoOf(YamlMapLikeInputBase).uhs = function () {
|
|
1252
|
+
return !(this.ohs_1 == null);
|
|
1253
1253
|
};
|
|
1254
|
-
protoOf(YamlMapLikeInputBase).
|
|
1255
|
-
return this.
|
|
1254
|
+
protoOf(YamlMapLikeInputBase).rhs = function () {
|
|
1255
|
+
return this.shs().chr_1;
|
|
1256
1256
|
};
|
|
1257
1257
|
function YamlNode(path) {
|
|
1258
|
-
this.
|
|
1258
|
+
this.ehr_1 = path;
|
|
1259
1259
|
}
|
|
1260
|
-
protoOf(YamlNode).
|
|
1261
|
-
return this.
|
|
1260
|
+
protoOf(YamlNode).fhr = function () {
|
|
1261
|
+
return this.ehr_1;
|
|
1262
1262
|
};
|
|
1263
|
-
protoOf(YamlNode).
|
|
1264
|
-
return this.
|
|
1263
|
+
protoOf(YamlNode).whs = function () {
|
|
1264
|
+
return this.fhr().uho_1;
|
|
1265
1265
|
};
|
|
1266
|
-
protoOf(YamlNode).
|
|
1267
|
-
return new YamlPath(plus(newParentPath.
|
|
1266
|
+
protoOf(YamlNode).yhs = function (child, newParentPath) {
|
|
1267
|
+
return new YamlPath(plus(newParentPath.tho_1, drop(child.fhr().tho_1, this.fhr().tho_1.s())));
|
|
1268
1268
|
};
|
|
1269
1269
|
function YamlNull(path) {
|
|
1270
1270
|
YamlNode.call(this, path);
|
|
1271
|
-
this.
|
|
1271
|
+
this.hhr_1 = path;
|
|
1272
1272
|
}
|
|
1273
|
-
protoOf(YamlNull).
|
|
1274
|
-
return this.
|
|
1273
|
+
protoOf(YamlNull).fhr = function () {
|
|
1274
|
+
return this.hhr_1;
|
|
1275
1275
|
};
|
|
1276
|
-
protoOf(YamlNull).
|
|
1276
|
+
protoOf(YamlNull).xhs = function (newPath) {
|
|
1277
1277
|
return new YamlNull(newPath);
|
|
1278
1278
|
};
|
|
1279
1279
|
protoOf(YamlNull).toString = function () {
|
|
1280
|
-
return 'null @ ' + this.
|
|
1280
|
+
return 'null @ ' + this.hhr_1.toString();
|
|
1281
1281
|
};
|
|
1282
1282
|
protoOf(YamlNull).hashCode = function () {
|
|
1283
|
-
return this.
|
|
1283
|
+
return this.hhr_1.hashCode();
|
|
1284
1284
|
};
|
|
1285
1285
|
protoOf(YamlNull).equals = function (other) {
|
|
1286
1286
|
if (this === other)
|
|
@@ -1288,17 +1288,17 @@
|
|
|
1288
1288
|
if (!(other instanceof YamlNull))
|
|
1289
1289
|
return false;
|
|
1290
1290
|
var tmp0_other_with_cast = other instanceof YamlNull ? other : THROW_CCE();
|
|
1291
|
-
if (!this.
|
|
1291
|
+
if (!this.hhr_1.equals(tmp0_other_with_cast.hhr_1))
|
|
1292
1292
|
return false;
|
|
1293
1293
|
return true;
|
|
1294
1294
|
};
|
|
1295
1295
|
function convertToIntegerLikeValue($this, converter, description) {
|
|
1296
1296
|
try {
|
|
1297
|
-
return startsWith($this.
|
|
1297
|
+
return startsWith($this.chr_1, '0x') ? converter(substring($this.chr_1, 2), 16) : startsWith($this.chr_1, '-0x') ? converter('-' + substring($this.chr_1, 3), 16) : startsWith($this.chr_1, '0o') ? converter(substring($this.chr_1, 2), 8) : startsWith($this.chr_1, '-0o') ? converter('-' + substring($this.chr_1, 3), 8) : converter($this.chr_1, 10);
|
|
1298
1298
|
} catch ($p) {
|
|
1299
1299
|
if ($p instanceof NumberFormatException) {
|
|
1300
1300
|
var e = $p;
|
|
1301
|
-
throw new YamlScalarFormatException("Value '" + $this.
|
|
1301
|
+
throw new YamlScalarFormatException("Value '" + $this.chr_1 + "' is not a valid " + description + ' value.', $this.dhr_1, $this.chr_1);
|
|
1302
1302
|
} else {
|
|
1303
1303
|
throw $p;
|
|
1304
1304
|
}
|
|
@@ -1334,23 +1334,23 @@
|
|
|
1334
1334
|
}
|
|
1335
1335
|
function YamlScalar(content, path) {
|
|
1336
1336
|
YamlNode.call(this, path);
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1337
|
+
this.chr_1 = content;
|
|
1338
|
+
this.dhr_1 = path;
|
|
1339
1339
|
}
|
|
1340
|
-
protoOf(YamlScalar).
|
|
1341
|
-
return this.
|
|
1340
|
+
protoOf(YamlScalar).fhr = function () {
|
|
1341
|
+
return this.dhr_1;
|
|
1342
1342
|
};
|
|
1343
|
-
protoOf(YamlScalar).
|
|
1343
|
+
protoOf(YamlScalar).zhs = function (other) {
|
|
1344
1344
|
var tmp;
|
|
1345
1345
|
if (other instanceof YamlScalar) {
|
|
1346
|
-
tmp = this.
|
|
1346
|
+
tmp = this.chr_1 === other.chr_1;
|
|
1347
1347
|
} else {
|
|
1348
1348
|
tmp = false;
|
|
1349
1349
|
}
|
|
1350
1350
|
return tmp;
|
|
1351
1351
|
};
|
|
1352
|
-
protoOf(YamlScalar).
|
|
1353
|
-
return "'" + this.
|
|
1352
|
+
protoOf(YamlScalar).aht = function () {
|
|
1353
|
+
return "'" + this.chr_1 + "'";
|
|
1354
1354
|
};
|
|
1355
1355
|
protoOf(YamlScalar).r3 = function () {
|
|
1356
1356
|
return convertToIntegerLikeValue(this, toByte$ref(), 'byte');
|
|
@@ -1364,9 +1364,9 @@
|
|
|
1364
1364
|
protoOf(YamlScalar).t3 = function () {
|
|
1365
1365
|
return convertToIntegerLikeValue(this, toLong$ref(), 'long');
|
|
1366
1366
|
};
|
|
1367
|
-
protoOf(YamlScalar).
|
|
1367
|
+
protoOf(YamlScalar).bht = function () {
|
|
1368
1368
|
var tmp;
|
|
1369
|
-
switch (this.
|
|
1369
|
+
switch (this.chr_1) {
|
|
1370
1370
|
case '.inf':
|
|
1371
1371
|
case '.Inf':
|
|
1372
1372
|
case '.INF':
|
|
@@ -1386,7 +1386,7 @@
|
|
|
1386
1386
|
var tmp_0;
|
|
1387
1387
|
try {
|
|
1388
1388
|
// Inline function 'kotlin.text.toFloat' call
|
|
1389
|
-
var this_0 = this.
|
|
1389
|
+
var this_0 = this.chr_1;
|
|
1390
1390
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1391
1391
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1392
1392
|
tmp_0 = toDouble(this_0);
|
|
@@ -1394,11 +1394,11 @@
|
|
|
1394
1394
|
var tmp_1;
|
|
1395
1395
|
if ($p instanceof NumberFormatException) {
|
|
1396
1396
|
var e = $p;
|
|
1397
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1397
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid floating point value.", this.dhr_1, this.chr_1);
|
|
1398
1398
|
} else {
|
|
1399
1399
|
if ($p instanceof IndexOutOfBoundsException) {
|
|
1400
1400
|
var e_0 = $p;
|
|
1401
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1401
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid floating point value.", this.dhr_1, this.chr_1);
|
|
1402
1402
|
} else {
|
|
1403
1403
|
throw $p;
|
|
1404
1404
|
}
|
|
@@ -1412,7 +1412,7 @@
|
|
|
1412
1412
|
};
|
|
1413
1413
|
protoOf(YamlScalar).u3 = function () {
|
|
1414
1414
|
var tmp;
|
|
1415
|
-
switch (this.
|
|
1415
|
+
switch (this.chr_1) {
|
|
1416
1416
|
case '.inf':
|
|
1417
1417
|
case '.Inf':
|
|
1418
1418
|
case '.INF':
|
|
@@ -1431,16 +1431,16 @@
|
|
|
1431
1431
|
default:
|
|
1432
1432
|
var tmp_0;
|
|
1433
1433
|
try {
|
|
1434
|
-
tmp_0 = toDouble(this.
|
|
1434
|
+
tmp_0 = toDouble(this.chr_1);
|
|
1435
1435
|
} catch ($p) {
|
|
1436
1436
|
var tmp_1;
|
|
1437
1437
|
if ($p instanceof NumberFormatException) {
|
|
1438
1438
|
var e = $p;
|
|
1439
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1439
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid floating point value.", this.dhr_1, this.chr_1);
|
|
1440
1440
|
} else {
|
|
1441
1441
|
if ($p instanceof IndexOutOfBoundsException) {
|
|
1442
1442
|
var e_0 = $p;
|
|
1443
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1443
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid floating point value.", this.dhr_1, this.chr_1);
|
|
1444
1444
|
} else {
|
|
1445
1445
|
throw $p;
|
|
1446
1446
|
}
|
|
@@ -1452,9 +1452,9 @@
|
|
|
1452
1452
|
}
|
|
1453
1453
|
return tmp;
|
|
1454
1454
|
};
|
|
1455
|
-
protoOf(YamlScalar).
|
|
1455
|
+
protoOf(YamlScalar).cht = function () {
|
|
1456
1456
|
var tmp;
|
|
1457
|
-
switch (this.
|
|
1457
|
+
switch (this.chr_1) {
|
|
1458
1458
|
case 'true':
|
|
1459
1459
|
case 'True':
|
|
1460
1460
|
case 'TRUE':
|
|
@@ -1466,38 +1466,38 @@
|
|
|
1466
1466
|
tmp = false;
|
|
1467
1467
|
break;
|
|
1468
1468
|
default:
|
|
1469
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1469
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid boolean, permitted choices are: true or false", this.dhr_1, this.chr_1);
|
|
1470
1470
|
}
|
|
1471
1471
|
return tmp;
|
|
1472
1472
|
};
|
|
1473
|
-
protoOf(YamlScalar).
|
|
1474
|
-
var tmp0_elvis_lhs = singleOrNull(this.
|
|
1473
|
+
protoOf(YamlScalar).dht = function () {
|
|
1474
|
+
var tmp0_elvis_lhs = singleOrNull(this.chr_1);
|
|
1475
1475
|
var tmp;
|
|
1476
1476
|
var tmp_0 = tmp0_elvis_lhs;
|
|
1477
1477
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
1478
|
-
throw new YamlScalarFormatException("Value '" + this.
|
|
1478
|
+
throw new YamlScalarFormatException("Value '" + this.chr_1 + "' is not a valid character value.", this.dhr_1, this.chr_1);
|
|
1479
1479
|
} else {
|
|
1480
1480
|
tmp = tmp0_elvis_lhs;
|
|
1481
1481
|
}
|
|
1482
1482
|
return tmp;
|
|
1483
1483
|
};
|
|
1484
|
-
protoOf(YamlScalar).
|
|
1485
|
-
return this.
|
|
1484
|
+
protoOf(YamlScalar).xhs = function (newPath) {
|
|
1485
|
+
return this.eht(VOID, newPath);
|
|
1486
1486
|
};
|
|
1487
1487
|
protoOf(YamlScalar).toString = function () {
|
|
1488
|
-
return 'scalar @ ' + this.
|
|
1488
|
+
return 'scalar @ ' + this.dhr_1.toString() + ' : ' + this.chr_1;
|
|
1489
1489
|
};
|
|
1490
|
-
protoOf(YamlScalar).
|
|
1490
|
+
protoOf(YamlScalar).fht = function (content, path) {
|
|
1491
1491
|
return new YamlScalar(content, path);
|
|
1492
1492
|
};
|
|
1493
|
-
protoOf(YamlScalar).
|
|
1494
|
-
content = content === VOID ? this.
|
|
1495
|
-
path = path === VOID ? this.
|
|
1496
|
-
return $super === VOID ? this.
|
|
1493
|
+
protoOf(YamlScalar).eht = function (content, path, $super) {
|
|
1494
|
+
content = content === VOID ? this.chr_1 : content;
|
|
1495
|
+
path = path === VOID ? this.dhr_1 : path;
|
|
1496
|
+
return $super === VOID ? this.fht(content, path) : $super.fht.call(this, content, path);
|
|
1497
1497
|
};
|
|
1498
1498
|
protoOf(YamlScalar).hashCode = function () {
|
|
1499
|
-
var result = getStringHashCode(this.
|
|
1500
|
-
result = imul(result, 31) + this.
|
|
1499
|
+
var result = getStringHashCode(this.chr_1);
|
|
1500
|
+
result = imul(result, 31) + this.dhr_1.hashCode() | 0;
|
|
1501
1501
|
return result;
|
|
1502
1502
|
};
|
|
1503
1503
|
protoOf(YamlScalar).equals = function (other) {
|
|
@@ -1506,29 +1506,29 @@
|
|
|
1506
1506
|
if (!(other instanceof YamlScalar))
|
|
1507
1507
|
return false;
|
|
1508
1508
|
var tmp0_other_with_cast = other instanceof YamlScalar ? other : THROW_CCE();
|
|
1509
|
-
if (!(this.
|
|
1509
|
+
if (!(this.chr_1 === tmp0_other_with_cast.chr_1))
|
|
1510
1510
|
return false;
|
|
1511
|
-
if (!this.
|
|
1511
|
+
if (!this.dhr_1.equals(tmp0_other_with_cast.dhr_1))
|
|
1512
1512
|
return false;
|
|
1513
1513
|
return true;
|
|
1514
1514
|
};
|
|
1515
1515
|
function YamlList(items, path) {
|
|
1516
1516
|
YamlNode.call(this, path);
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1517
|
+
this.mhr_1 = items;
|
|
1518
|
+
this.nhr_1 = path;
|
|
1519
1519
|
}
|
|
1520
|
-
protoOf(YamlList).
|
|
1521
|
-
return this.
|
|
1520
|
+
protoOf(YamlList).fhr = function () {
|
|
1521
|
+
return this.nhr_1;
|
|
1522
1522
|
};
|
|
1523
|
-
protoOf(YamlList).
|
|
1523
|
+
protoOf(YamlList).xhs = function (newPath) {
|
|
1524
1524
|
// Inline function 'kotlin.collections.map' call
|
|
1525
|
-
var this_0 = this.
|
|
1525
|
+
var this_0 = this.mhr_1;
|
|
1526
1526
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1527
1527
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1528
1528
|
var _iterator__ex2g4s = this_0.p();
|
|
1529
1529
|
while (_iterator__ex2g4s.q()) {
|
|
1530
1530
|
var item = _iterator__ex2g4s.r();
|
|
1531
|
-
var tmp$ret$0 = item.
|
|
1531
|
+
var tmp$ret$0 = item.xhs(this.yhs(item, newPath));
|
|
1532
1532
|
destination.h(tmp$ret$0);
|
|
1533
1533
|
}
|
|
1534
1534
|
var updatedItems = destination;
|
|
@@ -1537,12 +1537,12 @@
|
|
|
1537
1537
|
protoOf(YamlList).toString = function () {
|
|
1538
1538
|
var builder = StringBuilder_init_$Create$();
|
|
1539
1539
|
// Inline function 'kotlin.text.appendLine' call
|
|
1540
|
-
var value = 'list @ ' + this.
|
|
1540
|
+
var value = 'list @ ' + this.nhr_1.toString() + ' (size: ' + this.mhr_1.s() + ')';
|
|
1541
1541
|
// Inline function 'kotlin.text.appendLine' call
|
|
1542
1542
|
builder.z8(value).a9(_Char___init__impl__6a9atx(10));
|
|
1543
1543
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1544
1544
|
var index = 0;
|
|
1545
|
-
var _iterator__ex2g4s = this.
|
|
1545
|
+
var _iterator__ex2g4s = this.mhr_1.p();
|
|
1546
1546
|
while (_iterator__ex2g4s.q()) {
|
|
1547
1547
|
var item = _iterator__ex2g4s.r();
|
|
1548
1548
|
var _unary__edvuaz = index;
|
|
@@ -1564,8 +1564,8 @@
|
|
|
1564
1564
|
return toString(trimEnd(builder));
|
|
1565
1565
|
};
|
|
1566
1566
|
protoOf(YamlList).hashCode = function () {
|
|
1567
|
-
var result = hashCode(this.
|
|
1568
|
-
result = imul(result, 31) + this.
|
|
1567
|
+
var result = hashCode(this.mhr_1);
|
|
1568
|
+
result = imul(result, 31) + this.nhr_1.hashCode() | 0;
|
|
1569
1569
|
return result;
|
|
1570
1570
|
};
|
|
1571
1571
|
protoOf(YamlList).equals = function (other) {
|
|
@@ -1574,23 +1574,23 @@
|
|
|
1574
1574
|
if (!(other instanceof YamlList))
|
|
1575
1575
|
return false;
|
|
1576
1576
|
var tmp0_other_with_cast = other instanceof YamlList ? other : THROW_CCE();
|
|
1577
|
-
if (!equals(this.
|
|
1577
|
+
if (!equals(this.mhr_1, tmp0_other_with_cast.mhr_1))
|
|
1578
1578
|
return false;
|
|
1579
|
-
if (!this.
|
|
1579
|
+
if (!this.nhr_1.equals(tmp0_other_with_cast.nhr_1))
|
|
1580
1580
|
return false;
|
|
1581
1581
|
return true;
|
|
1582
1582
|
};
|
|
1583
1583
|
function sam$kotlin_Comparator$0(function_0) {
|
|
1584
|
-
this.
|
|
1584
|
+
this.ght_1 = function_0;
|
|
1585
1585
|
}
|
|
1586
1586
|
protoOf(sam$kotlin_Comparator$0).qf = function (a, b) {
|
|
1587
|
-
return this.
|
|
1587
|
+
return this.ght_1(a, b);
|
|
1588
1588
|
};
|
|
1589
1589
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
1590
1590
|
return this.qf(a, b);
|
|
1591
1591
|
};
|
|
1592
1592
|
protoOf(sam$kotlin_Comparator$0).v3 = function () {
|
|
1593
|
-
return this.
|
|
1593
|
+
return this.ght_1;
|
|
1594
1594
|
};
|
|
1595
1595
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
1596
1596
|
var tmp;
|
|
@@ -1611,20 +1611,20 @@
|
|
|
1611
1611
|
return hashCode(this.v3());
|
|
1612
1612
|
};
|
|
1613
1613
|
function YamlMap$lambda(a, b) {
|
|
1614
|
-
var lineComparison = compareTo(a.
|
|
1614
|
+
var lineComparison = compareTo(a.whs().mhm_1, b.whs().mhm_1);
|
|
1615
1615
|
var tmp;
|
|
1616
1616
|
if (!(lineComparison === 0)) {
|
|
1617
1617
|
tmp = lineComparison;
|
|
1618
1618
|
} else {
|
|
1619
|
-
tmp = compareTo(a.
|
|
1619
|
+
tmp = compareTo(a.whs().nhm_1, b.whs().nhm_1);
|
|
1620
1620
|
}
|
|
1621
1621
|
return tmp;
|
|
1622
1622
|
}
|
|
1623
1623
|
function YamlMap(entries, path) {
|
|
1624
1624
|
YamlNode.call(this, path);
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1627
|
-
var tmp = this.
|
|
1625
|
+
this.jhr_1 = entries;
|
|
1626
|
+
this.khr_1 = path;
|
|
1627
|
+
var tmp = this.jhr_1.k2();
|
|
1628
1628
|
var tmp_0 = YamlMap$lambda;
|
|
1629
1629
|
var keys = sortedWith(tmp, new sam$kotlin_Comparator$0(tmp_0));
|
|
1630
1630
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
@@ -1633,27 +1633,27 @@
|
|
|
1633
1633
|
var _iterator__ex2g4s = keys.p();
|
|
1634
1634
|
while (_iterator__ex2g4s.q()) {
|
|
1635
1635
|
var element = _iterator__ex2g4s.r();
|
|
1636
|
-
var duplicate = encounteredKeys.j2(element.
|
|
1636
|
+
var duplicate = encounteredKeys.j2(element.chr_1);
|
|
1637
1637
|
if (!(duplicate == null)) {
|
|
1638
|
-
throw new DuplicateKeyException(duplicate.
|
|
1638
|
+
throw new DuplicateKeyException(duplicate.dhr_1, element.dhr_1, element.aht());
|
|
1639
1639
|
}
|
|
1640
1640
|
// Inline function 'kotlin.collections.set' call
|
|
1641
|
-
var key = element.
|
|
1641
|
+
var key = element.chr_1;
|
|
1642
1642
|
encounteredKeys.r2(key, element);
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
|
-
protoOf(YamlMap).
|
|
1646
|
-
return this.
|
|
1645
|
+
protoOf(YamlMap).fhr = function () {
|
|
1646
|
+
return this.khr_1;
|
|
1647
1647
|
};
|
|
1648
|
-
protoOf(YamlMap).
|
|
1649
|
-
var tmp0 = this.
|
|
1648
|
+
protoOf(YamlMap).ohr = function (key) {
|
|
1649
|
+
var tmp0 = this.jhr_1.z();
|
|
1650
1650
|
var tmp$ret$1;
|
|
1651
1651
|
$l$block: {
|
|
1652
1652
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1653
1653
|
var _iterator__ex2g4s = tmp0.p();
|
|
1654
1654
|
while (_iterator__ex2g4s.q()) {
|
|
1655
1655
|
var element = _iterator__ex2g4s.r();
|
|
1656
|
-
if (element.a1().
|
|
1656
|
+
if (element.a1().chr_1 === key) {
|
|
1657
1657
|
tmp$ret$1 = element;
|
|
1658
1658
|
break $l$block;
|
|
1659
1659
|
}
|
|
@@ -1664,9 +1664,9 @@
|
|
|
1664
1664
|
var tmp = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.b1();
|
|
1665
1665
|
return (tmp == null ? true : tmp instanceof YamlNode) ? tmp : THROW_CCE();
|
|
1666
1666
|
};
|
|
1667
|
-
protoOf(YamlMap).
|
|
1667
|
+
protoOf(YamlMap).xhs = function (newPath) {
|
|
1668
1668
|
// Inline function 'kotlin.collections.mapKeys' call
|
|
1669
|
-
var this_0 = this.
|
|
1669
|
+
var this_0 = this.jhr_1;
|
|
1670
1670
|
// Inline function 'kotlin.collections.mapKeysTo' call
|
|
1671
1671
|
var destination = LinkedHashMap_init_$Create$_0(mapCapacity(this_0.s()));
|
|
1672
1672
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
var element = _iterator__ex2g4s.r();
|
|
1676
1676
|
// Inline function 'kotlin.collections.component1' call
|
|
1677
1677
|
var k = element.a1();
|
|
1678
|
-
var tmp = k.
|
|
1678
|
+
var tmp = k.xhs(this.yhs(k, newPath));
|
|
1679
1679
|
var tmp$ret$2 = element.b1();
|
|
1680
1680
|
destination.r2(tmp, tmp$ret$2);
|
|
1681
1681
|
}
|
|
@@ -1689,7 +1689,7 @@
|
|
|
1689
1689
|
var tmp_0 = element_0.a1();
|
|
1690
1690
|
// Inline function 'kotlin.collections.component2' call
|
|
1691
1691
|
var v = element_0.b1();
|
|
1692
|
-
var tmp$ret$8 = v.
|
|
1692
|
+
var tmp$ret$8 = v.xhs(this.yhs(v, newPath));
|
|
1693
1693
|
destination_0.r2(tmp_0, tmp$ret$8);
|
|
1694
1694
|
}
|
|
1695
1695
|
var updatedEntries = destination_0;
|
|
@@ -1698,12 +1698,12 @@
|
|
|
1698
1698
|
protoOf(YamlMap).toString = function () {
|
|
1699
1699
|
var builder = StringBuilder_init_$Create$();
|
|
1700
1700
|
// Inline function 'kotlin.text.appendLine' call
|
|
1701
|
-
var value = 'map @ ' + this.
|
|
1701
|
+
var value = 'map @ ' + this.khr_1.toString() + ' (size: ' + this.jhr_1.s() + ')';
|
|
1702
1702
|
// Inline function 'kotlin.text.appendLine' call
|
|
1703
1703
|
builder.z8(value).a9(_Char___init__impl__6a9atx(10));
|
|
1704
1704
|
// Inline function 'kotlin.collections.forEach' call
|
|
1705
1705
|
// Inline function 'kotlin.collections.iterator' call
|
|
1706
|
-
var _iterator__ex2g4s = this.
|
|
1706
|
+
var _iterator__ex2g4s = this.jhr_1.z().p();
|
|
1707
1707
|
while (_iterator__ex2g4s.q()) {
|
|
1708
1708
|
var element = _iterator__ex2g4s.r();
|
|
1709
1709
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -1738,17 +1738,17 @@
|
|
|
1738
1738
|
}
|
|
1739
1739
|
return toString(trimEnd(builder));
|
|
1740
1740
|
};
|
|
1741
|
-
protoOf(YamlMap).
|
|
1741
|
+
protoOf(YamlMap).hht = function (entries, path) {
|
|
1742
1742
|
return new YamlMap(entries, path);
|
|
1743
1743
|
};
|
|
1744
|
-
protoOf(YamlMap).
|
|
1745
|
-
entries = entries === VOID ? this.
|
|
1746
|
-
path = path === VOID ? this.
|
|
1747
|
-
return $super === VOID ? this.
|
|
1744
|
+
protoOf(YamlMap).phr = function (entries, path, $super) {
|
|
1745
|
+
entries = entries === VOID ? this.jhr_1 : entries;
|
|
1746
|
+
path = path === VOID ? this.khr_1 : path;
|
|
1747
|
+
return $super === VOID ? this.hht(entries, path) : $super.hht.call(this, entries, path);
|
|
1748
1748
|
};
|
|
1749
1749
|
protoOf(YamlMap).hashCode = function () {
|
|
1750
|
-
var result = hashCode(this.
|
|
1751
|
-
result = imul(result, 31) + this.
|
|
1750
|
+
var result = hashCode(this.jhr_1);
|
|
1751
|
+
result = imul(result, 31) + this.khr_1.hashCode() | 0;
|
|
1752
1752
|
return result;
|
|
1753
1753
|
};
|
|
1754
1754
|
protoOf(YamlMap).equals = function (other) {
|
|
@@ -1757,34 +1757,34 @@
|
|
|
1757
1757
|
if (!(other instanceof YamlMap))
|
|
1758
1758
|
return false;
|
|
1759
1759
|
var tmp0_other_with_cast = other instanceof YamlMap ? other : THROW_CCE();
|
|
1760
|
-
if (!equals(this.
|
|
1760
|
+
if (!equals(this.jhr_1, tmp0_other_with_cast.jhr_1))
|
|
1761
1761
|
return false;
|
|
1762
|
-
if (!this.
|
|
1762
|
+
if (!this.khr_1.equals(tmp0_other_with_cast.khr_1))
|
|
1763
1763
|
return false;
|
|
1764
1764
|
return true;
|
|
1765
1765
|
};
|
|
1766
1766
|
function YamlTaggedNode(tag, innerNode) {
|
|
1767
|
-
YamlNode.call(this, innerNode.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1767
|
+
YamlNode.call(this, innerNode.fhr());
|
|
1768
|
+
this.rhr_1 = tag;
|
|
1769
|
+
this.shr_1 = innerNode;
|
|
1770
1770
|
}
|
|
1771
|
-
protoOf(YamlTaggedNode).
|
|
1772
|
-
return this.
|
|
1771
|
+
protoOf(YamlTaggedNode).xhs = function (newPath) {
|
|
1772
|
+
return this.iht(VOID, this.shr_1.xhs(newPath));
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf(YamlTaggedNode).toString = function () {
|
|
1775
|
-
return "tagged '" + this.
|
|
1775
|
+
return "tagged '" + this.rhr_1 + "': " + toString(this.shr_1);
|
|
1776
1776
|
};
|
|
1777
|
-
protoOf(YamlTaggedNode).
|
|
1777
|
+
protoOf(YamlTaggedNode).jht = function (tag, innerNode) {
|
|
1778
1778
|
return new YamlTaggedNode(tag, innerNode);
|
|
1779
1779
|
};
|
|
1780
|
-
protoOf(YamlTaggedNode).
|
|
1781
|
-
tag = tag === VOID ? this.
|
|
1782
|
-
innerNode = innerNode === VOID ? this.
|
|
1783
|
-
return $super === VOID ? this.
|
|
1780
|
+
protoOf(YamlTaggedNode).iht = function (tag, innerNode, $super) {
|
|
1781
|
+
tag = tag === VOID ? this.rhr_1 : tag;
|
|
1782
|
+
innerNode = innerNode === VOID ? this.shr_1 : innerNode;
|
|
1783
|
+
return $super === VOID ? this.jht(tag, innerNode) : $super.jht.call(this, tag, innerNode);
|
|
1784
1784
|
};
|
|
1785
1785
|
protoOf(YamlTaggedNode).hashCode = function () {
|
|
1786
|
-
var result = getStringHashCode(this.
|
|
1787
|
-
result = imul(result, 31) + hashCode(this.
|
|
1786
|
+
var result = getStringHashCode(this.rhr_1);
|
|
1787
|
+
result = imul(result, 31) + hashCode(this.shr_1) | 0;
|
|
1788
1788
|
return result;
|
|
1789
1789
|
};
|
|
1790
1790
|
protoOf(YamlTaggedNode).equals = function (other) {
|
|
@@ -1793,48 +1793,48 @@
|
|
|
1793
1793
|
if (!(other instanceof YamlTaggedNode))
|
|
1794
1794
|
return false;
|
|
1795
1795
|
var tmp0_other_with_cast = other instanceof YamlTaggedNode ? other : THROW_CCE();
|
|
1796
|
-
if (!(this.
|
|
1796
|
+
if (!(this.rhr_1 === tmp0_other_with_cast.rhr_1))
|
|
1797
1797
|
return false;
|
|
1798
|
-
if (!equals(this.
|
|
1798
|
+
if (!equals(this.shr_1, tmp0_other_with_cast.shr_1))
|
|
1799
1799
|
return false;
|
|
1800
1800
|
return true;
|
|
1801
1801
|
};
|
|
1802
1802
|
function readNode($this, path) {
|
|
1803
|
-
return readNodeAndAnchor($this, path).
|
|
1803
|
+
return readNodeAndAnchor($this, path).oi_1;
|
|
1804
1804
|
}
|
|
1805
1805
|
function readNodeAndAnchor($this, path) {
|
|
1806
|
-
var event = $this.
|
|
1806
|
+
var event = $this.phn_1.kht(path);
|
|
1807
1807
|
var node = readFromEvent($this, event, path);
|
|
1808
1808
|
if (event instanceof NodeEvent) {
|
|
1809
|
-
var tmp13_safe_receiver = event.
|
|
1809
|
+
var tmp13_safe_receiver = event.jhb_1;
|
|
1810
1810
|
if (tmp13_safe_receiver == null)
|
|
1811
1811
|
null;
|
|
1812
1812
|
else {
|
|
1813
1813
|
// Inline function 'kotlin.let' call
|
|
1814
|
-
if (!$this.
|
|
1814
|
+
if (!$this.rhn_1) {
|
|
1815
1815
|
throw new ForbiddenAnchorOrAliasException('Parsing anchors and aliases is disabled.', path);
|
|
1816
1816
|
}
|
|
1817
|
-
$this.
|
|
1817
|
+
$this.shn_1.r2(tmp13_safe_receiver, node.xhs(Companion_getInstance_3().mht(tmp13_safe_receiver.fh8_1, _get_location__4pgxiu($this, event))));
|
|
1818
1818
|
}
|
|
1819
|
-
return to(node, event.
|
|
1819
|
+
return to(node, event.jhb_1);
|
|
1820
1820
|
}
|
|
1821
1821
|
return to(node, null);
|
|
1822
1822
|
}
|
|
1823
1823
|
function readFromEvent($this, event, path) {
|
|
1824
1824
|
var tmp;
|
|
1825
1825
|
if (event instanceof ScalarEvent) {
|
|
1826
|
-
tmp = maybeToTaggedNode($this, readScalarOrNull($this, event, path), event.
|
|
1826
|
+
tmp = maybeToTaggedNode($this, readScalarOrNull($this, event, path), event.dhb_1);
|
|
1827
1827
|
} else {
|
|
1828
1828
|
if (event instanceof SequenceStartEvent) {
|
|
1829
|
-
tmp = maybeToTaggedNode($this, readSequence($this, path), event.
|
|
1829
|
+
tmp = maybeToTaggedNode($this, readSequence($this, path), event.whb_1);
|
|
1830
1830
|
} else {
|
|
1831
1831
|
if (event instanceof MappingStartEvent) {
|
|
1832
|
-
tmp = maybeToTaggedNode($this, readMapping($this, path), event.
|
|
1832
|
+
tmp = maybeToTaggedNode($this, readMapping($this, path), event.whb_1);
|
|
1833
1833
|
} else {
|
|
1834
1834
|
if (event instanceof AliasEvent) {
|
|
1835
1835
|
tmp = readAlias($this, event, path);
|
|
1836
1836
|
} else {
|
|
1837
|
-
throw new MalformedYamlException('Unexpected ' + event.
|
|
1837
|
+
throw new MalformedYamlException('Unexpected ' + event.kh7().toString(), path.nht(_get_location__4pgxiu($this, event)));
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
@@ -1842,23 +1842,23 @@
|
|
|
1842
1842
|
return tmp;
|
|
1843
1843
|
}
|
|
1844
1844
|
function readScalarOrNull($this, event, path) {
|
|
1845
|
-
if ((event.
|
|
1845
|
+
if ((event.fhb_1 === 'null' || event.fhb_1 === '' || event.fhb_1 === '~') && event.ahd()) {
|
|
1846
1846
|
return new YamlNull(path);
|
|
1847
1847
|
} else {
|
|
1848
|
-
return new YamlScalar(event.
|
|
1848
|
+
return new YamlScalar(event.fhb_1, path);
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
1851
|
function readSequence($this, path) {
|
|
1852
1852
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1853
1853
|
var items = ArrayList_init_$Create$_0();
|
|
1854
1854
|
while (true) {
|
|
1855
|
-
var event = $this.
|
|
1856
|
-
if (event.
|
|
1857
|
-
$this.
|
|
1855
|
+
var event = $this.phn_1.oht(path);
|
|
1856
|
+
if (event.kh7().v2_1 === 7) {
|
|
1857
|
+
$this.phn_1.qht(ID_SequenceEnd_getInstance(), path);
|
|
1858
1858
|
return new YamlList(items, path);
|
|
1859
1859
|
} else {
|
|
1860
1860
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1861
|
-
var element = readNode($this, path.
|
|
1861
|
+
var element = readNode($this, path.pht(items.s(), _get_location__4pgxiu($this, event)));
|
|
1862
1862
|
items.h(element);
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
@@ -1867,46 +1867,46 @@
|
|
|
1867
1867
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
1868
1868
|
var items = LinkedHashMap_init_$Create$();
|
|
1869
1869
|
while (true) {
|
|
1870
|
-
var event = $this.
|
|
1871
|
-
if (event.
|
|
1872
|
-
$this.
|
|
1870
|
+
var event = $this.phn_1.oht(path);
|
|
1871
|
+
if (event.kh7().v2_1 === 4) {
|
|
1872
|
+
$this.phn_1.qht(ID_MappingEnd_getInstance(), path);
|
|
1873
1873
|
return new YamlMap(doMerges($this, items), path);
|
|
1874
1874
|
} else {
|
|
1875
|
-
var keyLocation = _get_location__4pgxiu($this, $this.
|
|
1875
|
+
var keyLocation = _get_location__4pgxiu($this, $this.phn_1.oht(path));
|
|
1876
1876
|
var key = readMapKey($this, path);
|
|
1877
|
-
var keyNode = new YamlScalar(key, path.
|
|
1878
|
-
var valueLocation = _get_location__4pgxiu($this, $this.
|
|
1879
|
-
var valuePath = isMerge($this, keyNode) ? path.
|
|
1877
|
+
var keyNode = new YamlScalar(key, path.rht(key, keyLocation));
|
|
1878
|
+
var valueLocation = _get_location__4pgxiu($this, $this.phn_1.oht(keyNode.dhr_1));
|
|
1879
|
+
var valuePath = isMerge($this, keyNode) ? path.tht(valueLocation) : keyNode.dhr_1.sht(valueLocation);
|
|
1880
1880
|
var _destruct__k2r9zo = readNodeAndAnchor($this, valuePath);
|
|
1881
|
-
var value = _destruct__k2r9zo.
|
|
1882
|
-
var anchor = _destruct__k2r9zo.
|
|
1883
|
-
if (path.equals(Companion_getInstance_3().
|
|
1881
|
+
var value = _destruct__k2r9zo.ii();
|
|
1882
|
+
var anchor = _destruct__k2r9zo.ji();
|
|
1883
|
+
if (path.equals(Companion_getInstance_3().lht_1) && !($this.qhn_1 == null) && startsWith(key, $this.qhn_1)) {
|
|
1884
1884
|
if (anchor == null) {
|
|
1885
|
-
throw new NoAnchorForExtensionException(key, $this.
|
|
1885
|
+
throw new NoAnchorForExtensionException(key, $this.qhn_1, path.nht(_get_location__4pgxiu($this, event)));
|
|
1886
1886
|
}
|
|
1887
1887
|
} else {
|
|
1888
1888
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1889
1889
|
var pair = to(keyNode, value);
|
|
1890
|
-
items.r2(pair.
|
|
1890
|
+
items.r2(pair.oi_1, pair.pi_1);
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
1895
|
function readMapKey($this, path) {
|
|
1896
|
-
var event = $this.
|
|
1897
|
-
if (event.
|
|
1898
|
-
$this.
|
|
1896
|
+
var event = $this.phn_1.oht(path);
|
|
1897
|
+
if (event.kh7().v2_1 === 6) {
|
|
1898
|
+
$this.phn_1.qht(ID_Scalar_getInstance(), path);
|
|
1899
1899
|
var scalarEvent = event instanceof ScalarEvent ? event : THROW_CCE();
|
|
1900
|
-
var isNullKey = (scalarEvent.
|
|
1901
|
-
if (!(scalarEvent.
|
|
1900
|
+
var isNullKey = (scalarEvent.fhb_1 === 'null' || scalarEvent.fhb_1 === '~') && scalarEvent.ahd();
|
|
1901
|
+
if (!(scalarEvent.dhb_1 == null) || isNullKey) {
|
|
1902
1902
|
throw nonScalarMapKeyException($this, path, event);
|
|
1903
1903
|
}
|
|
1904
|
-
return scalarEvent.
|
|
1904
|
+
return scalarEvent.fhb_1;
|
|
1905
1905
|
} else
|
|
1906
1906
|
throw nonScalarMapKeyException($this, path, event);
|
|
1907
1907
|
}
|
|
1908
1908
|
function nonScalarMapKeyException($this, path, event) {
|
|
1909
|
-
return new MalformedYamlException("Property name must not be a list, map, null or tagged value. (To use 'null' as a property name, enclose it in quotes.)", path.
|
|
1909
|
+
return new MalformedYamlException("Property name must not be a list, map, null or tagged value. (To use 'null' as a property name, enclose it in quotes.)", path.nht(_get_location__4pgxiu($this, event)));
|
|
1910
1910
|
}
|
|
1911
1911
|
function maybeToTaggedNode($this, _this__u8e3s4, tag) {
|
|
1912
1912
|
var tmp;
|
|
@@ -1941,19 +1941,19 @@
|
|
|
1941
1941
|
case 1:
|
|
1942
1942
|
var mappingsToMerge = single(mergeEntries).b1();
|
|
1943
1943
|
if (mappingsToMerge instanceof YamlList)
|
|
1944
|
-
return doMerges_0($this, items, mappingsToMerge.
|
|
1944
|
+
return doMerges_0($this, items, mappingsToMerge.mhr_1);
|
|
1945
1945
|
else {
|
|
1946
1946
|
return doMerges_0($this, items, listOf(mappingsToMerge));
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
1949
|
default:
|
|
1950
|
-
throw new MalformedYamlException("Cannot perform multiple '<<' merges into a map. Instead, combine all merges into a single '<<' entry.", second($this, mergeEntries).a1().
|
|
1950
|
+
throw new MalformedYamlException("Cannot perform multiple '<<' merges into a map. Instead, combine all merges into a single '<<' entry.", second($this, mergeEntries).a1().dhr_1);
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
1953
|
function isMerge($this, key) {
|
|
1954
1954
|
var tmp;
|
|
1955
1955
|
if (key instanceof YamlScalar) {
|
|
1956
|
-
tmp = key.
|
|
1956
|
+
tmp = key.chr_1 === '<<';
|
|
1957
1957
|
} else {
|
|
1958
1958
|
tmp = false;
|
|
1959
1959
|
}
|
|
@@ -1991,21 +1991,21 @@
|
|
|
1991
1991
|
while (_iterator__ex2g4s_1.q()) {
|
|
1992
1992
|
var element_1 = _iterator__ex2g4s_1.r();
|
|
1993
1993
|
if (element_1 instanceof YamlNull)
|
|
1994
|
-
throw new MalformedYamlException('Cannot merge a null value into a map.', element_1.
|
|
1994
|
+
throw new MalformedYamlException('Cannot merge a null value into a map.', element_1.hhr_1);
|
|
1995
1995
|
else {
|
|
1996
1996
|
if (element_1 instanceof YamlScalar)
|
|
1997
|
-
throw new MalformedYamlException('Cannot merge a scalar value into a map.', element_1.
|
|
1997
|
+
throw new MalformedYamlException('Cannot merge a scalar value into a map.', element_1.dhr_1);
|
|
1998
1998
|
else {
|
|
1999
1999
|
if (element_1 instanceof YamlList)
|
|
2000
|
-
throw new MalformedYamlException('Cannot merge a list value into a map.', element_1.
|
|
2000
|
+
throw new MalformedYamlException('Cannot merge a list value into a map.', element_1.nhr_1);
|
|
2001
2001
|
else {
|
|
2002
2002
|
if (element_1 instanceof YamlTaggedNode)
|
|
2003
|
-
throw new MalformedYamlException('Cannot merge a tagged value into a map.', element_1.
|
|
2003
|
+
throw new MalformedYamlException('Cannot merge a tagged value into a map.', element_1.fhr());
|
|
2004
2004
|
else {
|
|
2005
2005
|
if (element_1 instanceof YamlMap) {
|
|
2006
2006
|
// Inline function 'kotlin.collections.forEach' call
|
|
2007
2007
|
// Inline function 'kotlin.collections.iterator' call
|
|
2008
|
-
var _iterator__ex2g4s_2 = element_1.
|
|
2008
|
+
var _iterator__ex2g4s_2 = element_1.jhr_1.z().p();
|
|
2009
2009
|
while (_iterator__ex2g4s_2.q()) {
|
|
2010
2010
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
2011
2011
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -2021,7 +2021,7 @@
|
|
|
2021
2021
|
var _iterator__ex2g4s_3 = tmp0.p();
|
|
2022
2022
|
while (_iterator__ex2g4s_3.q()) {
|
|
2023
2023
|
var element_3 = _iterator__ex2g4s_3.r();
|
|
2024
|
-
if (element_3.a1().
|
|
2024
|
+
if (element_3.a1().zhs(key_1)) {
|
|
2025
2025
|
if (found) {
|
|
2026
2026
|
tmp$ret$15 = null;
|
|
2027
2027
|
break $l$block_0;
|
|
@@ -2052,61 +2052,61 @@
|
|
|
2052
2052
|
return merged;
|
|
2053
2053
|
}
|
|
2054
2054
|
function readAlias($this, event, path) {
|
|
2055
|
-
if (!$this.
|
|
2055
|
+
if (!$this.rhn_1) {
|
|
2056
2056
|
throw new ForbiddenAnchorOrAliasException('Parsing anchors and aliases is disabled.', path);
|
|
2057
2057
|
}
|
|
2058
|
-
var anchor = ensureNotNull(event.
|
|
2058
|
+
var anchor = ensureNotNull(event.jhb_1);
|
|
2059
2059
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
2060
|
-
var tmp0_elvis_lhs = $this.
|
|
2060
|
+
var tmp0_elvis_lhs = $this.shn_1.j2(anchor);
|
|
2061
2061
|
var tmp;
|
|
2062
2062
|
if (tmp0_elvis_lhs == null) {
|
|
2063
|
-
throw new UnknownAnchorException(anchor.
|
|
2063
|
+
throw new UnknownAnchorException(anchor.fh8_1, path.nht(_get_location__4pgxiu($this, event)));
|
|
2064
2064
|
} else {
|
|
2065
2065
|
tmp = tmp0_elvis_lhs;
|
|
2066
2066
|
}
|
|
2067
2067
|
var resolvedNode = tmp;
|
|
2068
|
-
return resolvedNode.
|
|
2068
|
+
return resolvedNode.xhs(path.uht(anchor.fh8_1, _get_location__4pgxiu($this, event)).vht(anchor.fh8_1, resolvedNode.whs()));
|
|
2069
2069
|
}
|
|
2070
2070
|
function second($this, _this__u8e3s4) {
|
|
2071
2071
|
return first(drop(_this__u8e3s4, 1));
|
|
2072
2072
|
}
|
|
2073
2073
|
function _get_location__4pgxiu($this, _this__u8e3s4) {
|
|
2074
|
-
return new Location(ensureNotNull(_this__u8e3s4.
|
|
2074
|
+
return new Location(ensureNotNull(_this__u8e3s4.ih7_1).ohe_1 + 1 | 0, ensureNotNull(_this__u8e3s4.ih7_1).phe_1 + 1 | 0);
|
|
2075
2075
|
}
|
|
2076
2076
|
function YamlNodeReader(parser, extensionDefinitionPrefix, allowAnchorsAndAliases) {
|
|
2077
2077
|
extensionDefinitionPrefix = extensionDefinitionPrefix === VOID ? null : extensionDefinitionPrefix;
|
|
2078
2078
|
allowAnchorsAndAliases = allowAnchorsAndAliases === VOID ? false : allowAnchorsAndAliases;
|
|
2079
|
-
this.
|
|
2080
|
-
this.
|
|
2081
|
-
this.
|
|
2079
|
+
this.phn_1 = parser;
|
|
2080
|
+
this.qhn_1 = extensionDefinitionPrefix;
|
|
2081
|
+
this.rhn_1 = allowAnchorsAndAliases;
|
|
2082
2082
|
var tmp = this;
|
|
2083
2083
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2084
|
-
tmp.
|
|
2084
|
+
tmp.shn_1 = LinkedHashMap_init_$Create$();
|
|
2085
2085
|
}
|
|
2086
2086
|
protoOf(YamlNodeReader).a1o = function () {
|
|
2087
|
-
return readNode(this, Companion_getInstance_3().
|
|
2087
|
+
return readNode(this, Companion_getInstance_3().lht_1);
|
|
2088
2088
|
};
|
|
2089
2089
|
function YamlNullInput(nullValue, yaml, context, configuration) {
|
|
2090
2090
|
YamlInput.call(this, nullValue, yaml, context, configuration);
|
|
2091
|
-
this.
|
|
2091
|
+
this.ahu_1 = nullValue;
|
|
2092
2092
|
}
|
|
2093
2093
|
protoOf(YamlNullInput).hy = function () {
|
|
2094
2094
|
return false;
|
|
2095
2095
|
};
|
|
2096
2096
|
protoOf(YamlNullInput).gy = function () {
|
|
2097
|
-
throw new UnexpectedNullValueException(this.
|
|
2097
|
+
throw new UnexpectedNullValueException(this.ahu_1.fhr());
|
|
2098
2098
|
};
|
|
2099
2099
|
protoOf(YamlNullInput).oz = function (descriptor) {
|
|
2100
|
-
throw new UnexpectedNullValueException(this.
|
|
2100
|
+
throw new UnexpectedNullValueException(this.ahu_1.fhr());
|
|
2101
2101
|
};
|
|
2102
2102
|
protoOf(YamlNullInput).wy = function (descriptor) {
|
|
2103
|
-
throw new UnexpectedNullValueException(this.
|
|
2103
|
+
throw new UnexpectedNullValueException(this.ahu_1.fhr());
|
|
2104
2104
|
};
|
|
2105
2105
|
protoOf(YamlNullInput).nz = function (descriptor) {
|
|
2106
2106
|
return -1;
|
|
2107
2107
|
};
|
|
2108
2108
|
function _get_pairedPropertyNames__11quvr($this) {
|
|
2109
|
-
var tmp = $this.
|
|
2109
|
+
var tmp = $this.khu_1;
|
|
2110
2110
|
if (!(tmp == null))
|
|
2111
2111
|
return tmp;
|
|
2112
2112
|
else {
|
|
@@ -2120,11 +2120,11 @@
|
|
|
2120
2120
|
}
|
|
2121
2121
|
function YamlObjectInput(map, yaml, context, configuration) {
|
|
2122
2122
|
YamlMapLikeInputBase.call(this, map, yaml, context, configuration);
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2123
|
+
this.ihu_1 = toList(map.jhr_1.z());
|
|
2124
|
+
this.jhu_1 = 0;
|
|
2125
2125
|
}
|
|
2126
2126
|
protoOf(YamlObjectInput).nz = function (descriptor) {
|
|
2127
|
-
if (!!(this.
|
|
2127
|
+
if (!!(this.khu_1 == null)) {
|
|
2128
2128
|
var tmp = this;
|
|
2129
2129
|
// Inline function 'kotlin.collections.associateBy' call
|
|
2130
2130
|
var this_0 = until(0, descriptor.ww());
|
|
@@ -2139,48 +2139,48 @@
|
|
|
2139
2139
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2140
2140
|
var index = element;
|
|
2141
2141
|
var elementName = descriptor.yw(index);
|
|
2142
|
-
var tmp21_safe_receiver = this.
|
|
2143
|
-
var tmp0_elvis_lhs = tmp21_safe_receiver == null ? null : tmp21_safe_receiver.
|
|
2142
|
+
var tmp21_safe_receiver = this.yhm_1.nhn_1;
|
|
2143
|
+
var tmp0_elvis_lhs = tmp21_safe_receiver == null ? null : tmp21_safe_receiver.lhu(elementName);
|
|
2144
2144
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? elementName : tmp0_elvis_lhs;
|
|
2145
2145
|
destination.r2(tmp$ret$0, element);
|
|
2146
2146
|
}
|
|
2147
2147
|
while (!(element === last));
|
|
2148
|
-
tmp.
|
|
2148
|
+
tmp.khu_1 = destination;
|
|
2149
2149
|
}
|
|
2150
2150
|
$l$loop: while (true) {
|
|
2151
|
-
if (this.
|
|
2151
|
+
if (this.jhu_1 === this.ihu_1.s()) {
|
|
2152
2152
|
return -1;
|
|
2153
2153
|
}
|
|
2154
|
-
var currentEntry = this.
|
|
2155
|
-
this.
|
|
2156
|
-
var tmp0_elvis_lhs_0 = _get_pairedPropertyNames__11quvr(this).j2(this.
|
|
2154
|
+
var currentEntry = this.ihu_1.u(this.jhu_1);
|
|
2155
|
+
this.phs_1 = currentEntry.a1();
|
|
2156
|
+
var tmp0_elvis_lhs_0 = _get_pairedPropertyNames__11quvr(this).j2(this.rhs());
|
|
2157
2157
|
var fieldDescriptorIndex = tmp0_elvis_lhs_0 == null ? -3 : tmp0_elvis_lhs_0;
|
|
2158
2158
|
if (fieldDescriptorIndex === -3) {
|
|
2159
|
-
if (this.
|
|
2160
|
-
throw new UnknownPropertyException(this.
|
|
2159
|
+
if (this.yhm_1.bhn_1) {
|
|
2160
|
+
throw new UnknownPropertyException(this.rhs(), _get_pairedPropertyNames__11quvr(this).k2(), this.shs().dhr_1);
|
|
2161
2161
|
} else {
|
|
2162
|
-
this.
|
|
2162
|
+
this.jhu_1 = this.jhu_1 + 1 | 0;
|
|
2163
2163
|
continue $l$loop;
|
|
2164
2164
|
}
|
|
2165
2165
|
}
|
|
2166
2166
|
try {
|
|
2167
|
-
this.
|
|
2167
|
+
this.ohs_1 = Companion_getInstance_1().uhm(this.ihu_1.u(this.jhu_1).b1(), this.whm_1, this.lz(), this.yhm_1, descriptor.bx(fieldDescriptorIndex));
|
|
2168
2168
|
} catch ($p) {
|
|
2169
2169
|
if ($p instanceof IncorrectTypeException) {
|
|
2170
2170
|
var e = $p;
|
|
2171
|
-
throw new InvalidPropertyValueException(this.
|
|
2171
|
+
throw new InvalidPropertyValueException(this.rhs(), e.r1(), e.oho_1, e);
|
|
2172
2172
|
} else {
|
|
2173
2173
|
throw $p;
|
|
2174
2174
|
}
|
|
2175
2175
|
}
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2176
|
+
this.qhs_1 = true;
|
|
2177
|
+
this.jhu_1 = this.jhu_1 + 1 | 0;
|
|
2178
2178
|
return fieldDescriptorIndex;
|
|
2179
2179
|
}
|
|
2180
2180
|
};
|
|
2181
2181
|
protoOf(YamlObjectInput).wy = function (descriptor) {
|
|
2182
|
-
if (this.
|
|
2183
|
-
return this.
|
|
2182
|
+
if (this.uhs()) {
|
|
2183
|
+
return this.ths(YamlObjectInput$beginStructure$lambda(descriptor));
|
|
2184
2184
|
}
|
|
2185
2185
|
return protoOf(YamlMapLikeInputBase).wy.call(this, descriptor);
|
|
2186
2186
|
};
|
|
@@ -2210,26 +2210,26 @@
|
|
|
2210
2210
|
tmp = tmp0_elvis_lhs;
|
|
2211
2211
|
}
|
|
2212
2212
|
var commentAnno = tmp;
|
|
2213
|
-
var indexedObject = commentAnno.
|
|
2213
|
+
var indexedObject = commentAnno.mhu_1;
|
|
2214
2214
|
var inductionVariable = 0;
|
|
2215
2215
|
var last = indexedObject.length;
|
|
2216
2216
|
while (inductionVariable < last) {
|
|
2217
2217
|
var line = indexedObject[inductionVariable];
|
|
2218
2218
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2219
|
-
$this.
|
|
2219
|
+
$this.qhu_1.khd(new CommentEvent(CommentType_BLOCK_getInstance(), ' ' + line, null, null));
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
2222
|
function emitScalar($this, value, style) {
|
|
2223
2223
|
var tag = getAndClearTypeName($this);
|
|
2224
|
-
if (!(tag == null) && !$this.
|
|
2225
|
-
throw IllegalStateException_init_$Create$('Cannot serialize a polymorphic value that is not a YAML object when using ' + getKClass(PolymorphismStyle).zb() + '.' + $this.
|
|
2224
|
+
if (!(tag == null) && !$this.ohu_1.dhn_1.equals(PolymorphismStyle_Tag_getInstance())) {
|
|
2225
|
+
throw IllegalStateException_init_$Create$('Cannot serialize a polymorphic value that is not a YAML object when using ' + getKClass(PolymorphismStyle).zb() + '.' + $this.ohu_1.dhn_1.toString() + '.');
|
|
2226
2226
|
}
|
|
2227
|
-
var implicit = !(tag == null) ? Companion_getInstance_2().
|
|
2228
|
-
$this.
|
|
2227
|
+
var implicit = !(tag == null) ? Companion_getInstance_2().uhu_1 : Companion_getInstance_2().thu_1;
|
|
2228
|
+
$this.qhu_1.khd(new ScalarEvent(null, tag, implicit, value, style));
|
|
2229
2229
|
}
|
|
2230
2230
|
function getAndClearTypeName($this) {
|
|
2231
|
-
var typeName = $this.
|
|
2232
|
-
$this.
|
|
2231
|
+
var typeName = $this.shu_1;
|
|
2232
|
+
$this.shu_1 = null;
|
|
2233
2233
|
return typeName;
|
|
2234
2234
|
}
|
|
2235
2235
|
function isAmbiguous($this, _this__u8e3s4) {
|
|
@@ -2332,8 +2332,8 @@
|
|
|
2332
2332
|
}
|
|
2333
2333
|
function Companion_1() {
|
|
2334
2334
|
Companion_instance_3 = this;
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2335
|
+
this.thu_1 = new ImplicitTuple(true, true);
|
|
2336
|
+
this.uhu_1 = new ImplicitTuple(false, false);
|
|
2337
2337
|
}
|
|
2338
2338
|
var Companion_instance_3;
|
|
2339
2339
|
function Companion_getInstance_2() {
|
|
@@ -2344,20 +2344,20 @@
|
|
|
2344
2344
|
function YamlOutput(writer, serializersModule, configuration) {
|
|
2345
2345
|
Companion_getInstance_2();
|
|
2346
2346
|
AbstractEncoder.call(this);
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2347
|
+
this.nhu_1 = serializersModule;
|
|
2348
|
+
this.ohu_1 = configuration;
|
|
2349
|
+
this.phu_1 = Companion_instance.y11().rh5(true).fh5(this.ohu_1.fhn_1).oh5(this.ohu_1.lhn_1).qh5(this.ohu_1.lhn_1 > 0).ph5(this.ohu_1.ghn_1).t3n();
|
|
2350
|
+
this.qhu_1 = new Emitter(this.phu_1, writer);
|
|
2351
|
+
this.rhu_1 = false;
|
|
2352
|
+
this.shu_1 = null;
|
|
2353
|
+
this.qhu_1.khd(StreamStartEvent_init_$Create$());
|
|
2354
|
+
this.qhu_1.khd(new DocumentStartEvent(false, null, emptyMap()));
|
|
2355
2355
|
}
|
|
2356
2356
|
protoOf(YamlOutput).lz = function () {
|
|
2357
|
-
return this.
|
|
2357
|
+
return this.nhu_1;
|
|
2358
2358
|
};
|
|
2359
2359
|
protoOf(YamlOutput).t10 = function (descriptor, index) {
|
|
2360
|
-
return this.
|
|
2360
|
+
return this.ohu_1.ahn_1;
|
|
2361
2361
|
};
|
|
2362
2362
|
protoOf(YamlOutput).rz = function () {
|
|
2363
2363
|
return emitPlainScalar(this, 'null');
|
|
@@ -2369,7 +2369,7 @@
|
|
|
2369
2369
|
return emitPlainScalar(this, value.toString());
|
|
2370
2370
|
};
|
|
2371
2371
|
protoOf(YamlOutput).zz = function (value) {
|
|
2372
|
-
return emitQuotedScalar(this, toString_1(value), _get_scalarStyle__245jbg_0(this, this.
|
|
2372
|
+
return emitQuotedScalar(this, toString_1(value), _get_scalarStyle__245jbg_0(this, this.ohu_1.ihn_1));
|
|
2373
2373
|
};
|
|
2374
2374
|
protoOf(YamlOutput).yz = function (value) {
|
|
2375
2375
|
return emitPlainScalar(this, value.toString());
|
|
@@ -2387,29 +2387,29 @@
|
|
|
2387
2387
|
return emitPlainScalar(this, value.toString());
|
|
2388
2388
|
};
|
|
2389
2389
|
protoOf(YamlOutput).a10 = function (value) {
|
|
2390
|
-
if (this.
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2390
|
+
if (this.rhu_1) {
|
|
2391
|
+
this.shu_1 = value;
|
|
2392
|
+
this.rhu_1 = false;
|
|
2393
2393
|
} else {
|
|
2394
2394
|
if (contains(value, _Char___init__impl__6a9atx(10))) {
|
|
2395
|
-
emitQuotedScalar(this, value, _get_scalarStyle__245jbg(this, this.
|
|
2396
|
-
} else if (this.
|
|
2397
|
-
emitQuotedScalar(this, value, _get_scalarStyle__245jbg_1(this, this.
|
|
2395
|
+
emitQuotedScalar(this, value, _get_scalarStyle__245jbg(this, this.ohu_1.jhn_1));
|
|
2396
|
+
} else if (this.ohu_1.ihn_1.equals(SingleLineStringStyle_PlainExceptAmbiguous_getInstance()) && isAmbiguous(this, value)) {
|
|
2397
|
+
emitQuotedScalar(this, value, _get_scalarStyle__245jbg_1(this, this.ohu_1.khn_1));
|
|
2398
2398
|
} else {
|
|
2399
|
-
emitQuotedScalar(this, value, _get_scalarStyle__245jbg_0(this, this.
|
|
2399
|
+
emitQuotedScalar(this, value, _get_scalarStyle__245jbg_0(this, this.ohu_1.ihn_1));
|
|
2400
2400
|
}
|
|
2401
2401
|
}
|
|
2402
2402
|
};
|
|
2403
2403
|
protoOf(YamlOutput).b10 = function (enumDescriptor, index) {
|
|
2404
|
-
return emitQuotedScalar(this, enumDescriptor.yw(index), _get_scalarStyle__245jbg_0(this, this.
|
|
2404
|
+
return emitQuotedScalar(this, enumDescriptor.yw(index), _get_scalarStyle__245jbg_0(this, this.ohu_1.ihn_1));
|
|
2405
2405
|
};
|
|
2406
2406
|
protoOf(YamlOutput).pz = function (descriptor, index) {
|
|
2407
2407
|
encodeComment(this, descriptor, index);
|
|
2408
2408
|
var tmp = descriptor.uw();
|
|
2409
2409
|
if (tmp instanceof CLASS) {
|
|
2410
2410
|
var elementName = descriptor.yw(index);
|
|
2411
|
-
var tmp22_safe_receiver = this.
|
|
2412
|
-
var tmp0_elvis_lhs = tmp22_safe_receiver == null ? null : tmp22_safe_receiver.
|
|
2411
|
+
var tmp22_safe_receiver = this.ohu_1.nhn_1;
|
|
2412
|
+
var tmp0_elvis_lhs = tmp22_safe_receiver == null ? null : tmp22_safe_receiver.lhu(elementName);
|
|
2413
2413
|
var serializedName = tmp0_elvis_lhs == null ? elementName : tmp0_elvis_lhs;
|
|
2414
2414
|
emitPlainScalar(this, serializedName);
|
|
2415
2415
|
}
|
|
@@ -2418,28 +2418,28 @@
|
|
|
2418
2418
|
protoOf(YamlOutput).wy = function (descriptor) {
|
|
2419
2419
|
var tmp23_subject = descriptor.uw();
|
|
2420
2420
|
if (tmp23_subject instanceof PolymorphicKind)
|
|
2421
|
-
this.
|
|
2421
|
+
this.rhu_1 = true;
|
|
2422
2422
|
else {
|
|
2423
2423
|
if (equals(tmp23_subject, LIST_getInstance())) {
|
|
2424
|
-
this.
|
|
2424
|
+
this.qhu_1.khd(new SequenceStartEvent(null, null, true, _get_flowStyle__eylgtu(this, this.ohu_1.hhn_1)));
|
|
2425
2425
|
} else {
|
|
2426
2426
|
if (equals(tmp23_subject, MAP_getInstance()) || (equals(tmp23_subject, CLASS_getInstance()) || equals(tmp23_subject, OBJECT_getInstance()))) {
|
|
2427
2427
|
var typeName = getAndClearTypeName(this);
|
|
2428
|
-
switch (this.
|
|
2428
|
+
switch (this.ohu_1.dhn_1.v2_1) {
|
|
2429
2429
|
case 0:
|
|
2430
2430
|
var implicit = typeName == null;
|
|
2431
|
-
this.
|
|
2431
|
+
this.qhu_1.khd(new MappingStartEvent(null, typeName, implicit, FlowStyle_BLOCK_getInstance()));
|
|
2432
2432
|
break;
|
|
2433
2433
|
case 1:
|
|
2434
|
-
this.
|
|
2434
|
+
this.qhu_1.khd(new MappingStartEvent(null, null, true, FlowStyle_BLOCK_getInstance()));
|
|
2435
2435
|
if (!(typeName == null)) {
|
|
2436
|
-
emitPlainScalar(this, this.
|
|
2436
|
+
emitPlainScalar(this, this.ohu_1.ehn_1);
|
|
2437
2437
|
emitQuotedScalar(this, typeName, _get_scalarStyle__245jbg_0(this, SingleLineStringStyle_DoubleQuoted_getInstance()));
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
2440
|
break;
|
|
2441
2441
|
case 2:
|
|
2442
|
-
this.
|
|
2442
|
+
this.qhu_1.khd(new MappingStartEvent(null, null, true, FlowStyle_BLOCK_getInstance()));
|
|
2443
2443
|
break;
|
|
2444
2444
|
default:
|
|
2445
2445
|
noWhenBranchMatchedException();
|
|
@@ -2453,14 +2453,14 @@
|
|
|
2453
2453
|
protoOf(YamlOutput).xy = function (descriptor) {
|
|
2454
2454
|
var tmp25_subject = descriptor.uw();
|
|
2455
2455
|
if (equals(tmp25_subject, LIST_getInstance())) {
|
|
2456
|
-
this.
|
|
2456
|
+
this.qhu_1.khd(SequenceEndEvent_init_$Create$());
|
|
2457
2457
|
} else if (equals(tmp25_subject, MAP_getInstance()) || (equals(tmp25_subject, CLASS_getInstance()) || equals(tmp25_subject, OBJECT_getInstance()))) {
|
|
2458
|
-
this.
|
|
2458
|
+
this.qhu_1.khd(MappingEndEvent_init_$Create$());
|
|
2459
2459
|
}
|
|
2460
2460
|
};
|
|
2461
2461
|
protoOf(YamlOutput).u4 = function () {
|
|
2462
|
-
this.
|
|
2463
|
-
this.
|
|
2462
|
+
this.qhu_1.khd(new DocumentEndEvent(false));
|
|
2463
|
+
this.qhu_1.khd(StreamEndEvent_init_$Create$());
|
|
2464
2464
|
};
|
|
2465
2465
|
function checkEvent($this, path, retrieve) {
|
|
2466
2466
|
try {
|
|
@@ -2476,21 +2476,21 @@
|
|
|
2476
2476
|
}
|
|
2477
2477
|
function translateYamlEngineException($this, e, path) {
|
|
2478
2478
|
var updatedMessage = StringBuilder_init_$Create$();
|
|
2479
|
-
var context = e.
|
|
2480
|
-
var contextMark = e.
|
|
2479
|
+
var context = e.uhe_1;
|
|
2480
|
+
var contextMark = e.vhe_1;
|
|
2481
2481
|
if (!(context == null) && !(contextMark == null)) {
|
|
2482
|
-
var snippet = contextMark.
|
|
2483
|
-
updatedMessage.z8(trimMargin('\n |' + context + '\n | at line ' + (contextMark.
|
|
2482
|
+
var snippet = contextMark.she(4, 2147483647);
|
|
2483
|
+
updatedMessage.z8(trimMargin('\n |' + context + '\n | at line ' + (contextMark.ohe_1 + 1 | 0) + ', column ' + (contextMark.phe_1 + 1 | 0) + ':\n |' + snippet + '\n |\n '));
|
|
2484
2484
|
}
|
|
2485
|
-
var problemMark = e.
|
|
2485
|
+
var problemMark = e.xhe_1;
|
|
2486
2486
|
if (!(problemMark == null)) {
|
|
2487
|
-
var problem = translateYamlEngineExceptionMessage($this, e.
|
|
2488
|
-
var snippet_0 = problemMark.
|
|
2489
|
-
updatedMessage.z8(trimMargin('\n |' + problem + '\n | at line ' + (problemMark.
|
|
2487
|
+
var problem = translateYamlEngineExceptionMessage($this, e.whe_1);
|
|
2488
|
+
var snippet_0 = problemMark.she(4, 2147483647);
|
|
2489
|
+
updatedMessage.z8(trimMargin('\n |' + problem + '\n | at line ' + (problemMark.ohe_1 + 1 | 0) + ', column ' + (problemMark.phe_1 + 1 | 0) + ':\n |' + snippet_0 + '\n '));
|
|
2490
2490
|
}
|
|
2491
2491
|
var tmp;
|
|
2492
2492
|
if (!(problemMark == null)) {
|
|
2493
|
-
tmp = path.
|
|
2493
|
+
tmp = path.nht(new Location(problemMark.ohe_1 + 1 | 0, problemMark.phe_1 + 1 | 0));
|
|
2494
2494
|
} else {
|
|
2495
2495
|
tmp = path;
|
|
2496
2496
|
}
|
|
@@ -2509,47 +2509,47 @@
|
|
|
2509
2509
|
}
|
|
2510
2510
|
function YamlParser$consumeEvent$lambda(this$0) {
|
|
2511
2511
|
return function () {
|
|
2512
|
-
return this$0.
|
|
2512
|
+
return this$0.whn_1.r();
|
|
2513
2513
|
};
|
|
2514
2514
|
}
|
|
2515
2515
|
function YamlParser$peekEvent$lambda(this$0) {
|
|
2516
2516
|
return function () {
|
|
2517
|
-
return this$0.
|
|
2517
|
+
return this$0.whn_1.rhi();
|
|
2518
2518
|
};
|
|
2519
2519
|
}
|
|
2520
2520
|
function YamlParser(reader, codePointLimit) {
|
|
2521
2521
|
codePointLimit = codePointLimit === VOID ? null : codePointLimit;
|
|
2522
|
-
this.
|
|
2522
|
+
this.thn_1 = 'DUMMY_FILE_NAME';
|
|
2523
2523
|
var tmp = this;
|
|
2524
2524
|
// Inline function 'kotlin.apply' call
|
|
2525
2525
|
var this_0 = Companion_instance_0.y11();
|
|
2526
2526
|
if (!(codePointLimit == null)) {
|
|
2527
|
-
this_0.
|
|
2527
|
+
this_0.gh7(codePointLimit);
|
|
2528
2528
|
}
|
|
2529
|
-
this_0.
|
|
2530
|
-
tmp.
|
|
2531
|
-
this.
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2534
|
-
if (this.
|
|
2535
|
-
throw new EmptyYamlDocumentException('The YAML document is empty.', Companion_getInstance_3().
|
|
2529
|
+
this_0.fh7(this.thn_1);
|
|
2530
|
+
tmp.uhn_1 = this_0.t3n();
|
|
2531
|
+
this.vhn_1 = new StreamReader(this.uhn_1, reader);
|
|
2532
|
+
this.whn_1 = ParserImpl_init_$Create$(this.uhn_1, this.vhn_1);
|
|
2533
|
+
this.qht(ID_StreamStart_getInstance(), Companion_getInstance_3().lht_1);
|
|
2534
|
+
if (this.oht(Companion_getInstance_3().lht_1).kh7().equals(ID_StreamEnd_getInstance())) {
|
|
2535
|
+
throw new EmptyYamlDocumentException('The YAML document is empty.', Companion_getInstance_3().lht_1);
|
|
2536
2536
|
}
|
|
2537
|
-
this.
|
|
2537
|
+
this.qht(ID_DocumentStart_getInstance(), Companion_getInstance_3().lht_1);
|
|
2538
2538
|
}
|
|
2539
|
-
protoOf(YamlParser).
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2539
|
+
protoOf(YamlParser).xhn = function () {
|
|
2540
|
+
this.qht(ID_DocumentEnd_getInstance(), Companion_getInstance_3().lht_1);
|
|
2541
|
+
this.qht(ID_StreamEnd_getInstance(), Companion_getInstance_3().lht_1);
|
|
2542
2542
|
};
|
|
2543
|
-
protoOf(YamlParser).
|
|
2543
|
+
protoOf(YamlParser).kht = function (path) {
|
|
2544
2544
|
return checkEvent(this, path, YamlParser$consumeEvent$lambda(this));
|
|
2545
2545
|
};
|
|
2546
|
-
protoOf(YamlParser).
|
|
2546
|
+
protoOf(YamlParser).oht = function (path) {
|
|
2547
2547
|
return checkEvent(this, path, YamlParser$peekEvent$lambda(this));
|
|
2548
2548
|
};
|
|
2549
|
-
protoOf(YamlParser).
|
|
2550
|
-
var event = this.
|
|
2551
|
-
if (!event.
|
|
2552
|
-
throw new MalformedYamlException('Unexpected ' + event.
|
|
2549
|
+
protoOf(YamlParser).qht = function (type, path) {
|
|
2550
|
+
var event = this.kht(path);
|
|
2551
|
+
if (!event.kh7().equals(type)) {
|
|
2552
|
+
throw new MalformedYamlException('Unexpected ' + event.kh7().toString() + ', expected ' + type.toString(), path.nht(new Location(ensureNotNull(event.ih7_1).ohe_1, ensureNotNull(event.ih7_1).phe_1)));
|
|
2553
2553
|
}
|
|
2554
2554
|
};
|
|
2555
2555
|
function YamlPath_init_$Init$(segments, $this) {
|
|
@@ -2560,13 +2560,13 @@
|
|
|
2560
2560
|
return YamlPath_init_$Init$(segments, objectCreate(protoOf(YamlPath)));
|
|
2561
2561
|
}
|
|
2562
2562
|
function withSegment($this, segment) {
|
|
2563
|
-
return new YamlPath(plus_0($this.
|
|
2563
|
+
return new YamlPath(plus_0($this.tho_1, segment));
|
|
2564
2564
|
}
|
|
2565
2565
|
function Companion_2() {
|
|
2566
2566
|
Companion_instance_4 = this;
|
|
2567
|
-
this.
|
|
2567
|
+
this.lht_1 = YamlPath_init_$Create$([Root_getInstance()]);
|
|
2568
2568
|
}
|
|
2569
|
-
protoOf(Companion_2).
|
|
2569
|
+
protoOf(Companion_2).mht = function (name, location) {
|
|
2570
2570
|
return YamlPath_init_$Create$([new AliasDefinition(name, location)]);
|
|
2571
2571
|
};
|
|
2572
2572
|
var Companion_instance_4;
|
|
@@ -2577,14 +2577,14 @@
|
|
|
2577
2577
|
}
|
|
2578
2578
|
function YamlPath(segments) {
|
|
2579
2579
|
Companion_getInstance_3();
|
|
2580
|
-
this.
|
|
2581
|
-
if (this.
|
|
2580
|
+
this.tho_1 = segments;
|
|
2581
|
+
if (this.tho_1.m()) {
|
|
2582
2582
|
throw IllegalArgumentException_init_$Create$('Path must contain at least one segment.');
|
|
2583
2583
|
}
|
|
2584
2584
|
var tmp;
|
|
2585
|
-
var tmp_0 = first(this.
|
|
2585
|
+
var tmp_0 = first(this.tho_1);
|
|
2586
2586
|
if (!(tmp_0 instanceof Root)) {
|
|
2587
|
-
var tmp_1 = first(this.
|
|
2587
|
+
var tmp_1 = first(this.tho_1);
|
|
2588
2588
|
tmp = !(tmp_1 instanceof AliasDefinition);
|
|
2589
2589
|
} else {
|
|
2590
2590
|
tmp = false;
|
|
@@ -2592,42 +2592,42 @@
|
|
|
2592
2592
|
if (tmp) {
|
|
2593
2593
|
throw IllegalArgumentException_init_$Create$('First element of path must be root segment or alias definition.');
|
|
2594
2594
|
}
|
|
2595
|
-
if (drop(this.
|
|
2595
|
+
if (drop(this.tho_1, 1).w(Root_getInstance())) {
|
|
2596
2596
|
throw IllegalArgumentException_init_$Create$('Root segment can only be first element of path.');
|
|
2597
2597
|
}
|
|
2598
|
-
this.
|
|
2598
|
+
this.uho_1 = last(this.tho_1).whs();
|
|
2599
2599
|
}
|
|
2600
|
-
protoOf(YamlPath).
|
|
2600
|
+
protoOf(YamlPath).nht = function (location) {
|
|
2601
2601
|
return withSegment(this, new Error_0(location));
|
|
2602
2602
|
};
|
|
2603
|
-
protoOf(YamlPath).
|
|
2603
|
+
protoOf(YamlPath).pht = function (index, location) {
|
|
2604
2604
|
return withSegment(this, new ListEntry(index, location));
|
|
2605
2605
|
};
|
|
2606
|
-
protoOf(YamlPath).
|
|
2606
|
+
protoOf(YamlPath).rht = function (key, location) {
|
|
2607
2607
|
return withSegment(this, new MapElementKey(key, location));
|
|
2608
2608
|
};
|
|
2609
|
-
protoOf(YamlPath).
|
|
2609
|
+
protoOf(YamlPath).sht = function (location) {
|
|
2610
2610
|
return withSegment(this, new MapElementValue(location));
|
|
2611
2611
|
};
|
|
2612
|
-
protoOf(YamlPath).
|
|
2612
|
+
protoOf(YamlPath).uht = function (name, location) {
|
|
2613
2613
|
return withSegment(this, new AliasReference(name, location));
|
|
2614
2614
|
};
|
|
2615
|
-
protoOf(YamlPath).
|
|
2615
|
+
protoOf(YamlPath).vht = function (name, location) {
|
|
2616
2616
|
return withSegment(this, new AliasDefinition(name, location));
|
|
2617
2617
|
};
|
|
2618
|
-
protoOf(YamlPath).
|
|
2618
|
+
protoOf(YamlPath).tht = function (location) {
|
|
2619
2619
|
return withSegment(this, new Merge(location));
|
|
2620
2620
|
};
|
|
2621
|
-
protoOf(YamlPath).
|
|
2621
|
+
protoOf(YamlPath).khq = function () {
|
|
2622
2622
|
var builder = StringBuilder_init_$Create$();
|
|
2623
2623
|
var nextSegmentIndex = 1;
|
|
2624
|
-
while (nextSegmentIndex <= get_lastIndex(this.
|
|
2624
|
+
while (nextSegmentIndex <= get_lastIndex(this.tho_1)) {
|
|
2625
2625
|
var segmentIndex = nextSegmentIndex;
|
|
2626
2626
|
nextSegmentIndex = nextSegmentIndex + 1 | 0;
|
|
2627
|
-
var segment = this.
|
|
2627
|
+
var segment = this.tho_1.u(segmentIndex);
|
|
2628
2628
|
if (segment instanceof ListEntry) {
|
|
2629
2629
|
builder.a9(_Char___init__impl__6a9atx(91));
|
|
2630
|
-
builder.sd(segment.
|
|
2630
|
+
builder.sd(segment.xhu_1);
|
|
2631
2631
|
builder.a9(_Char___init__impl__6a9atx(93));
|
|
2632
2632
|
} else {
|
|
2633
2633
|
if (segment instanceof MapElementKey) {
|
|
@@ -2635,38 +2635,38 @@
|
|
|
2635
2635
|
if (charSequenceLength(builder) > 0) {
|
|
2636
2636
|
builder.a9(_Char___init__impl__6a9atx(46));
|
|
2637
2637
|
}
|
|
2638
|
-
builder.z8(segment.
|
|
2638
|
+
builder.z8(segment.dhv_1);
|
|
2639
2639
|
} else {
|
|
2640
2640
|
if (segment instanceof AliasReference) {
|
|
2641
2641
|
builder.z8('->&');
|
|
2642
|
-
builder.z8(segment.
|
|
2642
|
+
builder.z8(segment.ahv_1);
|
|
2643
2643
|
} else {
|
|
2644
2644
|
if (segment instanceof Merge) {
|
|
2645
2645
|
builder.z8('>>(merged');
|
|
2646
2646
|
var tmp;
|
|
2647
|
-
if (nextSegmentIndex <= get_lastIndex(this.
|
|
2648
|
-
var tmp_0 = this.
|
|
2647
|
+
if (nextSegmentIndex <= get_lastIndex(this.tho_1)) {
|
|
2648
|
+
var tmp_0 = this.tho_1.u(nextSegmentIndex);
|
|
2649
2649
|
tmp = tmp_0 instanceof ListEntry;
|
|
2650
2650
|
} else {
|
|
2651
2651
|
tmp = false;
|
|
2652
2652
|
}
|
|
2653
2653
|
if (tmp) {
|
|
2654
2654
|
builder.z8(' entry ');
|
|
2655
|
-
var tmp_1 = this.
|
|
2656
|
-
builder.sd((tmp_1 instanceof ListEntry ? tmp_1 : THROW_CCE()).
|
|
2655
|
+
var tmp_1 = this.tho_1.u(nextSegmentIndex);
|
|
2656
|
+
builder.sd((tmp_1 instanceof ListEntry ? tmp_1 : THROW_CCE()).xhu_1);
|
|
2657
2657
|
nextSegmentIndex = nextSegmentIndex + 1 | 0;
|
|
2658
2658
|
}
|
|
2659
2659
|
var tmp_2;
|
|
2660
|
-
if (nextSegmentIndex <= get_lastIndex(this.
|
|
2661
|
-
var tmp_3 = this.
|
|
2660
|
+
if (nextSegmentIndex <= get_lastIndex(this.tho_1)) {
|
|
2661
|
+
var tmp_3 = this.tho_1.u(nextSegmentIndex);
|
|
2662
2662
|
tmp_2 = tmp_3 instanceof AliasReference;
|
|
2663
2663
|
} else {
|
|
2664
2664
|
tmp_2 = false;
|
|
2665
2665
|
}
|
|
2666
2666
|
if (tmp_2) {
|
|
2667
2667
|
builder.z8(' &');
|
|
2668
|
-
var tmp_4 = this.
|
|
2669
|
-
builder.z8((tmp_4 instanceof AliasReference ? tmp_4 : THROW_CCE()).
|
|
2668
|
+
var tmp_4 = this.tho_1.u(nextSegmentIndex);
|
|
2669
|
+
builder.z8((tmp_4 instanceof AliasReference ? tmp_4 : THROW_CCE()).ahv_1);
|
|
2670
2670
|
nextSegmentIndex = nextSegmentIndex + 1 | 0;
|
|
2671
2671
|
}
|
|
2672
2672
|
builder.z8(')');
|
|
@@ -2704,10 +2704,10 @@
|
|
|
2704
2704
|
return '<root>';
|
|
2705
2705
|
};
|
|
2706
2706
|
protoOf(YamlPath).toString = function () {
|
|
2707
|
-
return 'YamlPath(segments=' + toString(this.
|
|
2707
|
+
return 'YamlPath(segments=' + toString(this.tho_1) + ')';
|
|
2708
2708
|
};
|
|
2709
2709
|
protoOf(YamlPath).hashCode = function () {
|
|
2710
|
-
return hashCode(this.
|
|
2710
|
+
return hashCode(this.tho_1);
|
|
2711
2711
|
};
|
|
2712
2712
|
protoOf(YamlPath).equals = function (other) {
|
|
2713
2713
|
if (this === other)
|
|
@@ -2715,7 +2715,7 @@
|
|
|
2715
2715
|
if (!(other instanceof YamlPath))
|
|
2716
2716
|
return false;
|
|
2717
2717
|
var tmp0_other_with_cast = other instanceof YamlPath ? other : THROW_CCE();
|
|
2718
|
-
if (!equals(this.
|
|
2718
|
+
if (!equals(this.tho_1, tmp0_other_with_cast.tho_1))
|
|
2719
2719
|
return false;
|
|
2720
2720
|
return true;
|
|
2721
2721
|
};
|
|
@@ -2731,18 +2731,18 @@
|
|
|
2731
2731
|
}
|
|
2732
2732
|
function ListEntry(index, location) {
|
|
2733
2733
|
YamlPathSegment.call(this, location);
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2734
|
+
this.xhu_1 = index;
|
|
2735
|
+
this.yhu_1 = location;
|
|
2736
2736
|
}
|
|
2737
|
-
protoOf(ListEntry).
|
|
2738
|
-
return this.
|
|
2737
|
+
protoOf(ListEntry).whs = function () {
|
|
2738
|
+
return this.yhu_1;
|
|
2739
2739
|
};
|
|
2740
2740
|
protoOf(ListEntry).toString = function () {
|
|
2741
|
-
return 'ListEntry(index=' + this.
|
|
2741
|
+
return 'ListEntry(index=' + this.xhu_1 + ', location=' + this.yhu_1.toString() + ')';
|
|
2742
2742
|
};
|
|
2743
2743
|
protoOf(ListEntry).hashCode = function () {
|
|
2744
|
-
var result = this.
|
|
2745
|
-
result = imul(result, 31) + this.
|
|
2744
|
+
var result = this.xhu_1;
|
|
2745
|
+
result = imul(result, 31) + this.yhu_1.hashCode() | 0;
|
|
2746
2746
|
return result;
|
|
2747
2747
|
};
|
|
2748
2748
|
protoOf(ListEntry).equals = function (other) {
|
|
@@ -2751,26 +2751,26 @@
|
|
|
2751
2751
|
if (!(other instanceof ListEntry))
|
|
2752
2752
|
return false;
|
|
2753
2753
|
var tmp0_other_with_cast = other instanceof ListEntry ? other : THROW_CCE();
|
|
2754
|
-
if (!(this.
|
|
2754
|
+
if (!(this.xhu_1 === tmp0_other_with_cast.xhu_1))
|
|
2755
2755
|
return false;
|
|
2756
|
-
if (!this.
|
|
2756
|
+
if (!this.yhu_1.equals(tmp0_other_with_cast.yhu_1))
|
|
2757
2757
|
return false;
|
|
2758
2758
|
return true;
|
|
2759
2759
|
};
|
|
2760
2760
|
function MapElementKey(key, location) {
|
|
2761
2761
|
YamlPathSegment.call(this, location);
|
|
2762
|
-
this.
|
|
2763
|
-
this.
|
|
2762
|
+
this.dhv_1 = key;
|
|
2763
|
+
this.ehv_1 = location;
|
|
2764
2764
|
}
|
|
2765
|
-
protoOf(MapElementKey).
|
|
2766
|
-
return this.
|
|
2765
|
+
protoOf(MapElementKey).whs = function () {
|
|
2766
|
+
return this.ehv_1;
|
|
2767
2767
|
};
|
|
2768
2768
|
protoOf(MapElementKey).toString = function () {
|
|
2769
|
-
return 'MapElementKey(key=' + this.
|
|
2769
|
+
return 'MapElementKey(key=' + this.dhv_1 + ', location=' + this.ehv_1.toString() + ')';
|
|
2770
2770
|
};
|
|
2771
2771
|
protoOf(MapElementKey).hashCode = function () {
|
|
2772
|
-
var result = getStringHashCode(this.
|
|
2773
|
-
result = imul(result, 31) + this.
|
|
2772
|
+
var result = getStringHashCode(this.dhv_1);
|
|
2773
|
+
result = imul(result, 31) + this.ehv_1.hashCode() | 0;
|
|
2774
2774
|
return result;
|
|
2775
2775
|
};
|
|
2776
2776
|
protoOf(MapElementKey).equals = function (other) {
|
|
@@ -2779,24 +2779,24 @@
|
|
|
2779
2779
|
if (!(other instanceof MapElementKey))
|
|
2780
2780
|
return false;
|
|
2781
2781
|
var tmp0_other_with_cast = other instanceof MapElementKey ? other : THROW_CCE();
|
|
2782
|
-
if (!(this.
|
|
2782
|
+
if (!(this.dhv_1 === tmp0_other_with_cast.dhv_1))
|
|
2783
2783
|
return false;
|
|
2784
|
-
if (!this.
|
|
2784
|
+
if (!this.ehv_1.equals(tmp0_other_with_cast.ehv_1))
|
|
2785
2785
|
return false;
|
|
2786
2786
|
return true;
|
|
2787
2787
|
};
|
|
2788
2788
|
function MapElementValue(location) {
|
|
2789
2789
|
YamlPathSegment.call(this, location);
|
|
2790
|
-
this.
|
|
2790
|
+
this.ghv_1 = location;
|
|
2791
2791
|
}
|
|
2792
|
-
protoOf(MapElementValue).
|
|
2793
|
-
return this.
|
|
2792
|
+
protoOf(MapElementValue).whs = function () {
|
|
2793
|
+
return this.ghv_1;
|
|
2794
2794
|
};
|
|
2795
2795
|
protoOf(MapElementValue).toString = function () {
|
|
2796
|
-
return 'MapElementValue(location=' + this.
|
|
2796
|
+
return 'MapElementValue(location=' + this.ghv_1.toString() + ')';
|
|
2797
2797
|
};
|
|
2798
2798
|
protoOf(MapElementValue).hashCode = function () {
|
|
2799
|
-
return this.
|
|
2799
|
+
return this.ghv_1.hashCode();
|
|
2800
2800
|
};
|
|
2801
2801
|
protoOf(MapElementValue).equals = function (other) {
|
|
2802
2802
|
if (this === other)
|
|
@@ -2804,24 +2804,24 @@
|
|
|
2804
2804
|
if (!(other instanceof MapElementValue))
|
|
2805
2805
|
return false;
|
|
2806
2806
|
var tmp0_other_with_cast = other instanceof MapElementValue ? other : THROW_CCE();
|
|
2807
|
-
if (!this.
|
|
2807
|
+
if (!this.ghv_1.equals(tmp0_other_with_cast.ghv_1))
|
|
2808
2808
|
return false;
|
|
2809
2809
|
return true;
|
|
2810
2810
|
};
|
|
2811
2811
|
function AliasReference(name, location) {
|
|
2812
2812
|
YamlPathSegment.call(this, location);
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2813
|
+
this.ahv_1 = name;
|
|
2814
|
+
this.bhv_1 = location;
|
|
2815
2815
|
}
|
|
2816
|
-
protoOf(AliasReference).
|
|
2817
|
-
return this.
|
|
2816
|
+
protoOf(AliasReference).whs = function () {
|
|
2817
|
+
return this.bhv_1;
|
|
2818
2818
|
};
|
|
2819
2819
|
protoOf(AliasReference).toString = function () {
|
|
2820
|
-
return 'AliasReference(name=' + this.
|
|
2820
|
+
return 'AliasReference(name=' + this.ahv_1 + ', location=' + this.bhv_1.toString() + ')';
|
|
2821
2821
|
};
|
|
2822
2822
|
protoOf(AliasReference).hashCode = function () {
|
|
2823
|
-
var result = getStringHashCode(this.
|
|
2824
|
-
result = imul(result, 31) + this.
|
|
2823
|
+
var result = getStringHashCode(this.ahv_1);
|
|
2824
|
+
result = imul(result, 31) + this.bhv_1.hashCode() | 0;
|
|
2825
2825
|
return result;
|
|
2826
2826
|
};
|
|
2827
2827
|
protoOf(AliasReference).equals = function (other) {
|
|
@@ -2830,26 +2830,26 @@
|
|
|
2830
2830
|
if (!(other instanceof AliasReference))
|
|
2831
2831
|
return false;
|
|
2832
2832
|
var tmp0_other_with_cast = other instanceof AliasReference ? other : THROW_CCE();
|
|
2833
|
-
if (!(this.
|
|
2833
|
+
if (!(this.ahv_1 === tmp0_other_with_cast.ahv_1))
|
|
2834
2834
|
return false;
|
|
2835
|
-
if (!this.
|
|
2835
|
+
if (!this.bhv_1.equals(tmp0_other_with_cast.bhv_1))
|
|
2836
2836
|
return false;
|
|
2837
2837
|
return true;
|
|
2838
2838
|
};
|
|
2839
2839
|
function AliasDefinition(name, location) {
|
|
2840
2840
|
YamlPathSegment.call(this, location);
|
|
2841
|
-
this.
|
|
2842
|
-
this.
|
|
2841
|
+
this.ihv_1 = name;
|
|
2842
|
+
this.jhv_1 = location;
|
|
2843
2843
|
}
|
|
2844
|
-
protoOf(AliasDefinition).
|
|
2845
|
-
return this.
|
|
2844
|
+
protoOf(AliasDefinition).whs = function () {
|
|
2845
|
+
return this.jhv_1;
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(AliasDefinition).toString = function () {
|
|
2848
|
-
return 'AliasDefinition(name=' + this.
|
|
2848
|
+
return 'AliasDefinition(name=' + this.ihv_1 + ', location=' + this.jhv_1.toString() + ')';
|
|
2849
2849
|
};
|
|
2850
2850
|
protoOf(AliasDefinition).hashCode = function () {
|
|
2851
|
-
var result = getStringHashCode(this.
|
|
2852
|
-
result = imul(result, 31) + this.
|
|
2851
|
+
var result = getStringHashCode(this.ihv_1);
|
|
2852
|
+
result = imul(result, 31) + this.jhv_1.hashCode() | 0;
|
|
2853
2853
|
return result;
|
|
2854
2854
|
};
|
|
2855
2855
|
protoOf(AliasDefinition).equals = function (other) {
|
|
@@ -2858,24 +2858,24 @@
|
|
|
2858
2858
|
if (!(other instanceof AliasDefinition))
|
|
2859
2859
|
return false;
|
|
2860
2860
|
var tmp0_other_with_cast = other instanceof AliasDefinition ? other : THROW_CCE();
|
|
2861
|
-
if (!(this.
|
|
2861
|
+
if (!(this.ihv_1 === tmp0_other_with_cast.ihv_1))
|
|
2862
2862
|
return false;
|
|
2863
|
-
if (!this.
|
|
2863
|
+
if (!this.jhv_1.equals(tmp0_other_with_cast.jhv_1))
|
|
2864
2864
|
return false;
|
|
2865
2865
|
return true;
|
|
2866
2866
|
};
|
|
2867
2867
|
function Merge(location) {
|
|
2868
2868
|
YamlPathSegment.call(this, location);
|
|
2869
|
-
this.
|
|
2869
|
+
this.lhv_1 = location;
|
|
2870
2870
|
}
|
|
2871
|
-
protoOf(Merge).
|
|
2872
|
-
return this.
|
|
2871
|
+
protoOf(Merge).whs = function () {
|
|
2872
|
+
return this.lhv_1;
|
|
2873
2873
|
};
|
|
2874
2874
|
protoOf(Merge).toString = function () {
|
|
2875
|
-
return 'Merge(location=' + this.
|
|
2875
|
+
return 'Merge(location=' + this.lhv_1.toString() + ')';
|
|
2876
2876
|
};
|
|
2877
2877
|
protoOf(Merge).hashCode = function () {
|
|
2878
|
-
return this.
|
|
2878
|
+
return this.lhv_1.hashCode();
|
|
2879
2879
|
};
|
|
2880
2880
|
protoOf(Merge).equals = function (other) {
|
|
2881
2881
|
if (this === other)
|
|
@@ -2883,22 +2883,22 @@
|
|
|
2883
2883
|
if (!(other instanceof Merge))
|
|
2884
2884
|
return false;
|
|
2885
2885
|
var tmp0_other_with_cast = other instanceof Merge ? other : THROW_CCE();
|
|
2886
|
-
if (!this.
|
|
2886
|
+
if (!this.lhv_1.equals(tmp0_other_with_cast.lhv_1))
|
|
2887
2887
|
return false;
|
|
2888
2888
|
return true;
|
|
2889
2889
|
};
|
|
2890
2890
|
function Error_0(location) {
|
|
2891
2891
|
YamlPathSegment.call(this, location);
|
|
2892
|
-
this.
|
|
2892
|
+
this.nhv_1 = location;
|
|
2893
2893
|
}
|
|
2894
|
-
protoOf(Error_0).
|
|
2895
|
-
return this.
|
|
2894
|
+
protoOf(Error_0).whs = function () {
|
|
2895
|
+
return this.nhv_1;
|
|
2896
2896
|
};
|
|
2897
2897
|
protoOf(Error_0).toString = function () {
|
|
2898
|
-
return 'Error(location=' + this.
|
|
2898
|
+
return 'Error(location=' + this.nhv_1.toString() + ')';
|
|
2899
2899
|
};
|
|
2900
2900
|
protoOf(Error_0).hashCode = function () {
|
|
2901
|
-
return this.
|
|
2901
|
+
return this.nhv_1.hashCode();
|
|
2902
2902
|
};
|
|
2903
2903
|
protoOf(Error_0).equals = function (other) {
|
|
2904
2904
|
if (this === other)
|
|
@@ -2906,15 +2906,15 @@
|
|
|
2906
2906
|
if (!(other instanceof Error_0))
|
|
2907
2907
|
return false;
|
|
2908
2908
|
var tmp0_other_with_cast = other instanceof Error_0 ? other : THROW_CCE();
|
|
2909
|
-
if (!this.
|
|
2909
|
+
if (!this.nhv_1.equals(tmp0_other_with_cast.nhv_1))
|
|
2910
2910
|
return false;
|
|
2911
2911
|
return true;
|
|
2912
2912
|
};
|
|
2913
2913
|
function YamlPathSegment(location) {
|
|
2914
|
-
this.
|
|
2914
|
+
this.vhu_1 = location;
|
|
2915
2915
|
}
|
|
2916
|
-
protoOf(YamlPathSegment).
|
|
2917
|
-
return this.
|
|
2916
|
+
protoOf(YamlPathSegment).whs = function () {
|
|
2917
|
+
return this.vhu_1;
|
|
2918
2918
|
};
|
|
2919
2919
|
var CurrentField_NotStarted_instance;
|
|
2920
2920
|
var CurrentField_Type_instance;
|
|
@@ -2929,7 +2929,7 @@
|
|
|
2929
2929
|
CurrentField_Content_instance = new CurrentField('Content', 2);
|
|
2930
2930
|
}
|
|
2931
2931
|
function _get_contentDecoder__ypxfj4($this) {
|
|
2932
|
-
var tmp = $this.
|
|
2932
|
+
var tmp = $this.whv_1;
|
|
2933
2933
|
if (!(tmp == null))
|
|
2934
2934
|
return tmp;
|
|
2935
2935
|
else {
|
|
@@ -2945,7 +2945,7 @@
|
|
|
2945
2945
|
tmp = tmp0_elvis_lhs;
|
|
2946
2946
|
}
|
|
2947
2947
|
var message = tmp;
|
|
2948
|
-
var tmp1_elvis_lhs = Companion_getInstance_4().
|
|
2948
|
+
var tmp1_elvis_lhs = Companion_getInstance_4().xhv_1.re(message, 0);
|
|
2949
2949
|
var tmp_0;
|
|
2950
2950
|
if (tmp1_elvis_lhs == null) {
|
|
2951
2951
|
return Unit_instance;
|
|
@@ -2965,7 +2965,7 @@
|
|
|
2965
2965
|
throw IllegalArgumentException_init_$Create$("Can't get known types for descriptor of kind " + deserializer.fv().uw().toString());
|
|
2966
2966
|
}
|
|
2967
2967
|
var knownTypes = tmp_1;
|
|
2968
|
-
throw new UnknownPolymorphicTypeException(unknownType, knownTypes, $this.
|
|
2968
|
+
throw new UnknownPolymorphicTypeException(unknownType, knownTypes, $this.thv_1, e);
|
|
2969
2969
|
}
|
|
2970
2970
|
function getKnownTypesForSealedType($this, deserializer) {
|
|
2971
2971
|
var typesDescriptor = deserializer.fv().bx(1);
|
|
@@ -2986,7 +2986,7 @@
|
|
|
2986
2986
|
var tmp = this;
|
|
2987
2987
|
// Inline function 'kotlin.text.toRegex' call
|
|
2988
2988
|
var this_0 = "^Serializer for subclass '(.*)' is not found in the polymorphic scope of '(.*)'.\\n.*";
|
|
2989
|
-
tmp.
|
|
2989
|
+
tmp.xhv_1 = Regex_init_$Create$(this_0);
|
|
2990
2990
|
}
|
|
2991
2991
|
var Companion_instance_5;
|
|
2992
2992
|
function Companion_getInstance_4() {
|
|
@@ -2995,14 +2995,14 @@
|
|
|
2995
2995
|
return Companion_instance_5;
|
|
2996
2996
|
}
|
|
2997
2997
|
function YamlPolymorphicInput$getKnownTypesForOpenType$1($className, $knownTypes) {
|
|
2998
|
-
this.
|
|
2999
|
-
this.
|
|
2998
|
+
this.yhv_1 = $className;
|
|
2999
|
+
this.zhv_1 = $knownTypes;
|
|
3000
3000
|
}
|
|
3001
3001
|
protoOf(YamlPolymorphicInput$getKnownTypesForOpenType$1).s1g = function (kClass, provider) {
|
|
3002
3002
|
};
|
|
3003
3003
|
protoOf(YamlPolymorphicInput$getKnownTypesForOpenType$1).v1g = function (baseClass, actualClass, actualSerializer) {
|
|
3004
|
-
if (baseClass.zb() === this.
|
|
3005
|
-
this.
|
|
3004
|
+
if (baseClass.zb() === this.yhv_1) {
|
|
3005
|
+
this.zhv_1.h(actualSerializer.fv().fw());
|
|
3006
3006
|
}
|
|
3007
3007
|
};
|
|
3008
3008
|
protoOf(YamlPolymorphicInput$getKnownTypesForOpenType$1).w1g = function (baseClass, defaultSerializerProvider) {
|
|
@@ -3026,28 +3026,28 @@
|
|
|
3026
3026
|
function YamlPolymorphicInput(typeName, typeNamePath, contentNode, yaml, context, configuration) {
|
|
3027
3027
|
Companion_getInstance_4();
|
|
3028
3028
|
YamlInput.call(this, contentNode, yaml, context, configuration);
|
|
3029
|
-
this.
|
|
3030
|
-
this.
|
|
3031
|
-
this.
|
|
3032
|
-
this.
|
|
3029
|
+
this.shv_1 = typeName;
|
|
3030
|
+
this.thv_1 = typeNamePath;
|
|
3031
|
+
this.uhv_1 = contentNode;
|
|
3032
|
+
this.vhv_1 = CurrentField_NotStarted_getInstance();
|
|
3033
3033
|
}
|
|
3034
3034
|
protoOf(YamlPolymorphicInput).nz = function (descriptor) {
|
|
3035
3035
|
var tmp;
|
|
3036
|
-
switch (this.
|
|
3036
|
+
switch (this.vhv_1.v2_1) {
|
|
3037
3037
|
case 0:
|
|
3038
|
-
this.
|
|
3038
|
+
this.vhv_1 = CurrentField_Type_getInstance();
|
|
3039
3039
|
tmp = 0;
|
|
3040
3040
|
break;
|
|
3041
3041
|
case 1:
|
|
3042
|
-
var tmp32_subject = this.
|
|
3042
|
+
var tmp32_subject = this.uhv_1;
|
|
3043
3043
|
if (tmp32_subject instanceof YamlScalar)
|
|
3044
|
-
this.
|
|
3044
|
+
this.whv_1 = new YamlScalarInput(this.uhv_1, this.whm_1, this.lz(), this.yhm_1);
|
|
3045
3045
|
else {
|
|
3046
3046
|
if (tmp32_subject instanceof YamlNull)
|
|
3047
|
-
this.
|
|
3047
|
+
this.whv_1 = new YamlNullInput(this.uhv_1, this.whm_1, this.lz(), this.yhm_1);
|
|
3048
3048
|
}
|
|
3049
3049
|
|
|
3050
|
-
this.
|
|
3050
|
+
this.vhv_1 = CurrentField_Content_getInstance();
|
|
3051
3051
|
tmp = 1;
|
|
3052
3052
|
break;
|
|
3053
3053
|
case 2:
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
protoOf(YamlPolymorphicInput).hy = function () {
|
|
3063
3063
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3064
3064
|
var tmp;
|
|
3065
|
-
switch (this.
|
|
3065
|
+
switch (this.vhv_1.v2_1) {
|
|
3066
3066
|
case 0:
|
|
3067
3067
|
case 1:
|
|
3068
3068
|
tmp = true;
|
|
@@ -3081,7 +3081,7 @@
|
|
|
3081
3081
|
var functionName = 'decodeNull';
|
|
3082
3082
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3083
3083
|
var tmp;
|
|
3084
|
-
switch (this.
|
|
3084
|
+
switch (this.vhv_1.v2_1) {
|
|
3085
3085
|
case 0:
|
|
3086
3086
|
case 1:
|
|
3087
3087
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3099,7 +3099,7 @@
|
|
|
3099
3099
|
var functionName = 'decodeBoolean';
|
|
3100
3100
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3101
3101
|
var tmp;
|
|
3102
|
-
switch (this.
|
|
3102
|
+
switch (this.vhv_1.v2_1) {
|
|
3103
3103
|
case 0:
|
|
3104
3104
|
case 1:
|
|
3105
3105
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3117,7 +3117,7 @@
|
|
|
3117
3117
|
var functionName = 'decodeByte';
|
|
3118
3118
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3119
3119
|
var tmp;
|
|
3120
|
-
switch (this.
|
|
3120
|
+
switch (this.vhv_1.v2_1) {
|
|
3121
3121
|
case 0:
|
|
3122
3122
|
case 1:
|
|
3123
3123
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3135,7 +3135,7 @@
|
|
|
3135
3135
|
var functionName = 'decodeShort';
|
|
3136
3136
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3137
3137
|
var tmp;
|
|
3138
|
-
switch (this.
|
|
3138
|
+
switch (this.vhv_1.v2_1) {
|
|
3139
3139
|
case 0:
|
|
3140
3140
|
case 1:
|
|
3141
3141
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3153,7 +3153,7 @@
|
|
|
3153
3153
|
var functionName = 'decodeInt';
|
|
3154
3154
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3155
3155
|
var tmp;
|
|
3156
|
-
switch (this.
|
|
3156
|
+
switch (this.vhv_1.v2_1) {
|
|
3157
3157
|
case 0:
|
|
3158
3158
|
case 1:
|
|
3159
3159
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3171,7 +3171,7 @@
|
|
|
3171
3171
|
var functionName = 'decodeLong';
|
|
3172
3172
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3173
3173
|
var tmp;
|
|
3174
|
-
switch (this.
|
|
3174
|
+
switch (this.vhv_1.v2_1) {
|
|
3175
3175
|
case 0:
|
|
3176
3176
|
case 1:
|
|
3177
3177
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3189,7 +3189,7 @@
|
|
|
3189
3189
|
var functionName = 'decodeFloat';
|
|
3190
3190
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3191
3191
|
var tmp;
|
|
3192
|
-
switch (this.
|
|
3192
|
+
switch (this.vhv_1.v2_1) {
|
|
3193
3193
|
case 0:
|
|
3194
3194
|
case 1:
|
|
3195
3195
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3207,7 +3207,7 @@
|
|
|
3207
3207
|
var functionName = 'decodeDouble';
|
|
3208
3208
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3209
3209
|
var tmp;
|
|
3210
|
-
switch (this.
|
|
3210
|
+
switch (this.vhv_1.v2_1) {
|
|
3211
3211
|
case 0:
|
|
3212
3212
|
case 1:
|
|
3213
3213
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3225,7 +3225,7 @@
|
|
|
3225
3225
|
var functionName = 'decodeChar';
|
|
3226
3226
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3227
3227
|
var tmp;
|
|
3228
|
-
switch (this.
|
|
3228
|
+
switch (this.vhv_1.v2_1) {
|
|
3229
3229
|
case 0:
|
|
3230
3230
|
case 1:
|
|
3231
3231
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3242,10 +3242,10 @@
|
|
|
3242
3242
|
protoOf(YamlPolymorphicInput).ry = function () {
|
|
3243
3243
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3244
3244
|
var tmp;
|
|
3245
|
-
switch (this.
|
|
3245
|
+
switch (this.vhv_1.v2_1) {
|
|
3246
3246
|
case 0:
|
|
3247
3247
|
case 1:
|
|
3248
|
-
tmp = this.
|
|
3248
|
+
tmp = this.shv_1;
|
|
3249
3249
|
break;
|
|
3250
3250
|
case 2:
|
|
3251
3251
|
tmp = _get_contentDecoder__ypxfj4(this).ry();
|
|
@@ -3261,7 +3261,7 @@
|
|
|
3261
3261
|
var functionName = 'decodeEnum';
|
|
3262
3262
|
// Inline function 'com.charleskorn.kaml.YamlPolymorphicInput.maybeCallOnContent' call
|
|
3263
3263
|
var tmp;
|
|
3264
|
-
switch (this.
|
|
3264
|
+
switch (this.vhv_1.v2_1) {
|
|
3265
3265
|
case 0:
|
|
3266
3266
|
case 1:
|
|
3267
3267
|
throw UnsupportedOperationException_init_$Create$("Can't call " + functionName + '() on type field');
|
|
@@ -3276,13 +3276,13 @@
|
|
|
3276
3276
|
};
|
|
3277
3277
|
protoOf(YamlPolymorphicInput).wy = function (descriptor) {
|
|
3278
3278
|
var tmp;
|
|
3279
|
-
switch (this.
|
|
3279
|
+
switch (this.vhv_1.v2_1) {
|
|
3280
3280
|
case 0:
|
|
3281
3281
|
case 1:
|
|
3282
3282
|
tmp = protoOf(YamlInput).wy.call(this, descriptor);
|
|
3283
3283
|
break;
|
|
3284
3284
|
case 2:
|
|
3285
|
-
this.
|
|
3285
|
+
this.whv_1 = Companion_getInstance_1().uhm(this.uhv_1, this.whm_1, this.lz(), this.yhm_1, descriptor);
|
|
3286
3286
|
return _get_contentDecoder__ypxfj4(this);
|
|
3287
3287
|
default:
|
|
3288
3288
|
noWhenBranchMatchedException();
|
|
@@ -3305,37 +3305,37 @@
|
|
|
3305
3305
|
};
|
|
3306
3306
|
function YamlScalarInput(scalar, yaml, context, configuration) {
|
|
3307
3307
|
YamlInput.call(this, scalar, yaml, context, configuration);
|
|
3308
|
-
this.
|
|
3308
|
+
this.ehw_1 = scalar;
|
|
3309
3309
|
}
|
|
3310
3310
|
protoOf(YamlScalarInput).ry = function () {
|
|
3311
|
-
return this.
|
|
3311
|
+
return this.ehw_1.chr_1;
|
|
3312
3312
|
};
|
|
3313
3313
|
protoOf(YamlScalarInput).my = function () {
|
|
3314
|
-
return this.
|
|
3314
|
+
return this.ehw_1.l1();
|
|
3315
3315
|
};
|
|
3316
3316
|
protoOf(YamlScalarInput).ny = function () {
|
|
3317
|
-
return this.
|
|
3317
|
+
return this.ehw_1.t3();
|
|
3318
3318
|
};
|
|
3319
3319
|
protoOf(YamlScalarInput).ly = function () {
|
|
3320
|
-
return this.
|
|
3320
|
+
return this.ehw_1.s3();
|
|
3321
3321
|
};
|
|
3322
3322
|
protoOf(YamlScalarInput).ky = function () {
|
|
3323
|
-
return this.
|
|
3323
|
+
return this.ehw_1.r3();
|
|
3324
3324
|
};
|
|
3325
3325
|
protoOf(YamlScalarInput).py = function () {
|
|
3326
|
-
return this.
|
|
3326
|
+
return this.ehw_1.u3();
|
|
3327
3327
|
};
|
|
3328
3328
|
protoOf(YamlScalarInput).oy = function () {
|
|
3329
|
-
return this.
|
|
3329
|
+
return this.ehw_1.bht();
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(YamlScalarInput).jy = function () {
|
|
3332
|
-
return this.
|
|
3332
|
+
return this.ehw_1.cht();
|
|
3333
3333
|
};
|
|
3334
3334
|
protoOf(YamlScalarInput).qy = function () {
|
|
3335
|
-
return this.
|
|
3335
|
+
return this.ehw_1.dht();
|
|
3336
3336
|
};
|
|
3337
3337
|
protoOf(YamlScalarInput).sy = function (enumDescriptor) {
|
|
3338
|
-
var index = enumDescriptor.zw(this.
|
|
3338
|
+
var index = enumDescriptor.zw(this.ehw_1.chr_1);
|
|
3339
3339
|
if (!(index === -3)) {
|
|
3340
3340
|
return index;
|
|
3341
3341
|
}
|
|
@@ -3355,13 +3355,13 @@
|
|
|
3355
3355
|
}
|
|
3356
3356
|
while (!(item === last));
|
|
3357
3357
|
var choices = joinToString(sorted(destination), ', ');
|
|
3358
|
-
throw new YamlScalarFormatException('Value ' + this.
|
|
3358
|
+
throw new YamlScalarFormatException('Value ' + this.ehw_1.aht() + ' is not a valid option, permitted choices are: ' + choices, this.ehw_1.dhr_1, this.ehw_1.chr_1);
|
|
3359
3359
|
};
|
|
3360
3360
|
protoOf(YamlScalarInput).nz = function (descriptor) {
|
|
3361
3361
|
return 0;
|
|
3362
3362
|
};
|
|
3363
3363
|
function bufferedSource(_this__u8e3s4) {
|
|
3364
|
-
return (new Buffer()).
|
|
3364
|
+
return (new Buffer()).nh2(Companion_getInstance().oh1(_this__u8e3s4));
|
|
3365
3365
|
}
|
|
3366
3366
|
//region block: post-declaration
|
|
3367
3367
|
defineProp(protoOf(YamlException), 'message', function () {
|