Ruby  2.4.2p198(2017-09-14revision59899)
Public Types | Data Fields
iseq_catch_table_entry Struct Reference

#include <iseq.h>

Public Types

enum  catch_type {
  CATCH_TYPE_RESCUE = INT2FIX(1), CATCH_TYPE_ENSURE = INT2FIX(2), CATCH_TYPE_RETRY = INT2FIX(3), CATCH_TYPE_BREAK = INT2FIX(4),
  CATCH_TYPE_REDO = INT2FIX(5), CATCH_TYPE_NEXT = INT2FIX(6)
}
 

Data Fields

enum iseq_catch_table_entry::catch_type type
 
const rb_iseq_tiseq
 
unsigned int start
 
unsigned int end
 
unsigned int cont
 
unsigned int sp
 

Detailed Description

Definition at line 146 of file iseq.h.

Member Enumeration Documentation

◆ catch_type

Enumerator
CATCH_TYPE_RESCUE 
CATCH_TYPE_ENSURE 
CATCH_TYPE_RETRY 
CATCH_TYPE_BREAK 
CATCH_TYPE_REDO 
CATCH_TYPE_NEXT 

Definition at line 147 of file iseq.h.

Field Documentation

◆ cont

unsigned int iseq_catch_table_entry::cont

◆ end

unsigned int iseq_catch_table_entry::end

◆ iseq

const rb_iseq_t* iseq_catch_table_entry::iseq

Definition at line 155 of file iseq.h.

Referenced by iseq_data_to_ary(), iseq_set_exception_table(), rb_iseq_disasm(), and vm_exec().

◆ sp

unsigned int iseq_catch_table_entry::sp

Definition at line 159 of file iseq.h.

Referenced by iseq_data_to_ary(), iseq_set_exception_table(), rb_iseq_disasm(), and vm_exec().

◆ start

unsigned int iseq_catch_table_entry::start

◆ type

enum iseq_catch_table_entry::catch_type iseq_catch_table_entry::type

The documentation for this struct was generated from the following file: