Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
pm_lex_mode::[struct].as.list Struct Reference

Data Fields

size_t nesting
 This keeps track of the nesting level of the list.
bool interpolation
 Whether or not interpolation is allowed in this list.
uint8_t incrementor
 When lexing a list, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>.
uint8_t terminator
 This is the terminator of the list literal.
uint8_t breakpoints [11]
 This is the character set that should be used to delimit the tokens within the list.

Detailed Description

Definition at line 151 of file parser.h.

Field Documentation

◆ breakpoints

This is the character set that should be used to delimit the tokens within the list.

◆ incrementor

uint8_t pm_lex_mode::[struct].as.list incrementor

When lexing a list, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>.

◆ interpolation

bool pm_lex_mode::[struct].as.list interpolation

Whether or not interpolation is allowed in this list.

◆ nesting

This keeps track of the nesting level of the list.

◆ terminator

uint8_t pm_lex_mode::[struct].as.list terminator

This is the terminator of the list literal.


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