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



511
512
513
514
515
516
517
518
519
520
# File 'lib/syntax_tree/yarv/instruction_sequence.rb', line 511

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