Structurally parses one file's AST for everything the generator needs: createEnv(...)/documentEnv(...) call sites, the local const declarations and imports needed to resolve an identifier passed to either of them.
createEnv(...)
documentEnv(...)
const
Never type-checks or executes the file -- see link.ts for how these raw facts get resolved into actual schema/docs data, including across files.
link.ts
Structurally parses one file's AST for everything the generator needs:
createEnv(...)/documentEnv(...)call sites, the localconstdeclarations and imports needed to resolve an identifier passed to either of them.