Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
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: