firefly-compiler 0.4.4
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/.firefly-workspace +1 -0
- package/.vscode/settings.json +5 -0
- package/LICENSE.txt +21 -0
- package/README.md +96 -0
- package/bin/firefly.mjs +2 -0
- package/compiler/.firefly/package.ff +1 -0
- package/compiler/Builder.ff +218 -0
- package/compiler/Compiler.ff +241 -0
- package/compiler/Dependencies.ff +179 -0
- package/compiler/Deriver.ff +647 -0
- package/compiler/Dictionaries.ff +205 -0
- package/compiler/Environment.ff +166 -0
- package/compiler/Inference.ff +1117 -0
- package/compiler/JsEmitter.ff +861 -0
- package/compiler/JsImporter.ff +56 -0
- package/compiler/LspHook.ff +188 -0
- package/compiler/Main.ff +237 -0
- package/compiler/Parser.ff +1383 -0
- package/compiler/Patterns.ff +111 -0
- package/compiler/Resolver.ff +620 -0
- package/compiler/Substitution.ff +178 -0
- package/compiler/Syntax.ff +299 -0
- package/compiler/Token.ff +180 -0
- package/compiler/Tokenizer.ff +278 -0
- package/compiler/Unification.ff +220 -0
- package/compiler/Wildcards.ff +50 -0
- package/compiler/Workspace.ff +88 -0
- package/core/.firefly/package.ff +2 -0
- package/core/Any.ff +30 -0
- package/core/Array.ff +249 -0
- package/core/AssetSystem.ff +61 -0
- package/core/Atomic.ff +64 -0
- package/core/Bool.ff +13 -0
- package/core/BrowserSystem.ff +14 -0
- package/core/Buffer.ff +211 -0
- package/core/BuildSystem.ff +144 -0
- package/core/Channel.ff +131 -0
- package/core/Char.ff +18 -0
- package/core/Core.ff +58 -0
- package/core/Duration.ff +15 -0
- package/core/Equal.ff +52 -0
- package/core/Error.ff +20 -0
- package/core/FileHandle.ff +41 -0
- package/core/Float.ff +41 -0
- package/core/HttpClient.ff +84 -0
- package/core/Instant.ff +9 -0
- package/core/Int.ff +61 -0
- package/core/IntMap.ff +85 -0
- package/core/JsSystem.ff +66 -0
- package/core/JsValue.ff +240 -0
- package/core/List.ff +440 -0
- package/core/Lock.ff +144 -0
- package/core/Log.ff +24 -0
- package/core/Map.ff +126 -0
- package/core/NodeSystem.ff +88 -0
- package/core/Nothing.ff +1 -0
- package/core/Option.ff +133 -0
- package/core/Ordering.ff +157 -0
- package/core/Pair.ff +55 -0
- package/core/Path.ff +393 -0
- package/core/RbMap.ff +216 -0
- package/core/Serializable.ff +173 -0
- package/core/Set.ff +38 -0
- package/core/Show.ff +43 -0
- package/core/Stack.ff +263 -0
- package/core/Stream.ff +406 -0
- package/core/String.ff +175 -0
- package/core/StringMap.ff +85 -0
- package/core/Task.ff +138 -0
- package/core/Try.ff +81 -0
- package/core/Unit.ff +3 -0
- package/experimental/random/AltGeneric.ff +44 -0
- package/experimental/random/Async.ff +68 -0
- package/experimental/random/Buffer2.ff +77 -0
- package/experimental/random/Cat.ff +12 -0
- package/experimental/random/Dictionary.ff +52 -0
- package/experimental/random/Example.ff +46 -0
- package/experimental/random/Generic.ff +102 -0
- package/experimental/random/HappyEyeballs.ff +40 -0
- package/experimental/random/HashMap.ff +72 -0
- package/experimental/random/IfElseUnit.ff +9 -0
- package/experimental/random/InputOutput.ff +23 -0
- package/experimental/random/ListVsArray.ff +45 -0
- package/experimental/random/Main.ff +44 -0
- package/experimental/random/MapTest.ff +67 -0
- package/experimental/random/OldTaskSystem.ff +210 -0
- package/experimental/random/PatternTest.ff +39 -0
- package/experimental/random/Patterns.ff +226 -0
- package/experimental/random/ReadBytesTest.ff +10 -0
- package/experimental/random/RunLength.ff +65 -0
- package/experimental/random/Scrape.ff +51 -0
- package/experimental/random/Serialization.ff +217 -0
- package/experimental/random/SerializationTest.ff +46 -0
- package/experimental/random/Serializer.ff +36 -0
- package/experimental/random/StdInOutErr.ff +4 -0
- package/experimental/random/Symbols.ff +74 -0
- package/experimental/random/Tag.ff +49 -0
- package/experimental/random/Tensor.ff +52 -0
- package/experimental/random/Try.ff +56 -0
- package/experimental/random/Tsv.ff +9 -0
- package/experimental/random/TypesAreModules.ff +87 -0
- package/experimental/random/blueprints/Blueprint.ff +52 -0
- package/experimental/random/blueprints/Main.ff +11 -0
- package/experimental/random/blueprints/Pretty.ff +58 -0
- package/experimental/random/blueprints/User.ff +64 -0
- package/experimental/random/blueprintsystem/BlueprintSystem.ff +48 -0
- package/experimental/random/blueprintsystem/Deserialize.ff +53 -0
- package/experimental/random/blueprintsystem/ReadJs.ff +13 -0
- package/experimental/random/blueprintsystem/User.ff +2 -0
- package/experimental/random/kahrs/Kahrs.ff +112 -0
- package/experimental/random/kahrs/TestKahrs.ff +22 -0
- package/experimental/random/kahrs/TestMap.ff +18 -0
- package/experimental/random/streaming/Gzip.ff +3 -0
- package/experimental/random/streaming/Main.ff +34 -0
- package/experimental/random/streaming/S3Bucket.ff +11 -0
- package/experimental/random/streaming/Tar.ff +5 -0
- package/experimental/rhymeapp/Main.ff +81 -0
- package/experimental/rhymeapp/index.html +14 -0
- package/firefly.sh +5 -0
- package/fireflysite/Main.ff +13 -0
- package/httpserver/.firefly/package.ff +1 -0
- package/httpserver/HttpServer.ff +184 -0
- package/lsp/.firefly/package.ff +1 -0
- package/lsp/CompletionHandler.ff +814 -0
- package/lsp/Handler.ff +551 -0
- package/lsp/HoverHandler.ff +82 -0
- package/lsp/LanguageServer.ff +229 -0
- package/lsp/SignatureHelpHandler.ff +55 -0
- package/lsp/SymbolHandler.ff +167 -0
- package/output/js/ff/compiler/Builder.mjs +483 -0
- package/output/js/ff/compiler/Compiler.mjs +410 -0
- package/output/js/ff/compiler/Dependencies.mjs +388 -0
- package/output/js/ff/compiler/Deriver.mjs +1166 -0
- package/output/js/ff/compiler/Dictionaries.mjs +1305 -0
- package/output/js/ff/compiler/Environment.mjs +1005 -0
- package/output/js/ff/compiler/Inference.mjs +4264 -0
- package/output/js/ff/compiler/JsEmitter.mjs +5353 -0
- package/output/js/ff/compiler/JsImporter.mjs +262 -0
- package/output/js/ff/compiler/LspHook.mjs +789 -0
- package/output/js/ff/compiler/Main.mjs +1695 -0
- package/output/js/ff/compiler/Parser.mjs +4004 -0
- package/output/js/ff/compiler/Patterns.mjs +923 -0
- package/output/js/ff/compiler/Resolver.mjs +2303 -0
- package/output/js/ff/compiler/Substitution.mjs +1146 -0
- package/output/js/ff/compiler/Syntax.mjs +12430 -0
- package/output/js/ff/compiler/Token.mjs +3092 -0
- package/output/js/ff/compiler/Tokenizer.mjs +589 -0
- package/output/js/ff/compiler/Unification.mjs +1748 -0
- package/output/js/ff/compiler/Wildcards.mjs +604 -0
- package/output/js/ff/compiler/Workspace.mjs +683 -0
- package/output/js/ff/core/Any.mjs +139 -0
- package/output/js/ff/core/Array.mjs +594 -0
- package/output/js/ff/core/AssetSystem.mjs +270 -0
- package/output/js/ff/core/Atomic.mjs +186 -0
- package/output/js/ff/core/Bool.mjs +141 -0
- package/output/js/ff/core/BrowserSystem.mjs +122 -0
- package/output/js/ff/core/Buffer.mjs +467 -0
- package/output/js/ff/core/BuildSystem.mjs +320 -0
- package/output/js/ff/core/Channel.mjs +268 -0
- package/output/js/ff/core/Char.mjs +145 -0
- package/output/js/ff/core/Core.mjs +300 -0
- package/output/js/ff/core/Duration.mjs +112 -0
- package/output/js/ff/core/Equal.mjs +175 -0
- package/output/js/ff/core/Error.mjs +138 -0
- package/output/js/ff/core/FileHandle.mjs +164 -0
- package/output/js/ff/core/Float.mjs +214 -0
- package/output/js/ff/core/HttpClient.mjs +210 -0
- package/output/js/ff/core/Instant.mjs +105 -0
- package/output/js/ff/core/Int.mjs +254 -0
- package/output/js/ff/core/IntMap.mjs +282 -0
- package/output/js/ff/core/JsSystem.mjs +234 -0
- package/output/js/ff/core/JsValue.mjs +678 -0
- package/output/js/ff/core/List.mjs +2335 -0
- package/output/js/ff/core/Lock.mjs +322 -0
- package/output/js/ff/core/Log.mjs +159 -0
- package/output/js/ff/core/Map.mjs +358 -0
- package/output/js/ff/core/NodeSystem.mjs +288 -0
- package/output/js/ff/core/Nothing.mjs +100 -0
- package/output/js/ff/core/Option.mjs +1002 -0
- package/output/js/ff/core/Ordering.mjs +734 -0
- package/output/js/ff/core/Pair.mjs +318 -0
- package/output/js/ff/core/Path.mjs +768 -0
- package/output/js/ff/core/RbMap.mjs +1936 -0
- package/output/js/ff/core/Serializable.mjs +434 -0
- package/output/js/ff/core/Set.mjs +250 -0
- package/output/js/ff/core/Show.mjs +201 -0
- package/output/js/ff/core/Stack.mjs +595 -0
- package/output/js/ff/core/Stream.mjs +1300 -0
- package/output/js/ff/core/String.mjs +433 -0
- package/output/js/ff/core/StringMap.mjs +282 -0
- package/output/js/ff/core/Task.mjs +345 -0
- package/output/js/ff/core/Try.mjs +503 -0
- package/output/js/ff/core/Unit.mjs +103 -0
- package/package.json +29 -0
- package/postgresql/.firefly/include/package-lock.json +250 -0
- package/postgresql/.firefly/include/package.json +5 -0
- package/postgresql/.firefly/include/prepare.sh +2 -0
- package/postgresql/.firefly/package.ff +3 -0
- package/postgresql/Pg.ff +530 -0
- package/unsafejs/.firefly/package.ff +1 -0
- package/unsafejs/UnsafeJs.ff +19 -0
- package/vscode/.vscode/launch.json +18 -0
- package/vscode/.vscode/tasks.json +33 -0
- package/vscode/LICENSE.txt +21 -0
- package/vscode/Prepublish.ff +15 -0
- package/vscode/README.md +17 -0
- package/vscode/client/package-lock.json +544 -0
- package/vscode/client/package.json +22 -0
- package/vscode/client/src/extension.ts +64 -0
- package/vscode/client/tsconfig.json +12 -0
- package/vscode/icons/firefly-icon.png +0 -0
- package/vscode/icons/firefly-icon.svg +10 -0
- package/vscode/icons/firefly-logo-notext.png +0 -0
- package/vscode/icons/firefly-logo.png +0 -0
- package/vscode/language-configuration.json +39 -0
- package/vscode/package-lock.json +3623 -0
- package/vscode/package.json +144 -0
- package/vscode/snippets-none.json +1 -0
- package/vscode/snippets.json +241 -0
- package/vscode/syntaxes/firefly.tmLanguage.json +294 -0
- package/vscode/tsconfig.json +20 -0
|
@@ -0,0 +1,678 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as ff_core_Any from "../../ff/core/Any.mjs"
|
|
4
|
+
|
|
5
|
+
import * as ff_core_Array from "../../ff/core/Array.mjs"
|
|
6
|
+
|
|
7
|
+
import * as ff_core_AssetSystem from "../../ff/core/AssetSystem.mjs"
|
|
8
|
+
|
|
9
|
+
import * as ff_core_Atomic from "../../ff/core/Atomic.mjs"
|
|
10
|
+
|
|
11
|
+
import * as ff_core_Bool from "../../ff/core/Bool.mjs"
|
|
12
|
+
|
|
13
|
+
import * as ff_core_BrowserSystem from "../../ff/core/BrowserSystem.mjs"
|
|
14
|
+
|
|
15
|
+
import * as ff_core_Buffer from "../../ff/core/Buffer.mjs"
|
|
16
|
+
|
|
17
|
+
import * as ff_core_BuildSystem from "../../ff/core/BuildSystem.mjs"
|
|
18
|
+
|
|
19
|
+
import * as ff_core_Channel from "../../ff/core/Channel.mjs"
|
|
20
|
+
|
|
21
|
+
import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
22
|
+
|
|
23
|
+
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
|
+
|
|
25
|
+
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
26
|
+
|
|
27
|
+
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
28
|
+
|
|
29
|
+
import * as ff_core_Error from "../../ff/core/Error.mjs"
|
|
30
|
+
|
|
31
|
+
import * as ff_core_FileHandle from "../../ff/core/FileHandle.mjs"
|
|
32
|
+
|
|
33
|
+
import * as ff_core_Float from "../../ff/core/Float.mjs"
|
|
34
|
+
|
|
35
|
+
import * as ff_core_HttpClient from "../../ff/core/HttpClient.mjs"
|
|
36
|
+
|
|
37
|
+
import * as ff_core_Instant from "../../ff/core/Instant.mjs"
|
|
38
|
+
|
|
39
|
+
import * as ff_core_Int from "../../ff/core/Int.mjs"
|
|
40
|
+
|
|
41
|
+
import * as ff_core_IntMap from "../../ff/core/IntMap.mjs"
|
|
42
|
+
|
|
43
|
+
import * as ff_core_JsSystem from "../../ff/core/JsSystem.mjs"
|
|
44
|
+
|
|
45
|
+
import * as ff_core_JsValue from "../../ff/core/JsValue.mjs"
|
|
46
|
+
|
|
47
|
+
import * as ff_core_List from "../../ff/core/List.mjs"
|
|
48
|
+
|
|
49
|
+
import * as ff_core_Lock from "../../ff/core/Lock.mjs"
|
|
50
|
+
|
|
51
|
+
import * as ff_core_Log from "../../ff/core/Log.mjs"
|
|
52
|
+
|
|
53
|
+
import * as ff_core_Map from "../../ff/core/Map.mjs"
|
|
54
|
+
|
|
55
|
+
import * as ff_core_NodeSystem from "../../ff/core/NodeSystem.mjs"
|
|
56
|
+
|
|
57
|
+
import * as ff_core_Nothing from "../../ff/core/Nothing.mjs"
|
|
58
|
+
|
|
59
|
+
import * as ff_core_Option from "../../ff/core/Option.mjs"
|
|
60
|
+
|
|
61
|
+
import * as ff_core_Ordering from "../../ff/core/Ordering.mjs"
|
|
62
|
+
|
|
63
|
+
import * as ff_core_Pair from "../../ff/core/Pair.mjs"
|
|
64
|
+
|
|
65
|
+
import * as ff_core_Path from "../../ff/core/Path.mjs"
|
|
66
|
+
|
|
67
|
+
import * as ff_core_Serializable from "../../ff/core/Serializable.mjs"
|
|
68
|
+
|
|
69
|
+
import * as ff_core_Set from "../../ff/core/Set.mjs"
|
|
70
|
+
|
|
71
|
+
import * as ff_core_Show from "../../ff/core/Show.mjs"
|
|
72
|
+
|
|
73
|
+
import * as ff_core_Stack from "../../ff/core/Stack.mjs"
|
|
74
|
+
|
|
75
|
+
import * as ff_core_Stream from "../../ff/core/Stream.mjs"
|
|
76
|
+
|
|
77
|
+
import * as ff_core_String from "../../ff/core/String.mjs"
|
|
78
|
+
|
|
79
|
+
import * as ff_core_StringMap from "../../ff/core/StringMap.mjs"
|
|
80
|
+
|
|
81
|
+
import * as ff_core_Task from "../../ff/core/Task.mjs"
|
|
82
|
+
|
|
83
|
+
import * as ff_core_Try from "../../ff/core/Try.mjs"
|
|
84
|
+
|
|
85
|
+
import * as ff_core_Unit from "../../ff/core/Unit.mjs"
|
|
86
|
+
|
|
87
|
+
// type JsValue
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export function JsValue_grabString(self_) {
|
|
97
|
+
return self_
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function JsValue_grabChar(self_) {
|
|
101
|
+
return self_
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function JsValue_grabInt(self_) {
|
|
105
|
+
return self_
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function JsValue_grabFloat(self_) {
|
|
109
|
+
return self_
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function JsValue_grabBool(self_) {
|
|
113
|
+
return self_
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function JsValue_grabArray(self_) {
|
|
117
|
+
return self_
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function JsValue_grabBuffer(self_) {
|
|
121
|
+
|
|
122
|
+
if(!(self_ instanceof DataView)) throw new Error('Expected buffer, got '+ typeof self_);
|
|
123
|
+
return self_
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function JsValue_isString(self_) {
|
|
128
|
+
return typeof self_ === 'string'
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function JsValue_isChar(self_) {
|
|
132
|
+
|
|
133
|
+
return Number.isInteger(self_) && Math.abs(self_) <= Number.MAX_SAFE_INTEGER
|
|
134
|
+
&& self_ >= 0 && self_ < 1114112
|
|
135
|
+
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function JsValue_isInt(self_) {
|
|
139
|
+
return Number.isInteger(self_) && Math.abs(self_) <= Number.MAX_SAFE_INTEGER
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function JsValue_isFloat(self_) {
|
|
143
|
+
return typeof self_ === 'number'
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function JsValue_isBool(self_) {
|
|
147
|
+
return typeof self_ === 'boolean'
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function JsValue_isArray(self_) {
|
|
151
|
+
return Array.isArray(self_)
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function JsValue_isObject(self_) {
|
|
155
|
+
return self_ != null && typeof self_ === 'object'
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function JsValue_isFunction(self_) {
|
|
159
|
+
return typeof self_ === 'function'
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function JsValue_isNull(self_) {
|
|
163
|
+
return self_ === null
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function JsValue_isUndefined(self_) {
|
|
167
|
+
return typeof self_ === 'undefined'
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function JsValue_isNullOrUndefined(self_) {
|
|
171
|
+
return self_ == null
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function JsValue_isNan(self_) {
|
|
175
|
+
return typeof self_ === 'number' && self_ !== self_
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function JsValue_isFinite(self_) {
|
|
179
|
+
return typeof self_ === 'number' && isFinite(self_)
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function JsValue_get(self_, key_, ff_core_JsValue_IsJsValue$K) {
|
|
183
|
+
return self_[key_]
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export function JsValue_getOwn(self_, key_) {
|
|
187
|
+
if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
|
|
188
|
+
return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
|
|
189
|
+
} else {
|
|
190
|
+
return ff_core_Option.None()
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function JsValue_set(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
|
|
195
|
+
self_[key_] = value_
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export function JsValue_with(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V) {
|
|
199
|
+
return {...self_, [key_]: value_}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export function JsValue_hasOwn(self_, name_) {
|
|
203
|
+
return Object.prototype.hasOwnProperty.call(self_, name_)
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function JsValue_assign(self_, source_, source2_ = source_) {
|
|
207
|
+
return Object.assign(self_, source_, source2_ !== source_ ? source2_ : null)
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export function JsValue_each(self_, body_) {
|
|
211
|
+
for(const value of self_) body_(value)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export function JsValue_eachWhile(self_, body_) {
|
|
215
|
+
for(const value of self_) if(!body_(value)) break
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export function JsValue_call(self_, name_, arguments_) {
|
|
219
|
+
return self_[name_].apply(this_, ff_core_List.List_toArray(arguments_))
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export function JsValue_call0(self_, name_) {
|
|
223
|
+
return self_[name_].call(self_)
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export function JsValue_call1(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1) {
|
|
227
|
+
return self_[name_].call(self_, a1_)
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export function JsValue_call2(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
|
|
231
|
+
return self_[name_].call(self_, a1_, a2_)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export function JsValue_call3(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
|
|
235
|
+
return self_[name_].call(self_, a1_, a2_, a3_)
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export function JsValue_call4(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
|
|
239
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_)
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export function JsValue_call5(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
|
|
243
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_)
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export function JsValue_call6(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
|
|
247
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export function JsValue_call7(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
|
|
251
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export function JsValue_call8(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
|
|
255
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export function JsValue_call9(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
|
|
259
|
+
return self_[name_].call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export function JsValue_callValue(self_, this_, arguments_) {
|
|
263
|
+
return self_.apply(this_, ff_core_List.List_toArray(arguments_))
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function JsValue_callValue0(self_) {
|
|
267
|
+
return self_.call(self_)
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function JsValue_callValue1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
|
|
271
|
+
return self_.call(self_, a1_)
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export function JsValue_callValue2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
|
|
275
|
+
return self_.call(self_, a1_, a2_)
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export function JsValue_callValue3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
|
|
279
|
+
return self_.call(self_, a1_, a2_, a3_)
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export function JsValue_callValue4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
|
|
283
|
+
return self_.call(self_, a1_, a2_, a3_, a4_)
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export function JsValue_callValue5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
|
|
287
|
+
return self_.call(self_, a1_, a2_, a3_, a4_, a5_)
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export function JsValue_callValue6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
|
|
291
|
+
return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_)
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export function JsValue_callValue7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
|
|
295
|
+
return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_)
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export function JsValue_callValue8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
|
|
299
|
+
return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export function JsValue_callValue9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
|
|
303
|
+
return self_.call(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export function JsValue_new(self_, this_, arguments_) {
|
|
307
|
+
return new (Function.prototype.bind.apply(self_, ff_core_List.List_toArray(arguments_)))
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export function JsValue_new0(self_) {
|
|
311
|
+
return new self_()
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export function JsValue_new1(self_, a1_, ff_core_JsValue_IsJsValue$A1) {
|
|
315
|
+
return new self_(a1_)
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export function JsValue_new2(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
|
|
319
|
+
return new self_(a1_, a2_)
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export function JsValue_new3(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
|
|
323
|
+
return new self_(a1_, a2_, a3_)
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export function JsValue_new4(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
|
|
327
|
+
return new self_(a1_, a2_, a3_, a4_)
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export function JsValue_new5(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
|
|
331
|
+
return new self_(a1_, a2_, a3_, a4_, a5_)
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export function JsValue_new6(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
|
|
335
|
+
return new self_(a1_, a2_, a3_, a4_, a5_, a6_)
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export function JsValue_new7(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
|
|
339
|
+
return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_)
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export function JsValue_new8(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
|
|
343
|
+
return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_)
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export function JsValue_new9(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
|
|
347
|
+
return new self_(a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_)
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export function JsValue_toJson(self_, space_ = ff_core_Option.None()) {
|
|
351
|
+
return JSON.stringify(self_, null, space_.value_)
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export function JsValue_grabPairs(self_) {
|
|
355
|
+
|
|
356
|
+
if(!(self_ instanceof Object)) throw new Error('Expected object, got '+ typeof self_);;
|
|
357
|
+
let result = ff_core_List.Empty();
|
|
358
|
+
Object.getOwnPropertyNames(self_).forEach((name, i) => {
|
|
359
|
+
let pair = ff_core_Pair.Pair(name, self_[name]);
|
|
360
|
+
result = ff_core_List.Link(pair, result);
|
|
361
|
+
})
|
|
362
|
+
return result;
|
|
363
|
+
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export function JsValue_grabMap(self_) {
|
|
367
|
+
return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export async function JsValue_grabString$(self_, $task) {
|
|
371
|
+
throw new Error('Function JsValue_grabString is missing on this target in async context.');
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export async function JsValue_grabChar$(self_, $task) {
|
|
375
|
+
throw new Error('Function JsValue_grabChar is missing on this target in async context.');
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export async function JsValue_grabInt$(self_, $task) {
|
|
379
|
+
throw new Error('Function JsValue_grabInt is missing on this target in async context.');
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export async function JsValue_grabFloat$(self_, $task) {
|
|
383
|
+
throw new Error('Function JsValue_grabFloat is missing on this target in async context.');
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export async function JsValue_grabBool$(self_, $task) {
|
|
387
|
+
throw new Error('Function JsValue_grabBool is missing on this target in async context.');
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export async function JsValue_grabArray$(self_, $task) {
|
|
391
|
+
throw new Error('Function JsValue_grabArray is missing on this target in async context.');
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export async function JsValue_grabBuffer$(self_, $task) {
|
|
395
|
+
throw new Error('Function JsValue_grabBuffer is missing on this target in async context.');
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export async function JsValue_isString$(self_, $task) {
|
|
399
|
+
throw new Error('Function JsValue_isString is missing on this target in async context.');
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export async function JsValue_isChar$(self_, $task) {
|
|
403
|
+
throw new Error('Function JsValue_isChar is missing on this target in async context.');
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export async function JsValue_isInt$(self_, $task) {
|
|
407
|
+
throw new Error('Function JsValue_isInt is missing on this target in async context.');
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export async function JsValue_isFloat$(self_, $task) {
|
|
411
|
+
throw new Error('Function JsValue_isFloat is missing on this target in async context.');
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export async function JsValue_isBool$(self_, $task) {
|
|
415
|
+
throw new Error('Function JsValue_isBool is missing on this target in async context.');
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export async function JsValue_isArray$(self_, $task) {
|
|
419
|
+
throw new Error('Function JsValue_isArray is missing on this target in async context.');
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export async function JsValue_isObject$(self_, $task) {
|
|
423
|
+
throw new Error('Function JsValue_isObject is missing on this target in async context.');
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export async function JsValue_isFunction$(self_, $task) {
|
|
427
|
+
throw new Error('Function JsValue_isFunction is missing on this target in async context.');
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export async function JsValue_isNull$(self_, $task) {
|
|
431
|
+
throw new Error('Function JsValue_isNull is missing on this target in async context.');
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export async function JsValue_isUndefined$(self_, $task) {
|
|
435
|
+
throw new Error('Function JsValue_isUndefined is missing on this target in async context.');
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export async function JsValue_isNullOrUndefined$(self_, $task) {
|
|
439
|
+
throw new Error('Function JsValue_isNullOrUndefined is missing on this target in async context.');
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export async function JsValue_isNan$(self_, $task) {
|
|
443
|
+
throw new Error('Function JsValue_isNan is missing on this target in async context.');
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export async function JsValue_isFinite$(self_, $task) {
|
|
447
|
+
throw new Error('Function JsValue_isFinite is missing on this target in async context.');
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export async function JsValue_get$(self_, key_, ff_core_JsValue_IsJsValue$K, $task) {
|
|
451
|
+
throw new Error('Function JsValue_get is missing on this target in async context.');
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export async function JsValue_getOwn$(self_, key_, $task) {
|
|
455
|
+
if(ff_core_JsValue.JsValue_hasOwn(self_, key_)) {
|
|
456
|
+
return ff_core_Option.Some(ff_core_JsValue.JsValue_get(self_, key_, ff_core_JsValue.ff_core_JsValue_IsJsValue$ff_core_String_String))
|
|
457
|
+
} else {
|
|
458
|
+
return ff_core_Option.None()
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export async function JsValue_set$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
|
|
463
|
+
throw new Error('Function JsValue_set is missing on this target in async context.');
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export async function JsValue_with$(self_, key_, value_, ff_core_JsValue_IsJsValue$K, ff_core_JsValue_IsJsValue$V, $task) {
|
|
467
|
+
throw new Error('Function JsValue_with is missing on this target in async context.');
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export async function JsValue_hasOwn$(self_, name_, $task) {
|
|
471
|
+
throw new Error('Function JsValue_hasOwn is missing on this target in async context.');
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export async function JsValue_assign$(self_, source_, source2_ = source_, $task) {
|
|
475
|
+
throw new Error('Function JsValue_assign is missing on this target in async context.');
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export async function JsValue_each$(self_, body_, $task) {
|
|
479
|
+
for(const value of self_) await body_(value, $task)
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export async function JsValue_eachWhile$(self_, body_, $task) {
|
|
483
|
+
for(const value of self_) if(!await body_(value, $task)) break
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export async function JsValue_call$(self_, name_, arguments_, $task) {
|
|
487
|
+
throw new Error('Function JsValue_call is missing on this target in async context.');
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export async function JsValue_call0$(self_, name_, $task) {
|
|
491
|
+
throw new Error('Function JsValue_call0 is missing on this target in async context.');
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export async function JsValue_call1$(self_, name_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
|
|
495
|
+
throw new Error('Function JsValue_call1 is missing on this target in async context.');
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export async function JsValue_call2$(self_, name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
|
|
499
|
+
throw new Error('Function JsValue_call2 is missing on this target in async context.');
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export async function JsValue_call3$(self_, name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
|
|
503
|
+
throw new Error('Function JsValue_call3 is missing on this target in async context.');
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export async function JsValue_call4$(self_, name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
|
|
507
|
+
throw new Error('Function JsValue_call4 is missing on this target in async context.');
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export async function JsValue_call5$(self_, name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
|
|
511
|
+
throw new Error('Function JsValue_call5 is missing on this target in async context.');
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export async function JsValue_call6$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
|
|
515
|
+
throw new Error('Function JsValue_call6 is missing on this target in async context.');
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export async function JsValue_call7$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
|
|
519
|
+
throw new Error('Function JsValue_call7 is missing on this target in async context.');
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export async function JsValue_call8$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
|
|
523
|
+
throw new Error('Function JsValue_call8 is missing on this target in async context.');
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export async function JsValue_call9$(self_, name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
|
|
527
|
+
throw new Error('Function JsValue_call9 is missing on this target in async context.');
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export async function JsValue_callValue$(self_, this_, arguments_, $task) {
|
|
531
|
+
throw new Error('Function JsValue_callValue is missing on this target in async context.');
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export async function JsValue_callValue0$(self_, $task) {
|
|
535
|
+
throw new Error('Function JsValue_callValue0 is missing on this target in async context.');
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export async function JsValue_callValue1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
|
|
539
|
+
throw new Error('Function JsValue_callValue1 is missing on this target in async context.');
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export async function JsValue_callValue2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
|
|
543
|
+
throw new Error('Function JsValue_callValue2 is missing on this target in async context.');
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export async function JsValue_callValue3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
|
|
547
|
+
throw new Error('Function JsValue_callValue3 is missing on this target in async context.');
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export async function JsValue_callValue4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
|
|
551
|
+
throw new Error('Function JsValue_callValue4 is missing on this target in async context.');
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export async function JsValue_callValue5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
|
|
555
|
+
throw new Error('Function JsValue_callValue5 is missing on this target in async context.');
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export async function JsValue_callValue6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
|
|
559
|
+
throw new Error('Function JsValue_callValue6 is missing on this target in async context.');
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export async function JsValue_callValue7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
|
|
563
|
+
throw new Error('Function JsValue_callValue7 is missing on this target in async context.');
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export async function JsValue_callValue8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
|
|
567
|
+
throw new Error('Function JsValue_callValue8 is missing on this target in async context.');
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export async function JsValue_callValue9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
|
|
571
|
+
throw new Error('Function JsValue_callValue9 is missing on this target in async context.');
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export async function JsValue_new$(self_, this_, arguments_, $task) {
|
|
575
|
+
throw new Error('Function JsValue_new is missing on this target in async context.');
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export async function JsValue_new0$(self_, $task) {
|
|
579
|
+
throw new Error('Function JsValue_new0 is missing on this target in async context.');
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export async function JsValue_new1$(self_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
|
|
583
|
+
throw new Error('Function JsValue_new1 is missing on this target in async context.');
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export async function JsValue_new2$(self_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
|
|
587
|
+
throw new Error('Function JsValue_new2 is missing on this target in async context.');
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export async function JsValue_new3$(self_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
|
|
591
|
+
throw new Error('Function JsValue_new3 is missing on this target in async context.');
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export async function JsValue_new4$(self_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
|
|
595
|
+
throw new Error('Function JsValue_new4 is missing on this target in async context.');
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export async function JsValue_new5$(self_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
|
|
599
|
+
throw new Error('Function JsValue_new5 is missing on this target in async context.');
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export async function JsValue_new6$(self_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
|
|
603
|
+
throw new Error('Function JsValue_new6 is missing on this target in async context.');
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export async function JsValue_new7$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
|
|
607
|
+
throw new Error('Function JsValue_new7 is missing on this target in async context.');
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export async function JsValue_new8$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
|
|
611
|
+
throw new Error('Function JsValue_new8 is missing on this target in async context.');
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export async function JsValue_new9$(self_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
|
|
615
|
+
throw new Error('Function JsValue_new9 is missing on this target in async context.');
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export async function JsValue_toJson$(self_, space_ = ff_core_Option.None(), $task) {
|
|
619
|
+
throw new Error('Function JsValue_toJson is missing on this target in async context.');
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export async function JsValue_grabPairs$(self_, $task) {
|
|
623
|
+
throw new Error('Function JsValue_grabPairs is missing on this target in async context.');
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export async function JsValue_grabMap$(self_, $task) {
|
|
627
|
+
return ff_core_List.List_toMap(ff_core_JsValue.JsValue_grabPairs(self_), ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String)
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export const ff_core_JsValue_IsJsValue$ff_core_JsValue_JsValue = {
|
|
631
|
+
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
export const ff_core_JsValue_IsJsValue$ff_core_String_String = {
|
|
635
|
+
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Char_Char = {
|
|
639
|
+
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Int_Int = {
|
|
643
|
+
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Float_Float = {
|
|
647
|
+
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Bool_Bool = {
|
|
651
|
+
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
export function ff_core_JsValue_IsJsValue$ff_core_Array_Array(ff_core_JsValue_IsJsValue$T) { return {
|
|
655
|
+
|
|
656
|
+
}}
|
|
657
|
+
|
|
658
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Error_Error = {
|
|
659
|
+
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Instant_Instant = {
|
|
663
|
+
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Duration_Duration = {
|
|
667
|
+
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Buffer_Buffer = {
|
|
671
|
+
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
export const ff_core_JsValue_IsJsValue$ff_core_Nothing_Nothing = {
|
|
675
|
+
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
|