Class: SyntaxTree::YARV::VM::ClassFrame

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, parent, stack_index, _self) ⇒ ClassFrame

Returns a new instance of ClassFrame.



65
66
67
# File 'lib/syntax_tree/yarv/vm.rb', line 65

def initialize(iseq, parent, stack_index, _self)
  super(iseq, parent, stack_index, _self, parent.nesting + [_self])
end