Ruby 3.4.2p28 (2025-02-15 revision d2930f8e7a5db8a7337fa43370940381b420cc3e)
lex_context Struct Reference

Public Member Functions

 BITFIELD (enum rb_parser_shareability, shareable_constant_value, 2)
 
 BITFIELD (enum rescue_context, in_rescue, 2)
 

Data Fields

unsigned int in_defined: 1
 
unsigned int in_kwarg: 1
 
unsigned int in_argdef: 1
 
unsigned int in_def: 1
 
unsigned int in_class: 1
 
unsigned int cant_return: 1
 

Detailed Description

Definition at line 368 of file parse.c.

Field Documentation

◆ cant_return

unsigned int lex_context::cant_return

Definition at line 376 of file parse.c.

◆ in_argdef

unsigned int lex_context::in_argdef

Definition at line 371 of file parse.c.

◆ in_class

unsigned int lex_context::in_class

Definition at line 373 of file parse.c.

◆ in_def

unsigned int lex_context::in_def

Definition at line 372 of file parse.c.

◆ in_defined

unsigned int lex_context::in_defined

Definition at line 369 of file parse.c.

◆ in_kwarg

unsigned int lex_context::in_kwarg

Definition at line 370 of file parse.c.


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