Ruby: lex_context Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Public Member Functions | Data Fields
lex_context Struct Reference

## Public Member Functions
| BITFIELD (enum shareability, shareable_constant_value, 2)
| BITFIELD (enum shareability, shareable_constant_value, 2)

## Data Fields
unsigned int | in_defined: 1
unsigned int | in_kwarg: 1
unsigned int | in_def: 1
unsigned int | in_class: 1

## Detailed Description

Definition at line 124 of file ripper.c.

## Member Function Documentation

## ◆ BITFIELD() [1/2]

lex_context::BITFIELD | ( | enum | shareability,
|  | shareable_constant_value | ,
|  | 2 |
| ) |  |

## ◆ BITFIELD() [2/2]

lex_context::BITFIELD | ( | enum | shareability,
|  | shareable_constant_value | ,
|  | 2 |
| ) |  |

## Field Documentation

## ◆ in_class

unsigned int lex_context::in_class

Definition at line 128 of file ripper.c.

Referenced by yyparse().

## ◆ in_def

unsigned int lex_context::in_def

Definition at line 127 of file ripper.c.

Referenced by yyparse().

## ◆ in_defined

unsigned int lex_context::in_defined

Definition at line 125 of file ripper.c.

Referenced by yyparse().

## ◆ in_kwarg

unsigned int lex_context::in_kwarg

Definition at line 126 of file ripper.c.

Referenced by yyparse().

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

- ext/ripper/ripper.c
- parse.c