(registry: FlagRegistry)
| 750 | /* ========================================================================== */ |
| 751 | |
| 752 | const createParseState = (registry: FlagRegistry): ParseState => ({ |
| 753 | flags: createFlagAccumulator(registry.params), |
| 754 | arguments: [], |
| 755 | errors: [], |
| 756 | mode: { _tag: "AwaitingFirstValue" } |
| 757 | }) |
| 758 | |
| 759 | const toLeafResult = (state: ParseState): LeafResult => ({ |
| 760 | _tag: "Leaf", |
no test coverage detected