internal
Importable from `svelte-docinfo/analyze-core.js` for tests and power users; not stable API.
(inputs: AnalyzeCoreInputs): AnalyzeResultJson import {analyzeCore} from 'svelte-docinfo/analyze-core.js'; Run the two-phase analysis loop on pre-prepared inputs. The orchestrator
behind session.query, and so behind the one-shot wrappers, which query a
single-use session.
Runs the alias-registry pre-pass (buildAliasRegistry) over the emitted set, then phase 1: per-file dispatch (TS / Svelte / CSS / JSON / placeholder for transform-failed Svelte), plus gated Svelte canonicals analyzed as fill context. Phase 2: re-export merge, component-alias fill, sort, duplicate detection, and module-path normalization in printed types (normalizeModulePathsInTypes), then finalizeDiagnostics.
Dependents are read from sourceFile.dependents via extractDependencies;
analyzeCore does not compute them. session.query runs
computeDependents on the emitted set before invoking this.
inputs
returns
AnalyzeResultJson