@fncts/schema 0.0.24 → 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.
Files changed (135) hide show
  1. package/LICENSE +26 -0
  2. package/_cjs/AST.cjs +1093 -1226
  3. package/_cjs/AST.cjs.map +1 -1
  4. package/_cjs/ASTAnnotation.cjs +114 -85
  5. package/_cjs/ASTAnnotation.cjs.map +1 -1
  6. package/_cjs/ASTAnnotationMap.cjs +43 -41
  7. package/_cjs/ASTAnnotationMap.cjs.map +1 -1
  8. package/_cjs/Eq.cjs +113 -145
  9. package/_cjs/Eq.cjs.map +1 -1
  10. package/_cjs/Gen.cjs +131 -167
  11. package/_cjs/Gen.cjs.map +1 -1
  12. package/_cjs/Guard.cjs +167 -267
  13. package/_cjs/Guard.cjs.map +1 -1
  14. package/_cjs/InvalidInterpretationError.cjs +9 -10
  15. package/_cjs/InvalidInterpretationError.cjs.map +1 -1
  16. package/_cjs/ParseError/ParseError.cjs +283 -284
  17. package/_cjs/ParseError/ParseError.cjs.map +1 -1
  18. package/_cjs/ParseError/ParseErrorFormatter.cjs +0 -2
  19. package/_cjs/ParseError/PathFormatter.cjs +55 -87
  20. package/_cjs/ParseError/PathFormatter.cjs.map +1 -1
  21. package/_cjs/ParseError/TreeFormatter.cjs +70 -102
  22. package/_cjs/ParseError/TreeFormatter.cjs.map +1 -1
  23. package/_cjs/ParseError.cjs +35 -50
  24. package/_cjs/ParseResult.cjs +15 -15
  25. package/_cjs/ParseResult.cjs.map +1 -1
  26. package/_cjs/Parser/api.cjs +54 -50
  27. package/_cjs/Parser/api.cjs.map +1 -1
  28. package/_cjs/Parser/definition.cjs +17 -16
  29. package/_cjs/Parser/definition.cjs.map +1 -1
  30. package/_cjs/Parser/interpreter.cjs +276 -358
  31. package/_cjs/Parser/interpreter.cjs.map +1 -1
  32. package/_cjs/Parser.cjs +12 -39
  33. package/_cjs/Schema/api/conc.cjs +64 -59
  34. package/_cjs/Schema/api/conc.cjs.map +1 -1
  35. package/_cjs/Schema/api/either.cjs +73 -72
  36. package/_cjs/Schema/api/either.cjs.map +1 -1
  37. package/_cjs/Schema/api/hashMap.cjs +85 -85
  38. package/_cjs/Schema/api/hashMap.cjs.map +1 -1
  39. package/_cjs/Schema/api/hashSet.cjs +75 -69
  40. package/_cjs/Schema/api/hashSet.cjs.map +1 -1
  41. package/_cjs/Schema/api/list.cjs +74 -66
  42. package/_cjs/Schema/api/list.cjs.map +1 -1
  43. package/_cjs/Schema/api/map.cjs +81 -83
  44. package/_cjs/Schema/api/map.cjs.map +1 -1
  45. package/_cjs/Schema/api/maybe.cjs +56 -49
  46. package/_cjs/Schema/api/maybe.cjs.map +1 -1
  47. package/_cjs/Schema/api/set.cjs +68 -61
  48. package/_cjs/Schema/api/set.cjs.map +1 -1
  49. package/_cjs/Schema/api.cjs +332 -350
  50. package/_cjs/Schema/api.cjs.map +1 -1
  51. package/_cjs/Schema/definition.cjs +28 -26
  52. package/_cjs/Schema/definition.cjs.map +1 -1
  53. package/_cjs/Schema/derivations.cjs +85 -100
  54. package/_cjs/Schema/derivations.cjs.map +1 -1
  55. package/_cjs/Schema.cjs +95 -127
  56. package/_cjs/Show.cjs +91 -151
  57. package/_cjs/Show.cjs.map +1 -1
  58. package/_cjs/chunk.cjs +28 -0
  59. package/_cjs/global.cjs +0 -2
  60. package/_cjs/index.cjs +0 -2
  61. package/_cjs/utils.cjs +41 -46
  62. package/_cjs/utils.cjs.map +1 -1
  63. package/_mjs/AST.mjs +996 -1161
  64. package/_mjs/AST.mjs.map +1 -1
  65. package/_mjs/ASTAnnotation.mjs +77 -73
  66. package/_mjs/ASTAnnotation.mjs.map +1 -1
  67. package/_mjs/ASTAnnotationMap.mjs +31 -29
  68. package/_mjs/ASTAnnotationMap.mjs.map +1 -1
  69. package/_mjs/Eq.mjs +101 -134
  70. package/_mjs/Eq.mjs.map +1 -1
  71. package/_mjs/Gen.mjs +117 -157
  72. package/_mjs/Gen.mjs.map +1 -1
  73. package/_mjs/Guard.mjs +154 -257
  74. package/_mjs/Guard.mjs.map +1 -1
  75. package/_mjs/InvalidInterpretationError.mjs +8 -4
  76. package/_mjs/InvalidInterpretationError.mjs.map +1 -1
  77. package/_mjs/ParseError/ParseError.mjs +266 -262
  78. package/_mjs/ParseError/ParseError.mjs.map +1 -1
  79. package/_mjs/ParseError/ParseErrorFormatter.mjs +0 -2
  80. package/_mjs/ParseError/PathFormatter.mjs +51 -80
  81. package/_mjs/ParseError/PathFormatter.mjs.map +1 -1
  82. package/_mjs/ParseError/TreeFormatter.mjs +62 -94
  83. package/_mjs/ParseError/TreeFormatter.mjs.map +1 -1
  84. package/_mjs/ParseError.mjs +5 -6
  85. package/_mjs/ParseResult.mjs +13 -9
  86. package/_mjs/ParseResult.mjs.map +1 -1
  87. package/_mjs/Parser/api.mjs +43 -39
  88. package/_mjs/Parser/api.mjs.map +1 -1
  89. package/_mjs/Parser/definition.mjs +12 -8
  90. package/_mjs/Parser/definition.mjs.map +1 -1
  91. package/_mjs/Parser/interpreter.mjs +262 -348
  92. package/_mjs/Parser/interpreter.mjs.map +1 -1
  93. package/_mjs/Parser.mjs +4 -5
  94. package/_mjs/Schema/api/conc.mjs +41 -45
  95. package/_mjs/Schema/api/conc.mjs.map +1 -1
  96. package/_mjs/Schema/api/either.mjs +55 -61
  97. package/_mjs/Schema/api/either.mjs.map +1 -1
  98. package/_mjs/Schema/api/hashMap.mjs +61 -71
  99. package/_mjs/Schema/api/hashMap.mjs.map +1 -1
  100. package/_mjs/Schema/api/hashSet.mjs +53 -56
  101. package/_mjs/Schema/api/hashSet.mjs.map +1 -1
  102. package/_mjs/Schema/api/list.mjs +50 -53
  103. package/_mjs/Schema/api/list.mjs.map +1 -1
  104. package/_mjs/Schema/api/map.mjs +59 -69
  105. package/_mjs/Schema/api/map.mjs.map +1 -1
  106. package/_mjs/Schema/api/maybe.mjs +34 -36
  107. package/_mjs/Schema/api/maybe.mjs.map +1 -1
  108. package/_mjs/Schema/api/set.mjs +47 -48
  109. package/_mjs/Schema/api/set.mjs.map +1 -1
  110. package/_mjs/Schema/api.mjs +304 -346
  111. package/_mjs/Schema/api.mjs.map +1 -1
  112. package/_mjs/Schema/definition.mjs +21 -17
  113. package/_mjs/Schema/definition.mjs.map +1 -1
  114. package/_mjs/Schema/derivations.mjs +71 -90
  115. package/_mjs/Schema/derivations.mjs.map +1 -1
  116. package/_mjs/Schema.mjs +12 -15
  117. package/_mjs/Show.mjs +79 -139
  118. package/_mjs/Show.mjs.map +1 -1
  119. package/_mjs/global.mjs +0 -2
  120. package/_mjs/index.mjs +0 -2
  121. package/_mjs/utils.mjs +35 -37
  122. package/_mjs/utils.mjs.map +1 -1
  123. package/package.json +7 -3
  124. package/_cjs/ParseError/ParseErrorFormatter.cjs.map +0 -1
  125. package/_cjs/ParseError.cjs.map +0 -1
  126. package/_cjs/Parser.cjs.map +0 -1
  127. package/_cjs/Schema.cjs.map +0 -1
  128. package/_cjs/global.cjs.map +0 -1
  129. package/_cjs/index.cjs.map +0 -1
  130. package/_mjs/ParseError/ParseErrorFormatter.mjs.map +0 -1
  131. package/_mjs/ParseError.mjs.map +0 -1
  132. package/_mjs/Parser.mjs.map +0 -1
  133. package/_mjs/Schema.mjs.map +0 -1
  134. package/_mjs/global.mjs.map +0 -1
  135. package/_mjs/index.mjs.map +0 -1
