Structs§
- Ambiguous
External Namespace Module - Batched
Build Diagnostic - Build
Diagnostic - Bundler
Initialize Error - Caused
Plugin - Diagnosable
Resolve Error - Diagnostic
- Diagnostic
Options - Diagnostic
Primary Location - Primary source location of a diagnostic’s first label.
- Event
Kind Switcher - Import
Chain Note - Plugin
Timing Info - Rendered
Diagnostic - A diagnostic rendered to its display string together with its primary location.
- Require
Tla - Unloadable
Dependency Context
Enums§
- CjsExport
Span - Only record start offset for efficiency and simplicity
- Diagnosable
Arcstr - A Hybrid string type used for diagnostic, e.g.
for
UnresolvedError, a specifier could be either a slice from raw source, or created during ast transformation. When the specifier came from raw source, we could use theSpaninformation to give user better DX, otherwise, we could just use the string to create a fallback message. - Event
Kind - Invalid
Option Type - Severity
Traits§
Functions§
- consolidate_
diagnostics - Consolidates diagnostics by merging those that can be grouped together.
- downcast_
napi_ error_ diagnostics - filter_
out_ disabled_ diagnostics - resolve_
error_ to_ message - Converts an oxc resolver error to a human-readable error message.