salsa/examples/compiler/compiler.rs

7 lines
133 B
Rust
Raw Normal View History

2018-10-05 08:54:51 +00:00
pub trait CompilerDatabase: salsa::Database {
2018-09-28 15:26:53 +00:00
fn interner(&self) -> &Interner;
}
2018-09-28 15:40:20 +00:00
#[derive(Clone, Default)]
2018-09-28 15:26:53 +00:00
pub struct Interner;