struct StackMachine::JumpFalseForward

Overview

Struct for JumpFalseForward 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

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

[View source]