|
Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
|
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 647 of file extension.c.
| rb_encoding* parse_lex_data_t::encoding |
Definition at line 650 of file extension.c.
| bool parse_lex_data_t::freeze |
Definition at line 651 of file extension.c.
| VALUE parse_lex_data_t::source |
Definition at line 648 of file extension.c.
| VALUE parse_lex_data_t::tokens |
Definition at line 649 of file extension.c.