@flock/wirespec 0.22.7 → 0.22.8
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/clikt-clikt-mordant.mjs +39 -39
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +13 -13
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +6350 -6350
- package/kotlin-rgxgen.mjs +1756 -1756
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/mordant-mordant.mjs +1202 -1202
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1123 -1418
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +1322 -1937
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +17 -17
- package/wirespec-src-compiler-emitters-typescript.mjs +23 -23
- package/wirespec-src-compiler-emitters-wirespec.mjs +44 -44
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +447 -447
- package/wirespec-src-converter-graphql.mjs +905 -905
- package/wirespec-src-converter-openapi.mjs +332 -332
- package/wirespec-src-ide-lsp.mjs +767 -767
- package/wirespec-src-plugin-arguments.mjs +142 -142
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-extensions.mjs +16 -16
- package/wirespec-src-plugin-npm.mjs +7 -7
- package/wirespec-src-tools-generator.mjs +2 -2
package/wirespec-src-ide-lsp.mjs
CHANGED
|
@@ -206,57 +206,57 @@ initMetadataForClass(NodeStdioTransport, 'NodeStdioTransport', NodeStdioTranspor
|
|
|
206
206
|
function DocumentStore() {
|
|
207
207
|
var tmp = this;
|
|
208
208
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
209
|
-
tmp.
|
|
209
|
+
tmp.x5k_1 = LinkedHashMap_init_$Create$();
|
|
210
210
|
}
|
|
211
|
-
protoOf(DocumentStore).
|
|
211
|
+
protoOf(DocumentStore).y5k = function (uri, version, text) {
|
|
212
212
|
// Inline function 'kotlin.also' call
|
|
213
213
|
var this_0 = new Document(uri, version, text);
|
|
214
214
|
// Inline function 'kotlin.collections.set' call
|
|
215
|
-
this.
|
|
215
|
+
this.x5k_1.w2(uri, this_0);
|
|
216
216
|
return this_0;
|
|
217
217
|
};
|
|
218
|
-
protoOf(DocumentStore).
|
|
219
|
-
var tmp0_safe_receiver = this.
|
|
218
|
+
protoOf(DocumentStore).z5k = function (uri, version, text) {
|
|
219
|
+
var tmp0_safe_receiver = this.x5k_1.t2(uri);
|
|
220
220
|
var tmp;
|
|
221
221
|
if (tmp0_safe_receiver == null) {
|
|
222
222
|
tmp = null;
|
|
223
223
|
} else {
|
|
224
224
|
// Inline function 'kotlin.also' call
|
|
225
|
-
tmp0_safe_receiver.
|
|
225
|
+
tmp0_safe_receiver.e5l(version, text);
|
|
226
226
|
tmp = tmp0_safe_receiver;
|
|
227
227
|
}
|
|
228
228
|
return tmp;
|
|
229
229
|
};
|
|
230
|
-
protoOf(DocumentStore).
|
|
231
|
-
this.
|
|
230
|
+
protoOf(DocumentStore).f5l = function (uri) {
|
|
231
|
+
this.x5k_1.x2(uri);
|
|
232
232
|
};
|
|
233
233
|
protoOf(DocumentStore).ld = function (uri) {
|
|
234
|
-
return this.
|
|
234
|
+
return this.x5k_1.t2(uri);
|
|
235
235
|
};
|
|
236
236
|
function Document(uri, version, text) {
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
}
|
|
242
|
-
protoOf(Document).
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
};
|
|
247
|
-
protoOf(Document).
|
|
248
|
-
var tmp0_elvis_lhs = this.
|
|
237
|
+
this.a5l_1 = uri;
|
|
238
|
+
this.b5l_1 = version;
|
|
239
|
+
this.c5l_1 = text;
|
|
240
|
+
this.d5l_1 = computeLineStarts(text);
|
|
241
|
+
}
|
|
242
|
+
protoOf(Document).e5l = function (version, newText) {
|
|
243
|
+
this.b5l_1 = version;
|
|
244
|
+
this.c5l_1 = newText;
|
|
245
|
+
this.d5l_1 = computeLineStarts(newText);
|
|
246
|
+
};
|
|
247
|
+
protoOf(Document).g5l = function (offset) {
|
|
248
|
+
var tmp0_elvis_lhs = this.d5l_1;
|
|
249
249
|
var tmp;
|
|
250
250
|
if (tmp0_elvis_lhs == null) {
|
|
251
251
|
// Inline function 'kotlin.also' call
|
|
252
|
-
var this_0 = computeLineStarts(this.
|
|
253
|
-
this.
|
|
252
|
+
var this_0 = computeLineStarts(this.c5l_1);
|
|
253
|
+
this.d5l_1 = this_0;
|
|
254
254
|
tmp = this_0;
|
|
255
255
|
} else {
|
|
256
256
|
tmp = tmp0_elvis_lhs;
|
|
257
257
|
}
|
|
258
258
|
var lineStarts = tmp;
|
|
259
|
-
var clamped = coerceIn(offset, 0, this.
|
|
259
|
+
var clamped = coerceIn(offset, 0, this.c5l_1.length);
|
|
260
260
|
var low = 0;
|
|
261
261
|
var high = lineStarts.length - 1 | 0;
|
|
262
262
|
while (low <= high) {
|
|
@@ -297,7 +297,7 @@ function get_PASCAL_CASE_REGEX() {
|
|
|
297
297
|
var PASCAL_CASE_REGEX;
|
|
298
298
|
function unusedPartWarnings($this, document) {
|
|
299
299
|
// Inline function 'kotlin.run' call
|
|
300
|
-
var $this$run = zipWithNext(new NonEmptyList(tokenize(WirespecSpec_getInstance(), document.
|
|
300
|
+
var $this$run = zipWithNext(new NonEmptyList(tokenize(WirespecSpec_getInstance(), document.c5l_1)));
|
|
301
301
|
// Inline function 'community.flock.wirespec.lsp.LanguageService.namesAfter' call
|
|
302
302
|
LanguageService_getInstance();
|
|
303
303
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -403,21 +403,21 @@ function unusedPartWarnings($this, document) {
|
|
|
403
403
|
while (_iterator__ex2g4s_6.u()) {
|
|
404
404
|
var item_2 = _iterator__ex2g4s_6.v();
|
|
405
405
|
var tmp0_range = item_2.cd();
|
|
406
|
-
var tmp2_message = unusedPartWarning(item_2.
|
|
406
|
+
var tmp2_message = unusedPartWarning(item_2.l5l_1);
|
|
407
407
|
var tmp$ret$33 = new Diagnostic(tmp0_range, 2, VOID, 'wirespec', tmp2_message);
|
|
408
408
|
destination_6.x(tmp$ret$33);
|
|
409
409
|
}
|
|
410
410
|
return destination_6;
|
|
411
411
|
}
|
|
412
412
|
function tokenAt($this, document, position) {
|
|
413
|
-
var tmp0 = $this.
|
|
413
|
+
var tmp0 = $this.n5l(document);
|
|
414
414
|
var tmp$ret$0;
|
|
415
415
|
$l$block: {
|
|
416
416
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
417
417
|
var _iterator__ex2g4s = tmp0.t();
|
|
418
418
|
while (_iterator__ex2g4s.u()) {
|
|
419
419
|
var element = _iterator__ex2g4s.v();
|
|
420
|
-
if (element.
|
|
420
|
+
if (element.h5l_1 === position.o5l_1 && position.p5l_1 >= element.i5l_1 && position.p5l_1 <= (element.i5l_1 + element.j5l_1 | 0)) {
|
|
421
421
|
tmp$ret$0 = element;
|
|
422
422
|
break $l$block;
|
|
423
423
|
}
|
|
@@ -448,8 +448,8 @@ function toDiagnostic($this, $receiver, document) {
|
|
|
448
448
|
var length = coerceAtLeast($receiver.nt_1.kt_1.d1g_1, 1);
|
|
449
449
|
var endIdx = coerceAtLeast($receiver.nt_1.kt_1.c1g_1, 0);
|
|
450
450
|
var startIdx = coerceAtLeast(endIdx - length | 0, 0);
|
|
451
|
-
var startPos = document.
|
|
452
|
-
var endPos = document.
|
|
451
|
+
var startPos = document.g5l(startIdx);
|
|
452
|
+
var endPos = document.g5l(endIdx);
|
|
453
453
|
var tmp0_range = new Range(startPos, endPos);
|
|
454
454
|
var tmp2_message = $receiver.e();
|
|
455
455
|
return new Diagnostic(tmp0_range, 1, VOID, 'wirespec', tmp2_message);
|
|
@@ -459,11 +459,11 @@ function LanguageService$parseContext$1() {
|
|
|
459
459
|
function LanguageService() {
|
|
460
460
|
LanguageService_instance = this;
|
|
461
461
|
var tmp = this;
|
|
462
|
-
tmp.
|
|
462
|
+
tmp.m5l_1 = new LanguageService$parseContext$1();
|
|
463
463
|
}
|
|
464
|
-
protoOf(LanguageService).
|
|
464
|
+
protoOf(LanguageService).q5l = function (document) {
|
|
465
465
|
// Inline function 'arrow.core.Either.fold' call
|
|
466
|
-
var this_0 = parse(this.
|
|
466
|
+
var this_0 = parse(this.m5l_1, nonEmptyListOf(new ModuleContent(new FileUri(document.a5l_1), document.c5l_1), []));
|
|
467
467
|
var tmp;
|
|
468
468
|
if (this_0 instanceof Right) {
|
|
469
469
|
this_0.vm_1;
|
|
@@ -491,9 +491,9 @@ protoOf(LanguageService).d5m = function (document) {
|
|
|
491
491
|
var tmp$ret$0 = tmp;
|
|
492
492
|
return plus(tmp$ret$0, unusedPartWarnings(this, document));
|
|
493
493
|
};
|
|
494
|
-
protoOf(LanguageService).
|
|
494
|
+
protoOf(LanguageService).n5l = function (document) {
|
|
495
495
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
496
|
-
var tmp0 = new NonEmptyList(tokenize(WirespecSpec_getInstance(), document.
|
|
496
|
+
var tmp0 = new NonEmptyList(tokenize(WirespecSpec_getInstance(), document.c5l_1));
|
|
497
497
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
498
498
|
var destination = ArrayList_init_$Create$();
|
|
499
499
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -510,12 +510,12 @@ protoOf(LanguageService).a5m = function (document) {
|
|
|
510
510
|
}
|
|
511
511
|
return destination;
|
|
512
512
|
};
|
|
513
|
-
protoOf(LanguageService).
|
|
513
|
+
protoOf(LanguageService).r5l = function (document) {
|
|
514
514
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
515
515
|
var data = ArrayList_init_$Create$();
|
|
516
516
|
var prevLine = 0;
|
|
517
517
|
var prevChar = 0;
|
|
518
|
-
var _iterator__ex2g4s = this.
|
|
518
|
+
var _iterator__ex2g4s = this.n5l(document).t();
|
|
519
519
|
while (_iterator__ex2g4s.u()) {
|
|
520
520
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
521
521
|
var line = _destruct__k2r9zo.af();
|
|
@@ -540,7 +540,7 @@ protoOf(LanguageService).e5m = function (document) {
|
|
|
540
540
|
}
|
|
541
541
|
return new SemanticTokens(data);
|
|
542
542
|
};
|
|
543
|
-
protoOf(LanguageService).
|
|
543
|
+
protoOf(LanguageService).s5l = function (document, position) {
|
|
544
544
|
var tmp0_elvis_lhs = tokenAt(this, document, position);
|
|
545
545
|
var tmp;
|
|
546
546
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -549,16 +549,16 @@ protoOf(LanguageService).f5m = function (document, position) {
|
|
|
549
549
|
tmp = tmp0_elvis_lhs;
|
|
550
550
|
}
|
|
551
551
|
var hit = tmp;
|
|
552
|
-
if (!hit.
|
|
552
|
+
if (!hit.k5l_1.equals(TokenKind_USER_TYPE_getInstance()))
|
|
553
553
|
return emptyList();
|
|
554
554
|
// Inline function 'kotlin.collections.filter' call
|
|
555
|
-
var tmp0 = this.
|
|
555
|
+
var tmp0 = this.n5l(document);
|
|
556
556
|
// Inline function 'kotlin.collections.filterTo' call
|
|
557
557
|
var destination = ArrayList_init_$Create$();
|
|
558
558
|
var _iterator__ex2g4s = tmp0.t();
|
|
559
559
|
while (_iterator__ex2g4s.u()) {
|
|
560
560
|
var element = _iterator__ex2g4s.v();
|
|
561
|
-
if (element.
|
|
561
|
+
if (element.k5l_1.equals(TokenKind_USER_TYPE_getInstance()) && element.l5l_1 === hit.l5l_1) {
|
|
562
562
|
destination.x(element);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
@@ -568,12 +568,12 @@ protoOf(LanguageService).f5m = function (document, position) {
|
|
|
568
568
|
var _iterator__ex2g4s_0 = destination.t();
|
|
569
569
|
while (_iterator__ex2g4s_0.u()) {
|
|
570
570
|
var item = _iterator__ex2g4s_0.v();
|
|
571
|
-
var tmp$ret$5 = new Location(document.
|
|
571
|
+
var tmp$ret$5 = new Location(document.a5l_1, item.cd());
|
|
572
572
|
destination_0.x(tmp$ret$5);
|
|
573
573
|
}
|
|
574
574
|
return destination_0;
|
|
575
575
|
};
|
|
576
|
-
protoOf(LanguageService).
|
|
576
|
+
protoOf(LanguageService).t5l = function (document, position) {
|
|
577
577
|
var tmp0_elvis_lhs = tokenAt(this, document, position);
|
|
578
578
|
var tmp;
|
|
579
579
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -582,9 +582,9 @@ protoOf(LanguageService).g5m = function (document, position) {
|
|
|
582
582
|
tmp = tmp0_elvis_lhs;
|
|
583
583
|
}
|
|
584
584
|
var hit = tmp;
|
|
585
|
-
return hit.
|
|
585
|
+
return hit.k5l_1.equals(TokenKind_USER_TYPE_getInstance()) ? hit.cd() : null;
|
|
586
586
|
};
|
|
587
|
-
protoOf(LanguageService).
|
|
587
|
+
protoOf(LanguageService).u5l = function (document, position, newName) {
|
|
588
588
|
if (!isValidPascalCaseIdentifier(newName))
|
|
589
589
|
return null;
|
|
590
590
|
var tmp0_elvis_lhs = tokenAt(this, document, position);
|
|
@@ -595,18 +595,18 @@ protoOf(LanguageService).h5m = function (document, position, newName) {
|
|
|
595
595
|
tmp = tmp0_elvis_lhs;
|
|
596
596
|
}
|
|
597
597
|
var hit = tmp;
|
|
598
|
-
if (!hit.
|
|
598
|
+
if (!hit.k5l_1.equals(TokenKind_USER_TYPE_getInstance()))
|
|
599
599
|
return null;
|
|
600
|
-
if (newName === hit.
|
|
600
|
+
if (newName === hit.l5l_1)
|
|
601
601
|
return new WorkspaceEdit(emptyMap());
|
|
602
602
|
// Inline function 'kotlin.collections.filter' call
|
|
603
|
-
var tmp0 = this.
|
|
603
|
+
var tmp0 = this.n5l(document);
|
|
604
604
|
// Inline function 'kotlin.collections.filterTo' call
|
|
605
605
|
var destination = ArrayList_init_$Create$();
|
|
606
606
|
var _iterator__ex2g4s = tmp0.t();
|
|
607
607
|
while (_iterator__ex2g4s.u()) {
|
|
608
608
|
var element = _iterator__ex2g4s.v();
|
|
609
|
-
if (element.
|
|
609
|
+
if (element.k5l_1.equals(TokenKind_USER_TYPE_getInstance()) && element.l5l_1 === hit.l5l_1) {
|
|
610
610
|
destination.x(element);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
@@ -622,7 +622,7 @@ protoOf(LanguageService).h5m = function (document, position, newName) {
|
|
|
622
622
|
var edits = destination_0;
|
|
623
623
|
if (edits.r())
|
|
624
624
|
return null;
|
|
625
|
-
return new WorkspaceEdit(mapOf(to(document.
|
|
625
|
+
return new WorkspaceEdit(mapOf(to(document.a5l_1, edits)));
|
|
626
626
|
};
|
|
627
627
|
var LanguageService_instance;
|
|
628
628
|
function LanguageService_getInstance() {
|
|
@@ -631,36 +631,36 @@ function LanguageService_getInstance() {
|
|
|
631
631
|
return LanguageService_instance;
|
|
632
632
|
}
|
|
633
633
|
function LspToken(line, character, length, kind, value) {
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
636
|
-
this.
|
|
637
|
-
this.
|
|
638
|
-
this.
|
|
634
|
+
this.h5l_1 = line;
|
|
635
|
+
this.i5l_1 = character;
|
|
636
|
+
this.j5l_1 = length;
|
|
637
|
+
this.k5l_1 = kind;
|
|
638
|
+
this.l5l_1 = value;
|
|
639
639
|
}
|
|
640
640
|
protoOf(LspToken).cd = function () {
|
|
641
|
-
return new Range(new Position(this.
|
|
641
|
+
return new Range(new Position(this.h5l_1, this.i5l_1), new Position(this.h5l_1, this.i5l_1 + this.j5l_1 | 0));
|
|
642
642
|
};
|
|
643
643
|
protoOf(LspToken).af = function () {
|
|
644
|
-
return this.
|
|
644
|
+
return this.h5l_1;
|
|
645
645
|
};
|
|
646
646
|
protoOf(LspToken).bf = function () {
|
|
647
|
-
return this.
|
|
647
|
+
return this.i5l_1;
|
|
648
648
|
};
|
|
649
649
|
protoOf(LspToken).uk = function () {
|
|
650
|
-
return this.
|
|
650
|
+
return this.j5l_1;
|
|
651
651
|
};
|
|
652
652
|
protoOf(LspToken).d1j = function () {
|
|
653
|
-
return this.
|
|
653
|
+
return this.k5l_1;
|
|
654
654
|
};
|
|
655
655
|
protoOf(LspToken).toString = function () {
|
|
656
|
-
return 'LspToken(line=' + this.
|
|
656
|
+
return 'LspToken(line=' + this.h5l_1 + ', character=' + this.i5l_1 + ', length=' + this.j5l_1 + ', kind=' + this.k5l_1.toString() + ', value=' + this.l5l_1 + ')';
|
|
657
657
|
};
|
|
658
658
|
protoOf(LspToken).hashCode = function () {
|
|
659
|
-
var result = this.
|
|
660
|
-
result = imul(result, 31) + this.
|
|
661
|
-
result = imul(result, 31) + this.
|
|
662
|
-
result = imul(result, 31) + this.
|
|
663
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
659
|
+
var result = this.h5l_1;
|
|
660
|
+
result = imul(result, 31) + this.i5l_1 | 0;
|
|
661
|
+
result = imul(result, 31) + this.j5l_1 | 0;
|
|
662
|
+
result = imul(result, 31) + this.k5l_1.hashCode() | 0;
|
|
663
|
+
result = imul(result, 31) + getStringHashCode(this.l5l_1) | 0;
|
|
664
664
|
return result;
|
|
665
665
|
};
|
|
666
666
|
protoOf(LspToken).equals = function (other) {
|
|
@@ -668,15 +668,15 @@ protoOf(LspToken).equals = function (other) {
|
|
|
668
668
|
return true;
|
|
669
669
|
if (!(other instanceof LspToken))
|
|
670
670
|
return false;
|
|
671
|
-
if (!(this.
|
|
671
|
+
if (!(this.h5l_1 === other.h5l_1))
|
|
672
672
|
return false;
|
|
673
|
-
if (!(this.
|
|
673
|
+
if (!(this.i5l_1 === other.i5l_1))
|
|
674
674
|
return false;
|
|
675
|
-
if (!(this.
|
|
675
|
+
if (!(this.j5l_1 === other.j5l_1))
|
|
676
676
|
return false;
|
|
677
|
-
if (!this.
|
|
677
|
+
if (!this.k5l_1.equals(other.k5l_1))
|
|
678
678
|
return false;
|
|
679
|
-
if (!(this.
|
|
679
|
+
if (!(this.l5l_1 === other.l5l_1))
|
|
680
680
|
return false;
|
|
681
681
|
return true;
|
|
682
682
|
};
|
|
@@ -696,7 +696,7 @@ function onMessage($this, payload) {
|
|
|
696
696
|
var tmp;
|
|
697
697
|
try {
|
|
698
698
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
699
|
-
var this_0 = $this.
|
|
699
|
+
var this_0 = $this.x5l_1;
|
|
700
700
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
701
701
|
var this_1 = this_0.l25();
|
|
702
702
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -728,18 +728,18 @@ function onMessage($this, payload) {
|
|
|
728
728
|
}
|
|
729
729
|
var message = tmp_1;
|
|
730
730
|
try {
|
|
731
|
-
if (message.
|
|
731
|
+
if (message.f5m()) {
|
|
732
732
|
handleRequest($this, message);
|
|
733
|
-
} else if (message.
|
|
733
|
+
} else if (message.e5m()) {
|
|
734
734
|
handleNotification($this, message);
|
|
735
735
|
}
|
|
736
736
|
} catch ($p) {
|
|
737
737
|
if ($p instanceof Error) {
|
|
738
738
|
var t = $p;
|
|
739
|
-
if (!(message.
|
|
739
|
+
if (!(message.z5l_1 == null)) {
|
|
740
740
|
var tmp0_elvis_lhs = t.message;
|
|
741
741
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(t).o() : tmp0_elvis_lhs;
|
|
742
|
-
respondError($this, message.
|
|
742
|
+
respondError($this, message.z5l_1, -32603, tmp1_elvis_lhs == null ? 'internal error' : tmp1_elvis_lhs);
|
|
743
743
|
}
|
|
744
744
|
} else {
|
|
745
745
|
throw $p;
|
|
@@ -747,7 +747,7 @@ function onMessage($this, payload) {
|
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
function handleRequest($this, message) {
|
|
750
|
-
var tmp0_elvis_lhs = message.
|
|
750
|
+
var tmp0_elvis_lhs = message.z5l_1;
|
|
751
751
|
var tmp;
|
|
752
752
|
if (tmp0_elvis_lhs == null) {
|
|
753
753
|
return Unit_instance;
|
|
@@ -755,7 +755,7 @@ function handleRequest($this, message) {
|
|
|
755
755
|
tmp = tmp0_elvis_lhs;
|
|
756
756
|
}
|
|
757
757
|
var id = tmp;
|
|
758
|
-
switch (message.
|
|
758
|
+
switch (message.a5m_1) {
|
|
759
759
|
case 'initialize':
|
|
760
760
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
761
761
|
|
|
@@ -765,7 +765,7 @@ function handleRequest($this, message) {
|
|
|
765
765
|
tmp_0 = result;
|
|
766
766
|
} else {
|
|
767
767
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
768
|
-
var this_0 = $this.
|
|
768
|
+
var this_0 = $this.x5l_1;
|
|
769
769
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
770
770
|
var this_1 = this_0.l25();
|
|
771
771
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -778,7 +778,7 @@ function handleRequest($this, message) {
|
|
|
778
778
|
var response = new JsonRpcMessage(VOID, id, VOID, VOID, element);
|
|
779
779
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
780
780
|
|
|
781
|
-
var this_3 = $this.
|
|
781
|
+
var this_3 = $this.x5l_1;
|
|
782
782
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
783
783
|
|
|
784
784
|
var this_4 = this_3.l25();
|
|
@@ -787,7 +787,7 @@ function handleRequest($this, message) {
|
|
|
787
787
|
var this_5 = serializer(this_4, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
788
788
|
var tmp$ret$5 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
789
789
|
var tmp$ret$4 = this_3.q2m(tmp$ret$5, response);
|
|
790
|
-
$this.
|
|
790
|
+
$this.v5l_1.g5m(tmp$ret$4);
|
|
791
791
|
break;
|
|
792
792
|
case 'shutdown':
|
|
793
793
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
@@ -798,7 +798,7 @@ function handleRequest($this, message) {
|
|
|
798
798
|
tmp_1 = result_0;
|
|
799
799
|
} else {
|
|
800
800
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
801
|
-
var this_6 = $this.
|
|
801
|
+
var this_6 = $this.x5l_1;
|
|
802
802
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
803
803
|
var this_7 = this_6.l25();
|
|
804
804
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -811,7 +811,7 @@ function handleRequest($this, message) {
|
|
|
811
811
|
var response_0 = new JsonRpcMessage(VOID, id, VOID, VOID, element_0);
|
|
812
812
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
813
813
|
|
|
814
|
-
var this_9 = $this.
|
|
814
|
+
var this_9 = $this.x5l_1;
|
|
815
815
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
816
816
|
|
|
817
817
|
var this_10 = this_9.l25();
|
|
@@ -820,13 +820,13 @@ function handleRequest($this, message) {
|
|
|
820
820
|
var this_11 = serializer(this_10, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
821
821
|
var tmp$ret$12 = isInterface(this_11, KSerializer) ? this_11 : THROW_CCE();
|
|
822
822
|
var tmp$ret$11 = this_9.q2m(tmp$ret$12, response_0);
|
|
823
|
-
$this.
|
|
823
|
+
$this.v5l_1.g5m(tmp$ret$11);
|
|
824
824
|
break;
|
|
825
825
|
case 'textDocument/semanticTokens/full':
|
|
826
826
|
case 'textDocument/semanticTokens/full/delta':
|
|
827
827
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
828
828
|
|
|
829
|
-
var tmp0_safe_receiver = message.
|
|
829
|
+
var tmp0_safe_receiver = message.b5m_1;
|
|
830
830
|
var tmp_2;
|
|
831
831
|
if (tmp0_safe_receiver == null) {
|
|
832
832
|
tmp_2 = null;
|
|
@@ -836,7 +836,7 @@ function handleRequest($this, message) {
|
|
|
836
836
|
var tmp_3;
|
|
837
837
|
try {
|
|
838
838
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
839
|
-
var this_12 = $this.
|
|
839
|
+
var this_12 = $this.x5l_1;
|
|
840
840
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
841
841
|
var this_13 = this_12.l25();
|
|
842
842
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -865,14 +865,14 @@ function handleRequest($this, message) {
|
|
|
865
865
|
var tmp_5;
|
|
866
866
|
if (tmp2_elvis_lhs == null) {
|
|
867
867
|
// Inline function 'kotlin.run' call
|
|
868
|
-
respondError($this, id, -32602, 'Invalid params for ' + message.
|
|
868
|
+
respondError($this, id, -32602, 'Invalid params for ' + message.a5m_1);
|
|
869
869
|
return Unit_instance;
|
|
870
870
|
} else {
|
|
871
871
|
tmp_5 = tmp2_elvis_lhs;
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
var params = tmp_5;
|
|
875
|
-
var doc = $this.
|
|
875
|
+
var doc = $this.w5l_1.ld(params.i5m_1.h5m_1);
|
|
876
876
|
if (doc == null) {
|
|
877
877
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
878
878
|
var result_1 = JsonNull_getInstance();
|
|
@@ -881,7 +881,7 @@ function handleRequest($this, message) {
|
|
|
881
881
|
tmp_6 = result_1;
|
|
882
882
|
} else {
|
|
883
883
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
884
|
-
var this_16 = $this.
|
|
884
|
+
var this_16 = $this.x5l_1;
|
|
885
885
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
886
886
|
var this_17 = this_16.l25();
|
|
887
887
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -892,23 +892,23 @@ function handleRequest($this, message) {
|
|
|
892
892
|
var element_1 = tmp_6;
|
|
893
893
|
var response_1 = new JsonRpcMessage(VOID, id, VOID, VOID, element_1);
|
|
894
894
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
895
|
-
var this_19 = $this.
|
|
895
|
+
var this_19 = $this.x5l_1;
|
|
896
896
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
897
897
|
var this_20 = this_19.l25();
|
|
898
898
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
899
899
|
var this_21 = serializer(this_20, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
900
900
|
var tmp$ret$32 = isInterface(this_21, KSerializer) ? this_21 : THROW_CCE();
|
|
901
901
|
var tmp$ret$31 = this_19.q2m(tmp$ret$32, response_1);
|
|
902
|
-
$this.
|
|
902
|
+
$this.v5l_1.g5m(tmp$ret$31);
|
|
903
903
|
} else {
|
|
904
904
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
905
|
-
var result_2 = LanguageService_getInstance().
|
|
905
|
+
var result_2 = LanguageService_getInstance().r5l(doc);
|
|
906
906
|
var tmp_7;
|
|
907
907
|
if (result_2 instanceof JsonElement) {
|
|
908
908
|
tmp_7 = result_2;
|
|
909
909
|
} else {
|
|
910
910
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
911
|
-
var this_22 = $this.
|
|
911
|
+
var this_22 = $this.x5l_1;
|
|
912
912
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
913
913
|
var this_23 = this_22.l25();
|
|
914
914
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -919,21 +919,21 @@ function handleRequest($this, message) {
|
|
|
919
919
|
var element_2 = tmp_7;
|
|
920
920
|
var response_2 = new JsonRpcMessage(VOID, id, VOID, VOID, element_2);
|
|
921
921
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
922
|
-
var this_25 = $this.
|
|
922
|
+
var this_25 = $this.x5l_1;
|
|
923
923
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
924
924
|
var this_26 = this_25.l25();
|
|
925
925
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
926
926
|
var this_27 = serializer(this_26, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
927
927
|
var tmp$ret$39 = isInterface(this_27, KSerializer) ? this_27 : THROW_CCE();
|
|
928
928
|
var tmp$ret$38 = this_25.q2m(tmp$ret$39, response_2);
|
|
929
|
-
$this.
|
|
929
|
+
$this.v5l_1.g5m(tmp$ret$38);
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
break;
|
|
933
933
|
case 'textDocument/definition':
|
|
934
934
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
935
935
|
|
|
936
|
-
var tmp0_safe_receiver_0 = message.
|
|
936
|
+
var tmp0_safe_receiver_0 = message.b5m_1;
|
|
937
937
|
var tmp_8;
|
|
938
938
|
if (tmp0_safe_receiver_0 == null) {
|
|
939
939
|
tmp_8 = null;
|
|
@@ -943,7 +943,7 @@ function handleRequest($this, message) {
|
|
|
943
943
|
var tmp_9;
|
|
944
944
|
try {
|
|
945
945
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
946
|
-
var this_28 = $this.
|
|
946
|
+
var this_28 = $this.x5l_1;
|
|
947
947
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
948
948
|
var this_29 = this_28.l25();
|
|
949
949
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -979,7 +979,7 @@ function handleRequest($this, message) {
|
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
var params_0 = tmp_11;
|
|
982
|
-
var doc_0 = $this.
|
|
982
|
+
var doc_0 = $this.w5l_1.ld(params_0.j5m_1.h5m_1);
|
|
983
983
|
if (doc_0 == null) {
|
|
984
984
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
985
985
|
var result_3 = JsonNull_getInstance();
|
|
@@ -988,7 +988,7 @@ function handleRequest($this, message) {
|
|
|
988
988
|
tmp_12 = result_3;
|
|
989
989
|
} else {
|
|
990
990
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
991
|
-
var this_32 = $this.
|
|
991
|
+
var this_32 = $this.x5l_1;
|
|
992
992
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
993
993
|
var this_33 = this_32.l25();
|
|
994
994
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -999,23 +999,23 @@ function handleRequest($this, message) {
|
|
|
999
999
|
var element_3 = tmp_12;
|
|
1000
1000
|
var response_3 = new JsonRpcMessage(VOID, id, VOID, VOID, element_3);
|
|
1001
1001
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1002
|
-
var this_35 = $this.
|
|
1002
|
+
var this_35 = $this.x5l_1;
|
|
1003
1003
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1004
1004
|
var this_36 = this_35.l25();
|
|
1005
1005
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1006
1006
|
var this_37 = serializer(this_36, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1007
1007
|
var tmp$ret$59 = isInterface(this_37, KSerializer) ? this_37 : THROW_CCE();
|
|
1008
1008
|
var tmp$ret$58 = this_35.q2m(tmp$ret$59, response_3);
|
|
1009
|
-
$this.
|
|
1009
|
+
$this.v5l_1.g5m(tmp$ret$58);
|
|
1010
1010
|
} else {
|
|
1011
1011
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
1012
|
-
var result_4 = LanguageService_getInstance().
|
|
1012
|
+
var result_4 = LanguageService_getInstance().s5l(doc_0, params_0.k5m_1);
|
|
1013
1013
|
var tmp_13;
|
|
1014
1014
|
if (result_4 instanceof JsonElement) {
|
|
1015
1015
|
tmp_13 = result_4;
|
|
1016
1016
|
} else {
|
|
1017
1017
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1018
|
-
var this_38 = $this.
|
|
1018
|
+
var this_38 = $this.x5l_1;
|
|
1019
1019
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1020
1020
|
var this_39 = this_38.l25();
|
|
1021
1021
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1026,21 +1026,21 @@ function handleRequest($this, message) {
|
|
|
1026
1026
|
var element_4 = tmp_13;
|
|
1027
1027
|
var response_4 = new JsonRpcMessage(VOID, id, VOID, VOID, element_4);
|
|
1028
1028
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1029
|
-
var this_41 = $this.
|
|
1029
|
+
var this_41 = $this.x5l_1;
|
|
1030
1030
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1031
1031
|
var this_42 = this_41.l25();
|
|
1032
1032
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1033
1033
|
var this_43 = serializer(this_42, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1034
1034
|
var tmp$ret$66 = isInterface(this_43, KSerializer) ? this_43 : THROW_CCE();
|
|
1035
1035
|
var tmp$ret$65 = this_41.q2m(tmp$ret$66, response_4);
|
|
1036
|
-
$this.
|
|
1036
|
+
$this.v5l_1.g5m(tmp$ret$65);
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
1039
|
break;
|
|
1040
1040
|
case 'textDocument/prepareRename':
|
|
1041
1041
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
1042
1042
|
|
|
1043
|
-
var tmp0_safe_receiver_1 = message.
|
|
1043
|
+
var tmp0_safe_receiver_1 = message.b5m_1;
|
|
1044
1044
|
var tmp_14;
|
|
1045
1045
|
if (tmp0_safe_receiver_1 == null) {
|
|
1046
1046
|
tmp_14 = null;
|
|
@@ -1050,7 +1050,7 @@ function handleRequest($this, message) {
|
|
|
1050
1050
|
var tmp_15;
|
|
1051
1051
|
try {
|
|
1052
1052
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
1053
|
-
var this_44 = $this.
|
|
1053
|
+
var this_44 = $this.x5l_1;
|
|
1054
1054
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1055
1055
|
var this_45 = this_44.l25();
|
|
1056
1056
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1086,13 +1086,13 @@ function handleRequest($this, message) {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
1088
|
var params_1 = tmp_17;
|
|
1089
|
-
var doc_1 = $this.
|
|
1089
|
+
var doc_1 = $this.w5l_1.ld(params_1.j5m_1.h5m_1);
|
|
1090
1090
|
var tmp_18;
|
|
1091
1091
|
if (doc_1 == null) {
|
|
1092
1092
|
tmp_18 = null;
|
|
1093
1093
|
} else {
|
|
1094
1094
|
// Inline function 'kotlin.let' call
|
|
1095
|
-
tmp_18 = LanguageService_getInstance().
|
|
1095
|
+
tmp_18 = LanguageService_getInstance().t5l(doc_1, params_1.k5m_1);
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
1098
|
var range = tmp_18;
|
|
@@ -1104,7 +1104,7 @@ function handleRequest($this, message) {
|
|
|
1104
1104
|
tmp_19 = result_5;
|
|
1105
1105
|
} else {
|
|
1106
1106
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1107
|
-
var this_48 = $this.
|
|
1107
|
+
var this_48 = $this.x5l_1;
|
|
1108
1108
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1109
1109
|
var this_49 = this_48.l25();
|
|
1110
1110
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1115,14 +1115,14 @@ function handleRequest($this, message) {
|
|
|
1115
1115
|
var element_5 = tmp_19;
|
|
1116
1116
|
var response_5 = new JsonRpcMessage(VOID, id, VOID, VOID, element_5);
|
|
1117
1117
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1118
|
-
var this_51 = $this.
|
|
1118
|
+
var this_51 = $this.x5l_1;
|
|
1119
1119
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1120
1120
|
var this_52 = this_51.l25();
|
|
1121
1121
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1122
1122
|
var this_53 = serializer(this_52, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1123
1123
|
var tmp$ret$88 = isInterface(this_53, KSerializer) ? this_53 : THROW_CCE();
|
|
1124
1124
|
var tmp$ret$87 = this_51.q2m(tmp$ret$88, response_5);
|
|
1125
|
-
$this.
|
|
1125
|
+
$this.v5l_1.g5m(tmp$ret$87);
|
|
1126
1126
|
} else {
|
|
1127
1127
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
1128
1128
|
var tmp_20;
|
|
@@ -1130,7 +1130,7 @@ function handleRequest($this, message) {
|
|
|
1130
1130
|
tmp_20 = range;
|
|
1131
1131
|
} else {
|
|
1132
1132
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1133
|
-
var this_54 = $this.
|
|
1133
|
+
var this_54 = $this.x5l_1;
|
|
1134
1134
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1135
1135
|
var this_55 = this_54.l25();
|
|
1136
1136
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1141,21 +1141,21 @@ function handleRequest($this, message) {
|
|
|
1141
1141
|
var element_6 = tmp_20;
|
|
1142
1142
|
var response_6 = new JsonRpcMessage(VOID, id, VOID, VOID, element_6);
|
|
1143
1143
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1144
|
-
var this_57 = $this.
|
|
1144
|
+
var this_57 = $this.x5l_1;
|
|
1145
1145
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1146
1146
|
var this_58 = this_57.l25();
|
|
1147
1147
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1148
1148
|
var this_59 = serializer(this_58, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1149
1149
|
var tmp$ret$95 = isInterface(this_59, KSerializer) ? this_59 : THROW_CCE();
|
|
1150
1150
|
var tmp$ret$94 = this_57.q2m(tmp$ret$95, response_6);
|
|
1151
|
-
$this.
|
|
1151
|
+
$this.v5l_1.g5m(tmp$ret$94);
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
1154
|
break;
|
|
1155
1155
|
case 'textDocument/rename':
|
|
1156
1156
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
1157
1157
|
|
|
1158
|
-
var tmp0_safe_receiver_2 = message.
|
|
1158
|
+
var tmp0_safe_receiver_2 = message.b5m_1;
|
|
1159
1159
|
var tmp_21;
|
|
1160
1160
|
if (tmp0_safe_receiver_2 == null) {
|
|
1161
1161
|
tmp_21 = null;
|
|
@@ -1165,7 +1165,7 @@ function handleRequest($this, message) {
|
|
|
1165
1165
|
var tmp_22;
|
|
1166
1166
|
try {
|
|
1167
1167
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
1168
|
-
var this_60 = $this.
|
|
1168
|
+
var this_60 = $this.x5l_1;
|
|
1169
1169
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1170
1170
|
var this_61 = this_60.l25();
|
|
1171
1171
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1201,13 +1201,13 @@ function handleRequest($this, message) {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
var params_2 = tmp_24;
|
|
1204
|
-
var doc_2 = $this.
|
|
1204
|
+
var doc_2 = $this.w5l_1.ld(params_2.l5m_1.h5m_1);
|
|
1205
1205
|
var tmp_25;
|
|
1206
1206
|
if (doc_2 == null) {
|
|
1207
1207
|
tmp_25 = null;
|
|
1208
1208
|
} else {
|
|
1209
1209
|
// Inline function 'kotlin.let' call
|
|
1210
|
-
tmp_25 = LanguageService_getInstance().
|
|
1210
|
+
tmp_25 = LanguageService_getInstance().u5l(doc_2, params_2.m5m_1, params_2.n5m_1);
|
|
1211
1211
|
}
|
|
1212
1212
|
|
|
1213
1213
|
var edit = tmp_25;
|
|
@@ -1219,7 +1219,7 @@ function handleRequest($this, message) {
|
|
|
1219
1219
|
tmp_26 = result_6;
|
|
1220
1220
|
} else {
|
|
1221
1221
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1222
|
-
var this_64 = $this.
|
|
1222
|
+
var this_64 = $this.x5l_1;
|
|
1223
1223
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1224
1224
|
var this_65 = this_64.l25();
|
|
1225
1225
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1230,14 +1230,14 @@ function handleRequest($this, message) {
|
|
|
1230
1230
|
var element_7 = tmp_26;
|
|
1231
1231
|
var response_7 = new JsonRpcMessage(VOID, id, VOID, VOID, element_7);
|
|
1232
1232
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1233
|
-
var this_67 = $this.
|
|
1233
|
+
var this_67 = $this.x5l_1;
|
|
1234
1234
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1235
1235
|
var this_68 = this_67.l25();
|
|
1236
1236
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1237
1237
|
var this_69 = serializer(this_68, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1238
1238
|
var tmp$ret$117 = isInterface(this_69, KSerializer) ? this_69 : THROW_CCE();
|
|
1239
1239
|
var tmp$ret$116 = this_67.q2m(tmp$ret$117, response_7);
|
|
1240
|
-
$this.
|
|
1240
|
+
$this.v5l_1.g5m(tmp$ret$116);
|
|
1241
1241
|
} else {
|
|
1242
1242
|
// Inline function 'community.flock.wirespec.lsp.LspServer.respond' call
|
|
1243
1243
|
var tmp_27;
|
|
@@ -1245,7 +1245,7 @@ function handleRequest($this, message) {
|
|
|
1245
1245
|
tmp_27 = edit;
|
|
1246
1246
|
} else {
|
|
1247
1247
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1248
|
-
var this_70 = $this.
|
|
1248
|
+
var this_70 = $this.x5l_1;
|
|
1249
1249
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1250
1250
|
var this_71 = this_70.l25();
|
|
1251
1251
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1256,24 +1256,24 @@ function handleRequest($this, message) {
|
|
|
1256
1256
|
var element_8 = tmp_27;
|
|
1257
1257
|
var response_8 = new JsonRpcMessage(VOID, id, VOID, VOID, element_8);
|
|
1258
1258
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1259
|
-
var this_73 = $this.
|
|
1259
|
+
var this_73 = $this.x5l_1;
|
|
1260
1260
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1261
1261
|
var this_74 = this_73.l25();
|
|
1262
1262
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1263
1263
|
var this_75 = serializer(this_74, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1264
1264
|
var tmp$ret$124 = isInterface(this_75, KSerializer) ? this_75 : THROW_CCE();
|
|
1265
1265
|
var tmp$ret$123 = this_73.q2m(tmp$ret$124, response_8);
|
|
1266
|
-
$this.
|
|
1266
|
+
$this.v5l_1.g5m(tmp$ret$123);
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
1269
|
break;
|
|
1270
1270
|
default:
|
|
1271
|
-
respondError($this, id, -32601, 'Method not found: ' + message.
|
|
1271
|
+
respondError($this, id, -32601, 'Method not found: ' + message.a5m_1);
|
|
1272
1272
|
break;
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
1275
|
function handleNotification($this, message) {
|
|
1276
|
-
switch (message.
|
|
1276
|
+
switch (message.a5m_1) {
|
|
1277
1277
|
case 'initialized':
|
|
1278
1278
|
break;
|
|
1279
1279
|
case 'exit':
|
|
@@ -1281,7 +1281,7 @@ function handleNotification($this, message) {
|
|
|
1281
1281
|
case 'textDocument/didOpen':
|
|
1282
1282
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
1283
1283
|
|
|
1284
|
-
var tmp0_safe_receiver = message.
|
|
1284
|
+
var tmp0_safe_receiver = message.b5m_1;
|
|
1285
1285
|
var tmp;
|
|
1286
1286
|
if (tmp0_safe_receiver == null) {
|
|
1287
1287
|
tmp = null;
|
|
@@ -1291,7 +1291,7 @@ function handleNotification($this, message) {
|
|
|
1291
1291
|
var tmp_0;
|
|
1292
1292
|
try {
|
|
1293
1293
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
1294
|
-
var this_0 = $this.
|
|
1294
|
+
var this_0 = $this.x5l_1;
|
|
1295
1295
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1296
1296
|
var this_1 = this_0.l25();
|
|
1297
1297
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1325,13 +1325,13 @@ function handleNotification($this, message) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
1327
|
var params = tmp_2;
|
|
1328
|
-
var doc = $this.
|
|
1328
|
+
var doc = $this.w5l_1.y5k(params.s5m_1.o5m_1, params.s5m_1.q5m_1, params.s5m_1.r5m_1);
|
|
1329
1329
|
publishDiagnostics($this, doc);
|
|
1330
1330
|
break;
|
|
1331
1331
|
case 'textDocument/didChange':
|
|
1332
1332
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
1333
1333
|
|
|
1334
|
-
var tmp0_safe_receiver_0 = message.
|
|
1334
|
+
var tmp0_safe_receiver_0 = message.b5m_1;
|
|
1335
1335
|
var tmp_3;
|
|
1336
1336
|
if (tmp0_safe_receiver_0 == null) {
|
|
1337
1337
|
tmp_3 = null;
|
|
@@ -1341,7 +1341,7 @@ function handleNotification($this, message) {
|
|
|
1341
1341
|
var tmp_4;
|
|
1342
1342
|
try {
|
|
1343
1343
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
1344
|
-
var this_4 = $this.
|
|
1344
|
+
var this_4 = $this.x5l_1;
|
|
1345
1345
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1346
1346
|
var this_5 = this_4.l25();
|
|
1347
1347
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1375,8 +1375,8 @@ function handleNotification($this, message) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
1377
|
var params_0 = tmp_6;
|
|
1378
|
-
var tmp3_safe_receiver = lastOrNull(params_0.
|
|
1379
|
-
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.
|
|
1378
|
+
var tmp3_safe_receiver = lastOrNull(params_0.u5m_1);
|
|
1379
|
+
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.w5m_1;
|
|
1380
1380
|
var tmp_7;
|
|
1381
1381
|
if (tmp4_elvis_lhs == null) {
|
|
1382
1382
|
return Unit_instance;
|
|
@@ -1385,12 +1385,12 @@ function handleNotification($this, message) {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
|
|
1387
1387
|
var newText = tmp_7;
|
|
1388
|
-
var tmp5_elvis_lhs = params_0.
|
|
1389
|
-
var tmp6_elvis_lhs = $this.
|
|
1388
|
+
var tmp5_elvis_lhs = params_0.t5m_1.y5m_1;
|
|
1389
|
+
var tmp6_elvis_lhs = $this.w5l_1.z5k(params_0.t5m_1.x5m_1, tmp5_elvis_lhs == null ? 0 : tmp5_elvis_lhs, newText);
|
|
1390
1390
|
var tmp_8;
|
|
1391
1391
|
if (tmp6_elvis_lhs == null) {
|
|
1392
|
-
var tmp7_elvis_lhs = params_0.
|
|
1393
|
-
tmp_8 = $this.
|
|
1392
|
+
var tmp7_elvis_lhs = params_0.t5m_1.y5m_1;
|
|
1393
|
+
tmp_8 = $this.w5l_1.y5k(params_0.t5m_1.x5m_1, tmp7_elvis_lhs == null ? 0 : tmp7_elvis_lhs, newText);
|
|
1394
1394
|
} else {
|
|
1395
1395
|
tmp_8 = tmp6_elvis_lhs;
|
|
1396
1396
|
}
|
|
@@ -1401,7 +1401,7 @@ function handleNotification($this, message) {
|
|
|
1401
1401
|
case 'textDocument/didClose':
|
|
1402
1402
|
// Inline function 'community.flock.wirespec.lsp.LspServer.decodeOrNull' call
|
|
1403
1403
|
|
|
1404
|
-
var tmp0_safe_receiver_1 = message.
|
|
1404
|
+
var tmp0_safe_receiver_1 = message.b5m_1;
|
|
1405
1405
|
var tmp_9;
|
|
1406
1406
|
if (tmp0_safe_receiver_1 == null) {
|
|
1407
1407
|
tmp_9 = null;
|
|
@@ -1411,7 +1411,7 @@ function handleNotification($this, message) {
|
|
|
1411
1411
|
var tmp_10;
|
|
1412
1412
|
try {
|
|
1413
1413
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
1414
|
-
var this_8 = $this.
|
|
1414
|
+
var this_8 = $this.x5l_1;
|
|
1415
1415
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1416
1416
|
var this_9 = this_8.l25();
|
|
1417
1417
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1445,17 +1445,17 @@ function handleNotification($this, message) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
var params_1 = tmp_12;
|
|
1448
|
-
$this.
|
|
1448
|
+
$this.w5l_1.f5l(params_1.z5m_1.h5m_1);
|
|
1449
1449
|
break;
|
|
1450
1450
|
default:
|
|
1451
1451
|
break;
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
function publishDiagnostics($this, doc) {
|
|
1455
|
-
var diagnostics = LanguageService_getInstance().
|
|
1456
|
-
var params = new PublishDiagnosticsParams(doc.
|
|
1455
|
+
var diagnostics = LanguageService_getInstance().q5l(doc);
|
|
1456
|
+
var params = new PublishDiagnosticsParams(doc.a5l_1, diagnostics);
|
|
1457
1457
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
1458
|
-
var this_0 = $this.
|
|
1458
|
+
var this_0 = $this.x5l_1;
|
|
1459
1459
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1460
1460
|
var this_1 = this_0.l25();
|
|
1461
1461
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -1465,31 +1465,31 @@ function publishDiagnostics($this, doc) {
|
|
|
1465
1465
|
sendNotification($this, 'textDocument/publishDiagnostics', tmp$ret$0);
|
|
1466
1466
|
}
|
|
1467
1467
|
function buildInitializeResult($this) {
|
|
1468
|
-
return new InitializeResult(new ServerCapabilities(VOID, new SemanticTokensOptions(new SemanticTokensLegend(SemanticTokenLegend_getInstance().
|
|
1468
|
+
return new InitializeResult(new ServerCapabilities(VOID, new SemanticTokensOptions(new SemanticTokensLegend(SemanticTokenLegend_getInstance().f5n_1, SemanticTokenLegend_getInstance().g5n_1), false, true), true, new RenameOptions(true)), new ServerInfo('wirespec-lsp'));
|
|
1469
1469
|
}
|
|
1470
1470
|
function respondError($this, id, code, message) {
|
|
1471
1471
|
var response = new JsonRpcMessage(VOID, id, VOID, VOID, VOID, new JsonRpcError(code, message));
|
|
1472
1472
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1473
|
-
var this_0 = $this.
|
|
1473
|
+
var this_0 = $this.x5l_1;
|
|
1474
1474
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1475
1475
|
var this_1 = this_0.l25();
|
|
1476
1476
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1477
1477
|
var this_2 = serializer(this_1, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1478
1478
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
1479
1479
|
var tmp$ret$0 = this_0.q2m(tmp$ret$1, response);
|
|
1480
|
-
$this.
|
|
1480
|
+
$this.v5l_1.g5m(tmp$ret$0);
|
|
1481
1481
|
}
|
|
1482
1482
|
function sendNotification($this, method, params) {
|
|
1483
1483
|
var message = new JsonRpcMessage(VOID, VOID, method, params);
|
|
1484
1484
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
1485
|
-
var this_0 = $this.
|
|
1485
|
+
var this_0 = $this.x5l_1;
|
|
1486
1486
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
1487
1487
|
var this_1 = this_0.l25();
|
|
1488
1488
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1489
1489
|
var this_2 = serializer(this_1, createKType(getKClass(JsonRpcMessage), arrayOf([]), false));
|
|
1490
1490
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
1491
1491
|
var tmp$ret$0 = this_0.q2m(tmp$ret$1, message);
|
|
1492
|
-
$this.
|
|
1492
|
+
$this.v5l_1.g5m(tmp$ret$0);
|
|
1493
1493
|
}
|
|
1494
1494
|
function LspServer$json$lambda($this$Json) {
|
|
1495
1495
|
$this$Json.m2n_1 = true;
|
|
@@ -1507,25 +1507,25 @@ function LspServer$onMessage$ref(p0) {
|
|
|
1507
1507
|
return l;
|
|
1508
1508
|
}
|
|
1509
1509
|
function LspServer(transport) {
|
|
1510
|
-
this.
|
|
1511
|
-
this.
|
|
1510
|
+
this.v5l_1 = transport;
|
|
1511
|
+
this.w5l_1 = new DocumentStore();
|
|
1512
1512
|
var tmp = this;
|
|
1513
|
-
tmp.
|
|
1513
|
+
tmp.x5l_1 = Json(VOID, LspServer$json$lambda);
|
|
1514
1514
|
}
|
|
1515
|
-
protoOf(LspServer).
|
|
1516
|
-
this.
|
|
1515
|
+
protoOf(LspServer).h5n = function () {
|
|
1516
|
+
this.v5l_1.i5n(LspServer$onMessage$ref(this));
|
|
1517
1517
|
};
|
|
1518
1518
|
function SemanticTokenLegend() {
|
|
1519
1519
|
SemanticTokenLegend_instance = this;
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
-
this.
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1525
|
-
this.
|
|
1520
|
+
this.a5n_1 = 0;
|
|
1521
|
+
this.b5n_1 = 1;
|
|
1522
|
+
this.c5n_1 = 2;
|
|
1523
|
+
this.d5n_1 = 3;
|
|
1524
|
+
this.e5n_1 = 4;
|
|
1525
|
+
this.f5n_1 = listOf(['keyword', 'type', 'variable', 'method', 'operator']);
|
|
1526
1526
|
var tmp = this;
|
|
1527
1527
|
// Inline function 'kotlin.collections.listOf' call
|
|
1528
|
-
tmp.
|
|
1528
|
+
tmp.g5n_1 = emptyList();
|
|
1529
1529
|
}
|
|
1530
1530
|
var SemanticTokenLegend_instance;
|
|
1531
1531
|
function SemanticTokenLegend_getInstance() {
|
|
@@ -1677,36 +1677,36 @@ function $serializer() {
|
|
|
1677
1677
|
tmp0_serialDesc.k2c('params', true);
|
|
1678
1678
|
tmp0_serialDesc.k2c('result', true);
|
|
1679
1679
|
tmp0_serialDesc.k2c('error', true);
|
|
1680
|
-
this.
|
|
1680
|
+
this.j5n_1 = tmp0_serialDesc;
|
|
1681
1681
|
}
|
|
1682
|
-
protoOf($serializer).
|
|
1683
|
-
var tmp0_desc = this.
|
|
1682
|
+
protoOf($serializer).k5n = function (encoder, value) {
|
|
1683
|
+
var tmp0_desc = this.j5n_1;
|
|
1684
1684
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
1685
|
-
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.
|
|
1686
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
1685
|
+
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.y5l_1 === '2.0')) {
|
|
1686
|
+
tmp1_output.l26(tmp0_desc, 0, value.y5l_1);
|
|
1687
1687
|
}
|
|
1688
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
1689
|
-
tmp1_output.p26(tmp0_desc, 1, JsonPrimitiveSerializer_getInstance(), value.
|
|
1688
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.z5l_1 == null)) {
|
|
1689
|
+
tmp1_output.p26(tmp0_desc, 1, JsonPrimitiveSerializer_getInstance(), value.z5l_1);
|
|
1690
1690
|
}
|
|
1691
|
-
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.
|
|
1692
|
-
tmp1_output.p26(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
1691
|
+
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.a5m_1 == null)) {
|
|
1692
|
+
tmp1_output.p26(tmp0_desc, 2, StringSerializer_getInstance(), value.a5m_1);
|
|
1693
1693
|
}
|
|
1694
|
-
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.
|
|
1695
|
-
tmp1_output.p26(tmp0_desc, 3, JsonElementSerializer_getInstance(), value.
|
|
1694
|
+
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.b5m_1 == null)) {
|
|
1695
|
+
tmp1_output.p26(tmp0_desc, 3, JsonElementSerializer_getInstance(), value.b5m_1);
|
|
1696
1696
|
}
|
|
1697
|
-
if (tmp1_output.t26(tmp0_desc, 4) ? true : !(value.
|
|
1698
|
-
tmp1_output.p26(tmp0_desc, 4, JsonElementSerializer_getInstance(), value.
|
|
1697
|
+
if (tmp1_output.t26(tmp0_desc, 4) ? true : !(value.c5m_1 == null)) {
|
|
1698
|
+
tmp1_output.p26(tmp0_desc, 4, JsonElementSerializer_getInstance(), value.c5m_1);
|
|
1699
1699
|
}
|
|
1700
|
-
if (tmp1_output.t26(tmp0_desc, 5) ? true : !(value.
|
|
1701
|
-
tmp1_output.p26(tmp0_desc, 5, $serializer_getInstance_0(), value.
|
|
1700
|
+
if (tmp1_output.t26(tmp0_desc, 5) ? true : !(value.d5m_1 == null)) {
|
|
1701
|
+
tmp1_output.p26(tmp0_desc, 5, $serializer_getInstance_0(), value.d5m_1);
|
|
1702
1702
|
}
|
|
1703
1703
|
tmp1_output.x24(tmp0_desc);
|
|
1704
1704
|
};
|
|
1705
1705
|
protoOf($serializer).y21 = function (encoder, value) {
|
|
1706
|
-
return this.
|
|
1706
|
+
return this.k5n(encoder, value instanceof JsonRpcMessage ? value : THROW_CCE());
|
|
1707
1707
|
};
|
|
1708
1708
|
protoOf($serializer).z21 = function (decoder) {
|
|
1709
|
-
var tmp0_desc = this.
|
|
1709
|
+
var tmp0_desc = this.j5n_1;
|
|
1710
1710
|
var tmp1_flag = true;
|
|
1711
1711
|
var tmp2_index = 0;
|
|
1712
1712
|
var tmp3_bitMask0 = 0;
|
|
@@ -1769,7 +1769,7 @@ protoOf($serializer).z21 = function (decoder) {
|
|
|
1769
1769
|
return JsonRpcMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1770
1770
|
};
|
|
1771
1771
|
protoOf($serializer).x21 = function () {
|
|
1772
|
-
return this.
|
|
1772
|
+
return this.j5n_1;
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf($serializer).z2c = function () {
|
|
1775
1775
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1785,32 +1785,32 @@ function $serializer_getInstance() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
function JsonRpcMessage_init_$Init$(seen0, jsonrpc, id, method, params, result, error, serializationConstructorMarker, $this) {
|
|
1787
1787
|
if (!(0 === (0 & seen0))) {
|
|
1788
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance().
|
|
1788
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance().j5n_1);
|
|
1789
1789
|
}
|
|
1790
1790
|
if (0 === (seen0 & 1))
|
|
1791
|
-
$this.
|
|
1791
|
+
$this.y5l_1 = '2.0';
|
|
1792
1792
|
else
|
|
1793
|
-
$this.
|
|
1793
|
+
$this.y5l_1 = jsonrpc;
|
|
1794
1794
|
if (0 === (seen0 & 2))
|
|
1795
|
-
$this.
|
|
1795
|
+
$this.z5l_1 = null;
|
|
1796
1796
|
else
|
|
1797
|
-
$this.
|
|
1797
|
+
$this.z5l_1 = id;
|
|
1798
1798
|
if (0 === (seen0 & 4))
|
|
1799
|
-
$this.
|
|
1799
|
+
$this.a5m_1 = null;
|
|
1800
1800
|
else
|
|
1801
|
-
$this.
|
|
1801
|
+
$this.a5m_1 = method;
|
|
1802
1802
|
if (0 === (seen0 & 8))
|
|
1803
|
-
$this.
|
|
1803
|
+
$this.b5m_1 = null;
|
|
1804
1804
|
else
|
|
1805
|
-
$this.
|
|
1805
|
+
$this.b5m_1 = params;
|
|
1806
1806
|
if (0 === (seen0 & 16))
|
|
1807
|
-
$this.
|
|
1807
|
+
$this.c5m_1 = null;
|
|
1808
1808
|
else
|
|
1809
|
-
$this.
|
|
1809
|
+
$this.c5m_1 = result;
|
|
1810
1810
|
if (0 === (seen0 & 32))
|
|
1811
|
-
$this.
|
|
1811
|
+
$this.d5m_1 = null;
|
|
1812
1812
|
else
|
|
1813
|
-
$this.
|
|
1813
|
+
$this.d5m_1 = error;
|
|
1814
1814
|
return $this;
|
|
1815
1815
|
}
|
|
1816
1816
|
function JsonRpcMessage_init_$Create$(seen0, jsonrpc, id, method, params, result, error, serializationConstructorMarker) {
|
|
@@ -1823,29 +1823,29 @@ function JsonRpcMessage(jsonrpc, id, method, params, result, error) {
|
|
|
1823
1823
|
params = params === VOID ? null : params;
|
|
1824
1824
|
result = result === VOID ? null : result;
|
|
1825
1825
|
error = error === VOID ? null : error;
|
|
1826
|
-
this.
|
|
1827
|
-
this.
|
|
1828
|
-
this.
|
|
1829
|
-
this.
|
|
1830
|
-
this.
|
|
1831
|
-
this.
|
|
1826
|
+
this.y5l_1 = jsonrpc;
|
|
1827
|
+
this.z5l_1 = id;
|
|
1828
|
+
this.a5m_1 = method;
|
|
1829
|
+
this.b5m_1 = params;
|
|
1830
|
+
this.c5m_1 = result;
|
|
1831
|
+
this.d5m_1 = error;
|
|
1832
1832
|
}
|
|
1833
|
-
protoOf(JsonRpcMessage).
|
|
1834
|
-
return !(this.
|
|
1833
|
+
protoOf(JsonRpcMessage).f5m = function () {
|
|
1834
|
+
return !(this.z5l_1 == null) && !(this.a5m_1 == null);
|
|
1835
1835
|
};
|
|
1836
|
-
protoOf(JsonRpcMessage).
|
|
1837
|
-
return this.
|
|
1836
|
+
protoOf(JsonRpcMessage).e5m = function () {
|
|
1837
|
+
return this.z5l_1 == null && !(this.a5m_1 == null);
|
|
1838
1838
|
};
|
|
1839
1839
|
protoOf(JsonRpcMessage).toString = function () {
|
|
1840
|
-
return 'JsonRpcMessage(jsonrpc=' + this.
|
|
1840
|
+
return 'JsonRpcMessage(jsonrpc=' + this.y5l_1 + ', id=' + toString(this.z5l_1) + ', method=' + this.a5m_1 + ', params=' + toString(this.b5m_1) + ', result=' + toString(this.c5m_1) + ', error=' + toString(this.d5m_1) + ')';
|
|
1841
1841
|
};
|
|
1842
1842
|
protoOf(JsonRpcMessage).hashCode = function () {
|
|
1843
|
-
var result = getStringHashCode(this.
|
|
1844
|
-
result = imul(result, 31) + (this.
|
|
1845
|
-
result = imul(result, 31) + (this.
|
|
1846
|
-
result = imul(result, 31) + (this.
|
|
1847
|
-
result = imul(result, 31) + (this.
|
|
1848
|
-
result = imul(result, 31) + (this.
|
|
1843
|
+
var result = getStringHashCode(this.y5l_1);
|
|
1844
|
+
result = imul(result, 31) + (this.z5l_1 == null ? 0 : hashCode(this.z5l_1)) | 0;
|
|
1845
|
+
result = imul(result, 31) + (this.a5m_1 == null ? 0 : getStringHashCode(this.a5m_1)) | 0;
|
|
1846
|
+
result = imul(result, 31) + (this.b5m_1 == null ? 0 : hashCode(this.b5m_1)) | 0;
|
|
1847
|
+
result = imul(result, 31) + (this.c5m_1 == null ? 0 : hashCode(this.c5m_1)) | 0;
|
|
1848
|
+
result = imul(result, 31) + (this.d5m_1 == null ? 0 : this.d5m_1.hashCode()) | 0;
|
|
1849
1849
|
return result;
|
|
1850
1850
|
};
|
|
1851
1851
|
protoOf(JsonRpcMessage).equals = function (other) {
|
|
@@ -1853,26 +1853,26 @@ protoOf(JsonRpcMessage).equals = function (other) {
|
|
|
1853
1853
|
return true;
|
|
1854
1854
|
if (!(other instanceof JsonRpcMessage))
|
|
1855
1855
|
return false;
|
|
1856
|
-
if (!(this.
|
|
1856
|
+
if (!(this.y5l_1 === other.y5l_1))
|
|
1857
1857
|
return false;
|
|
1858
|
-
if (!equals(this.
|
|
1858
|
+
if (!equals(this.z5l_1, other.z5l_1))
|
|
1859
1859
|
return false;
|
|
1860
|
-
if (!(this.
|
|
1860
|
+
if (!(this.a5m_1 == other.a5m_1))
|
|
1861
1861
|
return false;
|
|
1862
|
-
if (!equals(this.
|
|
1862
|
+
if (!equals(this.b5m_1, other.b5m_1))
|
|
1863
1863
|
return false;
|
|
1864
|
-
if (!equals(this.
|
|
1864
|
+
if (!equals(this.c5m_1, other.c5m_1))
|
|
1865
1865
|
return false;
|
|
1866
|
-
if (!equals(this.
|
|
1866
|
+
if (!equals(this.d5m_1, other.d5m_1))
|
|
1867
1867
|
return false;
|
|
1868
1868
|
return true;
|
|
1869
1869
|
};
|
|
1870
1870
|
function Companion_0() {
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1874
|
-
this.
|
|
1875
|
-
this.
|
|
1871
|
+
this.l5n_1 = -32700;
|
|
1872
|
+
this.m5n_1 = -32600;
|
|
1873
|
+
this.n5n_1 = -32601;
|
|
1874
|
+
this.o5n_1 = -32602;
|
|
1875
|
+
this.p5n_1 = -32603;
|
|
1876
1876
|
}
|
|
1877
1877
|
var Companion_instance_1;
|
|
1878
1878
|
function Companion_getInstance_0() {
|
|
@@ -1884,23 +1884,23 @@ function $serializer_0() {
|
|
|
1884
1884
|
tmp0_serialDesc.k2c('code', false);
|
|
1885
1885
|
tmp0_serialDesc.k2c('message', false);
|
|
1886
1886
|
tmp0_serialDesc.k2c('data', true);
|
|
1887
|
-
this.
|
|
1887
|
+
this.q5n_1 = tmp0_serialDesc;
|
|
1888
1888
|
}
|
|
1889
|
-
protoOf($serializer_0).
|
|
1890
|
-
var tmp0_desc = this.
|
|
1889
|
+
protoOf($serializer_0).r5n = function (encoder, value) {
|
|
1890
|
+
var tmp0_desc = this.q5n_1;
|
|
1891
1891
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
1892
|
-
tmp1_output.g26(tmp0_desc, 0, value.
|
|
1893
|
-
tmp1_output.l26(tmp0_desc, 1, value.
|
|
1894
|
-
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.
|
|
1895
|
-
tmp1_output.p26(tmp0_desc, 2, JsonElementSerializer_getInstance(), value.
|
|
1892
|
+
tmp1_output.g26(tmp0_desc, 0, value.s5n_1);
|
|
1893
|
+
tmp1_output.l26(tmp0_desc, 1, value.t5n_1);
|
|
1894
|
+
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.u5n_1 == null)) {
|
|
1895
|
+
tmp1_output.p26(tmp0_desc, 2, JsonElementSerializer_getInstance(), value.u5n_1);
|
|
1896
1896
|
}
|
|
1897
1897
|
tmp1_output.x24(tmp0_desc);
|
|
1898
1898
|
};
|
|
1899
1899
|
protoOf($serializer_0).y21 = function (encoder, value) {
|
|
1900
|
-
return this.
|
|
1900
|
+
return this.r5n(encoder, value instanceof JsonRpcError ? value : THROW_CCE());
|
|
1901
1901
|
};
|
|
1902
1902
|
protoOf($serializer_0).z21 = function (decoder) {
|
|
1903
|
-
var tmp0_desc = this.
|
|
1903
|
+
var tmp0_desc = this.q5n_1;
|
|
1904
1904
|
var tmp1_flag = true;
|
|
1905
1905
|
var tmp2_index = 0;
|
|
1906
1906
|
var tmp3_bitMask0 = 0;
|
|
@@ -1942,7 +1942,7 @@ protoOf($serializer_0).z21 = function (decoder) {
|
|
|
1942
1942
|
return JsonRpcError_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1943
1943
|
};
|
|
1944
1944
|
protoOf($serializer_0).x21 = function () {
|
|
1945
|
-
return this.
|
|
1945
|
+
return this.q5n_1;
|
|
1946
1946
|
};
|
|
1947
1947
|
protoOf($serializer_0).z2c = function () {
|
|
1948
1948
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1958,14 +1958,14 @@ function $serializer_getInstance_0() {
|
|
|
1958
1958
|
}
|
|
1959
1959
|
function JsonRpcError_init_$Init$(seen0, code, message, data, serializationConstructorMarker, $this) {
|
|
1960
1960
|
if (!(3 === (3 & seen0))) {
|
|
1961
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
1961
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().q5n_1);
|
|
1962
1962
|
}
|
|
1963
|
-
$this.
|
|
1964
|
-
$this.
|
|
1963
|
+
$this.s5n_1 = code;
|
|
1964
|
+
$this.t5n_1 = message;
|
|
1965
1965
|
if (0 === (seen0 & 4))
|
|
1966
|
-
$this.
|
|
1966
|
+
$this.u5n_1 = null;
|
|
1967
1967
|
else
|
|
1968
|
-
$this.
|
|
1968
|
+
$this.u5n_1 = data;
|
|
1969
1969
|
return $this;
|
|
1970
1970
|
}
|
|
1971
1971
|
function JsonRpcError_init_$Create$(seen0, code, message, data, serializationConstructorMarker) {
|
|
@@ -1973,17 +1973,17 @@ function JsonRpcError_init_$Create$(seen0, code, message, data, serializationCon
|
|
|
1973
1973
|
}
|
|
1974
1974
|
function JsonRpcError(code, message, data) {
|
|
1975
1975
|
data = data === VOID ? null : data;
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1976
|
+
this.s5n_1 = code;
|
|
1977
|
+
this.t5n_1 = message;
|
|
1978
|
+
this.u5n_1 = data;
|
|
1979
1979
|
}
|
|
1980
1980
|
protoOf(JsonRpcError).toString = function () {
|
|
1981
|
-
return 'JsonRpcError(code=' + this.
|
|
1981
|
+
return 'JsonRpcError(code=' + this.s5n_1 + ', message=' + this.t5n_1 + ', data=' + toString(this.u5n_1) + ')';
|
|
1982
1982
|
};
|
|
1983
1983
|
protoOf(JsonRpcError).hashCode = function () {
|
|
1984
|
-
var result = this.
|
|
1985
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1986
|
-
result = imul(result, 31) + (this.
|
|
1984
|
+
var result = this.s5n_1;
|
|
1985
|
+
result = imul(result, 31) + getStringHashCode(this.t5n_1) | 0;
|
|
1986
|
+
result = imul(result, 31) + (this.u5n_1 == null ? 0 : hashCode(this.u5n_1)) | 0;
|
|
1987
1987
|
return result;
|
|
1988
1988
|
};
|
|
1989
1989
|
protoOf(JsonRpcError).equals = function (other) {
|
|
@@ -1991,11 +1991,11 @@ protoOf(JsonRpcError).equals = function (other) {
|
|
|
1991
1991
|
return true;
|
|
1992
1992
|
if (!(other instanceof JsonRpcError))
|
|
1993
1993
|
return false;
|
|
1994
|
-
if (!(this.
|
|
1994
|
+
if (!(this.s5n_1 === other.s5n_1))
|
|
1995
1995
|
return false;
|
|
1996
|
-
if (!(this.
|
|
1996
|
+
if (!(this.t5n_1 === other.t5n_1))
|
|
1997
1997
|
return false;
|
|
1998
|
-
if (!equals(this.
|
|
1998
|
+
if (!equals(this.u5n_1, other.u5n_1))
|
|
1999
1999
|
return false;
|
|
2000
2000
|
return true;
|
|
2001
2001
|
};
|
|
@@ -2010,22 +2010,22 @@ function $serializer_1() {
|
|
|
2010
2010
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.InitializeResult', this, 2);
|
|
2011
2011
|
tmp0_serialDesc.k2c('capabilities', false);
|
|
2012
2012
|
tmp0_serialDesc.k2c('serverInfo', true);
|
|
2013
|
-
this.
|
|
2013
|
+
this.v5n_1 = tmp0_serialDesc;
|
|
2014
2014
|
}
|
|
2015
|
-
protoOf($serializer_1).
|
|
2016
|
-
var tmp0_desc = this.
|
|
2015
|
+
protoOf($serializer_1).w5n = function (encoder, value) {
|
|
2016
|
+
var tmp0_desc = this.v5n_1;
|
|
2017
2017
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2018
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_19(), value.
|
|
2019
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
2020
|
-
tmp1_output.p26(tmp0_desc, 1, $serializer_getInstance_23(), value.
|
|
2018
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_19(), value.x5n_1);
|
|
2019
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.y5n_1 == null)) {
|
|
2020
|
+
tmp1_output.p26(tmp0_desc, 1, $serializer_getInstance_23(), value.y5n_1);
|
|
2021
2021
|
}
|
|
2022
2022
|
tmp1_output.x24(tmp0_desc);
|
|
2023
2023
|
};
|
|
2024
2024
|
protoOf($serializer_1).y21 = function (encoder, value) {
|
|
2025
|
-
return this.
|
|
2025
|
+
return this.w5n(encoder, value instanceof InitializeResult ? value : THROW_CCE());
|
|
2026
2026
|
};
|
|
2027
2027
|
protoOf($serializer_1).z21 = function (decoder) {
|
|
2028
|
-
var tmp0_desc = this.
|
|
2028
|
+
var tmp0_desc = this.v5n_1;
|
|
2029
2029
|
var tmp1_flag = true;
|
|
2030
2030
|
var tmp2_index = 0;
|
|
2031
2031
|
var tmp3_bitMask0 = 0;
|
|
@@ -2060,7 +2060,7 @@ protoOf($serializer_1).z21 = function (decoder) {
|
|
|
2060
2060
|
return InitializeResult_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2061
2061
|
};
|
|
2062
2062
|
protoOf($serializer_1).x21 = function () {
|
|
2063
|
-
return this.
|
|
2063
|
+
return this.v5n_1;
|
|
2064
2064
|
};
|
|
2065
2065
|
protoOf($serializer_1).z2c = function () {
|
|
2066
2066
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2076,13 +2076,13 @@ function $serializer_getInstance_1() {
|
|
|
2076
2076
|
}
|
|
2077
2077
|
function InitializeResult_init_$Init$(seen0, capabilities, serverInfo, serializationConstructorMarker, $this) {
|
|
2078
2078
|
if (!(1 === (1 & seen0))) {
|
|
2079
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
2079
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().v5n_1);
|
|
2080
2080
|
}
|
|
2081
|
-
$this.
|
|
2081
|
+
$this.x5n_1 = capabilities;
|
|
2082
2082
|
if (0 === (seen0 & 2))
|
|
2083
|
-
$this.
|
|
2083
|
+
$this.y5n_1 = null;
|
|
2084
2084
|
else
|
|
2085
|
-
$this.
|
|
2085
|
+
$this.y5n_1 = serverInfo;
|
|
2086
2086
|
return $this;
|
|
2087
2087
|
}
|
|
2088
2088
|
function InitializeResult_init_$Create$(seen0, capabilities, serverInfo, serializationConstructorMarker) {
|
|
@@ -2090,15 +2090,15 @@ function InitializeResult_init_$Create$(seen0, capabilities, serverInfo, seriali
|
|
|
2090
2090
|
}
|
|
2091
2091
|
function InitializeResult(capabilities, serverInfo) {
|
|
2092
2092
|
serverInfo = serverInfo === VOID ? null : serverInfo;
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2093
|
+
this.x5n_1 = capabilities;
|
|
2094
|
+
this.y5n_1 = serverInfo;
|
|
2095
2095
|
}
|
|
2096
2096
|
protoOf(InitializeResult).toString = function () {
|
|
2097
|
-
return 'InitializeResult(capabilities=' + this.
|
|
2097
|
+
return 'InitializeResult(capabilities=' + this.x5n_1.toString() + ', serverInfo=' + toString(this.y5n_1) + ')';
|
|
2098
2098
|
};
|
|
2099
2099
|
protoOf(InitializeResult).hashCode = function () {
|
|
2100
|
-
var result = this.
|
|
2101
|
-
result = imul(result, 31) + (this.
|
|
2100
|
+
var result = this.x5n_1.hashCode();
|
|
2101
|
+
result = imul(result, 31) + (this.y5n_1 == null ? 0 : this.y5n_1.hashCode()) | 0;
|
|
2102
2102
|
return result;
|
|
2103
2103
|
};
|
|
2104
2104
|
protoOf(InitializeResult).equals = function (other) {
|
|
@@ -2106,9 +2106,9 @@ protoOf(InitializeResult).equals = function (other) {
|
|
|
2106
2106
|
return true;
|
|
2107
2107
|
if (!(other instanceof InitializeResult))
|
|
2108
2108
|
return false;
|
|
2109
|
-
if (!this.
|
|
2109
|
+
if (!this.x5n_1.equals(other.x5n_1))
|
|
2110
2110
|
return false;
|
|
2111
|
-
if (!equals(this.
|
|
2111
|
+
if (!equals(this.y5n_1, other.y5n_1))
|
|
2112
2112
|
return false;
|
|
2113
2113
|
return true;
|
|
2114
2114
|
};
|
|
@@ -2122,19 +2122,19 @@ function $serializer_2() {
|
|
|
2122
2122
|
$serializer_instance_2 = this;
|
|
2123
2123
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.SemanticTokensParams', this, 1);
|
|
2124
2124
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
2125
|
-
this.
|
|
2125
|
+
this.z5n_1 = tmp0_serialDesc;
|
|
2126
2126
|
}
|
|
2127
|
-
protoOf($serializer_2).
|
|
2128
|
-
var tmp0_desc = this.
|
|
2127
|
+
protoOf($serializer_2).a5o = function (encoder, value) {
|
|
2128
|
+
var tmp0_desc = this.z5n_1;
|
|
2129
2129
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2130
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.
|
|
2130
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.i5m_1);
|
|
2131
2131
|
tmp1_output.x24(tmp0_desc);
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf($serializer_2).y21 = function (encoder, value) {
|
|
2134
|
-
return this.
|
|
2134
|
+
return this.a5o(encoder, value instanceof SemanticTokensParams ? value : THROW_CCE());
|
|
2135
2135
|
};
|
|
2136
2136
|
protoOf($serializer_2).z21 = function (decoder) {
|
|
2137
|
-
var tmp0_desc = this.
|
|
2137
|
+
var tmp0_desc = this.z5n_1;
|
|
2138
2138
|
var tmp1_flag = true;
|
|
2139
2139
|
var tmp2_index = 0;
|
|
2140
2140
|
var tmp3_bitMask0 = 0;
|
|
@@ -2162,7 +2162,7 @@ protoOf($serializer_2).z21 = function (decoder) {
|
|
|
2162
2162
|
return SemanticTokensParams_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2163
2163
|
};
|
|
2164
2164
|
protoOf($serializer_2).x21 = function () {
|
|
2165
|
-
return this.
|
|
2165
|
+
return this.z5n_1;
|
|
2166
2166
|
};
|
|
2167
2167
|
protoOf($serializer_2).z2c = function () {
|
|
2168
2168
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2178,29 +2178,29 @@ function $serializer_getInstance_2() {
|
|
|
2178
2178
|
}
|
|
2179
2179
|
function SemanticTokensParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, $this) {
|
|
2180
2180
|
if (!(1 === (1 & seen0))) {
|
|
2181
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2181
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().z5n_1);
|
|
2182
2182
|
}
|
|
2183
|
-
$this.
|
|
2183
|
+
$this.i5m_1 = textDocument;
|
|
2184
2184
|
return $this;
|
|
2185
2185
|
}
|
|
2186
2186
|
function SemanticTokensParams_init_$Create$(seen0, textDocument, serializationConstructorMarker) {
|
|
2187
2187
|
return SemanticTokensParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, objectCreate(protoOf(SemanticTokensParams)));
|
|
2188
2188
|
}
|
|
2189
2189
|
function SemanticTokensParams(textDocument) {
|
|
2190
|
-
this.
|
|
2190
|
+
this.i5m_1 = textDocument;
|
|
2191
2191
|
}
|
|
2192
2192
|
protoOf(SemanticTokensParams).toString = function () {
|
|
2193
|
-
return 'SemanticTokensParams(textDocument=' + this.
|
|
2193
|
+
return 'SemanticTokensParams(textDocument=' + this.i5m_1.toString() + ')';
|
|
2194
2194
|
};
|
|
2195
2195
|
protoOf(SemanticTokensParams).hashCode = function () {
|
|
2196
|
-
return this.
|
|
2196
|
+
return this.i5m_1.hashCode();
|
|
2197
2197
|
};
|
|
2198
2198
|
protoOf(SemanticTokensParams).equals = function (other) {
|
|
2199
2199
|
if (this === other)
|
|
2200
2200
|
return true;
|
|
2201
2201
|
if (!(other instanceof SemanticTokensParams))
|
|
2202
2202
|
return false;
|
|
2203
|
-
if (!this.
|
|
2203
|
+
if (!this.i5m_1.equals(other.i5m_1))
|
|
2204
2204
|
return false;
|
|
2205
2205
|
return true;
|
|
2206
2206
|
};
|
|
@@ -2208,19 +2208,19 @@ function $serializer_3() {
|
|
|
2208
2208
|
$serializer_instance_3 = this;
|
|
2209
2209
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.TextDocumentIdentifier', this, 1);
|
|
2210
2210
|
tmp0_serialDesc.k2c('uri', false);
|
|
2211
|
-
this.
|
|
2211
|
+
this.b5o_1 = tmp0_serialDesc;
|
|
2212
2212
|
}
|
|
2213
|
-
protoOf($serializer_3).
|
|
2214
|
-
var tmp0_desc = this.
|
|
2213
|
+
protoOf($serializer_3).c5o = function (encoder, value) {
|
|
2214
|
+
var tmp0_desc = this.b5o_1;
|
|
2215
2215
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2216
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
2216
|
+
tmp1_output.l26(tmp0_desc, 0, value.h5m_1);
|
|
2217
2217
|
tmp1_output.x24(tmp0_desc);
|
|
2218
2218
|
};
|
|
2219
2219
|
protoOf($serializer_3).y21 = function (encoder, value) {
|
|
2220
|
-
return this.
|
|
2220
|
+
return this.c5o(encoder, value instanceof TextDocumentIdentifier ? value : THROW_CCE());
|
|
2221
2221
|
};
|
|
2222
2222
|
protoOf($serializer_3).z21 = function (decoder) {
|
|
2223
|
-
var tmp0_desc = this.
|
|
2223
|
+
var tmp0_desc = this.b5o_1;
|
|
2224
2224
|
var tmp1_flag = true;
|
|
2225
2225
|
var tmp2_index = 0;
|
|
2226
2226
|
var tmp3_bitMask0 = 0;
|
|
@@ -2248,7 +2248,7 @@ protoOf($serializer_3).z21 = function (decoder) {
|
|
|
2248
2248
|
return TextDocumentIdentifier_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2249
2249
|
};
|
|
2250
2250
|
protoOf($serializer_3).x21 = function () {
|
|
2251
|
-
return this.
|
|
2251
|
+
return this.b5o_1;
|
|
2252
2252
|
};
|
|
2253
2253
|
protoOf($serializer_3).z2c = function () {
|
|
2254
2254
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2264,9 +2264,9 @@ function $serializer_getInstance_3() {
|
|
|
2264
2264
|
}
|
|
2265
2265
|
function TextDocumentIdentifier_init_$Init$(seen0, uri, serializationConstructorMarker, $this) {
|
|
2266
2266
|
if (!(1 === (1 & seen0))) {
|
|
2267
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2267
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().b5o_1);
|
|
2268
2268
|
}
|
|
2269
|
-
$this.
|
|
2269
|
+
$this.h5m_1 = uri;
|
|
2270
2270
|
return $this;
|
|
2271
2271
|
}
|
|
2272
2272
|
function TextDocumentIdentifier_init_$Create$(seen0, uri, serializationConstructorMarker) {
|
|
@@ -2275,17 +2275,17 @@ function TextDocumentIdentifier_init_$Create$(seen0, uri, serializationConstruct
|
|
|
2275
2275
|
function TextDocumentIdentifier() {
|
|
2276
2276
|
}
|
|
2277
2277
|
protoOf(TextDocumentIdentifier).toString = function () {
|
|
2278
|
-
return 'TextDocumentIdentifier(uri=' + this.
|
|
2278
|
+
return 'TextDocumentIdentifier(uri=' + this.h5m_1 + ')';
|
|
2279
2279
|
};
|
|
2280
2280
|
protoOf(TextDocumentIdentifier).hashCode = function () {
|
|
2281
|
-
return getStringHashCode(this.
|
|
2281
|
+
return getStringHashCode(this.h5m_1);
|
|
2282
2282
|
};
|
|
2283
2283
|
protoOf(TextDocumentIdentifier).equals = function (other) {
|
|
2284
2284
|
if (this === other)
|
|
2285
2285
|
return true;
|
|
2286
2286
|
if (!(other instanceof TextDocumentIdentifier))
|
|
2287
2287
|
return false;
|
|
2288
|
-
if (!(this.
|
|
2288
|
+
if (!(this.h5m_1 === other.h5m_1))
|
|
2289
2289
|
return false;
|
|
2290
2290
|
return true;
|
|
2291
2291
|
};
|
|
@@ -2299,7 +2299,7 @@ function Companion_3() {
|
|
|
2299
2299
|
// Inline function 'kotlin.arrayOf' call
|
|
2300
2300
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2301
2301
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2302
|
-
tmp.
|
|
2302
|
+
tmp.d5o_1 = [lazy(tmp_0, SemanticTokens$Companion$$childSerializers$_anonymous__7msx0q)];
|
|
2303
2303
|
}
|
|
2304
2304
|
var Companion_instance_4;
|
|
2305
2305
|
function Companion_getInstance_3() {
|
|
@@ -2311,26 +2311,26 @@ function $serializer_4() {
|
|
|
2311
2311
|
$serializer_instance_4 = this;
|
|
2312
2312
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.SemanticTokens', this, 1);
|
|
2313
2313
|
tmp0_serialDesc.k2c('data', false);
|
|
2314
|
-
this.
|
|
2314
|
+
this.e5o_1 = tmp0_serialDesc;
|
|
2315
2315
|
}
|
|
2316
|
-
protoOf($serializer_4).
|
|
2317
|
-
var tmp0_desc = this.
|
|
2316
|
+
protoOf($serializer_4).f5o = function (encoder, value) {
|
|
2317
|
+
var tmp0_desc = this.e5o_1;
|
|
2318
2318
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2319
|
-
var tmp2_cached = Companion_getInstance_3().
|
|
2320
|
-
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.
|
|
2319
|
+
var tmp2_cached = Companion_getInstance_3().d5o_1;
|
|
2320
|
+
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.g5o_1);
|
|
2321
2321
|
tmp1_output.x24(tmp0_desc);
|
|
2322
2322
|
};
|
|
2323
2323
|
protoOf($serializer_4).y21 = function (encoder, value) {
|
|
2324
|
-
return this.
|
|
2324
|
+
return this.f5o(encoder, value instanceof SemanticTokens ? value : THROW_CCE());
|
|
2325
2325
|
};
|
|
2326
2326
|
protoOf($serializer_4).z21 = function (decoder) {
|
|
2327
|
-
var tmp0_desc = this.
|
|
2327
|
+
var tmp0_desc = this.e5o_1;
|
|
2328
2328
|
var tmp1_flag = true;
|
|
2329
2329
|
var tmp2_index = 0;
|
|
2330
2330
|
var tmp3_bitMask0 = 0;
|
|
2331
2331
|
var tmp4_local0 = null;
|
|
2332
2332
|
var tmp5_input = decoder.w24(tmp0_desc);
|
|
2333
|
-
var tmp6_cached = Companion_getInstance_3().
|
|
2333
|
+
var tmp6_cached = Companion_getInstance_3().d5o_1;
|
|
2334
2334
|
if (tmp5_input.m25()) {
|
|
2335
2335
|
tmp4_local0 = tmp5_input.i25(tmp0_desc, 0, tmp6_cached[0].o1(), tmp4_local0);
|
|
2336
2336
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2353,13 +2353,13 @@ protoOf($serializer_4).z21 = function (decoder) {
|
|
|
2353
2353
|
return SemanticTokens_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2354
2354
|
};
|
|
2355
2355
|
protoOf($serializer_4).x21 = function () {
|
|
2356
|
-
return this.
|
|
2356
|
+
return this.e5o_1;
|
|
2357
2357
|
};
|
|
2358
2358
|
protoOf($serializer_4).z2c = function () {
|
|
2359
2359
|
// Inline function 'kotlin.arrayOf' call
|
|
2360
2360
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2361
2361
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2362
|
-
return [Companion_getInstance_3().
|
|
2362
|
+
return [Companion_getInstance_3().d5o_1[0].o1()];
|
|
2363
2363
|
};
|
|
2364
2364
|
var $serializer_instance_4;
|
|
2365
2365
|
function $serializer_getInstance_4() {
|
|
@@ -2369,9 +2369,9 @@ function $serializer_getInstance_4() {
|
|
|
2369
2369
|
}
|
|
2370
2370
|
function SemanticTokens_init_$Init$(seen0, data, serializationConstructorMarker, $this) {
|
|
2371
2371
|
if (!(1 === (1 & seen0))) {
|
|
2372
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_4().
|
|
2372
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_4().e5o_1);
|
|
2373
2373
|
}
|
|
2374
|
-
$this.
|
|
2374
|
+
$this.g5o_1 = data;
|
|
2375
2375
|
return $this;
|
|
2376
2376
|
}
|
|
2377
2377
|
function SemanticTokens_init_$Create$(seen0, data, serializationConstructorMarker) {
|
|
@@ -2379,20 +2379,20 @@ function SemanticTokens_init_$Create$(seen0, data, serializationConstructorMarke
|
|
|
2379
2379
|
}
|
|
2380
2380
|
function SemanticTokens(data) {
|
|
2381
2381
|
Companion_getInstance_3();
|
|
2382
|
-
this.
|
|
2382
|
+
this.g5o_1 = data;
|
|
2383
2383
|
}
|
|
2384
2384
|
protoOf(SemanticTokens).toString = function () {
|
|
2385
|
-
return 'SemanticTokens(data=' + toString_0(this.
|
|
2385
|
+
return 'SemanticTokens(data=' + toString_0(this.g5o_1) + ')';
|
|
2386
2386
|
};
|
|
2387
2387
|
protoOf(SemanticTokens).hashCode = function () {
|
|
2388
|
-
return hashCode(this.
|
|
2388
|
+
return hashCode(this.g5o_1);
|
|
2389
2389
|
};
|
|
2390
2390
|
protoOf(SemanticTokens).equals = function (other) {
|
|
2391
2391
|
if (this === other)
|
|
2392
2392
|
return true;
|
|
2393
2393
|
if (!(other instanceof SemanticTokens))
|
|
2394
2394
|
return false;
|
|
2395
|
-
if (!equals(this.
|
|
2395
|
+
if (!equals(this.g5o_1, other.g5o_1))
|
|
2396
2396
|
return false;
|
|
2397
2397
|
return true;
|
|
2398
2398
|
};
|
|
@@ -2407,20 +2407,20 @@ function $serializer_5() {
|
|
|
2407
2407
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.TextDocumentPositionParams', this, 2);
|
|
2408
2408
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
2409
2409
|
tmp0_serialDesc.k2c('position', false);
|
|
2410
|
-
this.
|
|
2410
|
+
this.h5o_1 = tmp0_serialDesc;
|
|
2411
2411
|
}
|
|
2412
|
-
protoOf($serializer_5).
|
|
2413
|
-
var tmp0_desc = this.
|
|
2412
|
+
protoOf($serializer_5).i5o = function (encoder, value) {
|
|
2413
|
+
var tmp0_desc = this.h5o_1;
|
|
2414
2414
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2415
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.
|
|
2416
|
-
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.
|
|
2415
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.j5m_1);
|
|
2416
|
+
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.k5m_1);
|
|
2417
2417
|
tmp1_output.x24(tmp0_desc);
|
|
2418
2418
|
};
|
|
2419
2419
|
protoOf($serializer_5).y21 = function (encoder, value) {
|
|
2420
|
-
return this.
|
|
2420
|
+
return this.i5o(encoder, value instanceof TextDocumentPositionParams ? value : THROW_CCE());
|
|
2421
2421
|
};
|
|
2422
2422
|
protoOf($serializer_5).z21 = function (decoder) {
|
|
2423
|
-
var tmp0_desc = this.
|
|
2423
|
+
var tmp0_desc = this.h5o_1;
|
|
2424
2424
|
var tmp1_flag = true;
|
|
2425
2425
|
var tmp2_index = 0;
|
|
2426
2426
|
var tmp3_bitMask0 = 0;
|
|
@@ -2455,7 +2455,7 @@ protoOf($serializer_5).z21 = function (decoder) {
|
|
|
2455
2455
|
return TextDocumentPositionParams_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2456
2456
|
};
|
|
2457
2457
|
protoOf($serializer_5).x21 = function () {
|
|
2458
|
-
return this.
|
|
2458
|
+
return this.h5o_1;
|
|
2459
2459
|
};
|
|
2460
2460
|
protoOf($serializer_5).z2c = function () {
|
|
2461
2461
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2471,25 +2471,25 @@ function $serializer_getInstance_5() {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
function TextDocumentPositionParams_init_$Init$(seen0, textDocument, position, serializationConstructorMarker, $this) {
|
|
2473
2473
|
if (!(3 === (3 & seen0))) {
|
|
2474
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2474
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().h5o_1);
|
|
2475
2475
|
}
|
|
2476
|
-
$this.
|
|
2477
|
-
$this.
|
|
2476
|
+
$this.j5m_1 = textDocument;
|
|
2477
|
+
$this.k5m_1 = position;
|
|
2478
2478
|
return $this;
|
|
2479
2479
|
}
|
|
2480
2480
|
function TextDocumentPositionParams_init_$Create$(seen0, textDocument, position, serializationConstructorMarker) {
|
|
2481
2481
|
return TextDocumentPositionParams_init_$Init$(seen0, textDocument, position, serializationConstructorMarker, objectCreate(protoOf(TextDocumentPositionParams)));
|
|
2482
2482
|
}
|
|
2483
2483
|
function TextDocumentPositionParams(textDocument, position) {
|
|
2484
|
-
this.
|
|
2485
|
-
this.
|
|
2484
|
+
this.j5m_1 = textDocument;
|
|
2485
|
+
this.k5m_1 = position;
|
|
2486
2486
|
}
|
|
2487
2487
|
protoOf(TextDocumentPositionParams).toString = function () {
|
|
2488
|
-
return 'TextDocumentPositionParams(textDocument=' + this.
|
|
2488
|
+
return 'TextDocumentPositionParams(textDocument=' + this.j5m_1.toString() + ', position=' + this.k5m_1.toString() + ')';
|
|
2489
2489
|
};
|
|
2490
2490
|
protoOf(TextDocumentPositionParams).hashCode = function () {
|
|
2491
|
-
var result = this.
|
|
2492
|
-
result = imul(result, 31) + this.
|
|
2491
|
+
var result = this.j5m_1.hashCode();
|
|
2492
|
+
result = imul(result, 31) + this.k5m_1.hashCode() | 0;
|
|
2493
2493
|
return result;
|
|
2494
2494
|
};
|
|
2495
2495
|
protoOf(TextDocumentPositionParams).equals = function (other) {
|
|
@@ -2497,9 +2497,9 @@ protoOf(TextDocumentPositionParams).equals = function (other) {
|
|
|
2497
2497
|
return true;
|
|
2498
2498
|
if (!(other instanceof TextDocumentPositionParams))
|
|
2499
2499
|
return false;
|
|
2500
|
-
if (!this.
|
|
2500
|
+
if (!this.j5m_1.equals(other.j5m_1))
|
|
2501
2501
|
return false;
|
|
2502
|
-
if (!this.
|
|
2502
|
+
if (!this.k5m_1.equals(other.k5m_1))
|
|
2503
2503
|
return false;
|
|
2504
2504
|
return true;
|
|
2505
2505
|
};
|
|
@@ -2514,20 +2514,20 @@ function $serializer_6() {
|
|
|
2514
2514
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.Location', this, 2);
|
|
2515
2515
|
tmp0_serialDesc.k2c('uri', false);
|
|
2516
2516
|
tmp0_serialDesc.k2c('range', false);
|
|
2517
|
-
this.
|
|
2517
|
+
this.j5o_1 = tmp0_serialDesc;
|
|
2518
2518
|
}
|
|
2519
|
-
protoOf($serializer_6).
|
|
2520
|
-
var tmp0_desc = this.
|
|
2519
|
+
protoOf($serializer_6).k5o = function (encoder, value) {
|
|
2520
|
+
var tmp0_desc = this.j5o_1;
|
|
2521
2521
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2522
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
2523
|
-
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_8(), value.
|
|
2522
|
+
tmp1_output.l26(tmp0_desc, 0, value.l5o_1);
|
|
2523
|
+
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_8(), value.m5o_1);
|
|
2524
2524
|
tmp1_output.x24(tmp0_desc);
|
|
2525
2525
|
};
|
|
2526
2526
|
protoOf($serializer_6).y21 = function (encoder, value) {
|
|
2527
|
-
return this.
|
|
2527
|
+
return this.k5o(encoder, value instanceof Location ? value : THROW_CCE());
|
|
2528
2528
|
};
|
|
2529
2529
|
protoOf($serializer_6).z21 = function (decoder) {
|
|
2530
|
-
var tmp0_desc = this.
|
|
2530
|
+
var tmp0_desc = this.j5o_1;
|
|
2531
2531
|
var tmp1_flag = true;
|
|
2532
2532
|
var tmp2_index = 0;
|
|
2533
2533
|
var tmp3_bitMask0 = 0;
|
|
@@ -2562,7 +2562,7 @@ protoOf($serializer_6).z21 = function (decoder) {
|
|
|
2562
2562
|
return Location_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2563
2563
|
};
|
|
2564
2564
|
protoOf($serializer_6).x21 = function () {
|
|
2565
|
-
return this.
|
|
2565
|
+
return this.j5o_1;
|
|
2566
2566
|
};
|
|
2567
2567
|
protoOf($serializer_6).z2c = function () {
|
|
2568
2568
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2578,25 +2578,25 @@ function $serializer_getInstance_6() {
|
|
|
2578
2578
|
}
|
|
2579
2579
|
function Location_init_$Init$(seen0, uri, range, serializationConstructorMarker, $this) {
|
|
2580
2580
|
if (!(3 === (3 & seen0))) {
|
|
2581
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_6().
|
|
2581
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_6().j5o_1);
|
|
2582
2582
|
}
|
|
2583
|
-
$this.
|
|
2584
|
-
$this.
|
|
2583
|
+
$this.l5o_1 = uri;
|
|
2584
|
+
$this.m5o_1 = range;
|
|
2585
2585
|
return $this;
|
|
2586
2586
|
}
|
|
2587
2587
|
function Location_init_$Create$(seen0, uri, range, serializationConstructorMarker) {
|
|
2588
2588
|
return Location_init_$Init$(seen0, uri, range, serializationConstructorMarker, objectCreate(protoOf(Location)));
|
|
2589
2589
|
}
|
|
2590
2590
|
function Location(uri, range) {
|
|
2591
|
-
this.
|
|
2592
|
-
this.
|
|
2591
|
+
this.l5o_1 = uri;
|
|
2592
|
+
this.m5o_1 = range;
|
|
2593
2593
|
}
|
|
2594
2594
|
protoOf(Location).toString = function () {
|
|
2595
|
-
return 'Location(uri=' + this.
|
|
2595
|
+
return 'Location(uri=' + this.l5o_1 + ', range=' + this.m5o_1.toString() + ')';
|
|
2596
2596
|
};
|
|
2597
2597
|
protoOf(Location).hashCode = function () {
|
|
2598
|
-
var result = getStringHashCode(this.
|
|
2599
|
-
result = imul(result, 31) + this.
|
|
2598
|
+
var result = getStringHashCode(this.l5o_1);
|
|
2599
|
+
result = imul(result, 31) + this.m5o_1.hashCode() | 0;
|
|
2600
2600
|
return result;
|
|
2601
2601
|
};
|
|
2602
2602
|
protoOf(Location).equals = function (other) {
|
|
@@ -2604,9 +2604,9 @@ protoOf(Location).equals = function (other) {
|
|
|
2604
2604
|
return true;
|
|
2605
2605
|
if (!(other instanceof Location))
|
|
2606
2606
|
return false;
|
|
2607
|
-
if (!(this.
|
|
2607
|
+
if (!(this.l5o_1 === other.l5o_1))
|
|
2608
2608
|
return false;
|
|
2609
|
-
if (!this.
|
|
2609
|
+
if (!this.m5o_1.equals(other.m5o_1))
|
|
2610
2610
|
return false;
|
|
2611
2611
|
return true;
|
|
2612
2612
|
};
|
|
@@ -2621,20 +2621,20 @@ function $serializer_7() {
|
|
|
2621
2621
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.Position', this, 2);
|
|
2622
2622
|
tmp0_serialDesc.k2c('line', false);
|
|
2623
2623
|
tmp0_serialDesc.k2c('character', false);
|
|
2624
|
-
this.
|
|
2624
|
+
this.n5o_1 = tmp0_serialDesc;
|
|
2625
2625
|
}
|
|
2626
|
-
protoOf($serializer_7).
|
|
2627
|
-
var tmp0_desc = this.
|
|
2626
|
+
protoOf($serializer_7).o5o = function (encoder, value) {
|
|
2627
|
+
var tmp0_desc = this.n5o_1;
|
|
2628
2628
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2629
|
-
tmp1_output.g26(tmp0_desc, 0, value.
|
|
2630
|
-
tmp1_output.g26(tmp0_desc, 1, value.
|
|
2629
|
+
tmp1_output.g26(tmp0_desc, 0, value.o5l_1);
|
|
2630
|
+
tmp1_output.g26(tmp0_desc, 1, value.p5l_1);
|
|
2631
2631
|
tmp1_output.x24(tmp0_desc);
|
|
2632
2632
|
};
|
|
2633
2633
|
protoOf($serializer_7).y21 = function (encoder, value) {
|
|
2634
|
-
return this.
|
|
2634
|
+
return this.o5o(encoder, value instanceof Position ? value : THROW_CCE());
|
|
2635
2635
|
};
|
|
2636
2636
|
protoOf($serializer_7).z21 = function (decoder) {
|
|
2637
|
-
var tmp0_desc = this.
|
|
2637
|
+
var tmp0_desc = this.n5o_1;
|
|
2638
2638
|
var tmp1_flag = true;
|
|
2639
2639
|
var tmp2_index = 0;
|
|
2640
2640
|
var tmp3_bitMask0 = 0;
|
|
@@ -2669,7 +2669,7 @@ protoOf($serializer_7).z21 = function (decoder) {
|
|
|
2669
2669
|
return Position_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2670
2670
|
};
|
|
2671
2671
|
protoOf($serializer_7).x21 = function () {
|
|
2672
|
-
return this.
|
|
2672
|
+
return this.n5o_1;
|
|
2673
2673
|
};
|
|
2674
2674
|
protoOf($serializer_7).z2c = function () {
|
|
2675
2675
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2685,25 +2685,25 @@ function $serializer_getInstance_7() {
|
|
|
2685
2685
|
}
|
|
2686
2686
|
function Position_init_$Init$(seen0, line, character, serializationConstructorMarker, $this) {
|
|
2687
2687
|
if (!(3 === (3 & seen0))) {
|
|
2688
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_7().
|
|
2688
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_7().n5o_1);
|
|
2689
2689
|
}
|
|
2690
|
-
$this.
|
|
2691
|
-
$this.
|
|
2690
|
+
$this.o5l_1 = line;
|
|
2691
|
+
$this.p5l_1 = character;
|
|
2692
2692
|
return $this;
|
|
2693
2693
|
}
|
|
2694
2694
|
function Position_init_$Create$(seen0, line, character, serializationConstructorMarker) {
|
|
2695
2695
|
return Position_init_$Init$(seen0, line, character, serializationConstructorMarker, objectCreate(protoOf(Position)));
|
|
2696
2696
|
}
|
|
2697
2697
|
function Position(line, character) {
|
|
2698
|
-
this.
|
|
2699
|
-
this.
|
|
2698
|
+
this.o5l_1 = line;
|
|
2699
|
+
this.p5l_1 = character;
|
|
2700
2700
|
}
|
|
2701
2701
|
protoOf(Position).toString = function () {
|
|
2702
|
-
return 'Position(line=' + this.
|
|
2702
|
+
return 'Position(line=' + this.o5l_1 + ', character=' + this.p5l_1 + ')';
|
|
2703
2703
|
};
|
|
2704
2704
|
protoOf(Position).hashCode = function () {
|
|
2705
|
-
var result = this.
|
|
2706
|
-
result = imul(result, 31) + this.
|
|
2705
|
+
var result = this.o5l_1;
|
|
2706
|
+
result = imul(result, 31) + this.p5l_1 | 0;
|
|
2707
2707
|
return result;
|
|
2708
2708
|
};
|
|
2709
2709
|
protoOf(Position).equals = function (other) {
|
|
@@ -2711,9 +2711,9 @@ protoOf(Position).equals = function (other) {
|
|
|
2711
2711
|
return true;
|
|
2712
2712
|
if (!(other instanceof Position))
|
|
2713
2713
|
return false;
|
|
2714
|
-
if (!(this.
|
|
2714
|
+
if (!(this.o5l_1 === other.o5l_1))
|
|
2715
2715
|
return false;
|
|
2716
|
-
if (!(this.
|
|
2716
|
+
if (!(this.p5l_1 === other.p5l_1))
|
|
2717
2717
|
return false;
|
|
2718
2718
|
return true;
|
|
2719
2719
|
};
|
|
@@ -2728,20 +2728,20 @@ function $serializer_8() {
|
|
|
2728
2728
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.Range', this, 2);
|
|
2729
2729
|
tmp0_serialDesc.k2c('start', false);
|
|
2730
2730
|
tmp0_serialDesc.k2c('end', false);
|
|
2731
|
-
this.
|
|
2731
|
+
this.p5o_1 = tmp0_serialDesc;
|
|
2732
2732
|
}
|
|
2733
|
-
protoOf($serializer_8).
|
|
2734
|
-
var tmp0_desc = this.
|
|
2733
|
+
protoOf($serializer_8).q5o = function (encoder, value) {
|
|
2734
|
+
var tmp0_desc = this.p5o_1;
|
|
2735
2735
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2736
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_7(), value.
|
|
2737
|
-
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.
|
|
2736
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_7(), value.r5o_1);
|
|
2737
|
+
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.s5o_1);
|
|
2738
2738
|
tmp1_output.x24(tmp0_desc);
|
|
2739
2739
|
};
|
|
2740
2740
|
protoOf($serializer_8).y21 = function (encoder, value) {
|
|
2741
|
-
return this.
|
|
2741
|
+
return this.q5o(encoder, value instanceof Range ? value : THROW_CCE());
|
|
2742
2742
|
};
|
|
2743
2743
|
protoOf($serializer_8).z21 = function (decoder) {
|
|
2744
|
-
var tmp0_desc = this.
|
|
2744
|
+
var tmp0_desc = this.p5o_1;
|
|
2745
2745
|
var tmp1_flag = true;
|
|
2746
2746
|
var tmp2_index = 0;
|
|
2747
2747
|
var tmp3_bitMask0 = 0;
|
|
@@ -2776,7 +2776,7 @@ protoOf($serializer_8).z21 = function (decoder) {
|
|
|
2776
2776
|
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2777
2777
|
};
|
|
2778
2778
|
protoOf($serializer_8).x21 = function () {
|
|
2779
|
-
return this.
|
|
2779
|
+
return this.p5o_1;
|
|
2780
2780
|
};
|
|
2781
2781
|
protoOf($serializer_8).z2c = function () {
|
|
2782
2782
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2792,25 +2792,25 @@ function $serializer_getInstance_8() {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
function Range_init_$Init$(seen0, start, end, serializationConstructorMarker, $this) {
|
|
2794
2794
|
if (!(3 === (3 & seen0))) {
|
|
2795
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_8().
|
|
2795
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_8().p5o_1);
|
|
2796
2796
|
}
|
|
2797
|
-
$this.
|
|
2798
|
-
$this.
|
|
2797
|
+
$this.r5o_1 = start;
|
|
2798
|
+
$this.s5o_1 = end;
|
|
2799
2799
|
return $this;
|
|
2800
2800
|
}
|
|
2801
2801
|
function Range_init_$Create$(seen0, start, end, serializationConstructorMarker) {
|
|
2802
2802
|
return Range_init_$Init$(seen0, start, end, serializationConstructorMarker, objectCreate(protoOf(Range)));
|
|
2803
2803
|
}
|
|
2804
2804
|
function Range(start, end) {
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2805
|
+
this.r5o_1 = start;
|
|
2806
|
+
this.s5o_1 = end;
|
|
2807
2807
|
}
|
|
2808
2808
|
protoOf(Range).toString = function () {
|
|
2809
|
-
return 'Range(start=' + this.
|
|
2809
|
+
return 'Range(start=' + this.r5o_1.toString() + ', end=' + this.s5o_1.toString() + ')';
|
|
2810
2810
|
};
|
|
2811
2811
|
protoOf(Range).hashCode = function () {
|
|
2812
|
-
var result = this.
|
|
2813
|
-
result = imul(result, 31) + this.
|
|
2812
|
+
var result = this.r5o_1.hashCode();
|
|
2813
|
+
result = imul(result, 31) + this.s5o_1.hashCode() | 0;
|
|
2814
2814
|
return result;
|
|
2815
2815
|
};
|
|
2816
2816
|
protoOf(Range).equals = function (other) {
|
|
@@ -2818,9 +2818,9 @@ protoOf(Range).equals = function (other) {
|
|
|
2818
2818
|
return true;
|
|
2819
2819
|
if (!(other instanceof Range))
|
|
2820
2820
|
return false;
|
|
2821
|
-
if (!this.
|
|
2821
|
+
if (!this.r5o_1.equals(other.r5o_1))
|
|
2822
2822
|
return false;
|
|
2823
|
-
if (!this.
|
|
2823
|
+
if (!this.s5o_1.equals(other.s5o_1))
|
|
2824
2824
|
return false;
|
|
2825
2825
|
return true;
|
|
2826
2826
|
};
|
|
@@ -2836,21 +2836,21 @@ function $serializer_9() {
|
|
|
2836
2836
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
2837
2837
|
tmp0_serialDesc.k2c('position', false);
|
|
2838
2838
|
tmp0_serialDesc.k2c('newName', false);
|
|
2839
|
-
this.
|
|
2839
|
+
this.t5o_1 = tmp0_serialDesc;
|
|
2840
2840
|
}
|
|
2841
|
-
protoOf($serializer_9).
|
|
2842
|
-
var tmp0_desc = this.
|
|
2841
|
+
protoOf($serializer_9).u5o = function (encoder, value) {
|
|
2842
|
+
var tmp0_desc = this.t5o_1;
|
|
2843
2843
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2844
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.
|
|
2845
|
-
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.
|
|
2846
|
-
tmp1_output.l26(tmp0_desc, 2, value.
|
|
2844
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.l5m_1);
|
|
2845
|
+
tmp1_output.n26(tmp0_desc, 1, $serializer_getInstance_7(), value.m5m_1);
|
|
2846
|
+
tmp1_output.l26(tmp0_desc, 2, value.n5m_1);
|
|
2847
2847
|
tmp1_output.x24(tmp0_desc);
|
|
2848
2848
|
};
|
|
2849
2849
|
protoOf($serializer_9).y21 = function (encoder, value) {
|
|
2850
|
-
return this.
|
|
2850
|
+
return this.u5o(encoder, value instanceof RenameParams ? value : THROW_CCE());
|
|
2851
2851
|
};
|
|
2852
2852
|
protoOf($serializer_9).z21 = function (decoder) {
|
|
2853
|
-
var tmp0_desc = this.
|
|
2853
|
+
var tmp0_desc = this.t5o_1;
|
|
2854
2854
|
var tmp1_flag = true;
|
|
2855
2855
|
var tmp2_index = 0;
|
|
2856
2856
|
var tmp3_bitMask0 = 0;
|
|
@@ -2892,7 +2892,7 @@ protoOf($serializer_9).z21 = function (decoder) {
|
|
|
2892
2892
|
return RenameParams_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2893
2893
|
};
|
|
2894
2894
|
protoOf($serializer_9).x21 = function () {
|
|
2895
|
-
return this.
|
|
2895
|
+
return this.t5o_1;
|
|
2896
2896
|
};
|
|
2897
2897
|
protoOf($serializer_9).z2c = function () {
|
|
2898
2898
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2908,28 +2908,28 @@ function $serializer_getInstance_9() {
|
|
|
2908
2908
|
}
|
|
2909
2909
|
function RenameParams_init_$Init$(seen0, textDocument, position, newName, serializationConstructorMarker, $this) {
|
|
2910
2910
|
if (!(7 === (7 & seen0))) {
|
|
2911
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_9().
|
|
2911
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_9().t5o_1);
|
|
2912
2912
|
}
|
|
2913
|
-
$this.
|
|
2914
|
-
$this.
|
|
2915
|
-
$this.
|
|
2913
|
+
$this.l5m_1 = textDocument;
|
|
2914
|
+
$this.m5m_1 = position;
|
|
2915
|
+
$this.n5m_1 = newName;
|
|
2916
2916
|
return $this;
|
|
2917
2917
|
}
|
|
2918
2918
|
function RenameParams_init_$Create$(seen0, textDocument, position, newName, serializationConstructorMarker) {
|
|
2919
2919
|
return RenameParams_init_$Init$(seen0, textDocument, position, newName, serializationConstructorMarker, objectCreate(protoOf(RenameParams)));
|
|
2920
2920
|
}
|
|
2921
2921
|
function RenameParams(textDocument, position, newName) {
|
|
2922
|
-
this.
|
|
2923
|
-
this.
|
|
2924
|
-
this.
|
|
2922
|
+
this.l5m_1 = textDocument;
|
|
2923
|
+
this.m5m_1 = position;
|
|
2924
|
+
this.n5m_1 = newName;
|
|
2925
2925
|
}
|
|
2926
2926
|
protoOf(RenameParams).toString = function () {
|
|
2927
|
-
return 'RenameParams(textDocument=' + this.
|
|
2927
|
+
return 'RenameParams(textDocument=' + this.l5m_1.toString() + ', position=' + this.m5m_1.toString() + ', newName=' + this.n5m_1 + ')';
|
|
2928
2928
|
};
|
|
2929
2929
|
protoOf(RenameParams).hashCode = function () {
|
|
2930
|
-
var result = this.
|
|
2931
|
-
result = imul(result, 31) + this.
|
|
2932
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2930
|
+
var result = this.l5m_1.hashCode();
|
|
2931
|
+
result = imul(result, 31) + this.m5m_1.hashCode() | 0;
|
|
2932
|
+
result = imul(result, 31) + getStringHashCode(this.n5m_1) | 0;
|
|
2933
2933
|
return result;
|
|
2934
2934
|
};
|
|
2935
2935
|
protoOf(RenameParams).equals = function (other) {
|
|
@@ -2937,11 +2937,11 @@ protoOf(RenameParams).equals = function (other) {
|
|
|
2937
2937
|
return true;
|
|
2938
2938
|
if (!(other instanceof RenameParams))
|
|
2939
2939
|
return false;
|
|
2940
|
-
if (!this.
|
|
2940
|
+
if (!this.l5m_1.equals(other.l5m_1))
|
|
2941
2941
|
return false;
|
|
2942
|
-
if (!this.
|
|
2942
|
+
if (!this.m5m_1.equals(other.m5m_1))
|
|
2943
2943
|
return false;
|
|
2944
|
-
if (!(this.
|
|
2944
|
+
if (!(this.n5m_1 === other.n5m_1))
|
|
2945
2945
|
return false;
|
|
2946
2946
|
return true;
|
|
2947
2947
|
};
|
|
@@ -2955,7 +2955,7 @@ function Companion_9() {
|
|
|
2955
2955
|
// Inline function 'kotlin.arrayOf' call
|
|
2956
2956
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2957
2957
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2958
|
-
tmp.
|
|
2958
|
+
tmp.v5o_1 = [lazy(tmp_0, WorkspaceEdit$Companion$$childSerializers$_anonymous__ffjtbf)];
|
|
2959
2959
|
}
|
|
2960
2960
|
var Companion_instance_10;
|
|
2961
2961
|
function Companion_getInstance_9() {
|
|
@@ -2967,26 +2967,26 @@ function $serializer_10() {
|
|
|
2967
2967
|
$serializer_instance_10 = this;
|
|
2968
2968
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.WorkspaceEdit', this, 1);
|
|
2969
2969
|
tmp0_serialDesc.k2c('changes', false);
|
|
2970
|
-
this.
|
|
2970
|
+
this.w5o_1 = tmp0_serialDesc;
|
|
2971
2971
|
}
|
|
2972
|
-
protoOf($serializer_10).
|
|
2973
|
-
var tmp0_desc = this.
|
|
2972
|
+
protoOf($serializer_10).x5o = function (encoder, value) {
|
|
2973
|
+
var tmp0_desc = this.w5o_1;
|
|
2974
2974
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
2975
|
-
var tmp2_cached = Companion_getInstance_9().
|
|
2976
|
-
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.
|
|
2975
|
+
var tmp2_cached = Companion_getInstance_9().v5o_1;
|
|
2976
|
+
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.y5o_1);
|
|
2977
2977
|
tmp1_output.x24(tmp0_desc);
|
|
2978
2978
|
};
|
|
2979
2979
|
protoOf($serializer_10).y21 = function (encoder, value) {
|
|
2980
|
-
return this.
|
|
2980
|
+
return this.x5o(encoder, value instanceof WorkspaceEdit ? value : THROW_CCE());
|
|
2981
2981
|
};
|
|
2982
2982
|
protoOf($serializer_10).z21 = function (decoder) {
|
|
2983
|
-
var tmp0_desc = this.
|
|
2983
|
+
var tmp0_desc = this.w5o_1;
|
|
2984
2984
|
var tmp1_flag = true;
|
|
2985
2985
|
var tmp2_index = 0;
|
|
2986
2986
|
var tmp3_bitMask0 = 0;
|
|
2987
2987
|
var tmp4_local0 = null;
|
|
2988
2988
|
var tmp5_input = decoder.w24(tmp0_desc);
|
|
2989
|
-
var tmp6_cached = Companion_getInstance_9().
|
|
2989
|
+
var tmp6_cached = Companion_getInstance_9().v5o_1;
|
|
2990
2990
|
if (tmp5_input.m25()) {
|
|
2991
2991
|
tmp4_local0 = tmp5_input.i25(tmp0_desc, 0, tmp6_cached[0].o1(), tmp4_local0);
|
|
2992
2992
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3009,13 +3009,13 @@ protoOf($serializer_10).z21 = function (decoder) {
|
|
|
3009
3009
|
return WorkspaceEdit_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3010
3010
|
};
|
|
3011
3011
|
protoOf($serializer_10).x21 = function () {
|
|
3012
|
-
return this.
|
|
3012
|
+
return this.w5o_1;
|
|
3013
3013
|
};
|
|
3014
3014
|
protoOf($serializer_10).z2c = function () {
|
|
3015
3015
|
// Inline function 'kotlin.arrayOf' call
|
|
3016
3016
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3017
3017
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3018
|
-
return [Companion_getInstance_9().
|
|
3018
|
+
return [Companion_getInstance_9().v5o_1[0].o1()];
|
|
3019
3019
|
};
|
|
3020
3020
|
var $serializer_instance_10;
|
|
3021
3021
|
function $serializer_getInstance_10() {
|
|
@@ -3025,9 +3025,9 @@ function $serializer_getInstance_10() {
|
|
|
3025
3025
|
}
|
|
3026
3026
|
function WorkspaceEdit_init_$Init$(seen0, changes, serializationConstructorMarker, $this) {
|
|
3027
3027
|
if (!(1 === (1 & seen0))) {
|
|
3028
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().
|
|
3028
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().w5o_1);
|
|
3029
3029
|
}
|
|
3030
|
-
$this.
|
|
3030
|
+
$this.y5o_1 = changes;
|
|
3031
3031
|
return $this;
|
|
3032
3032
|
}
|
|
3033
3033
|
function WorkspaceEdit_init_$Create$(seen0, changes, serializationConstructorMarker) {
|
|
@@ -3035,20 +3035,20 @@ function WorkspaceEdit_init_$Create$(seen0, changes, serializationConstructorMar
|
|
|
3035
3035
|
}
|
|
3036
3036
|
function WorkspaceEdit(changes) {
|
|
3037
3037
|
Companion_getInstance_9();
|
|
3038
|
-
this.
|
|
3038
|
+
this.y5o_1 = changes;
|
|
3039
3039
|
}
|
|
3040
3040
|
protoOf(WorkspaceEdit).toString = function () {
|
|
3041
|
-
return 'WorkspaceEdit(changes=' + toString_0(this.
|
|
3041
|
+
return 'WorkspaceEdit(changes=' + toString_0(this.y5o_1) + ')';
|
|
3042
3042
|
};
|
|
3043
3043
|
protoOf(WorkspaceEdit).hashCode = function () {
|
|
3044
|
-
return hashCode(this.
|
|
3044
|
+
return hashCode(this.y5o_1);
|
|
3045
3045
|
};
|
|
3046
3046
|
protoOf(WorkspaceEdit).equals = function (other) {
|
|
3047
3047
|
if (this === other)
|
|
3048
3048
|
return true;
|
|
3049
3049
|
if (!(other instanceof WorkspaceEdit))
|
|
3050
3050
|
return false;
|
|
3051
|
-
if (!equals(this.
|
|
3051
|
+
if (!equals(this.y5o_1, other.y5o_1))
|
|
3052
3052
|
return false;
|
|
3053
3053
|
return true;
|
|
3054
3054
|
};
|
|
@@ -3062,19 +3062,19 @@ function $serializer_11() {
|
|
|
3062
3062
|
$serializer_instance_11 = this;
|
|
3063
3063
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.DidOpenTextDocumentParams', this, 1);
|
|
3064
3064
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
3065
|
-
this.
|
|
3065
|
+
this.z5o_1 = tmp0_serialDesc;
|
|
3066
3066
|
}
|
|
3067
|
-
protoOf($serializer_11).
|
|
3068
|
-
var tmp0_desc = this.
|
|
3067
|
+
protoOf($serializer_11).a5p = function (encoder, value) {
|
|
3068
|
+
var tmp0_desc = this.z5o_1;
|
|
3069
3069
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3070
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_12(), value.
|
|
3070
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_12(), value.s5m_1);
|
|
3071
3071
|
tmp1_output.x24(tmp0_desc);
|
|
3072
3072
|
};
|
|
3073
3073
|
protoOf($serializer_11).y21 = function (encoder, value) {
|
|
3074
|
-
return this.
|
|
3074
|
+
return this.a5p(encoder, value instanceof DidOpenTextDocumentParams ? value : THROW_CCE());
|
|
3075
3075
|
};
|
|
3076
3076
|
protoOf($serializer_11).z21 = function (decoder) {
|
|
3077
|
-
var tmp0_desc = this.
|
|
3077
|
+
var tmp0_desc = this.z5o_1;
|
|
3078
3078
|
var tmp1_flag = true;
|
|
3079
3079
|
var tmp2_index = 0;
|
|
3080
3080
|
var tmp3_bitMask0 = 0;
|
|
@@ -3102,7 +3102,7 @@ protoOf($serializer_11).z21 = function (decoder) {
|
|
|
3102
3102
|
return DidOpenTextDocumentParams_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3103
3103
|
};
|
|
3104
3104
|
protoOf($serializer_11).x21 = function () {
|
|
3105
|
-
return this.
|
|
3105
|
+
return this.z5o_1;
|
|
3106
3106
|
};
|
|
3107
3107
|
protoOf($serializer_11).z2c = function () {
|
|
3108
3108
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3118,29 +3118,29 @@ function $serializer_getInstance_11() {
|
|
|
3118
3118
|
}
|
|
3119
3119
|
function DidOpenTextDocumentParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, $this) {
|
|
3120
3120
|
if (!(1 === (1 & seen0))) {
|
|
3121
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_11().
|
|
3121
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_11().z5o_1);
|
|
3122
3122
|
}
|
|
3123
|
-
$this.
|
|
3123
|
+
$this.s5m_1 = textDocument;
|
|
3124
3124
|
return $this;
|
|
3125
3125
|
}
|
|
3126
3126
|
function DidOpenTextDocumentParams_init_$Create$(seen0, textDocument, serializationConstructorMarker) {
|
|
3127
3127
|
return DidOpenTextDocumentParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, objectCreate(protoOf(DidOpenTextDocumentParams)));
|
|
3128
3128
|
}
|
|
3129
3129
|
function DidOpenTextDocumentParams(textDocument) {
|
|
3130
|
-
this.
|
|
3130
|
+
this.s5m_1 = textDocument;
|
|
3131
3131
|
}
|
|
3132
3132
|
protoOf(DidOpenTextDocumentParams).toString = function () {
|
|
3133
|
-
return 'DidOpenTextDocumentParams(textDocument=' + this.
|
|
3133
|
+
return 'DidOpenTextDocumentParams(textDocument=' + this.s5m_1.toString() + ')';
|
|
3134
3134
|
};
|
|
3135
3135
|
protoOf(DidOpenTextDocumentParams).hashCode = function () {
|
|
3136
|
-
return this.
|
|
3136
|
+
return this.s5m_1.hashCode();
|
|
3137
3137
|
};
|
|
3138
3138
|
protoOf(DidOpenTextDocumentParams).equals = function (other) {
|
|
3139
3139
|
if (this === other)
|
|
3140
3140
|
return true;
|
|
3141
3141
|
if (!(other instanceof DidOpenTextDocumentParams))
|
|
3142
3142
|
return false;
|
|
3143
|
-
if (!this.
|
|
3143
|
+
if (!this.s5m_1.equals(other.s5m_1))
|
|
3144
3144
|
return false;
|
|
3145
3145
|
return true;
|
|
3146
3146
|
};
|
|
@@ -3151,22 +3151,22 @@ function $serializer_12() {
|
|
|
3151
3151
|
tmp0_serialDesc.k2c('languageId', false);
|
|
3152
3152
|
tmp0_serialDesc.k2c('version', false);
|
|
3153
3153
|
tmp0_serialDesc.k2c('text', false);
|
|
3154
|
-
this.
|
|
3154
|
+
this.b5p_1 = tmp0_serialDesc;
|
|
3155
3155
|
}
|
|
3156
|
-
protoOf($serializer_12).
|
|
3157
|
-
var tmp0_desc = this.
|
|
3156
|
+
protoOf($serializer_12).c5p = function (encoder, value) {
|
|
3157
|
+
var tmp0_desc = this.b5p_1;
|
|
3158
3158
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3159
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
3160
|
-
tmp1_output.l26(tmp0_desc, 1, value.
|
|
3161
|
-
tmp1_output.g26(tmp0_desc, 2, value.
|
|
3162
|
-
tmp1_output.l26(tmp0_desc, 3, value.
|
|
3159
|
+
tmp1_output.l26(tmp0_desc, 0, value.o5m_1);
|
|
3160
|
+
tmp1_output.l26(tmp0_desc, 1, value.p5m_1);
|
|
3161
|
+
tmp1_output.g26(tmp0_desc, 2, value.q5m_1);
|
|
3162
|
+
tmp1_output.l26(tmp0_desc, 3, value.r5m_1);
|
|
3163
3163
|
tmp1_output.x24(tmp0_desc);
|
|
3164
3164
|
};
|
|
3165
3165
|
protoOf($serializer_12).y21 = function (encoder, value) {
|
|
3166
|
-
return this.
|
|
3166
|
+
return this.c5p(encoder, value instanceof TextDocumentItem ? value : THROW_CCE());
|
|
3167
3167
|
};
|
|
3168
3168
|
protoOf($serializer_12).z21 = function (decoder) {
|
|
3169
|
-
var tmp0_desc = this.
|
|
3169
|
+
var tmp0_desc = this.b5p_1;
|
|
3170
3170
|
var tmp1_flag = true;
|
|
3171
3171
|
var tmp2_index = 0;
|
|
3172
3172
|
var tmp3_bitMask0 = 0;
|
|
@@ -3215,7 +3215,7 @@ protoOf($serializer_12).z21 = function (decoder) {
|
|
|
3215
3215
|
return TextDocumentItem_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3216
3216
|
};
|
|
3217
3217
|
protoOf($serializer_12).x21 = function () {
|
|
3218
|
-
return this.
|
|
3218
|
+
return this.b5p_1;
|
|
3219
3219
|
};
|
|
3220
3220
|
protoOf($serializer_12).z2c = function () {
|
|
3221
3221
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3231,12 +3231,12 @@ function $serializer_getInstance_12() {
|
|
|
3231
3231
|
}
|
|
3232
3232
|
function TextDocumentItem_init_$Init$(seen0, uri, languageId, version, text, serializationConstructorMarker, $this) {
|
|
3233
3233
|
if (!(15 === (15 & seen0))) {
|
|
3234
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_12().
|
|
3234
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_12().b5p_1);
|
|
3235
3235
|
}
|
|
3236
|
-
$this.
|
|
3237
|
-
$this.
|
|
3238
|
-
$this.
|
|
3239
|
-
$this.
|
|
3236
|
+
$this.o5m_1 = uri;
|
|
3237
|
+
$this.p5m_1 = languageId;
|
|
3238
|
+
$this.q5m_1 = version;
|
|
3239
|
+
$this.r5m_1 = text;
|
|
3240
3240
|
return $this;
|
|
3241
3241
|
}
|
|
3242
3242
|
function TextDocumentItem_init_$Create$(seen0, uri, languageId, version, text, serializationConstructorMarker) {
|
|
@@ -3245,13 +3245,13 @@ function TextDocumentItem_init_$Create$(seen0, uri, languageId, version, text, s
|
|
|
3245
3245
|
function TextDocumentItem() {
|
|
3246
3246
|
}
|
|
3247
3247
|
protoOf(TextDocumentItem).toString = function () {
|
|
3248
|
-
return 'TextDocumentItem(uri=' + this.
|
|
3248
|
+
return 'TextDocumentItem(uri=' + this.o5m_1 + ', languageId=' + this.p5m_1 + ', version=' + this.q5m_1 + ', text=' + this.r5m_1 + ')';
|
|
3249
3249
|
};
|
|
3250
3250
|
protoOf(TextDocumentItem).hashCode = function () {
|
|
3251
|
-
var result = getStringHashCode(this.
|
|
3252
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3253
|
-
result = imul(result, 31) + this.
|
|
3254
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3251
|
+
var result = getStringHashCode(this.o5m_1);
|
|
3252
|
+
result = imul(result, 31) + getStringHashCode(this.p5m_1) | 0;
|
|
3253
|
+
result = imul(result, 31) + this.q5m_1 | 0;
|
|
3254
|
+
result = imul(result, 31) + getStringHashCode(this.r5m_1) | 0;
|
|
3255
3255
|
return result;
|
|
3256
3256
|
};
|
|
3257
3257
|
protoOf(TextDocumentItem).equals = function (other) {
|
|
@@ -3259,13 +3259,13 @@ protoOf(TextDocumentItem).equals = function (other) {
|
|
|
3259
3259
|
return true;
|
|
3260
3260
|
if (!(other instanceof TextDocumentItem))
|
|
3261
3261
|
return false;
|
|
3262
|
-
if (!(this.
|
|
3262
|
+
if (!(this.o5m_1 === other.o5m_1))
|
|
3263
3263
|
return false;
|
|
3264
|
-
if (!(this.
|
|
3264
|
+
if (!(this.p5m_1 === other.p5m_1))
|
|
3265
3265
|
return false;
|
|
3266
|
-
if (!(this.
|
|
3266
|
+
if (!(this.q5m_1 === other.q5m_1))
|
|
3267
3267
|
return false;
|
|
3268
|
-
if (!(this.
|
|
3268
|
+
if (!(this.r5m_1 === other.r5m_1))
|
|
3269
3269
|
return false;
|
|
3270
3270
|
return true;
|
|
3271
3271
|
};
|
|
@@ -3279,7 +3279,7 @@ function Companion_11() {
|
|
|
3279
3279
|
// Inline function 'kotlin.arrayOf' call
|
|
3280
3280
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3281
3281
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3282
|
-
tmp.
|
|
3282
|
+
tmp.d5p_1 = [null, lazy(tmp_0, DidChangeTextDocumentParams$Companion$$childSerializers$_anonymous__jf2771)];
|
|
3283
3283
|
}
|
|
3284
3284
|
var Companion_instance_12;
|
|
3285
3285
|
function Companion_getInstance_11() {
|
|
@@ -3292,28 +3292,28 @@ function $serializer_13() {
|
|
|
3292
3292
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.DidChangeTextDocumentParams', this, 2);
|
|
3293
3293
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
3294
3294
|
tmp0_serialDesc.k2c('contentChanges', false);
|
|
3295
|
-
this.
|
|
3295
|
+
this.e5p_1 = tmp0_serialDesc;
|
|
3296
3296
|
}
|
|
3297
|
-
protoOf($serializer_13).
|
|
3298
|
-
var tmp0_desc = this.
|
|
3297
|
+
protoOf($serializer_13).f5p = function (encoder, value) {
|
|
3298
|
+
var tmp0_desc = this.e5p_1;
|
|
3299
3299
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3300
|
-
var tmp2_cached = Companion_getInstance_11().
|
|
3301
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_15(), value.
|
|
3302
|
-
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.
|
|
3300
|
+
var tmp2_cached = Companion_getInstance_11().d5p_1;
|
|
3301
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_15(), value.t5m_1);
|
|
3302
|
+
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.u5m_1);
|
|
3303
3303
|
tmp1_output.x24(tmp0_desc);
|
|
3304
3304
|
};
|
|
3305
3305
|
protoOf($serializer_13).y21 = function (encoder, value) {
|
|
3306
|
-
return this.
|
|
3306
|
+
return this.f5p(encoder, value instanceof DidChangeTextDocumentParams ? value : THROW_CCE());
|
|
3307
3307
|
};
|
|
3308
3308
|
protoOf($serializer_13).z21 = function (decoder) {
|
|
3309
|
-
var tmp0_desc = this.
|
|
3309
|
+
var tmp0_desc = this.e5p_1;
|
|
3310
3310
|
var tmp1_flag = true;
|
|
3311
3311
|
var tmp2_index = 0;
|
|
3312
3312
|
var tmp3_bitMask0 = 0;
|
|
3313
3313
|
var tmp4_local0 = null;
|
|
3314
3314
|
var tmp5_local1 = null;
|
|
3315
3315
|
var tmp6_input = decoder.w24(tmp0_desc);
|
|
3316
|
-
var tmp7_cached = Companion_getInstance_11().
|
|
3316
|
+
var tmp7_cached = Companion_getInstance_11().d5p_1;
|
|
3317
3317
|
if (tmp6_input.m25()) {
|
|
3318
3318
|
tmp4_local0 = tmp6_input.i25(tmp0_desc, 0, $serializer_getInstance_15(), tmp4_local0);
|
|
3319
3319
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3342,10 +3342,10 @@ protoOf($serializer_13).z21 = function (decoder) {
|
|
|
3342
3342
|
return DidChangeTextDocumentParams_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3343
3343
|
};
|
|
3344
3344
|
protoOf($serializer_13).x21 = function () {
|
|
3345
|
-
return this.
|
|
3345
|
+
return this.e5p_1;
|
|
3346
3346
|
};
|
|
3347
3347
|
protoOf($serializer_13).z2c = function () {
|
|
3348
|
-
var tmp0_cached = Companion_getInstance_11().
|
|
3348
|
+
var tmp0_cached = Companion_getInstance_11().d5p_1;
|
|
3349
3349
|
// Inline function 'kotlin.arrayOf' call
|
|
3350
3350
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3351
3351
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3359,10 +3359,10 @@ function $serializer_getInstance_13() {
|
|
|
3359
3359
|
}
|
|
3360
3360
|
function DidChangeTextDocumentParams_init_$Init$(seen0, textDocument, contentChanges, serializationConstructorMarker, $this) {
|
|
3361
3361
|
if (!(3 === (3 & seen0))) {
|
|
3362
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_13().
|
|
3362
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_13().e5p_1);
|
|
3363
3363
|
}
|
|
3364
|
-
$this.
|
|
3365
|
-
$this.
|
|
3364
|
+
$this.t5m_1 = textDocument;
|
|
3365
|
+
$this.u5m_1 = contentChanges;
|
|
3366
3366
|
return $this;
|
|
3367
3367
|
}
|
|
3368
3368
|
function DidChangeTextDocumentParams_init_$Create$(seen0, textDocument, contentChanges, serializationConstructorMarker) {
|
|
@@ -3370,15 +3370,15 @@ function DidChangeTextDocumentParams_init_$Create$(seen0, textDocument, contentC
|
|
|
3370
3370
|
}
|
|
3371
3371
|
function DidChangeTextDocumentParams(textDocument, contentChanges) {
|
|
3372
3372
|
Companion_getInstance_11();
|
|
3373
|
-
this.
|
|
3374
|
-
this.
|
|
3373
|
+
this.t5m_1 = textDocument;
|
|
3374
|
+
this.u5m_1 = contentChanges;
|
|
3375
3375
|
}
|
|
3376
3376
|
protoOf(DidChangeTextDocumentParams).toString = function () {
|
|
3377
|
-
return 'DidChangeTextDocumentParams(textDocument=' + this.
|
|
3377
|
+
return 'DidChangeTextDocumentParams(textDocument=' + this.t5m_1.toString() + ', contentChanges=' + toString_0(this.u5m_1) + ')';
|
|
3378
3378
|
};
|
|
3379
3379
|
protoOf(DidChangeTextDocumentParams).hashCode = function () {
|
|
3380
|
-
var result = this.
|
|
3381
|
-
result = imul(result, 31) + hashCode(this.
|
|
3380
|
+
var result = this.t5m_1.hashCode();
|
|
3381
|
+
result = imul(result, 31) + hashCode(this.u5m_1) | 0;
|
|
3382
3382
|
return result;
|
|
3383
3383
|
};
|
|
3384
3384
|
protoOf(DidChangeTextDocumentParams).equals = function (other) {
|
|
@@ -3386,9 +3386,9 @@ protoOf(DidChangeTextDocumentParams).equals = function (other) {
|
|
|
3386
3386
|
return true;
|
|
3387
3387
|
if (!(other instanceof DidChangeTextDocumentParams))
|
|
3388
3388
|
return false;
|
|
3389
|
-
if (!this.
|
|
3389
|
+
if (!this.t5m_1.equals(other.t5m_1))
|
|
3390
3390
|
return false;
|
|
3391
|
-
if (!equals(this.
|
|
3391
|
+
if (!equals(this.u5m_1, other.u5m_1))
|
|
3392
3392
|
return false;
|
|
3393
3393
|
return true;
|
|
3394
3394
|
};
|
|
@@ -3397,22 +3397,22 @@ function $serializer_14() {
|
|
|
3397
3397
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.TextDocumentContentChangeEvent', this, 2);
|
|
3398
3398
|
tmp0_serialDesc.k2c('range', true);
|
|
3399
3399
|
tmp0_serialDesc.k2c('text', false);
|
|
3400
|
-
this.
|
|
3400
|
+
this.g5p_1 = tmp0_serialDesc;
|
|
3401
3401
|
}
|
|
3402
|
-
protoOf($serializer_14).
|
|
3403
|
-
var tmp0_desc = this.
|
|
3402
|
+
protoOf($serializer_14).h5p = function (encoder, value) {
|
|
3403
|
+
var tmp0_desc = this.g5p_1;
|
|
3404
3404
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3405
|
-
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.
|
|
3406
|
-
tmp1_output.p26(tmp0_desc, 0, $serializer_getInstance_8(), value.
|
|
3405
|
+
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.v5m_1 == null)) {
|
|
3406
|
+
tmp1_output.p26(tmp0_desc, 0, $serializer_getInstance_8(), value.v5m_1);
|
|
3407
3407
|
}
|
|
3408
|
-
tmp1_output.l26(tmp0_desc, 1, value.
|
|
3408
|
+
tmp1_output.l26(tmp0_desc, 1, value.w5m_1);
|
|
3409
3409
|
tmp1_output.x24(tmp0_desc);
|
|
3410
3410
|
};
|
|
3411
3411
|
protoOf($serializer_14).y21 = function (encoder, value) {
|
|
3412
|
-
return this.
|
|
3412
|
+
return this.h5p(encoder, value instanceof TextDocumentContentChangeEvent ? value : THROW_CCE());
|
|
3413
3413
|
};
|
|
3414
3414
|
protoOf($serializer_14).z21 = function (decoder) {
|
|
3415
|
-
var tmp0_desc = this.
|
|
3415
|
+
var tmp0_desc = this.g5p_1;
|
|
3416
3416
|
var tmp1_flag = true;
|
|
3417
3417
|
var tmp2_index = 0;
|
|
3418
3418
|
var tmp3_bitMask0 = 0;
|
|
@@ -3447,7 +3447,7 @@ protoOf($serializer_14).z21 = function (decoder) {
|
|
|
3447
3447
|
return TextDocumentContentChangeEvent_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3448
3448
|
};
|
|
3449
3449
|
protoOf($serializer_14).x21 = function () {
|
|
3450
|
-
return this.
|
|
3450
|
+
return this.g5p_1;
|
|
3451
3451
|
};
|
|
3452
3452
|
protoOf($serializer_14).z2c = function () {
|
|
3453
3453
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3463,13 +3463,13 @@ function $serializer_getInstance_14() {
|
|
|
3463
3463
|
}
|
|
3464
3464
|
function TextDocumentContentChangeEvent_init_$Init$(seen0, range, text, serializationConstructorMarker, $this) {
|
|
3465
3465
|
if (!(2 === (2 & seen0))) {
|
|
3466
|
-
throwMissingFieldException(seen0, 2, $serializer_getInstance_14().
|
|
3466
|
+
throwMissingFieldException(seen0, 2, $serializer_getInstance_14().g5p_1);
|
|
3467
3467
|
}
|
|
3468
3468
|
if (0 === (seen0 & 1))
|
|
3469
|
-
$this.
|
|
3469
|
+
$this.v5m_1 = null;
|
|
3470
3470
|
else
|
|
3471
|
-
$this.
|
|
3472
|
-
$this.
|
|
3471
|
+
$this.v5m_1 = range;
|
|
3472
|
+
$this.w5m_1 = text;
|
|
3473
3473
|
return $this;
|
|
3474
3474
|
}
|
|
3475
3475
|
function TextDocumentContentChangeEvent_init_$Create$(seen0, range, text, serializationConstructorMarker) {
|
|
@@ -3478,11 +3478,11 @@ function TextDocumentContentChangeEvent_init_$Create$(seen0, range, text, serial
|
|
|
3478
3478
|
function TextDocumentContentChangeEvent() {
|
|
3479
3479
|
}
|
|
3480
3480
|
protoOf(TextDocumentContentChangeEvent).toString = function () {
|
|
3481
|
-
return 'TextDocumentContentChangeEvent(range=' + toString(this.
|
|
3481
|
+
return 'TextDocumentContentChangeEvent(range=' + toString(this.v5m_1) + ', text=' + this.w5m_1 + ')';
|
|
3482
3482
|
};
|
|
3483
3483
|
protoOf(TextDocumentContentChangeEvent).hashCode = function () {
|
|
3484
|
-
var result = this.
|
|
3485
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3484
|
+
var result = this.v5m_1 == null ? 0 : this.v5m_1.hashCode();
|
|
3485
|
+
result = imul(result, 31) + getStringHashCode(this.w5m_1) | 0;
|
|
3486
3486
|
return result;
|
|
3487
3487
|
};
|
|
3488
3488
|
protoOf(TextDocumentContentChangeEvent).equals = function (other) {
|
|
@@ -3490,9 +3490,9 @@ protoOf(TextDocumentContentChangeEvent).equals = function (other) {
|
|
|
3490
3490
|
return true;
|
|
3491
3491
|
if (!(other instanceof TextDocumentContentChangeEvent))
|
|
3492
3492
|
return false;
|
|
3493
|
-
if (!equals(this.
|
|
3493
|
+
if (!equals(this.v5m_1, other.v5m_1))
|
|
3494
3494
|
return false;
|
|
3495
|
-
if (!(this.
|
|
3495
|
+
if (!(this.w5m_1 === other.w5m_1))
|
|
3496
3496
|
return false;
|
|
3497
3497
|
return true;
|
|
3498
3498
|
};
|
|
@@ -3501,22 +3501,22 @@ function $serializer_15() {
|
|
|
3501
3501
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.VersionedTextDocumentIdentifier', this, 2);
|
|
3502
3502
|
tmp0_serialDesc.k2c('uri', false);
|
|
3503
3503
|
tmp0_serialDesc.k2c('version', true);
|
|
3504
|
-
this.
|
|
3504
|
+
this.i5p_1 = tmp0_serialDesc;
|
|
3505
3505
|
}
|
|
3506
|
-
protoOf($serializer_15).
|
|
3507
|
-
var tmp0_desc = this.
|
|
3506
|
+
protoOf($serializer_15).j5p = function (encoder, value) {
|
|
3507
|
+
var tmp0_desc = this.i5p_1;
|
|
3508
3508
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3509
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
3510
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
3511
|
-
tmp1_output.p26(tmp0_desc, 1, IntSerializer_getInstance(), value.
|
|
3509
|
+
tmp1_output.l26(tmp0_desc, 0, value.x5m_1);
|
|
3510
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.y5m_1 == null)) {
|
|
3511
|
+
tmp1_output.p26(tmp0_desc, 1, IntSerializer_getInstance(), value.y5m_1);
|
|
3512
3512
|
}
|
|
3513
3513
|
tmp1_output.x24(tmp0_desc);
|
|
3514
3514
|
};
|
|
3515
3515
|
protoOf($serializer_15).y21 = function (encoder, value) {
|
|
3516
|
-
return this.
|
|
3516
|
+
return this.j5p(encoder, value instanceof VersionedTextDocumentIdentifier ? value : THROW_CCE());
|
|
3517
3517
|
};
|
|
3518
3518
|
protoOf($serializer_15).z21 = function (decoder) {
|
|
3519
|
-
var tmp0_desc = this.
|
|
3519
|
+
var tmp0_desc = this.i5p_1;
|
|
3520
3520
|
var tmp1_flag = true;
|
|
3521
3521
|
var tmp2_index = 0;
|
|
3522
3522
|
var tmp3_bitMask0 = 0;
|
|
@@ -3551,7 +3551,7 @@ protoOf($serializer_15).z21 = function (decoder) {
|
|
|
3551
3551
|
return VersionedTextDocumentIdentifier_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3552
3552
|
};
|
|
3553
3553
|
protoOf($serializer_15).x21 = function () {
|
|
3554
|
-
return this.
|
|
3554
|
+
return this.i5p_1;
|
|
3555
3555
|
};
|
|
3556
3556
|
protoOf($serializer_15).z2c = function () {
|
|
3557
3557
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3567,13 +3567,13 @@ function $serializer_getInstance_15() {
|
|
|
3567
3567
|
}
|
|
3568
3568
|
function VersionedTextDocumentIdentifier_init_$Init$(seen0, uri, version, serializationConstructorMarker, $this) {
|
|
3569
3569
|
if (!(1 === (1 & seen0))) {
|
|
3570
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_15().
|
|
3570
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_15().i5p_1);
|
|
3571
3571
|
}
|
|
3572
|
-
$this.
|
|
3572
|
+
$this.x5m_1 = uri;
|
|
3573
3573
|
if (0 === (seen0 & 2))
|
|
3574
|
-
$this.
|
|
3574
|
+
$this.y5m_1 = null;
|
|
3575
3575
|
else
|
|
3576
|
-
$this.
|
|
3576
|
+
$this.y5m_1 = version;
|
|
3577
3577
|
return $this;
|
|
3578
3578
|
}
|
|
3579
3579
|
function VersionedTextDocumentIdentifier_init_$Create$(seen0, uri, version, serializationConstructorMarker) {
|
|
@@ -3582,11 +3582,11 @@ function VersionedTextDocumentIdentifier_init_$Create$(seen0, uri, version, seri
|
|
|
3582
3582
|
function VersionedTextDocumentIdentifier() {
|
|
3583
3583
|
}
|
|
3584
3584
|
protoOf(VersionedTextDocumentIdentifier).toString = function () {
|
|
3585
|
-
return 'VersionedTextDocumentIdentifier(uri=' + this.
|
|
3585
|
+
return 'VersionedTextDocumentIdentifier(uri=' + this.x5m_1 + ', version=' + this.y5m_1 + ')';
|
|
3586
3586
|
};
|
|
3587
3587
|
protoOf(VersionedTextDocumentIdentifier).hashCode = function () {
|
|
3588
|
-
var result = getStringHashCode(this.
|
|
3589
|
-
result = imul(result, 31) + (this.
|
|
3588
|
+
var result = getStringHashCode(this.x5m_1);
|
|
3589
|
+
result = imul(result, 31) + (this.y5m_1 == null ? 0 : this.y5m_1) | 0;
|
|
3590
3590
|
return result;
|
|
3591
3591
|
};
|
|
3592
3592
|
protoOf(VersionedTextDocumentIdentifier).equals = function (other) {
|
|
@@ -3594,9 +3594,9 @@ protoOf(VersionedTextDocumentIdentifier).equals = function (other) {
|
|
|
3594
3594
|
return true;
|
|
3595
3595
|
if (!(other instanceof VersionedTextDocumentIdentifier))
|
|
3596
3596
|
return false;
|
|
3597
|
-
if (!(this.
|
|
3597
|
+
if (!(this.x5m_1 === other.x5m_1))
|
|
3598
3598
|
return false;
|
|
3599
|
-
if (!(this.
|
|
3599
|
+
if (!(this.y5m_1 == other.y5m_1))
|
|
3600
3600
|
return false;
|
|
3601
3601
|
return true;
|
|
3602
3602
|
};
|
|
@@ -3610,19 +3610,19 @@ function $serializer_16() {
|
|
|
3610
3610
|
$serializer_instance_16 = this;
|
|
3611
3611
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.DidCloseTextDocumentParams', this, 1);
|
|
3612
3612
|
tmp0_serialDesc.k2c('textDocument', false);
|
|
3613
|
-
this.
|
|
3613
|
+
this.k5p_1 = tmp0_serialDesc;
|
|
3614
3614
|
}
|
|
3615
|
-
protoOf($serializer_16).
|
|
3616
|
-
var tmp0_desc = this.
|
|
3615
|
+
protoOf($serializer_16).l5p = function (encoder, value) {
|
|
3616
|
+
var tmp0_desc = this.k5p_1;
|
|
3617
3617
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3618
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.
|
|
3618
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_3(), value.z5m_1);
|
|
3619
3619
|
tmp1_output.x24(tmp0_desc);
|
|
3620
3620
|
};
|
|
3621
3621
|
protoOf($serializer_16).y21 = function (encoder, value) {
|
|
3622
|
-
return this.
|
|
3622
|
+
return this.l5p(encoder, value instanceof DidCloseTextDocumentParams ? value : THROW_CCE());
|
|
3623
3623
|
};
|
|
3624
3624
|
protoOf($serializer_16).z21 = function (decoder) {
|
|
3625
|
-
var tmp0_desc = this.
|
|
3625
|
+
var tmp0_desc = this.k5p_1;
|
|
3626
3626
|
var tmp1_flag = true;
|
|
3627
3627
|
var tmp2_index = 0;
|
|
3628
3628
|
var tmp3_bitMask0 = 0;
|
|
@@ -3650,7 +3650,7 @@ protoOf($serializer_16).z21 = function (decoder) {
|
|
|
3650
3650
|
return DidCloseTextDocumentParams_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3651
3651
|
};
|
|
3652
3652
|
protoOf($serializer_16).x21 = function () {
|
|
3653
|
-
return this.
|
|
3653
|
+
return this.k5p_1;
|
|
3654
3654
|
};
|
|
3655
3655
|
protoOf($serializer_16).z2c = function () {
|
|
3656
3656
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3666,29 +3666,29 @@ function $serializer_getInstance_16() {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
function DidCloseTextDocumentParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, $this) {
|
|
3668
3668
|
if (!(1 === (1 & seen0))) {
|
|
3669
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_16().
|
|
3669
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_16().k5p_1);
|
|
3670
3670
|
}
|
|
3671
|
-
$this.
|
|
3671
|
+
$this.z5m_1 = textDocument;
|
|
3672
3672
|
return $this;
|
|
3673
3673
|
}
|
|
3674
3674
|
function DidCloseTextDocumentParams_init_$Create$(seen0, textDocument, serializationConstructorMarker) {
|
|
3675
3675
|
return DidCloseTextDocumentParams_init_$Init$(seen0, textDocument, serializationConstructorMarker, objectCreate(protoOf(DidCloseTextDocumentParams)));
|
|
3676
3676
|
}
|
|
3677
3677
|
function DidCloseTextDocumentParams(textDocument) {
|
|
3678
|
-
this.
|
|
3678
|
+
this.z5m_1 = textDocument;
|
|
3679
3679
|
}
|
|
3680
3680
|
protoOf(DidCloseTextDocumentParams).toString = function () {
|
|
3681
|
-
return 'DidCloseTextDocumentParams(textDocument=' + this.
|
|
3681
|
+
return 'DidCloseTextDocumentParams(textDocument=' + this.z5m_1.toString() + ')';
|
|
3682
3682
|
};
|
|
3683
3683
|
protoOf(DidCloseTextDocumentParams).hashCode = function () {
|
|
3684
|
-
return this.
|
|
3684
|
+
return this.z5m_1.hashCode();
|
|
3685
3685
|
};
|
|
3686
3686
|
protoOf(DidCloseTextDocumentParams).equals = function (other) {
|
|
3687
3687
|
if (this === other)
|
|
3688
3688
|
return true;
|
|
3689
3689
|
if (!(other instanceof DidCloseTextDocumentParams))
|
|
3690
3690
|
return false;
|
|
3691
|
-
if (!this.
|
|
3691
|
+
if (!this.z5m_1.equals(other.z5m_1))
|
|
3692
3692
|
return false;
|
|
3693
3693
|
return true;
|
|
3694
3694
|
};
|
|
@@ -3706,29 +3706,29 @@ function $serializer_17() {
|
|
|
3706
3706
|
tmp0_serialDesc.k2c('code', true);
|
|
3707
3707
|
tmp0_serialDesc.k2c('source', true);
|
|
3708
3708
|
tmp0_serialDesc.k2c('message', false);
|
|
3709
|
-
this.
|
|
3709
|
+
this.m5p_1 = tmp0_serialDesc;
|
|
3710
3710
|
}
|
|
3711
|
-
protoOf($serializer_17).
|
|
3712
|
-
var tmp0_desc = this.
|
|
3711
|
+
protoOf($serializer_17).n5p = function (encoder, value) {
|
|
3712
|
+
var tmp0_desc = this.m5p_1;
|
|
3713
3713
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3714
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_8(), value.
|
|
3715
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
3716
|
-
tmp1_output.p26(tmp0_desc, 1, IntSerializer_getInstance(), value.
|
|
3714
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_8(), value.o5p_1);
|
|
3715
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.p5p_1 == null)) {
|
|
3716
|
+
tmp1_output.p26(tmp0_desc, 1, IntSerializer_getInstance(), value.p5p_1);
|
|
3717
3717
|
}
|
|
3718
|
-
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.
|
|
3719
|
-
tmp1_output.p26(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3718
|
+
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.q5p_1 == null)) {
|
|
3719
|
+
tmp1_output.p26(tmp0_desc, 2, StringSerializer_getInstance(), value.q5p_1);
|
|
3720
3720
|
}
|
|
3721
|
-
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.
|
|
3722
|
-
tmp1_output.p26(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3721
|
+
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.r5p_1 == null)) {
|
|
3722
|
+
tmp1_output.p26(tmp0_desc, 3, StringSerializer_getInstance(), value.r5p_1);
|
|
3723
3723
|
}
|
|
3724
|
-
tmp1_output.l26(tmp0_desc, 4, value.
|
|
3724
|
+
tmp1_output.l26(tmp0_desc, 4, value.s5p_1);
|
|
3725
3725
|
tmp1_output.x24(tmp0_desc);
|
|
3726
3726
|
};
|
|
3727
3727
|
protoOf($serializer_17).y21 = function (encoder, value) {
|
|
3728
|
-
return this.
|
|
3728
|
+
return this.n5p(encoder, value instanceof Diagnostic ? value : THROW_CCE());
|
|
3729
3729
|
};
|
|
3730
3730
|
protoOf($serializer_17).z21 = function (decoder) {
|
|
3731
|
-
var tmp0_desc = this.
|
|
3731
|
+
var tmp0_desc = this.m5p_1;
|
|
3732
3732
|
var tmp1_flag = true;
|
|
3733
3733
|
var tmp2_index = 0;
|
|
3734
3734
|
var tmp3_bitMask0 = 0;
|
|
@@ -3784,7 +3784,7 @@ protoOf($serializer_17).z21 = function (decoder) {
|
|
|
3784
3784
|
return Diagnostic_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3785
3785
|
};
|
|
3786
3786
|
protoOf($serializer_17).x21 = function () {
|
|
3787
|
-
return this.
|
|
3787
|
+
return this.m5p_1;
|
|
3788
3788
|
};
|
|
3789
3789
|
protoOf($serializer_17).z2c = function () {
|
|
3790
3790
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3800,22 +3800,22 @@ function $serializer_getInstance_17() {
|
|
|
3800
3800
|
}
|
|
3801
3801
|
function Diagnostic_init_$Init$(seen0, range, severity, code, source, message, serializationConstructorMarker, $this) {
|
|
3802
3802
|
if (!(17 === (17 & seen0))) {
|
|
3803
|
-
throwMissingFieldException(seen0, 17, $serializer_getInstance_17().
|
|
3803
|
+
throwMissingFieldException(seen0, 17, $serializer_getInstance_17().m5p_1);
|
|
3804
3804
|
}
|
|
3805
|
-
$this.
|
|
3805
|
+
$this.o5p_1 = range;
|
|
3806
3806
|
if (0 === (seen0 & 2))
|
|
3807
|
-
$this.
|
|
3807
|
+
$this.p5p_1 = null;
|
|
3808
3808
|
else
|
|
3809
|
-
$this.
|
|
3809
|
+
$this.p5p_1 = severity;
|
|
3810
3810
|
if (0 === (seen0 & 4))
|
|
3811
|
-
$this.
|
|
3811
|
+
$this.q5p_1 = null;
|
|
3812
3812
|
else
|
|
3813
|
-
$this.
|
|
3813
|
+
$this.q5p_1 = code;
|
|
3814
3814
|
if (0 === (seen0 & 8))
|
|
3815
|
-
$this.
|
|
3815
|
+
$this.r5p_1 = null;
|
|
3816
3816
|
else
|
|
3817
|
-
$this.
|
|
3818
|
-
$this.
|
|
3817
|
+
$this.r5p_1 = source;
|
|
3818
|
+
$this.s5p_1 = message;
|
|
3819
3819
|
return $this;
|
|
3820
3820
|
}
|
|
3821
3821
|
function Diagnostic_init_$Create$(seen0, range, severity, code, source, message, serializationConstructorMarker) {
|
|
@@ -3825,21 +3825,21 @@ function Diagnostic(range, severity, code, source, message) {
|
|
|
3825
3825
|
severity = severity === VOID ? null : severity;
|
|
3826
3826
|
code = code === VOID ? null : code;
|
|
3827
3827
|
source = source === VOID ? null : source;
|
|
3828
|
-
this.
|
|
3829
|
-
this.
|
|
3830
|
-
this.
|
|
3831
|
-
this.
|
|
3832
|
-
this.
|
|
3828
|
+
this.o5p_1 = range;
|
|
3829
|
+
this.p5p_1 = severity;
|
|
3830
|
+
this.q5p_1 = code;
|
|
3831
|
+
this.r5p_1 = source;
|
|
3832
|
+
this.s5p_1 = message;
|
|
3833
3833
|
}
|
|
3834
3834
|
protoOf(Diagnostic).toString = function () {
|
|
3835
|
-
return 'Diagnostic(range=' + this.
|
|
3835
|
+
return 'Diagnostic(range=' + this.o5p_1.toString() + ', severity=' + this.p5p_1 + ', code=' + this.q5p_1 + ', source=' + this.r5p_1 + ', message=' + this.s5p_1 + ')';
|
|
3836
3836
|
};
|
|
3837
3837
|
protoOf(Diagnostic).hashCode = function () {
|
|
3838
|
-
var result = this.
|
|
3839
|
-
result = imul(result, 31) + (this.
|
|
3840
|
-
result = imul(result, 31) + (this.
|
|
3841
|
-
result = imul(result, 31) + (this.
|
|
3842
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3838
|
+
var result = this.o5p_1.hashCode();
|
|
3839
|
+
result = imul(result, 31) + (this.p5p_1 == null ? 0 : this.p5p_1) | 0;
|
|
3840
|
+
result = imul(result, 31) + (this.q5p_1 == null ? 0 : getStringHashCode(this.q5p_1)) | 0;
|
|
3841
|
+
result = imul(result, 31) + (this.r5p_1 == null ? 0 : getStringHashCode(this.r5p_1)) | 0;
|
|
3842
|
+
result = imul(result, 31) + getStringHashCode(this.s5p_1) | 0;
|
|
3843
3843
|
return result;
|
|
3844
3844
|
};
|
|
3845
3845
|
protoOf(Diagnostic).equals = function (other) {
|
|
@@ -3847,15 +3847,15 @@ protoOf(Diagnostic).equals = function (other) {
|
|
|
3847
3847
|
return true;
|
|
3848
3848
|
if (!(other instanceof Diagnostic))
|
|
3849
3849
|
return false;
|
|
3850
|
-
if (!this.
|
|
3850
|
+
if (!this.o5p_1.equals(other.o5p_1))
|
|
3851
3851
|
return false;
|
|
3852
|
-
if (!(this.
|
|
3852
|
+
if (!(this.p5p_1 == other.p5p_1))
|
|
3853
3853
|
return false;
|
|
3854
|
-
if (!(this.
|
|
3854
|
+
if (!(this.q5p_1 == other.q5p_1))
|
|
3855
3855
|
return false;
|
|
3856
|
-
if (!(this.
|
|
3856
|
+
if (!(this.r5p_1 == other.r5p_1))
|
|
3857
3857
|
return false;
|
|
3858
|
-
if (!(this.
|
|
3858
|
+
if (!(this.s5p_1 === other.s5p_1))
|
|
3859
3859
|
return false;
|
|
3860
3860
|
return true;
|
|
3861
3861
|
};
|
|
@@ -3869,7 +3869,7 @@ function Companion_14() {
|
|
|
3869
3869
|
// Inline function 'kotlin.arrayOf' call
|
|
3870
3870
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3871
3871
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3872
|
-
tmp.
|
|
3872
|
+
tmp.t5p_1 = [null, lazy(tmp_0, PublishDiagnosticsParams$Companion$$childSerializers$_anonymous__qmhhk7)];
|
|
3873
3873
|
}
|
|
3874
3874
|
var Companion_instance_15;
|
|
3875
3875
|
function Companion_getInstance_14() {
|
|
@@ -3882,28 +3882,28 @@ function $serializer_18() {
|
|
|
3882
3882
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.PublishDiagnosticsParams', this, 2);
|
|
3883
3883
|
tmp0_serialDesc.k2c('uri', false);
|
|
3884
3884
|
tmp0_serialDesc.k2c('diagnostics', false);
|
|
3885
|
-
this.
|
|
3885
|
+
this.u5p_1 = tmp0_serialDesc;
|
|
3886
3886
|
}
|
|
3887
|
-
protoOf($serializer_18).
|
|
3888
|
-
var tmp0_desc = this.
|
|
3887
|
+
protoOf($serializer_18).v5p = function (encoder, value) {
|
|
3888
|
+
var tmp0_desc = this.u5p_1;
|
|
3889
3889
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
3890
|
-
var tmp2_cached = Companion_getInstance_14().
|
|
3891
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
3892
|
-
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.
|
|
3890
|
+
var tmp2_cached = Companion_getInstance_14().t5p_1;
|
|
3891
|
+
tmp1_output.l26(tmp0_desc, 0, value.w5p_1);
|
|
3892
|
+
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.x5p_1);
|
|
3893
3893
|
tmp1_output.x24(tmp0_desc);
|
|
3894
3894
|
};
|
|
3895
3895
|
protoOf($serializer_18).y21 = function (encoder, value) {
|
|
3896
|
-
return this.
|
|
3896
|
+
return this.v5p(encoder, value instanceof PublishDiagnosticsParams ? value : THROW_CCE());
|
|
3897
3897
|
};
|
|
3898
3898
|
protoOf($serializer_18).z21 = function (decoder) {
|
|
3899
|
-
var tmp0_desc = this.
|
|
3899
|
+
var tmp0_desc = this.u5p_1;
|
|
3900
3900
|
var tmp1_flag = true;
|
|
3901
3901
|
var tmp2_index = 0;
|
|
3902
3902
|
var tmp3_bitMask0 = 0;
|
|
3903
3903
|
var tmp4_local0 = null;
|
|
3904
3904
|
var tmp5_local1 = null;
|
|
3905
3905
|
var tmp6_input = decoder.w24(tmp0_desc);
|
|
3906
|
-
var tmp7_cached = Companion_getInstance_14().
|
|
3906
|
+
var tmp7_cached = Companion_getInstance_14().t5p_1;
|
|
3907
3907
|
if (tmp6_input.m25()) {
|
|
3908
3908
|
tmp4_local0 = tmp6_input.g25(tmp0_desc, 0);
|
|
3909
3909
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3932,10 +3932,10 @@ protoOf($serializer_18).z21 = function (decoder) {
|
|
|
3932
3932
|
return PublishDiagnosticsParams_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3933
3933
|
};
|
|
3934
3934
|
protoOf($serializer_18).x21 = function () {
|
|
3935
|
-
return this.
|
|
3935
|
+
return this.u5p_1;
|
|
3936
3936
|
};
|
|
3937
3937
|
protoOf($serializer_18).z2c = function () {
|
|
3938
|
-
var tmp0_cached = Companion_getInstance_14().
|
|
3938
|
+
var tmp0_cached = Companion_getInstance_14().t5p_1;
|
|
3939
3939
|
// Inline function 'kotlin.arrayOf' call
|
|
3940
3940
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3941
3941
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3949,10 +3949,10 @@ function $serializer_getInstance_18() {
|
|
|
3949
3949
|
}
|
|
3950
3950
|
function PublishDiagnosticsParams_init_$Init$(seen0, uri, diagnostics, serializationConstructorMarker, $this) {
|
|
3951
3951
|
if (!(3 === (3 & seen0))) {
|
|
3952
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_18().
|
|
3952
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_18().u5p_1);
|
|
3953
3953
|
}
|
|
3954
|
-
$this.
|
|
3955
|
-
$this.
|
|
3954
|
+
$this.w5p_1 = uri;
|
|
3955
|
+
$this.x5p_1 = diagnostics;
|
|
3956
3956
|
return $this;
|
|
3957
3957
|
}
|
|
3958
3958
|
function PublishDiagnosticsParams_init_$Create$(seen0, uri, diagnostics, serializationConstructorMarker) {
|
|
@@ -3960,15 +3960,15 @@ function PublishDiagnosticsParams_init_$Create$(seen0, uri, diagnostics, seriali
|
|
|
3960
3960
|
}
|
|
3961
3961
|
function PublishDiagnosticsParams(uri, diagnostics) {
|
|
3962
3962
|
Companion_getInstance_14();
|
|
3963
|
-
this.
|
|
3964
|
-
this.
|
|
3963
|
+
this.w5p_1 = uri;
|
|
3964
|
+
this.x5p_1 = diagnostics;
|
|
3965
3965
|
}
|
|
3966
3966
|
protoOf(PublishDiagnosticsParams).toString = function () {
|
|
3967
|
-
return 'PublishDiagnosticsParams(uri=' + this.
|
|
3967
|
+
return 'PublishDiagnosticsParams(uri=' + this.w5p_1 + ', diagnostics=' + toString_0(this.x5p_1) + ')';
|
|
3968
3968
|
};
|
|
3969
3969
|
protoOf(PublishDiagnosticsParams).hashCode = function () {
|
|
3970
|
-
var result = getStringHashCode(this.
|
|
3971
|
-
result = imul(result, 31) + hashCode(this.
|
|
3970
|
+
var result = getStringHashCode(this.w5p_1);
|
|
3971
|
+
result = imul(result, 31) + hashCode(this.x5p_1) | 0;
|
|
3972
3972
|
return result;
|
|
3973
3973
|
};
|
|
3974
3974
|
protoOf(PublishDiagnosticsParams).equals = function (other) {
|
|
@@ -3976,9 +3976,9 @@ protoOf(PublishDiagnosticsParams).equals = function (other) {
|
|
|
3976
3976
|
return true;
|
|
3977
3977
|
if (!(other instanceof PublishDiagnosticsParams))
|
|
3978
3978
|
return false;
|
|
3979
|
-
if (!(this.
|
|
3979
|
+
if (!(this.w5p_1 === other.w5p_1))
|
|
3980
3980
|
return false;
|
|
3981
|
-
if (!equals(this.
|
|
3981
|
+
if (!equals(this.x5p_1, other.x5p_1))
|
|
3982
3982
|
return false;
|
|
3983
3983
|
return true;
|
|
3984
3984
|
};
|
|
@@ -3995,30 +3995,30 @@ function $serializer_19() {
|
|
|
3995
3995
|
tmp0_serialDesc.k2c('semanticTokensProvider', true);
|
|
3996
3996
|
tmp0_serialDesc.k2c('definitionProvider', true);
|
|
3997
3997
|
tmp0_serialDesc.k2c('renameProvider', true);
|
|
3998
|
-
this.
|
|
3998
|
+
this.y5p_1 = tmp0_serialDesc;
|
|
3999
3999
|
}
|
|
4000
|
-
protoOf($serializer_19).
|
|
4001
|
-
var tmp0_desc = this.
|
|
4000
|
+
protoOf($serializer_19).z5p = function (encoder, value) {
|
|
4001
|
+
var tmp0_desc = this.y5p_1;
|
|
4002
4002
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4003
|
-
if (tmp1_output.t26(tmp0_desc, 0) ? true : !value.
|
|
4004
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_25(), value.
|
|
4003
|
+
if (tmp1_output.t26(tmp0_desc, 0) ? true : !value.a5q_1.equals(new TextDocumentSyncOptions())) {
|
|
4004
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_25(), value.a5q_1);
|
|
4005
4005
|
}
|
|
4006
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
4007
|
-
tmp1_output.p26(tmp0_desc, 1, $serializer_getInstance_20(), value.
|
|
4006
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.b5q_1 == null)) {
|
|
4007
|
+
tmp1_output.p26(tmp0_desc, 1, $serializer_getInstance_20(), value.b5q_1);
|
|
4008
4008
|
}
|
|
4009
|
-
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.
|
|
4010
|
-
tmp1_output.d26(tmp0_desc, 2, value.
|
|
4009
|
+
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.c5q_1 === false)) {
|
|
4010
|
+
tmp1_output.d26(tmp0_desc, 2, value.c5q_1);
|
|
4011
4011
|
}
|
|
4012
|
-
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.
|
|
4013
|
-
tmp1_output.p26(tmp0_desc, 3, $serializer_getInstance_22(), value.
|
|
4012
|
+
if (tmp1_output.t26(tmp0_desc, 3) ? true : !(value.d5q_1 == null)) {
|
|
4013
|
+
tmp1_output.p26(tmp0_desc, 3, $serializer_getInstance_22(), value.d5q_1);
|
|
4014
4014
|
}
|
|
4015
4015
|
tmp1_output.x24(tmp0_desc);
|
|
4016
4016
|
};
|
|
4017
4017
|
protoOf($serializer_19).y21 = function (encoder, value) {
|
|
4018
|
-
return this.
|
|
4018
|
+
return this.z5p(encoder, value instanceof ServerCapabilities ? value : THROW_CCE());
|
|
4019
4019
|
};
|
|
4020
4020
|
protoOf($serializer_19).z21 = function (decoder) {
|
|
4021
|
-
var tmp0_desc = this.
|
|
4021
|
+
var tmp0_desc = this.y5p_1;
|
|
4022
4022
|
var tmp1_flag = true;
|
|
4023
4023
|
var tmp2_index = 0;
|
|
4024
4024
|
var tmp3_bitMask0 = 0;
|
|
@@ -4067,7 +4067,7 @@ protoOf($serializer_19).z21 = function (decoder) {
|
|
|
4067
4067
|
return ServerCapabilities_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
4068
4068
|
};
|
|
4069
4069
|
protoOf($serializer_19).x21 = function () {
|
|
4070
|
-
return this.
|
|
4070
|
+
return this.y5p_1;
|
|
4071
4071
|
};
|
|
4072
4072
|
protoOf($serializer_19).z2c = function () {
|
|
4073
4073
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4083,24 +4083,24 @@ function $serializer_getInstance_19() {
|
|
|
4083
4083
|
}
|
|
4084
4084
|
function ServerCapabilities_init_$Init$(seen0, textDocumentSync, semanticTokensProvider, definitionProvider, renameProvider, serializationConstructorMarker, $this) {
|
|
4085
4085
|
if (!(0 === (0 & seen0))) {
|
|
4086
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_19().
|
|
4086
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_19().y5p_1);
|
|
4087
4087
|
}
|
|
4088
4088
|
if (0 === (seen0 & 1))
|
|
4089
|
-
$this.
|
|
4089
|
+
$this.a5q_1 = new TextDocumentSyncOptions();
|
|
4090
4090
|
else
|
|
4091
|
-
$this.
|
|
4091
|
+
$this.a5q_1 = textDocumentSync;
|
|
4092
4092
|
if (0 === (seen0 & 2))
|
|
4093
|
-
$this.
|
|
4093
|
+
$this.b5q_1 = null;
|
|
4094
4094
|
else
|
|
4095
|
-
$this.
|
|
4095
|
+
$this.b5q_1 = semanticTokensProvider;
|
|
4096
4096
|
if (0 === (seen0 & 4))
|
|
4097
|
-
$this.
|
|
4097
|
+
$this.c5q_1 = false;
|
|
4098
4098
|
else
|
|
4099
|
-
$this.
|
|
4099
|
+
$this.c5q_1 = definitionProvider;
|
|
4100
4100
|
if (0 === (seen0 & 8))
|
|
4101
|
-
$this.
|
|
4101
|
+
$this.d5q_1 = null;
|
|
4102
4102
|
else
|
|
4103
|
-
$this.
|
|
4103
|
+
$this.d5q_1 = renameProvider;
|
|
4104
4104
|
return $this;
|
|
4105
4105
|
}
|
|
4106
4106
|
function ServerCapabilities_init_$Create$(seen0, textDocumentSync, semanticTokensProvider, definitionProvider, renameProvider, serializationConstructorMarker) {
|
|
@@ -4111,19 +4111,19 @@ function ServerCapabilities(textDocumentSync, semanticTokensProvider, definition
|
|
|
4111
4111
|
semanticTokensProvider = semanticTokensProvider === VOID ? null : semanticTokensProvider;
|
|
4112
4112
|
definitionProvider = definitionProvider === VOID ? false : definitionProvider;
|
|
4113
4113
|
renameProvider = renameProvider === VOID ? null : renameProvider;
|
|
4114
|
-
this.
|
|
4115
|
-
this.
|
|
4116
|
-
this.
|
|
4117
|
-
this.
|
|
4114
|
+
this.a5q_1 = textDocumentSync;
|
|
4115
|
+
this.b5q_1 = semanticTokensProvider;
|
|
4116
|
+
this.c5q_1 = definitionProvider;
|
|
4117
|
+
this.d5q_1 = renameProvider;
|
|
4118
4118
|
}
|
|
4119
4119
|
protoOf(ServerCapabilities).toString = function () {
|
|
4120
|
-
return 'ServerCapabilities(textDocumentSync=' + this.
|
|
4120
|
+
return 'ServerCapabilities(textDocumentSync=' + this.a5q_1.toString() + ', semanticTokensProvider=' + toString(this.b5q_1) + ', definitionProvider=' + this.c5q_1 + ', renameProvider=' + toString(this.d5q_1) + ')';
|
|
4121
4121
|
};
|
|
4122
4122
|
protoOf(ServerCapabilities).hashCode = function () {
|
|
4123
|
-
var result = this.
|
|
4124
|
-
result = imul(result, 31) + (this.
|
|
4125
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
4126
|
-
result = imul(result, 31) + (this.
|
|
4123
|
+
var result = this.a5q_1.hashCode();
|
|
4124
|
+
result = imul(result, 31) + (this.b5q_1 == null ? 0 : this.b5q_1.hashCode()) | 0;
|
|
4125
|
+
result = imul(result, 31) + getBooleanHashCode(this.c5q_1) | 0;
|
|
4126
|
+
result = imul(result, 31) + (this.d5q_1 == null ? 0 : this.d5q_1.hashCode()) | 0;
|
|
4127
4127
|
return result;
|
|
4128
4128
|
};
|
|
4129
4129
|
protoOf(ServerCapabilities).equals = function (other) {
|
|
@@ -4131,13 +4131,13 @@ protoOf(ServerCapabilities).equals = function (other) {
|
|
|
4131
4131
|
return true;
|
|
4132
4132
|
if (!(other instanceof ServerCapabilities))
|
|
4133
4133
|
return false;
|
|
4134
|
-
if (!this.
|
|
4134
|
+
if (!this.a5q_1.equals(other.a5q_1))
|
|
4135
4135
|
return false;
|
|
4136
|
-
if (!equals(this.
|
|
4136
|
+
if (!equals(this.b5q_1, other.b5q_1))
|
|
4137
4137
|
return false;
|
|
4138
|
-
if (!(this.
|
|
4138
|
+
if (!(this.c5q_1 === other.c5q_1))
|
|
4139
4139
|
return false;
|
|
4140
|
-
if (!equals(this.
|
|
4140
|
+
if (!equals(this.d5q_1, other.d5q_1))
|
|
4141
4141
|
return false;
|
|
4142
4142
|
return true;
|
|
4143
4143
|
};
|
|
@@ -4153,25 +4153,25 @@ function $serializer_20() {
|
|
|
4153
4153
|
tmp0_serialDesc.k2c('legend', false);
|
|
4154
4154
|
tmp0_serialDesc.k2c('range', true);
|
|
4155
4155
|
tmp0_serialDesc.k2c('full', true);
|
|
4156
|
-
this.
|
|
4156
|
+
this.e5q_1 = tmp0_serialDesc;
|
|
4157
4157
|
}
|
|
4158
|
-
protoOf($serializer_20).
|
|
4159
|
-
var tmp0_desc = this.
|
|
4158
|
+
protoOf($serializer_20).f5q = function (encoder, value) {
|
|
4159
|
+
var tmp0_desc = this.e5q_1;
|
|
4160
4160
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4161
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_21(), value.
|
|
4162
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
4163
|
-
tmp1_output.d26(tmp0_desc, 1, value.
|
|
4161
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_21(), value.g5q_1);
|
|
4162
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.h5q_1 === false)) {
|
|
4163
|
+
tmp1_output.d26(tmp0_desc, 1, value.h5q_1);
|
|
4164
4164
|
}
|
|
4165
|
-
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.
|
|
4166
|
-
tmp1_output.d26(tmp0_desc, 2, value.
|
|
4165
|
+
if (tmp1_output.t26(tmp0_desc, 2) ? true : !(value.i5q_1 === true)) {
|
|
4166
|
+
tmp1_output.d26(tmp0_desc, 2, value.i5q_1);
|
|
4167
4167
|
}
|
|
4168
4168
|
tmp1_output.x24(tmp0_desc);
|
|
4169
4169
|
};
|
|
4170
4170
|
protoOf($serializer_20).y21 = function (encoder, value) {
|
|
4171
|
-
return this.
|
|
4171
|
+
return this.f5q(encoder, value instanceof SemanticTokensOptions ? value : THROW_CCE());
|
|
4172
4172
|
};
|
|
4173
4173
|
protoOf($serializer_20).z21 = function (decoder) {
|
|
4174
|
-
var tmp0_desc = this.
|
|
4174
|
+
var tmp0_desc = this.e5q_1;
|
|
4175
4175
|
var tmp1_flag = true;
|
|
4176
4176
|
var tmp2_index = 0;
|
|
4177
4177
|
var tmp3_bitMask0 = 0;
|
|
@@ -4213,7 +4213,7 @@ protoOf($serializer_20).z21 = function (decoder) {
|
|
|
4213
4213
|
return SemanticTokensOptions_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
4214
4214
|
};
|
|
4215
4215
|
protoOf($serializer_20).x21 = function () {
|
|
4216
|
-
return this.
|
|
4216
|
+
return this.e5q_1;
|
|
4217
4217
|
};
|
|
4218
4218
|
protoOf($serializer_20).z2c = function () {
|
|
4219
4219
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4229,17 +4229,17 @@ function $serializer_getInstance_20() {
|
|
|
4229
4229
|
}
|
|
4230
4230
|
function SemanticTokensOptions_init_$Init$(seen0, legend, range, full, serializationConstructorMarker, $this) {
|
|
4231
4231
|
if (!(1 === (1 & seen0))) {
|
|
4232
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_20().
|
|
4232
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_20().e5q_1);
|
|
4233
4233
|
}
|
|
4234
|
-
$this.
|
|
4234
|
+
$this.g5q_1 = legend;
|
|
4235
4235
|
if (0 === (seen0 & 2))
|
|
4236
|
-
$this.
|
|
4236
|
+
$this.h5q_1 = false;
|
|
4237
4237
|
else
|
|
4238
|
-
$this.
|
|
4238
|
+
$this.h5q_1 = range;
|
|
4239
4239
|
if (0 === (seen0 & 4))
|
|
4240
|
-
$this.
|
|
4240
|
+
$this.i5q_1 = true;
|
|
4241
4241
|
else
|
|
4242
|
-
$this.
|
|
4242
|
+
$this.i5q_1 = full;
|
|
4243
4243
|
return $this;
|
|
4244
4244
|
}
|
|
4245
4245
|
function SemanticTokensOptions_init_$Create$(seen0, legend, range, full, serializationConstructorMarker) {
|
|
@@ -4248,17 +4248,17 @@ function SemanticTokensOptions_init_$Create$(seen0, legend, range, full, seriali
|
|
|
4248
4248
|
function SemanticTokensOptions(legend, range, full) {
|
|
4249
4249
|
range = range === VOID ? false : range;
|
|
4250
4250
|
full = full === VOID ? true : full;
|
|
4251
|
-
this.
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4251
|
+
this.g5q_1 = legend;
|
|
4252
|
+
this.h5q_1 = range;
|
|
4253
|
+
this.i5q_1 = full;
|
|
4254
4254
|
}
|
|
4255
4255
|
protoOf(SemanticTokensOptions).toString = function () {
|
|
4256
|
-
return 'SemanticTokensOptions(legend=' + this.
|
|
4256
|
+
return 'SemanticTokensOptions(legend=' + this.g5q_1.toString() + ', range=' + this.h5q_1 + ', full=' + this.i5q_1 + ')';
|
|
4257
4257
|
};
|
|
4258
4258
|
protoOf(SemanticTokensOptions).hashCode = function () {
|
|
4259
|
-
var result = this.
|
|
4260
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
4261
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
4259
|
+
var result = this.g5q_1.hashCode();
|
|
4260
|
+
result = imul(result, 31) + getBooleanHashCode(this.h5q_1) | 0;
|
|
4261
|
+
result = imul(result, 31) + getBooleanHashCode(this.i5q_1) | 0;
|
|
4262
4262
|
return result;
|
|
4263
4263
|
};
|
|
4264
4264
|
protoOf(SemanticTokensOptions).equals = function (other) {
|
|
@@ -4266,11 +4266,11 @@ protoOf(SemanticTokensOptions).equals = function (other) {
|
|
|
4266
4266
|
return true;
|
|
4267
4267
|
if (!(other instanceof SemanticTokensOptions))
|
|
4268
4268
|
return false;
|
|
4269
|
-
if (!this.
|
|
4269
|
+
if (!this.g5q_1.equals(other.g5q_1))
|
|
4270
4270
|
return false;
|
|
4271
|
-
if (!(this.
|
|
4271
|
+
if (!(this.h5q_1 === other.h5q_1))
|
|
4272
4272
|
return false;
|
|
4273
|
-
if (!(this.
|
|
4273
|
+
if (!(this.i5q_1 === other.i5q_1))
|
|
4274
4274
|
return false;
|
|
4275
4275
|
return true;
|
|
4276
4276
|
};
|
|
@@ -4289,7 +4289,7 @@ function Companion_17() {
|
|
|
4289
4289
|
// Inline function 'kotlin.arrayOf' call
|
|
4290
4290
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4291
4291
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4292
|
-
tmp.
|
|
4292
|
+
tmp.j5q_1 = [tmp_1, lazy(tmp_2, SemanticTokensLegend$Companion$$childSerializers$_anonymous__c919tp_0)];
|
|
4293
4293
|
}
|
|
4294
4294
|
var Companion_instance_18;
|
|
4295
4295
|
function Companion_getInstance_17() {
|
|
@@ -4302,28 +4302,28 @@ function $serializer_21() {
|
|
|
4302
4302
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.SemanticTokensLegend', this, 2);
|
|
4303
4303
|
tmp0_serialDesc.k2c('tokenTypes', false);
|
|
4304
4304
|
tmp0_serialDesc.k2c('tokenModifiers', false);
|
|
4305
|
-
this.
|
|
4305
|
+
this.k5q_1 = tmp0_serialDesc;
|
|
4306
4306
|
}
|
|
4307
|
-
protoOf($serializer_21).
|
|
4308
|
-
var tmp0_desc = this.
|
|
4307
|
+
protoOf($serializer_21).l5q = function (encoder, value) {
|
|
4308
|
+
var tmp0_desc = this.k5q_1;
|
|
4309
4309
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4310
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
4311
|
-
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.
|
|
4312
|
-
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.
|
|
4310
|
+
var tmp2_cached = Companion_getInstance_17().j5q_1;
|
|
4311
|
+
tmp1_output.n26(tmp0_desc, 0, tmp2_cached[0].o1(), value.m5q_1);
|
|
4312
|
+
tmp1_output.n26(tmp0_desc, 1, tmp2_cached[1].o1(), value.n5q_1);
|
|
4313
4313
|
tmp1_output.x24(tmp0_desc);
|
|
4314
4314
|
};
|
|
4315
4315
|
protoOf($serializer_21).y21 = function (encoder, value) {
|
|
4316
|
-
return this.
|
|
4316
|
+
return this.l5q(encoder, value instanceof SemanticTokensLegend ? value : THROW_CCE());
|
|
4317
4317
|
};
|
|
4318
4318
|
protoOf($serializer_21).z21 = function (decoder) {
|
|
4319
|
-
var tmp0_desc = this.
|
|
4319
|
+
var tmp0_desc = this.k5q_1;
|
|
4320
4320
|
var tmp1_flag = true;
|
|
4321
4321
|
var tmp2_index = 0;
|
|
4322
4322
|
var tmp3_bitMask0 = 0;
|
|
4323
4323
|
var tmp4_local0 = null;
|
|
4324
4324
|
var tmp5_local1 = null;
|
|
4325
4325
|
var tmp6_input = decoder.w24(tmp0_desc);
|
|
4326
|
-
var tmp7_cached = Companion_getInstance_17().
|
|
4326
|
+
var tmp7_cached = Companion_getInstance_17().j5q_1;
|
|
4327
4327
|
if (tmp6_input.m25()) {
|
|
4328
4328
|
tmp4_local0 = tmp6_input.i25(tmp0_desc, 0, tmp7_cached[0].o1(), tmp4_local0);
|
|
4329
4329
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4352,10 +4352,10 @@ protoOf($serializer_21).z21 = function (decoder) {
|
|
|
4352
4352
|
return SemanticTokensLegend_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
4353
4353
|
};
|
|
4354
4354
|
protoOf($serializer_21).x21 = function () {
|
|
4355
|
-
return this.
|
|
4355
|
+
return this.k5q_1;
|
|
4356
4356
|
};
|
|
4357
4357
|
protoOf($serializer_21).z2c = function () {
|
|
4358
|
-
var tmp0_cached = Companion_getInstance_17().
|
|
4358
|
+
var tmp0_cached = Companion_getInstance_17().j5q_1;
|
|
4359
4359
|
// Inline function 'kotlin.arrayOf' call
|
|
4360
4360
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4361
4361
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4369,10 +4369,10 @@ function $serializer_getInstance_21() {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
function SemanticTokensLegend_init_$Init$(seen0, tokenTypes, tokenModifiers, serializationConstructorMarker, $this) {
|
|
4371
4371
|
if (!(3 === (3 & seen0))) {
|
|
4372
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_21().
|
|
4372
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_21().k5q_1);
|
|
4373
4373
|
}
|
|
4374
|
-
$this.
|
|
4375
|
-
$this.
|
|
4374
|
+
$this.m5q_1 = tokenTypes;
|
|
4375
|
+
$this.n5q_1 = tokenModifiers;
|
|
4376
4376
|
return $this;
|
|
4377
4377
|
}
|
|
4378
4378
|
function SemanticTokensLegend_init_$Create$(seen0, tokenTypes, tokenModifiers, serializationConstructorMarker) {
|
|
@@ -4380,15 +4380,15 @@ function SemanticTokensLegend_init_$Create$(seen0, tokenTypes, tokenModifiers, s
|
|
|
4380
4380
|
}
|
|
4381
4381
|
function SemanticTokensLegend(tokenTypes, tokenModifiers) {
|
|
4382
4382
|
Companion_getInstance_17();
|
|
4383
|
-
this.
|
|
4384
|
-
this.
|
|
4383
|
+
this.m5q_1 = tokenTypes;
|
|
4384
|
+
this.n5q_1 = tokenModifiers;
|
|
4385
4385
|
}
|
|
4386
4386
|
protoOf(SemanticTokensLegend).toString = function () {
|
|
4387
|
-
return 'SemanticTokensLegend(tokenTypes=' + toString_0(this.
|
|
4387
|
+
return 'SemanticTokensLegend(tokenTypes=' + toString_0(this.m5q_1) + ', tokenModifiers=' + toString_0(this.n5q_1) + ')';
|
|
4388
4388
|
};
|
|
4389
4389
|
protoOf(SemanticTokensLegend).hashCode = function () {
|
|
4390
|
-
var result = hashCode(this.
|
|
4391
|
-
result = imul(result, 31) + hashCode(this.
|
|
4390
|
+
var result = hashCode(this.m5q_1);
|
|
4391
|
+
result = imul(result, 31) + hashCode(this.n5q_1) | 0;
|
|
4392
4392
|
return result;
|
|
4393
4393
|
};
|
|
4394
4394
|
protoOf(SemanticTokensLegend).equals = function (other) {
|
|
@@ -4396,9 +4396,9 @@ protoOf(SemanticTokensLegend).equals = function (other) {
|
|
|
4396
4396
|
return true;
|
|
4397
4397
|
if (!(other instanceof SemanticTokensLegend))
|
|
4398
4398
|
return false;
|
|
4399
|
-
if (!equals(this.
|
|
4399
|
+
if (!equals(this.m5q_1, other.m5q_1))
|
|
4400
4400
|
return false;
|
|
4401
|
-
if (!equals(this.
|
|
4401
|
+
if (!equals(this.n5q_1, other.n5q_1))
|
|
4402
4402
|
return false;
|
|
4403
4403
|
return true;
|
|
4404
4404
|
};
|
|
@@ -4412,21 +4412,21 @@ function $serializer_22() {
|
|
|
4412
4412
|
$serializer_instance_22 = this;
|
|
4413
4413
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.RenameOptions', this, 1);
|
|
4414
4414
|
tmp0_serialDesc.k2c('prepareProvider', true);
|
|
4415
|
-
this.
|
|
4415
|
+
this.o5q_1 = tmp0_serialDesc;
|
|
4416
4416
|
}
|
|
4417
|
-
protoOf($serializer_22).
|
|
4418
|
-
var tmp0_desc = this.
|
|
4417
|
+
protoOf($serializer_22).p5q = function (encoder, value) {
|
|
4418
|
+
var tmp0_desc = this.o5q_1;
|
|
4419
4419
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4420
|
-
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.
|
|
4421
|
-
tmp1_output.d26(tmp0_desc, 0, value.
|
|
4420
|
+
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.q5q_1 === false)) {
|
|
4421
|
+
tmp1_output.d26(tmp0_desc, 0, value.q5q_1);
|
|
4422
4422
|
}
|
|
4423
4423
|
tmp1_output.x24(tmp0_desc);
|
|
4424
4424
|
};
|
|
4425
4425
|
protoOf($serializer_22).y21 = function (encoder, value) {
|
|
4426
|
-
return this.
|
|
4426
|
+
return this.p5q(encoder, value instanceof RenameOptions ? value : THROW_CCE());
|
|
4427
4427
|
};
|
|
4428
4428
|
protoOf($serializer_22).z21 = function (decoder) {
|
|
4429
|
-
var tmp0_desc = this.
|
|
4429
|
+
var tmp0_desc = this.o5q_1;
|
|
4430
4430
|
var tmp1_flag = true;
|
|
4431
4431
|
var tmp2_index = 0;
|
|
4432
4432
|
var tmp3_bitMask0 = 0;
|
|
@@ -4454,7 +4454,7 @@ protoOf($serializer_22).z21 = function (decoder) {
|
|
|
4454
4454
|
return RenameOptions_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
4455
4455
|
};
|
|
4456
4456
|
protoOf($serializer_22).x21 = function () {
|
|
4457
|
-
return this.
|
|
4457
|
+
return this.o5q_1;
|
|
4458
4458
|
};
|
|
4459
4459
|
protoOf($serializer_22).z2c = function () {
|
|
4460
4460
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4470,12 +4470,12 @@ function $serializer_getInstance_22() {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
function RenameOptions_init_$Init$(seen0, prepareProvider, serializationConstructorMarker, $this) {
|
|
4472
4472
|
if (!(0 === (0 & seen0))) {
|
|
4473
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_22().
|
|
4473
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_22().o5q_1);
|
|
4474
4474
|
}
|
|
4475
4475
|
if (0 === (seen0 & 1))
|
|
4476
|
-
$this.
|
|
4476
|
+
$this.q5q_1 = false;
|
|
4477
4477
|
else
|
|
4478
|
-
$this.
|
|
4478
|
+
$this.q5q_1 = prepareProvider;
|
|
4479
4479
|
return $this;
|
|
4480
4480
|
}
|
|
4481
4481
|
function RenameOptions_init_$Create$(seen0, prepareProvider, serializationConstructorMarker) {
|
|
@@ -4483,20 +4483,20 @@ function RenameOptions_init_$Create$(seen0, prepareProvider, serializationConstr
|
|
|
4483
4483
|
}
|
|
4484
4484
|
function RenameOptions(prepareProvider) {
|
|
4485
4485
|
prepareProvider = prepareProvider === VOID ? false : prepareProvider;
|
|
4486
|
-
this.
|
|
4486
|
+
this.q5q_1 = prepareProvider;
|
|
4487
4487
|
}
|
|
4488
4488
|
protoOf(RenameOptions).toString = function () {
|
|
4489
|
-
return 'RenameOptions(prepareProvider=' + this.
|
|
4489
|
+
return 'RenameOptions(prepareProvider=' + this.q5q_1 + ')';
|
|
4490
4490
|
};
|
|
4491
4491
|
protoOf(RenameOptions).hashCode = function () {
|
|
4492
|
-
return getBooleanHashCode(this.
|
|
4492
|
+
return getBooleanHashCode(this.q5q_1);
|
|
4493
4493
|
};
|
|
4494
4494
|
protoOf(RenameOptions).equals = function (other) {
|
|
4495
4495
|
if (this === other)
|
|
4496
4496
|
return true;
|
|
4497
4497
|
if (!(other instanceof RenameOptions))
|
|
4498
4498
|
return false;
|
|
4499
|
-
if (!(this.
|
|
4499
|
+
if (!(this.q5q_1 === other.q5q_1))
|
|
4500
4500
|
return false;
|
|
4501
4501
|
return true;
|
|
4502
4502
|
};
|
|
@@ -4511,22 +4511,22 @@ function $serializer_23() {
|
|
|
4511
4511
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.ServerInfo', this, 2);
|
|
4512
4512
|
tmp0_serialDesc.k2c('name', false);
|
|
4513
4513
|
tmp0_serialDesc.k2c('version', true);
|
|
4514
|
-
this.
|
|
4514
|
+
this.r5q_1 = tmp0_serialDesc;
|
|
4515
4515
|
}
|
|
4516
|
-
protoOf($serializer_23).
|
|
4517
|
-
var tmp0_desc = this.
|
|
4516
|
+
protoOf($serializer_23).s5q = function (encoder, value) {
|
|
4517
|
+
var tmp0_desc = this.r5q_1;
|
|
4518
4518
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4519
|
-
tmp1_output.l26(tmp0_desc, 0, value.
|
|
4520
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
4521
|
-
tmp1_output.p26(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
4519
|
+
tmp1_output.l26(tmp0_desc, 0, value.t5q_1);
|
|
4520
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.u5q_1 == null)) {
|
|
4521
|
+
tmp1_output.p26(tmp0_desc, 1, StringSerializer_getInstance(), value.u5q_1);
|
|
4522
4522
|
}
|
|
4523
4523
|
tmp1_output.x24(tmp0_desc);
|
|
4524
4524
|
};
|
|
4525
4525
|
protoOf($serializer_23).y21 = function (encoder, value) {
|
|
4526
|
-
return this.
|
|
4526
|
+
return this.s5q(encoder, value instanceof ServerInfo ? value : THROW_CCE());
|
|
4527
4527
|
};
|
|
4528
4528
|
protoOf($serializer_23).z21 = function (decoder) {
|
|
4529
|
-
var tmp0_desc = this.
|
|
4529
|
+
var tmp0_desc = this.r5q_1;
|
|
4530
4530
|
var tmp1_flag = true;
|
|
4531
4531
|
var tmp2_index = 0;
|
|
4532
4532
|
var tmp3_bitMask0 = 0;
|
|
@@ -4561,7 +4561,7 @@ protoOf($serializer_23).z21 = function (decoder) {
|
|
|
4561
4561
|
return ServerInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
4562
4562
|
};
|
|
4563
4563
|
protoOf($serializer_23).x21 = function () {
|
|
4564
|
-
return this.
|
|
4564
|
+
return this.r5q_1;
|
|
4565
4565
|
};
|
|
4566
4566
|
protoOf($serializer_23).z2c = function () {
|
|
4567
4567
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4577,13 +4577,13 @@ function $serializer_getInstance_23() {
|
|
|
4577
4577
|
}
|
|
4578
4578
|
function ServerInfo_init_$Init$(seen0, name, version, serializationConstructorMarker, $this) {
|
|
4579
4579
|
if (!(1 === (1 & seen0))) {
|
|
4580
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_23().
|
|
4580
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_23().r5q_1);
|
|
4581
4581
|
}
|
|
4582
|
-
$this.
|
|
4582
|
+
$this.t5q_1 = name;
|
|
4583
4583
|
if (0 === (seen0 & 2))
|
|
4584
|
-
$this.
|
|
4584
|
+
$this.u5q_1 = null;
|
|
4585
4585
|
else
|
|
4586
|
-
$this.
|
|
4586
|
+
$this.u5q_1 = version;
|
|
4587
4587
|
return $this;
|
|
4588
4588
|
}
|
|
4589
4589
|
function ServerInfo_init_$Create$(seen0, name, version, serializationConstructorMarker) {
|
|
@@ -4591,15 +4591,15 @@ function ServerInfo_init_$Create$(seen0, name, version, serializationConstructor
|
|
|
4591
4591
|
}
|
|
4592
4592
|
function ServerInfo(name, version) {
|
|
4593
4593
|
version = version === VOID ? null : version;
|
|
4594
|
-
this.
|
|
4595
|
-
this.
|
|
4594
|
+
this.t5q_1 = name;
|
|
4595
|
+
this.u5q_1 = version;
|
|
4596
4596
|
}
|
|
4597
4597
|
protoOf(ServerInfo).toString = function () {
|
|
4598
|
-
return 'ServerInfo(name=' + this.
|
|
4598
|
+
return 'ServerInfo(name=' + this.t5q_1 + ', version=' + this.u5q_1 + ')';
|
|
4599
4599
|
};
|
|
4600
4600
|
protoOf(ServerInfo).hashCode = function () {
|
|
4601
|
-
var result = getStringHashCode(this.
|
|
4602
|
-
result = imul(result, 31) + (this.
|
|
4601
|
+
var result = getStringHashCode(this.t5q_1);
|
|
4602
|
+
result = imul(result, 31) + (this.u5q_1 == null ? 0 : getStringHashCode(this.u5q_1)) | 0;
|
|
4603
4603
|
return result;
|
|
4604
4604
|
};
|
|
4605
4605
|
protoOf(ServerInfo).equals = function (other) {
|
|
@@ -4607,9 +4607,9 @@ protoOf(ServerInfo).equals = function (other) {
|
|
|
4607
4607
|
return true;
|
|
4608
4608
|
if (!(other instanceof ServerInfo))
|
|
4609
4609
|
return false;
|
|
4610
|
-
if (!(this.
|
|
4610
|
+
if (!(this.t5q_1 === other.t5q_1))
|
|
4611
4611
|
return false;
|
|
4612
|
-
if (!(this.
|
|
4612
|
+
if (!(this.u5q_1 == other.u5q_1))
|
|
4613
4613
|
return false;
|
|
4614
4614
|
return true;
|
|
4615
4615
|
};
|
|
@@ -4624,20 +4624,20 @@ function $serializer_24() {
|
|
|
4624
4624
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.TextEdit', this, 2);
|
|
4625
4625
|
tmp0_serialDesc.k2c('range', false);
|
|
4626
4626
|
tmp0_serialDesc.k2c('newText', false);
|
|
4627
|
-
this.
|
|
4627
|
+
this.v5q_1 = tmp0_serialDesc;
|
|
4628
4628
|
}
|
|
4629
|
-
protoOf($serializer_24).
|
|
4630
|
-
var tmp0_desc = this.
|
|
4629
|
+
protoOf($serializer_24).w5q = function (encoder, value) {
|
|
4630
|
+
var tmp0_desc = this.v5q_1;
|
|
4631
4631
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4632
|
-
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_8(), value.
|
|
4633
|
-
tmp1_output.l26(tmp0_desc, 1, value.
|
|
4632
|
+
tmp1_output.n26(tmp0_desc, 0, $serializer_getInstance_8(), value.x5q_1);
|
|
4633
|
+
tmp1_output.l26(tmp0_desc, 1, value.y5q_1);
|
|
4634
4634
|
tmp1_output.x24(tmp0_desc);
|
|
4635
4635
|
};
|
|
4636
4636
|
protoOf($serializer_24).y21 = function (encoder, value) {
|
|
4637
|
-
return this.
|
|
4637
|
+
return this.w5q(encoder, value instanceof TextEdit ? value : THROW_CCE());
|
|
4638
4638
|
};
|
|
4639
4639
|
protoOf($serializer_24).z21 = function (decoder) {
|
|
4640
|
-
var tmp0_desc = this.
|
|
4640
|
+
var tmp0_desc = this.v5q_1;
|
|
4641
4641
|
var tmp1_flag = true;
|
|
4642
4642
|
var tmp2_index = 0;
|
|
4643
4643
|
var tmp3_bitMask0 = 0;
|
|
@@ -4672,7 +4672,7 @@ protoOf($serializer_24).z21 = function (decoder) {
|
|
|
4672
4672
|
return TextEdit_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
4673
4673
|
};
|
|
4674
4674
|
protoOf($serializer_24).x21 = function () {
|
|
4675
|
-
return this.
|
|
4675
|
+
return this.v5q_1;
|
|
4676
4676
|
};
|
|
4677
4677
|
protoOf($serializer_24).z2c = function () {
|
|
4678
4678
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4688,25 +4688,25 @@ function $serializer_getInstance_24() {
|
|
|
4688
4688
|
}
|
|
4689
4689
|
function TextEdit_init_$Init$(seen0, range, newText, serializationConstructorMarker, $this) {
|
|
4690
4690
|
if (!(3 === (3 & seen0))) {
|
|
4691
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_24().
|
|
4691
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_24().v5q_1);
|
|
4692
4692
|
}
|
|
4693
|
-
$this.
|
|
4694
|
-
$this.
|
|
4693
|
+
$this.x5q_1 = range;
|
|
4694
|
+
$this.y5q_1 = newText;
|
|
4695
4695
|
return $this;
|
|
4696
4696
|
}
|
|
4697
4697
|
function TextEdit_init_$Create$(seen0, range, newText, serializationConstructorMarker) {
|
|
4698
4698
|
return TextEdit_init_$Init$(seen0, range, newText, serializationConstructorMarker, objectCreate(protoOf(TextEdit)));
|
|
4699
4699
|
}
|
|
4700
4700
|
function TextEdit(range, newText) {
|
|
4701
|
-
this.
|
|
4702
|
-
this.
|
|
4701
|
+
this.x5q_1 = range;
|
|
4702
|
+
this.y5q_1 = newText;
|
|
4703
4703
|
}
|
|
4704
4704
|
protoOf(TextEdit).toString = function () {
|
|
4705
|
-
return 'TextEdit(range=' + this.
|
|
4705
|
+
return 'TextEdit(range=' + this.x5q_1.toString() + ', newText=' + this.y5q_1 + ')';
|
|
4706
4706
|
};
|
|
4707
4707
|
protoOf(TextEdit).hashCode = function () {
|
|
4708
|
-
var result = this.
|
|
4709
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4708
|
+
var result = this.x5q_1.hashCode();
|
|
4709
|
+
result = imul(result, 31) + getStringHashCode(this.y5q_1) | 0;
|
|
4710
4710
|
return result;
|
|
4711
4711
|
};
|
|
4712
4712
|
protoOf(TextEdit).equals = function (other) {
|
|
@@ -4714,9 +4714,9 @@ protoOf(TextEdit).equals = function (other) {
|
|
|
4714
4714
|
return true;
|
|
4715
4715
|
if (!(other instanceof TextEdit))
|
|
4716
4716
|
return false;
|
|
4717
|
-
if (!this.
|
|
4717
|
+
if (!this.x5q_1.equals(other.x5q_1))
|
|
4718
4718
|
return false;
|
|
4719
|
-
if (!(this.
|
|
4719
|
+
if (!(this.y5q_1 === other.y5q_1))
|
|
4720
4720
|
return false;
|
|
4721
4721
|
return true;
|
|
4722
4722
|
};
|
|
@@ -4731,24 +4731,24 @@ function $serializer_25() {
|
|
|
4731
4731
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.lsp.protocol.TextDocumentSyncOptions', this, 2);
|
|
4732
4732
|
tmp0_serialDesc.k2c('openClose', true);
|
|
4733
4733
|
tmp0_serialDesc.k2c('change', true);
|
|
4734
|
-
this.
|
|
4734
|
+
this.z5q_1 = tmp0_serialDesc;
|
|
4735
4735
|
}
|
|
4736
|
-
protoOf($serializer_25).
|
|
4737
|
-
var tmp0_desc = this.
|
|
4736
|
+
protoOf($serializer_25).a5r = function (encoder, value) {
|
|
4737
|
+
var tmp0_desc = this.z5q_1;
|
|
4738
4738
|
var tmp1_output = encoder.w24(tmp0_desc);
|
|
4739
|
-
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.
|
|
4740
|
-
tmp1_output.d26(tmp0_desc, 0, value.
|
|
4739
|
+
if (tmp1_output.t26(tmp0_desc, 0) ? true : !(value.b5r_1 === true)) {
|
|
4740
|
+
tmp1_output.d26(tmp0_desc, 0, value.b5r_1);
|
|
4741
4741
|
}
|
|
4742
|
-
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.
|
|
4743
|
-
tmp1_output.g26(tmp0_desc, 1, value.
|
|
4742
|
+
if (tmp1_output.t26(tmp0_desc, 1) ? true : !(value.c5r_1 === 1)) {
|
|
4743
|
+
tmp1_output.g26(tmp0_desc, 1, value.c5r_1);
|
|
4744
4744
|
}
|
|
4745
4745
|
tmp1_output.x24(tmp0_desc);
|
|
4746
4746
|
};
|
|
4747
4747
|
protoOf($serializer_25).y21 = function (encoder, value) {
|
|
4748
|
-
return this.
|
|
4748
|
+
return this.a5r(encoder, value instanceof TextDocumentSyncOptions ? value : THROW_CCE());
|
|
4749
4749
|
};
|
|
4750
4750
|
protoOf($serializer_25).z21 = function (decoder) {
|
|
4751
|
-
var tmp0_desc = this.
|
|
4751
|
+
var tmp0_desc = this.z5q_1;
|
|
4752
4752
|
var tmp1_flag = true;
|
|
4753
4753
|
var tmp2_index = 0;
|
|
4754
4754
|
var tmp3_bitMask0 = 0;
|
|
@@ -4783,7 +4783,7 @@ protoOf($serializer_25).z21 = function (decoder) {
|
|
|
4783
4783
|
return TextDocumentSyncOptions_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
4784
4784
|
};
|
|
4785
4785
|
protoOf($serializer_25).x21 = function () {
|
|
4786
|
-
return this.
|
|
4786
|
+
return this.z5q_1;
|
|
4787
4787
|
};
|
|
4788
4788
|
protoOf($serializer_25).z2c = function () {
|
|
4789
4789
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -4799,16 +4799,16 @@ function $serializer_getInstance_25() {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
function TextDocumentSyncOptions_init_$Init$(seen0, openClose, change, serializationConstructorMarker, $this) {
|
|
4801
4801
|
if (!(0 === (0 & seen0))) {
|
|
4802
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_25().
|
|
4802
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_25().z5q_1);
|
|
4803
4803
|
}
|
|
4804
4804
|
if (0 === (seen0 & 1))
|
|
4805
|
-
$this.
|
|
4805
|
+
$this.b5r_1 = true;
|
|
4806
4806
|
else
|
|
4807
|
-
$this.
|
|
4807
|
+
$this.b5r_1 = openClose;
|
|
4808
4808
|
if (0 === (seen0 & 2))
|
|
4809
|
-
$this.
|
|
4809
|
+
$this.c5r_1 = 1;
|
|
4810
4810
|
else
|
|
4811
|
-
$this.
|
|
4811
|
+
$this.c5r_1 = change;
|
|
4812
4812
|
return $this;
|
|
4813
4813
|
}
|
|
4814
4814
|
function TextDocumentSyncOptions_init_$Create$(seen0, openClose, change, serializationConstructorMarker) {
|
|
@@ -4817,15 +4817,15 @@ function TextDocumentSyncOptions_init_$Create$(seen0, openClose, change, seriali
|
|
|
4817
4817
|
function TextDocumentSyncOptions(openClose, change) {
|
|
4818
4818
|
openClose = openClose === VOID ? true : openClose;
|
|
4819
4819
|
change = change === VOID ? 1 : change;
|
|
4820
|
-
this.
|
|
4821
|
-
this.
|
|
4820
|
+
this.b5r_1 = openClose;
|
|
4821
|
+
this.c5r_1 = change;
|
|
4822
4822
|
}
|
|
4823
4823
|
protoOf(TextDocumentSyncOptions).toString = function () {
|
|
4824
|
-
return 'TextDocumentSyncOptions(openClose=' + this.
|
|
4824
|
+
return 'TextDocumentSyncOptions(openClose=' + this.b5r_1 + ', change=' + this.c5r_1 + ')';
|
|
4825
4825
|
};
|
|
4826
4826
|
protoOf(TextDocumentSyncOptions).hashCode = function () {
|
|
4827
|
-
var result = getBooleanHashCode(this.
|
|
4828
|
-
result = imul(result, 31) + this.
|
|
4827
|
+
var result = getBooleanHashCode(this.b5r_1);
|
|
4828
|
+
result = imul(result, 31) + this.c5r_1 | 0;
|
|
4829
4829
|
return result;
|
|
4830
4830
|
};
|
|
4831
4831
|
protoOf(TextDocumentSyncOptions).equals = function (other) {
|
|
@@ -4833,15 +4833,15 @@ protoOf(TextDocumentSyncOptions).equals = function (other) {
|
|
|
4833
4833
|
return true;
|
|
4834
4834
|
if (!(other instanceof TextDocumentSyncOptions))
|
|
4835
4835
|
return false;
|
|
4836
|
-
if (!(this.
|
|
4836
|
+
if (!(this.b5r_1 === other.b5r_1))
|
|
4837
4837
|
return false;
|
|
4838
|
-
if (!(this.
|
|
4838
|
+
if (!(this.c5r_1 === other.c5r_1))
|
|
4839
4839
|
return false;
|
|
4840
4840
|
return true;
|
|
4841
4841
|
};
|
|
4842
4842
|
function startLsp(useNodeIpc) {
|
|
4843
4843
|
var transport = useNodeIpc ? new NodeIpcTransport() : new NodeStdioTransport();
|
|
4844
|
-
(new LspServer(transport)).
|
|
4844
|
+
(new LspServer(transport)).h5n();
|
|
4845
4845
|
}
|
|
4846
4846
|
function NodeIpcTransport$start$lambda($onMessage) {
|
|
4847
4847
|
return function (message) {
|
|
@@ -4851,11 +4851,11 @@ function NodeIpcTransport$start$lambda($onMessage) {
|
|
|
4851
4851
|
}
|
|
4852
4852
|
function NodeIpcTransport() {
|
|
4853
4853
|
}
|
|
4854
|
-
protoOf(NodeIpcTransport).
|
|
4854
|
+
protoOf(NodeIpcTransport).i5n = function (onMessage) {
|
|
4855
4855
|
var tmp = process;
|
|
4856
4856
|
tmp.on('message', NodeIpcTransport$start$lambda(onMessage));
|
|
4857
4857
|
};
|
|
4858
|
-
protoOf(NodeIpcTransport).
|
|
4858
|
+
protoOf(NodeIpcTransport).g5m = function (json) {
|
|
4859
4859
|
process.send(jsJsonParse(json));
|
|
4860
4860
|
};
|
|
4861
4861
|
function jsJsonStringify(value) {
|
|
@@ -4876,25 +4876,25 @@ function drainFrames($this, onMessage) {
|
|
|
4876
4876
|
var onMessage_0 = onMessage;
|
|
4877
4877
|
$l$1: do {
|
|
4878
4878
|
$l$0: do {
|
|
4879
|
-
if ($this_0.
|
|
4880
|
-
var headerEnd = indexOf($this_0.
|
|
4879
|
+
if ($this_0.e5r_1 < 0) {
|
|
4880
|
+
var headerEnd = indexOf($this_0.d5r_1, '\r\n\r\n');
|
|
4881
4881
|
if (headerEnd < 0)
|
|
4882
4882
|
return Unit_instance;
|
|
4883
|
-
var header = $this_0.
|
|
4883
|
+
var header = $this_0.d5r_1.bc(0, headerEnd);
|
|
4884
4884
|
var tmp = $this_0;
|
|
4885
4885
|
var tmp0_elvis_lhs = parseContentLength(header);
|
|
4886
|
-
tmp.
|
|
4887
|
-
$this_0.
|
|
4888
|
-
if ($this_0.
|
|
4889
|
-
$this_0.
|
|
4886
|
+
tmp.e5r_1 = tmp0_elvis_lhs == null ? -2 : tmp0_elvis_lhs;
|
|
4887
|
+
$this_0.d5r_1.gc(0, headerEnd + 4 | 0);
|
|
4888
|
+
if ($this_0.e5r_1 === -2) {
|
|
4889
|
+
$this_0.e5r_1 = -1;
|
|
4890
4890
|
return Unit_instance;
|
|
4891
4891
|
}
|
|
4892
4892
|
}
|
|
4893
|
-
if ($this_0.
|
|
4893
|
+
if ($this_0.d5r_1.a() < $this_0.e5r_1)
|
|
4894
4894
|
return Unit_instance;
|
|
4895
|
-
var body = $this_0.
|
|
4896
|
-
$this_0.
|
|
4897
|
-
$this_0.
|
|
4895
|
+
var body = $this_0.d5r_1.bc(0, $this_0.e5r_1);
|
|
4896
|
+
$this_0.d5r_1.gc(0, $this_0.e5r_1);
|
|
4897
|
+
$this_0.e5r_1 = -1;
|
|
4898
4898
|
onMessage_0(body);
|
|
4899
4899
|
var tmp0 = $this_0;
|
|
4900
4900
|
var tmp1 = onMessage_0;
|
|
@@ -4908,21 +4908,21 @@ function drainFrames($this, onMessage) {
|
|
|
4908
4908
|
}
|
|
4909
4909
|
function NodeStdioTransport$start$lambda(this$0, $onMessage) {
|
|
4910
4910
|
return function (chunk) {
|
|
4911
|
-
this$0.
|
|
4911
|
+
this$0.d5r_1.q(typeof chunk === 'string' ? chunk : THROW_CCE());
|
|
4912
4912
|
drainFrames(this$0, $onMessage);
|
|
4913
4913
|
return Unit_instance;
|
|
4914
4914
|
};
|
|
4915
4915
|
}
|
|
4916
4916
|
function NodeStdioTransport() {
|
|
4917
|
-
this.
|
|
4918
|
-
this.
|
|
4917
|
+
this.d5r_1 = StringBuilder_init_$Create$();
|
|
4918
|
+
this.e5r_1 = -1;
|
|
4919
4919
|
}
|
|
4920
|
-
protoOf(NodeStdioTransport).
|
|
4920
|
+
protoOf(NodeStdioTransport).i5n = function (onMessage) {
|
|
4921
4921
|
process.stdin.setEncoding('utf8');
|
|
4922
4922
|
var tmp = process.stdin;
|
|
4923
4923
|
tmp.on('data', NodeStdioTransport$start$lambda(this, onMessage));
|
|
4924
4924
|
};
|
|
4925
|
-
protoOf(NodeStdioTransport).
|
|
4925
|
+
protoOf(NodeStdioTransport).g5m = function (json) {
|
|
4926
4926
|
var byteLength = Buffer.byteLength(json, 'utf8');
|
|
4927
4927
|
process.stdout.write('Content-Length: ' + byteLength + '\r\n\r\n' + json);
|
|
4928
4928
|
};
|