class SyntaxTree::YARV::VM::Frame

Attributes

_self[R]
iseq[R]
line[RW]
nesting[R]
parent[R]
pc[RW]
stack_index[R]
svars[R]

Public Class Methods

new(iseq, parent, stack_index, _self, nesting) click to toggle source
# File lib/syntax_tree/yarv/vm.rb, line 29
def initialize(iseq, parent, stack_index, _self, nesting)
  @iseq = iseq
  @parent = parent
  @stack_index = stack_index
  @_self = _self
  @nesting = nesting

  @svars = {}
  @line = iseq.line
  @pc = 0
end