Ruby  3.4.0dev (2024-11-05 revision e440268d51fe02b303e3817a7a733a0dac1c5091)
Data Fields
pm_local_index_struct Struct Reference

the getlocal and setlocal instructions require two parameters. More...

#include <prism_compile.h>

Data Fields

int index
 
int level
 

Detailed Description

the getlocal and setlocal instructions require two parameters.

level is how many hops up the iseq stack one needs to go before finding the correct local table. The index is the index in that table where our variable is.

Because these are always calculated and used together, we'll bind them together as a tuple.

Definition at line 12 of file prism_compile.h.


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