struct StackMachine::Jump
- StackMachine::Jump
- Struct
- Value
- Object
Overview
Struct for Jump opcode
Defined in:
stackmachine/opcode.crConstructors
Instance Method Summary
-
#call(& : Int32 | Symbol -> ) : Void
Pass in a block to perform specified operation with the underlying index
Constructor Detail
Instance Method Detail
def call(& : Int32 | Symbol -> ) : Void
#
Pass in a block to perform specified operation with the underlying index
Jump.new.call do | index |
do_something_with index
end