Files
leaf/compiler/src/events.rs
T

16 lines
290 B
Rust
Raw Normal View History

2026-03-09 11:07:24 +01:00
use crate::{diagnostics::Diagnostic, metadata::CodePath};
2026-03-08 14:34:12 +01:00
use leaf_assembly::values::AnyValue;
#[derive(Debug, Clone)]
pub enum Event<'l> {
Symbol {
value: AnyValue<'l>,
2026-03-09 11:07:24 +01:00
position: CodePath,
2026-03-08 14:34:12 +01:00
},
Definition {
value: AnyValue<'l>,
2026-03-09 11:07:24 +01:00
position: CodePath,
2026-03-08 14:34:12 +01:00
},
Diagnostic(Diagnostic),
}