@optique/core 1.0.0-dev.1722 → 1.0.0-dev.1724
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/dist/constructs.cjs +5 -14
- package/dist/constructs.js +5 -14
- package/package.json +1 -1
package/dist/constructs.cjs
CHANGED
|
@@ -3851,10 +3851,6 @@ function group(label, parser, options = {}) {
|
|
|
3851
3851
|
* - Within `longestMatch()`, a longer speculative match can beat a
|
|
3852
3852
|
* shorter definitive one. If the speculative match fails during
|
|
3853
3853
|
* completion, the tokens consumed by it are not recoverable.
|
|
3854
|
-
* - The dependency runtime seeds both discriminator and branch sources
|
|
3855
|
-
* before verifying the speculative selection. A discriminator that
|
|
3856
|
-
* depends on branch-local dependency sources could be circularly
|
|
3857
|
-
* confirmed by the speculative branch.
|
|
3858
3854
|
*
|
|
3859
3855
|
* @since 0.8.0
|
|
3860
3856
|
*/
|
|
@@ -4172,16 +4168,12 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4172
4168
|
success: true,
|
|
4173
4169
|
provisional: true,
|
|
4174
4170
|
next: {
|
|
4175
|
-
...
|
|
4171
|
+
...speculationContext,
|
|
4176
4172
|
state: {
|
|
4177
4173
|
...state,
|
|
4178
4174
|
discriminatorState: annotatedDiscriminatorState$1,
|
|
4179
4175
|
branchState: deferredBranchState
|
|
4180
|
-
}
|
|
4181
|
-
...discriminatorExec != null ? {
|
|
4182
|
-
exec: discriminatorExec,
|
|
4183
|
-
dependencyRegistry: discriminatorExec.dependencyRegistry
|
|
4184
|
-
} : {}
|
|
4176
|
+
}
|
|
4185
4177
|
},
|
|
4186
4178
|
consumed: []
|
|
4187
4179
|
};
|
|
@@ -4409,10 +4401,9 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4409
4401
|
...state,
|
|
4410
4402
|
speculative: void 0
|
|
4411
4403
|
};
|
|
4412
|
-
} else
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
speculative: void 0
|
|
4404
|
+
} else return {
|
|
4405
|
+
success: true,
|
|
4406
|
+
value: [state.selectedBranch.key, void 0]
|
|
4416
4407
|
};
|
|
4417
4408
|
if (state.selectedBranch === void 0) {
|
|
4418
4409
|
if (exec?.phase !== "parse" && exec?.phase !== "suggest") {
|
package/dist/constructs.js
CHANGED
|
@@ -3851,10 +3851,6 @@ function group(label, parser, options = {}) {
|
|
|
3851
3851
|
* - Within `longestMatch()`, a longer speculative match can beat a
|
|
3852
3852
|
* shorter definitive one. If the speculative match fails during
|
|
3853
3853
|
* completion, the tokens consumed by it are not recoverable.
|
|
3854
|
-
* - The dependency runtime seeds both discriminator and branch sources
|
|
3855
|
-
* before verifying the speculative selection. A discriminator that
|
|
3856
|
-
* depends on branch-local dependency sources could be circularly
|
|
3857
|
-
* confirmed by the speculative branch.
|
|
3858
3854
|
*
|
|
3859
3855
|
* @since 0.8.0
|
|
3860
3856
|
*/
|
|
@@ -4172,16 +4168,12 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4172
4168
|
success: true,
|
|
4173
4169
|
provisional: true,
|
|
4174
4170
|
next: {
|
|
4175
|
-
...
|
|
4171
|
+
...speculationContext,
|
|
4176
4172
|
state: {
|
|
4177
4173
|
...state,
|
|
4178
4174
|
discriminatorState: annotatedDiscriminatorState$1,
|
|
4179
4175
|
branchState: deferredBranchState
|
|
4180
|
-
}
|
|
4181
|
-
...discriminatorExec != null ? {
|
|
4182
|
-
exec: discriminatorExec,
|
|
4183
|
-
dependencyRegistry: discriminatorExec.dependencyRegistry
|
|
4184
|
-
} : {}
|
|
4176
|
+
}
|
|
4185
4177
|
},
|
|
4186
4178
|
consumed: []
|
|
4187
4179
|
};
|
|
@@ -4409,10 +4401,9 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4409
4401
|
...state,
|
|
4410
4402
|
speculative: void 0
|
|
4411
4403
|
};
|
|
4412
|
-
} else
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
speculative: void 0
|
|
4404
|
+
} else return {
|
|
4405
|
+
success: true,
|
|
4406
|
+
value: [state.selectedBranch.key, void 0]
|
|
4416
4407
|
};
|
|
4417
4408
|
if (state.selectedBranch === void 0) {
|
|
4418
4409
|
if (exec?.phase !== "parse" && exec?.phase !== "suggest") {
|