Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
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

size_t size
 The number of nodes in the list.
size_t capacity
 The capacity of the list that has been allocated.
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 557 of file ast.h.

Field Documentation

◆ capacity

size_t pm_node_list::capacity

The capacity of the list that has been allocated.

Definition at line 562 of file ast.h.

Referenced by pm_node_list_free().

◆ nodes

struct pm_node** pm_node_list::nodes

◆ size

size_t pm_node_list::size

The number of nodes in the list.

Definition at line 559 of file ast.h.

Referenced by pm_dump_json(), pm_node_list_append(), pm_node_list_concat(), pm_node_list_prepend(), and pm_visit_child_nodes().


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