Ruby 4.0.9p0 (2026-10-23 revision 3e93b23afcec3433f6aecc34b5d832799d754238)
pm_lex_mode::[struct].as.regexp Struct Reference

Data Fields

size_t nesting
 This keeps track of the nesting level of the regular expression.
uint8_t incrementor
 When lexing a regular expression, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>.
uint8_t terminator
 This is the terminator of the regular expression.
uint8_t breakpoints [7]
 This is the character set that should be used to delimit the tokens within the regular expression.

Detailed Description

Definition at line 174 of file parser.h.

Field Documentation

◆ breakpoints

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

◆ incrementor

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

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

◆ nesting

This keeps track of the nesting level of the regular expression.

◆ terminator

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

This is the terminator of the regular expression.


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