Class: SyntaxTree::YARV::InstructionSequence::CatchRescue

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



532
533
534
535
536
537
538
539
540
# File 'lib/syntax_tree/yarv/instruction_sequence.rb', line 532

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