Ruby  3.4.0dev (2024-11-05 revision e440268d51fe02b303e3817a7a733a0dac1c5091)
Data Fields
pm_token_t Struct Reference

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. More...
 
const uint8_t * start
 A pointer to the start location of the token in the source. More...
 
const uint8_t * end
 A pointer to the end location of the token in the source. More...
 

Detailed Description

This struct represents a token in the Ruby source.

We use it to track both type and location information.

Definition at line 530 of file ast.h.

Field Documentation

◆ end

const uint8_t* pm_token_t::end

A pointer to the end location of the token in the source.

Definition at line 538 of file ast.h.

◆ start

const uint8_t* pm_token_t::start

A pointer to the start location of the token in the source.

Definition at line 535 of file ast.h.

◆ type

pm_token_type_t pm_token_t::type

The type of the token.

Definition at line 532 of file ast.h.


The documentation for this struct was generated from the following file: