firefly-compiler 0.4.20 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/compiler/Builder.ff +23 -13
  2. package/compiler/JsEmitter.ff +120 -76
  3. package/compiler/LspHook.ff +4 -2
  4. package/compiler/Main.ff +13 -7
  5. package/compiler/Resolver.ff +15 -15
  6. package/compiler/Syntax.ff +1 -0
  7. package/core/Array.ff +6 -4
  8. package/core/Int.ff +12 -12
  9. package/core/List.ff +6 -4
  10. package/experimental/benchmarks/ListGrab.ff +23 -0
  11. package/experimental/benchmarks/ListGrab.java +55 -0
  12. package/experimental/benchmarks/Pyrotek45.ff +30 -0
  13. package/experimental/benchmarks/Pyrotek45.java +64 -0
  14. package/experimental/tests/TestJson.ff +26 -0
  15. package/lsp/Handler.ff +55 -59
  16. package/lsp/SignatureHelpHandler.ff +5 -4
  17. package/lsp/TestReferences.ff +15 -0
  18. package/lsp/TestReferencesCase.ff +8 -0
  19. package/output/js/ff/compiler/Builder.mjs +50 -44
  20. package/output/js/ff/compiler/Dependencies.mjs +0 -2
  21. package/output/js/ff/compiler/Deriver.mjs +16 -140
  22. package/output/js/ff/compiler/Dictionaries.mjs +8 -222
  23. package/output/js/ff/compiler/Environment.mjs +12 -154
  24. package/output/js/ff/compiler/Inference.mjs +127 -1013
  25. package/output/js/ff/compiler/JsEmitter.mjs +434 -2344
  26. package/output/js/ff/compiler/JsImporter.mjs +0 -12
  27. package/output/js/ff/compiler/LspHook.mjs +20 -446
  28. package/output/js/ff/compiler/Main.mjs +96 -550
  29. package/output/js/ff/compiler/Parser.mjs +36 -356
  30. package/output/js/ff/compiler/Patterns.mjs +20 -200
  31. package/output/js/ff/compiler/Resolver.mjs +26 -340
  32. package/output/js/ff/compiler/Substitution.mjs +2 -160
  33. package/output/js/ff/compiler/Syntax.mjs +449 -3293
  34. package/output/js/ff/compiler/Token.mjs +9 -1095
  35. package/output/js/ff/compiler/Tokenizer.mjs +4 -2
  36. package/output/js/ff/compiler/Unification.mjs +26 -360
  37. package/output/js/ff/compiler/Wildcards.mjs +0 -86
  38. package/output/js/ff/compiler/Workspace.mjs +8 -96
  39. package/output/js/ff/core/Array.mjs +15 -8
  40. package/output/js/ff/core/AssetSystem.mjs +4 -14
  41. package/output/js/ff/core/Bool.mjs +0 -12
  42. package/output/js/ff/core/Core.mjs +0 -30
  43. package/output/js/ff/core/Int.mjs +24 -24
  44. package/output/js/ff/core/IntMap.mjs +0 -8
  45. package/output/js/ff/core/Json.mjs +0 -40
  46. package/output/js/ff/core/List.mjs +23 -32
  47. package/output/js/ff/core/Lock.mjs +0 -10
  48. package/output/js/ff/core/Map.mjs +0 -24
  49. package/output/js/ff/core/Option.mjs +10 -286
  50. package/output/js/ff/core/Ordering.mjs +16 -158
  51. package/output/js/ff/core/Pair.mjs +2 -34
  52. package/output/js/ff/core/Path.mjs +2 -28
  53. package/output/js/ff/core/Random.mjs +4 -4
  54. package/output/js/ff/core/RbMap.mjs +56 -644
  55. package/output/js/ff/core/Show.mjs +0 -16
  56. package/output/js/ff/core/Stream.mjs +14 -144
  57. package/output/js/ff/core/StringMap.mjs +0 -8
  58. package/output/js/ff/core/Try.mjs +4 -108
  59. package/output/js/ff/core/Unit.mjs +2 -16
  60. package/package.json +1 -1
  61. package/postgresql/Pg.ff +23 -23
  62. package/vscode/package.json +1 -1
