Ruby 3.3.2p78 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71)
pm_regexp_parser_t Struct Reference

This is the parser that is going to handle parsing regular expressions. More...

Data Fields

const uint8_t * start
 A pointer to the start of the source that we are parsing.
 
const uint8_t * cursor
 A pointer to the current position in the source.
 
const uint8_t * end
 A pointer to the end of the source that we are parsing.
 
pm_string_list_tnamed_captures
 A list of named captures that we've found.
 
bool encoding_changed
 Whether the encoding has changed from the default.
 
const pm_encoding_tencoding
 The encoding of the source.
 

Detailed Description

This is the parser that is going to handle parsing regular expressions.

Definition at line 6 of file regexp.c.

Field Documentation

◆ cursor

const uint8_t* pm_regexp_parser_t::cursor

A pointer to the current position in the source.

Definition at line 11 of file regexp.c.

◆ encoding

const pm_encoding_t* pm_regexp_parser_t::encoding

The encoding of the source.

Definition at line 23 of file regexp.c.

◆ encoding_changed

bool pm_regexp_parser_t::encoding_changed

Whether the encoding has changed from the default.

Definition at line 20 of file regexp.c.

◆ end

const uint8_t* pm_regexp_parser_t::end

A pointer to the end of the source that we are parsing.

Definition at line 14 of file regexp.c.

◆ named_captures

pm_string_list_t* pm_regexp_parser_t::named_captures

A list of named captures that we've found.

Definition at line 17 of file regexp.c.

◆ start

const uint8_t* pm_regexp_parser_t::start

A pointer to the start of the source that we are parsing.

Definition at line 8 of file regexp.c.


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