occam-verify-cli 1.0.955 → 1.0.972

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 (89) hide show
  1. package/lib/context/bounded.js +11 -7
  2. package/lib/context.js +17 -5
  3. package/lib/element/assertion/signature.js +17 -19
  4. package/lib/element/assertion/subproof.js +36 -39
  5. package/lib/element/assertion/type.js +20 -1
  6. package/lib/element/assumption/metaLevel.js +18 -17
  7. package/lib/element/assumption.js +52 -3
  8. package/lib/element/combinator.js +10 -12
  9. package/lib/element/conclusion.js +33 -33
  10. package/lib/element/constructor.js +8 -12
  11. package/lib/element/deduction.js +33 -33
  12. package/lib/element/equivalence.js +11 -7
  13. package/lib/element/hypothesis.js +45 -19
  14. package/lib/element/judgement.js +1 -1
  15. package/lib/element/label.js +9 -11
  16. package/lib/element/parameter.js +2 -2
  17. package/lib/element/procedureCall.js +1 -1
  18. package/lib/element/proofAssertion/premise.js +98 -87
  19. package/lib/element/proofAssertion/step.js +27 -27
  20. package/lib/element/proofAssertion/supposition.js +99 -88
  21. package/lib/element/proofAssertion.js +3 -3
  22. package/lib/element/property.js +1 -2
  23. package/lib/element/reference.js +30 -38
  24. package/lib/element/section.js +1 -1
  25. package/lib/element/signature.js +38 -47
  26. package/lib/element/statement.js +18 -58
  27. package/lib/element/substitution/frame.js +33 -38
  28. package/lib/element/substitution/reference.js +12 -13
  29. package/lib/element/substitution/statement.js +26 -31
  30. package/lib/element/substitution/term.js +32 -37
  31. package/lib/element/term.js +2 -2
  32. package/lib/element/topLevelAssertion/axiom.js +33 -34
  33. package/lib/element/topLevelAssertion.js +30 -7
  34. package/lib/element/topLevelMetaAssertion.js +2 -2
  35. package/lib/process/discharge.js +38 -0
  36. package/lib/process/unification.js +228 -0
  37. package/lib/process/unify.js +9 -5
  38. package/lib/process/validation.js +291 -0
  39. package/lib/utilities/context.js +69 -101
  40. package/lib/utilities/element.js +2 -4
  41. package/lib/utilities/string.js +4 -4
  42. package/package.json +4 -4
  43. package/src/context/bounded.js +19 -7
  44. package/src/context.js +26 -6
  45. package/src/element/assertion/signature.js +21 -26
  46. package/src/element/assertion/subproof.js +43 -46
  47. package/src/element/assertion/type.js +30 -1
  48. package/src/element/assumption/metaLevel.js +26 -22
  49. package/src/element/assumption.js +80 -2
  50. package/src/element/combinator.js +11 -14
  51. package/src/element/conclusion.js +38 -37
  52. package/src/element/constructor.js +9 -14
  53. package/src/element/deduction.js +38 -37
  54. package/src/element/equivalence.js +17 -13
  55. package/src/element/hypothesis.js +59 -19
  56. package/src/element/judgement.js +1 -1
  57. package/src/element/label.js +10 -12
  58. package/src/element/parameter.js +1 -1
  59. package/src/element/procedureCall.js +1 -1
  60. package/src/element/proofAssertion/premise.js +123 -107
  61. package/src/element/proofAssertion/step.js +29 -29
  62. package/src/element/proofAssertion/supposition.js +124 -108
  63. package/src/element/proofAssertion.js +2 -2
  64. package/src/element/property.js +0 -1
  65. package/src/element/reference.js +36 -47
  66. package/src/element/section.js +1 -1
  67. package/src/element/signature.js +42 -53
  68. package/src/element/statement.js +18 -89
  69. package/src/element/substitution/frame.js +37 -47
  70. package/src/element/substitution/reference.js +13 -16
  71. package/src/element/substitution/statement.js +27 -34
  72. package/src/element/substitution/term.js +37 -46
  73. package/src/element/term.js +1 -1
  74. package/src/element/topLevelAssertion/axiom.js +43 -45
  75. package/src/element/topLevelAssertion.js +42 -6
  76. package/src/element/topLevelMetaAssertion.js +2 -2
  77. package/src/process/discharge.js +33 -0
  78. package/src/{utilities → process}/unification.js +21 -27
  79. package/src/process/unify.js +9 -5
  80. package/src/{utilities → process}/validation.js +2 -2
  81. package/src/utilities/context.js +78 -123
  82. package/src/utilities/element.js +2 -5
  83. package/src/utilities/string.js +6 -6
  84. package/lib/context/ephemeral.js +0 -28
  85. package/lib/context/synoptic.js +0 -255
  86. package/lib/utilities/unification.js +0 -233
  87. package/lib/utilities/validation.js +0 -291
  88. package/src/context/ephemeral.js +0 -17
  89. package/src/context/synoptic.js +0 -361
