|
Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
|
Data Fields | |
| size_t | nesting |
| This keeps track of the nesting level of the string. | |
| bool | interpolation |
| Whether or not interpolation is allowed in this string. | |
| bool | label_allowed |
| Whether or not at the end of the string we should allow a :, which would indicate this was a dynamic symbol instead of a string. | |
| uint8_t | incrementor |
| When lexing a string, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>. | |
| uint8_t | terminator |
| This is the terminator of the string. | |
| uint8_t | breakpoints [7] |
| This is the character set that should be used to delimit the tokens within the string. | |
| uint8_t pm_lex_mode::[struct].as.string[7] |
This is the character set that should be used to delimit the tokens within the string.
| uint8_t pm_lex_mode::[struct].as.string incrementor |
When lexing a string, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>.
| bool pm_lex_mode::[struct].as.string interpolation |
Whether or not interpolation is allowed in this string.
| bool pm_lex_mode::[struct].as.string label_allowed |
Whether or not at the end of the string we should allow a :, which would indicate this was a dynamic symbol instead of a string.
| size_t pm_lex_mode::[struct].as.string nesting |
This keeps track of the nesting level of the string.
| uint8_t pm_lex_mode::[struct].as.string terminator |
This is the terminator of the string.
It is typically either a single or double quote.