Trait come::ir::function::statement::IsIRStatement

source ·
pub trait IsIRStatement {
    // Required methods
    fn use_register(&self) -> Vec<RegisterName>;
    fn generate_register(&self) -> Option<(RegisterName, Type)>;
    fn on_register_change(&mut self, from: &RegisterName, to: Quantity);
}
Expand description

This trait should be implemented for all IRStatements

Required Methods§

Implementors§