@@ -1,304 +1,308 @@
1
1
  import * as tsplus_module_1 from "@fncts/base/data/Equatable/definition";
2
+ //#region build/esm/ParseError/ParseError.js
2
3
  function hasTag(u, tag) {
3
- return typeof u === "object" && u !== null && "_tag" in u && u._tag === tag;
4
+ return typeof u === "object" && u !== null && "_tag" in u && u._tag === tag;
4
5
  }
5
6
  /**
6
- * @tsplus companion fncts.schema.ParseError.DeclarationError
7
- */
8
- export class DeclarationError {
9
- ast;
10
- actual;
11
- error;
12
- _tag = 0 /* ParseErrorTag.Declaration */;
13
- constructor(ast, actual, error) {
14
- this.ast = ast;
15
- this.actual = actual;
16
- this.error = error;
17
- }
18
- [tsplus_module_1.equalsSymbol](that, context) {
19
- return hasTag(that, 0 /* ParseErrorTag.Declaration */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.error, that.error);
20
- }
21
- }
7
+ * @tsplus companion fncts.schema.ParseError.DeclarationError
8
+ */
9
+ var DeclarationError = class {
10
+ ast;
11
+ actual;
12
+ error;
13
+ _tag = 0;
14
+ constructor(ast, actual, error) {
15
+ this.ast = ast;
16
+ this.actual = actual;
17
+ this.error = error;
18
+ }
19
+ [tsplus_module_1.equalsSymbol](that, context) {
20
+ return hasTag(that, 0) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.error, that.error);
21
+ }
22
+ };
22
23
  /**
23
- * @tsplus static fncts.schema.ParseError.DeclarationError __call
24
- * @tsplus static fncts.schema.ParseErrorOps DeclarationError
25
- */
26
- export function declarationError(ast, actual, error) {
27
- return new DeclarationError(ast, actual, error);
24
+ * @tsplus static fncts.schema.ParseError.DeclarationError __call
25
+ * @tsplus static fncts.schema.ParseErrorOps DeclarationError
26
+ */
27
+ function declarationError(ast, actual, error) {
28
+ return new DeclarationError(ast, actual, error);
28
29
  }
29
30
  /**
30
- * @tsplus companion fncts.schema.ParseError.TypeError
31
- */
32
- export class TypeError {
33
- ast;
34
- actual;
35
- _tag = 1 /* ParseErrorTag.Type */;
36
- constructor(ast, actual) {
37
- this.ast = ast;
38
- this.actual = actual;
39
- }
40
- [tsplus_module_1.equalsSymbol](that, context) {
41
- return hasTag(that, 1 /* ParseErrorTag.Type */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual);
42
- }
43
- }
31
+ * @tsplus companion fncts.schema.ParseError.TypeError
32
+ */
33
+ var TypeError = class {
34
+ ast;
35
+ actual;
36
+ _tag = 1;
37
+ constructor(ast, actual) {
38
+ this.ast = ast;
39
+ this.actual = actual;
40
+ }
41
+ [tsplus_module_1.equalsSymbol](that, context) {
42
+ return hasTag(that, 1) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual);
43
+ }
44
+ };
44
45
  /**
45
- * @tsplus static fncts.schema.ParseError.TypeError __call
46
- * @tsplus static fncts.schema.ParseErrorOps TypeError
47
- */
48
- export function typeError(expected, actual) {
49
- return new TypeError(expected, actual);
46
+ * @tsplus static fncts.schema.ParseError.TypeError __call
47
+ * @tsplus static fncts.schema.ParseErrorOps TypeError
48
+ */
49
+ function typeError(expected, actual) {
50
+ return new TypeError(expected, actual);
50
51
  }
51
52
  /**
52
- * @tsplus companion fncts.schema.ParseError.TypeLiteralError
53
- */
54
- export class TypeLiteralError {
55
- ast;
56
- actual;
57
- errors;
58
- output;
59
- _tag = 9 /* ParseErrorTag.TypeLiteral */;
60
- constructor(ast, actual, errors, output = {}) {
61
- this.ast = ast;
62
- this.actual = actual;
63
- this.errors = errors;
64
- this.output = output;
65
- }
66
- [tsplus_module_1.equalsSymbol](that, context) {
67
- return hasTag(that, 9 /* ParseErrorTag.TypeLiteral */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors) && context.comparator(this.output, that.output);
68
- }
69
- }
53
+ * @tsplus companion fncts.schema.ParseError.TypeLiteralError
54
+ */
55
+ var TypeLiteralError = class {
56
+ ast;
57
+ actual;
58
+ errors;
59
+ output;
60
+ _tag = 9;
61
+ constructor(ast, actual, errors, output = {}) {
62
+ this.ast = ast;
63
+ this.actual = actual;
64
+ this.errors = errors;
65
+ this.output = output;
66
+ }
67
+ [tsplus_module_1.equalsSymbol](that, context) {
68
+ return hasTag(that, 9) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors) && context.comparator(this.output, that.output);
69
+ }
70
+ };
70
71
  /**
71
- * @tsplus static fncts.schema.ParseError.TypeLiteralError __call
72
- * @tsplus static fncts.schema.ParseErrorOps TypeLiteralError
73
- */
74
- export function typeLiteralError(ast, actual, errors, output = {}) {
75
- return new TypeLiteralError(ast, actual, errors, output);
72
+ * @tsplus static fncts.schema.ParseError.TypeLiteralError __call
73
+ * @tsplus static fncts.schema.ParseErrorOps TypeLiteralError
74
+ */
75
+ function typeLiteralError(ast, actual, errors, output = {}) {
76
+ return new TypeLiteralError(ast, actual, errors, output);
76
77
  }
77
78
  /**
78
- * @tsplus companion fncts.schema.ParseError.TupleError
79
- */
80
- export class TupleError {
81
- ast;
82
- actual;
83
- errors;
84
- output;
85
- _tag = 10 /* ParseErrorTag.Tuple */;
86
- constructor(ast, actual, errors, output = []) {
87
- this.ast = ast;
88
- this.actual = actual;
89
- this.errors = errors;
90
- this.output = output;
91
- }
92
- [tsplus_module_1.equalsSymbol](that, context) {
93
- return hasTag(that, 10 /* ParseErrorTag.Tuple */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors) && context.comparator(this.output, that.output);
94
- }
95
- }
79
+ * @tsplus companion fncts.schema.ParseError.TupleError
80
+ */
81
+ var TupleError = class {
82
+ ast;
83
+ actual;
84
+ errors;
85
+ output;
86
+ _tag = 10;
87
+ constructor(ast, actual, errors, output = []) {
88
+ this.ast = ast;
89
+ this.actual = actual;
90
+ this.errors = errors;
91
+ this.output = output;
92
+ }
93
+ [tsplus_module_1.equalsSymbol](that, context) {
94
+ return hasTag(that, 10) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors) && context.comparator(this.output, that.output);
95
+ }
96
+ };
96
97
  /**
97
- * @tsplus static fncts.schema.ParseError.TupleError __call
98
- * @tsplus static fncts.schema.ParseErrorOps TupleError
99
- */
100
- export function tupleError(ast, actual, errors, output = []) {
101
- return new TupleError(ast, actual, errors, output);
98
+ * @tsplus static fncts.schema.ParseError.TupleError __call
99
+ * @tsplus static fncts.schema.ParseErrorOps TupleError
100
+ */
101
+ function tupleError(ast, actual, errors, output = []) {
102
+ return new TupleError(ast, actual, errors, output);
102
103
  }
103
104
  /**
104
- * @tsplus companion fncts.schema.ParseError.IndexError
105
- */
106
- export class IndexError {
107
- index;
108
- error;
109
- _tag = 2 /* ParseErrorTag.Index */;
110
- constructor(index, error) {
111
- this.index = index;
112
- this.error = error;
113
- }
114
- [tsplus_module_1.equalsSymbol](that, context) {
115
- return hasTag(that, 2 /* ParseErrorTag.Index */) && context.comparator(this.index, that.index) && context.comparator(this.error, that.error);
116
- }
117
- }
105
+ * @tsplus companion fncts.schema.ParseError.IndexError
106
+ */
107
+ var IndexError = class {
108
+ index;
109
+ error;
110
+ _tag = 2;
111
+ constructor(index, error) {
112
+ this.index = index;
113
+ this.error = error;
114
+ }
115
+ [tsplus_module_1.equalsSymbol](that, context) {
116
+ return hasTag(that, 2) && context.comparator(this.index, that.index) && context.comparator(this.error, that.error);
117
+ }
118
+ };
118
119
  /**
119
- * @tsplus static fncts.schema.ParseError.IndexError __call
120
- * @tsplus static fncts.schema.ParseErrorOps IndexError
121
- */
122
- export function indexError(index, error) {
123
- return new IndexError(index, error);
120
+ * @tsplus static fncts.schema.ParseError.IndexError __call
121
+ * @tsplus static fncts.schema.ParseErrorOps IndexError
122
+ */
123
+ function indexError(index, error) {
124
+ return new IndexError(index, error);
124
125
  }
125
126
  /**
126
- * @tsplus companion fncts.schema.ParseError.KeyError
127
- */
128
- export class KeyError {
129
- keyAST;
130
- key;
131
- error;
132
- _tag = 3 /* ParseErrorTag.Key */;
133
- constructor(keyAST, key, error) {
134
- this.keyAST = keyAST;
135
- this.key = key;
136
- this.error = error;
137
- }
138
- [tsplus_module_1.equalsSymbol](that, context) {
139
- return hasTag(that, 3 /* ParseErrorTag.Key */) && context.comparator(this.keyAST, that.keyAST) && context.comparator(this.key, that.key) && context.comparator(this.error, that.error);
140
- }
141
- }
127
+ * @tsplus companion fncts.schema.ParseError.KeyError
128
+ */
129
+ var KeyError = class {
130
+ keyAST;
131
+ key;
132
+ error;
133
+ _tag = 3;
134
+ constructor(keyAST, key, error) {
135
+ this.keyAST = keyAST;
136
+ this.key = key;
137
+ this.error = error;
138
+ }
139
+ [tsplus_module_1.equalsSymbol](that, context) {
140
+ return hasTag(that, 3) && context.comparator(this.keyAST, that.keyAST) && context.comparator(this.key, that.key) && context.comparator(this.error, that.error);
141
+ }
142
+ };
142
143
  /**
143
- * @tsplus static fncts.schema.ParseError.KeyError __call
144
- * @tsplus static fncts.schema.ParseErrorOps KeyError
145
- */
146
- export function keyError(keyAST, key, error) {
147
- return new KeyError(keyAST, key, error);
144
+ * @tsplus static fncts.schema.ParseError.KeyError __call
145
+ * @tsplus static fncts.schema.ParseErrorOps KeyError
146
+ */
147
+ function keyError(keyAST, key, error) {
148
+ return new KeyError(keyAST, key, error);
148
149
  }
149
150
  /**
150
- * @tsplus companion fncts.schema.ParseError.MissingError
151
- */
152
- export class MissingError {
153
- _tag = 4 /* ParseErrorTag.Missing */;
154
- [tsplus_module_1.equalsSymbol](that) {
155
- return hasTag(that, 4 /* ParseErrorTag.Missing */);
156
- }
157
- }
151
+ * @tsplus companion fncts.schema.ParseError.MissingError
152
+ */
153
+ var MissingError = class {
154
+ _tag = 4;
155
+ [tsplus_module_1.equalsSymbol](that) {
156
+ return hasTag(that, 4);
157
+ }
158
+ };
158
159
  /**
159
- * @tsplus static fncts.schema.ParseErrorOps MissingError
160
- */
161
- export const missingError = /*#__PURE__*/new MissingError();
160
+ * @tsplus static fncts.schema.ParseErrorOps MissingError
161
+ */
162
+ const missingError = new MissingError();
162
163
  /**
163
- * @tsplus companion fncts.schema.ParseError.UnexpectedError
164
- */
165
- export class UnexpectedError {
166
- actual;
167
- _tag = 5 /* ParseErrorTag.Unexpected */;
168
- constructor(actual) {
169
- this.actual = actual;
170
- }
171
- [tsplus_module_1.equalsSymbol](that, context) {
172
- return hasTag(that, 5 /* ParseErrorTag.Unexpected */) && context.comparator(this.actual, that.actual);
173
- }
174
- }
164
+ * @tsplus companion fncts.schema.ParseError.UnexpectedError
165
+ */
166
+ var UnexpectedError = class {
167
+ actual;
168
+ _tag = 5;
169
+ constructor(actual) {
170
+ this.actual = actual;
171
+ }
172
+ [tsplus_module_1.equalsSymbol](that, context) {
173
+ return hasTag(that, 5) && context.comparator(this.actual, that.actual);
174
+ }
175
+ };
175
176
  /**
176
- * @tsplus static fncts.schema.ParseError.UnexpectedError __call
177
- * @tsplus static fncts.schema.ParseErrorOps UnexpectedError
178
- */
179
- export function unexpectedError(actual) {
180
- return new UnexpectedError(actual);
177
+ * @tsplus static fncts.schema.ParseError.UnexpectedError __call
178
+ * @tsplus static fncts.schema.ParseErrorOps UnexpectedError
179
+ */
180
+ function unexpectedError(actual) {
181
+ return new UnexpectedError(actual);
181
182
  }
182
183
  /**
183
- * @tsplus companion fncts.schema.ParseError.UnionError
184
- */
185
- export class UnionError {
186
- ast;
187
- actual;
188
- errors;
189
- _tag = 11 /* ParseErrorTag.Union */;
190
- constructor(ast, actual, errors) {
191
- this.ast = ast;
192
- this.actual = actual;
193
- this.errors = errors;
194
- }
195
- [tsplus_module_1.equalsSymbol](that, context) {
196
- return hasTag(that, 11 /* ParseErrorTag.Union */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors);
197
- }
198
- }
184
+ * @tsplus companion fncts.schema.ParseError.UnionError
185
+ */
186
+ var UnionError = class {
187
+ ast;
188
+ actual;
189
+ errors;
190
+ _tag = 11;
191
+ constructor(ast, actual, errors) {
192
+ this.ast = ast;
193
+ this.actual = actual;
194
+ this.errors = errors;
195
+ }
196
+ [tsplus_module_1.equalsSymbol](that, context) {
197
+ return hasTag(that, 11) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors);
198
+ }
199
+ };
199
200
  /**
200
- * @tsplus static fncts.schema.ParseError.UnionError __call
201
- * @tsplus static fncts.schema.ParseErrorOps UnionError
202
- */
203
- export function unionError(ast, actual, errors) {
204
- return new UnionError(ast, actual, errors);
201
+ * @tsplus static fncts.schema.ParseError.UnionError __call
202
+ * @tsplus static fncts.schema.ParseErrorOps UnionError
203
+ */
204
+ function unionError(ast, actual, errors) {
205
+ return new UnionError(ast, actual, errors);
205
206
  }
206
207
  /**
207
- * @tsplus companion fncts.schema.ParseError.UnionMemberError
208
- */
209
- export class UnionMemberError {
210
- ast;
211
- error;
212
- _tag = 6 /* ParseErrorTag.UnionMember */;
213
- constructor(ast, error) {
214
- this.ast = ast;
215
- this.error = error;
216
- }
217
- [tsplus_module_1.equalsSymbol](that, context) {
218
- return hasTag(that, 6 /* ParseErrorTag.UnionMember */) && context.comparator(this.ast, that.ast) && context.comparator(this.error, that.error);
219
- }
220
- }
208
+ * @tsplus companion fncts.schema.ParseError.UnionMemberError
209
+ */
210
+ var UnionMemberError = class {
211
+ ast;
212
+ error;
213
+ _tag = 6;
214
+ constructor(ast, error) {
215
+ this.ast = ast;
216
+ this.error = error;
217
+ }
218
+ [tsplus_module_1.equalsSymbol](that, context) {
219
+ return hasTag(that, 6) && context.comparator(this.ast, that.ast) && context.comparator(this.error, that.error);
220
+ }
221
+ };
221
222
  /**
222
- * @tsplus static fncts.schema.ParseError.UnionMemberError __call
223
- * @tsplus static fncts.schema.ParseErrorOps UnionMemberError
224
- */
225
- export function unionMemberError(ast, error) {
226
- return new UnionMemberError(ast, error);
223
+ * @tsplus static fncts.schema.ParseError.UnionMemberError __call
224
+ * @tsplus static fncts.schema.ParseErrorOps UnionMemberError
225
+ */
226
+ function unionMemberError(ast, error) {
227
+ return new UnionMemberError(ast, error);
227
228
  }
228
229
  /**
229
- * @tsplus companion fncts.schema.ParseError.RefinementError
230
- */
231
- export class RefinementError {
232
- ast;
233
- actual;
234
- kind;
235
- error;
236
- _tag = 7 /* ParseErrorTag.Refinement */;
237
- constructor(ast, actual, kind, error) {
238
- this.ast = ast;
239
- this.actual = actual;
240
- this.kind = kind;
241
- this.error = error;
242
- }
243
- [tsplus_module_1.equalsSymbol](that, context) {
244
- return hasTag(that, 7 /* ParseErrorTag.Refinement */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.kind, that.kind) && context.comparator(this.error, that.error);
245
- }
246
- }
230
+ * @tsplus companion fncts.schema.ParseError.RefinementError
231
+ */
232
+ var RefinementError = class {
233
+ ast;
234
+ actual;
235
+ kind;
236
+ error;
237
+ _tag = 7;
238
+ constructor(ast, actual, kind, error) {
239
+ this.ast = ast;
240
+ this.actual = actual;
241
+ this.kind = kind;
242
+ this.error = error;
243
+ }
244
+ [tsplus_module_1.equalsSymbol](that, context) {
245
+ return hasTag(that, 7) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.kind, that.kind) && context.comparator(this.error, that.error);
246
+ }
247
+ };
247
248
  /**
248
- * @tsplus static fncts.schema.ParseError.RefinementError __call
249
- * @tsplus static fncts.schema.ParseErrorOps RefinementError
250
- */
251
- export function refinementError(ast, actual, kind, error) {
252
- return new RefinementError(ast, actual, kind, error);
249
+ * @tsplus static fncts.schema.ParseError.RefinementError __call
250
+ * @tsplus static fncts.schema.ParseErrorOps RefinementError
251
+ */
252
+ function refinementError(ast, actual, kind, error) {
253
+ return new RefinementError(ast, actual, kind, error);
253
254
  }
254
255
  /**
255
- * @tsplus companion fncts.schema.ParseError.TransformationError
256
- */
257
- export class TransformationError {
258
- ast;
259
- actual;
260
- kind;
261
- error;
262
- _tag = 8 /* ParseErrorTag.Transformation */;
263
- constructor(ast, actual, kind, error) {
264
- this.ast = ast;
265
- this.actual = actual;
266
- this.kind = kind;
267
- this.error = error;
268
- }
269
- [tsplus_module_1.equalsSymbol](that, context) {
270
- return hasTag(that, 8 /* ParseErrorTag.Transformation */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.kind, that.kind) && context.comparator(this.error, that.error);
271
- }
272
- }
256
+ * @tsplus companion fncts.schema.ParseError.TransformationError
257
+ */
258
+ var TransformationError = class {
259
+ ast;
260
+ actual;
261
+ kind;
262
+ error;
263
+ _tag = 8;
264
+ constructor(ast, actual, kind, error) {
265
+ this.ast = ast;
266
+ this.actual = actual;
267
+ this.kind = kind;
268
+ this.error = error;
269
+ }
270
+ [tsplus_module_1.equalsSymbol](that, context) {
271
+ return hasTag(that, 8) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.kind, that.kind) && context.comparator(this.error, that.error);
272
+ }
273
+ };
273
274
  /**
274
- * @tsplus static fncts.schema.ParseError.TransformationError __call
275
- * @tsplus static fncts.schema.ParseErrorOps TransformationError
276
- */
277
- export function transformationError(ast, actual, kind, error) {
278
- return new TransformationError(ast, actual, kind, error);
275
+ * @tsplus static fncts.schema.ParseError.TransformationError __call
276
+ * @tsplus static fncts.schema.ParseErrorOps TransformationError
277
+ */
278
+ function transformationError(ast, actual, kind, error) {
279
+ return new TransformationError(ast, actual, kind, error);
279
280
  }
280
281
  /**
281
- * @tsplus companion fncts.schema.ParseError.IterableError
282
- */
283
- export class IterableError {
284
- ast;
285
- actual;
286
- errors;
287
- _tag = 12 /* ParseErrorTag.Iterable */;
288
- constructor(ast, actual, errors) {
289
- this.ast = ast;
290
- this.actual = actual;
291
- this.errors = errors;
292
- }
293
- [tsplus_module_1.equalsSymbol](that, context) {
294
- return hasTag(that, 12 /* ParseErrorTag.Iterable */) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors);
295
- }
296
- }
282
+ * @tsplus companion fncts.schema.ParseError.IterableError
283
+ */
284
+ var IterableError = class {
285
+ ast;
286
+ actual;
287
+ errors;
288
+ _tag = 12;
289
+ constructor(ast, actual, errors) {
290
+ this.ast = ast;
291
+ this.actual = actual;
292
+ this.errors = errors;
293
+ }
294
+ [tsplus_module_1.equalsSymbol](that, context) {
295
+ return hasTag(that, 12) && context.comparator(this.ast, that.ast) && context.comparator(this.actual, that.actual) && context.comparator(this.errors, that.errors);
296
+ }
297
+ };
297
298
  /**
298
- * @tsplus static fncts.schema.ParseError.IterableError __call
299
- * @tsplus static fncts.schema.ParseErrorOps IterableError
300
- */
301
- export function iterableError(ast, actual, errors) {
302
- return new IterableError(ast, actual, errors);
299
+ * @tsplus static fncts.schema.ParseError.IterableError __call
300
+ * @tsplus static fncts.schema.ParseErrorOps IterableError
301
+ */
302
+ function iterableError(ast, actual, errors) {
303
+ return new IterableError(ast, actual, errors);
303
304
  }
305
+ //#endregion
306
+ export { DeclarationError, IndexError, IterableError, KeyError, MissingError, RefinementError, TransformationError, TupleError, TypeError, TypeLiteralError, UnexpectedError, UnionError, UnionMemberError, declarationError, indexError, iterableError, keyError, missingError, refinementError, transformationError, tupleError, typeError, typeLiteralError, unexpectedError, unionError, unionMemberError };
307
+
304
308
  //# sourceMappingURL=ParseError.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParseError.mjs","names":["hasTag","u","tag","_tag","DeclarationError","ast","actual","error","constructor","tsplus_module_1","equalsSymbol","that","context","comparator","declarationError","TypeError","typeError","expected","TypeLiteralError","errors","output","typeLiteralError","TupleError","tupleError","IndexError","index","indexError","KeyError","keyAST","key","keyError","MissingError","missingError","UnexpectedError","unexpectedError","UnionError","unionError","UnionMemberError","unionMemberError","RefinementError","kind","refinementError","TransformationError","transformationError","IterableError","iterableError"],"sources":["../../_src/ParseError/ParseError.ts"],"sourcesContent":[null],"mappings":";AAmCA,SAASA,MAAMA,CAAmCC,CAAU,EAAEC,GAAM;EAClE,OAAO,OAAOD,CAAC,KAAK,QAAQ,IAAIA,CAAC,KAAK,IAAI,IAAI,MAAM,IAAIA,CAAC,IAAKA,CAAoB,CAACE,IAAI,KAAKD,GAAG;AACjG;AAEA;;;AAGA,OAAM,MAAOE,gBAAgB;EAGhBC,GAAA;EACAC,MAAA;EACAC,KAAA;EAJFJ,IAAI;EACbK,YACWH,GAAgB,EAChBC,MAAe,EACfC,KAAiB;IAFjB,KAAAF,GAAG,GAAHA,GAAG;IACH,KAAAC,MAAM,GAANA,MAAM;IACN,KAAAC,KAAK,GAALA,KAAK;EACb;EAEH,CAAAE,eAAA,CAAAC,YAAA,EAAgBC,IAAa,EAAEC,OAAsB;IACnD,OACEZ,MAAM,CAACW,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,CAACxC,GAAQ,EAAEC,MAAe,EAAEa,MAAqC;EAC5F,OAAO,IAAIyB,aAAa,CAACvC,GAAG,EAAEC,MAAM,EAAEa,MAAM,CAAC;AAC/C","ignoreList":[]}
1
+ {"version":3,"file":"ParseError.mjs","names":[],"sources":["../../esm/ParseError/ParseError.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Equatable/definition\";\nfunction hasTag(u, tag) {\n return typeof u === \"object\" && u !== null && \"_tag\" in u && u._tag === tag;\n}\n/**\n * @tsplus companion fncts.schema.ParseError.DeclarationError\n */\nexport class DeclarationError {\n ast;\n actual;\n error;\n _tag = 0 /* ParseErrorTag.Declaration */;\n constructor(ast, actual, error) {\n this.ast = ast;\n this.actual = actual;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 0 /* ParseErrorTag.Declaration */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.DeclarationError __call\n * @tsplus static fncts.schema.ParseErrorOps DeclarationError\n */\nexport function declarationError(ast, actual, error) {\n return new DeclarationError(ast, actual, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.TypeError\n */\nexport class TypeError {\n ast;\n actual;\n _tag = 1 /* ParseErrorTag.Type */;\n constructor(ast, actual) {\n this.ast = ast;\n this.actual = actual;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 1 /* ParseErrorTag.Type */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.TypeError __call\n * @tsplus static fncts.schema.ParseErrorOps TypeError\n */\nexport function typeError(expected, actual) {\n return new TypeError(expected, actual);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.TypeLiteralError\n */\nexport class TypeLiteralError {\n ast;\n actual;\n errors;\n output;\n _tag = 9 /* ParseErrorTag.TypeLiteral */;\n constructor(ast, actual, errors, output = {}) {\n this.ast = ast;\n this.actual = actual;\n this.errors = errors;\n this.output = output;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 9 /* ParseErrorTag.TypeLiteral */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.errors, that.errors) &&\n context.comparator(this.output, that.output));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.TypeLiteralError __call\n * @tsplus static fncts.schema.ParseErrorOps TypeLiteralError\n */\nexport function typeLiteralError(ast, actual, errors, output = {}) {\n return new TypeLiteralError(ast, actual, errors, output);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.TupleError\n */\nexport class TupleError {\n ast;\n actual;\n errors;\n output;\n _tag = 10 /* ParseErrorTag.Tuple */;\n constructor(ast, actual, errors, output = []) {\n this.ast = ast;\n this.actual = actual;\n this.errors = errors;\n this.output = output;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 10 /* ParseErrorTag.Tuple */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.errors, that.errors) &&\n context.comparator(this.output, that.output));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.TupleError __call\n * @tsplus static fncts.schema.ParseErrorOps TupleError\n */\nexport function tupleError(ast, actual, errors, output = []) {\n return new TupleError(ast, actual, errors, output);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.IndexError\n */\nexport class IndexError {\n index;\n error;\n _tag = 2 /* ParseErrorTag.Index */;\n constructor(index, error) {\n this.index = index;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 2 /* ParseErrorTag.Index */) &&\n context.comparator(this.index, that.index) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.IndexError __call\n * @tsplus static fncts.schema.ParseErrorOps IndexError\n */\nexport function indexError(index, error) {\n return new IndexError(index, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.KeyError\n */\nexport class KeyError {\n keyAST;\n key;\n error;\n _tag = 3 /* ParseErrorTag.Key */;\n constructor(keyAST, key, error) {\n this.keyAST = keyAST;\n this.key = key;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 3 /* ParseErrorTag.Key */) &&\n context.comparator(this.keyAST, that.keyAST) &&\n context.comparator(this.key, that.key) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.KeyError __call\n * @tsplus static fncts.schema.ParseErrorOps KeyError\n */\nexport function keyError(keyAST, key, error) {\n return new KeyError(keyAST, key, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.MissingError\n */\nexport class MissingError {\n _tag = 4 /* ParseErrorTag.Missing */;\n [tsplus_module_1.equalsSymbol](that) {\n return hasTag(that, 4 /* ParseErrorTag.Missing */);\n }\n}\n/**\n * @tsplus static fncts.schema.ParseErrorOps MissingError\n */\nexport const missingError = new MissingError();\n/**\n * @tsplus companion fncts.schema.ParseError.UnexpectedError\n */\nexport class UnexpectedError {\n actual;\n _tag = 5 /* ParseErrorTag.Unexpected */;\n constructor(actual) {\n this.actual = actual;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return hasTag(that, 5 /* ParseErrorTag.Unexpected */) && context.comparator(this.actual, that.actual);\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.UnexpectedError __call\n * @tsplus static fncts.schema.ParseErrorOps UnexpectedError\n */\nexport function unexpectedError(actual) {\n return new UnexpectedError(actual);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.UnionError\n */\nexport class UnionError {\n ast;\n actual;\n errors;\n _tag = 11 /* ParseErrorTag.Union */;\n constructor(ast, actual, errors) {\n this.ast = ast;\n this.actual = actual;\n this.errors = errors;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 11 /* ParseErrorTag.Union */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.errors, that.errors));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.UnionError __call\n * @tsplus static fncts.schema.ParseErrorOps UnionError\n */\nexport function unionError(ast, actual, errors) {\n return new UnionError(ast, actual, errors);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.UnionMemberError\n */\nexport class UnionMemberError {\n ast;\n error;\n _tag = 6 /* ParseErrorTag.UnionMember */;\n constructor(ast, error) {\n this.ast = ast;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 6 /* ParseErrorTag.UnionMember */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.UnionMemberError __call\n * @tsplus static fncts.schema.ParseErrorOps UnionMemberError\n */\nexport function unionMemberError(ast, error) {\n return new UnionMemberError(ast, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.RefinementError\n */\nexport class RefinementError {\n ast;\n actual;\n kind;\n error;\n _tag = 7 /* ParseErrorTag.Refinement */;\n constructor(ast, actual, kind, error) {\n this.ast = ast;\n this.actual = actual;\n this.kind = kind;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 7 /* ParseErrorTag.Refinement */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.kind, that.kind) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.RefinementError __call\n * @tsplus static fncts.schema.ParseErrorOps RefinementError\n */\nexport function refinementError(ast, actual, kind, error) {\n return new RefinementError(ast, actual, kind, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.TransformationError\n */\nexport class TransformationError {\n ast;\n actual;\n kind;\n error;\n _tag = 8 /* ParseErrorTag.Transformation */;\n constructor(ast, actual, kind, error) {\n this.ast = ast;\n this.actual = actual;\n this.kind = kind;\n this.error = error;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 8 /* ParseErrorTag.Transformation */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.kind, that.kind) &&\n context.comparator(this.error, that.error));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.TransformationError __call\n * @tsplus static fncts.schema.ParseErrorOps TransformationError\n */\nexport function transformationError(ast, actual, kind, error) {\n return new TransformationError(ast, actual, kind, error);\n}\n/**\n * @tsplus companion fncts.schema.ParseError.IterableError\n */\nexport class IterableError {\n ast;\n actual;\n errors;\n _tag = 12 /* ParseErrorTag.Iterable */;\n constructor(ast, actual, errors) {\n this.ast = ast;\n this.actual = actual;\n this.errors = errors;\n }\n [tsplus_module_1.equalsSymbol](that, context) {\n return (hasTag(that, 12 /* ParseErrorTag.Iterable */) &&\n context.comparator(this.ast, that.ast) &&\n context.comparator(this.actual, that.actual) &&\n context.comparator(this.errors, that.errors));\n }\n}\n/**\n * @tsplus static fncts.schema.ParseError.IterableError __call\n * @tsplus static fncts.schema.ParseErrorOps IterableError\n */\nexport function iterableError(ast, actual, errors) {\n return new IterableError(ast, actual, errors);\n}\n//# sourceMappingURL=ParseError.js.map"],"mappings":";;AACA,SAAS,OAAO,GAAG,KAAK;AACpB,QAAO,OAAO,MAAM,YAAY,MAAM,QAAQ,UAAU,KAAK,EAAE,SAAS;;;;;AAK5E,IAAa,mBAAb,MAA8B;CAC1B;CACA;CACA;CACA,OAAO;CACP,YAAY,KAAK,QAAQ,OAAO;AAC5B,OAAK,MAAM;AACX,OAAK,SAAS;AACd,OAAK,QAAQ;;CAEjB,CAAC,gBAAgB,cAAc,MAAM,SAAS;AAC1C,SAAQ,OAAO,MAAM,EAAkC,IACnD,QAAQ,WAAW,KAAK,KAAK,KAAK,IAAI,IACtC,QAAQ,WAAW,KAAK,QAAQ,KAAK,OAAO,IAC5C,QAAQ,WAAW,KAAK,OAAO,KAAK,MAAM;;;;;;;AAOtD,SAAgB,iB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