Ruby 4.1.0dev (2026-12-01 revision a157e3404ffd5fb83446a8ccf8cf010e23ea5322)
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 8377 of file prism.c.

Field Documentation

◆ modifier_type

pm_token_type_t pm_keyword_t::modifier_type

Definition at line 8393 of file prism.c.

◆ name

const char* pm_keyword_t::name

Definition at line 8379 of file prism.c.

◆ packed

uint32_t pm_keyword_t::packed

Definition at line 8383 of file prism.c.

◆ state

pm_lex_state_t pm_keyword_t::state

Definition at line 8386 of file prism.c.

◆ type

pm_token_type_t pm_keyword_t::type

Definition at line 8389 of file prism.c.


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