MCPcopy Create free account
hub / github.com/arktypeio/arktype / writtenIn

Function writtenIn

ark/aot/driver.ts:975–982  ·  view source on GitHub ↗
({
	modules,
	texts
}: StoredScan)

Source from the content-addressed store, hash-verified

973}
974
975const writtenIn = ({
976 modules,
977 texts
978}: StoredScan): Record<string, ProgramModule> =>
979 flatMorph(modules, (id, module) => [
980 id,
981 withModules(module, place => texts[+place])
982 ])
983
984const withModules = (
985 module: ProgramModule,

Callers 1

answerFunction · 0.70

Calls 2

flatMorphFunction · 0.90
withModulesFunction · 0.85

Tested by

no test coverage detected