@optique/core 1.0.0-dev.1616 → 1.0.0-dev.1659
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 +1354 -606
- package/dist/constructs.js +1356 -608
- package/dist/dependency-metadata.cjs +12 -13
- package/dist/dependency-metadata.d.cts +7 -3
- package/dist/dependency-metadata.d.ts +7 -3
- package/dist/dependency-metadata.js +12 -13
- package/dist/dependency-runtime.cjs +387 -19
- package/dist/dependency-runtime.d.cts +28 -2
- package/dist/dependency-runtime.d.ts +28 -2
- package/dist/dependency-runtime.js +382 -20
- package/dist/dependency.cjs +158 -65
- package/dist/dependency.d.cts +34 -8
- package/dist/dependency.d.ts +34 -8
- package/dist/dependency.js +156 -66
- package/dist/facade.cjs +2 -2
- package/dist/facade.js +2 -2
- package/dist/index.cjs +12 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/input-trace.cjs +56 -0
- package/dist/input-trace.d.cts +77 -0
- package/dist/input-trace.d.ts +77 -0
- package/dist/input-trace.js +55 -0
- package/dist/modifiers.cjs +337 -186
- package/dist/modifiers.js +338 -187
- package/dist/parser.cjs +169 -20
- package/dist/parser.d.cts +140 -5
- package/dist/parser.d.ts +140 -5
- package/dist/parser.js +162 -21
- package/dist/primitives.cjs +311 -177
- package/dist/primitives.d.cts +2 -8
- package/dist/primitives.d.ts +2 -8
- package/dist/primitives.js +312 -178
- package/package.json +1 -1
package/dist/primitives.d.cts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { Message } from "./message.cjs";
|
|
2
2
|
import { HiddenVisibility, OptionName, Usage } from "./usage.cjs";
|
|
3
3
|
import { ValueParser, ValueParserResult } from "./valueparser.cjs";
|
|
4
|
-
import { DeferredParseState, PendingDependencySourceState } from "./dependency.cjs";
|
|
5
4
|
import { Mode, Parser } from "./parser.cjs";
|
|
6
5
|
|
|
7
6
|
//#region src/primitives.d.ts
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
* This extends the normal ValueParserResult to also support DeferredParseState
|
|
11
|
-
* and PendingDependencySourceState.
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
type OptionState<T> = ValueParserResult<T> | DeferredParseState<T> | PendingDependencySourceState | undefined;
|
|
7
|
+
/** @internal */
|
|
8
|
+
type OptionState<T> = ValueParserResult<T> | undefined;
|
|
15
9
|
/**
|
|
16
10
|
* Creates a parser that always succeeds without consuming any input and
|
|
17
11
|
* produces a constant value of the type {@link T}.
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { Message } from "./message.js";
|
|
2
2
|
import { HiddenVisibility, OptionName, Usage } from "./usage.js";
|
|
3
3
|
import { ValueParser, ValueParserResult } from "./valueparser.js";
|
|
4
|
-
import { DeferredParseState, PendingDependencySourceState } from "./dependency.js";
|
|
5
4
|
import { Mode, Parser } from "./parser.js";
|
|
6
5
|
|
|
7
6
|
//#region src/primitives.d.ts
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
* This extends the normal ValueParserResult to also support DeferredParseState
|
|
11
|
-
* and PendingDependencySourceState.
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
type OptionState<T> = ValueParserResult<T> | DeferredParseState<T> | PendingDependencySourceState | undefined;
|
|
7
|
+
/** @internal */
|
|
8
|
+
type OptionState<T> = ValueParserResult<T> | undefined;
|
|
15
9
|
/**
|
|
16
10
|
* Creates a parser that always succeeds without consuming any input and
|
|
17
11
|
* produces a constant value of the type {@link T}.
|