Ruby 3.3.2p78 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71)
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.
 
const uint8_t * key_start
 A pointer to the start of the key in the source.
 
const uint8_t * value_start
 A pointer to the start of the value in the source.
 
uint32_t key_length
 The length of the key in the source.
 
uint32_t value_length
 The length of the value in the source.
 
- Data Fields inherited from pm_list_node
struct pm_list_nodenext
 A pointer to the next node in the list.
 

Detailed Description

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

Definition at line 404 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 415 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 409 of file parser.h.

◆ node

pm_list_node_t pm_magic_comment_t::node

The embedded base node.

Definition at line 406 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 418 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 412 of file parser.h.


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