firefly-compiler 0.5.62 → 0.5.64
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/compiler/Builder.ff +47 -31
- package/compiler/Compiler.ff +42 -47
- package/compiler/Dependencies.ff +4 -2
- package/compiler/Deriver.ff +2 -2
- package/compiler/Dictionaries.ff +11 -12
- package/compiler/Environment.ff +5 -5
- package/compiler/Inference.ff +1 -2
- package/compiler/JsEmitter.ff +34 -33
- package/compiler/Main.ff +32 -31
- package/compiler/ModuleCache.ff +17 -25
- package/compiler/Parser.ff +7 -11
- package/compiler/Resolver.ff +8 -11
- package/compiler/Syntax.ff +53 -17
- package/compiler/Unification.ff +2 -5
- package/core/BuildSystem.ff +1 -1
- package/core/Path.ff +11 -1
- package/core/SourceLocation.ff +4 -0
- package/experimental/foldertest/.firefly/package.ff +1 -0
- package/experimental/foldertest/Root.ff +10 -0
- package/experimental/foldertest/a/A.ff +3 -0
- package/experimental/foldertest/a/MainA.ff +3 -0
- package/experimental/tests/TestCancel.ff +19 -0
- package/fireflysite/CommunityOverview.ff +0 -2
- package/fireflysite/FrontPage.ff +0 -2
- package/fireflysite/Main.ff +1 -1
- package/fireflysite/PackagesOverview.ff +0 -2
- package/fireflysite/Router.ff +3 -3
- package/fireflysite/{ExamplesOverview.ff → demos/ExamplesOverview.ff} +3 -3
- package/fireflysite/{RouteFront.ff → routes/RouteFront.ff} +2 -3
- package/fireflysite/{RouteNonMarkdown.ff → routes/RouteNonMarkdown.ff} +5 -5
- package/fireflysite/{RouteReference.ff → routes/RouteReference.ff} +2 -3
- package/lsp/CompletionHandler.ff +2 -2
- package/lsp/Handler.ff +14 -13
- package/lsp/LanguageServer.ff +5 -4
- package/output/js/ff/compiler/Builder.mjs +118 -80
- package/output/js/ff/compiler/Compiler.mjs +85 -89
- package/output/js/ff/compiler/Dependencies.mjs +6 -8
- package/output/js/ff/compiler/Deriver.mjs +6 -6
- package/output/js/ff/compiler/Dictionaries.mjs +6 -6
- package/output/js/ff/compiler/Environment.mjs +10 -6
- package/output/js/ff/compiler/Inference.mjs +4 -4
- package/output/js/ff/compiler/JsEmitter.mjs +60 -38
- package/output/js/ff/compiler/Main.mjs +66 -56
- package/output/js/ff/compiler/ModuleCache.mjs +34 -38
- package/output/js/ff/compiler/Parser.mjs +14 -14
- package/output/js/ff/compiler/Resolver.mjs +12 -22
- package/output/js/ff/compiler/Substitution.mjs +2 -2
- package/output/js/ff/compiler/Syntax.mjs +395 -183
- package/output/js/ff/compiler/Unification.mjs +18 -32
- package/output/js/ff/core/BuildSystem.mjs +2 -6
- package/output/js/ff/core/Path.mjs +32 -0
- package/output/js/ff/core/SourceLocation.mjs +12 -0
- package/package.json +1 -1
- package/vscode/client/src/extension.ts +1 -1
- package/vscode/package.json +2 -2
- package/vscode/syntaxes/firefly.tmLanguage.json +299 -299
- package/fireflysite/ReferenceIntroduction.ff +0 -11
- /package/fireflysite/{CountingButtonDemo.ff → demos/CountingButtonDemo.ff} +0 -0
- /package/fireflysite/{MatchingPasswordsDemo.ff → demos/MatchingPasswordsDemo.ff} +0 -0
- /package/fireflysite/{PostgresqlDemo.ff → demos/PostgresqlDemo.ff} +0 -0
|
@@ -121,16 +121,21 @@ export function PackageInfo(package_, dependencies_, includes_) {
|
|
|
121
121
|
return {package_, dependencies_, includes_};
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
// type Module
|
|
125
|
-
export function Module(file_, packagePair_, imports_, types_, traits_, instances_, extends_, lets_, functions_) {
|
|
126
|
-
return {file_, packagePair_, imports_, types_, traits_, instances_, extends_, lets_, functions_};
|
|
127
|
-
}
|
|
128
|
-
|
|
129
124
|
// type PackagePair
|
|
130
125
|
export function PackagePair(group_, name_) {
|
|
131
126
|
return {group_, name_};
|
|
132
127
|
}
|
|
133
128
|
|
|
129
|
+
// type ModuleKey
|
|
130
|
+
export function ModuleKey(packagePair_, folders_, name_) {
|
|
131
|
+
return {packagePair_, folders_, name_};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// type Module
|
|
135
|
+
export function Module(moduleKey_, imports_, types_, traits_, instances_, extends_, lets_, functions_) {
|
|
136
|
+
return {moduleKey_, imports_, types_, traits_, instances_, extends_, lets_, functions_};
|
|
137
|
+
}
|
|
138
|
+
|
|
134
139
|
// type DPackage
|
|
135
140
|
export function DPackage(at_, packagePair_, version_, targets_) {
|
|
136
141
|
return {at_, packagePair_, version_, targets_};
|
|
@@ -152,8 +157,8 @@ return {node_, browser_};
|
|
|
152
157
|
}
|
|
153
158
|
|
|
154
159
|
// type DImport
|
|
155
|
-
export function DImport(at_, alias_,
|
|
156
|
-
return {at_, alias_,
|
|
160
|
+
export function DImport(at_, alias_, moduleKey_) {
|
|
161
|
+
return {at_, alias_, moduleKey_};
|
|
157
162
|
}
|
|
158
163
|
|
|
159
164
|
// type DFunction
|
|
@@ -290,8 +295,8 @@ return {at_, term_, pattern_};
|
|
|
290
295
|
}
|
|
291
296
|
|
|
292
297
|
// type Dictionary
|
|
293
|
-
export function Dictionary(
|
|
294
|
-
return {
|
|
298
|
+
export function Dictionary(moduleKey_, traitName_, typeName_, dictionaries_) {
|
|
299
|
+
return {moduleKey_, traitName_, typeName_, dictionaries_};
|
|
295
300
|
}
|
|
296
301
|
|
|
297
302
|
// type Signature
|
|
@@ -476,10 +481,100 @@ export function PackagePair_groupName(self_, delimiter_ = ":") {
|
|
|
476
481
|
return ((self_.group_ + delimiter_) + self_.name_)
|
|
477
482
|
}
|
|
478
483
|
|
|
484
|
+
export function PackagePair_isCore(self_) {
|
|
485
|
+
return ((self_.group_ === "ff") && (self_.name_ === "core"))
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export function PackagePair_moduleKey(self_, packageRoot_, modulePath_) {
|
|
489
|
+
const parts_ = ff_core_Path.Path_relativeListTo(modulePath_, packageRoot_);
|
|
490
|
+
const folders_ = ff_core_List.List_dropLast(parts_, 1);
|
|
491
|
+
return ff_core_Option.Option_map(ff_core_Option.Option_filter(ff_core_Option.Option_flatMap(ff_core_List.List_last(parts_), ((_w1) => {
|
|
492
|
+
return ff_core_String.String_removeLast(_w1, ".ff")
|
|
493
|
+
})), ((_) => {
|
|
494
|
+
return (ff_core_List.List_all(folders_, ((_w1) => {
|
|
495
|
+
return ff_core_Option.Option_any(ff_core_String.String_first(_w1), ((_w1) => {
|
|
496
|
+
return ff_core_Char.Char_isAsciiLower(_w1)
|
|
497
|
+
}))
|
|
498
|
+
})) && ff_core_List.List_all(folders_, ((_w1) => {
|
|
499
|
+
return ff_core_String.String_all(_w1, ((c_) => {
|
|
500
|
+
return (ff_core_Char.Char_isAsciiLower(c_) || ff_core_Char.Char_isAsciiDigit(c_))
|
|
501
|
+
}))
|
|
502
|
+
})))
|
|
503
|
+
})), ((name_) => {
|
|
504
|
+
return ff_compiler_Syntax.ModuleKey(self_, folders_, name_)
|
|
505
|
+
}))
|
|
506
|
+
}
|
|
507
|
+
|
|
479
508
|
export async function PackagePair_groupName$(self_, delimiter_ = ":", $task) {
|
|
480
509
|
return ((self_.group_ + delimiter_) + self_.name_)
|
|
481
510
|
}
|
|
482
511
|
|
|
512
|
+
export async function PackagePair_isCore$(self_, $task) {
|
|
513
|
+
return ((self_.group_ === "ff") && (self_.name_ === "core"))
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export async function PackagePair_moduleKey$(self_, packageRoot_, modulePath_, $task) {
|
|
517
|
+
const parts_ = (await ff_core_Path.Path_relativeListTo$(modulePath_, packageRoot_, $task));
|
|
518
|
+
const folders_ = ff_core_List.List_dropLast(parts_, 1);
|
|
519
|
+
return ff_core_Option.Option_map(ff_core_Option.Option_filter(ff_core_Option.Option_flatMap(ff_core_List.List_last(parts_), ((_w1) => {
|
|
520
|
+
return ff_core_String.String_removeLast(_w1, ".ff")
|
|
521
|
+
})), ((_) => {
|
|
522
|
+
return (ff_core_List.List_all(folders_, ((_w1) => {
|
|
523
|
+
return ff_core_Option.Option_any(ff_core_String.String_first(_w1), ((_w1) => {
|
|
524
|
+
return ff_core_Char.Char_isAsciiLower(_w1)
|
|
525
|
+
}))
|
|
526
|
+
})) && ff_core_List.List_all(folders_, ((_w1) => {
|
|
527
|
+
return ff_core_String.String_all(_w1, ((c_) => {
|
|
528
|
+
return (ff_core_Char.Char_isAsciiLower(c_) || ff_core_Char.Char_isAsciiDigit(c_))
|
|
529
|
+
}))
|
|
530
|
+
})))
|
|
531
|
+
})), ((name_) => {
|
|
532
|
+
return ff_compiler_Syntax.ModuleKey(self_, folders_, name_)
|
|
533
|
+
}))
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export function ModuleKey_importName(self_) {
|
|
537
|
+
return (ff_core_List.List_join(ff_core_List.List_map(self_.folders_, ((_w1) => {
|
|
538
|
+
return (_w1 + "/")
|
|
539
|
+
})), "") + self_.name_)
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export function ModuleKey_path(self_, packageRoot_) {
|
|
543
|
+
const parent_ = ff_core_List.List_foldLeft(self_.folders_, packageRoot_, ((p_, f_) => {
|
|
544
|
+
return ff_core_Path.Path_slash(p_, f_)
|
|
545
|
+
}));
|
|
546
|
+
return ff_core_Path.Path_slash(parent_, (self_.name_ + ".ff"))
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export function ModuleKey_qualifiedName(self_) {
|
|
550
|
+
return ((ff_compiler_Syntax.PackagePair_groupName(self_.packagePair_, ":") + "/") + ff_compiler_Syntax.ModuleKey_importName(self_))
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export function ModuleKey_qualifiedSymbol(self_, symbol_) {
|
|
554
|
+
return ((ff_compiler_Syntax.ModuleKey_qualifiedName(self_) + ".") + symbol_)
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export async function ModuleKey_importName$(self_, $task) {
|
|
558
|
+
return (ff_core_List.List_join(ff_core_List.List_map(self_.folders_, ((_w1) => {
|
|
559
|
+
return (_w1 + "/")
|
|
560
|
+
})), "") + self_.name_)
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export async function ModuleKey_path$(self_, packageRoot_, $task) {
|
|
564
|
+
const parent_ = (await ff_core_List.List_foldLeft$(self_.folders_, packageRoot_, (async (p_, f_, $task) => {
|
|
565
|
+
return (await ff_core_Path.Path_slash$(p_, f_, $task))
|
|
566
|
+
}), $task));
|
|
567
|
+
return (await ff_core_Path.Path_slash$(parent_, (self_.name_ + ".ff"), $task))
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export async function ModuleKey_qualifiedName$(self_, $task) {
|
|
571
|
+
return ((ff_compiler_Syntax.PackagePair_groupName(self_.packagePair_, ":") + "/") + ff_compiler_Syntax.ModuleKey_importName(self_))
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export async function ModuleKey_qualifiedSymbol$(self_, symbol_, $task) {
|
|
575
|
+
return ((ff_compiler_Syntax.ModuleKey_qualifiedName(self_) + ".") + symbol_)
|
|
576
|
+
}
|
|
577
|
+
|
|
483
578
|
export function Type_show(self_, shownTypes_) {
|
|
484
579
|
let seenTypes_ = ff_core_Map.new_();
|
|
485
580
|
const typeNames_ = ff_core_List.List_toStream(ff_core_List.List_map(ff_core_Int.Int_to(97, 122), ((_w1) => {
|
|
@@ -787,21 +882,30 @@ return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.PackageInfo" + "[") + "
|
|
|
787
882
|
}
|
|
788
883
|
};
|
|
789
884
|
|
|
790
|
-
export const ff_core_Any_HasAnyTag$
|
|
885
|
+
export const ff_core_Any_HasAnyTag$ff_compiler_Syntax_PackagePair = {
|
|
791
886
|
anyTag_() {
|
|
792
|
-
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.
|
|
887
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.PackagePair" + "[") + "]"))
|
|
793
888
|
},
|
|
794
889
|
async anyTag_$($task) {
|
|
795
|
-
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.
|
|
890
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.PackagePair" + "[") + "]"))
|
|
796
891
|
}
|
|
797
892
|
};
|
|
798
893
|
|
|
799
|
-
export const ff_core_Any_HasAnyTag$
|
|
894
|
+
export const ff_core_Any_HasAnyTag$ff_compiler_Syntax_ModuleKey = {
|
|
800
895
|
anyTag_() {
|
|
801
|
-
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.
|
|
896
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.ModuleKey" + "[") + "]"))
|
|
802
897
|
},
|
|
803
898
|
async anyTag_$($task) {
|
|
804
|
-
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.
|
|
899
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.ModuleKey" + "[") + "]"))
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
export const ff_core_Any_HasAnyTag$ff_compiler_Syntax_Module = {
|
|
904
|
+
anyTag_() {
|
|
905
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.Module" + "[") + "]"))
|
|
906
|
+
},
|
|
907
|
+
async anyTag_$($task) {
|
|
908
|
+
return ff_core_Any.internalAnyTag_((("ff:compiler/Syntax.Module" + "[") + "]"))
|
|
805
909
|
}
|
|
806
910
|
};
|
|
807
911
|
|
|
@@ -1133,36 +1237,53 @@ return ((((((("PackageInfo" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_com
|
|
|
1133
1237
|
}
|
|
1134
1238
|
};
|
|
1135
1239
|
|
|
1136
|
-
export const ff_core_Show_Show$
|
|
1240
|
+
export const ff_core_Show_Show$ff_compiler_Syntax_PackagePair = {
|
|
1137
1241
|
show_(value_) {
|
|
1138
1242
|
const value_a = value_;
|
|
1139
1243
|
{
|
|
1140
1244
|
const z_ = value_a;
|
|
1141
|
-
return (((((
|
|
1245
|
+
return ((((("PackagePair" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.group_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.name_)) + ")")
|
|
1142
1246
|
}
|
|
1143
1247
|
},
|
|
1144
1248
|
async show_$(value_, $task) {
|
|
1145
1249
|
const value_a = value_;
|
|
1146
1250
|
{
|
|
1147
1251
|
const z_ = value_a;
|
|
1148
|
-
return (((((
|
|
1252
|
+
return ((((("PackagePair" + "(") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.group_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.name_)) + ")")
|
|
1149
1253
|
}
|
|
1150
1254
|
}
|
|
1151
1255
|
};
|
|
1152
1256
|
|
|
1153
|
-
export const ff_core_Show_Show$
|
|
1257
|
+
export const ff_core_Show_Show$ff_compiler_Syntax_ModuleKey = {
|
|
1154
1258
|
show_(value_) {
|
|
1155
1259
|
const value_a = value_;
|
|
1156
1260
|
{
|
|
1157
1261
|
const z_ = value_a;
|
|
1158
|
-
return ((((("
|
|
1262
|
+
return ((((((("ModuleKey" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_PackagePair.show_(z_.packagePair_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_core_Show.ff_core_Show_Show$ff_core_String_String).show_(z_.folders_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.name_)) + ")")
|
|
1159
1263
|
}
|
|
1160
1264
|
},
|
|
1161
1265
|
async show_$(value_, $task) {
|
|
1162
1266
|
const value_a = value_;
|
|
1163
1267
|
{
|
|
1164
1268
|
const z_ = value_a;
|
|
1165
|
-
return ((((("
|
|
1269
|
+
return ((((((("ModuleKey" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_PackagePair.show_(z_.packagePair_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_core_Show.ff_core_Show_Show$ff_core_String_String).show_(z_.folders_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.name_)) + ")")
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
export const ff_core_Show_Show$ff_compiler_Syntax_Module = {
|
|
1275
|
+
show_(value_) {
|
|
1276
|
+
const value_a = value_;
|
|
1277
|
+
{
|
|
1278
|
+
const z_ = value_a;
|
|
1279
|
+
return ((((((((((((((((("Module" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DImport).show_(z_.imports_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DType).show_(z_.types_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DTrait).show_(z_.traits_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DInstance).show_(z_.instances_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DExtend).show_(z_.extends_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DLet).show_(z_.lets_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DFunction).show_(z_.functions_)) + ")")
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
async show_$(value_, $task) {
|
|
1283
|
+
const value_a = value_;
|
|
1284
|
+
{
|
|
1285
|
+
const z_ = value_a;
|
|
1286
|
+
return ((((((((((((((((("Module" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DImport).show_(z_.imports_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DType).show_(z_.types_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DTrait).show_(z_.traits_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DInstance).show_(z_.instances_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DExtend).show_(z_.extends_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DLet).show_(z_.lets_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_DFunction).show_(z_.functions_)) + ")")
|
|
1166
1287
|
}
|
|
1167
1288
|
}
|
|
1168
1289
|
};
|
|
@@ -1240,14 +1361,14 @@ show_(value_) {
|
|
|
1240
1361
|
const value_a = value_;
|
|
1241
1362
|
{
|
|
1242
1363
|
const z_ = value_a;
|
|
1243
|
-
return (((((((
|
|
1364
|
+
return ((((((("DImport" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.at_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.alias_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ")")
|
|
1244
1365
|
}
|
|
1245
1366
|
},
|
|
1246
1367
|
async show_$(value_, $task) {
|
|
1247
1368
|
const value_a = value_;
|
|
1248
1369
|
{
|
|
1249
1370
|
const z_ = value_a;
|
|
1250
|
-
return (((((((
|
|
1371
|
+
return ((((((("DImport" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Location.show_(z_.at_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.alias_)) + ", ") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ")")
|
|
1251
1372
|
}
|
|
1252
1373
|
}
|
|
1253
1374
|
};
|
|
@@ -1652,14 +1773,14 @@ show_(value_) {
|
|
|
1652
1773
|
const value_a = value_;
|
|
1653
1774
|
{
|
|
1654
1775
|
const z_ = value_a;
|
|
1655
|
-
return (((((((((
|
|
1776
|
+
return ((((((((("Dictionary" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.traitName_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.typeName_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Dictionary).show_(z_.dictionaries_)) + ")")
|
|
1656
1777
|
}
|
|
1657
1778
|
},
|
|
1658
1779
|
async show_$(value_, $task) {
|
|
1659
1780
|
const value_a = value_;
|
|
1660
1781
|
{
|
|
1661
1782
|
const z_ = value_a;
|
|
1662
|
-
return (((((((((
|
|
1783
|
+
return ((((((((("Dictionary" + "(") + ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_ModuleKey.show_(z_.moduleKey_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.traitName_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_String_String.show_(z_.typeName_)) + ", ") + ff_core_Show.ff_core_Show_Show$ff_core_List_List(ff_compiler_Syntax.ff_core_Show_Show$ff_compiler_Syntax_Dictionary).show_(z_.dictionaries_)) + ")")
|
|
1663
1784
|
}
|
|
1664
1785
|
}
|
|
1665
1786
|
};
|
|
@@ -1973,7 +2094,7 @@ return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DPackage.equal
|
|
|
1973
2094
|
}
|
|
1974
2095
|
};
|
|
1975
2096
|
|
|
1976
|
-
export const ff_core_Equal_Equal$
|
|
2097
|
+
export const ff_core_Equal_Equal$ff_compiler_Syntax_PackagePair = {
|
|
1977
2098
|
equals_(x_, y_) {
|
|
1978
2099
|
const x_a = x_;
|
|
1979
2100
|
const y_a = y_;
|
|
@@ -1981,7 +2102,7 @@ if((x_ === y_)) {
|
|
|
1981
2102
|
return true
|
|
1982
2103
|
}
|
|
1983
2104
|
{
|
|
1984
|
-
return ((x_.
|
|
2105
|
+
return ((x_.group_ === y_.group_) && (x_.name_ === y_.name_))
|
|
1985
2106
|
}
|
|
1986
2107
|
},
|
|
1987
2108
|
async equals_$(x_, y_, $task) {
|
|
@@ -1991,12 +2112,12 @@ if((x_ === y_)) {
|
|
|
1991
2112
|
return true
|
|
1992
2113
|
}
|
|
1993
2114
|
{
|
|
1994
|
-
return ((x_.
|
|
2115
|
+
return ((x_.group_ === y_.group_) && (x_.name_ === y_.name_))
|
|
1995
2116
|
}
|
|
1996
2117
|
}
|
|
1997
2118
|
};
|
|
1998
2119
|
|
|
1999
|
-
export const ff_core_Equal_Equal$
|
|
2120
|
+
export const ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey = {
|
|
2000
2121
|
equals_(x_, y_) {
|
|
2001
2122
|
const x_a = x_;
|
|
2002
2123
|
const y_a = y_;
|
|
@@ -2004,7 +2125,7 @@ if((x_ === y_)) {
|
|
|
2004
2125
|
return true
|
|
2005
2126
|
}
|
|
2006
2127
|
{
|
|
2007
|
-
return ((x_.
|
|
2128
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_PackagePair.equals_(x_.packagePair_, y_.packagePair_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_core_Equal.ff_core_Equal_Equal$ff_core_String_String).equals_(x_.folders_, y_.folders_) && (x_.name_ === y_.name_)))
|
|
2008
2129
|
}
|
|
2009
2130
|
},
|
|
2010
2131
|
async equals_$(x_, y_, $task) {
|
|
@@ -2014,7 +2135,30 @@ if((x_ === y_)) {
|
|
|
2014
2135
|
return true
|
|
2015
2136
|
}
|
|
2016
2137
|
{
|
|
2017
|
-
return ((x_.
|
|
2138
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_PackagePair.equals_(x_.packagePair_, y_.packagePair_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_core_Equal.ff_core_Equal_Equal$ff_core_String_String).equals_(x_.folders_, y_.folders_) && (x_.name_ === y_.name_)))
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
};
|
|
2142
|
+
|
|
2143
|
+
export const ff_core_Equal_Equal$ff_compiler_Syntax_Module = {
|
|
2144
|
+
equals_(x_, y_) {
|
|
2145
|
+
const x_a = x_;
|
|
2146
|
+
const y_a = y_;
|
|
2147
|
+
if((x_ === y_)) {
|
|
2148
|
+
return true
|
|
2149
|
+
}
|
|
2150
|
+
{
|
|
2151
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DImport).equals_(x_.imports_, y_.imports_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DType).equals_(x_.types_, y_.types_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DTrait).equals_(x_.traits_, y_.traits_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DInstance).equals_(x_.instances_, y_.instances_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DExtend).equals_(x_.extends_, y_.extends_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DLet).equals_(x_.lets_, y_.lets_) && ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DFunction).equals_(x_.functions_, y_.functions_))))))))
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
async equals_$(x_, y_, $task) {
|
|
2155
|
+
const x_a = x_;
|
|
2156
|
+
const y_a = y_;
|
|
2157
|
+
if((x_ === y_)) {
|
|
2158
|
+
return true
|
|
2159
|
+
}
|
|
2160
|
+
{
|
|
2161
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DImport).equals_(x_.imports_, y_.imports_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DType).equals_(x_.types_, y_.types_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DTrait).equals_(x_.traits_, y_.traits_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DInstance).equals_(x_.instances_, y_.instances_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DExtend).equals_(x_.extends_, y_.extends_) && (ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DLet).equals_(x_.lets_, y_.lets_) && ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_DFunction).equals_(x_.functions_, y_.functions_))))))))
|
|
2018
2162
|
}
|
|
2019
2163
|
}
|
|
2020
2164
|
};
|
|
@@ -2119,7 +2263,7 @@ if((x_ === y_)) {
|
|
|
2119
2263
|
return true
|
|
2120
2264
|
}
|
|
2121
2265
|
{
|
|
2122
|
-
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.at_, y_.at_) && ((x_.alias_ === y_.alias_) &&
|
|
2266
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.at_, y_.at_) && ((x_.alias_ === y_.alias_) && ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_)))
|
|
2123
2267
|
}
|
|
2124
2268
|
},
|
|
2125
2269
|
async equals_$(x_, y_, $task) {
|
|
@@ -2129,7 +2273,7 @@ if((x_ === y_)) {
|
|
|
2129
2273
|
return true
|
|
2130
2274
|
}
|
|
2131
2275
|
{
|
|
2132
|
-
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.at_, y_.at_) && ((x_.alias_ === y_.alias_) &&
|
|
2276
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Location.equals_(x_.at_, y_.at_) && ((x_.alias_ === y_.alias_) && ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_)))
|
|
2133
2277
|
}
|
|
2134
2278
|
}
|
|
2135
2279
|
};
|
|
@@ -2685,7 +2829,7 @@ if((x_ === y_)) {
|
|
|
2685
2829
|
return true
|
|
2686
2830
|
}
|
|
2687
2831
|
{
|
|
2688
|
-
return (ff_compiler_Syntax.ff_core_Equal_Equal$
|
|
2832
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_) && ((x_.traitName_ === y_.traitName_) && ((x_.typeName_ === y_.typeName_) && ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Dictionary).equals_(x_.dictionaries_, y_.dictionaries_))))
|
|
2689
2833
|
}
|
|
2690
2834
|
},
|
|
2691
2835
|
async equals_$(x_, y_, $task) {
|
|
@@ -2695,7 +2839,7 @@ if((x_ === y_)) {
|
|
|
2695
2839
|
return true
|
|
2696
2840
|
}
|
|
2697
2841
|
{
|
|
2698
|
-
return (ff_compiler_Syntax.ff_core_Equal_Equal$
|
|
2842
|
+
return (ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_ModuleKey.equals_(x_.moduleKey_, y_.moduleKey_) && ((x_.traitName_ === y_.traitName_) && ((x_.typeName_ === y_.typeName_) && ff_core_List.ff_core_Equal_Equal$ff_core_List_List(ff_compiler_Syntax.ff_core_Equal_Equal$ff_compiler_Syntax_Dictionary).equals_(x_.dictionaries_, y_.dictionaries_))))
|
|
2699
2843
|
}
|
|
2700
2844
|
}
|
|
2701
2845
|
};
|
|
@@ -3185,7 +3329,7 @@ return
|
|
|
3185
3329
|
}
|
|
3186
3330
|
};
|
|
3187
3331
|
|
|
3188
|
-
export const ff_core_Ordering_Order$
|
|
3332
|
+
export const ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair = {
|
|
3189
3333
|
compare_(x_, y_) {
|
|
3190
3334
|
const x_a = x_;
|
|
3191
3335
|
const y_a = y_;
|
|
@@ -3193,14 +3337,110 @@ if((x_ === y_)) {
|
|
|
3193
3337
|
return ff_core_Ordering.OrderingSame()
|
|
3194
3338
|
}
|
|
3195
3339
|
{
|
|
3196
|
-
const
|
|
3197
|
-
if((
|
|
3198
|
-
return
|
|
3340
|
+
const groupOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.group_, y_.group_);
|
|
3341
|
+
if((groupOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3342
|
+
return groupOrdering_
|
|
3199
3343
|
} else {
|
|
3344
|
+
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3345
|
+
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3346
|
+
return nameOrdering_
|
|
3347
|
+
} else {
|
|
3348
|
+
return ff_core_Ordering.OrderingSame()
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
return
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
async compare_$(x_, y_, $task) {
|
|
3355
|
+
const x_a = x_;
|
|
3356
|
+
const y_a = y_;
|
|
3357
|
+
if((x_ === y_)) {
|
|
3358
|
+
return ff_core_Ordering.OrderingSame()
|
|
3359
|
+
}
|
|
3360
|
+
{
|
|
3361
|
+
const groupOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.group_, y_.group_);
|
|
3362
|
+
if((groupOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3363
|
+
return groupOrdering_
|
|
3364
|
+
} else {
|
|
3365
|
+
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3366
|
+
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3367
|
+
return nameOrdering_
|
|
3368
|
+
} else {
|
|
3369
|
+
return ff_core_Ordering.OrderingSame()
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
return
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
};
|
|
3376
|
+
|
|
3377
|
+
export const ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey = {
|
|
3378
|
+
compare_(x_, y_) {
|
|
3379
|
+
const x_a = x_;
|
|
3380
|
+
const y_a = y_;
|
|
3381
|
+
if((x_ === y_)) {
|
|
3382
|
+
return ff_core_Ordering.OrderingSame()
|
|
3383
|
+
}
|
|
3384
|
+
{
|
|
3385
|
+
const packagePairOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair.compare_(x_.packagePair_, y_.packagePair_);
|
|
3386
|
+
if((packagePairOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3387
|
+
return packagePairOrdering_
|
|
3388
|
+
} else {
|
|
3389
|
+
const foldersOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String).compare_(x_.folders_, y_.folders_);
|
|
3390
|
+
if((foldersOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3391
|
+
return foldersOrdering_
|
|
3392
|
+
} else {
|
|
3393
|
+
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3394
|
+
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3395
|
+
return nameOrdering_
|
|
3396
|
+
} else {
|
|
3397
|
+
return ff_core_Ordering.OrderingSame()
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
return
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
async compare_$(x_, y_, $task) {
|
|
3405
|
+
const x_a = x_;
|
|
3406
|
+
const y_a = y_;
|
|
3407
|
+
if((x_ === y_)) {
|
|
3408
|
+
return ff_core_Ordering.OrderingSame()
|
|
3409
|
+
}
|
|
3410
|
+
{
|
|
3200
3411
|
const packagePairOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair.compare_(x_.packagePair_, y_.packagePair_);
|
|
3201
3412
|
if((packagePairOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3202
3413
|
return packagePairOrdering_
|
|
3203
3414
|
} else {
|
|
3415
|
+
const foldersOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String).compare_(x_.folders_, y_.folders_);
|
|
3416
|
+
if((foldersOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3417
|
+
return foldersOrdering_
|
|
3418
|
+
} else {
|
|
3419
|
+
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3420
|
+
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3421
|
+
return nameOrdering_
|
|
3422
|
+
} else {
|
|
3423
|
+
return ff_core_Ordering.OrderingSame()
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
return
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
};
|
|
3431
|
+
|
|
3432
|
+
export const ff_core_Ordering_Order$ff_compiler_Syntax_Module = {
|
|
3433
|
+
compare_(x_, y_) {
|
|
3434
|
+
const x_a = x_;
|
|
3435
|
+
const y_a = y_;
|
|
3436
|
+
if((x_ === y_)) {
|
|
3437
|
+
return ff_core_Ordering.OrderingSame()
|
|
3438
|
+
}
|
|
3439
|
+
{
|
|
3440
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
3441
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3442
|
+
return moduleKeyOrdering_
|
|
3443
|
+
} else {
|
|
3204
3444
|
const importsOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_DImport).compare_(x_.imports_, y_.imports_);
|
|
3205
3445
|
if((importsOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3206
3446
|
return importsOrdering_
|
|
@@ -3238,7 +3478,6 @@ return ff_core_Ordering.OrderingSame()
|
|
|
3238
3478
|
}
|
|
3239
3479
|
}
|
|
3240
3480
|
}
|
|
3241
|
-
}
|
|
3242
3481
|
return
|
|
3243
3482
|
}
|
|
3244
3483
|
},
|
|
@@ -3249,13 +3488,9 @@ if((x_ === y_)) {
|
|
|
3249
3488
|
return ff_core_Ordering.OrderingSame()
|
|
3250
3489
|
}
|
|
3251
3490
|
{
|
|
3252
|
-
const
|
|
3253
|
-
if((
|
|
3254
|
-
return
|
|
3255
|
-
} else {
|
|
3256
|
-
const packagePairOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair.compare_(x_.packagePair_, y_.packagePair_);
|
|
3257
|
-
if((packagePairOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3258
|
-
return packagePairOrdering_
|
|
3491
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
3492
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3493
|
+
return moduleKeyOrdering_
|
|
3259
3494
|
} else {
|
|
3260
3495
|
const importsOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_DImport).compare_(x_.imports_, y_.imports_);
|
|
3261
3496
|
if((importsOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
@@ -3294,52 +3529,6 @@ return ff_core_Ordering.OrderingSame()
|
|
|
3294
3529
|
}
|
|
3295
3530
|
}
|
|
3296
3531
|
}
|
|
3297
|
-
}
|
|
3298
|
-
return
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
|
-
};
|
|
3302
|
-
|
|
3303
|
-
export const ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair = {
|
|
3304
|
-
compare_(x_, y_) {
|
|
3305
|
-
const x_a = x_;
|
|
3306
|
-
const y_a = y_;
|
|
3307
|
-
if((x_ === y_)) {
|
|
3308
|
-
return ff_core_Ordering.OrderingSame()
|
|
3309
|
-
}
|
|
3310
|
-
{
|
|
3311
|
-
const groupOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.group_, y_.group_);
|
|
3312
|
-
if((groupOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3313
|
-
return groupOrdering_
|
|
3314
|
-
} else {
|
|
3315
|
-
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3316
|
-
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3317
|
-
return nameOrdering_
|
|
3318
|
-
} else {
|
|
3319
|
-
return ff_core_Ordering.OrderingSame()
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
return
|
|
3323
|
-
}
|
|
3324
|
-
},
|
|
3325
|
-
async compare_$(x_, y_, $task) {
|
|
3326
|
-
const x_a = x_;
|
|
3327
|
-
const y_a = y_;
|
|
3328
|
-
if((x_ === y_)) {
|
|
3329
|
-
return ff_core_Ordering.OrderingSame()
|
|
3330
|
-
}
|
|
3331
|
-
{
|
|
3332
|
-
const groupOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.group_, y_.group_);
|
|
3333
|
-
if((groupOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3334
|
-
return groupOrdering_
|
|
3335
|
-
} else {
|
|
3336
|
-
const nameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.name_, y_.name_);
|
|
3337
|
-
if((nameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3338
|
-
return nameOrdering_
|
|
3339
|
-
} else {
|
|
3340
|
-
return ff_core_Ordering.OrderingSame()
|
|
3341
|
-
}
|
|
3342
|
-
}
|
|
3343
3532
|
return
|
|
3344
3533
|
}
|
|
3345
3534
|
}
|
|
@@ -3591,24 +3780,14 @@ const aliasOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_St
|
|
|
3591
3780
|
if((aliasOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3592
3781
|
return aliasOrdering_
|
|
3593
3782
|
} else {
|
|
3594
|
-
const
|
|
3595
|
-
if((
|
|
3596
|
-
return
|
|
3597
|
-
} else {
|
|
3598
|
-
const directoryOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String).compare_(x_.directory_, y_.directory_);
|
|
3599
|
-
if((directoryOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3600
|
-
return directoryOrdering_
|
|
3601
|
-
} else {
|
|
3602
|
-
const fileOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.file_, y_.file_);
|
|
3603
|
-
if((fileOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3604
|
-
return fileOrdering_
|
|
3783
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
3784
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3785
|
+
return moduleKeyOrdering_
|
|
3605
3786
|
} else {
|
|
3606
3787
|
return ff_core_Ordering.OrderingSame()
|
|
3607
3788
|
}
|
|
3608
3789
|
}
|
|
3609
3790
|
}
|
|
3610
|
-
}
|
|
3611
|
-
}
|
|
3612
3791
|
return
|
|
3613
3792
|
}
|
|
3614
3793
|
},
|
|
@@ -3627,24 +3806,14 @@ const aliasOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_St
|
|
|
3627
3806
|
if((aliasOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3628
3807
|
return aliasOrdering_
|
|
3629
3808
|
} else {
|
|
3630
|
-
const
|
|
3631
|
-
if((
|
|
3632
|
-
return
|
|
3633
|
-
} else {
|
|
3634
|
-
const directoryOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_List_List(ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String).compare_(x_.directory_, y_.directory_);
|
|
3635
|
-
if((directoryOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3636
|
-
return directoryOrdering_
|
|
3637
|
-
} else {
|
|
3638
|
-
const fileOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.file_, y_.file_);
|
|
3639
|
-
if((fileOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3640
|
-
return fileOrdering_
|
|
3809
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
3810
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
3811
|
+
return moduleKeyOrdering_
|
|
3641
3812
|
} else {
|
|
3642
3813
|
return ff_core_Ordering.OrderingSame()
|
|
3643
3814
|
}
|
|
3644
3815
|
}
|
|
3645
3816
|
}
|
|
3646
|
-
}
|
|
3647
|
-
}
|
|
3648
3817
|
return
|
|
3649
3818
|
}
|
|
3650
3819
|
}
|
|
@@ -5787,13 +5956,9 @@ if((x_ === y_)) {
|
|
|
5787
5956
|
return ff_core_Ordering.OrderingSame()
|
|
5788
5957
|
}
|
|
5789
5958
|
{
|
|
5790
|
-
const
|
|
5791
|
-
if((
|
|
5792
|
-
return
|
|
5793
|
-
} else {
|
|
5794
|
-
const moduleNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.moduleName_, y_.moduleName_);
|
|
5795
|
-
if((moduleNameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
5796
|
-
return moduleNameOrdering_
|
|
5959
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
5960
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
5961
|
+
return moduleKeyOrdering_
|
|
5797
5962
|
} else {
|
|
5798
5963
|
const traitNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.traitName_, y_.traitName_);
|
|
5799
5964
|
if((traitNameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
@@ -5812,7 +5977,6 @@ return ff_core_Ordering.OrderingSame()
|
|
|
5812
5977
|
}
|
|
5813
5978
|
}
|
|
5814
5979
|
}
|
|
5815
|
-
}
|
|
5816
5980
|
return
|
|
5817
5981
|
}
|
|
5818
5982
|
},
|
|
@@ -5823,13 +5987,9 @@ if((x_ === y_)) {
|
|
|
5823
5987
|
return ff_core_Ordering.OrderingSame()
|
|
5824
5988
|
}
|
|
5825
5989
|
{
|
|
5826
|
-
const
|
|
5827
|
-
if((
|
|
5828
|
-
return
|
|
5829
|
-
} else {
|
|
5830
|
-
const moduleNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.moduleName_, y_.moduleName_);
|
|
5831
|
-
if((moduleNameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
5832
|
-
return moduleNameOrdering_
|
|
5990
|
+
const moduleKeyOrdering_ = ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_ModuleKey.compare_(x_.moduleKey_, y_.moduleKey_);
|
|
5991
|
+
if((moduleKeyOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
5992
|
+
return moduleKeyOrdering_
|
|
5833
5993
|
} else {
|
|
5834
5994
|
const traitNameOrdering_ = ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String.compare_(x_.traitName_, y_.traitName_);
|
|
5835
5995
|
if((traitNameOrdering_ !== ff_core_Ordering.OrderingSame())) {
|
|
@@ -5848,7 +6008,6 @@ return ff_core_Ordering.OrderingSame()
|
|
|
5848
6008
|
}
|
|
5849
6009
|
}
|
|
5850
6010
|
}
|
|
5851
|
-
}
|
|
5852
6011
|
return
|
|
5853
6012
|
}
|
|
5854
6013
|
}
|
|
@@ -6833,25 +6992,18 @@ throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serial
|
|
|
6833
6992
|
}
|
|
6834
6993
|
};
|
|
6835
6994
|
|
|
6836
|
-
export const ff_core_Serializable_Serializable$
|
|
6995
|
+
export const ff_core_Serializable_Serializable$ff_compiler_Syntax_PackagePair = {
|
|
6837
6996
|
serializeUsing_(serialization_, value_) {
|
|
6838
6997
|
const serialization_a = serialization_;
|
|
6839
6998
|
const value_a = value_;
|
|
6840
6999
|
{
|
|
6841
7000
|
const v_ = value_a;
|
|
6842
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
7001
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
|
|
6843
7002
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
6844
7003
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
6845
7004
|
serialization_.offset_ += 1;
|
|
6846
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.
|
|
6847
|
-
|
|
6848
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).serializeUsing_(serialization_, v_.imports_);
|
|
6849
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).serializeUsing_(serialization_, v_.types_);
|
|
6850
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).serializeUsing_(serialization_, v_.traits_);
|
|
6851
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).serializeUsing_(serialization_, v_.instances_);
|
|
6852
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).serializeUsing_(serialization_, v_.extends_);
|
|
6853
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).serializeUsing_(serialization_, v_.lets_);
|
|
6854
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).serializeUsing_(serialization_, v_.functions_)
|
|
7005
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.group_);
|
|
7006
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.name_)
|
|
6855
7007
|
return
|
|
6856
7008
|
}
|
|
6857
7009
|
},
|
|
@@ -6861,8 +7013,8 @@ serialization_.offset_ += 1;
|
|
|
6861
7013
|
{
|
|
6862
7014
|
const _1 = variantIndex_;
|
|
6863
7015
|
if(_1 === 0) {
|
|
6864
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
6865
|
-
return ff_compiler_Syntax.
|
|
7016
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
|
|
7017
|
+
return ff_compiler_Syntax.PackagePair(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_))
|
|
6866
7018
|
}
|
|
6867
7019
|
{
|
|
6868
7020
|
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)})
|
|
@@ -6874,19 +7026,12 @@ const serialization_a = serialization_;
|
|
|
6874
7026
|
const value_a = value_;
|
|
6875
7027
|
{
|
|
6876
7028
|
const v_ = value_a;
|
|
6877
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
7029
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
|
|
6878
7030
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
6879
7031
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
6880
7032
|
serialization_.offset_ += 1;
|
|
6881
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.
|
|
6882
|
-
|
|
6883
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).serializeUsing_(serialization_, v_.imports_);
|
|
6884
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).serializeUsing_(serialization_, v_.types_);
|
|
6885
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).serializeUsing_(serialization_, v_.traits_);
|
|
6886
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).serializeUsing_(serialization_, v_.instances_);
|
|
6887
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).serializeUsing_(serialization_, v_.extends_);
|
|
6888
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).serializeUsing_(serialization_, v_.lets_);
|
|
6889
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).serializeUsing_(serialization_, v_.functions_)
|
|
7033
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.group_);
|
|
7034
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.name_)
|
|
6890
7035
|
return
|
|
6891
7036
|
}
|
|
6892
7037
|
},
|
|
@@ -6896,8 +7041,8 @@ serialization_.offset_ += 1;
|
|
|
6896
7041
|
{
|
|
6897
7042
|
const _1 = variantIndex_;
|
|
6898
7043
|
if(_1 === 0) {
|
|
6899
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
6900
|
-
return ff_compiler_Syntax.
|
|
7044
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 30), 0);
|
|
7045
|
+
return ff_compiler_Syntax.PackagePair(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_))
|
|
6901
7046
|
}
|
|
6902
7047
|
{
|
|
6903
7048
|
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)})
|
|
@@ -6906,17 +7051,18 @@ throw Object.assign(new Error(), {ffException: ff_core_Any.toAny_(ff_core_Serial
|
|
|
6906
7051
|
}
|
|
6907
7052
|
};
|
|
6908
7053
|
|
|
6909
|
-
export const ff_core_Serializable_Serializable$
|
|
7054
|
+
export const ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey = {
|
|
6910
7055
|
serializeUsing_(serialization_, value_) {
|
|
6911
7056
|
const serialization_a = serialization_;
|
|
6912
7057
|
const value_a = value_;
|
|
6913
7058
|
{
|
|
6914
7059
|
const v_ = value_a;
|
|
6915
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
7060
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
|
|
6916
7061
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
6917
7062
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
6918
7063
|
serialization_.offset_ += 1;
|
|
6919
|
-
|
|
7064
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_PackagePair.serializeUsing_(serialization_, v_.packagePair_);
|
|
7065
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).serializeUsing_(serialization_, v_.folders_);
|
|
6920
7066
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.name_)
|
|
6921
7067
|
return
|
|
6922
7068
|
}
|
|
@@ -6927,8 +7073,8 @@ serialization_.offset_ += 1;
|
|
|
6927
7073
|
{
|
|
6928
7074
|
const _1 = variantIndex_;
|
|
6929
7075
|
if(_1 === 0) {
|
|
6930
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
6931
|
-
return ff_compiler_Syntax.
|
|
7076
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
|
|
7077
|
+
return ff_compiler_Syntax.ModuleKey(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_PackagePair.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_))
|
|
6932
7078
|
}
|
|
6933
7079
|
{
|
|
6934
7080
|
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)})
|
|
@@ -6940,11 +7086,12 @@ const serialization_a = serialization_;
|
|
|
6940
7086
|
const value_a = value_;
|
|
6941
7087
|
{
|
|
6942
7088
|
const v_ = value_a;
|
|
6943
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
7089
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
|
|
6944
7090
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
6945
7091
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
6946
7092
|
serialization_.offset_ += 1;
|
|
6947
|
-
|
|
7093
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_PackagePair.serializeUsing_(serialization_, v_.packagePair_);
|
|
7094
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).serializeUsing_(serialization_, v_.folders_);
|
|
6948
7095
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.name_)
|
|
6949
7096
|
return
|
|
6950
7097
|
}
|
|
@@ -6955,8 +7102,79 @@ serialization_.offset_ += 1;
|
|
|
6955
7102
|
{
|
|
6956
7103
|
const _1 = variantIndex_;
|
|
6957
7104
|
if(_1 === 0) {
|
|
6958
|
-
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) +
|
|
6959
|
-
return ff_compiler_Syntax.
|
|
7105
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 28), 0);
|
|
7106
|
+
return ff_compiler_Syntax.ModuleKey(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_PackagePair.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_))
|
|
7107
|
+
}
|
|
7108
|
+
{
|
|
7109
|
+
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)})
|
|
7110
|
+
}
|
|
7111
|
+
}
|
|
7112
|
+
}
|
|
7113
|
+
};
|
|
7114
|
+
|
|
7115
|
+
export const ff_core_Serializable_Serializable$ff_compiler_Syntax_Module = {
|
|
7116
|
+
serializeUsing_(serialization_, value_) {
|
|
7117
|
+
const serialization_a = serialization_;
|
|
7118
|
+
const value_a = value_;
|
|
7119
|
+
{
|
|
7120
|
+
const v_ = value_a;
|
|
7121
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
|
|
7122
|
+
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
7123
|
+
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
7124
|
+
serialization_.offset_ += 1;
|
|
7125
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_);
|
|
7126
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).serializeUsing_(serialization_, v_.imports_);
|
|
7127
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).serializeUsing_(serialization_, v_.types_);
|
|
7128
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).serializeUsing_(serialization_, v_.traits_);
|
|
7129
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).serializeUsing_(serialization_, v_.instances_);
|
|
7130
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).serializeUsing_(serialization_, v_.extends_);
|
|
7131
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).serializeUsing_(serialization_, v_.lets_);
|
|
7132
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).serializeUsing_(serialization_, v_.functions_)
|
|
7133
|
+
return
|
|
7134
|
+
}
|
|
7135
|
+
},
|
|
7136
|
+
deserializeUsing_(serialization_) {
|
|
7137
|
+
const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
|
|
7138
|
+
serialization_.offset_ += 1;
|
|
7139
|
+
{
|
|
7140
|
+
const _1 = variantIndex_;
|
|
7141
|
+
if(_1 === 0) {
|
|
7142
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
|
|
7143
|
+
return ff_compiler_Syntax.Module(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).deserializeUsing_(serialization_))
|
|
7144
|
+
}
|
|
7145
|
+
{
|
|
7146
|
+
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)})
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
},
|
|
7150
|
+
async serializeUsing_$(serialization_, value_, $task) {
|
|
7151
|
+
const serialization_a = serialization_;
|
|
7152
|
+
const value_a = value_;
|
|
7153
|
+
{
|
|
7154
|
+
const v_ = value_a;
|
|
7155
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
|
|
7156
|
+
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
7157
|
+
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
7158
|
+
serialization_.offset_ += 1;
|
|
7159
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_);
|
|
7160
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).serializeUsing_(serialization_, v_.imports_);
|
|
7161
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).serializeUsing_(serialization_, v_.types_);
|
|
7162
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).serializeUsing_(serialization_, v_.traits_);
|
|
7163
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).serializeUsing_(serialization_, v_.instances_);
|
|
7164
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).serializeUsing_(serialization_, v_.extends_);
|
|
7165
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).serializeUsing_(serialization_, v_.lets_);
|
|
7166
|
+
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).serializeUsing_(serialization_, v_.functions_)
|
|
7167
|
+
return
|
|
7168
|
+
}
|
|
7169
|
+
},
|
|
7170
|
+
async deserializeUsing_$(serialization_, $task) {
|
|
7171
|
+
const variantIndex_ = ff_core_Buffer.Buffer_grabUint8(serialization_.buffer_, serialization_.offset_);
|
|
7172
|
+
serialization_.offset_ += 1;
|
|
7173
|
+
{
|
|
7174
|
+
const _1 = variantIndex_;
|
|
7175
|
+
if(_1 === 0) {
|
|
7176
|
+
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 25), 0);
|
|
7177
|
+
return ff_compiler_Syntax.Module(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DImport).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DType).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DTrait).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DInstance).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DExtend).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DLet).deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_DFunction).deserializeUsing_(serialization_))
|
|
6960
7178
|
}
|
|
6961
7179
|
{
|
|
6962
7180
|
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)})
|
|
@@ -7223,9 +7441,7 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0
|
|
|
7223
7441
|
serialization_.offset_ += 1;
|
|
7224
7442
|
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.serializeUsing_(serialization_, v_.at_);
|
|
7225
7443
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.alias_);
|
|
7226
|
-
ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
7227
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).serializeUsing_(serialization_, v_.directory_);
|
|
7228
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.file_)
|
|
7444
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_)
|
|
7229
7445
|
return
|
|
7230
7446
|
}
|
|
7231
7447
|
},
|
|
@@ -7236,7 +7452,7 @@ serialization_.offset_ += 1;
|
|
|
7236
7452
|
const _1 = variantIndex_;
|
|
7237
7453
|
if(_1 === 0) {
|
|
7238
7454
|
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
|
|
7239
|
-
return ff_compiler_Syntax.DImport(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
7455
|
+
return ff_compiler_Syntax.DImport(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_))
|
|
7240
7456
|
}
|
|
7241
7457
|
{
|
|
7242
7458
|
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)})
|
|
@@ -7254,9 +7470,7 @@ ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0
|
|
|
7254
7470
|
serialization_.offset_ += 1;
|
|
7255
7471
|
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.serializeUsing_(serialization_, v_.at_);
|
|
7256
7472
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.alias_);
|
|
7257
|
-
ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
7258
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String).serializeUsing_(serialization_, v_.directory_);
|
|
7259
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.file_)
|
|
7473
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_)
|
|
7260
7474
|
return
|
|
7261
7475
|
}
|
|
7262
7476
|
},
|
|
@@ -7267,7 +7481,7 @@ serialization_.offset_ += 1;
|
|
|
7267
7481
|
const _1 = variantIndex_;
|
|
7268
7482
|
if(_1 === 0) {
|
|
7269
7483
|
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 26), 0);
|
|
7270
|
-
return ff_compiler_Syntax.DImport(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
7484
|
+
return ff_compiler_Syntax.DImport(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Location.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_))
|
|
7271
7485
|
}
|
|
7272
7486
|
{
|
|
7273
7487
|
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)})
|
|
@@ -8779,8 +8993,7 @@ serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_
|
|
|
8779
8993
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
8780
8994
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
8781
8995
|
serialization_.offset_ += 1;
|
|
8782
|
-
ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
8783
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.moduleName_);
|
|
8996
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_);
|
|
8784
8997
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.traitName_);
|
|
8785
8998
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.typeName_);
|
|
8786
8999
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Dictionary).serializeUsing_(serialization_, v_.dictionaries_)
|
|
@@ -8794,7 +9007,7 @@ serialization_.offset_ += 1;
|
|
|
8794
9007
|
const _1 = variantIndex_;
|
|
8795
9008
|
if(_1 === 0) {
|
|
8796
9009
|
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
|
|
8797
|
-
return ff_compiler_Syntax.Dictionary(ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
9010
|
+
return ff_compiler_Syntax.Dictionary(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Dictionary).deserializeUsing_(serialization_))
|
|
8798
9011
|
}
|
|
8799
9012
|
{
|
|
8800
9013
|
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)})
|
|
@@ -8810,8 +9023,7 @@ serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_
|
|
|
8810
9023
|
ff_core_Serializable.Serialization_autoResize(serialization_, 1);
|
|
8811
9024
|
ff_core_Buffer.Buffer_setUint8(serialization_.buffer_, serialization_.offset_, 0);
|
|
8812
9025
|
serialization_.offset_ += 1;
|
|
8813
|
-
ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
8814
|
-
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.moduleName_);
|
|
9026
|
+
ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.serializeUsing_(serialization_, v_.moduleKey_);
|
|
8815
9027
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.traitName_);
|
|
8816
9028
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.serializeUsing_(serialization_, v_.typeName_);
|
|
8817
9029
|
ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Dictionary).serializeUsing_(serialization_, v_.dictionaries_)
|
|
@@ -8825,7 +9037,7 @@ serialization_.offset_ += 1;
|
|
|
8825
9037
|
const _1 = variantIndex_;
|
|
8826
9038
|
if(_1 === 0) {
|
|
8827
9039
|
serialization_.checksum_ = ff_core_Int.Int_bitOr(((31 * serialization_.checksum_) + 29), 0);
|
|
8828
|
-
return ff_compiler_Syntax.Dictionary(ff_compiler_Syntax.ff_core_Serializable_Serializable$
|
|
9040
|
+
return ff_compiler_Syntax.Dictionary(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_ModuleKey.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_String_String.deserializeUsing_(serialization_), ff_core_Serializable.ff_core_Serializable_Serializable$ff_core_List_List(ff_compiler_Syntax.ff_core_Serializable_Serializable$ff_compiler_Syntax_Dictionary).deserializeUsing_(serialization_))
|
|
8829
9041
|
}
|
|
8830
9042
|
{
|
|
8831
9043
|
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)})
|