(ast: AST.AST, isDecoding: boolean, options?: AST.ParseOptions)
| 451 | } |
| 452 | |
| 453 | const getEffect = <R>(ast: AST.AST, isDecoding: boolean, options?: AST.ParseOptions) => { |
| 454 | const parser = goMemo(ast, isDecoding) |
| 455 | return (input: unknown, overrideOptions?: AST.ParseOptions): Effect.Effect<any, ParseIssue, R> => |
| 456 | parser(input, { ...mergeInternalOptions(options, overrideOptions), isEffectAllowed: true }) |
| 457 | } |
| 458 | |
| 459 | /** |
| 460 | * @throws `ParseError` |
no test coverage detected
searching dependent graphs…