Types and Results
Core Process Types
ParseResult: Output of the parsing phase.ReactIRDescriptor: Output of the transformation phase.GeneratorResult: Output of the generation phase.
Compilation Result Types
CompilationResult: Unified result union type.SFCCompilationResult: SFC (Single-File Component) output (jsx + css information).ScriptCompilationResult: Script-only output.StyleCompilationResult: Style-only output.
Compilation Unit Types
CompilationUnit: Generic unit.SFCUnit: SFC unit.ScriptUnit: Script unit.StyleUnit: Style unit.AssetUnit: Asset unit.
Cache-Related Types
CacheKey:SFC | SCRIPT | STYLE | ASSET.CacheMeta,FileCacheMeta,Vue2ReactCacheMeta.LoadedCache<T>: Cache loading structure.CacheCheckResult: Cache hit check result.
Configuration and Plugin Types
CompilerOptionsPluginRegister<T>ParserOptionsTransformerOptionsGeneratorOptions
Recommendations
- For business integration, prioritize relying on high-level types (
CompilerOptions,CompilationResult). - Use IR/cache fine-grained types only when deep extension is required.
