Class: SyntaxTree::YARV::InstructionSequence::CatchBreak

Inherits:
CatchEntry
  • Object
show all
Defined in:
lib/syntax_tree/yarv/instruction_sequence.rb

Instance Attribute Summary

Attributes inherited from CatchEntry

#begin_label, #end_label, #exit_label, #iseq, #restore_sp

Instance Method Summary collapse

Methods inherited from CatchEntry

#initialize

Constructor Details

This class inherits a constructor from SyntaxTree::YARV::InstructionSequence::CatchEntry

Instance Method Details

#to_aObject



495
496
497
498
499
500
501
502
503
504
# File 'lib/syntax_tree/yarv/instruction_sequence.rb', line 495

def to_a
  [
    :break,
    iseq.to_a,
    begin_label.name,
    end_label.name,
    exit_label.name,
    restore_sp
  ]
end