Expand description
Diagnostic reporting for the Oak language framework.
This crate provides structures and traits for representing and managing diagnostics (errors, warnings, advice) in a way that is compatible with various frontends like LSP or CLI output.
Structs§
- Console
Emitter - Emitter for ANSI-colored console output.
- Diagnostic
- A diagnostic message.
- Html
Emitter - Emitter for HTML output.
- Label
- A labeled region in the source code.
- LspEmitter
- Emitter for LSP (Language Server Protocol) diagnostics.
- Plain
Text Emitter - Emitter for plain text output without colors.
Enums§
- Severity
- Severity of a diagnostic.
Traits§
- Diagnostic
Provider - A trait for objects that can be converted into a diagnostic.
- Emitter
- A trait for emitting diagnostics.
- Localizer
- A trait for localizing diagnostic messages.
- OakDiagnostics
Provider - A provider that emits diagnostics for a language.