@optique/core 1.0.0-dev.1686 → 1.0.0-dev.1688
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/facade.cjs +3 -0
- package/dist/facade.d.cts +3 -0
- package/dist/facade.d.ts +3 -0
- package/dist/facade.js +3 -0
- package/package.json +1 -1
package/dist/facade.cjs
CHANGED
|
@@ -1398,6 +1398,9 @@ function runWithSync(parser, programName, contexts, options) {
|
|
|
1398
1398
|
* @returns Promise that resolves to the parsed result.
|
|
1399
1399
|
* @throws {TypeError} If two or more contexts share the same
|
|
1400
1400
|
* {@link SourceContext.id}.
|
|
1401
|
+
* @throws {SuppressedError} If parsing fails and a context's disposal also
|
|
1402
|
+
* throws. The original parse error is available via `.suppressed` and the
|
|
1403
|
+
* disposal error via `.error`.
|
|
1401
1404
|
* @since 0.10.0
|
|
1402
1405
|
*/
|
|
1403
1406
|
function runWithAsync(parser, programName, contexts, options) {
|
package/dist/facade.d.cts
CHANGED
|
@@ -498,6 +498,9 @@ declare function runWithSync<TParser extends Parser<"sync", unknown, unknown>, T
|
|
|
498
498
|
* @returns Promise that resolves to the parsed result.
|
|
499
499
|
* @throws {TypeError} If two or more contexts share the same
|
|
500
500
|
* {@link SourceContext.id}.
|
|
501
|
+
* @throws {SuppressedError} If parsing fails and a context's disposal also
|
|
502
|
+
* throws. The original parse error is available via `.suppressed` and the
|
|
503
|
+
* disposal error via `.error`.
|
|
501
504
|
* @since 0.10.0
|
|
502
505
|
*/
|
|
503
506
|
declare function runWithAsync<TParser extends Parser<Mode, unknown, unknown>, TContexts extends readonly SourceContext<unknown>[], THelp = void, TError = never>(parser: TParser, programName: string, contexts: TContexts, options: RunWithOptions<THelp, TError> & ContextOptionsParam<TContexts, InferValue<TParser>>): Promise<InferValue<TParser>>;
|
package/dist/facade.d.ts
CHANGED
|
@@ -498,6 +498,9 @@ declare function runWithSync<TParser extends Parser<"sync", unknown, unknown>, T
|
|
|
498
498
|
* @returns Promise that resolves to the parsed result.
|
|
499
499
|
* @throws {TypeError} If two or more contexts share the same
|
|
500
500
|
* {@link SourceContext.id}.
|
|
501
|
+
* @throws {SuppressedError} If parsing fails and a context's disposal also
|
|
502
|
+
* throws. The original parse error is available via `.suppressed` and the
|
|
503
|
+
* disposal error via `.error`.
|
|
501
504
|
* @since 0.10.0
|
|
502
505
|
*/
|
|
503
506
|
declare function runWithAsync<TParser extends Parser<Mode, unknown, unknown>, TContexts extends readonly SourceContext<unknown>[], THelp = void, TError = never>(parser: TParser, programName: string, contexts: TContexts, options: RunWithOptions<THelp, TError> & ContextOptionsParam<TContexts, InferValue<TParser>>): Promise<InferValue<TParser>>;
|
package/dist/facade.js
CHANGED
|
@@ -1398,6 +1398,9 @@ function runWithSync(parser, programName, contexts, options) {
|
|
|
1398
1398
|
* @returns Promise that resolves to the parsed result.
|
|
1399
1399
|
* @throws {TypeError} If two or more contexts share the same
|
|
1400
1400
|
* {@link SourceContext.id}.
|
|
1401
|
+
* @throws {SuppressedError} If parsing fails and a context's disposal also
|
|
1402
|
+
* throws. The original parse error is available via `.suppressed` and the
|
|
1403
|
+
* disposal error via `.error`.
|
|
1401
1404
|
* @since 0.10.0
|
|
1402
1405
|
*/
|
|
1403
1406
|
function runWithAsync(parser, programName, contexts, options) {
|