class SyntaxTree::YARV::Nop
### Summary
‘nop` is a no-operation instruction. It is used to pad the instruction sequence so there is a place for other instructions to jump to.
### Usage
~~~ruby raise rescue true ~~~
Public Instance Methods
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2589 def ==(other) other.is_a?(Nop) end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2585 def deconstruct_keys(_keys) {} end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2577 def disasm(fmt) fmt.instruction("nop") end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2596 def side_effects? false end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2581 def to_a(_iseq) [:nop] end