Rename crates

common -> erg_common
compiler -> erg_compiler
parser -> erg_parser
This commit is contained in:
Shunsuke Shibayama 2022-08-10 23:52:42 +09:00
parent e6008e187b
commit 2a79d79a1c
73 changed files with 210 additions and 210 deletions

View file

@ -0,0 +1,17 @@
use crate::hir::HIR;
use crate::error::{CompileWarnings};
#[derive(Debug)]
pub struct HIROptimizer {
}
impl HIROptimizer {
pub fn fold_constants(&mut self, mut _hir: HIR) -> HIR { todo!() }
pub fn eliminate_unused_variables(&mut self, mut _hir: HIR) -> (HIR, CompileWarnings) { todo!() }
pub fn eliminate_dead_code(&mut self, mut _hir: HIR) -> (HIR, CompileWarnings) {
todo!()
}
}