class SyntaxTree::YARV::Pop

### Summary

‘pop` pops the top value off the stack.

### Usage

~~~ruby a ||= 2 ~~~

Public Instance Methods

==(other) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4458
def ==(other)
  other.is_a?(Pop)
end
call(vm) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4466
def call(vm)
  vm.pop
end
deconstruct_keys(_keys) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4454
def deconstruct_keys(_keys)
  {}
end
disasm(fmt) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4446
def disasm(fmt)
  fmt.instruction("pop")
end
pops() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4462
def pops
  1
end
side_effects?() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4470
def side_effects?
  false
end
to_a(_iseq) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4450
def to_a(_iseq)
  [:pop]
end