@fncts/schema 0.0.23 → 0.0.25
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/AST.d.ts +60 -29
- package/ASTAnnotationMap.d.ts +4 -1
- package/LICENSE +26 -0
- package/ParseError/ParseError.d.ts +28 -13
- package/_cjs/AST.cjs +1096 -1087
- package/_cjs/AST.cjs.map +1 -1
- package/_cjs/ASTAnnotation.cjs +114 -83
- package/_cjs/ASTAnnotation.cjs.map +1 -1
- package/_cjs/ASTAnnotationMap.cjs +43 -32
- package/_cjs/ASTAnnotationMap.cjs.map +1 -1
- package/_cjs/Eq.cjs +113 -145
- package/_cjs/Eq.cjs.map +1 -1
- package/_cjs/Gen.cjs +131 -167
- package/_cjs/Gen.cjs.map +1 -1
- package/_cjs/Guard.cjs +167 -267
- package/_cjs/Guard.cjs.map +1 -1
- package/_cjs/InvalidInterpretationError.cjs +9 -15
- package/_cjs/InvalidInterpretationError.cjs.map +1 -1
- package/_cjs/ParseError/ParseError.cjs +285 -209
- package/_cjs/ParseError/ParseError.cjs.map +1 -1
- package/_cjs/ParseError/ParseErrorFormatter.cjs +0 -2
- package/_cjs/ParseError/PathFormatter.cjs +55 -87
- package/_cjs/ParseError/PathFormatter.cjs.map +1 -1
- package/_cjs/ParseError/TreeFormatter.cjs +70 -102
- package/_cjs/ParseError/TreeFormatter.cjs.map +1 -1
- package/_cjs/ParseError.cjs +35 -50
- package/_cjs/ParseResult.cjs +15 -15
- package/_cjs/ParseResult.cjs.map +1 -1
- package/_cjs/Parser/api.cjs +54 -50
- package/_cjs/Parser/api.cjs.map +1 -1
- package/_cjs/Parser/definition.cjs +17 -16
- package/_cjs/Parser/definition.cjs.map +1 -1
- package/_cjs/Parser/interpreter.cjs +276 -358
- package/_cjs/Parser/interpreter.cjs.map +1 -1
- package/_cjs/Parser.cjs +12 -39
- package/_cjs/Schema/api/conc.cjs +64 -59
- package/_cjs/Schema/api/conc.cjs.map +1 -1
- package/_cjs/Schema/api/either.cjs +73 -72
- package/_cjs/Schema/api/either.cjs.map +1 -1
- package/_cjs/Schema/api/hashMap.cjs +85 -85
- package/_cjs/Schema/api/hashMap.cjs.map +1 -1
- package/_cjs/Schema/api/hashSet.cjs +75 -69
- package/_cjs/Schema/api/hashSet.cjs.map +1 -1
- package/_cjs/Schema/api/list.cjs +74 -64
- package/_cjs/Schema/api/list.cjs.map +1 -1
- package/_cjs/Schema/api/map.cjs +81 -83
- package/_cjs/Schema/api/map.cjs.map +1 -1
- package/_cjs/Schema/api/maybe.cjs +56 -49
- package/_cjs/Schema/api/maybe.cjs.map +1 -1
- package/_cjs/Schema/api/set.cjs +68 -61
- package/_cjs/Schema/api/set.cjs.map +1 -1
- package/_cjs/Schema/api.cjs +332 -350
- package/_cjs/Schema/api.cjs.map +1 -1
- package/_cjs/Schema/definition.cjs +28 -27
- package/_cjs/Schema/definition.cjs.map +1 -1
- package/_cjs/Schema/derivations.cjs +85 -100
- package/_cjs/Schema/derivations.cjs.map +1 -1
- package/_cjs/Schema.cjs +95 -127
- package/_cjs/Show.cjs +91 -151
- package/_cjs/Show.cjs.map +1 -1
- package/_cjs/chunk.cjs +28 -0
- package/_cjs/global.cjs +0 -2
- package/_cjs/index.cjs +0 -2
- package/_cjs/utils.cjs +41 -46
- package/_cjs/utils.cjs.map +1 -1
- package/_mjs/AST.mjs +1007 -1031
- package/_mjs/AST.mjs.map +1 -1
- package/_mjs/ASTAnnotation.mjs +77 -71
- package/_mjs/ASTAnnotation.mjs.map +1 -1
- package/_mjs/ASTAnnotationMap.mjs +36 -25
- package/_mjs/ASTAnnotationMap.mjs.map +1 -1
- package/_mjs/Eq.mjs +101 -134
- package/_mjs/Eq.mjs.map +1 -1
- package/_mjs/Gen.mjs +117 -157
- package/_mjs/Gen.mjs.map +1 -1
- package/_mjs/Guard.mjs +154 -257
- package/_mjs/Guard.mjs.map +1 -1
- package/_mjs/InvalidInterpretationError.mjs +8 -9
- package/_mjs/InvalidInterpretationError.mjs.map +1 -1
- package/_mjs/ParseError/ParseError.mjs +270 -190
- package/_mjs/ParseError/ParseError.mjs.map +1 -1
- package/_mjs/ParseError/ParseErrorFormatter.mjs +0 -2
- package/_mjs/ParseError/PathFormatter.mjs +51 -80
- package/_mjs/ParseError/PathFormatter.mjs.map +1 -1
- package/_mjs/ParseError/TreeFormatter.mjs +62 -94
- package/_mjs/ParseError/TreeFormatter.mjs.map +1 -1
- package/_mjs/ParseError.mjs +5 -6
- package/_mjs/ParseResult.mjs +13 -9
- package/_mjs/ParseResult.mjs.map +1 -1
- package/_mjs/Parser/api.mjs +43 -39
- package/_mjs/Parser/api.mjs.map +1 -1
- package/_mjs/Parser/definition.mjs +12 -8
- package/_mjs/Parser/definition.mjs.map +1 -1
- package/_mjs/Parser/interpreter.mjs +262 -348
- package/_mjs/Parser/interpreter.mjs.map +1 -1
- package/_mjs/Parser.mjs +4 -5
- package/_mjs/Schema/api/conc.mjs +41 -45
- package/_mjs/Schema/api/conc.mjs.map +1 -1
- package/_mjs/Schema/api/either.mjs +55 -61
- package/_mjs/Schema/api/either.mjs.map +1 -1
- package/_mjs/Schema/api/hashMap.mjs +61 -71
- package/_mjs/Schema/api/hashMap.mjs.map +1 -1
- package/_mjs/Schema/api/hashSet.mjs +53 -56
- package/_mjs/Schema/api/hashSet.mjs.map +1 -1
- package/_mjs/Schema/api/list.mjs +50 -51
- package/_mjs/Schema/api/list.mjs.map +1 -1
- package/_mjs/Schema/api/map.mjs +59 -69
- package/_mjs/Schema/api/map.mjs.map +1 -1
- package/_mjs/Schema/api/maybe.mjs +34 -36
- package/_mjs/Schema/api/maybe.mjs.map +1 -1
- package/_mjs/Schema/api/set.mjs +47 -48
- package/_mjs/Schema/api/set.mjs.map +1 -1
- package/_mjs/Schema/api.mjs +304 -346
- package/_mjs/Schema/api.mjs.map +1 -1
- package/_mjs/Schema/definition.mjs +21 -18
- package/_mjs/Schema/definition.mjs.map +1 -1
- package/_mjs/Schema/derivations.mjs +71 -90
- package/_mjs/Schema/derivations.mjs.map +1 -1
- package/_mjs/Schema.mjs +12 -15
- package/_mjs/Show.mjs +79 -139
- package/_mjs/Show.mjs.map +1 -1
- package/_mjs/global.mjs +0 -2
- package/_mjs/index.mjs +0 -2
- package/_mjs/utils.mjs +35 -37
- package/_mjs/utils.mjs.map +1 -1
- package/_src/AST.ts +226 -28
- package/_src/ASTAnnotationMap.ts +14 -1
- package/_src/ParseError/ParseError.ts +128 -13
- package/_src/Schema/api/hashMap.ts +1 -1
- package/_src/Schema/api/hashSet.ts +1 -1
- package/_src/Schema/api/list.ts +3 -1
- package/_src/Schema/api/map.ts +1 -1
- package/_src/Schema/api/set.ts +1 -1
- package/package.json +7 -3
- package/_cjs/ParseError/ParseErrorFormatter.cjs.map +0 -1
- package/_cjs/ParseError.cjs.map +0 -1
- package/_cjs/Parser.cjs.map +0 -1
- package/_cjs/Schema.cjs.map +0 -1
- package/_cjs/global.cjs.map +0 -1
- package/_cjs/index.cjs.map +0 -1
- package/_mjs/ParseError/ParseErrorFormatter.mjs.map +0 -1
- package/_mjs/ParseError.mjs.map +0 -1
- package/_mjs/Parser.mjs.map +0 -1
- package/_mjs/Schema.mjs.map +0 -1
- package/_mjs/global.mjs.map +0 -1
- package/_mjs/index.mjs.map +0 -1
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_chunk = require("../../chunk.cjs");
|
|
3
|
+
let _fncts_base_collection_immutable_Vector_api = require("@fncts/base/collection/immutable/Vector/api");
|
|
4
|
+
_fncts_base_collection_immutable_Vector_api = require_chunk.__toESM(_fncts_base_collection_immutable_Vector_api, 1);
|
|
5
|
+
let _fncts_schema_ASTAnnotation = require("@fncts/schema/ASTAnnotation");
|
|
6
|
+
_fncts_schema_ASTAnnotation = require_chunk.__toESM(_fncts_schema_ASTAnnotation, 1);
|
|
7
|
+
let _fncts_schema_ParseResult = require("@fncts/schema/ParseResult");
|
|
8
|
+
_fncts_schema_ParseResult = require_chunk.__toESM(_fncts_schema_ParseResult, 1);
|
|
9
|
+
let _fncts_schema_Parser_api = require("@fncts/schema/Parser/api");
|
|
10
|
+
_fncts_schema_Parser_api = require_chunk.__toESM(_fncts_schema_Parser_api, 1);
|
|
11
|
+
let _fncts_schema_Show = require("@fncts/schema/Show");
|
|
12
|
+
_fncts_schema_Show = require_chunk.__toESM(_fncts_schema_Show, 1);
|
|
13
|
+
let _fncts_schema_ParseError_ParseError = require("@fncts/schema/ParseError/ParseError");
|
|
14
|
+
_fncts_schema_ParseError_ParseError = require_chunk.__toESM(_fncts_schema_ParseError_ParseError, 1);
|
|
15
|
+
let _fncts_base_collection_immutable_Vector_internal = require("@fncts/base/collection/immutable/Vector/internal");
|
|
16
|
+
_fncts_base_collection_immutable_Vector_internal = require_chunk.__toESM(_fncts_base_collection_immutable_Vector_internal, 1);
|
|
17
|
+
let _fncts_base_collection_immutable_HashMap_api = require("@fncts/base/collection/immutable/HashMap/api");
|
|
18
|
+
_fncts_base_collection_immutable_HashMap_api = require_chunk.__toESM(_fncts_base_collection_immutable_HashMap_api, 1);
|
|
19
|
+
let _fncts_schema_Schema_api = require("@fncts/schema/Schema/api");
|
|
20
|
+
_fncts_schema_Schema_api = require_chunk.__toESM(_fncts_schema_Schema_api, 1);
|
|
21
|
+
let _fncts_base_data_function_api = require("@fncts/base/data/function/api");
|
|
22
|
+
_fncts_base_data_function_api = require_chunk.__toESM(_fncts_base_data_function_api, 1);
|
|
23
|
+
let _fncts_base_data_Either_api = require("@fncts/base/data/Either/api");
|
|
24
|
+
_fncts_base_data_Either_api = require_chunk.__toESM(_fncts_base_data_Either_api, 1);
|
|
25
|
+
let _fncts_schema_Parser_definition = require("@fncts/schema/Parser/definition");
|
|
26
|
+
_fncts_schema_Parser_definition = require_chunk.__toESM(_fncts_schema_Parser_definition, 1);
|
|
27
|
+
let _fncts_test_control_Gen_api = require("@fncts/test/control/Gen/api");
|
|
28
|
+
_fncts_test_control_Gen_api = require_chunk.__toESM(_fncts_test_control_Gen_api, 1);
|
|
29
|
+
let _fncts_base_collection_immutable_HashMap_definition = require("@fncts/base/collection/immutable/HashMap/definition");
|
|
30
|
+
_fncts_base_collection_immutable_HashMap_definition = require_chunk.__toESM(_fncts_base_collection_immutable_HashMap_definition, 1);
|
|
31
|
+
//#region build/esm/Schema/api/hashMap.js
|
|
32
|
+
const hashMap = hashMap_1;
|
|
33
|
+
const hashMapFromRecord = hashMapFromRecord_1;
|
|
25
34
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
35
|
+
* @tsplus static fncts.schema.SchemaOps hashMap
|
|
36
|
+
*/
|
|
28
37
|
function hashMap_1(key, value) {
|
|
29
|
-
|
|
38
|
+
return _fncts_schema_Schema_api.annotate(_fncts_schema_ASTAnnotation.GenHook, gen)(_fncts_schema_Schema_api.annotate(_fncts_schema_ASTAnnotation.Identifier, `HashMap<${_fncts_schema_Show.show()(key)}, ${_fncts_schema_Show.show()(value)}>`)(_fncts_schema_Schema_api.declaration(_fncts_base_collection_immutable_Vector_api.vector(key, value), hashMapParser(true), hashMapParser(false))));
|
|
30
39
|
}
|
|
31
40
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
41
|
+
* @tsplus static fncts.schema.SchemaOps hashMapFromRecord
|
|
42
|
+
*/
|
|
34
43
|
function hashMapFromRecord_1(key, value) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return out;
|
|
47
|
-
})(tsplus_module_4.record(key, value));
|
|
44
|
+
return _fncts_schema_Schema_api.transform(hashMap_1(key, value), (input) => {
|
|
45
|
+
const out = _fncts_base_collection_immutable_HashMap_api.beginMutation(_fncts_base_collection_immutable_HashMap_api.empty());
|
|
46
|
+
for (const [k, v] of Object.entries(input)) _fncts_base_collection_immutable_HashMap_api.set(k, v)(out);
|
|
47
|
+
return _fncts_base_collection_immutable_HashMap_api.endMutation(out);
|
|
48
|
+
}, (input) => {
|
|
49
|
+
const out = {};
|
|
50
|
+
_fncts_base_collection_immutable_HashMap_api.forEachWithIndex((k, v) => {
|
|
51
|
+
out[k] = v;
|
|
52
|
+
})(input);
|
|
53
|
+
return out;
|
|
54
|
+
})(_fncts_schema_Schema_api.record(key, value));
|
|
48
55
|
}
|
|
49
56
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
function deriveHashMap(
|
|
53
|
-
|
|
54
|
-
...[key, value]) {
|
|
55
|
-
return hashMapFromRecord_1(key, value);
|
|
57
|
+
* @tsplus derive fncts.schema.Schema[fncts.HashMap]<_> 10
|
|
58
|
+
*/
|
|
59
|
+
function deriveHashMap(...[key, value]) {
|
|
60
|
+
return hashMapFromRecord_1(key, value);
|
|
56
61
|
}
|
|
57
62
|
function hashMapParser(isDecoding) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
if (tsplus_module_11.isLeft(tk) || tsplus_module_11.isLeft(tv)) {
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
tsplus_module_5.set(tk.right, tv.right)(out);
|
|
90
|
-
}
|
|
91
|
-
return tsplus_module_3.isNonEmpty(errors) ? tsplus_module_9.fail(tsplus_module_8.iterableError(schema.ast, u, errors)) : tsplus_module_9.succeed(tsplus_module_5.endMutation(out));
|
|
92
|
-
});
|
|
93
|
-
};
|
|
63
|
+
return (key, value) => {
|
|
64
|
+
const schema = hashMap_1(key, value);
|
|
65
|
+
return _fncts_schema_Parser_definition.make((u, options) => {
|
|
66
|
+
if (!_fncts_base_collection_immutable_HashMap_definition.isHashMap(u)) return _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.typeError(schema.ast, u));
|
|
67
|
+
const allErrors = options?.allErrors;
|
|
68
|
+
const errors = _fncts_base_collection_immutable_Vector_api.emptyPushable();
|
|
69
|
+
const out = _fncts_base_collection_immutable_HashMap_api.beginMutation(_fncts_base_collection_immutable_HashMap_api.empty());
|
|
70
|
+
const keyParser = isDecoding ? _fncts_schema_Parser_api.decode(key) : _fncts_schema_Parser_api.encode(key);
|
|
71
|
+
const valueParser = isDecoding ? _fncts_schema_Parser_api.decode(value) : _fncts_schema_Parser_api.encode(value);
|
|
72
|
+
for (const [k, v] of u) {
|
|
73
|
+
const tk = keyParser(k, options);
|
|
74
|
+
if (_fncts_base_data_Either_api.isLeft(tk)) {
|
|
75
|
+
_fncts_base_collection_immutable_Vector_internal.push(_fncts_schema_ParseError_ParseError.keyError(key.ast, k, tk.left))(errors);
|
|
76
|
+
if (!allErrors) return _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.iterableError(schema.ast, u, errors));
|
|
77
|
+
}
|
|
78
|
+
const tv = valueParser(v, options);
|
|
79
|
+
if (_fncts_base_data_Either_api.isLeft(tv)) {
|
|
80
|
+
_fncts_base_collection_immutable_Vector_internal.push(_fncts_schema_ParseError_ParseError.keyError(key.ast, k, tv.left))(errors);
|
|
81
|
+
if (!allErrors) return _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.iterableError(schema.ast, u, errors));
|
|
82
|
+
}
|
|
83
|
+
if (_fncts_base_data_Either_api.isLeft(tk) || _fncts_base_data_Either_api.isLeft(tv)) continue;
|
|
84
|
+
_fncts_base_collection_immutable_HashMap_api.set(tk.right, tv.right)(out);
|
|
85
|
+
}
|
|
86
|
+
return _fncts_base_collection_immutable_Vector_api.isNonEmpty(errors) ? _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.iterableError(schema.ast, u, errors)) : _fncts_schema_ParseResult.succeed(_fncts_base_collection_immutable_HashMap_api.endMutation(out));
|
|
87
|
+
});
|
|
88
|
+
};
|
|
94
89
|
}
|
|
95
90
|
function gen(key, value) {
|
|
96
|
-
|
|
91
|
+
return _fncts_test_control_Gen_api.map((pairs) => _fncts_base_collection_immutable_HashMap_api.from(pairs))(_fncts_test_control_Gen_api.array(_fncts_test_control_Gen_api.tuple(key, value)));
|
|
97
92
|
}
|
|
93
|
+
//#endregion
|
|
94
|
+
exports.deriveHashMap = deriveHashMap;
|
|
95
|
+
exports.hashMap = hashMap;
|
|
96
|
+
exports.hashMapFromRecord = hashMapFromRecord;
|
|
97
|
+
|
|
98
98
|
//# sourceMappingURL=hashMap.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashMap.cjs","names":["
|
|
1
|
+
{"version":3,"file":"hashMap.cjs","names":["tsplus_module_4","tsplus_module_1","tsplus_module_2","tsplus_module_3","tsplus_module_5","tsplus_module_13","tsplus_module_7","tsplus_module_9","tsplus_module_8","tsplus_module_10","tsplus_module_11","tsplus_module_14"],"sources":["../../../esm/Schema/api/hashMap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/schema/ASTAnnotation\";\nimport * as tsplus_module_2 from \"@fncts/schema/Show\";\nimport * as tsplus_module_3 from \"@fncts/base/collection/immutable/Vector/api\";\nimport * as tsplus_module_4 from \"@fncts/schema/Schema/api\";\nimport * as tsplus_module_5 from \"@fncts/base/collection/immutable/HashMap/api\";\nimport * as tsplus_module_6 from \"@fncts/base/data/function/api\";\nimport * as tsplus_module_7 from \"@fncts/base/collection/immutable/HashMap/definition\";\nimport * as tsplus_module_8 from \"@fncts/schema/ParseError/ParseError\";\nimport * as tsplus_module_9 from \"@fncts/schema/ParseResult\";\nimport * as tsplus_module_10 from \"@fncts/schema/Parser/api\";\nimport * as tsplus_module_11 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_12 from \"@fncts/base/collection/immutable/Vector/internal\";\nimport * as tsplus_module_13 from \"@fncts/schema/Parser/definition\";\nimport * as tsplus_module_14 from \"@fncts/test/control/Gen/api\";\nexport const hashMap = hashMap_1;\nexport const hashMapFromRecord = hashMapFromRecord_1;\n/**\n * @tsplus static fncts.schema.SchemaOps hashMap\n */\nfunction hashMap_1(key, value) {\n return tsplus_module_4.annotate(tsplus_module_1.GenHook, gen)(tsplus_module_4.annotate(tsplus_module_1.Identifier, `HashMap<${tsplus_module_2.show()(key)}, ${tsplus_module_2.show()(value)}>`)(tsplus_module_4.declaration(tsplus_module_3.vector(key, value), hashMapParser(true), hashMapParser(false))));\n}\n/**\n * @tsplus static fncts.schema.SchemaOps hashMapFromRecord\n */\nfunction hashMapFromRecord_1(key, value) {\n return tsplus_module_4.transform(hashMap_1(key, value), (input) => {\n const out = tsplus_module_5.beginMutation(tsplus_module_5.empty());\n for (const [k, v] of Object.entries(input)) {\n tsplus_module_5.set(k, v)(out);\n }\n return tsplus_module_5.endMutation(out);\n }, (input) => {\n const out = {};\n tsplus_module_5.forEachWithIndex((k, v) => {\n out[k] = v;\n })(input);\n return out;\n })(tsplus_module_4.record(key, value));\n}\n/**\n * @tsplus derive fncts.schema.Schema[fncts.HashMap]<_> 10\n */\nexport function deriveHashMap(\n// @ts-expect-error\n...[key, value]) {\n return hashMapFromRecord_1(key, value);\n}\nfunction hashMapParser(isDecoding) {\n return (key, value) => {\n const schema = hashMap_1(key, value);\n return tsplus_module_13.make((u, options) => {\n if (!tsplus_module_7.isHashMap(u)) {\n return tsplus_module_9.fail(tsplus_module_8.typeError(schema.ast, u));\n }\n const allErrors = options?.allErrors;\n const errors = tsplus_module_3.emptyPushable();\n const out = tsplus_module_5.beginMutation(tsplus_module_5.empty());\n const keyParser = isDecoding ? tsplus_module_10.decode(key) : tsplus_module_10.encode(key);\n const valueParser = isDecoding ? tsplus_module_10.decode(value) : tsplus_module_10.encode(value);\n for (const [k, v] of u) {\n const tk = keyParser(k, options);\n void 0;\n if (tsplus_module_11.isLeft(tk)) {\n tsplus_module_12.push(tsplus_module_8.keyError(key.ast, k, tk.left))(errors);\n if (!allErrors) {\n return tsplus_module_9.fail(tsplus_module_8.iterableError(schema.ast, u, errors));\n }\n }\n const tv = valueParser(v, options);\n void 0;\n if (tsplus_module_11.isLeft(tv)) {\n tsplus_module_12.push(tsplus_module_8.keyError(key.ast, k, tv.left))(errors);\n if (!allErrors) {\n return tsplus_module_9.fail(tsplus_module_8.iterableError(schema.ast, u, errors));\n }\n }\n if (tsplus_module_11.isLeft(tk) || tsplus_module_11.isLeft(tv)) {\n continue;\n }\n tsplus_module_5.set(tk.right, tv.right)(out);\n }\n return tsplus_module_3.isNonEmpty(errors)\n ? tsplus_module_9.fail(tsplus_module_8.iterableError(schema.ast, u, errors))\n : tsplus_module_9.succeed(tsplus_module_5.endMutation(out));\n });\n };\n}\nfunction gen(key, value) {\n return tsplus_module_14.map((pairs) => tsplus_module_5.from(pairs))(tsplus_module_14.array(tsplus_module_14.tuple(key, value)));\n}\n//# sourceMappingURL=hashMap.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,UAAU;AACvB,MAAa,oBAAoB;;;;AAIjC,SAAS,UAAU,KAAK,OAAO;AAC3B,QAAOA,yBAAgB,SAASC,4BAAgB,SAAS,IAAI,CAACD,yBAAgB,SAASC,4BAAgB,YAAY,WAAWC,mBAAgB,MAA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|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_chunk = require("../../chunk.cjs");
|
|
3
|
+
let _fncts_base_collection_immutable_Vector_api = require("@fncts/base/collection/immutable/Vector/api");
|
|
4
|
+
_fncts_base_collection_immutable_Vector_api = require_chunk.__toESM(_fncts_base_collection_immutable_Vector_api, 1);
|
|
5
|
+
let _fncts_schema_ASTAnnotation = require("@fncts/schema/ASTAnnotation");
|
|
6
|
+
_fncts_schema_ASTAnnotation = require_chunk.__toESM(_fncts_schema_ASTAnnotation, 1);
|
|
7
|
+
let _fncts_schema_ParseResult = require("@fncts/schema/ParseResult");
|
|
8
|
+
_fncts_schema_ParseResult = require_chunk.__toESM(_fncts_schema_ParseResult, 1);
|
|
9
|
+
let _fncts_schema_Parser_api = require("@fncts/schema/Parser/api");
|
|
10
|
+
_fncts_schema_Parser_api = require_chunk.__toESM(_fncts_schema_Parser_api, 1);
|
|
11
|
+
let _fncts_schema_Show = require("@fncts/schema/Show");
|
|
12
|
+
_fncts_schema_Show = require_chunk.__toESM(_fncts_schema_Show, 1);
|
|
13
|
+
let _fncts_schema_ParseError_ParseError = require("@fncts/schema/ParseError/ParseError");
|
|
14
|
+
_fncts_schema_ParseError_ParseError = require_chunk.__toESM(_fncts_schema_ParseError_ParseError, 1);
|
|
15
|
+
let _fncts_base_collection_immutable_Vector_internal = require("@fncts/base/collection/immutable/Vector/internal");
|
|
16
|
+
_fncts_base_collection_immutable_Vector_internal = require_chunk.__toESM(_fncts_base_collection_immutable_Vector_internal, 1);
|
|
17
|
+
let _fncts_schema_Schema_api = require("@fncts/schema/Schema/api");
|
|
18
|
+
_fncts_schema_Schema_api = require_chunk.__toESM(_fncts_schema_Schema_api, 1);
|
|
19
|
+
let _fncts_base_data_function_api = require("@fncts/base/data/function/api");
|
|
20
|
+
_fncts_base_data_function_api = require_chunk.__toESM(_fncts_base_data_function_api, 1);
|
|
21
|
+
let _fncts_base_data_Either_api = require("@fncts/base/data/Either/api");
|
|
22
|
+
_fncts_base_data_Either_api = require_chunk.__toESM(_fncts_base_data_Either_api, 1);
|
|
23
|
+
let _fncts_schema_Parser_definition = require("@fncts/schema/Parser/definition");
|
|
24
|
+
_fncts_schema_Parser_definition = require_chunk.__toESM(_fncts_schema_Parser_definition, 1);
|
|
25
|
+
let _fncts_test_control_Gen_api = require("@fncts/test/control/Gen/api");
|
|
26
|
+
_fncts_test_control_Gen_api = require_chunk.__toESM(_fncts_test_control_Gen_api, 1);
|
|
27
|
+
let _fncts_base_collection_immutable_HashSet_api = require("@fncts/base/collection/immutable/HashSet/api");
|
|
28
|
+
_fncts_base_collection_immutable_HashSet_api = require_chunk.__toESM(_fncts_base_collection_immutable_HashSet_api, 1);
|
|
29
|
+
let _fncts_base_collection_immutable_HashSet_definition = require("@fncts/base/collection/immutable/HashSet/definition");
|
|
30
|
+
_fncts_base_collection_immutable_HashSet_definition = require_chunk.__toESM(_fncts_base_collection_immutable_HashSet_definition, 1);
|
|
31
|
+
//#region build/esm/Schema/api/hashSet.js
|
|
32
|
+
const hashSetFromArray = hashSetFromArray_1;
|
|
25
33
|
function hashSet(value) {
|
|
26
|
-
|
|
34
|
+
return _fncts_schema_Schema_api.annotate(_fncts_schema_ASTAnnotation.GenHook, gen)(_fncts_schema_Schema_api.annotate(_fncts_schema_ASTAnnotation.Identifier, `HashSet<${_fncts_schema_Show.show()(value)}>`)(_fncts_schema_Schema_api.declaration(_fncts_base_collection_immutable_Vector_api.vector(value), hashSetParser(true), hashSetParser(false))));
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
37
|
+
* @tsplus static fncts.schema.SchemaOps hashSetFromArray
|
|
38
|
+
*/
|
|
31
39
|
function hashSetFromArray_1(value) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return out;
|
|
44
|
-
})(tsplus_module_4.array(value));
|
|
40
|
+
return _fncts_schema_Schema_api.transform(hashSet(value), (input) => {
|
|
41
|
+
const out = _fncts_base_collection_immutable_HashSet_api.beginMutation(_fncts_base_collection_immutable_HashSet_api.empty());
|
|
42
|
+
for (const v of input) _fncts_base_collection_immutable_HashSet_api.add(v)(out);
|
|
43
|
+
return _fncts_base_collection_immutable_HashSet_api.endMutation(out);
|
|
44
|
+
}, (input) => {
|
|
45
|
+
const out = [];
|
|
46
|
+
_fncts_base_collection_immutable_HashSet_api.forEach((v) => {
|
|
47
|
+
out.push(v);
|
|
48
|
+
})(input);
|
|
49
|
+
return out;
|
|
50
|
+
})(_fncts_schema_Schema_api.array(value));
|
|
45
51
|
}
|
|
46
52
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
* @tsplus derive fncts.schema.Schema[fncts.HashSet]<_> 10
|
|
54
|
+
*/
|
|
49
55
|
function deriveHashSet(...[value]) {
|
|
50
|
-
|
|
56
|
+
return hashSetFromArray_1(value);
|
|
51
57
|
}
|
|
52
58
|
function hashSetParser(isDecoding) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
tsplus_module_5.add(tv.right)(out);
|
|
74
|
-
}
|
|
75
|
-
return tsplus_module_3.isNonEmpty(errors) ? tsplus_module_10.fail(tsplus_module_9.iterableError(schema.ast, u, errors)) : tsplus_module_10.succeed(tsplus_module_5.endMutation(out));
|
|
76
|
-
});
|
|
77
|
-
};
|
|
59
|
+
return (value) => {
|
|
60
|
+
const schema = hashSet(value);
|
|
61
|
+
const parseValue = isDecoding ? _fncts_schema_Parser_api.decode(value) : _fncts_schema_Parser_api.encode(value);
|
|
62
|
+
return _fncts_schema_Parser_definition.make((u, options) => {
|
|
63
|
+
if (!_fncts_base_collection_immutable_HashSet_definition.isHashSet(u)) return _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.typeError(schema.ast, u));
|
|
64
|
+
const allErrors = options?.allErrors;
|
|
65
|
+
const errors = _fncts_base_collection_immutable_Vector_api.emptyPushable();
|
|
66
|
+
const out = _fncts_base_collection_immutable_HashSet_api.beginMutation(_fncts_base_collection_immutable_HashSet_api.empty());
|
|
67
|
+
for (const v of u) {
|
|
68
|
+
const tv = parseValue(v, options);
|
|
69
|
+
if (_fncts_base_data_Either_api.isLeft(tv)) {
|
|
70
|
+
_fncts_base_collection_immutable_Vector_internal.push(_fncts_schema_ParseError_ParseError.keyError(value.ast, v, tv.left))(errors);
|
|
71
|
+
if (!allErrors) return _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.iterableError(schema.ast, u, errors));
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
_fncts_base_collection_immutable_HashSet_api.add(tv.right)(out);
|
|
75
|
+
}
|
|
76
|
+
return _fncts_base_collection_immutable_Vector_api.isNonEmpty(errors) ? _fncts_schema_ParseResult.fail(_fncts_schema_ParseError_ParseError.iterableError(schema.ast, u, errors)) : _fncts_schema_ParseResult.succeed(_fncts_base_collection_immutable_HashSet_api.endMutation(out));
|
|
77
|
+
});
|
|
78
|
+
};
|
|
78
79
|
}
|
|
79
80
|
function gen(value) {
|
|
80
|
-
|
|
81
|
+
return _fncts_test_control_Gen_api.map(_fncts_base_collection_immutable_HashSet_api.from)(_fncts_test_control_Gen_api.array(value));
|
|
81
82
|
}
|
|
83
|
+
//#endregion
|
|
84
|
+
exports.deriveHashSet = deriveHashSet;
|
|
85
|
+
exports.hashSet = hashSet;
|
|
86
|
+
exports.hashSetFromArray = hashSetFromArray;
|
|
87
|
+
|
|
82
88
|
//# sourceMappingURL=hashSet.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashSet.cjs","names":["
|
|
1
|
+
{"version":3,"file":"hashSet.cjs","names":["tsplus_module_4","tsplus_module_1","tsplus_module_2","tsplus_module_3","tsplus_module_5","tsplus_module_7","tsplus_module_13","tsplus_module_8","tsplus_module_10","tsplus_module_9","tsplus_module_11","tsplus_module_14"],"sources":["../../../esm/Schema/api/hashSet.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/schema/ASTAnnotation\";\nimport * as tsplus_module_2 from \"@fncts/schema/Show\";\nimport * as tsplus_module_3 from \"@fncts/base/collection/immutable/Vector/api\";\nimport * as tsplus_module_4 from \"@fncts/schema/Schema/api\";\nimport * as tsplus_module_5 from \"@fncts/base/collection/immutable/HashSet/api\";\nimport * as tsplus_module_6 from \"@fncts/base/data/function/api\";\nimport * as tsplus_module_7 from \"@fncts/schema/Parser/api\";\nimport * as tsplus_module_8 from \"@fncts/base/collection/immutable/HashSet/definition\";\nimport * as tsplus_module_9 from \"@fncts/schema/ParseError/ParseError\";\nimport * as tsplus_module_10 from \"@fncts/schema/ParseResult\";\nimport * as tsplus_module_11 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_12 from \"@fncts/base/collection/immutable/Vector/internal\";\nimport * as tsplus_module_13 from \"@fncts/schema/Parser/definition\";\nimport * as tsplus_module_14 from \"@fncts/test/control/Gen/api\";\nexport const hashSetFromArray = hashSetFromArray_1;\nexport function hashSet(value) {\n return tsplus_module_4.annotate(tsplus_module_1.GenHook, gen)(tsplus_module_4.annotate(tsplus_module_1.Identifier, `HashSet<${tsplus_module_2.show()(value)}>`)(tsplus_module_4.declaration(tsplus_module_3.vector(value), hashSetParser(true), hashSetParser(false))));\n}\n/**\n * @tsplus static fncts.schema.SchemaOps hashSetFromArray\n */\nfunction hashSetFromArray_1(value) {\n return tsplus_module_4.transform(hashSet(value), (input) => {\n const out = tsplus_module_5.beginMutation(tsplus_module_5.empty());\n for (const v of input) {\n tsplus_module_5.add(v)(out);\n }\n return tsplus_module_5.endMutation(out);\n }, (input) => {\n const out = [];\n tsplus_module_5.forEach((v) => {\n out.push(v);\n })(input);\n return out;\n })(tsplus_module_4.array(value));\n}\n/**\n * @tsplus derive fncts.schema.Schema[fncts.HashSet]<_> 10\n */\nexport function deriveHashSet(...[value]) {\n return hashSetFromArray_1(value);\n}\nfunction hashSetParser(isDecoding) {\n return (value) => {\n const schema = hashSet(value);\n const parseValue = isDecoding ? tsplus_module_7.decode(value) : tsplus_module_7.encode(value);\n return tsplus_module_13.make((u, options) => {\n if (!tsplus_module_8.isHashSet(u)) {\n return tsplus_module_10.fail(tsplus_module_9.typeError(schema.ast, u));\n }\n const allErrors = options?.allErrors;\n const errors = tsplus_module_3.emptyPushable();\n const out = tsplus_module_5.beginMutation(tsplus_module_5.empty());\n for (const v of u) {\n const tv = parseValue(v, options);\n void 0;\n if (tsplus_module_11.isLeft(tv)) {\n tsplus_module_12.push(tsplus_module_9.keyError(value.ast, v, tv.left))(errors);\n if (!allErrors) {\n return tsplus_module_10.fail(tsplus_module_9.iterableError(schema.ast, u, errors));\n }\n continue;\n }\n tsplus_module_5.add(tv.right)(out);\n }\n return tsplus_module_3.isNonEmpty(errors)\n ? tsplus_module_10.fail(tsplus_module_9.iterableError(schema.ast, u, errors))\n : tsplus_module_10.succeed(tsplus_module_5.endMutation(out));\n });\n };\n}\nfunction gen(value) {\n return tsplus_module_14.map(tsplus_module_5.from)(tsplus_module_14.array(value));\n}\n//# sourceMappingURL=hashSet.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,mBAAmB;AAChC,SAAgB,QAAQ,OAAO;AAC3B,QAAOA,yBAAgB,SAASC,4BAAgB,SAAS,IAAI,CAACD,yBAAgB,SAASC,4BAAgB,YAAY,WAAWC,mBAAgB,MAAM,CAAC,MAAM,CAAC,GAAG,CAACF,yBAAgB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