|
Prism Ruby parser
|
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. | |
| 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_t * | encoding |
| 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. | |
This is the parser that is going to handle parsing regular expressions.