Skip to main content

kode_core/
marker.rs

1use crate::Position;
2
3#[derive(Debug, Clone, PartialEq)]
4pub enum MarkerSeverity {
5    Error,
6    Warning,
7    Info,
8    Hint,
9}
10
11#[derive(Debug, Clone)]
12pub struct Marker {
13    pub start: Position,
14    pub end: Position,
15    pub message: String,
16    pub severity: MarkerSeverity,
17}