Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

The unified Diagnostic type shared by the parser, AST validation, and the serialize/HTML pre-validation.

Structs§

Diagnostic
A single diagnostic across every domain — parser, AST validation, and the serialize/HTML pre-validation that wraps it. span is optional because a hand-built AST node may carry no source location.

Enums§

DiagnosticCode
A machine-readable category for a Diagnostic.
DiagnosticSeverity
How serious a Diagnostic is.