Ruby 4.1.0dev (2026-11-18 revision e5e6cd45db456b2a4d368f2a34598641319df630)
pm_regexp_token_buffer_t Struct Reference

The token buffer for the content of a regular expression. More...

Data Fields

pm_token_buffer_t base
 The buffer of the content.
pm_regexp_offsets_t offsets
 The places recorded so far.

Detailed Description

The token buffer for the content of a regular expression.

It also records each place where the content stops lining up with the source, so that errors found while validating the content can be reported at their place in the source.

Definition at line 9902 of file prism.c.

Field Documentation

◆ base

pm_token_buffer_t pm_regexp_token_buffer_t::base

The buffer of the content.

Definition at line 9904 of file prism.c.

◆ offsets

pm_regexp_offsets_t pm_regexp_token_buffer_t::offsets

The places recorded so far.

Definition at line 9907 of file prism.c.


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