class SyntaxTree::YARV::Leave


~~~
;;
~~~ruby
### Usage
`leave` exits the current frame.
### Summary

def ==(other)

def ==(other)
  other.is_a?(Leave)
end

def call(vm)

def call(vm)
  vm.leave
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  {}
end

def disasm(fmt)

def disasm(fmt)
  fmt.instruction("leave")
end

def leaves?

def leaves?
  true
end

def pops

def pops
  1
end

def pushes

def pushes
  # TODO: This is wrong. It should be 1. But it's 0 for now because
  # otherwise the stack size is incorrectly calculated.
  0
end

def to_a(_iseq)

def to_a(_iseq)
  [:leave]
end