occam-verify-cli 0.0.982 → 0.0.984
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/lib/constants.js +5 -1
- package/lib/constructor/bracketed.js +2 -2
- package/lib/context/local.js +9 -9
- package/lib/frame.js +32 -29
- package/lib/judgement.js +4 -4
- package/lib/node/frame/bracketed.js +16 -0
- package/lib/node/statement/combinator/bracketed.js +3 -3
- package/lib/node/term/constructor/bracketed.js +3 -3
- package/lib/ocmbinator/bracketed.js +2 -2
- package/lib/ruleNames.js +11 -7
- package/lib/substitution/frameForMetavariable.js +252 -0
- package/lib/substitution/statementForMetavariable.js +9 -20
- package/lib/tokens/combinatorFrame/bracketed.js +17 -0
- package/lib/tokens/combinatorStatement/bracketed.js +17 -0
- package/lib/tokens/constructorTerm/bracketed.js +17 -0
- package/lib/utilities/brackets.js +22 -3
- package/lib/utilities/node.js +26 -22
- package/lib/utilities/tokens.js +18 -11
- package/lib/verify/assertion/contained.js +37 -34
- package/lib/verify/assertion/defined.js +27 -35
- package/lib/verify/declaration.js +3 -3
- package/lib/verify/frame.js +9 -8
- package/lib/verify/judgement.js +7 -12
- package/lib/verify/metavariableGivenMetaType.js +3 -6
- package/package.json +2 -2
- package/src/constants.js +1 -0
- package/src/constructor/bracketed.js +1 -1
- package/src/context/local.js +11 -12
- package/src/frame.js +31 -27
- package/src/judgement.js +1 -1
- package/src/node/frame/bracketed.js +9 -0
- package/src/node/statement/combinator/bracketed.js +3 -3
- package/src/node/term/constructor/bracketed.js +3 -3
- package/src/ocmbinator/bracketed.js +2 -2
- package/src/ruleNames.js +3 -2
- package/src/substitution/frameForMetavariable.js +183 -0
- package/src/substitution/statementForMetavariable.js +9 -24
- package/src/tokens/combinatorFrame/bracketed.js +10 -0
- package/src/tokens/combinatorStatement/bracketed.js +10 -0
- package/src/tokens/constructorTerm/bracketed.js +10 -0
- package/src/utilities/brackets.js +25 -1
- package/src/utilities/node.js +27 -28
- package/src/utilities/tokens.js +15 -10
- package/src/verify/assertion/contained.js +48 -45
- package/src/verify/assertion/defined.js +31 -46
- package/src/verify/declaration.js +8 -10
- package/src/verify/frame.js +11 -19
- package/src/verify/judgement.js +17 -26
- package/src/verify/metavariableGivenMetaType.js +2 -6
- package/lib/tokens/constructorDeclaration/bracketed.js +0 -17
- package/lib/tokens/unqualifiedStatement/combinator/bracketed.js +0 -17
- package/src/tokens/constructorDeclaration/bracketed.js +0 -10
- package/src/tokens/unqualifiedStatement/combinator/bracketed.js +0 -10
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import verifyTerm from "../../verify/term";
|
|
4
3
|
import metaLevelVerifier from "../../verifier/metaLevel";
|
|
5
4
|
|
|
6
|
-
import { first } from "../../utilities/array";
|
|
7
5
|
import { nodeQuery } from "../../utilities/query";
|
|
8
6
|
import { isAssertionNegated } from "../../utilities/assertion";
|
|
9
7
|
import { metavariableNameFromMetavariableNode } from "../../utilities/name";
|
|
10
8
|
|
|
11
9
|
const variableNodeQuery = nodeQuery("/definedAssertion/term/variable!"),
|
|
12
|
-
metavariableNodeQuery = nodeQuery("/definedAssertion/statement
|
|
10
|
+
metavariableNodeQuery = nodeQuery("/definedAssertion/frame/statement!/metavariable!");
|
|
13
11
|
|
|
14
12
|
const verifyDefinedAssertionFunctions = [
|
|
15
13
|
verifyDerivedDefinedAssertion,
|
|
@@ -57,41 +55,43 @@ function verifyDerivedDefinedAssertion(definedAssertionNode, assignments, stated
|
|
|
57
55
|
|
|
58
56
|
localContext.trace(`Verifying the '${definedAssertionString}' derived defined assertion...`, definedAssertionNode);
|
|
59
57
|
|
|
60
|
-
const
|
|
61
|
-
metavariableNode = metavariableNodeQuery(definedAssertionNode),
|
|
62
|
-
variableNode = variableNodeQuery(definedAssertionNode);
|
|
58
|
+
const metavariableNode = metavariableNodeQuery(definedAssertionNode);
|
|
63
59
|
|
|
64
|
-
if (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
const metavariableName = metavariableNameFromMetavariableNode(metavariableNode),
|
|
68
|
-
metavariable = localContext.findMetavariableByMetavariableName(metavariableName),
|
|
69
|
-
metavariableDefined = localContext.isMetavariableDefined(metavariable);
|
|
60
|
+
if (metavariableNode !== null) {
|
|
61
|
+
const assertionNegated = isAssertionNegated(definedAssertionNode),
|
|
62
|
+
variableNode = variableNodeQuery(definedAssertionNode);
|
|
70
63
|
|
|
71
|
-
if (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
64
|
+
if (false) {
|
|
65
|
+
///
|
|
66
|
+
} else if (metavariableNode !== null) {
|
|
67
|
+
const metavariableName = metavariableNameFromMetavariableNode(metavariableNode),
|
|
68
|
+
metavariableDefinedByMetavariableName = localContext.isMetavariableDefinedByMetavariableName(metavariableName);
|
|
76
69
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
70
|
+
if (!assertionNegated) {
|
|
71
|
+
if (metavariableDefinedByMetavariableName) {
|
|
72
|
+
derivedDefinedAssertionVerified = true;
|
|
73
|
+
}
|
|
80
74
|
}
|
|
81
|
-
}
|
|
82
|
-
} else if (variableNode !== null) {
|
|
83
|
-
const variable = localContext.findVariableByVariableNode(variableNode),
|
|
84
|
-
variableDefined = localContext.isVariableDefined(variable);
|
|
85
75
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
if (assertionNegated) {
|
|
77
|
+
if (!metavariableDefinedByMetavariableName) {
|
|
78
|
+
derivedDefinedAssertionVerified = true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
} else if (variableNode !== null) {
|
|
82
|
+
const variable = localContext.findVariableByVariableNode(variableNode),
|
|
83
|
+
variableDefined = localContext.isVariableDefined(variable);
|
|
84
|
+
|
|
85
|
+
if (!assertionNegated) {
|
|
86
|
+
if (variableDefined) {
|
|
87
|
+
derivedDefinedAssertionVerified = true;
|
|
88
|
+
}
|
|
89
89
|
}
|
|
90
|
-
}
|
|
91
90
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
if (assertionNegated) {
|
|
92
|
+
if (!variableDefined) {
|
|
93
|
+
derivedDefinedAssertionVerified = true;
|
|
94
|
+
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -121,18 +121,3 @@ function verifyStatedDefinedAssertion(definedAssertionNode, assignments, stated,
|
|
|
121
121
|
|
|
122
122
|
return statedDefinedAssertionVerified;
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
function termFromTermNode(termNode, localContext) {
|
|
126
|
-
const terms = [];
|
|
127
|
-
|
|
128
|
-
verifyTerm(termNode, terms, localContext, () => {
|
|
129
|
-
const verifiedAhead = true;
|
|
130
|
-
|
|
131
|
-
return verifiedAhead;
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
const firstTerm = first(terms),
|
|
135
|
-
term = firstTerm; ///
|
|
136
|
-
|
|
137
|
-
return term;
|
|
138
|
-
}
|
|
@@ -47,9 +47,8 @@ function verifyDerivedDeclaration(declarationNode, declarations, stated, localCo
|
|
|
47
47
|
localContext.trace(`Verifying the '${declarationString}' derived declaration...`, declarationNode);
|
|
48
48
|
|
|
49
49
|
const metaType = referenceMetaType, ///
|
|
50
|
-
metavariables = [],
|
|
51
50
|
metavariableNode = metavariableNodeQuery(declarationNode),
|
|
52
|
-
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType,
|
|
51
|
+
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, localContext);
|
|
53
52
|
|
|
54
53
|
if (metavariableVerifiedGivenMetaType) {
|
|
55
54
|
const { verifyStatement } = shim,
|
|
@@ -60,7 +59,7 @@ function verifyDerivedDeclaration(declarationNode, declarations, stated, localCo
|
|
|
60
59
|
|
|
61
60
|
if (statementVerified) {
|
|
62
61
|
const reference = Reference.fromMetavariableNode(metavariableNode),
|
|
63
|
-
|
|
62
|
+
declaration = Declaration.fromReferenceAndStatementNode(reference, statementNode);
|
|
64
63
|
|
|
65
64
|
declarations.push(declaration);
|
|
66
65
|
|
|
@@ -85,16 +84,15 @@ function verifyStatedDeclaration(declarationNode, declarations, stated, localCon
|
|
|
85
84
|
localContext.trace(`Verifying the '${declarationString}' stated declaration...`, declarationNode);
|
|
86
85
|
|
|
87
86
|
const metaType = referenceMetaType, ///
|
|
88
|
-
metavariables = [],
|
|
89
87
|
metavariableNode = metavariableNodeQuery(declarationNode),
|
|
90
|
-
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType,
|
|
88
|
+
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, localContext);
|
|
91
89
|
|
|
92
90
|
if (metavariableVerifiedGivenMetaType) {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
const { verifyStatement } = shim,
|
|
92
|
+
stated = true,
|
|
93
|
+
assignments = null,
|
|
94
|
+
statementNode = statementNodeQuery(declarationNode),
|
|
95
|
+
statementVerified = verifyStatement(statementNode, assignments, stated, localContext);
|
|
98
96
|
|
|
99
97
|
if (statementVerified) {
|
|
100
98
|
const reference = Reference.fromMetavariableNode(metavariableNode),
|
package/src/verify/frame.js
CHANGED
|
@@ -6,10 +6,12 @@ import verifyDeclaration from "../verify/declaration";
|
|
|
6
6
|
import verifyMetavariableGivenMetaType from "./metavariableGivenMetaType";
|
|
7
7
|
|
|
8
8
|
import { first } from "../utilities/array";
|
|
9
|
-
import { nodesQuery } from "../utilities/query";
|
|
9
|
+
import { nodeQuery, nodesQuery } from "../utilities/query";
|
|
10
|
+
import { metavariableNameFromMetavariableNode } from "../utilities/name";
|
|
10
11
|
|
|
11
12
|
const declarationNodesQuery = nodesQuery("/frame/declaration"),
|
|
12
|
-
|
|
13
|
+
metavariableNodeQuery = nodeQuery("/frame/statement!/metavariable"),
|
|
14
|
+
metavariableNodesQuery = nodesQuery("/frame/statement/metavariable");
|
|
13
15
|
|
|
14
16
|
const verifyFrameFunctions = [
|
|
15
17
|
verifyDerivedFrame,
|
|
@@ -95,21 +97,14 @@ function verifyStatedFrame(frameNode, frames, stated, localContext) {
|
|
|
95
97
|
declarationNodesLength = declarationNodes.length;
|
|
96
98
|
|
|
97
99
|
if (declarationNodesLength === 0) {
|
|
98
|
-
const
|
|
99
|
-
metavariableNodesLength = metavariableNodes.length;
|
|
100
|
+
const metavariableNode = metavariableNodeQuery(frameNode);
|
|
100
101
|
|
|
101
|
-
if (
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
metaType = frameMetaType, ///
|
|
105
|
-
metavariables = [],
|
|
106
|
-
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, metavariables, localContext);
|
|
102
|
+
if (metavariableNode !== null) {
|
|
103
|
+
const metaType = frameMetaType, ///
|
|
104
|
+
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, localContext);
|
|
107
105
|
|
|
108
106
|
if (metavariableVerifiedGivenMetaType) {
|
|
109
|
-
const
|
|
110
|
-
metavariable = firstMetavariable,
|
|
111
|
-
|
|
112
|
-
frame = Frame.fromMetavariable(metavariable);
|
|
107
|
+
const frame = Frame.fromMetavariableNode(metavariableNode);
|
|
113
108
|
|
|
114
109
|
frames.push(frame);
|
|
115
110
|
|
|
@@ -138,13 +133,10 @@ function verifyMetavariable(metavariableNode, declarations, localContext) {
|
|
|
138
133
|
localContext.trace(`Verifying the '${metavariableString}' metavariable...`, metavariableNode);
|
|
139
134
|
|
|
140
135
|
const metaType = frameMetaType, ///
|
|
141
|
-
|
|
142
|
-
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, metavariables, localContext);
|
|
136
|
+
metavariableVerifiedGivenMetaType = verifyMetavariableGivenMetaType(metavariableNode, metaType, localContext);
|
|
143
137
|
|
|
144
138
|
if (metavariableVerifiedGivenMetaType) {
|
|
145
|
-
const
|
|
146
|
-
metavariable = firstMetavariable, ///
|
|
147
|
-
metavariableName = metavariable.getName(),
|
|
139
|
+
const metavariableName = metavariableNameFromMetavariableNode(metavariableNode),
|
|
148
140
|
judgement = localContext.findJudgementByMetavariableName(metavariableName);
|
|
149
141
|
|
|
150
142
|
if (judgement !== null) {
|
package/src/verify/judgement.js
CHANGED
|
@@ -95,33 +95,24 @@ function verifyStatedJudgement(judgementNode, assignments, stated, localContext)
|
|
|
95
95
|
frameVerified = verifyFrame(frameNode, frames, stated, localContext);
|
|
96
96
|
|
|
97
97
|
if (frameVerified) {
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
declaration = firstDeclaration, ///
|
|
114
|
-
judgement = Judgement.fromJudgementNodeFrameAndDeclaration(judgementNode, frame, declaration),
|
|
115
|
-
judgementAssignment = JudgementAssignment.fromJudgement(judgement),
|
|
116
|
-
assignment = judgementAssignment;
|
|
117
|
-
|
|
118
|
-
assignments.push(assignment);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
statedJudgementVerified = true;
|
|
98
|
+
const declarations = [],
|
|
99
|
+
declarationNode = declarationNodeQuery(judgementNode),
|
|
100
|
+
declarationVerified = verifyDeclaration(declarationNode, declarations, stated, localContext);
|
|
101
|
+
|
|
102
|
+
if (declarationVerified) {
|
|
103
|
+
if (assignments !== null) {
|
|
104
|
+
const firstDeclaration = first(declarations),
|
|
105
|
+
firstFrame = first(frames),
|
|
106
|
+
frame = firstFrame,
|
|
107
|
+
declaration = firstDeclaration, ///
|
|
108
|
+
judgement = Judgement.fromJudgementNodeFrameAndDeclaration(judgementNode, frame, declaration),
|
|
109
|
+
judgementAssignment = JudgementAssignment.fromJudgement(judgement),
|
|
110
|
+
assignment = judgementAssignment;
|
|
111
|
+
|
|
112
|
+
assignments.push(assignment);
|
|
122
113
|
}
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
|
|
115
|
+
statedJudgementVerified = true;
|
|
125
116
|
}
|
|
126
117
|
}
|
|
127
118
|
|
|
@@ -4,7 +4,7 @@ import metavariableUnifier from "../unifier/metavariable";
|
|
|
4
4
|
|
|
5
5
|
import { metavariableNameFromMetavariableNode } from "../utilities/name";
|
|
6
6
|
|
|
7
|
-
export default function verifyMetavariableGivenMetaType(metavariableNode, metaType,
|
|
7
|
+
export default function verifyMetavariableGivenMetaType(metavariableNode, metaType, localContext) {
|
|
8
8
|
let metavariableVerifiedGivenMetaType = false;
|
|
9
9
|
|
|
10
10
|
const metaTypeName = metaType.getName(),
|
|
@@ -27,11 +27,7 @@ export default function verifyMetavariableGivenMetaType(metavariableNode, metaTy
|
|
|
27
27
|
|
|
28
28
|
const unified = metavariableUnifier.unify(metavariableNodeA, metavariableNodeB, localContext);
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
metavariables.push(metavariable);
|
|
32
|
-
|
|
33
|
-
metavariableVerifiedGivenMetaType = true;
|
|
34
|
-
}
|
|
30
|
+
metavariableVerifiedGivenMetaType = unified; ///
|
|
35
31
|
} else {
|
|
36
32
|
const metavariableMetaTypeName = metavariableMetaType.getName();
|
|
37
33
|
|
|
@@ -1,17 +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 _default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _typeNames = require("../../typeNames");
|
|
12
|
-
var _tokens = require("../../utilities/tokens");
|
|
13
|
-
var bracketedConstructorTermString = "(".concat(_typeNames.OBJECT_TYPE_NAME, "):").concat(_typeNames.OBJECT_TYPE_NAME);
|
|
14
|
-
var bracketedConstructorDeclarationTokens = (0, _tokens.constructorDeclarationTokensFromTermString)(bracketedConstructorTermString);
|
|
15
|
-
var _default = bracketedConstructorDeclarationTokens;
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90b2tlbnMvY29uc3RydWN0b3JEZWNsYXJhdGlvbi9icmFja2V0ZWQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB7IE9CSkVDVF9UWVBFX05BTUUgfSBmcm9tIFwiLi4vLi4vdHlwZU5hbWVzXCI7XG5pbXBvcnQgeyBjb25zdHJ1Y3RvckRlY2xhcmF0aW9uVG9rZW5zRnJvbVRlcm1TdHJpbmcgfSBmcm9tIFwiLi4vLi4vdXRpbGl0aWVzL3Rva2Vuc1wiO1xuXG5jb25zdCBicmFja2V0ZWRDb25zdHJ1Y3RvclRlcm1TdHJpbmcgPSBgKCR7T0JKRUNUX1RZUEVfTkFNRX0pOiR7T0JKRUNUX1RZUEVfTkFNRX1gO1xuXG5jb25zdCBicmFja2V0ZWRDb25zdHJ1Y3RvckRlY2xhcmF0aW9uVG9rZW5zID0gY29uc3RydWN0b3JEZWNsYXJhdGlvblRva2Vuc0Zyb21UZXJtU3RyaW5nKGJyYWNrZXRlZENvbnN0cnVjdG9yVGVybVN0cmluZylcblxuZXhwb3J0IGRlZmF1bHQgYnJhY2tldGVkQ29uc3RydWN0b3JEZWNsYXJhdGlvblRva2VucztcbiJdLCJuYW1lcyI6WyJicmFja2V0ZWRDb25zdHJ1Y3RvclRlcm1TdHJpbmciLCJPQkpFQ1RfVFlQRV9OQU1FIiwiYnJhY2tldGVkQ29uc3RydWN0b3JEZWNsYXJhdGlvblRva2VucyIsImNvbnN0cnVjdG9yRGVjbGFyYXRpb25Ub2tlbnNGcm9tVGVybVN0cmluZyJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBU0E7OztlQUFBOzs7eUJBUGlDO3NCQUMwQjtBQUUzRCxJQUFNQSxpQ0FBaUMsQUFBQyxJQUF3QkMsT0FBckJBLDJCQUFnQixFQUFDLE1BQXFCLE9BQWpCQSwyQkFBZ0I7QUFFaEYsSUFBTUMsd0NBQXdDQyxJQUFBQSxrREFBMEMsRUFBQ0g7SUFFekYsV0FBZUUifQ==
|
|
@@ -1,17 +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 _default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _metaTypeNames = require("../../../metaTypeNames");
|
|
12
|
-
var _tokens = require("../../../utilities/tokens");
|
|
13
|
-
var bracketedCombinatorStatementString = "(".concat(_metaTypeNames.STATEMENT_META_TYPE_NAME, ")");
|
|
14
|
-
var bracketedCombinatorUnqualifiedStatementTokens = (0, _tokens.unqualifiedStatementTokensFromStatementString)(bracketedCombinatorStatementString);
|
|
15
|
-
var _default = bracketedCombinatorUnqualifiedStatementTokens;
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90b2tlbnMvdW5xdWFsaWZpZWRTdGF0ZW1lbnQvY29tYmluYXRvci9icmFja2V0ZWQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB7IFNUQVRFTUVOVF9NRVRBX1RZUEVfTkFNRSB9IGZyb20gXCIuLi8uLi8uLi9tZXRhVHlwZU5hbWVzXCI7XG5pbXBvcnQgeyB1bnF1YWxpZmllZFN0YXRlbWVudFRva2Vuc0Zyb21TdGF0ZW1lbnRTdHJpbmcgfSBmcm9tIFwiLi4vLi4vLi4vdXRpbGl0aWVzL3Rva2Vuc1wiO1xuXG5jb25zdCBicmFja2V0ZWRDb21iaW5hdG9yU3RhdGVtZW50U3RyaW5nID0gYCgke1NUQVRFTUVOVF9NRVRBX1RZUEVfTkFNRX0pYDtcblxuY29uc3QgYnJhY2tldGVkQ29tYmluYXRvclVucXVhbGlmaWVkU3RhdGVtZW50VG9rZW5zID0gdW5xdWFsaWZpZWRTdGF0ZW1lbnRUb2tlbnNGcm9tU3RhdGVtZW50U3RyaW5nKGJyYWNrZXRlZENvbWJpbmF0b3JTdGF0ZW1lbnRTdHJpbmcpXG5cbmV4cG9ydCBkZWZhdWx0IGJyYWNrZXRlZENvbWJpbmF0b3JVbnF1YWxpZmllZFN0YXRlbWVudFRva2VucztcbiJdLCJuYW1lcyI6WyJicmFja2V0ZWRDb21iaW5hdG9yU3RhdGVtZW50U3RyaW5nIiwiU1RBVEVNRU5UX01FVEFfVFlQRV9OQU1FIiwiYnJhY2tldGVkQ29tYmluYXRvclVucXVhbGlmaWVkU3RhdGVtZW50VG9rZW5zIiwidW5xdWFsaWZpZWRTdGF0ZW1lbnRUb2tlbnNGcm9tU3RhdGVtZW50U3RyaW5nIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFTQTs7O2VBQUE7Ozs2QkFQeUM7c0JBQ3FCO0FBRTlELElBQU1BLHFDQUFxQyxBQUFDLElBQTRCLE9BQXpCQyx1Q0FBd0IsRUFBQztBQUV4RSxJQUFNQyxnREFBZ0RDLElBQUFBLHFEQUE2QyxFQUFDSDtJQUVwRyxXQUFlRSJ9
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { OBJECT_TYPE_NAME } from "../../typeNames";
|
|
4
|
-
import { constructorDeclarationTokensFromTermString } from "../../utilities/tokens";
|
|
5
|
-
|
|
6
|
-
const bracketedConstructorTermString = `(${OBJECT_TYPE_NAME}):${OBJECT_TYPE_NAME}`;
|
|
7
|
-
|
|
8
|
-
const bracketedConstructorDeclarationTokens = constructorDeclarationTokensFromTermString(bracketedConstructorTermString)
|
|
9
|
-
|
|
10
|
-
export default bracketedConstructorDeclarationTokens;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { STATEMENT_META_TYPE_NAME } from "../../../metaTypeNames";
|
|
4
|
-
import { unqualifiedStatementTokensFromStatementString } from "../../../utilities/tokens";
|
|
5
|
-
|
|
6
|
-
const bracketedCombinatorStatementString = `(${STATEMENT_META_TYPE_NAME})`;
|
|
7
|
-
|
|
8
|
-
const bracketedCombinatorUnqualifiedStatementTokens = unqualifiedStatementTokensFromStatementString(bracketedCombinatorStatementString)
|
|
9
|
-
|
|
10
|
-
export default bracketedCombinatorUnqualifiedStatementTokens;
|