Ruby: rb_captured_block Struct Reference

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

Data Fields
rb_captured_block Struct Reference

`#include <vm_core.h>`

## Data Fields
VALUE | self
const VALUE * | ep
union {
const rb_iseq_t * iseq
const struct vm_ifunc * ifunc
VALUE val
} | code

## Detailed Description

Definition at line 736 of file vm_core.h.

## Field Documentation

## ◆

union { ... } rb_captured_block::code

Referenced by rb_block_to_s(), rb_proc_get_iseq(), rb_vm_block_copy(), rb_vm_make_binding(), and rb_vm_make_proc_lambda().

## ◆ ep

const VALUE* rb_captured_block::ep

Definition at line 738 of file vm_core.h.

Referenced by rb_vm_block_copy(), rb_vm_block_ep_update(), rb_vm_make_proc_lambda(), and rb_yield_refine_block().

## ◆ ifunc

const struct vm_ifunc* rb_captured_block::ifunc

Definition at line 741 of file vm_core.h.

Referenced by rb_block_to_s(), and rb_proc_get_iseq().

## ◆ iseq

const rb_iseq_t* rb_captured_block::iseq

Definition at line 740 of file vm_core.h.

Referenced by rb_block_to_s(), rb_proc_get_iseq(), rb_proc_isolate_bang(), and rb_vm_make_binding().

## ◆ self

VALUE rb_captured_block::self

Definition at line 737 of file vm_core.h.

Referenced by rb_obj_instance_eval(), rb_obj_instance_exec(), rb_proc_call(), rb_proc_call_kw(), rb_proc_call_with_block(), rb_proc_call_with_block_kw(), rb_proc_isolate_bang(), rb_vm_block_copy(), rb_vm_make_binding(), and rb_yield_refine_block().

## ◆ val

VALUE rb_captured_block::val

Definition at line 742 of file vm_core.h.

Referenced by rb_vm_block_copy(), and rb_vm_make_proc_lambda().

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

- vm_core.h