@@ -160,8 +160,8 @@ return {ParseSymbolEnd: true, name_, kind_, selectionStart_, selectionEnd_, star
160
160
  export function ParseArgumentHook(callAt_, argumentIndex_, parameterName_) {
161
161
  return {ParseArgumentHook: true, callAt_, argumentIndex_, parameterName_};
162
162
  }
163
- export function ResolveSymbolHook(symbol_, annotation_) {
164
- return {ResolveSymbolHook: true, symbol_, annotation_};
163
+ export function ResolveSymbolHook(symbol_, annotation_, topLevel_) {
164
+ return {ResolveSymbolHook: true, symbol_, annotation_, topLevel_};
165
165
  }
166
166
  export function ResolveTypeHook(types_, typeGenerics_, symbol_, explicitType_) {
167
167
  return {ResolveTypeHook: true, types_, typeGenerics_, symbol_, explicitType_};
@@ -169,8 +169,8 @@ return {ResolveTypeHook: true, types_, typeGenerics_, symbol_, explicitType_};
169
169
  export function ResolveConstraintHook(symbol_, constrant_) {
170
170
  return {ResolveConstraintHook: true, symbol_, constrant_};
171
171
  }
172
- export function ResolveSignatureHook(signature_, isInstanceMethod_) {
173
- return {ResolveSignatureHook: true, signature_, isInstanceMethod_};
172
+ export function ResolveSignatureHook(signature_, isInstanceMethod_, topLevel_) {
173
+ return {ResolveSignatureHook: true, signature_, isInstanceMethod_, topLevel_};
174
174
  }
175
175
  export function ResolveVariantFieldHook(symbol_, type_, commonField_) {
176
176
  return {ResolveVariantFieldHook: true, symbol_, type_, commonField_};
@@ -222,9 +222,7 @@ return (((at_.file_ === afterAt_.file_) && (((at_.line_ === afterAt_.line_) && (
222
222
  }
223
223
 
224
224
  export function showHook_(hook_) {
225
- {
226
225
  const hook_a = hook_;
227
- {
228
226
  if(hook_a.InferArgumentHook) {
229
227
  const unification_ = hook_a.unification_;
230
228
  const environment_ = hook_a.environment_;
@@ -235,29 +233,20 @@ const parameters_ = hook_a.parameters_;
235
233
  const arguments_ = hook_a.arguments_;
236
234
  const argumentIndex_ = hook_a.argumentIndex_;
237
235
  return "InferArgumentHook(...)"
238
- return
239
- }
240
236
  }
241
- {
242
237
  if(hook_a.InferFunctionDefinitionHook) {
243
238
  const unification_ = hook_a.unification_;
244
239
  const environment_ = hook_a.environment_;
245
240
  const definition_ = hook_a.definition_;
246
241
  const missing_ = hook_a.missing_;
247
242
  return "InferFunctionDefinitionHook(...)"
248
- return
249
- }
250
243
  }
251
- {
252
244
  if(hook_a.InferLambdaStartHook) {
253
245
  const unification_ = hook_a.unification_;
254
246
  const environment_ = hook_a.environment_;
255
247
  const lambdaType_ = hook_a.lambdaType_;
256
248
  return "InferLambdaStartHook(...)"
257
- return
258
- }
259
249
  }
260
- {
261
250
  if(hook_a.InferLookupHook) {
262
251
  const unification_ = hook_a.unification_;
263
252
  const environment_ = hook_a.environment_;
@@ -266,30 +255,21 @@ const selfVariable_ = hook_a.selfVariable_;
266
255
  const symbol_ = hook_a.symbol_;
267
256
  const instantiated_ = hook_a.instantiated_;
268
257
  return "InferLookupHook(...)"
269
- return
270
- }
271
258
  }
272
- {
273
259
  if(hook_a.InferParameterHook) {
274
260
  const unification_ = hook_a.unification_;
275
261
  const environment_ = hook_a.environment_;
276
262
  const parameter_ = hook_a.parameter_;
277
263
  const missing_ = hook_a.missing_;
278
264
  return "InferParameterHook(...)"
279
- return
280
265
  }
281
- }
282
- {
283
266
  if(hook_a.InferPatternHook) {
284
267
  const unification_ = hook_a.unification_;
285
268
  const environment_ = hook_a.environment_;
286
269
  const expected_ = hook_a.expected_;
287
270
  const pattern_ = hook_a.pattern_;
288
271
  return "InferPatternHook(...)"
289
- return
290
- }
291
272
  }
292
- {
293
273
  if(hook_a.InferRecordFieldHook) {
294
274
  const unification_ = hook_a.unification_;
295
275
  const environment_ = hook_a.environment_;
@@ -297,19 +277,13 @@ const expected_ = hook_a.expected_;
297
277
  const recordType_ = hook_a.recordType_;
298
278
  const fieldName_ = hook_a.fieldName_;
299
279
  return "InferRecordFieldHook(...)"
300
- return
301
- }
302
280
  }
303
- {
304
281
  if(hook_a.InferSequentialStartHook) {
305
282
  const unification_ = hook_a.unification_;
306
283
  const term_ = hook_a.term_;
307
284
  const missing_ = hook_a.missing_;
308
285
  return "InferSequentialStartHook(...)"
309
- return
310
- }
311
286
  }
312
- {
313
287
  if(hook_a.InferTermHook) {
314
288
  const unification_ = hook_a.unification_;
315
289
  const environment_ = hook_a.environment_;
@@ -318,25 +292,16 @@ const term_ = hook_a.term_;
318
292
  const recordType_ = hook_a.recordType_;
319
293
  const missing_ = hook_a.missing_;
320
294
  return "InferTermHook(...)"
321
- return
322
- }
323
295
  }
324
- {
325
296
  if(hook_a.ParseArgumentHook) {
326
297
  const callAt_ = hook_a.callAt_;
327
298
  const argumentIndex_ = hook_a.argumentIndex_;
328
299
  const parameterName_ = hook_a.parameterName_;
329
300
  return "ParseArgumentHook(...)"
330
- return
331
301
  }
332
- }
333
- {
334
302
  if(hook_a.ParseSymbolBegin) {
335
303
  return "ParseSymbolBegin(...)"
336
- return
337
304
  }
338
- }
339
- {
340
305
  if(hook_a.ParseSymbolEnd) {
341
306
  const name_ = hook_a.name_;
342
307
  const kind_ = hook_a.kind_;
@@ -345,51 +310,33 @@ const selectionEnd_ = hook_a.selectionEnd_;
345
310
  const start_ = hook_a.start_;
346
311
  const end_ = hook_a.end_;
347
312
  return "ParseSymbolEnd(...)"
348
- return
349
313
  }
350
- }
351
- {
352
314
  if(hook_a.ResolveConstraintHook) {
353
315
  const symbol_ = hook_a.symbol_;
354
316
  const constrant_ = hook_a.constrant_;
355
317
  return "ResolveConstraintHook(...)"
356
- return
357
318
  }
358
- }
359
- {
360
319
  if(hook_a.ResolveSignatureHook) {
361
320
  const signature_ = hook_a.signature_;
362
321
  return "ResolveSignatureHook(...)"
363
- return
364
- }
365
322
  }
366
- {
367
323
  if(hook_a.ResolveSymbolHook) {
368
324
  const symbol_ = hook_a.symbol_;
369
325
  const annotation_ = hook_a.annotation_;
370
326
  return "ResolveSymbolHook(...)"
371
- return
372
- }
373
327
  }
374
- {
375
328
  if(hook_a.ResolveTypeHook) {
376
329
  const types_ = hook_a.types_;
377
330
  const typeGenerics_ = hook_a.typeGenerics_;
378
331
  const symbol_ = hook_a.symbol_;
379
332
  const explicitType_ = hook_a.explicitType_;
380
333
  return "ResolveTypeHook(...)"
381
- return
382
- }
383
334
  }
384
- {
385
335
  if(hook_a.ResolveVariantFieldHook) {
386
336
  const symbol_ = hook_a.symbol_;
387
337
  const type_ = hook_a.type_;
388
338
  const commonField_ = hook_a.commonField_;
389
339
  return "ResolveVariantFieldHook(...)"
390
- return
391
- }
392
- }
393
340
  }
394
341
  }
395
342
 
@@ -410,9 +357,7 @@ return (((at_.file_ === afterAt_.file_) && (((at_.line_ === afterAt_.line_) && (
410
357
  }
411
358
 
412
359
  export async function showHook_$(hook_, $task) {
413
- {
414
360
  const hook_a = hook_;
415
- {
416
361
  if(hook_a.InferArgumentHook) {
417
362
  const unification_ = hook_a.unification_;
418
363
  const environment_ = hook_a.environment_;
@@ -423,29 +368,20 @@ const parameters_ = hook_a.parameters_;
423
368
  const arguments_ = hook_a.arguments_;
424
369
  const argumentIndex_ = hook_a.argumentIndex_;
425
370
  return "InferArgumentHook(...)"
426
- return
427
371
  }
428
- }
429
- {
430
372
  if(hook_a.InferFunctionDefinitionHook) {
431
373
  const unification_ = hook_a.unification_;
432
374
  const environment_ = hook_a.environment_;
433
375
  const definition_ = hook_a.definition_;
434
376
  const missing_ = hook_a.missing_;
435
377
  return "InferFunctionDefinitionHook(...)"
436
- return
437
378
  }
438
- }
439
- {
440
379
  if(hook_a.InferLambdaStartHook) {
441
380
  const unification_ = hook_a.unification_;
442
381
  const environment_ = hook_a.environment_;
443
382
  const lambdaType_ = hook_a.lambdaType_;
444
383
  return "InferLambdaStartHook(...)"
445
- return
446
384
  }
447
- }
448
- {
449
385
  if(hook_a.InferLookupHook) {
450
386
  const unification_ = hook_a.unification_;
451
387
  const environment_ = hook_a.environment_;
@@ -454,30 +390,21 @@ const selfVariable_ = hook_a.selfVariable_;
454
390
  const symbol_ = hook_a.symbol_;
455
391
  const instantiated_ = hook_a.instantiated_;
456
392
  return "InferLookupHook(...)"
457
- return
458
393
  }
459
- }
460
- {
461
394
  if(hook_a.InferParameterHook) {
462
395
  const unification_ = hook_a.unification_;
463
396
  const environment_ = hook_a.environment_;
464
397
  const parameter_ = hook_a.parameter_;
465
398
  const missing_ = hook_a.missing_;
466
399
  return "InferParameterHook(...)"
467
- return
468
- }
469
400
  }
470
- {
471
401
  if(hook_a.InferPatternHook) {
472
402
  const unification_ = hook_a.unification_;
473
403
  const environment_ = hook_a.environment_;
474
404
  const expected_ = hook_a.expected_;
475
405
  const pattern_ = hook_a.pattern_;
476
406
  return "InferPatternHook(...)"
477
- return
478
- }
479
407
  }
480
- {
481
408
  if(hook_a.InferRecordFieldHook) {
482
409
  const unification_ = hook_a.unification_;
483
410
  const environment_ = hook_a.environment_;
@@ -485,19 +412,13 @@ const expected_ = hook_a.expected_;
485
412
  const recordType_ = hook_a.recordType_;
486
413
  const fieldName_ = hook_a.fieldName_;
487
414
  return "InferRecordFieldHook(...)"
488
- return
489
- }
490
415
  }
491
- {
492
416
  if(hook_a.InferSequentialStartHook) {
493
417
  const unification_ = hook_a.unification_;
494
418
  const term_ = hook_a.term_;
495
419
  const missing_ = hook_a.missing_;
496
420
  return "InferSequentialStartHook(...)"
497
- return
498
- }
499
421
  }
500
- {
501
422
  if(hook_a.InferTermHook) {
502
423
  const unification_ = hook_a.unification_;
503
424
  const environment_ = hook_a.environment_;
@@ -506,25 +427,16 @@ const term_ = hook_a.term_;
506
427
  const recordType_ = hook_a.recordType_;
507
428
  const missing_ = hook_a.missing_;
508
429
  return "InferTermHook(...)"
509
- return
510
430
  }
511
- }
512
- {
513
431
  if(hook_a.ParseArgumentHook) {
514
432
  const callAt_ = hook_a.callAt_;
515
433
  const argumentIndex_ = hook_a.argumentIndex_;
516
434
  const parameterName_ = hook_a.parameterName_;
517
435
  return "ParseArgumentHook(...)"
518
- return
519
- }
520
436
  }
521
- {
522
437
  if(hook_a.ParseSymbolBegin) {
523
438
  return "ParseSymbolBegin(...)"
524
- return
525
- }
526
439
  }
527
- {
528
440
  if(hook_a.ParseSymbolEnd) {
529
441
  const name_ = hook_a.name_;
530
442
  const kind_ = hook_a.kind_;
@@ -533,51 +445,33 @@ const selectionEnd_ = hook_a.selectionEnd_;
533
445
  const start_ = hook_a.start_;
534
446
  const end_ = hook_a.end_;
535
447
  return "ParseSymbolEnd(...)"
536
- return
537
- }
538
448
  }
539
- {
540
449
  if(hook_a.ResolveConstraintHook) {
541
450
  const symbol_ = hook_a.symbol_;
542
451
  const constrant_ = hook_a.constrant_;
543
452
  return "ResolveConstraintHook(...)"
544
- return
545
- }
546
453
  }
547
- {
548
454
  if(hook_a.ResolveSignatureHook) {
549
455
  const signature_ = hook_a.signature_;
550
456
  return "ResolveSignatureHook(...)"
551
- return
552
- }
553
457
  }
554
- {
555
458
  if(hook_a.ResolveSymbolHook) {
556
459
  const symbol_ = hook_a.symbol_;
557
460
  const annotation_ = hook_a.annotation_;
558
461
  return "ResolveSymbolHook(...)"
559
- return
560
- }
561
462
  }
562
- {
563
463
  if(hook_a.ResolveTypeHook) {
564
464
  const types_ = hook_a.types_;
565
465
  const typeGenerics_ = hook_a.typeGenerics_;
566
466
  const symbol_ = hook_a.symbol_;
567
467
  const explicitType_ = hook_a.explicitType_;
568
468
  return "ResolveTypeHook(...)"
569
- return
570
- }
571
469
  }
572
- {
573
470
  if(hook_a.ResolveVariantFieldHook) {
574
471
  const symbol_ = hook_a.symbol_;
575
472
  const type_ = hook_a.type_;
576
473
  const commonField_ = hook_a.commonField_;
577
474
  return "ResolveVariantFieldHook(...)"
578
- return
579
- }
580
- }
581
475
  }
582
476
  }
583
477
 
@@ -641,291 +535,174 @@ return ff_core_Any.internalAnyTag_((("ff:compiler/LspHook.DocumentSymbolKind" +
641
535
 
642
536
  export const ff_core_Show_Show$ff_compiler_LspHook_SymbolHook = {
643
537
  show_(value_) {
644
- {
645
538
  const value_a = value_;
646
539
  {
647
540
  const z_ = value_a;
648
541
  return ((((((("SymbolHook" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.qualifiedName_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.usageAt_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.definedAt_)) + ")")
649
- return
650
- }
651
542
  }
652
543
  },
653
544
  async show_$(value_, $task) {
654
- {
655
545
  const value_a = value_;
656
546
  {
657
547
  const z_ = value_a;
658
548
  return ((((((("SymbolHook" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.qualifiedName_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.usageAt_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.definedAt_)) + ")")
659
- return
660
- }
661
549
  }
662
550
  }
663
551
  };
664
552
 
665
553
  export const ff_core_Show_Show$ff_compiler_LspHook_DocumentSymbolKind = {
666
554
  show_(value_) {
667
- {
668
555
  const value_a = value_;
669
- {
670
556
  if(value_a.SLet) {
671
557
  const z_ = value_a;
672
558
  return ((("SLet" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_Bool_Bool.show_(z_.mutable_)) + ")")
673
- return
674
- }
675
559
  }
676
- {
677
560
  if(value_a.SFunction) {
678
561
  const z_ = value_a;
679
562
  return ((("SFunction" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_Bool_Bool.show_(z_.member_)) + ")")
680
- return
681
563
  }
682
- }
683
- {
684
564
  if(value_a.SExtend) {
685
565
  const z_ = value_a;
686
566
  return "SExtend"
687
- return
688
- }
689
567
  }
690
- {
691
568
  if(value_a.STraitFunction) {
692
569
  const z_ = value_a;
693
570
  return "STraitFunction"
694
- return
695
- }
696
571
  }
697
- {
698
572
  if(value_a.STrait) {
699
573
  const z_ = value_a;
700
574
  return "STrait"
701
- return
702
- }
703
575
  }
704
- {
705
576
  if(value_a.SInstance) {
706
577
  const z_ = value_a;
707
578
  return "SInstance"
708
- return
709
- }
710
579
  }
711
- {
712
580
  if(value_a.SVariant) {
713
581
  const z_ = value_a;
714
582
  return "SVariant"
715
- return
716
583
  }
717
- }
718
- {
719
584
  if(value_a.SType) {
720
585
  const z_ = value_a;
721
586
  return "SType"
722
- return
723
587
  }
724
- }
725
- {
726
588
  if(value_a.SParameter) {
727
589
  const z_ = value_a;
728
590
  return "SParameter"
729
- return
730
- }
731
- }
732
591
  }
733
592
  },
734
593
  async show_$(value_, $task) {
735
- {
736
594
  const value_a = value_;
737
- {
738
595
  if(value_a.SLet) {
739
596
  const z_ = value_a;
740
597
  return ((("SLet" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_Bool_Bool.show_(z_.mutable_)) + ")")
741
- return
742
- }
743
598
  }
744
- {
745
599
  if(value_a.SFunction) {
746
600
  const z_ = value_a;
747
601
  return ((("SFunction" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_Bool_Bool.show_(z_.member_)) + ")")
748
- return
749
- }
750
602
  }
751
- {
752
603
  if(value_a.SExtend) {
753
604
  const z_ = value_a;
754
605
  return "SExtend"
755
- return
756
- }
757
606
  }
758
- {
759
607
  if(value_a.STraitFunction) {
760
608
  const z_ = value_a;
761
609
  return "STraitFunction"
762
- return
763
- }
764
610
  }
765
- {
766
611
  if(value_a.STrait) {
767
612
  const z_ = value_a;
768
613
  return "STrait"
769
- return
770
614
  }
771
- }
772
- {
773
615
  if(value_a.SInstance) {
774
616
  const z_ = value_a;
775
617
  return "SInstance"
776
- return
777
- }
778
618
  }
779
- {
780
619
  if(value_a.SVariant) {
781
620
  const z_ = value_a;
782
621
  return "SVariant"
783
- return
784
- }
785
622
  }
786
- {
787
623
  if(value_a.SType) {
788
624
  const z_ = value_a;
789
625
  return "SType"
790
- return
791
- }
792
626
  }
793
- {
794
627
  if(value_a.SParameter) {
795
628
  const z_ = value_a;
796
629
  return "SParameter"
797
- return
798
- }
799
- }
800
630
  }
801
631
  }
802
632
  };
803
633
 
804
634
  export const ff_core_Equal_Equal$ff_compiler_LspHook_SymbolHook = {
805
635
  equals_(x_, y_) {
806
- {
807
636
  const x_a = x_;
808
637
  const y_a = y_;
809
- {
810
- const _guard1 = (x_ === y_);
811
- if(_guard1) {
638
+ if((x_ === y_)) {
812
639
  return true
813
- return
814
- }
815
640
  }
816
641
  {
817
642
  return ((x_.qualifiedName_ === y_.qualifiedName_) && (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.usageAt_, y_.usageAt_) && ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.definedAt_, y_.definedAt_)))
818
- return
819
- }
820
643
  }
821
644
  },
822
645
  async equals_$(x_, y_, $task) {
823
- {
824
646
  const x_a = x_;
825
647
  const y_a = y_;
826
- {
827
- const _guard1 = (x_ === y_);
828
- if(_guard1) {
648
+ if((x_ === y_)) {
829
649
  return true
830
- return
831
- }
832
650
  }
833
651
  {
834
652
  return ((x_.qualifiedName_ === y_.qualifiedName_) && (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.usageAt_, y_.usageAt_) && ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.definedAt_, y_.definedAt_)))
835
- return
836
- }
837
653
  }
838
654
  }
839
655
  };
840
656
 
841
657
  export const ff_core_Equal_Equal$ff_compiler_LspHook_DocumentSymbolKind = {
842
658
  equals_(x_, y_) {
843
- {
844
659
  const x_a = x_;
845
660
  const y_a = y_;
846
- {
847
- const _guard1 = (x_ === y_);
848
- if(_guard1) {
661
+ if((x_ === y_)) {
849
662
  return true
850
- return
851
- }
852
663
  }
853
- {
854
- if(x_a.SLet) {
664
+ if(x_a.SLet && y_a.SLet) {
855
665
  const x_ = x_a;
856
- if(y_a.SLet) {
857
666
  const y_ = y_a;
858
667
  return (x_.mutable_ === y_.mutable_)
859
- return
860
- }
861
- }
862
668
  }
863
- {
864
- if(x_a.SFunction) {
669
+ if(x_a.SFunction && y_a.SFunction) {
865
670
  const x_ = x_a;
866
- if(y_a.SFunction) {
867
671
  const y_ = y_a;
868
672
  return (x_.member_ === y_.member_)
869
- return
870
- }
871
- }
872
673
  }
873
674
  {
874
675
  return false
875
- return
876
- }
877
676
  }
878
677
  },
879
678
  async equals_$(x_, y_, $task) {
880
- {
881
679
  const x_a = x_;
882
680
  const y_a = y_;
883
- {
884
- const _guard1 = (x_ === y_);
885
- if(_guard1) {
681
+ if((x_ === y_)) {
886
682
  return true
887
- return
888
683
  }
889
- }
890
- {
891
- if(x_a.SLet) {
684
+ if(x_a.SLet && y_a.SLet) {
892
685
  const x_ = x_a;
893
- if(y_a.SLet) {
894
686
  const y_ = y_a;
895
687
  return (x_.mutable_ === y_.mutable_)
896
- return
897
688
  }
898
- }
899
- }
900
- {
901
- if(x_a.SFunction) {
689
+ if(x_a.SFunction && y_a.SFunction) {
902
690
  const x_ = x_a;
903
- if(y_a.SFunction) {
904
691
  const y_ = y_a;
905
692
  return (x_.member_ === y_.member_)
906
- return
907
- }
908
- }
909
693
  }
910
694
  {
911
695
  return false
912
- return
913
- }
914
696
  }
915
697
  }
916
698
  };
917
699
 
918
700
  export const ff_core_Ordering_Order$ff_compiler_LspHook_SymbolHook = {
919
701
  compare_(x_, y_) {
920
- {
921
702
  const x_a = x_;
922
703
  const y_a = y_;
923
- {
924
- const _guard1 = (x_ === y_);
925
- if(_guard1) {
704
+ if((x_ === y_)) {
926
705
  return ff_core_Ordering.OrderingSame()
927
- return
928
- }
929
706
  }
930
707
  {
931
708
  const qualifiedNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.qualifiedName_, y_.qualifiedName_);
@@ -946,18 +723,12 @@ return ff_core_Ordering.OrderingSame()
946
723
  }
947
724
  return
948
725
  }
949
- }
950
726
  },
951
727
  async compare_$(x_, y_, $task) {
952
- {
953
728
  const x_a = x_;
954
729
  const y_a = y_;
955
- {
956
- const _guard1 = (x_ === y_);
957
- if(_guard1) {
730
+ if((x_ === y_)) {
958
731
  return ff_core_Ordering.OrderingSame()
959
- return
960
- }
961
732
  }
962
733
  {
963
734
  const qualifiedNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.qualifiedName_, y_.qualifiedName_);
@@ -979,25 +750,17 @@ return ff_core_Ordering.OrderingSame()
979
750
  return
980
751
  }
981
752
  }
982
- }
983
753
  };
984
754
 
985
755
  export const ff_core_Ordering_Order$ff_compiler_LspHook_DocumentSymbolKind = {
986
756
  compare_(x_, y_) {
987
- {
988
757
  const x_a = x_;
989
758
  const y_a = y_;
990
- {
991
- const _guard1 = (x_ === y_);
992
- if(_guard1) {
759
+ if((x_ === y_)) {
993
760
  return ff_core_Ordering.OrderingSame()
994
- return
995
- }
996
761
  }
997
- {
998
- if(x_a.SLet) {
762
+ if(x_a.SLet && y_a.SLet) {
999
763
  const x_ = x_a;
1000
- if(y_a.SLet) {
1001
764
  const y_ = y_a;
1002
765
  const mutableOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_Bool_Bool.compare_(x_.mutable_, y_.mutable_);
1003
766
  if((mutableOrdering_ !== ff_core_Ordering.OrderingSame())) {
@@ -1007,12 +770,8 @@ return ff_core_Ordering.OrderingSame()
1007
770
  }
1008
771
  return
1009
772
  }
1010
- }
1011
- }
1012
- {
1013
- if(x_a.SFunction) {
773
+ if(x_a.SFunction && y_a.SFunction) {
1014
774
  const x_ = x_a;
1015
- if(y_a.SFunction) {
1016
775
  const y_ = y_a;
1017
776
  const memberOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_Bool_Bool.compare_(x_.member_, y_.member_);
1018
777
  if((memberOrdering_ !== ff_core_Ordering.OrderingSame())) {
@@ -1022,88 +781,48 @@ return ff_core_Ordering.OrderingSame()
1022
781
  }
1023
782
  return
1024
783
  }
1025
- }
1026
- }
1027
784
  {
1028
785
  function number_(z_) {
1029
- {
1030
786
  const z_a = z_;
1031
- {
1032
787
  if(z_a.SLet) {
1033
788
  return 0
1034
- return
1035
789
  }
1036
- }
1037
- {
1038
790
  if(z_a.SFunction) {
1039
791
  return 1
1040
- return
1041
- }
1042
792
  }
1043
- {
1044
793
  if(z_a.SExtend) {
1045
794
  return 2
1046
- return
1047
- }
1048
795
  }
1049
- {
1050
796
  if(z_a.STraitFunction) {
1051
797
  return 3
1052
- return
1053
- }
1054
798
  }
1055
- {
1056
799
  if(z_a.STrait) {
1057
800
  return 4
1058
- return
1059
- }
1060
801
  }
1061
- {
1062
802
  if(z_a.SInstance) {
1063
803
  return 5
1064
- return
1065
804
  }
1066
- }
1067
- {
1068
805
  if(z_a.SVariant) {
1069
806
  return 6
1070
- return
1071
807
  }
1072
- }
1073
- {
1074
808
  if(z_a.SType) {
1075
809
  return 7
1076
- return
1077
810
  }
1078
- }
1079
- {
1080
811
  if(z_a.SParameter) {
1081
812
  return 8
1082
- return
1083
- }
1084
- }
1085
813
  }
1086
814
  }
1087
815
  return ff_core_Ordering.ff_core_Ordering_Order$ff_core_Int_Int.compare_(number_(x_), number_(y_))
1088
- return
1089
- }
1090
816
  }
1091
817
  },
1092
818
  async compare_$(x_, y_, $task) {
1093
- {
1094
819
  const x_a = x_;
1095
820
  const y_a = y_;
1096
- {
1097
- const _guard1 = (x_ === y_);
1098
- if(_guard1) {
821
+ if((x_ === y_)) {
1099
822
  return ff_core_Ordering.OrderingSame()
1100
- return
1101
823
  }
1102
- }
1103
- {
1104
- if(x_a.SLet) {
824
+ if(x_a.SLet && y_a.SLet) {
1105
825
  const x_ = x_a;
1106
- if(y_a.SLet) {
1107
826
  const y_ = y_a;
1108
827
  const mutableOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_Bool_Bool.compare_(x_.mutable_, y_.mutable_);
1109
828
  if((mutableOrdering_ !== ff_core_Ordering.OrderingSame())) {
@@ -1113,12 +832,8 @@ return ff_core_Ordering.OrderingSame()
1113
832
  }
1114
833
  return
1115
834
  }
1116
- }
1117
- }
1118
- {
1119
- if(x_a.SFunction) {
835
+ if(x_a.SFunction && y_a.SFunction) {
1120
836
  const x_ = x_a;
1121
- if(y_a.SFunction) {
1122
837
  const y_ = y_a;
1123
838
  const memberOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_Bool_Bool.compare_(x_.member_, y_.member_);
1124
839
  if((memberOrdering_ !== ff_core_Ordering.OrderingSame())) {
@@ -1128,78 +843,44 @@ return ff_core_Ordering.OrderingSame()
1128
843
  }
1129
844
  return
1130
845
  }
1131
- }
1132
- }
1133
846
  {
1134
847
  function number_(z_) {
1135
- {
1136
848
  const z_a = z_;
1137
- {
1138
849
  if(z_a.SLet) {
1139
850
  return 0
1140
- return
1141
851
  }
1142
- }
1143
- {
1144
852
  if(z_a.SFunction) {
1145
853
  return 1
1146
- return
1147
854
  }
1148
- }
1149
- {
1150
855
  if(z_a.SExtend) {
1151
856
  return 2
1152
- return
1153
857
  }
1154
- }
1155
- {
1156
858
  if(z_a.STraitFunction) {
1157
859
  return 3
1158
- return
1159
860
  }
1160
- }
1161
- {
1162
861
  if(z_a.STrait) {
1163
862
  return 4
1164
- return
1165
- }
1166
863
  }
1167
- {
1168
864
  if(z_a.SInstance) {
1169
865
  return 5
1170
- return
1171
- }
1172
866
  }
1173
- {
1174
867
  if(z_a.SVariant) {
1175
868
  return 6
1176
- return
1177
- }
1178
869
  }
1179
- {
1180
870
  if(z_a.SType) {
1181
871
  return 7
1182
- return
1183
- }
1184
872
  }
1185
- {
1186
873
  if(z_a.SParameter) {
1187
874
  return 8
1188
- return
1189
- }
1190
- }
1191
875
  }
1192
876
  }
1193
877
  return ff_core_Ordering.ff_core_Ordering_Order$ff_core_Int_Int.compare_(number_(x_), number_(y_))
1194
- return
1195
- }
1196
878
  }
1197
879
  }
1198
880
  };
1199
881
 
1200
882
  export const ff_core_Serializable_Serializable$ff_compiler_LspHook_SymbolHook = {
1201
883
  serializeUsing_(serialization_, value_) {
1202
- {
1203
884
  const serialization_a = serialization_;
1204
885
  const value_a = value_;
1205
886
  {
@@ -1213,28 +894,22 @@ ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location
1213
894
  ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.serializeUsing_(serialization_, v_.definedAt_)
1214
895
  return
1215
896
  }
1216
- }
1217
897
  },
1218
898
  deserializeUsing_(serialization_) {
1219
899
  const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
1220
900
  serialization_.offset_ += 1;
1221
901
  {
1222
902
  const _1 = variantIndex_;
1223
- {
1224
903
  if(_1 === 0) {
1225
904
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
1226
905
  return ff_compiler_LspHook.SymbolHook(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_))
1227
- return
1228
- }
1229
906
  }
1230
907
  {
1231
908
  throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serializable.DeserializationChecksumException(), ff_core_Serializable.ff_core_Any_HasAnyTag$ff_core_Serializable_DeserializationChecksumException)})
1232
- return
1233
909
  }
1234
910
  }
1235
911
  },
1236
912
  async serializeUsing_$(serialization_, value_, $task) {
1237
- {
1238
913
  const serialization_a = serialization_;
1239
914
  const value_a = value_;
1240
915
  {
@@ -1248,23 +923,18 @@ ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location
1248
923
  ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.serializeUsing_(serialization_, v_.definedAt_)
1249
924
  return
1250
925
  }
1251
- }
1252
926
  },
1253
927
  async deserializeUsing_$(serialization_, $task) {
1254
928
  const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
1255
929
  serialization_.offset_ += 1;
1256
930
  {
1257
931
  const _1 = variantIndex_;
1258
- {
1259
932
  if(_1 === 0) {
1260
933
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
1261
934
  return ff_compiler_LspHook.SymbolHook(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_))
1262
- return
1263
- }
1264
935
  }
1265
936
  {
1266
937
  throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serializable.DeserializationChecksumException(), ff_core_Serializable.ff_core_Any_HasAnyTag$ff_core_Serializable_DeserializationChecksumException)})
1267
- return
1268
938
  }
1269
939
  }
1270
940
  }
@@ -1272,10 +942,8 @@ return
1272
942
 
1273
943
  export const ff_core_Serializable_Serializable$ff_compiler_LspHook_DocumentSymbolKind = {
1274
944
  serializeUsing_(serialization_, value_) {
1275
- {
1276
945
  const serialization_a = serialization_;
1277
946
  const value_a = value_;
1278
- {
1279
947
  if(value_a.SLet) {
1280
948
  const v_ = value_a;
1281
949
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 24), 0);
@@ -1285,8 +953,6 @@ serialization_.offset_ += 1;
1285
953
  ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.serializeUsing_(serialization_, v_.mutable_)
1286
954
  return
1287
955
  }
1288
- }
1289
- {
1290
956
  if(value_a.SFunction) {
1291
957
  const v_ = value_a;
1292
958
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
@@ -1296,8 +962,6 @@ serialization_.offset_ += 1;
1296
962
  ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.serializeUsing_(serialization_, v_.member_)
1297
963
  return
1298
964
  }
1299
- }
1300
- {
1301
965
  if(value_a.SExtend) {
1302
966
  const v_ = value_a;
1303
967
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 27), 0);
@@ -1306,8 +970,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 2
1306
970
  serialization_.offset_ += 1
1307
971
  return
1308
972
  }
1309
- }
1310
- {
1311
973
  if(value_a.STraitFunction) {
1312
974
  const v_ = value_a;
1313
975
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 34), 0);
@@ -1316,8 +978,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 3
1316
978
  serialization_.offset_ += 1
1317
979
  return
1318
980
  }
1319
- }
1320
- {
1321
981
  if(value_a.STrait) {
1322
982
  const v_ = value_a;
1323
983
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
@@ -1326,8 +986,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 4
1326
986
  serialization_.offset_ += 1
1327
987
  return
1328
988
  }
1329
- }
1330
- {
1331
989
  if(value_a.SInstance) {
1332
990
  const v_ = value_a;
1333
991
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
@@ -1336,8 +994,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 5
1336
994
  serialization_.offset_ += 1
1337
995
  return
1338
996
  }
1339
- }
1340
- {
1341
997
  if(value_a.SVariant) {
1342
998
  const v_ = value_a;
1343
999
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
@@ -1346,8 +1002,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 6
1346
1002
  serialization_.offset_ += 1
1347
1003
  return
1348
1004
  }
1349
- }
1350
- {
1351
1005
  if(value_a.SType) {
1352
1006
  const v_ = value_a;
1353
1007
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
@@ -1356,8 +1010,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 7
1356
1010
  serialization_.offset_ += 1
1357
1011
  return
1358
1012
  }
1359
- }
1360
- {
1361
1013
  if(value_a.SParameter) {
1362
1014
  const v_ = value_a;
1363
1015
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
@@ -1366,88 +1018,56 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 8
1366
1018
  serialization_.offset_ += 1
1367
1019
  return
1368
1020
  }
1369
- }
1370
- }
1371
1021
  },
1372
1022
  deserializeUsing_(serialization_) {
1373
1023
  const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
1374
1024
  serialization_.offset_ += 1;
1375
1025
  {
1376
1026
  const _1 = variantIndex_;
1377
- {
1378
1027
  if(_1 === 0) {
1379
1028
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 24), 0);
1380
1029
  return ff_compiler_LspHook.SLet(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.deserializeUsing_(serialization_))
1381
- return
1382
1030
  }
1383
- }
1384
- {
1385
1031
  if(_1 === 1) {
1386
1032
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
1387
1033
  return ff_compiler_LspHook.SFunction(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.deserializeUsing_(serialization_))
1388
- return
1389
- }
1390
1034
  }
1391
- {
1392
1035
  if(_1 === 2) {
1393
1036
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 27), 0);
1394
1037
  return ff_compiler_LspHook.SExtend()
1395
- return
1396
- }
1397
1038
  }
1398
- {
1399
1039
  if(_1 === 3) {
1400
1040
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 34), 0);
1401
1041
  return ff_compiler_LspHook.STraitFunction()
1402
- return
1403
- }
1404
1042
  }
1405
- {
1406
1043
  if(_1 === 4) {
1407
1044
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
1408
1045
  return ff_compiler_LspHook.STrait()
1409
- return
1410
- }
1411
1046
  }
1412
- {
1413
1047
  if(_1 === 5) {
1414
1048
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
1415
1049
  return ff_compiler_LspHook.SInstance()
1416
- return
1417
- }
1418
1050
  }
1419
- {
1420
1051
  if(_1 === 6) {
1421
1052
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
1422
1053
  return ff_compiler_LspHook.SVariant()
1423
- return
1424
- }
1425
1054
  }
1426
- {
1427
1055
  if(_1 === 7) {
1428
1056
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
1429
1057
  return ff_compiler_LspHook.SType()
1430
- return
1431
- }
1432
1058
  }
1433
- {
1434
1059
  if(_1 === 8) {
1435
1060
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
1436
1061
  return ff_compiler_LspHook.SParameter()
1437
- return
1438
- }
1439
1062
  }
1440
1063
  {
1441
1064
  throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serializable.DeserializationChecksumException(), ff_core_Serializable.ff_core_Any_HasAnyTag$ff_core_Serializable_DeserializationChecksumException)})
1442
- return
1443
1065
  }
1444
1066
  }
1445
1067
  },
1446
1068
  async serializeUsing_$(serialization_, value_, $task) {
1447
- {
1448
1069
  const serialization_a = serialization_;
1449
1070
  const value_a = value_;
1450
- {
1451
1071
  if(value_a.SLet) {
1452
1072
  const v_ = value_a;
1453
1073
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 24), 0);
@@ -1457,8 +1077,6 @@ serialization_.offset_ += 1;
1457
1077
  ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.serializeUsing_(serialization_, v_.mutable_)
1458
1078
  return
1459
1079
  }
1460
- }
1461
- {
1462
1080
  if(value_a.SFunction) {
1463
1081
  const v_ = value_a;
1464
1082
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
@@ -1468,8 +1086,6 @@ serialization_.offset_ += 1;
1468
1086
  ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.serializeUsing_(serialization_, v_.member_)
1469
1087
  return
1470
1088
  }
1471
- }
1472
- {
1473
1089
  if(value_a.SExtend) {
1474
1090
  const v_ = value_a;
1475
1091
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 27), 0);
@@ -1478,8 +1094,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 2
1478
1094
  serialization_.offset_ += 1
1479
1095
  return
1480
1096
  }
1481
- }
1482
- {
1483
1097
  if(value_a.STraitFunction) {
1484
1098
  const v_ = value_a;
1485
1099
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 34), 0);
@@ -1488,8 +1102,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 3
1488
1102
  serialization_.offset_ += 1
1489
1103
  return
1490
1104
  }
1491
- }
1492
- {
1493
1105
  if(value_a.STrait) {
1494
1106
  const v_ = value_a;
1495
1107
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
@@ -1498,8 +1110,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 4
1498
1110
  serialization_.offset_ += 1
1499
1111
  return
1500
1112
  }
1501
- }
1502
- {
1503
1113
  if(value_a.SInstance) {
1504
1114
  const v_ = value_a;
1505
1115
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
@@ -1508,8 +1118,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 5
1508
1118
  serialization_.offset_ += 1
1509
1119
  return
1510
1120
  }
1511
- }
1512
- {
1513
1121
  if(value_a.SVariant) {
1514
1122
  const v_ = value_a;
1515
1123
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
@@ -1518,8 +1126,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 6
1518
1126
  serialization_.offset_ += 1
1519
1127
  return
1520
1128
  }
1521
- }
1522
- {
1523
1129
  if(value_a.SType) {
1524
1130
  const v_ = value_a;
1525
1131
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
@@ -1528,8 +1134,6 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 7
1528
1134
  serialization_.offset_ += 1
1529
1135
  return
1530
1136
  }
1531
- }
1532
- {
1533
1137
  if(value_a.SParameter) {
1534
1138
  const v_ = value_a;
1535
1139
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
@@ -1538,80 +1142,50 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 8
1538
1142
  serialization_.offset_ += 1
1539
1143
  return
1540
1144
  }
1541
- }
1542
- }
1543
1145
  },
1544
1146
  async deserializeUsing_$(serialization_, $task) {
1545
1147
  const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
1546
1148
  serialization_.offset_ += 1;
1547
1149
  {
1548
1150
  const _1 = variantIndex_;
1549
- {
1550
1151
  if(_1 === 0) {
1551
1152
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 24), 0);
1552
1153
  return ff_compiler_LspHook.SLet(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.deserializeUsing_(serialization_))
1553
- return
1554
- }
1555
1154
  }
1556
- {
1557
1155
  if(_1 === 1) {
1558
1156
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
1559
1157
  return ff_compiler_LspHook.SFunction(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_Bool_Bool.deserializeUsing_(serialization_))
1560
- return
1561
1158
  }
1562
- }
1563
- {
1564
1159
  if(_1 === 2) {
1565
1160
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 27), 0);
1566
1161
  return ff_compiler_LspHook.SExtend()
1567
- return
1568
- }
1569
1162
  }
1570
- {
1571
1163
  if(_1 === 3) {
1572
1164
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 34), 0);
1573
1165
  return ff_compiler_LspHook.STraitFunction()
1574
- return
1575
- }
1576
1166
  }
1577
- {
1578
1167
  if(_1 === 4) {
1579
1168
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
1580
1169
  return ff_compiler_LspHook.STrait()
1581
- return
1582
- }
1583
1170
  }
1584
- {
1585
1171
  if(_1 === 5) {
1586
1172
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
1587
1173
  return ff_compiler_LspHook.SInstance()
1588
- return
1589
- }
1590
1174
  }
1591
- {
1592
1175
  if(_1 === 6) {
1593
1176
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
1594
1177
  return ff_compiler_LspHook.SVariant()
1595
- return
1596
- }
1597
1178
  }
1598
- {
1599
1179
  if(_1 === 7) {
1600
1180
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
1601
1181
  return ff_compiler_LspHook.SType()
1602
- return
1603
- }
1604
1182
  }
1605
- {
1606
1183
  if(_1 === 8) {
1607
1184
  serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
1608
1185
  return ff_compiler_LspHook.SParameter()
1609
- return
1610
- }
1611
1186
  }
1612
1187
  {
1613
1188
  throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serializable.DeserializationChecksumException(), ff_core_Serializable.ff_core_Any_HasAnyTag$ff_core_Serializable_DeserializationChecksumException)})
1614
- return
1615
1189
  }
1616
1190
  }
1617
1191
  }