Class: SyntaxTree::YARV::VM::TopFrame

Inherits:
Frame
  • Object
show all
Defined in:
lib/syntax_tree/yarv/vm.rb

Instance Attribute Summary

Attributes inherited from Frame

#_self, #iseq, #line, #nesting, #parent, #pc, #stack_index, #svars

Instance Method Summary collapse

Constructor Details

#initialize(iseq) ⇒ TopFrame

Returns a new instance of TopFrame.



43
44
45
# File 'lib/syntax_tree/yarv/vm.rb', line 43

def initialize(iseq)
  super(iseq, nil, 0, TOPLEVEL_BINDING.eval("self"), [Object])
end