Module diagnostics

Source
Expand description

Source diagnostics and byte hit testing. Version-aware diagnostic value types and byte hit testing.

Structs§

Diagnostic
Diagnostic attached to a byte range in a code document.
DiagnosticHit
Owned diagnostic plus its original slice index.

Enums§

DiagnosticSeverity
Diagnostic importance used for semantic coloring.
DiagnosticSource
Diagnostic producer category.

Functions§

diagnostic_at_byte
Returns the first diagnostic whose inclusive range contains byte.