Ruby: rb_iseq_location_struct Struct Reference

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

Data Fields
rb_iseq_location_struct Struct Reference

`#include <vm_core.h>`

## Data Fields
VALUE | pathobj
VALUE | base_label
VALUE | label
VALUE | first_lineno
int | node_id
rb_code_location_t | code_location

## Detailed Description

Definition at line 266 of file vm_core.h.

## Field Documentation

## ◆ base_label

VALUE rb_iseq_location_struct::base_label

Definition at line 268 of file vm_core.h.

Referenced by rb_iseq_base_label(), rb_iseq_mark(), rb_iseq_method_name(), and rb_iseq_update_references().

## ◆ code_location

rb_code_location_t rb_iseq_location_struct::code_location

Definition at line 272 of file vm_core.h.

Referenced by rb_iseq_code_location(), rb_iseq_compile_node(), and rb_resolve_me_location().

## ◆ first_lineno

VALUE rb_iseq_location_struct::first_lineno

Definition at line 270 of file vm_core.h.

Referenced by rb_backtrace_use_iseq_first_lineno_for_last_location(), rb_block_to_s(), rb_iseq_compile_node(), and rb_iseq_first_lineno().

## ◆ label

VALUE rb_iseq_location_struct::label

Definition at line 269 of file vm_core.h.

Referenced by rb_binding_add_dynavars(), rb_insn_operand_intern(), rb_iseq_label(), rb_iseq_mark(), and rb_iseq_update_references().

## ◆ node_id

int rb_iseq_location_struct::node_id

Definition at line 271 of file vm_core.h.

## ◆ pathobj

VALUE rb_iseq_location_struct::pathobj

Definition at line 267 of file vm_core.h.

Referenced by rb_iseq_mark(), rb_iseq_path(), rb_iseq_pathobj_set(), rb_iseq_realpath(), rb_iseq_update_references(), and rb_vm_make_binding().

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

- vm_core.h