@@ -2,8 +2,6 @@
2
2
 
3
3
  import elements from "../elements";
4
4
 
5
- import { descend } from "./context";
6
-
7
5
  async function unifyStepWithRule(step, context) {
8
6
  let stepUnifiesWithRule = false;
9
7
 
@@ -224,8 +222,8 @@ async function unifyStepAsUnqualifiedSignatureAssertion(step, context) {
224
222
  return stepUnifiesAsUnqualifiedSignatureAssertion;
225
223
  }
226
224
 
227
- async function validateStepAsMetaLevelAssumption(step, context) {
228
- let stepValidatesAsMetaLevelAssumption = false;
225
+ async function unifyStepAsQualifiedMetaLevelAssumption(step, context) {
226
+ let stepUnifiesAsQualifiedMetaLevelAssumption = false;
229
227
 
230
228
  const metaLevel = context.isMetaLevel();
231
229
 
@@ -234,37 +232,33 @@ async function validateStepAsMetaLevelAssumption(step, context) {
234
232
 
235
233
  if (reference !== null) {
236
234
  const stepString = step.getString(),
237
- topLevelAssertion = context.findTopLevelAssertionByReference(reference);
235
+ referenceString = reference.getString();
238
236
 
239
- if (topLevelAssertion === null) {
240
- context.trace(`Validating the '${stepString}' step as a meta-level assumption...`);
237
+ context.trace(`Unifying the '${stepString}' step as a meta-level assumption with the '${referenceString}' reference...`);
241
238
 
242
- descend((context) => {
243
- let metaLevelAssumption;
239
+ let metaLevelAssumption;
244
240
 
245
- const { MetaLevelAssumption } = elements;
241
+ const { MetaLevelAssumption } = elements;
246
242
 
247
- metaLevelAssumption = MetaLevelAssumption.fromStep(step, context);
243
+ metaLevelAssumption = MetaLevelAssumption.fromStep(step, context);
248
244
 
249
- metaLevelAssumption = metaLevelAssumption.validate(context); ///
245
+ metaLevelAssumption = metaLevelAssumption.validate(context); ///
250
246
 
251
- if (metaLevelAssumption !== null) {
252
- stepValidatesAsMetaLevelAssumption = true;
253
- }
254
- }, context);
247
+ if (metaLevelAssumption !== null) {
248
+ stepUnifiesAsQualifiedMetaLevelAssumption = true;
249
+ }
255
250
 
256
- if (stepValidatesAsMetaLevelAssumption) {
257
- context.debug(`...validated the '${stepString}' step as a meta-level assumption.`);
258
- }
251
+ if (stepUnifiesAsQualifiedMetaLevelAssumption) {
252
+ context.debug(`...unified the '${stepString}' step as a meta-level assumption with the '${referenceString}' reference.`);
259
253
  }
260
254
  }
261
255
  }
262
256
 
263
- return stepValidatesAsMetaLevelAssumption;
257
+ return stepUnifiesAsQualifiedMetaLevelAssumption;
264
258
  }
265
259
 
266
- async function unifyStepAsSignatureAssertion(step, context) {
267
- let stepUnifiesAsSignatureAssertion = false;
260
+ async function unifyStepAsQualifiedSignatureAssertion(step, context) {
261
+ let stepUnifiesAsQualifiedSignatureAssertion = false;
268
262
 
269
263
  const reference = step.getReference();
270
264
 
@@ -285,17 +279,17 @@ async function unifyStepAsSignatureAssertion(step, context) {
285
279
  const unifyTopLevelAssertion = await signatureAssertion.unifyTopLevelAssertion(topLevelAssertion, context);
286
280
 
287
281
  if (unifyTopLevelAssertion) {
288
- stepUnifiesAsSignatureAssertion = true;
282
+ stepUnifiesAsQualifiedSignatureAssertion = true;
289
283
  }
290
284
 
291
- if (stepUnifiesAsSignatureAssertion) {
285
+ if (stepUnifiesAsQualifiedSignatureAssertion) {
292
286
  context.debug(`...unified the '${stepString}' step as a signature assertion with the '${referenceString}' reference.`);
293
287
  }
294
288
  }
295
289
  }
296
290
  }
297
291
 
298
- return stepUnifiesAsSignatureAssertion;
292
+ return stepUnifiesAsQualifiedSignatureAssertion;
299
293
  }
300
294
 
301
295
  async function compareStepWithSubproofOrProofAssertions(step, context) {
@@ -332,7 +326,7 @@ export const unifySteps = [
332
326
  unifyStepAsUnqualifiedTypeAssertion,
333
327
  unifyStepAsUnqualifiedPropertyAssertion,
334
328
  unifyStepAsUnqualifiedSignatureAssertion,
335
- validateStepAsMetaLevelAssumption,
336
- unifyStepAsSignatureAssertion,
329
+ unifyStepAsQualifiedMetaLevelAssumption,
330
+ unifyStepAsQualifiedSignatureAssertion,
337
331
  compareStepWithSubproofOrProofAssertions
338
332
  ];
@@ -4,6 +4,7 @@ import { queryUtilities, ZipPass as ZipPassBase } from "occam-languages";
4
4
 
5
5
  import ZipPass from "../pass/zip";
6
6
 
7
+ import { reconcile } from "../utilities/context";
7
8
  import { FRAME_META_TYPE_NAME, STATEMENT_META_TYPE_NAME } from "../metaTypeNames";
8
9
  import { termFromTermNode, frameFromFrameNode, statementFromStatementNode } from "../utilities/element";
9
10
 
@@ -159,12 +160,15 @@ class MetaLevelPass extends ZipPassBase {
159
160
 
160
161
  context = specificContext; ///
161
162
 
162
- const specificSignature = context.findSignatureBySignatureNode(specificSignatureNode),
163
- signatureUnifies = generalSignature.unifySignature(specificSignature, generalContext, specificContext);
163
+ const specificSignature = context.findSignatureBySignatureNode(specificSignatureNode);
164
164
 
165
- if (signatureUnifies) {
166
- success = true;
167
- }
165
+ reconcile((context) => {
166
+ const signatureUnifies = generalSignature.unifySignature(specificSignature, context);
167
+
168
+ if (signatureUnifies) {
169
+ success = true;
170
+ }
171
+ }, context)
168
172
 
169
173
  return success;
170
174
  }
@@ -2,8 +2,8 @@
2
2
 
3
3
  import elements from "../elements";
4
4
 
5
- import { choose, descend } from "./context";
6
- import { provisionallyStringFromProvisional } from "./string";
5
+ import { choose, descend } from "../utilities/context";
6
+ import { provisionallyStringFromProvisional } from "../utilities/string";
7
7
  import { bracketedConstructorFromNothing, bracketedCombinatorFromNothing } from "../utilities/instance";
8
8
 
9
9
  function validateTermAsVariable(term, context, validateForwards) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import MenmicContext from "../context/mnemic";
3
+ import MnemicContext from "../context/mnemic";
4
4
  import NestedContext from "../context/nested";
5
5
  import TheticContext from "../context/thetic";
6
6
  import AphasicContext from "../context/aphasic";
@@ -9,33 +9,16 @@ import NominalContext from "../context/nominal";
9
9
  import LiteralContext from "../context/literal";
10
10
  import LiminalContext from "../context/liminal";
11
11
  import PhanericContext from "../context/phaneric";
12
- import SynopticContext from "../context/synoptic";
13
12
  import IllativeContext from "../context/illative";
14
- import EphemeralContext from "../context/ephemeral";
15
13
  import BranchingContext from "../context/branching";
16
14
  import NominalFileContext from "../context/file/nominal";
17
15
 
18
16
  import { mnemicContextFromJSON, mnemicContextsFromJSON, mnemicContextToMnemicContextJSON, mnemicContextsToMnemicContextsJSON } from "../utilities/json";
19
17
 
20
- export function join(innerFunction, ...contexts) {
21
- contexts = contexts.filter((context) => {
22
- if (context !== null) {
23
- return true;
24
- }
25
- });
26
-
27
- const synopticContext = SynopticContext.fromContexts(contexts),
28
- context = synopticContext; ///
29
-
30
- return innerFunction(context);
31
- }
32
-
33
- export function posit(innerFunction, context) {
34
- const ephemeralContext = EphemeralContext.fromNothing(context);
35
-
36
- context = ephemeralContext; ///
18
+ export function evaluate(procedure, terms) {
19
+ const context = procedure.getContext();
37
20
 
38
- return innerFunction(context);
21
+ return procedure.call(terms, context);
39
22
  }
40
23
 
41
24
  export function ground(innerFunction) {
@@ -52,20 +35,10 @@ export function ground(innerFunction) {
52
35
  return innerFunction(context);
53
36
  }
54
37
 
55
- export function ablate(innerFunction, context) {
56
- const released = context.isReleased();
57
-
58
- if (!released) {
59
- context = ablateContext(context);
60
- }
61
-
62
- return innerFunction(context);
63
- }
64
-
65
- export function choose(innerFunction, context) {
66
- const branchingContext = BranchingContext.fromNothing(context);
38
+ export function declare(innerFunction, context) {
39
+ const theticContext = TheticContext.fromNothing(context);
67
40
 
68
- context = branchingContext; ///
41
+ context = theticContext; ///
69
42
 
70
43
  return innerFunction(context);
71
44
  }
@@ -78,67 +51,72 @@ export function derive(innerFunction, context) {
78
51
  return innerFunction(context);
79
52
  }
80
53
 
81
- export function declare(innerFunction, context) {
82
- const theticContext = TheticContext.fromNothing(context);
54
+ export function elide(innerFunction, context) {
55
+ const aphasicContext = AphasicContext.fromNothing(context);
83
56
 
84
- context = theticContext; ///
57
+ context = aphasicContext; ///
85
58
 
86
59
  return innerFunction(context);
87
60
  }
88
61
 
89
- export function descend(innerFunction, context) {
90
- const nestedContext = NestedContext.fromNothing(context);
62
+ export function enclose(innerFunction, context) {
63
+ const boundedContext = BoundedContext.fromNothing(context);
91
64
 
92
- context = nestedContext; ///
65
+ context = boundedContext; ///
93
66
 
94
67
  return innerFunction(context);
95
68
  }
96
69
 
97
- export function attempt(innerFunction, context) {
98
- const released = context.isReleased();
99
-
100
- if (!released) {
101
- const mnemicContext = MenmicContext.fromNothing(context);
70
+ export function encapsulate(innerFunction, metaLevelAssumptions, context) {
71
+ const boundedContext = BoundedContext.fromMetaLevelAssumptions(metaLevelAssumptions, context);
102
72
 
103
- context = mnemicContext; ///
104
- }
73
+ context = boundedContext; ///
105
74
 
106
75
  return innerFunction(context);
107
76
  }
108
77
 
109
- export function enclose(innerFunction, metaLevelAssumptions, context) {
110
- if (context === undefined) {
111
- context = metaLevelAssumptions; ///
78
+ export function choose(innerFunction, context) {
79
+ const branchingContext = BranchingContext.fromNothing(context);
112
80
 
113
- metaLevelAssumptions = null;
114
- }
81
+ context = branchingContext; ///
115
82
 
116
- const boundedContext = BoundedContext.fromMetaLevelAssumptions(metaLevelAssumptions, context);
83
+ return innerFunction(context);
84
+ }
117
85
 
118
- context = boundedContext; ///
86
+ export function descend(innerFunction, context) {
87
+ const nestedContext = NestedContext.fromNothing(context);
88
+
89
+ context = nestedContext; ///
119
90
 
120
91
  return innerFunction(context);
121
92
  }
122
93
 
123
- export function manifest(innerFunction, ...contexts) {
124
- const phanericContext = PhanericContext.fromContexts(contexts),
125
- context = phanericContext; ///
94
+ export function ablate(innerFunction, context) {
95
+ const unreleased = context.isUnreleased();
96
+
97
+ if (unreleased) {
98
+ context = ablateContext(context); ///
99
+ }
126
100
 
127
101
  return innerFunction(context);
128
102
  }
129
103
 
130
- export function reconcile(innerFunction, context) {
131
- const liminalContext = LiminalContext.fromNothing(context);
104
+ export function attempt(innerFunction, context) {
105
+ const unreleased = context.isUnreleased();
132
106
 
133
- context = liminalContext; ///
107
+ if (unreleased) {
108
+ const mnemicContext = MnemicContext.fromNothing(context);
109
+
110
+ context = mnemicContext; ///
111
+ }
134
112
 
135
113
  return innerFunction(context);
136
114
  }
137
115
 
138
- export function sequester(innerFunction, context) {
139
- const aphasicContext = AphasicContext.fromNothing(context);
116
+ export function reconcile(innerFunction, context) {
117
+ const liminalContext = LiminalContext.fromNothing(context);
140
118
 
141
- context = aphasicContext; ///
119
+ context = liminalContext; ///
142
120
 
143
121
  return innerFunction(context);
144
122
  }
@@ -153,14 +131,6 @@ export function serialise(innerFunction, context) {
153
131
  return innerFunction(context);
154
132
  }
155
133
 
156
- export function instantiate(innerFunction, context) {
157
- const literalContext = LiteralContext.fromNothing(context);
158
-
159
- context = literalContext; ///
160
-
161
- return innerFunction(context);
162
- }
163
-
164
134
  export function unserialise(innerFunction, json, context) {
165
135
  const mnemicContext = mnemicContextFromJSON(json, context);
166
136
 
@@ -169,26 +139,34 @@ export function unserialise(innerFunction, json, context) {
169
139
  return innerFunction(json, context);
170
140
  }
171
141
 
172
- export function ablates(innerFunction, ...contexts) {
173
- contexts = contexts.map((context) => { ///
174
- const released = context.isReleased();
142
+ export function unserialises(innerFunction, json, context) {
143
+ const mnemicContexts = mnemicContextsFromJSON(json, context),
144
+ contexts = mnemicContexts; ///
175
145
 
176
- if (!released) {
177
- context = ablateContext(context);
178
- }
146
+ return innerFunction(json, ...contexts);
147
+ }
179
148
 
180
- return context;
181
- });
149
+ export function instantiate(innerFunction, context) {
150
+ const literalContext = LiteralContext.fromNothing(context);
182
151
 
183
- return innerFunction(...contexts);
152
+ context = literalContext; ///
153
+
154
+ return innerFunction(context);
155
+ }
156
+
157
+ export function manifest(innerFunction, ...contexts) {
158
+ const phanericContext = PhanericContext.fromContexts(contexts),
159
+ context = phanericContext; ///
160
+
161
+ return innerFunction(context);
184
162
  }
185
163
 
186
164
  export function attempts(innerFunction, ...contexts) {
187
165
  contexts = contexts.map((context) => { ///
188
- const released = context.isReleased();
166
+ const unreleased = context.isUnreleased();
189
167
 
190
- if (!released) {
191
- const mnemicContext = MenmicContext.fromNothing(context);
168
+ if (unreleased) {
169
+ const mnemicContext = MnemicContext.fromNothing(context);
192
170
 
193
171
  context = mnemicContext; ///
194
172
  }
@@ -209,60 +187,37 @@ export function serialises(innerFunction, ...contexts) {
209
187
  return innerFunction(...contexts);
210
188
  }
211
189
 
212
- export function unserialises(innerFunction, json, context) {
213
- const mnemicContexts = mnemicContextsFromJSON(json, context),
214
- contexts = mnemicContexts; ///
190
+ export function ablates(innerFunction, ...contexts) {
191
+ contexts = contexts.map((context) => { ///
192
+ const unreleased = context.isUnreleased();
215
193
 
216
- return innerFunction(json, ...contexts);
217
- }
194
+ if (unreleased) {
195
+ context = ablateContext(context); ///
196
+ }
218
197
 
219
- export function evaluate(procedure, terms) {
220
- const context = procedure.getContext();
198
+ return context;
199
+ });
221
200
 
222
- return procedure.call(terms, context);
201
+ return innerFunction(...contexts);
223
202
  }
224
203
 
225
204
  function ablateContext(context) {
226
- const stated = context.isStated();
227
-
228
- let contextExtraneousContext = isContextExtraneousContext(context);
229
-
230
- while (contextExtraneousContext) {
231
- context = context.getContext();
232
-
233
- contextExtraneousContext = isContextExtraneousContext(context);
234
- }
235
-
236
- const Context = stated ? TheticContext : IllativeContext;
237
-
238
- context = augmentContext(context, Context);
205
+ let contextGroundedContext = isContextGroundedContext(context);
239
206
 
240
- return context;
241
- }
207
+ while (!contextGroundedContext) {
208
+ context = context.getContext();
242
209
 
243
- function augmentContext(context, Context) {
244
- const contextContext = (context instanceof Context);
245
-
246
- if (!contextContext) {
247
- context = Context.fromNothing(context);
248
- }
210
+ contextGroundedContext = isContextGroundedContext(context);
211
+ }
249
212
 
250
213
  return context;
251
214
  }
252
215
 
253
- function isContextExtraneousContext(context) {
254
- const contextSubstantiveContext = isContextSubstantiveContext(context),
255
- contextExtraneousContext = !contextSubstantiveContext;
256
-
257
- return contextExtraneousContext;
258
- }
259
-
260
- function isContextSubstantiveContext(context) {
216
+ function isContextGroundedContext(context) {
261
217
  const contextTheticContext = (context instanceof TheticContext),
262
218
  contextIllativeContext = (context instanceof IllativeContext),
263
- contextBoundedContext = (context instanceof BoundedContext),
264
219
  contextNominalFileContext = (context instanceof NominalFileContext),
265
- contextSubstantiveContext = (contextTheticContext || contextIllativeContext || contextBoundedContext || contextNominalFileContext);
220
+ contextGroundedContext = (contextTheticContext || contextIllativeContext || contextNominalFileContext);
266
221
 
267
- return contextSubstantiveContext;
222
+ return contextGroundedContext;
268
223
  }
@@ -808,11 +808,8 @@ export function metaLevelAssumptionFromMetaLevelAssumptionNode(metaLevelAssumpti
808
808
  string = context.nodeAsString(node),
809
809
  breakPoint = null,
810
810
  reference = referenceFromMetaLevelAssumptionNode(metaLevelAssumptionNode, context),
811
- statement = statementFromMetaLevelAssumptionNode(metaLevelAssumptionNode, context);
812
-
813
- context = null;
814
-
815
- const metaLevelAssumption = new MetaLevelAssumption(context, string, node, breakPoint, reference, statement);
811
+ statement = statementFromMetaLevelAssumptionNode(metaLevelAssumptionNode, context),
812
+ metaLevelAssumption = new MetaLevelAssumption(context, string, node, breakPoint, reference, statement);
816
813
 
817
814
  return metaLevelAssumption;
818
815
  }
@@ -258,16 +258,16 @@ export function topLevelAssertionStringFromLabelsSignatureSuppositionsAndDeducti
258
258
  suppositionsString = suppositionsStringFromSuppositions(suppositions);
259
259
 
260
260
  topLevelAssertionString = (labelsString !== null) ?
261
- `${topLevelAssertionString}${labelsString} :: ` :
262
- `${topLevelAssertionString}`;
263
-
261
+ `${topLevelAssertionString}${labelsString}` :
262
+ `${topLevelAssertionString}`;
264
263
  topLevelAssertionString = (signatureString !== null) ?
265
- `${topLevelAssertionString} ${signatureString}` :
264
+ `${topLevelAssertionString}${signatureString}` :
266
265
  `${topLevelAssertionString}`;
267
266
 
267
+
268
268
  topLevelAssertionString = (suppositionsString !== null) ?
269
- `${topLevelAssertionString}[${suppositionsString}]...${deductionString}` :
270
- `${topLevelAssertionString}${deductionString}`;
269
+ `${topLevelAssertionString} :: [${suppositionsString}]...${deductionString}` :
270
+ `${topLevelAssertionString} :: ${deductionString}`;
271
271
 
272
272
  return topLevelAssertionString;
273
273
  }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return EphemeralContext;
9
- }
10
- });
11
- const _context = /*#__PURE__*/ _interop_require_default(require("../context"));
12
- function _interop_require_default(obj) {
13
- return obj && obj.__esModule ? obj : {
14
- default: obj
15
- };
16
- }
17
- class EphemeralContext extends _context.default {
18
- isStated() {
19
- const stated = true;
20
- return stated;
21
- }
22
- static fromNothing(context) {
23
- const ephemeralContext = new EphemeralContext(context);
24
- return ephemeralContext;
25
- }
26
- }
27
-
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb250ZXh0L2VwaGVtZXJhbC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IENvbnRleHQgZnJvbSBcIi4uL2NvbnRleHRcIjtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgRXBoZW1lcmFsQ29udGV4dCBleHRlbmRzIENvbnRleHQge1xuICBpc1N0YXRlZCgpIHtcbiAgICBjb25zdCBzdGF0ZWQgPSB0cnVlO1xuXG4gICAgcmV0dXJuIHN0YXRlZDtcbiAgfVxuXG4gIHN0YXRpYyBmcm9tTm90aGluZyhjb250ZXh0KSB7XG4gICAgY29uc3QgZXBoZW1lcmFsQ29udGV4dCA9IG5ldyBFcGhlbWVyYWxDb250ZXh0KGNvbnRleHQpO1xuXG4gICAgcmV0dXJuIGVwaGVtZXJhbENvbnRleHQ7XG4gIH1cbn0iXSwibmFtZXMiOlsiRXBoZW1lcmFsQ29udGV4dCIsIkNvbnRleHQiLCJpc1N0YXRlZCIsInN0YXRlZCIsImZyb21Ob3RoaW5nIiwiY29udGV4dCIsImVwaGVtZXJhbENvbnRleHQiXSwibWFwcGluZ3MiOiJBQUFBOzs7OytCQUlBOzs7ZUFBcUJBOzs7Z0VBRkQ7Ozs7OztBQUVMLE1BQU1BLHlCQUF5QkMsZ0JBQU87SUFDbkRDLFdBQVc7UUFDVCxNQUFNQyxTQUFTO1FBRWYsT0FBT0E7SUFDVDtJQUVBLE9BQU9DLFlBQVlDLE9BQU8sRUFBRTtRQUMxQixNQUFNQyxtQkFBbUIsSUFBSU4saUJBQWlCSztRQUU5QyxPQUFPQztJQUNUO0FBQ0YifQ==