Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
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: