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

Method parser

packages/effect/src/SchemaAST.ts:3778–3778  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

3776 const isConstructor = compileField !== undefined
3777 const parsers: Array<SchemaParser.Parser> = []
3778 const parser = (i: number): SchemaParser.Parser => parsers[i] ??= compile(ast.types[i])
3779 let index: CandidateIndex | undefined
3780
3781 return (input, options) => {

Callers 7

feedShapesFunction · 0.45
rejectsFunction · 0.45
parseMethod · 0.45
onItemFunction · 0.45
getParserMethod · 0.45
assertsFunction · 0.45

Calls 1

compileFunction · 0.70

Tested by 1

rejectsFunction · 0.36