Ruby: iseq_catch_table_entry Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

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
rb_iseq_t * | iseq
unsigned int | start
unsigned int | end
unsigned int | cont
unsigned int | sp

## Detailed Description

Definition at line 218 of file iseq.h.

## Member Enumeration Documentation

## ◆ catch_type

enum iseq_catch_table_entry::catch_type

Enumerator
CATCH_TYPE_RESCUE |
CATCH_TYPE_ENSURE |
CATCH_TYPE_RETRY |
CATCH_TYPE_BREAK |
CATCH_TYPE_REDO |
CATCH_TYPE_NEXT |

Definition at line 219 of file iseq.h.

## Field Documentation

## ◆ cont

unsigned int iseq_catch_table_entry::cont

Definition at line 244 of file iseq.h.

## ◆ end

unsigned int iseq_catch_table_entry::end

Definition at line 243 of file iseq.h.

## ◆ iseq

rb_iseq_t* iseq_catch_table_entry::iseq

Definition at line 240 of file iseq.h.

Referenced by rb_iseq_mark(), and rb_iseq_update_references().

## ◆ sp

unsigned int iseq_catch_table_entry::sp

Definition at line 245 of file iseq.h.

## ◆ start

unsigned int iseq_catch_table_entry::start

Definition at line 242 of file iseq.h.

## ◆ type

enum iseq_catch_table_entry::catch_type iseq_catch_table_entry::type

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

- iseq.h