|
Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)
|
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 |