AnalysisContext
Defined in: metadata-analysis.ts:12
Hold shared compiler state for metadata parsing and symbol resolution.
Properties
Section titled “Properties”allowedExternalPackages
Section titled “allowedExternalPackages”allowedExternalPackages:
Set<string>
Defined in: metadata-analysis.ts:13
checker
Section titled “checker”checker:
TypeChecker
Defined in: metadata-analysis.ts:14
maxRecursiveDepth
Section titled “maxRecursiveDepth”maxRecursiveDepth:
number
Defined in: metadata-analysis.ts:19
Maximum number of times a single recursive type declaration is unrolled before the parser emits a terminal leaf node.
packageNameCache
Section titled “packageNameCache”packageNameCache:
Map<string,string|null>
Defined in: metadata-analysis.ts:20
projectRoot
Section titled “projectRoot”projectRoot:
string
Defined in: metadata-analysis.ts:21
program
Section titled “program”program:
Program
Defined in: metadata-analysis.ts:22
recursionDepth
Section titled “recursionDepth”recursionDepth:
Map<string,number>
Defined in: metadata-analysis.ts:27
Tracks the current unrolling depth per recursive type declaration key
(${fileName}:${typeName}). Replaces the former hard-throw presence set.
totalNodeCount
Section titled “totalNodeCount”totalNodeCount:
number
Defined in: metadata-analysis.ts:32
Total number of attribute nodes created during this analysis run. Capped to prevent exponential blowups from multi-branch recursive types.