Skip to main content

Module manager

Module manager 

Source
Expand description

SourceErrorManager: owns source buffers, resolves locations, and dispatches diagnostics. This module covers buffer registration, names, virtual buffers, source-URL storage, and the central diagnostic emit pipeline: handler storage, message counts, error limit, warning categories, and message buffering/coalescing. Port of hermes::SourceErrorManager.

Structsยง

MessageData
A single diagnostic payload awaiting flush while buffering is active, or held by an active collector. Port of the MessageData inner struct in SourceErrorManager.cpp.
SourceErrorManager
A facade that owns source buffers and reports diagnostics against them. Rust port of hermes::SourceErrorManager.