Ruby 3.5.0dev (2025-02-22 revision 412997300569c1853c09813e4924b6df3d7e8669)
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_tlocals
 The names of the locals in the scope.
 
uint8_t forwarding
 Flags for the set of forwarding parameters in this scope.
 

Detailed Description

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

Definition at line 36 of file options.h.

Field Documentation

◆ forwarding

uint8_t pm_options_scope::forwarding

Flags for the set of forwarding parameters in this scope.

Definition at line 44 of file options.h.

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

◆ locals

pm_string_t* pm_options_scope::locals

The names of the locals in the scope.

Definition at line 41 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 38 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: