MCPcopy Create free account
hub / github.com/Effect-TS/effect / toLeafResult

Function toLeafResult

packages/effect/src/unstable/cli/internal/parser.ts:759–764  ·  view source on GitHub ↗
(state: ParseState)

Source from the content-addressed store, hash-verified

757})
758
759const toLeafResult = (state: ParseState): LeafResult => ({
760 _tag: "Leaf",
761 flags: state.flags.snapshot(),
762 arguments: state.arguments,
763 errors: state.errors
764})
765
766/* ========================================================================== */
767/* First Value Resolution */

Callers 1

scanCommandLevelFunction · 0.85

Calls 1

snapshotMethod · 0.45

Tested by

no test coverage detected