Ruby 3.3.0p0 (2023-12-25 revision 5124f9ac7513eb590c37717337c430cb93caa151)
|
This struct represents a node in a linked list of scopes. More...
#include <parser.h>
Data Fields | |
pm_constant_id_list_t | locals |
The IDs of the locals in the given scope. | |
struct pm_scope * | previous |
A pointer to the previous scope in the linked list. | |
bool | closed |
A boolean indicating whether or not this scope can see into its parent. | |
bool | explicit_params |
A boolean indicating whether or not this scope has explicit parameters. | |
uint8_t | numbered_parameters |
An integer indicating the number of numbered parameters on this scope. | |
This struct represents a node in a linked list of scopes.
Some scopes can see into their parent scopes, while others cannot.
bool pm_scope::closed |
bool pm_scope::explicit_params |
pm_constant_id_list_t pm_scope::locals |
The IDs of the locals in the given scope.
Definition at line 456 of file parser.h.
Referenced by pm_parser_free().
uint8_t pm_scope::numbered_parameters |
struct pm_scope* pm_scope::previous |