Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)
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: