abbreviate names in heap_iter.rs
This commit is contained in:
@@ -94,10 +94,10 @@ impl MachineState {
|
||||
}
|
||||
|
||||
pub(super) fn print_term<Fmt, Outputter>(&self, a: Addr, fmt: Fmt, output: Outputter) -> Outputter
|
||||
where Fmt: HeapCellValueFormatter, Outputter: HeapCellValueOutputter
|
||||
where Fmt: HCValueFormatter, Outputter: HCValueOutputter
|
||||
{
|
||||
let iter = HeapCellPreOrderIterator::new(&self, a);
|
||||
let printer = HeapCellPrinter::new(iter, fmt, output);
|
||||
let iter = HCPreOrderIterator::new(&self, a);
|
||||
let printer = HCPrinter::new(iter, fmt, output);
|
||||
|
||||
printer.print()
|
||||
}
|
||||
|
||||
@@ -424,7 +424,7 @@ impl Machine {
|
||||
}
|
||||
|
||||
pub fn heap_view<Outputter>(&self, var_dir: &HeapVarDict, mut output: Outputter) -> Outputter
|
||||
where Outputter: HeapCellValueOutputter
|
||||
where Outputter: HCValueOutputter
|
||||
{
|
||||
for (var, addr) in var_dir {
|
||||
output.begin_new_var();
|
||||
|
||||
Reference in New Issue
Block a user