Prism Ruby parser
Loading...
Searching...
No Matches
Data Fields
pm_regexp_parser_t Struct Reference

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

Collaboration diagram for pm_regexp_parser_t:
Collaboration graph
[legend]

Data Fields

pm_parser_tparser
 The parser that is currently being used.
 
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.
 
bool extended_mode
 Whether or not the regular expression currently being parsed is in extended mode, wherein whitespace is ignored and comments are allowed.
 
bool encoding_changed
 Whether the encoding has changed from the default.
 
const pm_encoding_tencoding
 The encoding of the source.
 
pm_regexp_name_callback_t name_callback
 The callback to call when a named capture group is found.
 
void * name_data
 The data to pass to the name callback.
 
pm_regexp_error_callback_t error_callback
 The callback to call when a parse error is found.
 
void * error_data
 The data to pass to the error callback.
 

Detailed Description

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


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