12 lines
237 B
Rust
12 lines
237 B
Rust
use crate::ast::Literal;
|
|
|
|
pub trait LLVMIRTranslation {
|
|
fn llvm_translate(&self) -> Result<String, ()>;
|
|
}
|
|
|
|
impl LLVMIRTranslation for crate::ast::Literal {
|
|
fn llvm_translate(&self) -> Result<String, ()> {
|
|
todo!()
|
|
}
|
|
}
|