|
Ruby 4.1.0dev (2026-03-01 revision 19b636d3ecc8a824437e0d6abd7fe0c24b594ce0)
|
This struct represents a token in the Ruby source. More...
#include <ast.h>
Data Fields | |
| pm_token_type_t | type |
| The type of the token. | |
| const uint8_t * | start |
| A pointer to the start location of the token in the source. | |
| const uint8_t * | end |
| A pointer to the end location of the token in the source. | |
This struct represents a token in the Ruby source.
We use it to track both type and location information.
| const uint8_t* pm_token_t::end |
| const uint8_t* pm_token_t::start |
| pm_token_type_t pm_token_t::type |
The type of the token.
Definition at line 523 of file ast.h.
Referenced by pm_parser::pm_parser_init().