Ruby 4.1.0dev (2026-11-19 revision b409062b86ed964c0779df64675ef171a6c93a76)
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 8351 of file prism.c.

Field Documentation

◆ modifier_type

pm_token_type_t pm_keyword_t::modifier_type

Definition at line 8367 of file prism.c.

◆ name

const char* pm_keyword_t::name

Definition at line 8353 of file prism.c.

◆ packed

uint32_t pm_keyword_t::packed

Definition at line 8357 of file prism.c.

◆ state

pm_lex_state_t pm_keyword_t::state

Definition at line 8360 of file prism.c.

◆ type

pm_token_type_t pm_keyword_t::type

Definition at line 8363 of file prism.c.


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