Ruby: lex_context Struct Reference

Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)

Public Member Functions | Data Fields
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:

- parse.c