Prism Ruby parser
|
This struct is used to pass information between the regular expression parser and the named capture callback. More...
Data Fields | |
pm_parser_t * | parser |
The parser that is parsing the regular expression. | |
pm_call_node_t * | call |
The call node wrapping the regular expression node. | |
pm_match_write_node_t * | match |
The match write node that is being created. | |
pm_constant_id_list_t | names |
The list of names that have been parsed. | |
bool | shared |
Whether the content of the regular expression is shared. | |
This struct is used to pass information between the regular expression parser and the named capture callback.
bool parse_regular_expression_named_capture_data_t::shared |
Whether the content of the regular expression is shared.
This impacts whether or not we used owned constants or shared constants in the constant pool for the names of the captures.