Modules§
Structs§
- Compiler
Diagnostic - A single compiler diagnostic (new-style)
- Compiler
Error - Aggregate compiler error - can contain multiple diagnostics. This is the main error type thrown/returned by the compiler.
- Compiler
Error Detail - Legacy-style error detail (matches CompilerErrorDetail in TS)
- Compiler
Suggestion - A compiler suggestion for fixing an error
- Position
- Source
Location - Source location (matches Babel’s SourceLocation format) This is the HIR source location, separate from AST’s BaseNode location. GeneratedSource is represented as None.
Enums§
- Compiler
Diagnostic Detail - Detail for a diagnostic
- Compiler
Error OrDiagnostic - Either a new-style diagnostic or legacy error detail
- Compiler
Suggestion Operation - Suggestion operations for auto-fixes
- Error
Category - Error categories matching the TS ErrorCategory enum
- Error
Severity - Error severity levels
Constants§
- GENERATED_
SOURCE - Sentinel value for generated/synthetic source locations