pub trait RebuilderEx: Rebuilder {
// Provided methods
fn rebuild_statement(&mut self, statement: &Statement) -> Statement { ... }
fn rebuild_remapping(&mut self, remapping: &VarRemapping) -> VarRemapping { ... }
fn rebuild_end(&mut self, end: &FlatBlockEnd) -> FlatBlockEnd { ... }
fn rebuild_block(&mut self, block: &FlatBlock) -> FlatBlock { ... }
}
Provided Methods§
Sourcefn rebuild_statement(&mut self, statement: &Statement) -> Statement
fn rebuild_statement(&mut self, statement: &Statement) -> Statement
Rebuilds the statement with renamed var and block ids.
Sourcefn rebuild_remapping(&mut self, remapping: &VarRemapping) -> VarRemapping
fn rebuild_remapping(&mut self, remapping: &VarRemapping) -> VarRemapping
Apply map_var_id to all the variable in the remapping
.
Sourcefn rebuild_end(&mut self, end: &FlatBlockEnd) -> FlatBlockEnd
fn rebuild_end(&mut self, end: &FlatBlockEnd) -> FlatBlockEnd
Rebuilds the block end with renamed var and block ids.
Sourcefn rebuild_block(&mut self, block: &FlatBlock) -> FlatBlock
fn rebuild_block(&mut self, block: &FlatBlock) -> FlatBlock
Rebuilds the block with renamed var and block ids.