(ast: AST.AST, isDecoding: boolean, options?: AST.ParseOptions)
| 432 | } |
| 433 | |
| 434 | const getEither = (ast: AST.AST, isDecoding: boolean, options?: AST.ParseOptions) => { |
| 435 | const parser = goMemo(ast, isDecoding) |
| 436 | return (u: unknown, overrideOptions?: AST.ParseOptions): Either.Either<any, ParseIssue> => |
| 437 | parser(u, mergeInternalOptions(options, overrideOptions)) as any |
| 438 | } |
| 439 | |
| 440 | const getSync = (ast: AST.AST, isDecoding: boolean, options?: AST.ParseOptions) => { |
| 441 | const parser = getEither(ast, isDecoding, options) |
no test coverage detected