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.
- Diagnostics
- A mixed-severity diagnostic accumulator.
- Event
Kind Switcher - Import
Chain Note - Namespace
Conflict Exporter - Plugin
Timing - What one callback cost, measured inside it on the JavaScript side.
- Plugin
Timings - Plugin
Timings Measurement - One build’s worth of JavaScript-side measurement.
- 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. - Empty
Import Meta Kind - What produced the empty
import.metaa warning is being raised about. - Event
Kind - Invalid
Option Type - Plugin
Timing Kind - The location where the user configured a measured callback. The report uses this value to distinguish plugins, input options, and output options.
- 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.