Ruby 4.1.0dev (2026-10-13 revision 98fd04f76ca291242cc40c62338ba075cfe2ba4c)
Data Fields
pm_comment_range_t Struct Reference

The comments owned by a node, as a slice of the comment attachments of the parser that produced it. More...

#include <comments.h>

Data Fields

uint32_t index
 The index of the first attachment owned by the node.
 
uint32_t length
 The number of attachments owned by the node.
 

Detailed Description

The comments owned by a node, as a slice of the comment attachments of the parser that produced it.

Definition at line 30 of file comments.h.

Field Documentation

◆ index

uint32_t pm_comment_range_t::index

The index of the first attachment owned by the node.

Definition at line 32 of file comments.h.

Referenced by pm_parser_comment_range().

◆ length

uint32_t pm_comment_range_t::length

The number of attachments owned by the node.

Definition at line 35 of file comments.h.


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