module
Crystal::Repl::Disassembler
Overview
Allows showing bytecode in a human-readable way.
TODO right now local variables are not very nicely.
Defined in:
compiler/crystal/interpreter/disassembler.crClass Method Summary
- .disassemble(context : Context, instructions : CompiledInstructions, local_vars : LocalVars) : String
- .disassemble(context : Context, compiled_def : CompiledDef) : String
- .disassemble(context : Context, compiled_block : CompiledBlock) : String
- .disassemble_one(context : Context, instructions : CompiledInstructions, ip : Int32, local_vars : LocalVars, io : IO) : Int32
Class Method Detail
def self.disassemble(context : Context, instructions : CompiledInstructions, local_vars : LocalVars) : String
#