Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
pm_parser::[struct].lex_modes Struct Reference

A stack of lex modes. More...

Data Fields

pm_lex_mode_tcurrent
 The current mode of the lexer.
pm_lex_mode_t stack [PM_LEX_STACK_SIZE]
 The stack of lexer modes.
size_t index
 The current index into the lexer mode stack.

Detailed Description

A stack of lex modes.

Definition at line 682 of file parser.h.

Field Documentation

◆ current

pm_lex_mode_t* pm_parser::[struct].lex_modes current

The current mode of the lexer.

◆ index

The current index into the lexer mode stack.

◆ stack

The stack of lexer modes.


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