Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
Data Fields
pm_local_t Struct Reference

This tracks an individual local variable in a certain lexical context, as well as the number of times is it read. More...

#include <parser.h>

Data Fields

pm_constant_id_t name
 The name of the local variable. More...
 
pm_location_t location
 The location of the local variable in the source. More...
 
uint32_t index
 The index of the local variable in the local table. More...
 
uint32_t reads
 The number of times the local variable is read. More...
 
uint32_t hash
 The hash of the local variable. More...
 

Detailed Description

This tracks an individual local variable in a certain lexical context, as well as the number of times is it read.

Definition at line 532 of file parser.h.

Field Documentation

◆ hash

uint32_t pm_local_t::hash

The hash of the local variable.

Definition at line 546 of file parser.h.

◆ index

uint32_t pm_local_t::index

The index of the local variable in the local table.

Definition at line 540 of file parser.h.

◆ location

pm_location_t pm_local_t::location

The location of the local variable in the source.

Definition at line 537 of file parser.h.

◆ name

pm_constant_id_t pm_local_t::name

The name of the local variable.

Definition at line 534 of file parser.h.

◆ reads

uint32_t pm_local_t::reads

The number of times the local variable is read.

Definition at line 543 of file parser.h.


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