16 lines
290 B
Rust
16 lines
290 B
Rust
use crate::{diagnostics::Diagnostic, metadata::CodePath};
|
|
use leaf_assembly::values::AnyValue;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub enum Event<'l> {
|
|
Symbol {
|
|
value: AnyValue<'l>,
|
|
position: CodePath,
|
|
},
|
|
Definition {
|
|
value: AnyValue<'l>,
|
|
position: CodePath,
|
|
},
|
|
Diagnostic(Diagnostic),
|
|
}
|