Ruby 3.5.0dev (2025-02-22 revision 412997300569c1853c09813e4924b6df3d7e8669)
Data Fields
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 558 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 563 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 560 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: