/// Returns a disassembly of the whole chunk
Returns a disassembly of the whole chunk
Returns a disassembly of the whole chunk
pub fn disassemble(&self) -> String {
    let mut disassembly = format!("=== {} ===", self.chunk.name());
    let mut offset = 0;
    while offset < self.chunk.len() {
      let (line, size) = self.disassemble_instruction_internal(offset);
      disassembly.push('\n');
      disassembly.push_str(&line);
      offset += size;
    }
    disassembly
  }
pub fn disassemble ( & self ) -> String { let mut disassembly = format ! ( " " self chunk name ( ) ) ; let mut offset = 0 ; while offset < self . chunk . len ( ) { let ( line , size ) = self . disassemble_instruction_internal ( offset ) ; disassembly . push ( '\n' ) ; disassembly . push_str ( & line ) ; offset += size ; } disassembly }
Returns a disassembly of the whole chunk
Returns a disassembly of the whole chunk
&self