createAnalysisContext
createAnalysisContext(
projectRoot,typesFilePath):AnalysisContext
Defined in: metadata-analysis.ts:386
Create or reuse the compiler analysis context for one metadata source file.
Parameters
Section titled “Parameters”projectRoot
Section titled “projectRoot”string
Project root used for module resolution and dependency tracking.
typesFilePath
Section titled “typesFilePath”string
Absolute path to the source types file being analyzed.
Returns
Section titled “Returns”An analysis context containing the TypeScript program, checker, and recursion guards.