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

This is a node in the linked list of magic comments that we've found while parsing. More...

#include <parser.h>

Data Fields

pm_list_node_t node
 The embedded base node. More...
 
const uint8_t * key_start
 A pointer to the start of the key in the source. More...
 
const uint8_t * value_start
 A pointer to the start of the value in the source. More...
 
uint32_t key_length
 The length of the key in the source. More...
 
uint32_t value_length
 The length of the value in the source. More...
 
- Data Fields inherited from pm_list_node
struct pm_list_nodenext
 A pointer to the next node in the list. More...
 

Detailed Description

This is a node in the linked list of magic comments that we've found while parsing.

Definition at line 475 of file parser.h.

Field Documentation

◆ key_length

uint32_t pm_magic_comment_t::key_length

The length of the key in the source.

Definition at line 486 of file parser.h.

◆ key_start

const uint8_t* pm_magic_comment_t::key_start

A pointer to the start of the key in the source.

Definition at line 480 of file parser.h.

◆ node

pm_list_node_t pm_magic_comment_t::node

The embedded base node.

Definition at line 477 of file parser.h.

◆ value_length

uint32_t pm_magic_comment_t::value_length

The length of the value in the source.

Definition at line 489 of file parser.h.

◆ value_start

const uint8_t* pm_magic_comment_t::value_start

A pointer to the start of the value in the source.

Definition at line 483 of file parser.h.


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