Ruby 4.1.0dev (2026-11-25 revision f46d41a54ce53b8bc6d86f3571999bdc5075fee2)
pm_keyword_t Struct Reference

A Ruby keyword, along with the lex state that it transitions to and the token types that it produces. More...

Data Fields

const char * name
uint32_t packed
pm_lex_state_t state
pm_token_type_t type
pm_token_type_t modifier_type

Detailed Description

A Ruby keyword, along with the lex state that it transitions to and the token types that it produces.

Definition at line 8412 of file prism.c.

Field Documentation

◆ modifier_type

pm_token_type_t pm_keyword_t::modifier_type

Definition at line 8428 of file prism.c.

◆ name

const char* pm_keyword_t::name

Definition at line 8414 of file prism.c.

◆ packed

uint32_t pm_keyword_t::packed

Definition at line 8418 of file prism.c.

◆ state

pm_lex_state_t pm_keyword_t::state

Definition at line 8421 of file prism.c.

◆ type

pm_token_type_t pm_keyword_t::type

Definition at line 8424 of file prism.c.


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