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

Method getParser

packages/effect/src/SchemaAST.ts:3083–3086  ·  view source on GitHub ↗

@internal

(compile: SchemaParser.Compiler)

Source from the content-addressed store, hash-verified

3081 }
3082 /** @internal */
3083 getParser(compile: SchemaParser.Compiler): SchemaParser.Parser {
3084 let parser: SchemaParser.Parser
3085 return (input, options) => (parser ??= compile(this.thunk()))(input, options)
3086 }
3087 /** @internal */
3088 recur(recur: (ast: AST) => AST) {
3089 return new Suspend(

Callers

nothing calls this directly

Calls 1

compileFunction · 0.50

Tested by

no test coverage detected