Prism Ruby parser
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>

Collaboration diagram for pm_local_t:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

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


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