Skip to content

createAnalysisContext

createAnalysisContext(projectRoot, typesFilePath): AnalysisContext

Defined in: metadata-analysis.ts:386

Create or reuse the compiler analysis context for one metadata source file.

string

Project root used for module resolution and dependency tracking.

string

Absolute path to the source types file being analyzed.

AnalysisContext

An analysis context containing the TypeScript program, checker, and recursion guards.