Ruby 4.1.0dev (2026-11-24 revision dec1bb786f718840e7ea828fafdcc3cd29c64448)
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 8346 of file prism.c.

Field Documentation

◆ modifier_type

pm_token_type_t pm_keyword_t::modifier_type

Definition at line 8362 of file prism.c.

◆ name

const char* pm_keyword_t::name

Definition at line 8348 of file prism.c.

◆ packed

uint32_t pm_keyword_t::packed

Definition at line 8352 of file prism.c.

◆ state

pm_lex_state_t pm_keyword_t::state

Definition at line 8355 of file prism.c.

◆ type

pm_token_type_t pm_keyword_t::type

Definition at line 8358 of file prism.c.


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