Ruby 3.5.0dev (2025-02-22 revision d6f44535c6482e895483c0c28c9a35bcf5e4fd88)
|
This struct gets stored in the parser and passed in to the lex callback any time a new token is found. More...
Data Fields | |
VALUE | source |
VALUE | tokens |
rb_encoding * | encoding |
bool | freeze |
This struct gets stored in the parser and passed in to the lex callback any time a new token is found.
We use it to store the necessary information to initialize a Token instance.
Definition at line 641 of file extension.c.
rb_encoding* parse_lex_data_t::encoding |
Definition at line 644 of file extension.c.
bool parse_lex_data_t::freeze |
Definition at line 645 of file extension.c.
VALUE parse_lex_data_t::source |
Definition at line 642 of file extension.c.
VALUE parse_lex_data_t::tokens |
Definition at line 643 of file extension.c.