Ruby: pm_options_scope Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Data Fields
pm_options_scope Struct Reference

A scope of locals surrounding the code that is being parsed. More...

`#include <options.h>`

## Data Fields
size_t | locals_count
| The number of locals in the scope.
pm_string_t * | locals
| The names of the locals in the scope.

## Detailed Description

A scope of locals surrounding the code that is being parsed.

Definition at line 19 of file options.h.

## Field Documentation

## ◆ locals

pm_string_t* pm_options_scope::locals

The names of the locals in the scope.

Definition at line 24 of file options.h.

Referenced by pm_options_free(), pm_options_read(), pm_options_scope_init(), and pm_options_scope_local_get().

## ◆ locals_count

size_t pm_options_scope::locals_count

The number of locals in the scope.

Definition at line 21 of file options.h.

Referenced by pm_options_free(), pm_options_scope_init(), and pm_parser_init().

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

- prism/options.h