struct StackMachine::JumpBackward

Overview

Struct for JumpBackward opcode

Defined in:

stackmachine/opcode.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(delta : Int32) #

[View source]

Instance Method Detail

def call(& : Int32 -> ) : Void #

Pass in a block to perform specified operation with the underlying delta

JumpBackward.new.call do | delta |
  do_something_with delta
end

[View source]