@maverickcer/env-cap
    Preparing search index...

    Function parseSchemaFile

    • 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.

      Parameters

      • filePath: string
      • sourceText: string

      Returns FileParseResult

      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.