class YARP::Debug::ISeq

def each_child

def each_child
  instructions.each do |instruction|
    # Only look at arrays. Other instructions are line numbers or
    # tracepoint events.
    next unless instruction.is_a?(Array)
    instruction.each do |opnd|
      # Only look at arrays. Other operands are literals.
      next unless opnd.is_a?(Array)
      # Only look at instruction sequences. Other operands are literals.
      next unless opnd[0] == "YARVInstructionSequence/SimpleDataFormat"
      yield ISeq.new(opnd)
    end
  end
end

def initialize(parts)

def initialize(parts)
  @parts = parts
end

def instructions

def instructions
  parts[13]
end

def local_table

def local_table
  parts[10]
end

def type

def type
  parts[0]
end