Ruby 4.1.0dev (2026-11-18 revision bcf3b03b44ae598e3adb59d359cf32202091a318)
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 8350 of file prism.c.

Field Documentation

◆ modifier_type

pm_token_type_t pm_keyword_t::modifier_type

Definition at line 8366 of file prism.c.

◆ name

const char* pm_keyword_t::name

Definition at line 8352 of file prism.c.

◆ packed

uint32_t pm_keyword_t::packed

Definition at line 8356 of file prism.c.

◆ state

pm_lex_state_t pm_keyword_t::state

Definition at line 8359 of file prism.c.

◆ type

pm_token_type_t pm_keyword_t::type

Definition at line 8362 of file prism.c.


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