Ruby
3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
|
This is the parser that is going to handle parsing regular expressions. More...
Data Fields | |
pm_parser_t * | parser |
The parser that is currently being used. More... | |
const uint8_t * | start |
A pointer to the start of the source that we are parsing. More... | |
const uint8_t * | cursor |
A pointer to the current position in the source. More... | |
const uint8_t * | end |
A pointer to the end of the source that we are parsing. More... | |
bool | extended_mode |
Whether or not the regular expression currently being parsed is in extended mode, wherein whitespace is ignored and comments are allowed. More... | |
bool | encoding_changed |
Whether the encoding has changed from the default. More... | |
const pm_encoding_t * | encoding |
The encoding of the source. More... | |
pm_regexp_name_callback_t | name_callback |
The callback to call when a named capture group is found. More... | |
void * | name_data |
The data to pass to the name callback. More... | |
pm_regexp_error_callback_t | error_callback |
The callback to call when a parse error is found. More... | |
void * | error_data |
The data to pass to the error callback. More... | |
This is the parser that is going to handle parsing regular expressions.
const uint8_t* pm_regexp_parser_t::cursor |
const pm_encoding_t* pm_regexp_parser_t::encoding |
bool pm_regexp_parser_t::encoding_changed |
const uint8_t* pm_regexp_parser_t::end |
pm_regexp_error_callback_t pm_regexp_parser_t::error_callback |
void* pm_regexp_parser_t::error_data |
bool pm_regexp_parser_t::extended_mode |
pm_regexp_name_callback_t pm_regexp_parser_t::name_callback |
void* pm_regexp_parser_t::name_data |
pm_parser_t* pm_regexp_parser_t::parser |
const uint8_t* pm_regexp_parser_t::start |