Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
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. More...
 
size_t capacity
 The capacity of the list that has been allocated. More...
 
struct pm_node ** nodes
 The nodes in the list. More...
 

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: