Ruby 4.1.0dev (2026-11-17 revision 3a19e2efcf133ee35daaeffc36633cd99a9f2c47)
pm_node_list Struct Reference

A list of nodes in the source, most often used for lists of children. More...

#include <ast.h>

Data Fields

uint32_t size
 The number of nodes in the list.
struct pm_node ** nodes
 The nodes in the list.

Detailed Description

A list of nodes in the source, most often used for lists of children.

Definition at line 592 of file ast.h.

Field Documentation

◆ nodes

struct pm_node** pm_node_list::nodes

The nodes in the list.

Definition at line 601 of file ast.h.

Referenced by pm_visit_child_nodes().

◆ size

uint32_t pm_node_list::size

The number of nodes in the list.

Source offsets are 32 bits, so the source is less than 4 GiB, and a list built from it stays far below what this can count.

Definition at line 598 of file ast.h.

Referenced by pm_visit_child_nodes().


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